Commit Graph

1208 Commits

Author SHA1 Message Date
ChengLei Shao
1b33755342
test: view collection as through model (#2336) 2023-07-28 08:47:13 +08:00
katherinehhh
e8c9164b5d
fix: sub-form record provider data failed to matching (#2337) 2023-07-27 22:38:10 +08:00
ChengLei Shao
3f84893f78 chore: sync runner error message 2023-07-27 21:50:41 +08:00
ChengLei Shao
a64b64384c chore: yarn dev with tsx watch 2023-07-27 11:00:39 +08:00
ChengLei Shao
0d92e59985
chore: tsx (#2329)
* chore: upgrade jest

* fix: eslint

* chore: github action backend test

* fix: import

* chore: export

* fix: test

* chore: install tsx

* chore: type

* chore: replace @koa/multer

* chore: replace ts-node-dev with tsx
2023-07-27 10:29:07 +08:00
ChengLei Shao
840254f517
chore: upgrade jest (#2323)
* chore: upgrade jest

* fix: eslint

* chore: github action backend test

* fix: import

* chore: export

* fix: test
2023-07-26 17:53:51 +08:00
chenos
81819f04e3 chore(versions): 😊 publish v0.11.1-alpha.3 2023-07-26 17:37:20 +08:00
YANG QIA
0de4458936
chore: improve FormProvider (#2322) 2023-07-26 15:32:59 +08:00
katherinehhh
673ea808b0
fix: collectionField undefined (#2320) 2023-07-26 10:18:02 +08:00
YANG QIA
78bfcba24f
fix(bi): issue of dnd (#2315) 2023-07-25 20:45:01 +08:00
Rain
986e2414d4 chore: fix Warning if eslint 2023-07-25 20:33:38 +08:00
chenos
c8b1668dc0 fix: collectionField interface undefined 2023-07-25 18:58:42 +08:00
被雨水过滤的空气-Rain
17ad645e45
feat(filter-block): support foreign key and inheritance (#2302)
* feat: support foreign key

* feat: inherit

* fix: exclude belongsTo

* fix: should get all collection names on inherit chain
2023-07-25 18:17:17 +08:00
YANG QIA
45bc0b83ba
feat(locale): allows to manage locale resources in core package (#2293)
* feat(locale): add app.locales

* chore: change directory

* chore: change locale directories

* fix: test

* fix: cached resources changed after sync

* chore: change fr-FR locale directory
2023-07-25 17:09:34 +08:00
Junyi
e27c72e8b0
fix(plugin-workflow): fix styles (#2316) 2023-07-25 01:41:42 -07:00
Rain
30b0d9b3f3 chore: fix prettier 2023-07-25 16:29:49 +08:00
dijoux
a80815c5ad
Feat/translation fr_FR (#2275)
* feat: client and plugin translation FR

* fix: fr translation

* fix: fr translation
2023-07-25 15:04:35 +08:00
katherinehhh
18900d54f4
feat: customize action support create record for any collection (#2264)
* feat: customize button support customize add record

* refactor: code improve

* refactor: schemaSetting default value

* refactor: schemaSetting default value

* refactor: schemaSetting default value

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale improve

* refactor: code improve

* fix: fix style of default variable input (T-1154)

* fix: merge bug

---------

Co-authored-by: Rain <958414905@qq.com>
2023-07-25 14:51:45 +08:00
katherinehhh
b42e3b4042
refactor: form data template support data scope config (#2229)
* refactor: data template support data scope config

* refactor: data template support data scope config

* refactor: locale improve

* refactor: code improve

* refactor: data template config data scope and title field should  linkage with collection field

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

* refactor: code improve
2023-07-25 14:42:30 +08:00
katherinehhh
1f8e0284fb
refactor: sub-table acl ignore (#2259) 2023-07-25 14:01:54 +08:00
katherinehhh
137e3eb171
refactor: date field UI supports configuration formatting (#2241)
* refactor: support format in datetime field

* refactor: support format config  in datetime field

* fix: datetime field support dateformat config

* fix: datetime field support dateformat config

* refactor: table column support date format config

* refactor: table column support date format config

* refactor: table column support date format config

* refactor: code improve

* refactor: code improve

* fix: merge bug

* fix: merge bug

* style: style improve

* Update index.tsx

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: locale improve

* refactor: locale improve

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-25 13:51:50 +08:00
katherinehhh
d8befa75c6
refactor: table column field provider optimize (#2312) 2023-07-25 09:42:59 +08:00
chenos
063d7ca693 fix(pm): skip installed 2023-07-25 09:26:10 +08:00
katherinehhh
4a7e44f686
fix: table column field undefined fix (#2311) 2023-07-25 09:23:32 +08:00
katherinehhh
d068f9b5df
fix: table column field failed to be actived (#2309) 2023-07-24 23:59:17 +08:00
被雨水过滤的空气-Rain
68976e0ebe
fix(default-value): fix tag in RemoteSelect (#2306) 2023-07-24 16:24:15 +08:00
katherinehhh
7ed4ae5018
fix: modal not displayed when clicking on the association field in the table (#2292) 2023-07-23 19:53:09 +08:00
ChengLei Shao
e5348d7ed6
fix(database): skip reference delete on view collection (#2303) 2023-07-23 17:13:30 +08:00
chenos
c84476d805 chore(versions): 😊 publish v0.11.1-alpha.2 2023-07-23 12:44:50 +08:00
chenos
e979194cf2 chore(versions): 😊 publish v0.11.1-alpha.1 2023-07-22 12:50:04 +08:00
Rain
8c904363ad fix(theme-editor): fix color of menu when it is selected 2023-07-21 13:02:19 +08:00
Rain
8196e164a5 fix(theme-editor): fix color of UI settings and Header 2023-07-21 11:52:46 +08:00
ChengLei Shao
08b2f374c8
feat(database): handle targetCollection option in repository find (#2175)
* test: return child collection when get with filterByTk

* refactor: targetCollection

* chore: target collection args in repository find

* feat: handle targetCollection option in repository find

* feat: get child target at belongs to many association

* chore: build

* chore: build

* chore: test

* refactor: targetcollection

* test: belongs to association with targetCollection

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* feat: update with targetCollection option

* feat: inject target collection options at repository update

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-21 10:51:56 +08:00
被雨水过滤的空气-Rain
aab3fafd9b
fix: fix sorting of user menu (#2288) 2023-07-21 10:39:58 +08:00
被雨水过滤的空气-Rain
4f5ec0a581
feat(theme-editor): support to config Header's color and Settings button's color (#2263)
* feat: add color options to theme editor

* feat: add default theme

* refactor: optimize

* feat: support to change color of UI settings

* fix: fix menu background color

* fix: fix color of UI settings

* feat: support to set alpha

* refactor: migrate style to a file

* feat: support colorBgSettingsHover and colorBorderSettingsHover

* feat: adapt settings color

* fix: should be reset together

* feat: compat old theme
2023-07-21 10:38:56 +08:00
katherinehhh
d2a9e4acee
fix: the drop-down multiple selection fields are not displayed as title fields when inherited collection (#2257)
* fix: inherit field override association field option field

* fix: inherit field override association field option field
2023-07-20 10:56:26 +08:00
被雨水过滤的空气-Rain
1f91ebc65e
test: make testing more stable (#2277) 2023-07-19 16:49:49 +08:00
YANG QIA
4333972deb
fix(client): using component as action title (#2274) 2023-07-19 12:00:02 +08:00
Junyi
b3e34d7f92
fix(middleware): revert now variable back (#2267) 2023-07-19 10:16:03 +08:00
katherinehhh
d36b9e366a
fix: linkage failed with current date variable (#2272)
* fix: linkage failed with current date variable

* fix: linkage failed with current date variable
2023-07-19 10:13:20 +08:00
被雨水过滤的空气-Rain
a57b4a8359
fix: fix style of page tab (#2270) 2023-07-19 09:41:22 +08:00
katherinehhh
86749255ae
fix: collection select no options (#2271) 2023-07-19 09:39:13 +08:00
chenos
d8529e1d06
refactor: add locale plugin (#2261)
* refactor: add locale plugin

* fix: dayjs locale
2023-07-18 15:30:58 +08:00
Junyi
a17c1ad4e4
feat(plugin-workflow): allow manual form button to be configured with preset values (#2225)
* refactor(client): split to small components

* fix(client): fix component warning

* feat(plugin-workflow): allow form button to be configured more than one for each type

* test(plugin-workflow): add test cases

* chore(plugin-workflow): add modal tips

* fix(plugin-workflow): fix test bugs

* fix(plugin-workflow): fix manual button configuration and params

* test(plugin-workflow): fix test cases

* fix(plugin-workflow): fix manual form values

* refactor(plugin-workflow): adjust component

* fix(plugin-workflow): fix typo

* refactor(plugin-workflow): avoid one more load when manual node resume

* fix(plugin-workflow): fix currentUser to be plain object

* chore(plugin-workflow): clean code

* fix(plugin-workflow): fix typo
2023-07-17 21:50:24 -07:00
Junyi
9f8460ca22
feat(plugin-workflow): change to unlimited depth preloading associations in workflow (#2142)
* refactor(plugin-snapshot): move AppendsTreeSelect component into client package

* refactor(plugin-workflow): change all appends fields select to AppendsTreeSelect

* refactor(plugin-workflow): change appends and toJSON logic on server side

* fix(plugin-workflow): fix toJSON logic and build error

* fix(plugin-workflow): fix missing component injection

* fix(plugin-workflow): fix cycle association in variables

* refactor(client): change AppendsTreeSelect to lazy load

* fix(client): fix lazy load in option
2023-07-17 20:36:17 -07:00
YANG QIA
70d5b9e44b
feat: localization management (#2210)
* feat: init localization-management

* feat: resource api

* Merge branch 'main' into T-62

* chore: change name

* feat: basic feature

* feat: support filter & sync

* feat: support auto get texts afterSave

* Merge branch 'main' into T-62

* chore: upgrade

* fix: dependency

* fix: field type

* fix: type error

* chore: remove some translations

* feat: support extract text from menu

* chore: cache text keys

* chore: remove test key

* fix: issue of extracting menu titles

* feat: translate collections & fields name

* fix: remove unique of text

* refactor: improve cache

* chore: remove listeners after disable

* chore: translation

* fix: lang switch bug

* refactor: actions & filter

* fix: translation

* refactor: merge lang bundles at backend

* fix: style & field name

* fix: translate issues

* fix: cache bug

* fix: translation merge bug

* fix: translate issues

* fix: map translation

* fix: translation issues

* fix: card title bug

* feat: cover mobile client tabbar

* fix: menu title

* refactor: add locale plugin

* chore: merge locale plugin

* fix: map translation

* chore: remove no data

* style: change button style

* fix: sync bug

* docs: add README

* chore: change name

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-17 23:23:44 +08:00
Rain
4e84b14bc7 fix: avoid crash when field is deleted in Collapse 2023-07-17 15:27:48 +08:00
katherinehhh
62381e5953
refactor: linkage rules support datetime (#2260)
* refactor: linkage rules support datetime

* refactor: linkage rules support datetime
2023-07-17 09:55:51 +08:00
katherinehhh
aececf1952
fix: view inherited collection field reported error (#2249) 2023-07-16 16:59:03 +08:00
katherinehhh
1d942d9910
fix: loading did not disappear after submission failure (#2252) 2023-07-16 16:58:31 +08:00