ChengLei Shao
d751b30b34
chore: expose auth manager option in application ( #2894 )
2023-10-23 15:41:35 +08:00
Junyi
b18822aaa9
fix(plugin-workflow): fix cycling association stackoverflow ( #2892 )
2023-10-22 09:05:15 -07:00
chenos
f51c06e7b8
fix: uiSchemaTemplates:list 403
2023-10-22 13:32:52 +08:00
chenos
4eb6027189
fix(plugin-multi-app-share-collection): type error
2023-10-22 11:44:06 +08:00
chenos
dbdbcf8912
feat(multi-app-manager): form schema extension
2023-10-22 10:41:12 +08:00
ChengLei Shao
ff22db5e5c
chore: create sub app db with context ( #2891 )
2023-10-21 22:50:40 +08:00
Junyi
5fad821eab
refactor(plugin-workflow): add property to determine workflow type triggerable on ui ( #2890 )
2023-10-21 06:44:35 -07:00
被雨水过滤的空气-Rain
cde25ed871
fix(variable): compat old variable names ( #2889 )
...
* fix(variable): compat old variable names
* refactor: remove LocalVariablesProvider
2023-10-21 14:23:06 +08:00
Rain
2ec3130f46
chore: fix style of variable input in workflow
2023-10-21 11:44:41 +08:00
被雨水过滤的空气-Rain
75f97e7e0c
fix: disappearing of sub-form data ( #2888 )
2023-10-21 11:31:38 +08:00
被雨水过滤的空气-Rain
dc4754750d
fix(variable): fix currentObject ( #2887 )
...
* fix(variable): fix currentObject
* refactor: rename
2023-10-21 10:19:34 +08:00
katherinehhh
2dbb095529
refactor: assocation select file clear linkage ( #2885 )
2023-10-20 17:31:08 +08:00
Dunqing
d2bf691b69
fix(plugin-custom-request): improve x button style and afterSuccess not work when manualClose is enable ( #2882 )
...
* feat: improve x button style
* fix: manualClose does not enable logic
2023-10-20 16:06:37 +08:00
被雨水过滤的空气-Rain
f5f74382f8
fix(variable): make all fields of currentForm and currentObject variable optional ( #2878 )
2023-10-20 14:16:29 +08:00
Junyi
d85aa423d0
fix(plugin-workflow): fix lang ( #2881 )
2023-10-19 21:04:27 -07:00
chenos
f3598d1a38
fix(notifications): update .npmignore
2023-10-20 11:45:17 +08:00
katherinehhh
bc758e6846
fix: non UI configured states should only display corresponding inhreited collection block ( #2879 )
2023-10-20 11:39:04 +08:00
katherinehhh
b587560a10
fix: assocition select rendering error in create mode ( #2880 )
2023-10-20 10:35:56 +08:00
katherinehhh
7e33912242
fix: action linkage not work in detail block ( #2875 )
2023-10-20 10:34:25 +08:00
katherinehhh
74a6d49181
fix: record picker did not refresh list after adding data ( #2877 )
2023-10-20 08:56:19 +08:00
katherinehhh
0be4e6d94d
fix: select field incorrect rendering in association field block ( #2876 )
...
* fix: select field incorrect rendering in assoction field block
* fix: select field incorrect rendering in assoction field block
2023-10-19 22:56:04 +08:00
被雨水过滤的空气-Rain
e05a30380a
feat(variable): add current parent record ( #2857 )
...
* feat(variable): add currentParentRecord
* chore: resolve table actions
* chore: get collection name of parent
* chore: table block and details block
* chore: list block
* chore: grid card block
* chore: calendar
* fix: bulk button
* refactor: use useMemo
* fix: fix form block
2023-10-19 22:55:05 +08:00
Dunqing
010c286f7c
fix(plugin-custom-request): variables not work in form block ( #2873 )
...
* fix: custom-request not work in form
* feat: setup logger
* test: add test case and fix crush error
* feat: improve logger
* feat: update log option
* fix: logger
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-19 22:49:33 +08:00
jack zhang
07c5b7b0eb
fix: remote plugin name ( #2872 )
2023-10-19 19:17:58 +08:00
ChengLei Shao
cc676c3dda
feat(database): sync false option ( #2864 )
2023-10-19 16:12:12 +08:00
Junyi
9cbae661b1
fix(client): fix varaible textarea setRange bug ( #2862 )
2023-10-19 01:02:52 -07:00
katherinehhh
0e9ab35254
fix: after successful submission failed to config redirectTo ( #2867 )
2023-10-19 15:42:13 +08:00
katherinehhh
18543f40e7
fix: m2o association field should not allow sub-table as field component ( #2865 )
2023-10-19 14:58:01 +08:00
Junyi
d3bf9a7a4d
fix(plugin-sequence): avoid invalid value from ArrayTable.useRecord()
( #2859 )
2023-10-17 20:56:57 -07:00
katherinehhh
e920629a91
fix: field in detail block should not allow config default value ( #2858 )
2023-10-18 10:50:25 +08:00
ChengLei Shao
a4cccb4032
chore: ci yarn cache ( #2853 )
...
* chore: github action setup node
* chore: github action
* chore: yarn install options
* chore: action cache
* fix: yml
* chore: workflow yaml
* chore: workflow yaml
* chore: db creator log
2023-10-18 07:40:39 +08:00
ChengLei Shao
02559b61ba
feat(ci): run backend tests concurrently ( #2815 )
...
* chore: run backend tests concurrently
* fix: mock app server create database
* chore: using @swc/jest instead of ts-jest
* chore: create test database
* chore: database distributor
* fix: test collection manager
* fix: test
* chore: to use Jest.mock, change the formatter to the commonjs module
* chore: db acquire
* chore: github action
* fix: pg test action
* chore: formatter
* chore: jest workaround
* fix: mysql test
* chore: mysql github action
* chore: clean storage
* chore: gitignore
* chore: max workers
2023-10-17 22:22:45 +08:00
Dunqing
df552619dd
feat(custom-request): improve x button of variable ( #2829 )
...
* fix: revert the modal style
* feat: improve x button of variable
2023-10-16 18:59:48 -05:00
Dunqing
0c99c81c93
docs(plugin-api-keys): add warning for API_KEY env ( #2847 )
2023-10-16 18:58:45 -05:00
Junyi
73b168ac25
refactor(client): add exports ( #2846 )
2023-10-16 23:28:17 +08:00
被雨水过滤的空气-Rain
9db9b9e7af
fix(variable): should have currentObject in sub-blocks ( #2823 )
...
* chore: avoid crashing
* fix(variable): should have currentObject in sub-blocks
2023-10-16 22:49:48 +08:00
被雨水过滤的空气-Rain
24d914b0ef
fix: revert linkage rules ( #2821 )
...
* fix: revert linkage rules
* fix: move fields
2023-10-16 18:28:10 +08:00
被雨水过滤的空气-Rain
e5cca1dcb1
fix: should not display currentRecord in creation form block ( #2814 )
...
* fix: should not display currentRecord in creation form block
* fix: avoid crashing
* fix: fix T-2212
2023-10-16 18:23:41 +08:00
Junyi
bb5093cfc2
fix(plugin-workflow): fix lang ( #2844 )
2023-10-16 02:20:11 -07:00
chenos
f603242e38
feat(ui-schema-storage): support duplicate
2023-10-16 16:04:50 +08:00
jack zhang
dc97149164
fix: codesanbox bug ( #2842 )
2023-10-16 15:03:32 +08:00
katherinehhh
dd892f5bae
revert:association field log ( #2840 )
...
* revert: associotn field log
* revert: associotn field log
2023-10-16 10:41:44 +08:00
katherinehhh
6a7e7b3594
fix: association field in assign field should set title field as collection field config ( #2839 )
2023-10-16 10:31:10 +08:00
jack zhang
a693f1c79e
fix: version source ( #2836 )
...
* fix: remote plugin
* fix: change version source
---------
Co-authored-by: test <test@mail.com>
2023-10-15 20:30:58 +08:00
Junyi
36f84593bb
fix(plugin-workflow): fix action order in workflow list ( #2835 )
2023-10-15 02:04:32 -07:00
chenos
5fbce9fb65
fix(file-manager): improve initialization logic ( #2834 )
2023-10-15 16:00:21 +08:00
被雨水过滤的空气-Rain
a51df00750
feat: support filter blocks in select record drawer ( #2828 )
...
* feat: support filter blocks in select record drawer
* feat: improve UX
* chore: add migration
2023-10-15 14:05:54 +08:00
jack zhang
3510506db3
fix: remote plugin ( #2831 )
2023-10-14 10:19:10 +08:00
被雨水过滤的空气-Rain
166521bcdb
fix: fix auto-close dialog ( #2825 )
...
* fix: fix auto-close dialog
* chore: skip tests
2023-10-13 20:41:16 +08:00
chenos
200138350b
fix(file-manager): improve default values for thumbnail rules
2023-10-13 19:49:51 +08:00
xilesun
0279067d4c
fix(cas-auth): remove redirect()
2023-10-13 18:49:37 +08:00
YANG QIA
6f09d7ad06
feat(auth): add global auth token provider ( #2824 )
2023-10-13 05:12:26 -05:00
chenos
2d593175b9
feat(file-manager): support configuring thumbnail rules ( #2810 )
2023-10-13 16:40:45 +08:00
Junyi
1f1e7e34f5
feat(client): add disabled for initializer switch and undeletable for action settings ( #2820 )
...
* feat(client): add disabled for initializer switch and undeletable for action settings
* refactor(client): adjust api
2023-10-13 01:38:53 -07:00
Junyi
9044434930
refactor(plugin-workflow): adjust ui and client api ( #2817 )
...
* refactor(plugin-workflow): adjust ui and client api
* fix(plugin-workflow): fix test cases
* fix(plugin-workflow): fix test case
2023-10-13 01:18:19 -07:00
Junyi
62d9200657
fix(client): fix action component warning ( #2818 )
2023-10-13 00:49:18 -07:00
katherinehhh
2a8cc10faa
fix: multiple select should assigned null after clear value ( #2822 )
2023-10-13 15:46:33 +08:00
Rain
3f363f67b8
chore: don't disable the variable option yet
2023-10-13 15:38:34 +08:00
Dunqing
bf099a4364
feat(plugin-custom-request): support better custom-request ( #2536 )
...
* feat(plugin-custom-request): support better custom-request
* feat: re implement custom request
* feat: complete configuration
* feat: support request in server
* feat: improve usage
* feat: support request
* feat: remove customRequests when action is deleted
* feat: avoid override
* fix: the data is not latest
* feat: should autoSize in url
* feat: support title and acl
* fix: i18n
* feat: support display title
* feat: i18n supports
* refactor: acl check
* feat: better method
* fix: style
* fix: remove unused code
* fix: acl
* docs: update
* fix: upgrade
* feat: hidden skip validator option and display should display data
* feat: support root access all custom-request
* chore: update deps
* fix: limit height of modal body, Close T-1682
* fix: parse incorrect, Close T-1686
* fix: i18n, Close T-1684
* fix: linkage rules incorrect, Close T-1719
* fix: missing pass appends, Close T-1720
* fix: should update initialValues when it changed
* feat: update better message
* fix: permission incorrect
* test: setup
* refactor: fix locale
* chore: update deps
* feat: move to @nocobase
* fix: dir
* fix: ui.*
* feat: add listByCurrentRole action, add decorator instead of acl
* fix: remove title field
* feat: compatible pervious version
* feat: support passing x-* headers to custom-request
* feat: support list all keys
* fix: support baseURL, close T-2090
* fix: remove unused code
* fix: sqlite, Close T-2092
* fix: close T-2089
* feat: alert error when request settings doesn't configure, Close T-2101
* feat: improve message
* chore: fix eslint error
* fix: fix version of plugin-custom-request
* fix: build error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
2023-10-13 15:16:50 +08:00
katherinehhh
04db43985c
fix: cascadeselect report error in m2m association field ( #2819 )
2023-10-13 11:48:04 +08:00
Rain
4226d7961c
chore: avoid crashing
2023-10-13 08:52:24 +08:00
Junyi
0099b0b280
fix(plugin-workflow): ignore queuing executions which workflow has been deleted ( #2808 )
2023-10-12 03:12:15 -07:00
katherinehhh
a3de91b37f
fix: assign field modal cantnot open ( #2807 )
2023-10-12 16:45:17 +08:00
YANG QIA
89361ef61c
fix(auth): SSO issues ( #2733 )
...
* fix(auth): sso switch popup to rediect (fix T-2024)
* refactor: auth process optimization
* fix: test
* chore: add error handler
* fix(auth): sso redirection issue of sub app
* Revert "refactor(auth): OIDC, SAML auth switch popup to redirectction (#2737 )"
This reverts commit beb4793051
.
* Revert "Revert "refactor(auth): OIDC, SAML auth switch popup to redirectction (#2737 )""
This reverts commit 301a85d767
.
* refactor(oidc): improve validate logic
* refactor(saml): improve auth logic
* fix: test
* refactor(cas): improve auth logic
* chore: add error handler
* fix(oidc): subapp callback issue
* fix: add dependency
* chore: add dependency
* fix(auth): set default `userBindField:email`
2023-10-12 00:54:00 -05:00
katherinehhh
49f4d1828d
fix: data scope report error with invalid variables ( #2811 )
...
* fix: data scope error with invalidate variables
* fix: data scope error with invalidate variables
2023-10-12 13:34:17 +08:00
katherinehhh
9311b4730a
style: import action modal formlayout ( #2809 )
2023-10-12 11:11:07 +08:00
katherinehhh
843677c183
fix: option should clear when data scope change ( #2800 )
...
* fix: option should clear when data scope change
* refactor: data scope linkage in association select
2023-10-12 10:06:49 +08:00
hongboji
ebde1b236b
Merge pull request #2799 from nocobase/Review-to-confirm-feasibility
...
test: confirm the feasibility of e2e test cases
2023-10-12 09:51:57 +08:00
被雨水过滤的空气-Rain
93e32114ca
fix: the input box displayed should correspond to the field type ( #2805 )
...
* test: add test
* fix: the input box displayed should correspond to the field type
2023-10-12 09:27:35 +08:00
YANG QIA
c33b69a737
fix(bi): query with limit
( #2803 )
2023-10-11 06:59:22 -05:00
katherinehhh
72367a9f85
fix: record picker cannot select data when editing ( #2798 )
...
* fix: record picker cannot select data when editing
* refactor: rename file name
* fix: just run the lazy load once
* test: add test
* test: fix test
* chore: better comment
---------
Co-authored-by: Rain <958414905@qq.com>
2023-10-11 19:28:17 +08:00
ChengLei Shao
2dc964d4f1
feat: add measure execution function ( #2801 )
2023-10-11 19:15:59 +08:00
YANG QIA
8bd6ef897c
chore(bi): complete chart api ( #2771 )
...
* chore(bi): complete chart api
* feat(bi): sample plugin for adding custom charts
* chore: improve
* chore: remove console.log
2023-10-11 04:24:50 -05:00
hongboji
86c4c199f6
test: revise test cases
2023-10-11 14:56:16 +08:00
Rain
d8759dc199
chore: add comment
2023-10-11 14:30:15 +08:00
katherinehhh
87a8b2e844
fix: fix the wrong way to determine form type ( #2787 )
...
* fix: depulicate action should load data as depulicate fields config
* fix: use formBlockType
* Revert "fix: depulicate action should load data as depulicate fields config"
This reverts commit 5acb6a1c7046ae8a89243edc4529a5201a9a8f14.
* Revert "fix: should allow to set default value in relationship form block (#2777 )"
This reverts commit 0140e623a6
.
* fix: should not lazy load data of association fields when creating form
* fix: fix subTable
* test: add test
* test: add test
---------
Co-authored-by: Rain <958414905@qq.com>
2023-10-11 14:24:31 +08:00
hongboji
ef1b07e6a3
test: 确认e2e测试用例可行性
2023-10-11 12:18:35 +08:00
jack zhang
af32a4e59a
fix: bug ( #2797 )
2023-10-11 11:17:20 +08:00
被雨水过滤的空气-Rain
3793bb6cb7
fix: should not show loading when children is enpty in menu ( #2796 )
2023-10-10 23:49:19 +08:00
被雨水过滤的空气-Rain
9d7945ce2c
fix: should save operators ( #2794 )
2023-10-10 23:28:20 +08:00
Junyi
488aac2e2c
fix(client): fix undefined field method on button ( #2795 )
2023-10-10 08:20:47 -07:00
katherinehhh
59f74326b4
fix: data scope linkage in association field ( #2786 )
2023-10-10 20:01:08 +08:00
被雨水过滤的空气-Rain
9085f5ca20
chore(e2e): delete collectionName key ( #2783 )
...
* chore(e2e): delete collectionName key
* test: add test
2023-10-10 15:03:17 +08:00
Junyi
b2883ff55b
fix(client): fix rendering cause range bug ( #2785 )
2023-10-10 13:46:17 +08:00
ChengLei Shao
d7664c9a41
chore(collection-manager): Throw an error when the value of foreignKey is the same as otherKey ( #2780 )
...
* chore(collection-manager): throw an error when the value of foreignKey is the same as otherKey
* fix: test
2023-10-10 12:05:53 +08:00
chenos
bccec4385a
fix: percent value invalid ( #2782 )
...
* fix: percent value invalid
* fix: useMemo
2023-10-10 11:54:46 +08:00
katherinehhh
79f9e04413
fix: percent value should divide by 100 ( #2781 )
2023-10-10 11:14:47 +08:00
Junyi
08d4994305
Revert "fix(client): fix rerendering cause range bug ( #2770 )" ( #2779 )
...
This reverts commit a1ee2afabd
.
2023-10-10 09:37:56 +08:00
Rain
03133fc647
chore: typo
2023-10-10 08:32:04 +08:00
Rain
9ee18ca2aa
refactor(e2e): shuold use test.extend to extend createCollections (T-2157)
2023-10-10 08:26:23 +08:00
被雨水过滤的空气-Rain
f85fb6d7ba
refactor(e2e): support batch creation of collections ( #2778 )
...
* chore: types
* refactor: optimize create collections
* chore: make throw error
* chore: export createCollections
2023-10-10 07:46:24 +08:00
ChengLei Shao
bebe1d15e5
fix: field history with reverse field ( #2776 )
2023-10-09 23:05:23 +08:00
被雨水过滤的空气-Rain
0140e623a6
fix: should allow to set default value in relationship form block ( #2777 )
2023-10-09 22:57:59 +08:00
Rain
88807b3cdf
Revert "fix(default): should allow to set default value in relationship form block ( #2774 )"
...
This reverts commit cc7ec2ffd6
.
2023-10-09 19:49:03 +08:00
Junyi
f280dcfb00
fix(plugin-workflow): fix toJSON type check ( #2772 )
...
* fix(plugin-workflow): fix toJSON type check
* fix(plugin-workflow): fix type check logic order
2023-10-09 17:48:20 +08:00
ChengLei Shao
1defb5db51
fix: create collections with multiple records ( #2753 )
...
* fix: create collections with multiple items
* chore: test
* fix: sync collection when pending field resolved
* fix: test
2023-10-09 17:35:04 +08:00
Junyi
a1ee2afabd
fix(client): fix rerendering cause range bug ( #2770 )
2023-10-09 16:56:37 +08:00
被雨水过滤的空气-Rain
cc7ec2ffd6
fix(default): should allow to set default value in relationship form block ( #2774 )
2023-10-09 16:52:15 +08:00
katherinehhh
9c29ae9ed8
fix(percent): percent failed to input 0 ( #2769 )
...
* fix: percent failed to input 0
* fix: percent failed to input 0
2023-10-09 15:10:47 +08:00
katherinehhh
c923dfafed
refactor(duplicate action):duplicate fields error when change duplicate mode & support unselect all ( #2768 )
...
* refactor: depulication action
* refactor: depulication action
2023-10-09 14:29:26 +08:00
ChengLei Shao
caa75877ab
feat(gateway): extend app selector as middleware ( #2761 )
...
* feat: extend app selector as middleware
* fix: test
* chore: prevent duplicate middleware additions
2023-10-09 13:02:36 +08:00
Rain
869f3001e4
fix(ErrorFallback): fix style of Feedback button
2023-10-09 12:44:55 +08:00
Rain
fa3127e467
chore(default): avoid crashing
2023-10-09 12:12:33 +08:00
被雨水过滤的空气-Rain
3b53d7c623
fix(expression): should reset lastIndex of regular ( #2767 )
...
* fix(expression): should reset lastIndex of regular
* test: add e2e
* chore: change title of test
2023-10-09 11:39:05 +08:00
Junyi
9bac4f54f4
refactor(plugin-workflow): add new status for 'retry needed' scenarios ( #2765 )
2023-10-08 19:49:40 -07:00
Rain
67f01db779
Revert "fix(expression): should reset lastIndex of regular"
...
This reverts commit da6ae90231
.
2023-10-09 10:41:55 +08:00
Rain
da6ae90231
fix(expression): should reset lastIndex of regular
2023-10-09 10:39:47 +08:00
被雨水过滤的空气-Rain
0d67141a6b
fix(variable): should not return undefined when parsing 0 ( #2766 )
2023-10-09 08:46:46 +08:00
被雨水过滤的空气-Rain
f5399c2cf0
fix(variable): should not disable options in expression ( #2764 )
2023-10-08 22:29:17 +08:00
被雨水过滤的空气-Rain
3b76a84605
fix(subtable): should not have a value by default and fix key of table ( #2763 )
...
* fix(subtable): should not have a value by default and fix key of table
* fix(subtable): fix invalid to set default value
2023-10-08 20:55:30 +08:00
chenos
8f29fde008
Revert "fix(acl): add rolesUsers through collection"
...
This reverts commit 86309e33be
.
# Conflicts:
# packages/plugins/@nocobase/plugin-acl/src/server/server.ts
2023-10-08 13:13:02 +08:00
Rain
7739778ffc
fix: avoid crashing
2023-10-08 11:34:20 +08:00
被雨水过滤的空气-Rain
0c5ee4359b
style: fix PageHeader ( #2760 )
2023-10-08 10:10:42 +08:00
chenos
8c9bdead03
fix: test error
2023-10-07 22:33:09 +08:00
chenos
b0b1de9c75
fix: menu item title not updated after modification
2023-10-07 22:26:08 +08:00
chenos
86309e33be
fix(acl): add rolesUsers through collection
2023-10-07 21:49:01 +08:00
katherinehhh
1b3b07f029
fix(graph-collection-manager):graph collection cannot open edit modal ( #2759 )
...
* style: graph collection stye improve
* fix(graph-collection): graph collection cantnot open edit modal
2023-10-07 21:42:16 +08:00
被雨水过滤的空气-Rain
b4d2102e75
test(e2e): add a test for check table row ( #2757 )
2023-10-07 17:54:11 +08:00
katherinehhh
26a3f2f589
style: list block style improve ( #2755 )
2023-10-07 16:02:30 +08:00
Rain
384cc1c56c
chore(versions): 😊 publish v0.14.0-alpha.7
2023-10-07 15:53:49 +08:00
被雨水过滤的空气-Rain
573cde0a21
feat(variable): lazy load association fields ( #2382 )
...
* refactor: remove useless code
* feat: should always show user variable
* style: optimize style of variable input
* feat: change maxDepth of user varialbe to 3
* refactor: migrate getFieldDefaultValue to SchemaSettings.tsx
* feat: support to parse variables
* feat: support to parse array fields
* refactor: make testing more stable
* chore: fix CI
* feat: support to parse current user
* fix: fix tests
* feat: support to register variable
* feat: support to parse "$context"
* refactor: remove useless code
* fix: fix build
* fix: fix build
* test: make stable
* docs: add doc
* fix: fix T-1267
* fix: fix T-1268
* fix: fix T-1269
* fix: fix T-1271
* fix: fix T-1274
* refactor: improve code
* feat(variable): support local variable
* fix: fix T-1280
* refactor: close T-881
* refactor: remove useLazyLoadAssociation
* fix: fix T-1289,T-1290
* fix: fix T-1296
* refactor(AssignedField): replace user variable
* refactor: extract useBaseVariable
* refactor(AssignedField): replace variables
* feat(useVariables): support to use array as local variables
* refactor: improve variables (T-1295)
* feat: limit user choice (T-1297)
* fix: fix T-1305
* refactor: extract as SchemaSettings.DataScope
* refactor: improve linkage rules
* refactor: improve linkage rules of Action
* chore: fix build
* refactor: improve data scope of association fields
* chore: fix build
* feat: select limit
* refactor: use VariableInput to replace other
* fix: fix can not input
* fix(AssignedField): fix cannot close variables list
* test: fix errors
* refactor: migrate to new file
* fix: uniq
* fix: filter empty values
* fix: transform variables value
* fix: should sum numbers (T-1330)
* fix: fix Select (T-1337)
* refactor: use useMemo
* refactor: use hooks
* refactor: use hooks
* refactor: use hooks
* refactor: remove useless code
* refactor: rename `$form` to `$nForm` and `$record` to `$nRecord`
* fix: fix T-1334
* refactor(LinkageRuleActionGroup): use hooks
* refactor(FormButtonLinkageRuleAction): use hooks
* refactor: add type
* fix: avoid crashing
* refactor: rename `$date` to `$nDate`
* fix: fix T-1348
* perf: avoid duplicate requests
* test: fix error
* fix: fix T-1355
* fix: fix T-1355
* fix: fix T-1345
* fix: fix T-1346
* refactor(useVariableOptions): replace query with parameter
* fix: fix T-1335
* chore: fix build
* fix: fix T-1453
* refactor: remove useless code
* fix: fix T-1447
* fix: should update when seting default value
* fix: fix T-1454
* chore(eslint): ignore docker
* fix: fix T-1440
* refactor: use hooks
* fix: fix T-1332
* fix(defaultValue): should use Select mode
* fix(defaultValue): fix Checkbox
* refactor: rename and comment
* refactor: rename file name and hook name
* feat(subForm): support lazy load association fields
* fix: filter empty values
* fix(defaultValue): schema type of Checkbox should be void
* fix: fix T-1479
* fix: fix T-1491
* fix(ToOneNester): should use RecordProvider
* fix: fix T-1493
* chore: add comment
* fix: fix T-1495
* chore: fix build
* test: make pass
* fix: fix T-1503
* fix: fix T-1504
* fix: fix transformVariableValue
* fix: disable unsupport options
* refactor(useVariableOptions): add noDisabled params
* fix: data scope support to select to-many fields
* chore: add comment
* refactor: improve default value
* refactor: extract as useIsAllowToSetDefaultValue
* fix: should not support to set default value in edit mode
* fix: only the default values for sub-forms and sub-tables are valid
* fix: limit default value of association fields
* fix: fix '$nForm' variable
* fix: allow all inherit chain
* fix: optimize default value
* fix: optimize json field
* fix(currentObject): avoid error
* fix: should not show variable string
* fix: active fields
* fix: avoid errors
* feat: support special case
* fix: fix CI
* chore: fix build
* fix: json
* refactor: rename flag name
* fix: fix T-1559
* fix: fix T-1515
* fix: avoid crash
* fix: fix T-1520
* fix: fix T-1521
* fix: fix T-1523
* fix: fix T-1563
* fix: fix T-1565
* fix: fix T-1525
* fix: fix T-1524
* fix: fix T-1603
* fix: fix T-1332
* fix: fix T-1559
* fix: fix T-1602
* fix: fix T-1608
* fix: fix T-1612 T-1609
* fix: fix T-1681
* fix: fix T-1711
* fix: fix T-1713
* fix: fix T-1680
* chore: close T-1550
* fix: fix T-1507
* chore: avoid crashing
* fix: fix T-1557
* perf: close T-1726
* fix: fix T-1727
* fix: fix T-1741
* fix: fix T-1740
* chore(workflow): compact
* chore: should not to support to set default value in assign field values
* perf: compat and perf (T-1736)
* fix: fix T-1872
* fix: fix T-1877
* fix: fix quarter variables
* chore: add README
* chore: front-end should not depend on back-end code
* chore: should disable all variable options if no field is selected
* chore: should be a leaf if it has no children
* chore: fix build error
* fix: compat $form
* fix: compat $form
* chore: fix build
* chore: fix build
* fix: typeError: Cannot read properties of undefined (reading 'template')
* chore: fix test
* chore: add test
* fix: fix T-2072
* chore: optimize eslint
* perf: reduce number of requests
* fix: fix JSON
* test: fix error
* fix(e2e): avoid error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-07 15:49:09 +08:00
chenos
c4f572fda8
fix(tabs): destroy inactive tab pane
2023-10-07 15:36:41 +08:00
Junyi
68009d3d32
fix(plugin-workflow): fix context data of form trigger ( #2749 )
2023-10-05 19:28:06 -07:00
Rain
b95f4a723a
fix: fix duplicate display of Hello plugin
2023-10-04 19:07:44 +08:00
xilesun
301a85d767
Revert "refactor(auth): OIDC, SAML auth switch popup to redirectction ( #2737 )"
...
This reverts commit beb4793051
.
2023-09-29 15:35:43 +08:00
YANG QIA
beb4793051
refactor(auth): OIDC, SAML auth switch popup to redirectction ( #2737 )
...
* fix(auth): sso switch popup to rediect (fix T-2024)
* refactor: auth process optimization
* fix: test
* chore: add error handler
2023-09-28 20:50:20 +08:00
ChengLei Shao
dbdd587b71
chore(database): clean invalid associations in collection model when set field failed ( #2720 )
...
* chore(database): clean invalid associations in collection model when set field failed
* fix: import
* chore: test
2023-09-27 22:03:04 +08:00
被雨水过滤的空气-Rain
a57c93d35b
feat: support e2e ( #2624 )
...
* chore: upgrade vitest to v0.34.3
* feat: setup NocoBase
* chore: preparing test env
* test: add a test of rigster
* refactor: rename test dir to testUtils
* chore: add tests
* chore: add ci for e2e
* chore: fix ci
* chore: avoid error in CI
* chore: add some utils for test
* chore: make more stable
* chore: should not close server in CI
* chore: add comments
* chore: change output dir
* fix: should use current branch to run tests
* chore: should request systemSettings by api in e2e
* chore: should build first in e2e CI
* chore: remove key
* chore: use execa to replace execSync
* refactor: extract test suite
* chore: add gotoPage
* chore: update uid of pageSchema
* chore: update collection name
* chore: use faker.js to generate data
* refactor: extract page config
* chore: ignore for association fields in faker
* chore: add testid
* chore: optimize action designer
* chore: associationFilter.Item designer
* chore: AssiciationFilter & BlockItem
* Revert "chore: AssiciationFilter & BlockItem"
This reverts commit b418df650e106fd0c8e23035d2f75acf60dcafe4.
* Revert "chore: associationFilter.Item designer"
This reverts commit 7aa4d35c1af7f3a780b370d8b1b44aac01697be3.
* Revert "chore: optimize action designer"
This reverts commit ff717b972ffd64f7968d565a3a84ad617ff889e2.
* chore: optimize Designer
* chore: compat with older browsers
* chore: use describe to avoid hooks is not run
* chore: add no-floating-promises to eslint rules
* chore: support argv
* chore: demo
* chore: better testId
* chore: change .e2e.ts to .test.ts
* fix(SchemaInitializer): avoid error
* refactor: move e2eUtils.ts to @nocobase/test
* fix: move e2eUtils to client
* chore: remove uselesscode
* refactor: add .env.e2e.example
* chore: optimize log
* refactor: use mockPage to replace gotoPage
* chore: update env.e2e
* chore: add APP_BASE_URL
* chore: gitigore
* test: add test related of menu
* chore: add SOCKET_PATH in env
* fix(vscode): load env when using vscode plugin
2023-09-27 20:00:17 +08:00
ChengLei Shao
ce879d2dda
feat(application): cron job in application ( #2730 )
2023-09-27 19:31:14 +08:00
YANG QIA
ae988d00b0
refactor(bi): improve chart frontend api ( #2721 )
...
* refactor: improve chart frontend api
* chore: remove redundant import
* fix: rename chartType
* chore: add migration check
* fix: add migration
* fix: change version
* chore: update
2023-09-27 15:50:04 +08:00
chenos
729fdd04b7
feat: add SOCKET_PATH env
2023-09-27 15:30:25 +08:00
ChengLei Shao
f02023db61
chore(multi-app-manager): add sub app upgrade handler ( #2728 )
2023-09-27 15:16:15 +08:00
katherinehhh
4092451bc9
fix(association-field): sub-table cannot move ( #2727 )
2023-09-27 11:08:38 +08:00
chenos
01271598fc
fix: preset plugins
2023-09-27 09:55:18 +08:00
Junyi
6beae90806
fix(plugin-workflow): fix assignees and aggregate variable ( #2725 )
2023-09-26 23:39:50 +08:00
katherinehhh
49c2fbf45d
refactor: file association field should default to using preview field as title field ( #2718 )
2023-09-26 21:25:40 +08:00
Rain
91721a4e8a
fix(SchemaInitializer): avoid error
2023-09-26 16:39:33 +08:00
Rain
b6a6431c6f
fix(SchemaInitializer): avoid crashing
2023-09-26 16:16:06 +08:00
katherinehhh
97f06d03d3
refactor: view collection support jsonb ( #2719 )
2023-09-26 16:09:14 +08:00
chareice
36f512f4b7
chore: jsonb field type map
2023-09-26 15:00:25 +08:00
Rain
a56e4d1ec6
fix(workflow): should change letter to lower case when searching in Add block
2023-09-26 14:45:29 +08:00
被雨水过滤的空气-Rain
ff16f59908
perf: improve the UX of SchemaInitializer ( #2666 )
...
* perf: improve the UX of SchemaInitializer
* fix: fix error of Charts block
* fix: fix fields
* fix: fix search
* chore: avoid crash
* chore: fix build
* chore: avoid crash
* refactor: rename SelectCollection to SearchCollections
* refactor: increased code versatility for improved reusability
* fix: fix Add chart
* perf: workflow
* refactor: remove useless code
* fix: fix block template
* fix: should clean search value when creating a block
2023-09-26 13:47:20 +08:00
katherinehhh
8db9fda61b
fix: fileManager did not close drawer after selecting files ( #2716 )
2023-09-26 11:37:21 +08:00
katherinehhh
261678dc56
fix: association block should not close drawer after deleting data ( #2717 )
2023-09-26 11:36:45 +08:00
katherinehhh
d7a00d2581
fix: action linkage rule not effect in tree collection ( #2713 )
2023-09-26 09:43:09 +08:00
katherinehhh
e90eec7031
fix: useAssociationNames ( #2714 )
2023-09-25 22:04:20 +08:00
katherinehhh
291859d6b5
refactor: attachment field support size config ( #2552 )
...
* refactor: attachment field support size config
* style: style improve
2023-09-25 18:21:08 +08:00
katherinehhh
7dd7a65a38
feat: association support select cascade for tree collection field ( #2514 )
...
* feat: association field support cascade select
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: locale improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: cascadeSelect support m2m association field
* refactor: cascadeSelect support m2m association field
* refactor: code improve
* feat(database): append with options
* feat: recursively load parent instances
* chore: test
* refactor: code improve
* fix: load with appends
* refactor: code improve
* chore: test
* refactor: code improve
* refactor: code improve
* refactor: code improve
* chore: load with belongs to many
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-25 18:18:14 +08:00
ChengLei Shao
505c23b4e1
feat(database): append tree parent recursively ( #2573 )
...
* feat(database): append with options
* feat: recursively load parent instances
* chore: test
* fix: load with appends
* chore: test
* chore: load with belongs to many
* chore: test
2023-09-25 18:17:19 +08:00
ChengLei Shao
edbd15ab5b
feat: support load belongs to association with collection that without primary key ( #2529 )
...
* test: find without pk
* feat: load root models in eager loading tree
2023-09-25 15:34:36 +08:00
ChengLei Shao
376a91b8ec
fix(gateway): should not refresh when application start from error recover ( #2711 )
...
* fix(gateway): should not refresh when application start from error recover
* chore: recover option
2023-09-25 15:26:52 +08:00
YANG QIA
89635982b4
feat(db): add sql collection ( #2419 )
...
* feat(db): add sql collection
* feat: frontend
* perf: issue of select
* fix: sql model
* fix: sql collection schema
* fix: implement sql collection
* fix: dependency
* fix: remove type declaration in actions
* fix: backend test
* chore: remove some ops of block using sql collection
* chore: remove sql collections from Form and Kanban
* feat: add execute button to sql input
* feat(backend): support infer fields by parsing sql
* feat(frontend): support infer interface by parsing sql
* fix: fix update issues and improve
* fix: update issue
* chore: update yarn.lock
* fix: fix T-1548
* fix: fix T-1544
* fix: fix T-1545
* fix: fix T-1549
* fix: test
* fix: fix T-1556
* fix: remove map action diviver
* chore: debug
* chore: remove schema of sql collection
* fix: sql collection schema
* chore: remove debug log & fix T-1555
* fix: fix T-1679
* fix: sql update issue
* fix: sql attribute issue
* fix: bug of star attribute
* fix: test
* fix: test
* fix: reset fields when updating sql collection
* fix(collection-manager): redundant fields after set collection fields
* fix: test
* fix: destory with individuals hook
* chore: save
* chore: test
* fix: fields sync issue
* fix: remove underscored option of sql collection
* chore: mutex in fields.afterDestroy
* fix: test
* chore: yarn.lock
* chore: update collections.setFields
* feat: improve sql input
* fix: fix T-1742 & improve
* chore: fix conflicts
* fix: workspace
* fix: build
* fix: test
* chore: add translations
* fix: reviewed issues
* chore: update yarn.lock
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-09-25 15:03:23 +08:00
katherinehhh
52198e57f9
fix: inherited collection failed to select ( #2710 )
2023-09-25 10:21:12 +08:00
katherinehhh
6bc4434d63
fix: form-data-template failed to clear option ( #2709 )
2023-09-25 09:43:22 +08:00
katherinehhh
51edb770bb
fix: tableoid options value of association field in filter is incorrect ( #2705 )
...
* fix: tableoid option value of association field in filter is incorrect
* fix: the saving method of the association field creation button is not effective
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-09-24 20:02:34 +08:00
katherinehhh
d83afc52ec
fix: saving method of association field creation button is not effect ( #2706 )
...
* fix: the saving method of the association field creation button is not effective
* refactor: code improve
2023-09-24 19:17:55 +08:00
chenos
e522e1f742
fix: upgrade failed
2023-09-24 11:41:26 +08:00
chenos
c4be5315ce
fix(mobile-client): remove routes
2023-09-23 22:13:36 +08:00
jack zhang
836b34a6a4
fix: gen tsconfig.paths.json bug ( #2708 )
...
* fix: gen tsconfig.paths.json bug
* fix: load remote plugin error
* fix: bug
2023-09-23 10:52:14 +08:00
Junyi
8fe4640f79
fix(plugin-workflow): fix exporting types ( #2707 )
2023-09-22 19:08:59 -07:00
Junyi
f1cf3cc45b
fix(plugin-workflow): fix parallel bug in loop ( #2703 )
2023-09-22 17:59:36 +08:00
chenos
0ed164ff09
fix: update or create plugins
2023-09-22 16:32:59 +08:00
mytharcher
8eb634459d
chore(versions): 😊 publish v0.14.0-alpha.6
2023-09-22 15:49:50 +08:00
mytharcher
2c0ea5490d
fix: remove mistaken added folder
2023-09-22 15:49:13 +08:00
mytharcher
3b0b6483c2
chore(versions): 😊 publish v0.14.0-alpha.5
2023-09-22 15:36:22 +08:00
Junyi
c16034b8f5
refactor(plugin-workflow): add client exports ( #2702 )
2023-09-21 22:56:33 -07:00
katherinehhh
49b75b6ab6
refactor: view collection support add m2o association field ( #2422 )
...
* refactor: view collection support add m2o association field
* refactor: code improve
2023-09-22 11:09:53 +08:00
被雨水过滤的空气-Rain
9f147085a5
fix: fix operator called of date field ( #2701 )
2023-09-22 10:51:17 +08:00
katherinehhh
b0069ca64a
fix: deep level association field adding error ( #2700 )
2023-09-22 10:34:35 +08:00
Junyi
60aeba4a12
fix(cli): fix template file mode ( #2697 )
2023-09-22 05:35:58 +08:00
mytharcher
d20398f73f
chore(versions): 😊 publish v0.14.0-alpha.4
2023-09-21 23:25:31 +08:00
ChengLei Shao
c88c91e908
fix: collection schema not exists ( #2669 )
...
* fix: collection schema not exists
* chore: test
2023-09-21 17:19:13 +08:00
ChengLei Shao
5f34970cfb
fix: core doc filter params ( #2695 )
2023-09-21 16:00:33 +08:00
chenos
945bcb194e
feat: add testid ( #2434 )
...
Co-authored-by: Rain <958414905@qq.com>
2023-09-21 14:54:27 +08:00
ChengLei Shao
de849b267c
feat(database): support read ssl file in database config ( #2689 )
2023-09-21 11:55:18 +08:00
ChengLei Shao
10e46b21f0
test: should correctly parse the command options ( #2688 )
2023-09-21 10:03:39 +08:00
jack zhang
196bec0ede
fix: build bug ( #2685 )
2023-09-20 17:56:36 +08:00
ChengLei Shao
56d1d1b85f
feat(database): perform data validation before the update/create operation ( #2681 )
...
* chore: test
* chore: tmp commit
* feat: value guard check
2023-09-20 11:53:56 +08:00
jack zhang
dfe77ca2fb
fix: build bug ( #2683 )
2023-09-20 11:46:06 +08:00
katherinehhh
64b5471084
refactor: association block acl improve ( #2682 )
2023-09-20 11:42:28 +08:00
katherinehhh
ebc1d1afb4
refactor: acl collection field provider ( #2679 )
2023-09-19 20:51:43 +08:00
ChengLei Shao
91095d8fe0
chore: test ( #2677 )
2023-09-19 18:43:04 +08:00
katherinehhh
fc609bafb9
style:form-item style improve ( #2678 )
...
* style: setting page style improve
* style: setting page style improve
2023-09-19 17:50:25 +08:00
katherinehhh
bc5ecc9b5f
fix(acl): association field acl check error ( #2675 )
...
* fix: association field acl check
* fix: association field acl check
* fix: import action form field acl check error
2023-09-19 17:26:29 +08:00
ChengLei Shao
630c6f2d79
chore(command): set command handle by ipc server or not ( #2660 )
...
* chore: tmp commit
* feat: app command
* chore: return error when not handle by ipc server
* chore: command handle by ipc server
* chore: api name
* Update pm.ts
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-19 14:39:54 +08:00
YANG QIA
4fffa07998
fix(auth): user role not found ( #2674 )
2023-09-19 10:58:19 +08:00
katherinehhh
64dc385eb3
fix: file association field cannot set file manager as field component ( #2672 )
2023-09-18 21:10:35 +08:00
ChengLei Shao
a53a350f95
feat(database): database connecting backoff ( #2668 )
2023-09-18 10:00:11 +08:00
Junyi
0f4959d217
refactor(plugin-workflow): adjust code ( #2663 )
2023-09-16 20:54:20 -07:00
YANG QIA
3b4cff15b0
fix(auth): change password issue of basic auth ( #2662 )
2023-09-16 13:55:29 +08:00
katherinehhh
ccc238d0d3
fix: interface group undefined ( #2656 )
2023-09-15 15:20:20 +08:00
katherinehhh
1b80930065
refactor: view collection float type field supports number and percent ( #2653 )
2023-09-15 11:33:59 +08:00
jack zhang
1586313b92
fix: template tsconfig paths ( #2652 )
2023-09-15 09:04:17 +08:00
jack zhang
9e5e96b9e4
fix: improve build ( #2643 )
...
* fix: client lib require wrapper
* fix: bug
* fix: add tsconfig.paths.json
* fix: collection dir not exists
* fix: improve...
* fix: update yarn.lock
* fix: db.sync
* fix: bugs
* fix: bugs
* fix: bugs
* fix: bugs && allow user custom build config
* docs: user custom config docs
* refactor: custom user build config
* fix: bugs
* fix: build plugin-client bug
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-15 08:51:20 +08:00
ChengLei Shao
dbe3af26a1
fix(share-collection): sync plugins when install sub app ( #2650 )
2023-09-14 20:46:49 +08:00
被雨水过滤的空气-Rain
34b0ce06ba
fix: fix quarter variables ( #2648 )
2023-09-14 17:56:42 +08:00
katherinehhh
feaf4cd80a
fix: filterable undefined ( #2646 )
2023-09-14 14:21:30 +08:00
chenos
0c132d7940
fix(cli): reset command options ( #2645 )
2023-09-14 06:24:30 +08:00
chenos
282645ed8b
fix: db.sync
2023-09-13 22:50:09 +08:00
chenos
6058850db1
chore(versions): 😊 publish v0.14.0-alpha.3
2023-09-13 18:29:38 +08:00
chenos
0d47c512d2
fix: parse websocket url ( #2644 )
2023-09-13 18:28:28 +08:00
chenos
6a7240816e
fix: collection remove field after migrated
2023-09-13 17:21:42 +08:00
jack zhang
a564f78872
fix: plugin symbol link with dir
type ( #2640 )
2023-09-13 15:48:11 +08:00
chenos
de8fc8079a
fix: remove PluginManager.getPackageName
2023-09-13 14:40:43 +08:00
chenos
49e1641b58
fix(pm): item.packageName
2023-09-13 14:22:26 +08:00
chenos
22bf23b59e
fix: add env SERVER_TSCONFIG_PATH
2023-09-13 12:21:29 +08:00
katherinehhh
4c1d186c12
style: collection category style improve ( #2638 )
2023-09-13 11:16:19 +08:00
katherinehhh
5e09276497
style: collection category style improve ( #2637 )
2023-09-13 09:11:30 +08:00
ChengLei Shao
6f68506eb4
chore: should update belongs to many through table when it is a view ( #2635 )
2023-09-13 07:15:43 +08:00
chenos
3670d670ac
chore(versions): 😊 publish v0.14.0-alpha.2
2023-09-13 03:57:15 +08:00
chenos
1798170a9c
fix: migration error
2023-09-13 03:56:51 +08:00
chenos
117d4b8186
chore(versions): 😊 publish v0.14.0-alpha.1
2023-09-12 22:42:43 +08:00
jack zhang
705b7449f0
feat: new plugin manager, supports adding plugins through UI ( #2430 )
...
* refactor: plugin manager page
* fix: bug
* feat: addByNpm api
* fix: improve the addByNpm
* feat: improve applicationPlugins:list api
* fix: re-download npm package when restart app
* fix: plugin delete api
* feat: plugin detail api
* feat: zipUrl add api
* fix: upload api bug
* fix: plugin detail info
* feat: upgrade api
* fix: upload api
* feat: handle plugin load error
* feat: support authToken
* feat: muti lang
* fix: build error
* fix: self review
* Update plugin-manager.ts
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: bugs
* fix: detail click and remove isOfficial
* fix: upgrade no refresh
* fix: file size and type check
* fix: bug
* fix: upgrade error
* fix: bug
* fix: bug
* fix: plugin card layout
* fix: handling exceptional cases
* fix: tgz file support
* fix: macos compress file
* fix: bug
* fix: bug
* fix: bug
* fix: bug
* fix: add upgrade npm type
* fix: bugs
* fix: bug
* fix: change plugins static expose url
* fix: api prefix
* fix: bug
* fix: add nginx `/static/plugin/` path
* fix: bugs and pr docker build no dts
* fix: bug
* fix: build tools bug
* fix: improve code
* fix: build bug
* feat: improve plugin info
* fix: ui bug
* fix: plugin document bug
* feat: improve code
* feat: improve code
* feat: process dev deps check
* feat: improve code
* feat: process.env.IS_DEV_CMD
* fix: do not delete the plugin package
* feat: plugin symlink
* fix: tsx watch --ignore=./storage/plugins/**
* fix: test error
* fix: improve code
* fix: improve code
* fix: emitStartedEvent
* fix: improve code
* fix: type error
* fix: test error
* test: console.log
* fix: createStoragePluginSymLink
* fix: clientStaticMiddleware rename to clientStaticUtils
* feat: build tools support plugins folder
* fix: 350px
* fix: error
* feat: client dev support plugin folder
* fix: clear cli options
* fix: typeError: Converting circular structure to JSON
* fix: plugin name
* chore: restart application after command
* feat: upgrade error & docs
* Update v14-changelog.md
* Update v14-changelog.md
* Update v14-changelog.md
* fix: gateway test
* refactor(plugin-workflow): add ready state for gracefully tearing down
* Revert "chore: restart application after command"
This reverts commit 5015274f8e4e06e506e15754b672330330e8c7f8.
* chore: stop application whe restart
* T 1218 change plugin folder (#2629 )
* feat: change folder name
* feat: change `pm create` command
* feat: revert plugin name change
* fix: delete samples
* feat: change plugins folder
* fix: pm create
* feat: update docs
* fix: link package error
* fix: docs
* fix: create command
* fix: pm add error
* fix: create add build
* fix: pm creatre + add
* feat: add tar command
* fix: docs
* fix: bug
* fix: docs
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: docs
* Update your-fisrt-plugin.md
* Update your-fisrt-plugin.md
* chore: application reload
* chore: test
* fix: pm add error
* chore: preset install skip exists plugin
* fix: createIfNotExists
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
Co-authored-by: Zhou <zhou.working@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2023-09-12 22:39:23 +08:00
Dunqing
b918ec5e41
fix(mobile-client-plugin): avoid primary field error ( #2625 )
2023-09-12 17:58:22 +08:00
Junyi
12c811eab3
fix(plugin-workflow): fix scope variable in loop ( #2633 )
2023-09-11 23:29:05 -07:00
katherinehhh
cf17d8015f
fix: create action reported error when config save mode filterKeys ( #2631 )
2023-09-12 10:09:02 +08:00
chenos
adf11bf624
fix: error: SQLITE_ERROR: no such table: authenticators
2023-09-11 15:50:27 +08:00
ChengLei Shao
b9abbd5cbd
fix(gateway): throw error when run from cli ( #2627 )
...
* fix: throw error when run from cli
* chore: log error
2023-09-11 15:45:30 +08:00
chenos
6cc88dfa2b
fix: original error: SQLITE_ERROR: no such column: options
2023-09-11 14:17:12 +08:00
Junyi
74bd479de0
feat(plugin-workflow): support variable in midway path ( #2598 )
2023-09-10 21:12:53 -07:00
ChengLei Shao
cc46d72c53
feat(database): support ssl config of database ( #2620 )
...
* feat: support ssl config of database
* chore: .env.example
2023-09-11 10:55:47 +08:00
Rain
fec17d5661
chore(versions): 😊 publish v0.13.0-alpha.10
2023-09-10 00:33:14 +08:00
Rain
893b2d71bc
chore: add NOCOBASE_SYSTEM_SETTINGS to localStorage
2023-09-10 00:27:09 +08:00
YANG QIA
f736085af6
chore: remove username interface ( #2621 )
2023-09-09 00:28:35 +08:00
katherinehhh
0d465f4d71
refactor: useFieldModeOptions ( #2612 )
...
* refactor: useFieldModeOptions
* refactor: code improve
* refactor: code improve
2023-09-08 09:40:34 +08:00
YANG QIA
f82b466aaa
feat(bi): allow to use variables in query filter ( #2609 )
...
* chore: rearrange hooks
* chore: allow parse filter from params.values
* feat: support use variables when using chart filter
* refactor: improve query code by composing process middlwares
* chore: `$date` -> `$nDate`
2023-09-07 23:27:59 +08:00
chenos
b655517a74
chore(versions): 😊 publish v0.13.0-alpha.9
2023-09-07 12:46:24 +08:00
jack zhang
b390140627
fix: core/client package.json module error ( #2610 )
2023-09-07 12:43:04 +08:00
Rain
17d4476c10
chore(versions): 😊 publish v0.13.0-alpha.8
2023-09-07 09:04:08 +08:00
被雨水过滤的空气-Rain
7d1bac1869
chore(antd): reduce animation duration ( #2602 )
2023-09-07 08:46:58 +08:00
chenos
3461c29411
fix: window reload after pm load failed ( #2605 )
2023-09-06 22:43:43 +08:00
ChengLei Shao
2484c8ffb2
fix: sync roles collection in share plugin ( #2601 )
2023-09-06 14:36:13 +08:00
被雨水过滤的空气-Rain
22f681024d
fix: fix collapsed panels not working when clicked ( #2600 )
...
* refactor: rename
* fix: fix collapsed panels not working when clicked
2023-09-06 11:11:35 +08:00
katherinehhh
eeb3adf928
feat(graph-collection-manager): display collections on demand ( #2583 )
...
* refactor: graph collection support on demand rendering collection
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: support connect parent or child
* refactor: code improve
* refactor: code improve
* style: style improve
* style: style improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-09-06 09:43:26 +08:00
ChengLei Shao
d6a2ab4b61
fix(acl): parse acl params of association collection ( #2594 )
...
* fix(acl): parse params of association collection
* fix: filter params in association acl
2023-09-06 09:19:10 +08:00
YANG QIA
c096a98ceb
fix: issue of plugin snippet ( #2593 )
2023-09-05 12:03:42 +08:00
Rain
4ead7150f0
chore: upgrade vitest to v0.34.3
2023-09-05 10:27:30 +08:00
ChengLei Shao
97b4570bd2
chore(versions): 😊 publish v0.13.0-alpha.7
2023-09-05 09:01:30 +08:00
ChengLei Shao
185fccad65
chore: incr bodyParser body limit ( #2591 )
2023-09-04 22:21:31 +08:00
Rain
e5f5358be0
chore(versions): 😊 publish v0.13.0-alpha.6
2023-09-04 20:48:48 +08:00
Rain
88b2eb8a5d
chore: optimize versions of deps
2023-09-04 20:40:14 +08:00
Rain
f52cb50915
chore: upgrade antd-style version to 3.4.5
2023-09-04 20:12:45 +08:00
katherinehhh
ec81db95fc
fix: resource undefind ( #2589 )
2023-09-04 17:55:55 +08:00
被雨水过滤的空气-Rain
aff559882f
fix(RangePicker): fix shortcut invalid ( #2586 )
...
* chore: upgrade antd to v5.8.4
* test: add test
* chore: fix build
* chore: upgrade @formily/antd-v5 to v1.1.1
* fix: should not close Popover when selected option
* fix: add a new Popover and to replace old Popover with new Popover
* refactor: remove useless code
* fix: fix dark theme
* chore: fix build
* chore: antd version
* fix: uniformly use the latest version of antd
2023-09-04 16:25:49 +08:00
chareice
fed3eb1a51
chore: async/await on clean.js
2023-09-04 10:38:32 +08:00
YANG QIA
8a9764e403
fix(auth): add authenticator uid limitation ( #2587 )
2023-09-04 10:38:01 +08:00
chareice
ffe443b4e9
fix: clean command on windows
2023-09-04 10:36:24 +08:00
chareice
eb255df35e
fix: yarn install on windows
2023-09-04 09:52:45 +08:00
chenos
af34fe10ab
chore(versions): 😊 publish v0.13.0-alpha.5
2023-09-03 11:35:48 +08:00
jack zhang
08c5383bee
refactor: build tools ( #2374 )
...
* refactor: core/build and cli/build.js
* fix: build
* fix: bug
* fix: replaceAll to replace
* fix: node version check
* fix: add require check
* fix: esbuild other ext
* fix: process json
* fix: exlude jsx-runtime
* feat: split chunk
* fix: minify plugin client bundle
* fix: compatibility
* fix: support import()
* feat: update docs
* fix: server deps
* feat: demo
* fix: remove cjs treeshake
* fix: local error
* fix: bug
* fix: lazy load
* fix: rewrites
* fix: remove dynamic import function
* feat: doc demo
* fix: codesanbox vite template
* fix: codesanbox demo
* fix: hide stackblitz
* fix: revert rspack
* fix: test bug
* fix: delete console
* fix: import dayjs locale
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-03 10:59:33 +08:00
Dunqing
24179c4469
feat(plugin-cas): support cas authenticator ( #2580 )
...
* feat(plugin-cas): support cas login method
* feat: add cas plugin in preset
* chore: update version
* feat: full support cas
* chore: update package.json
* feat: update docs and fix namespace
* fix: locale
---------
Co-authored-by: xilesun <2013xile@gmail.com>
2023-09-02 19:40:04 +08:00
katherinehhh
e7d60389b9
fix: association block report error for toOne association field ( #2582 )
2023-09-01 18:54:27 +08:00
ChengLei Shao
797f566d70
feat(gateway): response cli result when run nocobase command ( #2563 )
...
* chore(gateway): refresh message in websocket
* chore(gateway): throw error when cli error
* chore(gateway): await ipc server response
* chore: notification message
* fix: build
* chore: notification type
* feat: notification
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-09-01 16:11:27 +08:00
ChengLei Shao
1694eb6d73
fix(collection-manager): redundant fields after set collection fields ( #2575 )
...
* fix(collection-manager): redundant fields after set collection fields
* fix: destory with individuals hook
* chore: save
* chore: test
* chore: mutex in fields.afterDestroy
* chore: yarn.lock
* chore: update collections.setFields
2023-09-01 13:51:48 +08:00
katherinehhh
d9bda04aa2
refactor: restrict the use of tree table in data selectors ( #2581 )
...
* refactor: limitthe using of tree in recordPicker
* refactor: limitthe using of tree in recordPicker
2023-09-01 10:57:20 +08:00
Junyi
ee0d2175b8
fix(plugin-fm): add migration to fix attachment ui schema ( #2579 )
2023-08-31 18:38:37 +08:00
Junyi
ec3a720aa9
fix(plugin-fm): fix attachment field param typo ( #2577 )
2023-08-31 15:44:58 +08:00
被雨水过滤的空气-Rain
d56cc66ef9
fix(FilterDynamicComponent): avoid crashing ( #2566 )
2023-08-30 23:26:51 +08:00
Dunqing
3bb38b16f3
feat(api-keys): add tooltip for roles ( #2567 )
...
* feat(api-keys): add tooltip for roles
* feat: improve
2023-08-30 10:32:39 +08:00
katherinehhh
9c22aebaff
fix: number field reported error when clear data ( #2561 )
2023-08-29 18:08:43 +08:00
Junyi
904d7ee87b
docs(plugin-workflow): fix swagger docs ( #2565 )
2023-08-29 02:31:40 -07:00
ChengLei Shao
050e1e0215
fix(acl): grant action with table without createdAt field ( #2562 )
2023-08-29 17:01:14 +08:00
katherinehhh
83c1792582
refactor(collection-manager): collection &&fields support description config ( #2554 )
...
* refactor: collection support description config
* refactor: collection support description filter
* feat(collection-manager): collections & fields description fields
* refactor: collection& field support description
* refactor: collection& field support description
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-08-29 16:32:39 +08:00
YANG QIA
8b8199aca7
chore: set audit-logs as local plugin ( #2564 )
2023-08-29 16:16:05 +08:00
katherinehhh
bb6c154272
style: sub-table add button style improve ( #2508 )
2023-08-29 09:32:06 +08:00
katherinehhh
ec84747f13
refactor: associatiion fields in table should not have data scope settings ( #2509 )
2023-08-29 09:31:42 +08:00
Junyi
5411faf9d4
feat(plugin-workflow): add filter button for workflows list ( #2555 )
2023-08-28 08:48:02 -07:00
Junyi
1a82e92ae3
fix(plugin-workflow): fix destroy node bug ( #2553 )
2023-08-28 07:33:53 -07:00
chenos
b23112fd2e
fix: properties initialized in plugin.load are still empty in plugin.install ( #2544 )
2023-08-28 11:35:50 +08:00
chenos
c65507606a
fix: plugin list not updated after upgrade ( #2545 )
2023-08-28 00:18:46 +08:00
被雨水过滤的空气-Rain
176d380331
fix(theme-editor): fix enable invalid ( #2539 )
...
* fix(theme-editor): fix enable invalid
* chore: fix typo
2023-08-27 17:26:14 +08:00
Rain
8e42da2b01
Revert "fix(RangePicker): fix shortcut invalid ( #2489 )"
...
This reverts commit 4eada322ef
.
2023-08-27 17:16:24 +08:00
ChengLei Shao
9288cb9338
chore(api-doc): collection manager db views api doc
2023-08-27 15:54:22 +08:00
ChengLei Shao
7fd126d6a3
chore(api-doc): view collection api doc
2023-08-27 15:14:34 +08:00
chenos
0fd38a5c56
chore(versions): 😊 publish v0.13.0-alpha.4
2023-08-27 10:04:58 +08:00
chenos
f5a4413a9a
fix: insert a record after pm.add
2023-08-27 10:04:32 +08:00
被雨水过滤的空气-Rain
4eada322ef
fix(RangePicker): fix shortcut invalid ( #2489 )
...
* chore: upgrade antd to v5.8.4
* test: add test
* chore: fix build
* chore: upgrade @formily/antd-v5 to v1.1.1
* fix: should not close Popover when selected option
* fix: add a new Popover and to replace old Popover with new Popover
* refactor: remove useless code
2023-08-27 09:35:41 +08:00
chenos
5278017fff
chore(versions): 😊 publish v0.13.0-alpha.3
2023-08-26 16:43:41 +08:00
chenos
9364a44681
fix: xpipe.eq
2023-08-26 16:40:23 +08:00
Rain
0ea609e0a8
fix(theme-editor): only list action allows to use and must be logged in
2023-08-26 14:07:03 +08:00
被雨水过滤的空气-Rain
d1f4f0d29a
fix(themeEditor): should allow all roles to use ( #2538 )
2023-08-26 12:07:59 +08:00
Junyi
643594abad
fix(plugin-cm): fix life cycle ( #2535 )
2023-08-25 23:11:12 +08:00
ChengLei Shao
3d9a6ef76f
fix: swagger filter params
2023-08-25 10:26:49 +08:00
chenos
e596025bd4
fix: yarn dev --client error
2023-08-25 09:44:47 +08:00
chenos
f4a1953980
chore(versions): 😊 publish v0.13.0-alpha.2
2023-08-24 23:14:03 +08:00
chenos
cf77ca1792
fix(plugin-client): extract locale files of antd
2023-08-24 22:44:42 +08:00
chenos
a0599e0638
fix: development environment does not load the client's locale file
2023-08-24 21:38:46 +08:00
Junyi
54692387d0
refactor(plugin-workflow): hide unused form in manual ui after done ( #2526 )
2023-08-24 06:07:44 -07:00
Junyi
42acff6c75
style(plugin-workflow): adjust terminal style on workflow canvas ( #2524 )
2023-08-24 04:03:19 -07:00
chenos
0663844573
fix: improve translation
2023-08-24 18:39:54 +08:00
chenos
6debb8d00b
chore(versions): 😊 publish v0.13.0-alpha.1
2023-08-24 17:49:13 +08:00
ChengLei Shao
39ee4b8873
feat: application supervisor ( #2353 )
...
* chore: skip sync localization-management plugin enable status
* chore: unSyncPlugins array
* chore: remove install at dev
* chore: gateway and supervisor
* chore: install command
* chore: remove app manager
* chore: share plugin
* chore: wsserver
* chore: websocket server
* chore: websocket connection with app status
* feat: socket server at gateway
* chore: loading message
* chore: ready status
* chore: handle app error
* feat: restart app at supervisor
* feat: health check endpoint
* chore: test
* chore: test
* chore: test
* chore: test
* chore: build
* chore: test
* chore: build
* chore: application ready status
* chore: error message
* chore: handle application error
* chore: handle error in load
* chore: report error in websocket
* chore: ws error
* chore: ws error
* chore: typo
* chore: switch app ready status at install
* chore: test
* chore: test
* chore: test
* chore: test
* feat: add WebSocket client
* chore: start gateway
* chore: start command in application
* chore: code
* chore: pm command
* chore: run start after load sub app
* feat: application fsm
* refactor: server life cycle (#2402 )
* refactor: server life cycle
* fix: test error
* fix: test error
* fix: test error
* fix: app.start
* fix: cronjob stop
* fix: db.sync before upgrade
* fix: pm.get
* fix: test error
* fix: test error
* fix: test error
* test: add test cases
* fix: remove PluginType
* chore: start application after install
* chore: fsm
* chore: working status
* chore: working command
* chore: remove swith app ready status
* chore: switch status after working done
* chore: ws status
* chore: gateway error
* chore: test
* chore: stopping status
* chore: test
* chore: test
* feat: app proxy
* chore: application destory
* chore: application message changed with status
* chore: test
* chore: test timeout
* test: remove listener add by plugin
* test: remove listener add by plugin
* chore: test
* feat: app maintaining
* fix: add AppMaintainingDialog
* feat: off
* test: gateway http response
* test: gateway with errors
* chore: unkown error
* chore: websocket message
* chore: ws message
* chore: code
* chore: error format
* chore: delay app load
* feat: improve code
* chore: application initializing status
* chore: supervisor with app status
* chore: command status response
* chore: test
* chore: ws message
* chore: test
* fix: command running message
* feat: restart
* chore: code
* chore: status transition
* chore: test
* fix: improve code
* fix: error
* fix: restart
* fix: command
* chore: reset client app tag when app selector changed
* chore: error report
* fix: application status
* fix: build
* chore: disable help command dispatch
* chore: test
* test: multi apps test
* fix: improve code
* fix: test
* fix: test
* fix: multi apps single running
* fix: improve code
* fix: app status
* chore: move plugin static file to gateway
* feat: static file handler
* chore: test
* chore: enable plugins in share collection
* chore: gateway serve upload files
* fix: improve client
* chore: ws nginx config
* fix: gateway with naonoid
* fix: db sync
* fix: loading
* fix: ping
* fix: locale load
* fix: yarn start --quickstart
* fix: add debug log
* chore: application started event
* chore: running working message payload
* chore: nginx log
* chore: nginxconf
* chore: working message log
* feat: logs
* feat: compression
* fix: remove koa-send and koa-static
* fix: remove -e
* fix: remove nginx
* fix: remove -e
* fix: __appName
* chore: delay install sub application
* chore: sync plugin status
* fix: boot sub app
* fix: main app reload
* fix: test
* fix: app status
* test: field.bind block event loop
* feat: newrelic
* feat: debug log
* chore: upgrade
* fix(file-manager): test error
* fix: default app selector
* fix: reload after maintained
* chore: boot sub app
* chore: application destroy command
* chore: destroy command
* chore: clean code
* chore: package.json
* chore: maintaining message
* chore: test
* fix: collection.sync
* feat: add test cases
* chore: application
* fix: test error
* feat: improve codes and add test cases
* fix: test error
* fix: pm enable and disable
* fix: pm.disable
* feat: update docs
* chore: update dockerfile
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-24 17:47:45 +08:00
ChengLei Shao
0f9d946f09
fix: sort field init ( #2520 )
...
* fix: sort field init
* chore: sort field name
2023-08-24 14:26:03 +08:00
ChengLei Shao
b0630005d9
fix: swagger block event loop
2023-08-24 10:30:11 +08:00
ChengLei Shao
60b0fdd5ca
chore: catch api doc collection error
2023-08-24 09:50:33 +08:00
Dunqing
1e0bedca86
feat: api documentation plugin ( #2255 )
...
* feat: api doc plugin
* fix: merge
* chore: upgrade swagger ui to latest
* feat: get paths from recourser
* feat: configure security
* feat: add models
* feat: reimplement resource action
* feat: support render schemas correctly
* feat: support load swagger documentation
* refactor: implement `SwaggerManager`
* fix: re import
* feat: update info
* refactor: do not use the cache strategy for the time being
* feat: support collection builtin actions
* fix: incorrect tag
* feat: support different swagger json for different plugins
* feat: support load server package
* feat: support visit from plugin center
* feat: add schemas for mapConfiguration
* feat: update
* fix: update tags
* feat: support only render plugin that has swagger content
* refactor: use swagger-ui-react instead of swagger-ui-dist
* fix: clean
* fix: reset
* refactor: update plugin place
* fix: revert
* fix: remove version
* fix: type error
* feat: swagger doc
* refactor: improve apis
* feat: add doc
* feat: support destination cache
* fix: avoid authorization override
* fix: auth bug
* feat: update documentation
* fix: typo
* feat: support json
* fix: key
* fix: update yarn.lock
* feat: update swagger doc
* feat: swagger doc
* docs: add auth swagger files (#2341 )
* docs: add auth swagger files
* fix: yarn.lock
* fix: skip core
* feat: swagger doc
* docs: improve auth docs
* fix(theme-editor): avoid crashing
* feat(theme-editor): improve api doc
* docs: add localization-management swagger
* docs(plugin-workflow): add api doc (#2379 )
* fix: remove files
* fix: aaa
* fix: dist
* fix: load swagger
* feat: acl api doc (#2494 )
* chore: acl api doc
* feat: ui schema api doc
* feat: multi apps api doc
* chore: ui schema doc
* feat: collection api doc
* chore: association api doc
* chore: single association doc
* feat: move action doc
* chore: list parameters
* feat: update swagger doc
* chore: collectionIndex to first
* fix: test error
* fix: ref
* chore: doc tags
* chore: template
* chore: doc with association options
* chore: single association doc
* chore: relation type
* chore: filter single association params
* chore: m2m api doc
* chore: params
* fix: 0.12.0-alpha.5
* fix: update yarn.lock
* chore: data wrap
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: YANG QIA <2013xile@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-08-24 00:27:57 +08:00
Junyi
9154e531c2
fix(plugin-workflow): fix duplicated downstream executions after condition ( #2517 )
2023-08-23 20:38:56 +08:00
YANG QIA
8b054e6aac
fix: basic-auth compitibility issue ( #2515 )
2023-08-23 18:38:57 +08:00
Junyi
17f438ac39
fix(plugin-workflow): fix status button styles ( #2516 )
2023-08-23 02:30:21 -07:00
Junyi
96caf9befa
fix(plugin-fm): fix error when add attachment field to manual form assigned values ( #2503 )
2023-08-22 05:56:12 -07:00
Junyi
0fe5bdc859
fix(plugin-workflow): fix loop scope variable parsing ( #2502 )
...
* fix(plugin-workflow): fix loop scope variable parsing
* fix(plugin-workflow): fix api parameter
* fix(plugin-workflow): fix test cases
2023-08-22 05:13:52 -07:00
ChengLei Shao
a625fc538d
feat(database): support field get in view preview ( #2482 )
...
* feat: support field get in view preview
* chore: test
* refactor: dbViews fieldtypes
* refactor: dbViews fieldtypes
* refactor: dbViews fieldtypes
* refactor: dbViews fieldtypes
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-08-22 10:59:45 +08:00
ChengLei Shao
9c5f630ae7
chore: database connection error log
2023-08-22 09:01:29 +08:00
katherinehhh
0532d67e0b
refactor: m2m data filtering through collection data ( #2497 )
2023-08-21 22:08:37 +08:00
katherinehhh
ccf8b651ff
refactor(graph-collection-manager): update antv-x6 to 2.x ( #2466 )
...
* refactor: update antv-x6 to 2.x
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-08-21 11:27:48 +08:00
katherinehhh
f70d17c5cd
fix: view collection reported error when editing ( #2493 )
2023-08-20 20:54:32 +08:00
jack zhang
9e99b00182
fix: dev load plugin ( #2455 )
...
* fix: dev load plugin
* fix: bug
* fix: bug
2023-08-20 18:10:34 +08:00
Junyi
a59ed4ee17
fix(plugin-workflow): fix variable type check ( #2492 )
...
* fix(plugin-workflow): fix variable type check
* fix(plugin-workflow): fix node job button style
2023-08-20 02:45:46 -07:00
被雨水过滤的空气-Rain
95e1cd390b
chore: remove Default value option for sequence field ( #2488 )
...
* chore: remove Default value option for sequence field
* chore: remove console.log
2023-08-20 12:08:07 +08:00
katherinehhh
847eacce70
fix: tagcolor value error ( #2487 )
2023-08-20 11:03:43 +08:00
YANG QIA
be6b949f55
feat(auth): support signing in with username ( #2376 )
...
* feat(auth): support signing in with username
* chore: compatibility && add INIT_ROOT_USERNAME
* chore: add default username of root user
* chore: add notice
* fix: typo
* chore: change rule of username
* fix: sqlite add unique constraint
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-19 22:02:26 +08:00
chenos
972b2be10e
fix(client): waitSeconds: 120s
2023-08-19 09:30:19 +08:00
ChengLei Shao
5689c51b11
fix: database logging
2023-08-18 21:29:10 +08:00
ChengLei Shao
0f3ca626ab
fix: database logging
2023-08-18 21:06:37 +08:00
katherinehhh
576ff8e52b
fix: view collection source field ( #2483 )
2023-08-18 16:45:40 +08:00
chenos
d8787493db
chore(versions): 😊 publish v0.12.0-alpha.5
2023-08-18 15:53:53 +08:00
Sarah Thompson
98eaf5acb7
fix(sdk): window is not defined in nuxt ( #2479 ) ( #2481 )
2023-08-18 15:44:19 +08:00
katherinehhh
2ea97541c6
fix: source collections not updated during synchronization in view collection ( #2480 )
2023-08-18 15:17:18 +08:00
Junyi
2e74a31aa9
feat(plugin-workflow): add user variable to form trigger context ( #2477 )
2023-08-17 21:07:57 +08:00
katherinehhh
d58d0d697c
fix: large field in the subtable do not display value ( #2475 )
2023-08-17 18:09:34 +08:00
katherinehhh
3fc3d34aa7
fix: error in tree table dragging and sorting ( #2476 )
2023-08-17 18:05:12 +08:00
katherinehhh
9dc08277e1
fix: prompt on the last row of the subtable row is obscured ( #2467 )
2023-08-17 14:53:23 +08:00
Junyi
c6070378f4
fix(plugin-workflow): fix form trigger data bug ( #2472 )
2023-08-16 20:05:05 -07:00
YANG QIA
efa153e92e
fix: hook error in isTitleField
( #2471 )
...
* fix: hook error in `isTitleField`
* fix: error
2023-08-16 19:56:19 +08:00
Junyi
aa6facac97
fix(plugin-workflow): fix create/edit workflow form ( #2470 )
2023-08-16 19:11:03 +08:00
Junyi
8528aba694
fix(plugin-workflow): fix fields filter in value assignment nodes ( #2469 )
2023-08-16 19:10:34 +08:00
katherinehhh
39dcb905f4
refactor: view synchronization field, source field support selected to inherited collection field ( #2456 )
...
* refactor: syncField action support inherited fields
* refactor: code improve
* style: style improve
2023-08-16 18:08:33 +08:00
Junyi
5581b4f872
fix(plugin-workflow): fix schedule config component witdh ( #2461 )
2023-08-15 07:10:46 -07:00
katherinehhh
9b00aa9cc0
refactor: sub-table/sub-form support formula field ( #2449 )
2023-08-15 20:19:54 +08:00
katherinehhh
d8d01befdc
refactor: remoteSelect fieldName value ( #2457 )
...
* refactor: remoteSelect fieldName value
* refactor: code improve
2023-08-15 20:17:34 +08:00
ChengLei Shao
16ed7f2916
chore(database): view with hashed id field ( #2458 )
...
* chore: test
* chore: test
2023-08-15 18:08:46 +08:00
chenos
df85fb430a
chore(versions): 😊 publish v0.12.0-alpha.4
2023-08-15 12:22:49 +08:00
chenos
31f01dd004
fix(build): isPluginPackage
2023-08-15 12:21:11 +08:00
Junyi
dea4c6f9c7
feat(plugin-workflow): add sort and pagination to query node params ( #2453 )
...
* refactor(core): expose some utils and constants
* feat(plugin-workfow): add sort and pagination to query node params
* fix(plugin-workflow): fix job result json style
* fix(plugin-workflow): fix sort param
* fix(plugin-workflow): fix test cases
2023-08-14 20:32:51 -07:00
katherinehhh
3baebf2a71
style: ellipsisWithTooltip style improve ( #2451 )
2023-08-15 09:16:56 +08:00
katherinehhh
0669975dde
refactor: add new action init icon ( #2454 )
2023-08-15 09:16:23 +08:00
Dunqing
95a0e2de83
fix(plugin-map): should filter empty data, Close T-1380 ( #2447 )
2023-08-15 08:39:14 +08:00
Dunqing
26cd9e810c
fix: should show/hide schema when enabled/disabled TabBar, Tabs, Header ( #2428 )
2023-08-14 20:32:40 +08:00
Junyi
b542802667
fix(client): fix select button height in variable textarea ( #2450 )
2023-08-14 18:21:41 +08:00
katherinehhh
274d53988a
refactor: default value for field configuration in sub-table ( #2425 )
...
* refactor: field default value config in sub-table
* refactor: richtext default value
* refactor: richtext default value
* refactor: isShowDefaultValue
2023-08-14 17:47:15 +08:00
Junyi
2f6bfa65f7
fix(plugin-workflow): fix assign attachment value in nodes ( #2448 )
2023-08-14 17:11:48 +08:00
katherinehhh
dcafbb10c8
fix(findSchema): table operation action and detail operation action interact with each other ( #2446 )
...
* fix: table operation action and detail operation action interact with each other
* refactor: code imrove
2023-08-14 15:53:28 +08:00
katherinehhh
8b75738c90
refactor: recordPicker => associationField ( #2444 )
2023-08-14 09:26:27 +08:00
katherinehhh
caad07e11e
style: schemaSetting dropdown style improve ( #2432 )
2023-08-13 19:27:21 +08:00
katherinehhh
e573d085d3
refactor: buffer form attachment file name ( #2429 )
2023-08-12 23:59:31 +08:00
chenos
15504c2813
fix: improve translation
2023-08-12 10:18:47 +08:00
Junyi
9223999db2
fix(plugin-workflow): fix aggregate node association select ( #2438 )
2023-08-12 09:03:08 +08:00
Junyi
78b49b82ac
fix(plugin-workflow): add enablement editing back to workflow form ( #2431 )
2023-08-11 13:59:31 +08:00
Junyi
5408d29533
fix(plugin-workflow): fix locale ( #2427 )
2023-08-10 20:46:52 +08:00
Dunqing
b7d23c408a
feat(map-plugin): map block support select map field of association tables ( #2214 )
...
* feat(map-plugin): map block support select map field of association tables
* fix: update incorrect default value
* fix: should support o2m and fix bugs
* fix: height Close T1185 Close 1183
* fix: o2m, m2m cannot display data
* fix: switch map field will break
2023-08-10 17:36:02 +08:00
Junyi
fa43d9c870
feat(plugin-workflow): allow to configure auto delete execution in history ( #2423 )
...
* feat(plugin-workflow): allow to configure auto delete execution
* fix(plugin-workflow): fix locale
2023-08-10 16:18:07 +08:00
katherinehhh
9881d69def
refactor(schema-template): Inherit collection using blockTemplate ( #2418 )
...
* refactor: blockTemplate
* refactor: code imrove
2023-08-10 14:52:29 +08:00
Dunqing
5edcaaea4b
fix(mobile-client): style broken and display correct mobile url in sub app ( #2414 )
2023-08-09 22:23:15 +08:00
Junyi
05239c8cfe
fix(plugin-workflow): adjust styles ( #2417 )
2023-08-09 12:13:09 +08:00
Junyi
86e672e9bb
feat(plugin-workflow): add form trigger type ( #2347 )
...
* feat(plugin-workflow): add form trigger
* test(plugin-workflow): add test cases
* fix(client): fix component warning
* fix(plugin-workflow): fix context data for create and update
* fix(plugin-workflow): allow to select any form type workflow in configuration
* fix(client): fix tree component value
* fix(client): fix value render in component
* fix(plugin-workflow): fix context load
* fix(client): fix type
* fix(client): fix type
* fix(plugin-workflow): fix params
* fix(plugin-workflow): fix required
* fix(plugin): fix context not matching collection error
* fix(plugin-workflow): fix test cases
* refactor(plugin-workflow): change trigger workflow action config to cascaded
* fix(plugin-workflow): remove useless locale
* fix(client): adjust locale
* fix(client): remove useless locale
2023-08-09 12:12:57 +08:00
chenos
ceea649276
fix: cannot find module '@formily/json-schema'
2023-08-08 18:12:05 +08:00
katherinehhh
d25b9080b1
fix(data-template): titleField undefined ( #2398 )
...
* fix: titleField undefined
* refactor: code improve
2023-08-08 17:21:09 +08:00
katherinehhh
a6030a5151
refactor: map clear modal getContainer ( #2410 )
2023-08-08 16:40:43 +08:00
katherinehhh
823d4bd94d
fix: useSyncFromForm support multi-level relationships ( #2413 )
2023-08-08 15:37:10 +08:00
katherinehhh
3c161eab86
refactor: restrict the fields within the configured data scope in sub table ( #2394 )
2023-08-06 19:48:03 +08:00
Junyi
f992987187
feat(plugin-workflow): add execution dropdown for quick navigating ( #2404 )
2023-08-05 19:17:48 -07:00
Junyi
34ec7388df
refactor(plugin-workflow): change reload api to sync, and fix duplicated listening ( #2403 )
2023-08-04 21:53:09 -07:00
Junyi
e5f5787175
feat(plugin-workflow): add clear button for clearing executions ( #2401 )
2023-08-04 18:08:50 -07:00
Junyi
d693aad89b
feat(plugin-workflow): add modal to edit title when duplicating workflow ( #2399 )
2023-08-04 18:08:18 -07:00
被雨水过滤的空气-Rain
8615804b6f
refactor: should not trigger event of row when clicking in drawer ( #2400 )
...
* refactor: should not fire event if row when clicking in drawer
* refactor: rename
2023-08-04 06:31:50 -07:00
ChengLei Shao
e3e4e63146
fix(database): update belongs to many relation with target collection ( #2393 )
...
* fix(database): update belongs to many relation with target collection
* chore: test
2023-08-04 18:19:45 +08:00
katherinehhh
457082ffa1
refractor(remote-select): association field data scope merge with original filter conditions ( #2118 )
...
* fix: deleting the last field from sub table, the entire table will be deleted
* refactor: association select support data scope in sub-table
* refactor: locale improve
* style: sub-table style improve
* refactor: code improve
* chore: association field data scope
* refactor: code improve
* refactor: code improve
2023-08-04 18:07:58 +08:00
Junyi
53a6a6c621
fix(plugin-workflow): fix manual assignee select variable type filter ( #2396 )
...
* fix(plugin-workflow): fix manual assignee select variable type filter
* chore(plugin-workflow): fix lint issues
2023-08-04 02:56:12 -07:00
katherinehhh
5ef8fe7848
fix: params undefined ( #2397 )
2023-08-04 17:14:29 +08:00
Junyi
a9f46e7bac
feat(plugin-workflow): add reload for multi-app ( #2391 )
2023-08-04 01:37:56 -07:00
katherinehhh
cd3c93a11d
refactor:the default value of the built-in field should not be required ( #2115 )
...
* fix: the default value of the built-in field in users collection should not be required
* refactor: code improve
* fix: the default value of the built-in field in users collection should not be required
* refactor: code improve
2023-08-04 16:29:13 +08:00
YANG QIA
1ea1e903ed
feat(bi): make more config visualizable ( #2386 )
...
* feat(bi): make more config visualizable
* refactor: improve config schema of chart
* chore: set default isStack of area chart as true
2023-08-04 15:31:56 +08:00
katherinehhh
dcee24a1b0
refactor: table select record restricted the usage association field ( #2338 )
...
* refactor: table select recordrestricted the usage association field
* refactor: table select recordrestricted the usage action
* refactor: code improve
* refactor: code improve
* fix: code improve
* refactor: code improve
2023-08-04 15:20:06 +08:00
katherinehhh
e3b0f13923
fix: useVariablesCtx ( #2390 )
2023-08-04 11:29:42 +08:00
katherinehhh
c7a30c314c
fix: customized create action supports tree data for table selection data ( #2328 )
...
* fix: customized add action in table selection data supports tree data
* fix: customized add action in table selection data supports tree data
2023-08-04 11:06:03 +08:00
katherinehhh
364ed9a152
fix: resource undefined ( #2372 )
2023-08-04 11:01:17 +08:00
katherinehhh
45a5cdc643
refactor: remoteSelect support non object value ( #2375 )
2023-08-04 11:00:30 +08:00
katherinehhh
5480167827
fix: linkagerule copy data mutual influence ( #2333 )
2023-08-04 10:58:53 +08:00
katherinehhh
d6cc87d9a2
refactor: association field support sorting rules in sub-table ( #2326 )
...
* refactor: association field support sorting rules in sub-table
* refactor: code improve
2023-08-04 10:56:34 +08:00
katherinehhh
d333ad201a
feat(association-field): association field support sub-form(popover) ( #2373 )
...
* refactor: association field support sub-form(popover)
* refactor: code improve
* refactor: code improve
* refactor: sub-table support field component cinfig
* refactor: sub-table support field component cinfig
* refactor: sub-table support field component cinfig
* refactor: code improve
* refactor: code improve
* refactor: useAssociationNames
* refactor: locale improve
* refactor: locale improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: code improve
* refactor: code refactor
* style: style improve
* Update database.ts
* refactor: code imporve
* refactor: code imporve
* style: style improve
* style: style improve
* refactor: code imporve
* style: style improve
* refactor: code imporve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-04 09:48:03 +08:00
katherinehhh
d84c52618d
fix(markdowm): markdown style hook error reporting ( #2380 )
...
* fix: markdown style hook report error
* fix: markdown style hook report error
* fix: markdown style hook report error
* Update database.ts
* refactor: be better
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Rain <958414905@qq.com>
2023-08-04 09:37:06 +08:00
katherinehhh
316b12a4ba
fix: currentObject can not loadData ( #2385 )
2023-08-03 17:42:26 +08:00
Dunqing
495c2209c2
feat: association blocks support GridCard
and List
blocks ( #2356 )
...
* feat: association blocks support `GridCard` and `List` blocks
* fix: incorrect schemas
* fix: use RecordProvider instated of RecordSimpleProvider
2023-08-02 16:00:11 +08:00
Dunqing
a2fe6ab18d
fix(plugin-mobile): the layout is incorrect ( #2360 )
2023-08-02 15:59:32 +08:00
chenos
9251fe015f
chore(versions): 😊 publish v0.12.0-alpha.3
2023-08-02 11:25:57 +08:00
chenos
6ae22cea68
chore(versions): 😊 publish v0.12.0-alpha.2
2023-08-02 02:25:49 +08:00
chenos
93f2bc2e67
chore(versions): 😊 publish v0.12.0-alpha.1
2023-08-02 00:10:42 +08:00
jack zhang
5df3b0e75d
refactor!: plugins build and plugins load ( #2253 )
...
* refactor: plugin build and plugin template
* refactor: plugins' deps
* refactor: plugins bugs
* feat: add plugin static middleware
* fix: bugs
* refactor: frontend plugin add from remote
* refactor: delete useless app/client/plugins
* fix: requirejs move to local
* fix: tests case
* refactor: add src/client and src/server dir check
* fix: lodash tree shaking
* refactor: add BUILD_TIP
* refactor: add file size tip
* fix: bugs
* fix: bug
* fix: change china-division
* fix: change plugins response
* fix: recover dynamicImport
* fix: change server src entry
* fix: test error
* fix: plugins sourcemap => false
* fix: production file error
* refactor: change build tools to vite and tsup
* fix: yarn.lock
* fix: bugs
* fix: server build bugs
* fix: delete .fatherrc.ts
* fix: bug
* fix: bug
* fix: bugs
* fix: bugs
* fix: bugs
* refactor: add plugin d.ts
* refactor: delete fatherrc
* refactor: delete father scripts
* refactor: build bug
* fix: bug
* fix: deps adjust
* fix: add build tips
* fix: bug
* refactor: ignore plugins when build client
* docs: update doc
* refactor: docs and build
* fix: bug
* refactor: build deps
* fix: add USER_REMOTE_PLUGIN env
* feat: add plugin static cache
* feat: add build deps cache
* fix: bugs
* test: add test
* fix: add plugin depden on plugin tip
* fix: adjust shouldDevDependencies
* fix: deps
* fix: ajust deps
* fix: mobile style error
* fix: map error
* fix: test
* fix: bug
* feat: lodash and dayjs import from themself
* feat: @emotion/css 、ahooks and lodash to global
* fix: theme-editor plugin error
* fix: review
* feat: move all plugins' dependencies to devDependencies
* feat: change build
* feat: add devPlugins
* fix: bug
* fix: bugs
* fix: bugs
* fix: bugs
* feat: build bugs
* fix: bugs
* fix: bugs
* fix: review
* fix: bug
* fix: change deps build
* fix: bugs
* fix: bug
* fix: bug
* fix: bugs
* fix: bug
* fix: bug
* fix: multi language
* fix: dist
* fix: cronstrue
* fix: getPackageClientStaticUrl
* fix: antd dayjs locale
* fix: plugin' d.ts import from dist
* fix: multi language
* fix: build types error
* fix: requireModule
* fix: plugin lifecycle
* fix: client resource
* fix: improve code
* fix: locale
* feat: custom build
* fix: require locale
* fix: improve code
* fix: improve code
* fix: skip preset
* fix: collection undefined
* feat: yarn build
* fix: remove enabled
* fix: update dockerfile
* fix: formily version
* docs: update v12 changelog
* fix: devDependencies
* feat: @nocobase/app
* feat: generateAppDir
* fix: improve code
* fix: 0.11.1-alpha.5
* fix: missing @nocobase/client
* fix: error
* fix: add .npmignore
* feat: upgrade antd version
* fix: dependencies
* fix: peerDependencies
* fix: remove china-division dep
* fix: toposort deps
* fix: update dockerfile
* fix: plugin template
* fix: app client outputPath
* feat: update docs
* fix: nginx server root
* fix: storage/.app-dev
* fix: getChinaDivisionData
* feat: plugin info
* feat: update docs
* fix: docs menu
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-02 00:07:52 +08:00
katherinehhh
cfa252bfb0
fix: modal will automatically close when configing fields to association field details in sub-table ( #2371 )
2023-08-01 21:20:34 +08:00
被雨水过滤的空气-Rain
4e4c4eae27
fix(default-value): should not show 'N/A' when a normal value is selected. ( #2365 )
...
* fix(default-value): fix N/A
* fix: fix invalid selection
2023-08-01 16:19:15 +08:00
YANG QIA
7151345c40
fix(bi): issue of parsing label of region & file field ( #2366 )
...
* fix: issue of parsing label of region & file field
* fix: test
2023-08-01 12:50:43 +08:00
被雨水过滤的空气-Rain
0fe5b5367a
chore: upgrade antd to 5.7.3 ( #2359 )
...
* chore: upgrade antd to 5.7.3
* chore: fix build
* chore: fix build
2023-08-01 11:51:30 +08:00
YANG QIA
f82b6a9d38
fix(bi): g2plot render wrong when fields contain .
( #2363 )
...
* fix: g2plot render wrong when fields contains `.`
* fix: build
* fix: test
* fix: dual axes bug
* chore: add comment
* fix: code style
2023-07-31 23:51:23 +08:00
katherinehhh
07f1f16ea0
fix: graph collection current appInfo error ( #2364 )
2023-07-31 17:47:10 +08:00
katherinehhh
18bf6e507e
refactor(association field): association field support tag field mode ( #2251 )
...
* refactor: association field support tag field mode
* refactor: association field support tag field mode
* refactor: locale improve
* refactor: color field
* refactor: locale improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: colorPicker refactor
* refactor: colorPicker refactor
* fix: color field failed to config defaultValue
* style: style improve
* refactor: code improve
* fix: merge bug
* refactor: color field defaultValue
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-31 16:23:04 +08:00
katherinehhh
8f1d0d80af
refactor: form data templates and depulicate action support sync from form fields ( #2314 )
...
* refactor: sync from form fields
* refactor: sync from form fields
* refactor: sync from form fields
* refactor: data fields
* refactor: traverseFields
* refactor: traverseFields
* refactor: locale improve
* fix: merge bug
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: depulicate action support sync form form fields
* refactor: code refactor
* refactor: direct duplicate support select all
* refactor: code improve
* refactor: code improve
* refactor: hasOne and hasMany avaliable for deplicate
* refactor: code improve
* refactor: locale improve
* refactor: code improve
* refactor: code improve
2023-07-31 16:17:18 +08:00
被雨水过滤的空气-Rain
c743d66b8e
chore: only dev env can throw errors ( #2355 )
2023-07-31 13:14:20 +08:00
katherinehhh
23cd6bb4ed
fix: inheritd association field failed to get detail data ( #2354 )
2023-07-31 10:42:54 +08:00
Junyi
baca86e46e
refactor(plugin-workflow): adjust full-width to auto-width ( #2351 )
2023-07-30 02:52:35 -07:00
被雨水过滤的空气-Rain
1509893ebc
Revert "feat(theme-editor): add migration ( #2310 )" ( #2352 )
...
This reverts commit 682f0dfc30
.
2023-07-30 17:46:37 +08:00
YANG QIA
bab004f951
fix(locale): acl bug of localization management ( #2350 )
2023-07-30 13:07:00 +08:00
被雨水过滤的空气-Rain
682f0dfc30
feat(theme-editor): add migration ( #2310 )
...
* chore: change 'Default theme of antd' to 'Default'
* feat(theme-editor): add migration
* refactor: change file name
2023-07-30 11:44:00 +08:00
被雨水过滤的空气-Rain
b22207b180
feat: support JSONB ( #2321 )
...
* chore: yarn.lock
* feat: add jsonb option in field drawer
* feat: only postgres can use JSONB
* chore: add test
* refactor: make better
* fix: fix build
* fix: fix build
* fix: should disable JSONB on editing field
2023-07-30 09:51:39 +08:00
YANG QIA
b8175dbf17
fix(bi): parsing enum labels of field with alias ( #2349 )
...
* fix(bi): parsing enum labels of field with alias
* fix: current collection bug
2023-07-29 22:35:55 +08:00
chenos
40c4aab507
chore(versions): 😊 publish v0.11.1-alpha.5
2023-07-29 20:25:18 +08:00
chenos
656287e57b
fix: update yarn.lock
2023-07-29 20:24:07 +08:00
Rain
3c7b3f3caf
refactor: make testing more stable
2023-07-29 19:01:14 +08:00
chenos
767b81c65d
fix: skip if exists
2023-07-29 12:30:40 +08:00
Junyi
021ca950ab
refactor(plugin-workflow): change strict equal and not equal to unstrict ( #2346 )
2023-07-28 21:25:01 -07:00
chenos
b93f28a952
chore(versions): 😊 publish v0.11.1-alpha.4
2023-07-29 09:11:52 +08:00
chenos
167fa4bd67
fix: lock formily version
2023-07-29 09:11:10 +08:00
Junyi
1125ff76a0
refactor(plugin-workflow): allow system values to be assigned in create and update node ( #2345 )
2023-07-28 08:48:12 -07:00
ChengLei Shao
493965f848
chore(database): merge fields arguments by path ( #2331 )
...
* feat: merge fields array arg
* chore: test
* chore: test
* chore: test
* fix: test
2023-07-28 16:46:43 +08:00
被雨水过滤的空气-Rain
fd6d5ac2a6
fix(theme-editor): avoid error ( #2340 )
2023-07-28 11:03:14 +08:00
Rain
e7ade9ee12
chore: make testing more stable
2023-07-28 11:02:26 +08:00
被雨水过滤的空气-Rain
880f7ed7e4
refactor: upgrade @testing-library/react to 14.x ( #2339 )
...
* refactor: upgrade @testing-library/react to 14.x
* refactor: optimize test
2023-07-28 09:58:49 +08:00
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
YANG QIA
32ee260adf
fix(bi): issue of formatting relation field & reference link of line chart ( #2332 )
...
* fix: line chart link
* fix: style
* fix: issue of formatting relation field
* chore: close chart animation
2023-07-27 16:56:11 +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
Junyi
80779c3a98
fix(plugin-workflow): fix expression field in sub-form ( #2324 )
2023-07-26 00:38:51 -07: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
Dunqing
07ff868133
fix: should use filter
instead of where
( #2318 )
2023-07-25 21:51:23 +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
Junyi
df4e6de4dc
fix(plugin-workflow): fix schedule duplicated triggering in multi-apps ( #2313 )
2023-07-24 19:41:54 -07: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
Rain
d0528cf1f2
chore(theme-editor): fix deps
2023-07-22 18:26:33 +08:00
Rain
8051e2fc94
chore(theme-editor): fix deps
2023-07-22 18:18:50 +08:00
Rain
25decf0aa9
chore(theme-editor): fix deps
2023-07-22 18:02:35 +08:00
chenos
e979194cf2
chore(versions): 😊 publish v0.11.1-alpha.1
2023-07-22 12:50:04 +08:00
Junyi
5562aca456
fix(plugin-workflow): workflow collections should not appear in blocks ( #2290 )
2023-07-21 01:19:22 -07:00
Rain
8c904363ad
fix(theme-editor): fix color of menu when it is selected
2023-07-21 13:02:19 +08:00
ChengLei Shao
fe2890f9ec
chore: remove belongsToMany through table as collection dependency ( #2289 )
...
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-21 12:18:17 +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
eb9ee38a2b
feat: add built-in themes ( #2284 )
...
* feat: add built-in themes
* chore: add translation
* fix: should be optional in initial
2023-07-21 10:42:50 +08:00
被雨水过滤的空气-Rain
a4d8ef4b71
docs: add doc for Theme Editor ( #2280 )
...
* docs: add doc for Theme Editor
* chore: update src of img
* chore: increase image height
* chore: optimize img
2023-07-21 10:40:36 +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
chenos
7c45663cd1
fix: user role not found
2023-07-20 15:57:11 +08:00
Junyi
d587599c8a
feat(plugin-workflow): add sql node ( #2276 )
...
* feat(plugin-workflow): add sql node
* fix(plugin-workflow): fix test cases
2023-07-19 20:04:41 -07: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
chenos
fa2de8e806
fix(theme-editor): remove db.sync
2023-07-20 10:34:09 +08:00
YANG QIA
4e979bc7b7
fix(bi): orderBy bug under MySQL ( #2283 )
...
* fix(bi): orderBy bug under MySQL
* fix: compatible with pgsql
2023-07-19 21:25:49 +08:00
被雨水过滤的空气-Rain
1f91ebc65e
test: make testing more stable ( #2277 )
2023-07-19 16:49:49 +08:00
YANG QIA
d80213be5e
fix(bi): eliminate redundancy queries ( #2268 )
...
* fix(bi): eliminate redundancy queries
* fix: reset data after close configure pane
* fix: enum transform bug
* fix: reset form after clicking cancel button
* fix: reset form when changing collection
2023-07-19 16:34:52 +08:00
chenos
2d8451f2dd
fix(s3): missing endpoint
2023-07-19 12:30:40 +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
被雨水过滤的空气-Rain
4812cc5692
feat: support custome themes ( #2228 )
...
* feat: create custom-theme plugin
* feat: add custom-theme
* chore: add plugin name and description
* chore: add deps
* chore: optimize deps
* refactor: rename
* chore: add antd-token-previewer
* chore: add deps in plugin
* feat: add theme-editor
* feat: add theme-editor
* feat: add settings
* feat: add theme collection
* refactor: migration to the components folder
* feat: add ThemeList
* refactor: be better
* feat: export createStyles
* feat: implement ThemeCard (T-723)
* style: optimize style
* feat: add ThemeEditorProvider
* feat: add ToEditTheme
* chore: add isBuiltIn field
* feat: implement WYSIWYG
* refactor: migrate i18n
* feat: support to save config
* feat: add validation rule
* refactor: remove useless code
* refactor: optimize GlobalThemeProvider
* feat: add CurrentUserSettingsMenuProvider
* feat: support switching themes
* refactor: migrate CurrentUserProvider to app root
* feat: add InitializeTheme
* fix: fix preview demo
* fix: filter themes
* fix: not valid when editing theme
* fix: should restore the previous theme when closing theme editor
* fix: fix algorithm
* fix: the theme that was just saved should be applied
* refactor: loacl antd-token-previewer
* fix: should be based on the current theme when editing themes
* feat: support to edit theme
* perf: reduce executions
* feat: add animation
* fix: fix the type error of useRequest
* feat: remove built-in themes
* chore: reinstall deps
* fix: fix version of deps
* fix: delete client.d.ts to fix build error
* chore: reinstall deps
* fix: fix build
* fix: fix build
* fix: avoid build errors
* fix: fix crashing
* fix: use value instead of defaultValue
* fix: avoid error
* fix: avoid closure
* fix: fix build
* fix: fix style of login page
* refactor(page): fix style
* fix: fix style of PageHeader
* refactor: fix style of Drawer
* refactor: add FormDialog to loacl
* refactor: fix style of SchemaSettings.ModalItem
* refactor: fix style of pm/Card
* fix: fix text color of pm/Marketplace
* fix: fix table error
* refactor: fix style of collection-manager/summary
* refactor: fix style of fields drawer
* chore: reinstall deps
* fix: fix build
* fix: fix build of custom-theme
* fix: should export Plugin
* refactor: fix style of GraphDrawPage
* chore: upgrade plugin version
* refactor: fix style of Modal by using antd App
* refactor: fix style of FormDialog by using local version
* refactor(workflow): refactor style using antd-style in workflow
* fix(workflow): fix style of workflow
* fix: fix size
* refactor: add --nb-header-height
* feat: remove theme configuration from system settings
* refactor: migrate useUpdateThemeSettings to a new file
* refactor: rename theme to themeId
* feat: add updateSystemThemeSettings
* refactor: migrate utils function
* feat: use localStorage to avoid theme invalid in login page
* fix: fix style of login page
* fix: fix style of Drawer
* feat: optimize style of theme card
* fix: should use a empty object to reset theme
* fix: fix test of Page
* fix: fix test of Application
* fix: change backgroundColor of login page
* fix: fix all style of modal
* fix: fix gap between blocks (T-896)
* fix: fix color of font (T-905)
* fix: fix build
* fix: fix can not scroll in Drawer (T-897)
* fix: fix width of built-in plugins page (T-900)
* fix: fix style of import Modal (T-907)
* fix: fix style of calendar (T-908)
* fix: fix style of kanban (T-909)
* fix: fix style of Gantt (T-910)
* fix: fix style of Collapse (T-915)
* fix: fix style of mobile (T-916)
* fix: fix style of PageHeader (T-958)
* fix: optimize background color of Drawer
* fix: fix style of notification
* fix: fix T-1000
* fix: fix style of LinkageHeader (T-1003)
* fix: fix T-1004
* fix: fix style of scroll bar of chart (T-911)
* fix: fix style of workflow drawer (T-997)
* fix: fix T-922
* fix: fix T-924
* refactor: rename custom-theme to theme-editor
* fix: fix T-999
* fix: fix T-1011
* fix: fix error
* fix: optimize dark mode (T-921)
* fix: fix style of markdown (T-1020)
* fix: fix style of data template (T-1025)
* fix: fix style of rich text (T-1026)
* fix: fix style of a
* fix: fix style of XButton (T-1028)
* fix: fix T-1027
* fix: fix color of variable tag (T-1030)
* chore: translation
* feat: add a modal before create new theme (T-1024)
* feat: highlight card when editing theme (T-1031)
* feat: support to change theme name (T-1023)
* fix: api.auth.getOption('theme')
* fix: fix T-1032
* fix: fix feedback in feishu group
* refactor: code review
* fix: fix test
* chore: rename
* fix: useNotificationMiddleware
* refactor: revert
* fix: fix build
* fix: notification
* refactor: migrate CurrentUserProvider from Application to NocoBaseBuildInPlugin
* fix: fix test
* refactor: fix code review
* chore: avoid test error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-16 12:46:25 +08:00
Junyi
6e637dbb42
chore(plugin-workflow): fix breadcrumb warning ( #2256 )
2023-07-14 22:23:02 -07:00
chenos
f87cf982f1
fix(value-parser): option type is string
2023-07-14 18:56:58 +08:00
Junyi
5540a582f0
fix(plugin-workflow): fix request node error in loop ( #2254 )
2023-07-14 18:37:09 +08:00
ChengLei Shao
3510531182
feat(database): view collection support for add new, update and delete actions ( #2119 )
...
* feat: writeableView options in view collection
* refactor: view collection support edit
* refactor: view collection support edit
* refactor: view collection support edit
* refactor: view collection support edit
* test: insert into view with join table
* chore: typo
* chore: package.json
* chore: sql parser
* chore: query interface
* chore: test
* feat: update view collection
* chore: test
* chore: test
* chore: github action pg version
* fix: params in update and delete
* refactor: locale improve
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-07-14 14:49:12 +08:00
Junyi
b63012d85a
refactor(client): change isTitleField check to interface property titleUsable ( #2250 )
2023-07-14 14:16:44 +08:00
katherinehhh
9b5e923e91
fix: option field display value in workflow todo list ( #2246 )
...
* fix: option field display value in workflowtodo
* refactor: code improve
* refactor: code improve
2023-07-13 22:08:00 -07:00
Junyi
01db49a089
fix(plugin-workflow): fix dispatch bug ( #2247 )
2023-07-13 23:14:25 +08:00
Rain
67891d5721
fix: fix style of sub table
2023-07-13 22:45:27 +08:00
被雨水过滤的空气-Rain
623ffc9c57
fix: avoid crashes when emptying DatePicker's value ( #2237 )
...
* fix: avoid crashes when emptying DatePicker's value
* chore: better type
2023-07-13 14:12:53 +08:00
katherinehhh
11d127e3a4
fix: no template data requested during depulicating ( #2240 )
...
* fix: depulicate failed
* fix: depulicate failed to load template data
2023-07-13 14:12:17 +08:00
Junyi
5638a2fa2b
fix(plugin-workflow): fix job button style ( #2243 )
2023-07-12 22:32:00 -07:00
被雨水过滤的空气-Rain
0ba1c3d5c7
fix: avoid crashing when delete group menu ( #2239 )
2023-07-12 16:31:23 +08:00
被雨水过滤的空气-Rairn
57507b310e
fix: should auto focus in drop-down menu ( #2234 )
...
* fix: should auto focus in drop-down menu
* fix: fix error in console
2023-07-12 08:39:19 +08:00
Junyi
05058c04b6
fix(plugin-fm): adjust upload file size to 1G which same as default on server side ( #2236 )
...
Close #2215 .
2023-07-11 08:47:57 -07:00
被雨水过滤的空气-Rairn
20a7e9a657
fix: should only show one scroll bar in drop-down menu ( #2231 )
2023-07-11 17:52:45 +08:00
katherinehhh
c20c68cc42
fix: failed to correctly respond to optional fields in the child collection in the parent collection table ( #2207 )
...
* refactor: process inherited field uischema in table
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-07-11 17:43:25 +08:00
Junyi
ff7b1aaf71
fix(core): fix batch update query logic ( #2230 )
2023-07-11 16:54:04 +08:00
被雨水过滤的空气-Rairn
1fb15de29a
fix: should limit submenu height ( #2227 )
2023-07-11 14:47:27 +08:00
被雨水过滤的空气-Rairn
2e8c14e0d6
fix(upload): fix style of attachement in Table ( #2213 )
...
* fix(upload): fix style of attachement in Table
* fix: make test pass
2023-07-08 14:49:26 +08:00
chenos
6aeb9b321e
fix(cli): missing fs.existsSync
2023-07-08 09:54:23 +08:00
chenos
c0a59524ab
chore(versions): 😊 publish v0.11.0-alpha.1
2023-07-08 08:29:33 +08:00
被雨水过滤的空气-Rairn
fd36c970bc
refactor(client)!: upgrade antd to v5 ( #2078 )
...
* refactor: change moment to dayjs
* refactor: remove antd css
* refactor: change @formily/antd to @formily/antd-v5
* chore: add dep
* chore: upgrade babel/core and typescript
* refactor: rename moment to dayjs
* fix(dayjs): add plugins
* refactor: fix type errors
* refactor: change default export to named export
* chore: upgrade ts-loader
* refactor: rename moment to dayjs
* refactor: fix type errors
* chore: upgrade deps for build
* fix: fix build errors
* fix: add antd reset css
* fix: fix build error
* chore: add __builtins__
* chore: optimize genStyleHook
* refactor(Calendar): less to css-in-js
* refactor(acl): less to css-in-js
* refactor(board): less to css-in-js
* chore: add antd-style
* refactor(acl): use antd-style
* refactor(board): use antd-style
* refactor: schema-initializer
* refactor: refactor genStyleHook
* refactor: kanban
* refactor: filter
* refactor: upload
* refactor: markdown
* refactor: rename className to componentCls
* refactor: rich-text
* style: fix style
* fix: fix merge error
* chore: update yarn.lock
* chore: upgrade formily
* style: fix pageHeader
* style: fix add button style
* style: fix header menu color
* chore: update yarn.lock
* chore: upgrade deps
* test: fix tests
* test: fix tests
* fix: fix build error
* fix: fix style of plugin doc
* fix: fix tests
* fix: fix drag bug
* refactor: remove useless code
* fix: fix Modal style (T-621)
* fix: fix box-shadow of subMenu (T-622)
* fix: fix style of linkage rules (T-623)
* fix: fix style of DataTemplate
* fix: fix style of variable (T-620)
* chore: update yarn.lock
* fix: avoid test failed
* test: fix error
* chore: update yarn.lock
* test: fix error
* test(dayjs): fix error
* fix: should delay show menu to avoid the menu not hidden
* test: skip failure test
* fix(mouseEnterDelay): change default value from 100 to 150
* test: avoid failed
* refactor: rename component names
* chore: optimize types
* chore: lock antd version
* fix: fix build
* fix: fix build
* fix: layout bg color use variable
* fix: fix style of buttons
* feat: remove theme config
* fix(calendar): fix style
* fix(mobile-client): fix dialog style
* fix: fix test
* refactor: make code gooder
* chore: change code
* fix: fix T-847
* fix: fix T-845
* fix: display block
* fix: danger button
* refactor: make tester better
* fix: change moment to dayjs
* fix: build error
* fix: import dayjs/plugin/isSameOrBefore
* refactor: downgrade @testing-library/react to fix warning
* fix: fix CI
* fix: upgrade deps to fix build
* fix: fix test
* fix: skip some filed tests to avoid error
* fix: fix build errors that maked by merge code
* refactor: remove moment
* fix: error
* feat: update doc
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-08 08:26:27 +08:00
Junyi
6b220c342c
fix(plugin-workflow): fix loop variable ( #2211 )
2023-07-07 07:51:44 -07:00
Junyi
687f3c214d
fix(db): fix .now variable ( #2209 )
2023-07-07 04:15:29 -07:00
Junyi
6c19dad23d
chore(plugin-workflow): adjust types ( #2206 )
...
* chore(plugin-workflow): adjust types
* fix(plugin-workflow): fix types
2023-07-07 02:59:46 -07:00
jack zhang
2cb1203aa4
refactor(client)!: application, router and plugin ( #2068 )
...
BREAKING CHANGE:
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: complete basic functional refactor
* fix: performance Application
* feat: support client and server build
* refactor: nocobase build-in plugin and providers
* fix: server can't start
* refactor: all plugins package `Prodiver` change to `Plugin`
* feat: nested router and change mobile client
* feat: delete application-v1 and router-switch
* feat: improve routes
* fix: change mobile not nested
* feat: delete RouteSwitchContext and change buildin Provider to Plugin
* feat: delete RouteSwitchContext plugins
* fix: refactor SchemaComponentOptions
* feat: improve SchemaComponentOptions
* fix: add useAdminSchemaUid
* fix: merge master error
* fix: vitest error
* fix: bug
* feat: bugs
* fix: improve code
* fix: restore code
* feat: vitest
* fix: bugs
* fix: bugs
* docs: update doc
* feat: improve code
* feat: add docs and imporve code
* fix: bugs
* feat: add tests
* fix: remove deps
* fix: muti app router error
* fix: router error
* fix: workflow error
* fix: cli error
* feat: change NoCobase -> Nocobase
* fix: code review
* fix: type error
* fix: cli error and plugin demo
* feat: update doc theme
* fix: build error
* fix: mobile router
* fix: code rewview
* fix: bug
* fix: test bug
* fix: bug
* refactor: add the "client" directory to all plugins
* refactor: modify samples client and plugin template
* fix: merge error
* fix: add files in package.json
* refactor: add README to files in package.json
* fix: adjust plugins depencies
* refactor: completing plugins' devDependencies and dependencies
* fix: bug
* refactor: remove @emotion/css
* refactor: jsonwebtoken deps
* refactor: remove sequelize
* refactor: dayjs and moment deps
* fix: bugs
* fix: bug
* fix: cycle detect
* fix: merge bug
* feat: new plugin bug
* fix: lang bug
* fix: dynamic import bug
* refactor: plugins and example add father config
* feat: improve code
* fix: add AppSpin and AppError components
* Revert "refactor: plugins and example add father config"
This reverts commit 483315bca5524e4b8cbbb20cbad77986f081089d.
# Conflicts:
# packages/plugins/auth/package.json
# packages/plugins/multi-app-manager/package.json
# packages/samples/command/package.json
# packages/samples/custom-collection-template/package.json
# packages/samples/ratelimit/package.json
# packages/samples/shop-actions/package.json
# packages/samples/shop-events/package.json
# packages/samples/shop-modeling/package.json
* feat: update doc
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-07 14:35:22 +08:00
Junyi
50786621bb
fix(plugin-workflow): try to avoid occasionally duplicated executions ( #2196 )
...
* fix(plugin-workflow): try to avoid occasionally duplicated executions
* test(plugin-workflow): avoid appends error and add more test cases
* test(plugin-workflow): fix type and adjust waiting time for test cases
* fix(plugin-workflow): refactor delay logic and fix failed cases
2023-07-06 23:07:05 -07:00
katherinehhh
09d5477983
fix: association field display has been delete in sub-form ( #2205 )
2023-07-07 13:57:12 +08:00
Junyi
6646007dd7
refactor(client): abstract RawTextArea for variable input ( #2204 )
2023-07-06 20:52:56 -07:00
katherinehhh
6496c65fc4
fix: error reported when open data scope ( #2202 )
2023-07-07 09:42:10 +08:00
katherinehhh
a266367105
fix: current object variavle can not be selected ( #2201 )
2023-07-07 09:31:00 +08:00
chenos
15f028295c
chore(versions): 😊 publish v0.10.1-alpha.1
2023-07-07 06:56:04 +08:00
Junyi
ff9e96d38b
fix(client): fix variable component for preload label based on value ( #2200 )
2023-07-06 08:52:22 -07:00
katherinehhh
5a8f3d1ae3
fix: add new collection linakge disabled ( #2198 )
2023-07-06 23:13:02 +08:00
katherinehhh
f567f887de
refactor: the default value setting of association field supports variables ( #2138 )
...
* refactor: association field support variablein default value
* refactor: the current user variable only supports the target collection us users
2023-07-06 17:57:35 +08:00
katherinehhh
a9aab8ed92
refactor: performance optimization of association field data scope ( #2113 )
...
* refactor: performance optimization of association field data scope
* refactor: disabled
* refactor: disabled
* refactor: code improve
2023-07-06 17:55:28 +08:00
katherinehhh
ed9d716d7d
refactor: duplicate support inherited collection ( #2181 )
...
* refactor: set collection from current collection when deplicate
* refactor: set collection from current collection when deplicate
* fix: duplicate target collection
* refactor: code improve
2023-07-06 17:13:20 +08:00
katherinehhh
a3dc6d67e0
fix: optional fields of the child collection cannot be displayed correctly in the parent collection ( #2194 )
2023-07-06 16:50:10 +08:00
被雨水过滤的空气-Rairn
f44c5f3b4a
fix(data-templates): fix filter is empty ( #2193 )
2023-07-06 16:45:23 +08:00
Dunqing
817646d68d
feat(api-keys): the expiration field support custom option ( #2186 )
...
* feat(api-keys): the expiration field support custom option
* feat: support never option
* feat: support if expiresIn = never the expiresIn will replace to 1000y
* fix: toggle datepicker
* feat: update syntax
* fix: option order
* docs: update
* fix: maskCloseable should be false
* refactor: performance and remove unused code
* feat: should not allow clear
* fix: decode maybe fail
* fix: i18n
2023-07-06 16:33:28 +08:00
Junyi
dc91d44ce6
refactor(plugin-workflow): refactor nodes variable option api ( #2192 )
2023-07-05 21:27:34 -07:00
katherinehhh
6e0471bd46
fix: error reported when rewriting the collection field ( #2189 )
2023-07-06 11:35:45 +08:00
katherinehhh
566668daa1
refactor: enable child collection support current object ( #2188 )
...
* refactor: enable child collection support current object
* refactor: locale improve
2023-07-06 11:30:45 +08:00
Junyi
c9b726916c
refactor(client): refactor variable components and variables in workflow ( #2157 )
...
* refactor(plugin-workflow): change collection variables to lazy load
* fix(plugin-workflow): avoid to-many reverse loading for association field
* fix(client): fix variable components
* chore(client): fix type
* fix(client): fix current user lazy load options
* refactor(client): remove compile from variable components which potencially causing bug
* fix(plugin-workflow): fix scope argument for new api
* fix(client): fix constant type options
* fix(client): fix infinity rerendering
* fix: avoid closure problem
* fix(client): should use no children when lazy load
* refactor(client): refactor AssignedField to use Variable component
* fix(client): fix type
* fix(plugin-workflow): fix variable options in some node not changes
* fix(plugin-workflow): fix select variable for operand crash (T-815)
* fix(plugin-workflow): variable types detect
* fix(plugin-workflow): detect association to match types
* fix(plugin-workflow): fix variable type filter logic
* fix(plugin-workflow): fix optional types
* fix(plugin-workflow): make changeOnSelect configurable in TextArea and JSONInput
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-07-05 07:01:41 -07:00
Dunqing
25a3a8affa
feat: support token blacklist ( #2168 )
...
* feat: support token blacklist, Close T-799
* feat: clean
* fix: possible token does not exist
* fix: update
* feat: update
* feat: add node-cron to delete expired token
* fix: findOrCreate not work and add test case
* test: add token-blacklist tests
* feat: add test cases for blacklist in authManager
* test: update better
* fix: should hidden token field
* test: clean
* test: clean
* fix: should stop cron in afterStop
* refactor: move delete expired token in token blacklist service
* feat: remove plugin disable/enable logic
* fix: clean
* test: revert
* fix: cron typo
2023-07-05 21:57:57 +08:00
katherinehhh
3281aa5cf1
fix: cannot open the template when the data template filter is a custom function ( #2183 )
2023-07-05 11:18:43 +08:00
katherinehhh
046a0b4f4d
feat(collection-manager): tableOID field and collection field ( #2161 )
...
* feat: support tableOid interface
* chore: child collection filter operator
* chore: test
* refactor: support tableOid and collection field
* chore: test
* fix: refactor: collectionSelect
* refactor: support linkage from form in add child
* refactor: add child support linkage form form
* refactor: code improve
* feat: support undefined value in childIn query
* chore: test
* refactor: locale improve
* refactor: code improve
* refactor: code improve
* refactor: tableoid only support pg
* refactor: tableoid only support pg
* refactor: code improve
* refactor: collection operator
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: collection field support options config
* refactor: collection field support options config
* feat: tableoid migration
* fix: item.options?.inherits
---------
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-04 23:16:49 +08:00
Junyi
637ccb0457
fix(utils): fix json-template type checking logic ( #2177 )
2023-07-04 05:41:20 -07:00
katherinehhh
46294692dd
fix: error opening when data scope is null ( #2178 )
...
* fix: error opening when data scope is null
* fix: error opening when data scope is null
2023-07-04 17:17:51 +08:00
Junyi
650a580aca
fix(plugin-workflow): fix data scope on todo table block ( #2176 )
2023-07-04 16:05:50 +08:00
被雨水过滤的空气-Rairn
ef54fb0dd0
fix: time zone when showTime is false ( #2170 )
...
* fix: set default time-zone to CST
* test: add test
* fix: selected time should be beginning of day when showTime is false
* test: fix error in CI
2023-07-04 15:30:08 +08:00
ChengLei Shao
4557f99949
chore(database): skip update association if through model is a view ( #2173 )
...
* chore(database): skip update association if through model is a view
* chore: test
2023-07-04 12:59:23 +08:00
被雨水过滤的空气-Rairn
9d2a4834a5
test: add data-testid attr ( #2167 )
2023-07-03 16:02:26 +08:00
Junyi
21371aaa57
fix(plugin-workflow): fix cancel action on trigger config ( #2166 )
2023-07-02 17:02:05 -07:00
Junyi
71c62245ad
fix(utils): avoid to use default value for null in json-templates ( #2165 )
2023-07-02 16:25:53 -07:00
Dunqing
677442c844
fix(plugin-api-keys): use currentRoles instead of get roles from roles:list ( #2163 )
2023-07-02 10:36:36 +08:00
Dunqing
9f4fc777b0
docs: update api-keys related documentation ( #2162 )
...
* docs: typo
* docs: update
2023-07-01 12:21:33 +08:00
YANG QIA
3aa65cb30c
feat: data visualization ( #2160 )
...
* feat(charts-v2): init
* chore(charts-v2): init chart renderer
* feat(chart-v2): add chart grid and initializer
* feat(chart-v2): improve ui
* feat(chart-v2): ui
* feat(charts-v2): query sort ui
* feat(charts-v2): field select component
* feat(charts-v2): improve ui && add query action
* feat(charts-v2): imporve ui, work in progress
* fix(charts-v2): chart renderer request api twice
* feat(charts-v2): add dimension formatter
* feat(charts-v2): filter, sort, limit
* feat(charts-v2): sql mode ui
* feat(charts-v2): support duplicate & sql mode
* fix(charts-v2): wrong defaultValue of json config
* feat(charts-v2): transformer ui
* feat(charts-v2): transformer
* chore(charts-v2): rename transfromer to transform
* feat(charts-v2): support cache
* feat(charts-v2): add acl provider
* chore(charts-v2): hide sql mode
* refactor(charts-v2): add renderer provider
* feat: collection permission check
* feat(charts-v2): add antd statistic
* test(charts-v2): backend
* chore: improve code
* test(charts-v2): add test
* chore: add Chinese translation
* fix(charts-v2): locale switch bug
* chore: add dependency
* feat(charts-v2): init chart config from query
* feat: change layout
* test: fix frontend test
* feat: improve auto infer
* fix: ui issues
* chore: translation
* fix: sql error
* fix: some issues
* feat: support table
* fix: bug
* chore: improve code and fix query
* feat: add config reference
* chore: add translation
* fix: process data due to pg issue
* test: fix parseBuilder
* chore: upgrade formily to 2.2.25
* fix: some issues and import style
* fix: bug when query with sort
* feat: parse enum data
* fix: yarn.lock
* fix: type error
* fix: infer bug and frontend test
* test: fix frontend
* fix: test
* feat: improve preview
* chore: downgrade formily
* feat: support associations, draft, in testing
* fix: typo
* test: frontend & backend
* fix: infer bug
* feat: measure selection of statistics
* fix: bug of group by alias
* fix: some issues
* fix: order issues
* fix: yarn.lock
* chore: fix filter include & 'data-visualization'
* style: improve style
* docs: add readme
* chore: add translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-30 20:49:44 +08:00
katherinehhh
24f2429066
refactor: optimization of tree table stuck performance ( #2154 )
...
* fix: the first selection of the form template shows incomplete data
* fix: the first selection of the form template shows incomplete data
* fix: the first selection of the form template shows incomplete data
* fix: the first selection of the form template shows incomplete data
* refactor: optimization of Tree Table performance
* refactor: code improve
2023-06-30 17:47:32 +08:00
chenos
7e0ac57057
fix(acl): add roles.users field
2023-06-30 12:02:08 +08:00
Dunqing
6cfd586175
feat(plugin-api-keys): support fetch api via api-keys ( #2136 )
...
* feat(plugin-api-keys): support fetch api via api-keys
* feat: full support
* fix: missing parseToken in auth
* feat: add created at column
* feat: configure snippet
* fix: remove unused code
* fix: revert
* chore: update deps
* feat: improve role
* fix: avoid create api key without not exist role
* feat: improve select roles
* refactor: when no X-Role is found, roles should not be randomly assigned
* feat: improve code
* feat: improve current role
* fix: revert
* fix: revert apilicent
* fix: revert auth
* feat: improve currentRole logic
* feat: use resourcer.use instead it
* refactor: remove api-keys-auth
* fix: type
* refactor: move jwt to authManager
* refactor: remove unused code
* refactor: remove protected
* Revert "refactor: remove unused code"
This reverts commit 8f81535ab7e9c412bdc4d4bc05abad64ff60ba3f.
* feat: remove unused code
* feat: improve code
* fix: test error
* test: update test
* test: add test cases
* docs: update
* chore: update X-Role
* fix: token's roleName not work
* docs: update usage
* fix: i18n Add APi key
* docs: update capital
* docs: update
* feat: clean
* Update package.json
* Update roles.ts
* fix: api key
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-30 11:20:35 +08:00
Dunqing
4bf722326c
feat(map-plugin): support google map ( #2027 )
...
* feat(map-plugin): support google map
* fix: should render current position
* feat: support google map in field
* feat: support google map block
* feat: support connect data
* fix: update
* feat: support autocomplete instated of search
* feat: support language
* fix: drawing not work
* feat: support same labe lstyle
* feat: use better configuration
* fix: avoid rerender
* chore: update deps
* feat: add tips for lineString, Close T-591
* fix: zoom to big
* feat: improve api key incorrect flow
* fix: remove unreleated file
* feat: improve setFitView
* feat: update tips
* feat: improve code
* fix: avoid crash, Close T-713
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-30 11:08:53 +08:00
jack zhang
717b21d37a
fix: 修复 gulp-less 版本导致的初始化 bug ( #2153 )
2023-06-29 16:24:24 +08:00
chenos
560c00cc3e
chore(versions): 😊 publish v0.10.0-alpha.5
2023-06-29 15:34:40 +08:00
katherinehhh
d9902a4055
fix(assigned field):dynamic value validation error when assigned field ( #2117 )
2023-06-29 08:04:09 +08:00
被雨水过滤的空气-Rairn
d71fed0471
fix(upload): fix the upload status not being updated if the upload was successful ( #2133 )
...
* fix(Upload): fix style
* fix(Upload): fix uploading
* Revert "fix(Upload): fix uploading"
This reverts commit 45984cd59fab38b8e6fb3f49930b29acc8699b4f.
* refactor: add key
* fix: fix the upload status not being updated if the upload was
successful
* fix(FileSelector): fix uploading
* fix: fix key
2023-06-28 15:38:03 +08:00
katherinehhh
ece7cb76c2
fix: association fields cannot config in table ( #2146 )
2023-06-28 15:30:49 +08:00
chenos
15f824387e
feat: error cache ( #2145 )
2023-06-28 15:29:01 +08:00
Junyi
4fc64af173
fix(client): fix field initializer in detail block ( #2144 )
2023-06-27 19:40:59 -07:00
chenos
c229d837a3
fix: dropdownMatchSelectWidth=false ( #2143 )
2023-06-28 10:13:35 +08:00
被雨水过滤的空气-Rairn
73dfe074d7
refactor: should use useDocumentTitle to change document title ( #2137 )
2023-06-27 18:42:33 +08:00
yaroslav.kr
dd3e872b06
Add *.pdf preview ( #2105 )
...
* Create uk-UA.json
added Ukrainian locale json
* Add files via upload
* fix
* Update uk_UA.ts
* feat(client): add pdf preview
* feat(client): add pdf preview to upload
* fix: refactor pdf preview
---------
Co-authored-by: alexkash <kashmensky@gmail.com>
2023-06-27 16:00:41 +08:00
chenos
e79ea701a3
fix: migration up error ( #2135 )
2023-06-27 15:19:32 +08:00
chenos
f3f91bd649
chore(versions): 😊 publish v0.10.0-alpha.4
2023-06-27 13:50:59 +08:00
katherinehhh
360f6ae810
refactor: request data when the drop-down list is opened ( #2127 )
2023-06-27 13:44:41 +08:00
chenos
4d3d00a5d2
fix: modify the migration file name
2023-06-27 13:10:34 +08:00
被雨水过滤的空气-Rairn
08a9398a19
fix: fix dialog does not appear ( #2134 )
2023-06-27 10:42:00 +08:00
katherinehhh
516fe408b9
fix(association-field):submitting failed after adding data in subform for multiple association fields ( #2065 )
...
* fix: toManay sub-form add new data misalignment
* fix: toManay sub-form add new submit failed
* refactor: code improve
* refactor: code improve
2023-06-26 16:40:27 +08:00
被雨水过滤的空气-Rairn
88d4af14df
fix(sub-apps): fix incorrect page display when navigating sub-apps ( #2126 )
...
* fix: avoid error log
* fix: fix incorrect page display when navigating sub-apps
* Revert "fix: fix incorrect page display when navigating sub-apps"
This reverts commit 1cfbfe2e22cb6622fdcfa1566ae8719f44fb1b39.
* fix: fix incorrect page display when navigating sub-apps
2023-06-26 15:27:56 +08:00
katherinehhh
f042a2307a
fix: tree gantt block does not display correctly ( #2123 )
...
* fix: tree gantt block display error
* fix: tree gantt block display error
* refactor: code improve
* refactor: code improve
2023-06-26 14:14:22 +08:00
Junyi
6d80593f27
fix(plugin-workflow): change to use formv2 to avoid values updating issue ( #2124 )
2023-06-26 14:10:08 +08:00
katherinehhh
9241198da9
style:list and gridCard block style improve ( #2087 )
...
* style: list block style improve
* style: gridCard block style improve
2023-06-26 11:21:46 +08:00
被雨水过滤的空气-Rairn
ffcf9d2211
fix: fix designer button does not appear ( #2120 )
...
* refactor: convert to optional chain expresion
* fix: fix designer button does not appear
2023-06-26 11:03:42 +08:00
被雨水过滤的空气-Rairn
73f3929b4f
fix: fix the drop-down menu does not disapper ( #2109 )
...
* fix: should delay show menu to avoid the menu not hidden
* fix(mouseEnterDelay): change default value from 100 to 150
* chore: upgrade types for react
* fix: fix the drop-down menu does not disapper
* Revert "chore: upgrade types for react"
This reverts commit 7991d1c569629a6f458a4d5145a8df3f581bb27d.
* chore: ignore types check to avoid build error
2023-06-25 19:18:22 +08:00
Rairn
b2e71850f8
Revert "chore: upgrade types of react"
...
This reverts commit 78729bdc41
.
2023-06-25 15:02:12 +08:00
Rairn
78729bdc41
chore: upgrade types of react
2023-06-25 14:47:59 +08:00
chenos
0e84d61b72
fix(grid): remove overflow-x: hidden
2023-06-25 14:29:47 +08:00
chenos
83bf8ea3bb
chore(versions): 😊 publish v0.10.0-alpha.3
2023-06-25 14:04:19 +08:00
katherinehhh
7c5df477f3
fix: deleting the last field from sub table, the entire table will be delete ( #2077 )
...
* fix: deleting the last field from sub table, the entire table will be deleted
* refactor: association select support data scope in sub-table
* refactor: locale improve
* style: sub-table style improve
2023-06-25 14:01:52 +08:00
katherinehhh
2bbba7b7fa
fix(sub-table): inherited fields cannot be edited in a subtable ( #2106 )
...
* fix: inherit filed cant not edit in sub-table
* fix: inherit filed cant not edit in sub-table
2023-06-25 08:54:11 +08:00
Rairn
e3b84e855c
fix: fix PageHeader
2023-06-24 22:39:51 +08:00
chenos
8b03dfa96b
fix(input-number): change step to 1 ( #2104 )
2023-06-24 17:15:59 +08:00
chenos
7bd3168422
fix: schema-uid-invalid ( #2107 )
2023-06-24 16:36:26 +08:00
chenos
40c1a2b2ce
fix(client): migration error
2023-06-24 12:28:43 +08:00
Junyi
19341952b9
fix(plugin-workflow): fix branch and exit logic ( #2103 )
2023-06-23 08:21:19 -07:00
jack zhang
20f673a6b3
fix: create plugin cli error ( #2102 )
2023-06-23 15:54:48 +08:00
katherinehhh
480e499f67
fix: select options ( #2101 )
2023-06-23 12:00:59 +08:00
chenos
bdcbe7392f
chore(deps): bump formily from 2.2.24 to 2.2.26 ( #2088 )
...
* chore(deps): bump formily from 2.2.24 to 2.2.25
* chore(deps): bump formily from 2.2.25 to 2.2.26
* chore: update yarn.lock
---------
Co-authored-by: Rairn <958414905@qq.com>
2023-06-23 07:55:44 +08:00
katherinehhh
87e37757b3
fix(sub-table): allows configuration of "Display association fields" ( #2073 )
2023-06-23 00:10:39 +08:00
katherinehhh
ccfc9b8625
style: enable child collection modal style improve ( #2100 )
2023-06-22 22:03:42 +08:00
katherinehhh
cb52b80cf0
feat: data scope support variables for association fields ( #2049 )
...
* feat: association field support data scope
* refactor: association data scope
* refactor: association data scope local
* refactor: association data scope
* refactor: association data scope code improve
* refactor: code improve
* fix: useFormVariable
* fix: useFormVariable
* chore: useFormVariable
* chore: useFormVariable
* chore: useFormVariable
* chore: useFormVariable
* refactor: locale improve
* refactor: locale improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-22 20:19:34 +08:00
被雨水过滤的空气-Rairn
6eed9ac2bb
refactor: fix warning of antd 4.x ( #1998 )
...
* refactor: fix warning by codemod
* refactor: fix warning of Dropdown
* perf: use memo
* refactor: resolve SchemaInitializer
* refactor: fix lint
* refactor: remove SettingsForm
* refactor: resolve SchemaInitializer
* refactor: fix lint
* refactor: move useMenuItem to root dir
* chore: fix conflicts
* refactor: resolve SchemaSetting
* refactor: fix lint
* test: fix failed
* chore: upgrade Vite
* fix: fix style
* refactor: fix lint
* refactor: extract component
* refactor: resovle Menu
* refactor: resolve Tabs
* refactor(getPopupContainer): should return the unique div
* refactor(Drawer): change style to rootStyle and className to rootClassName
* chore: update yarn.lock
* fix: fix T-432
* fix: fix T-338
* fix: fix T-490
* fix: collection fields
* fix: fix style
* fix: fix T-500
* fix: fix SettingMenu error (close T-516)
* fix: fix tanslation of Map (T-506)
* style: fix style (T-508)
* fix: fix schemaSetting switch of mobile (T-517)
* fix: fix T-518
* fix: fix T-524
* fix: fix T-507
* perf: optimize SchemaInitializer.Button
* perf: optimize SchemaSettings
* fix: fix serch of SchemaInitializer (T-547)
* chore: change delay
* fix: fix button style (T-548)
* fix: fix scroll bar
* fix: update yarn.lock
* fix: fix build error
* fix: should update sideMenu when change it
* fix: fix build error
* chore: mouseEnterDelay
* fix: fix group menu can not selected
2023-06-22 19:51:16 +08:00
Junyi
5fc5428d03
fix(plugin-workflow): fix job button style ( #2098 )
2023-06-21 08:03:54 -07:00
Dunqing
b80aaacb38
fix(mobile-client): fix multiple bugs and do some improvement ( #2072 )
2023-06-21 22:26:15 +08:00
Junyi
6254fceb04
fix(plugin-verification): fix duplication of installation ( #2097 )
2023-06-21 06:59:19 -07:00
katherinehhh
1006a66a6f
fix: incomplete field list for assigned fields ( #2093 )
2023-06-21 18:29:14 +08:00
dream2023
dae191691c
fix: useAdminSchemaUid redeclaration
2023-06-21 17:49:45 +08:00
jack zhang
d7ed43b86d
fix: add useAdminSchemaUid ( #2092 )
...
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-21 16:40:21 +08:00
chenos
daa48302df
fix(acl): change route.uiSchemaUid to useAdminSchemaUid
2023-06-21 16:37:56 +08:00
Junyi
6a589543f9
refactor(db): add batch logic to update for better performance ( #2070 )
...
* refactor(db): add batch logic to update for better performance
* test(plugin-workflow): fix test cases
* fix(db): treat belongsTo field in update values as foreignKey
* fix(db): also handle object with id for belongsTo field
* fix(db): avoid 0 as falsy
* fix(db): fix test case
2023-06-21 16:37:06 +08:00
katherinehhh
c240228a69
fix: unable to load data from chinaRegion during the first configuation ( #2089 )
...
Close T-607
2023-06-21 16:00:39 +08:00
chenos
64070b81b9
refactor: migrate adminSchemaUid & mobileSchemaUid to system settings ( #2084 )
...
* refactor: migrate adminSchemaUid & mobileSchemaUid to system settings
* fix: error
2023-06-21 11:02:49 +08:00
Junyi
56e6d0c3b1
fix(plugin-workflow): fix occasional error on enter workflow page ( #2086 )
2023-06-20 19:53:31 -07:00
chenos
0b06e2cd69
chore(versions): 😊 publish v0.10.0-alpha.2
2023-06-20 11:51:16 +08:00
jack zhang
d76e8fb87f
refactor: upgrade umi
, react
and react-router-dom
( #1921 )
...
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: update docs
* feat: update docs
* fix: page tab change not work
* fix: login redirect query param doesn't work
* fix: bug and doc
* feat: update docs
* fix: ci error
* fix: merge main
* feat: update docs
* feat: update docs
* feat: update docs
* chore(versions): 😊 publish v0.10.0-alpha.1
* fix: translations
* chore: backend node test max old space size
* docs: add useSearchParams
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-06-20 11:48:02 +08:00
ChengLei Shao
d8ad98e2f7
fix(collection-manager): share collection when COLLECTION_MANAGER_SCHEMA not set ( #2081 )
...
* fix: share collection when COLLECTION_MANAGER_SCHEMA not set
* fix: test
2023-06-20 11:28:54 +08:00
xilesun
c9f51ca416
fix(oidc): field map bug
2023-06-19 21:53:33 +08:00
Junyi
0606637a73
fix(plugin-formula): fix formula field effect and read-pretty component ( #2076 )
2023-06-19 06:47:29 -07:00
Zhou
44549fdfee
Update README.zh-CN.md
2023-06-19 21:32:16 +08:00
xilesun
f99bedfab4
docs(oidc): add README
2023-06-19 21:13:03 +08:00
katherinehhh
bcad6c89dc
fix: file collection field should default to preview as the title field ( #2059 )
...
* fix: after selecting files for multiple association fields, the selected files should not be removed
* fix: file collection field should default to preview as the title field
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-19 20:48:20 +08:00
Junyi
331d6d57b2
fix(client): remove incorrect onchange in json component ( #2079 )
2023-06-19 18:58:38 +08:00
Junyi
a3805e3b02
fix(client): fix onchange mistake ( #2075 )
2023-06-18 21:34:08 -07:00
Junyi
ebdbc2dae3
fix(client): fix locale ( #2074 )
2023-06-18 21:01:14 -07:00
被雨水过滤的空气-Rairn
e506c1781e
fix(Varaible): fix option is disabled ( #2043 )
...
* perf: use useMemo
* refactor: extract className
* refactor: fix lint warning
* fix: fix can not be selected
* refactor: reduces count of compile runs
* fix: fix T-494
* fix: should disable options that no children
* fix: fix T-496
2023-06-18 14:31:53 +08:00
katherinehhh
50865d76bc
fix: rowSelection undefined ( #2071 )
2023-06-18 14:22:46 +08:00
Dunqing
6d0f5c1fe0
fix(mobile-client): the JsBridge is not work
2023-06-18 10:30:27 +08:00
Dunqing
21efc5c66c
fix(mobile-client): fix navigate is incorrect
2023-06-17 22:55:55 +08:00
chenos
106f9d90f5
fix(file-manager): only allow logged-in users to upload files
2023-06-17 21:53:49 +08:00
katherinehhh
e3045a2f9a
fix: association field cannot enable link in table column ( #2066 )
...
* fix: association field cannot enable link in table column
* refactor: code improve
2023-06-17 09:01:35 +08:00
Junyi
e5bab3249a
refactor(plugin-workflow): manual collection block migration ( #2064 )
...
* refactor(plugin-workflow): change all collection node initializer in manual config
* refactor(plugin-workflow): clean code
* fix(plugin-workflow): fix custom form field in manual config
* refactor(plugin-workflow): add migration
* fix(plugin-workflow): fix custom form block migration
* fix(plugin-workflow): fix detail read-pretty for association fields
2023-06-15 23:06:47 -07:00
katherinehhh
4faf64f905
refactor(association-field): support sub table ( #1862 )
...
* fix: association select support data scope and sort setting
* fix: appends on demand loading
* fix: asociationSelect support multiple
* fix: recordPicker -> AssociationField
* fix: add migration
* fix: audit logs not show assication data
* fix: flattenNestedList
* refactor: file manager field mode
* refactor: field mode refactor
* fix: subtable action
* fix: subtable appends
* refactor: code improve
* fix: nester add new
* feat: sub table
* fix: data scope not effect immediately
* fix: association add new
* fix: association field failed to add new and mutual influence
* style: style improve
* style: style improve
* refactor: updateAssociationValues
* refactor: form init values
* refactor: select options
* fix: form initialValues
* fix: record picker values
* fix: field value change when field mode change
* fix: select data scope
* feat: add migration
* fix: table column enable link
* fix: table column enable link
* refactor: locale improve
* fix: migration
* fix: mutiple config
* fix: readPretty enable link
* fix: appends on demand
* fix: enable link style
* refactor: locale improve
* refactor: locale improve
* feat: sub-form migration
* fix: skip migration
* fix: translation
* fix: skip migration
* fix: getLabelFormatValue
* fix: error TS2339: Property 'find' does not exist on type 'string | SchemaEnum<any>'
* refactor: remove the logic code for converting old record picker
* refactor: locale
* refactor: association field support sub-table
* refactor: locale
* fix: sub-table should not support add new
* refactor: code improve
* refactor: locale
* fix: compatibility history Subtable
* fix: getNesterAppends filter bug
* refactor: useFieldModeOptions
* refactor: subTable
* fix: associationSelect
* fix: associationSelect
* fix: associationSelect
* fix: getAssociationAppends
* fix: sub-form collection context
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: sub-table
* fix: appends
* fix: sub-table-appends
* fix: undefine id
* fix: sub-table appends
* refactor: sub-table
* refactor: sub-table supoort delete
* fix: sub-table-appends
* refactor: sub table initvvalue
* fix: sub-table-appends
* fix: association field appends
* fix: association field appends
* fix: association field appends
* style: style improve
* style: style improve
* refactor: textArear Markdown RichText
* style: style improve
* fix: title field
* refactor: code improve
* fix: system fields are not allowed to be edited
* refactor: subtable does not support inline operations
* refactor: jons edit in table
* refactor: sequence readOnly in table
* refactor: json readOnly in table
* fix: sub-table appends
* fix: runWhenParamsChanged
* fix: runWhenParamsChanged
* fix: sub-table appends
* fix: sub-table appends
* refactor: sub-table
* style: checkbox group intable
* style: delete button style improve
* fix: json edit in table
* fix: sub-table appends
* style: upload file in table column
* refactor: map edit in table
* refactor: map edit in table
* refactor: map field display in sub-table
* fix: support mutiple row
* refactor: sub-table
* refactor: sub-table not support sortable
* fix: sub-table appends
* fix: sub-table appends
* chore: useAssociationNames
* refactor: code improve
* refactor: support blocktemplate
* refactor: support blocktemplate
* fix: subtable
* fix: subtable initValue
* refactor: useAssociationNames in block template
* fix: cross hierarchical association field layout
* fix: normal field of association field should be append
* style: upload field in table
* refactor: sub table should not row selection
* style: checkboxGroup and radioGroup display in sub-table
* refactor: locale
* refactor: code improve
* refactor: quickEdit in sub-table
* refactor: quickEdit
* refactor: quickEdit
* refactor: quickEdit
* refactor: quickEdit
* style: quickEdit style improve
* style: quickEdit style improve
* style: quickEdit style improve
* refactor: sub-table support required config
* refactor: cell validate
* refactor: cell validate
* refactor: cell required validate
* refactor: cell required validate
* refactor: sub-table display when readPretty
* refactor: sub-table required
* refactor: sub-table required
* refactor: sub-table required
* refactor: sub-table initialValue
* refactor: table
* refactor: sub-tble field required
* refactor: sub-table style improve
* refactor: sub-table attachemnt
* refactor: code improve
* test: tableV2 snap
* fix: subtable drag
* test: tableV2 snap
* refactor: checkbox group and radio group in sub-table
* refactor: sub-table required style
* style: markdown style in sub-table
* refactor: markdown display in sub-table
* refactor: json field display in sub-table
* refactor: code improve
* style: style improve
* style: style improve
* refactor: inserView when designable
* refactor: china-region load data when dropdown click
* refactor: code improve
* refactor: code improve
* refactor: display loading when the form is first loaded
* refactor: display loading when the form is first loaded
* fix: verification exception when deleting sub table rows
* refactor: sub-table code improve
* refactor: sub-table code improve
* fix: json error feedback
* refactor: code improve
* fix: json onchange
* fix: sub table data did not change when switching data templates
* test: variable test
* test: variable test
* refactor: data template
* refactor: code improve
* refactor: code improve
* fix: upload readpretty
* fix: attach upload in sub-tabl
* fix: remove small
* fix: attach upload in sub-table
* refactor: association fields should not display in sub-table
* fix: dropdownMatchSelectWidth
* refactor: association fields should not display in sub-table
* refactor: selectFile is false in sub-table
* refactor: attacattachment in sub-table
* refactor: attacattachment in sub-table
* fix: selector style
* refactor: quick edit component
* fix: zindex
* style: style improve
* style: style improve
* feat: styling
* fix: style
* fix: style
* refactor: quickEdit getContainer
* refactor: quickEdit
* refactor: quickEdit
* fix: improve code
* refactor: code improve
* refactor: code improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-16 12:07:43 +08:00
被雨水过滤的空气-Rairn
457afe3e06
fix: avoid error ( #2060 )
2023-06-15 08:26:04 -07:00
被雨水过滤的空气-Rairn
d0632d73fd
fix(Data-template): fix field cannot be expanded ( #2057 )
...
* fix(Data-template): fix field cannot be expanded
* fix: fix build errors
2023-06-15 22:14:23 +08:00
katherinehhh
d79951e209
fix(file-manager): do not delete the selected records
2023-06-15 19:09:10 +08:00
katherinehhh
70890f2f50
feat(association field):quick add new ( #1953 )
...
* refactor: association select support quieck add
* chore: tmp commit
* refactor: association select support quick add
* feat: firstOrCreate
* refactor: locale
* refactor: create api
* chore: firstOrCreate
* feat: updateOrCreate
* chore: test
* refactor: save mode edit in add new form
* feat: values to filter
* refactor: loacle improve
* refactor: loacle improve
* refactor: loacle improve
* feat: firstOrCreate http api
* refactor: code improve
* fix: build error
* refactor: local
* refactor: locale improve
* refactor: useCollectionFieldsOptions
* fix: code imprtove
* refactor: code improve
* refactor: dropdown open
* refactor: add new mode
* refactor: add new mode code improve
* refactor: add new mode code improve
* refactor: add new mode code improve
---------
Co-authored-by: chareice <chareice@live.com>
2023-06-15 16:40:42 +08:00
katherinehhh
7abfbe7be4
fix: duplicate action locale ( #2052 )
2023-06-15 16:04:27 +08:00
被雨水过滤的空气-Rairn
74b8687071
fix: fix default value of optional field ( #2053 )
...
* fix: fix default value of optional field
* fix: fix can not save default value
2023-06-15 14:38:52 +08:00
chenos
c89d7f980f
fix: performance optimizations
2023-06-15 11:27:11 +08:00
katherinehhh
c4816c6963
refactor: List block and GridCard block style improve ( #1988 )
...
* refactor: list block and gridCard style improve
* style: style improve
* style: gridCard style improve
* style: list style improve
* style: style improve
* style: style improve
* style: style improve
* style: style improve
2023-06-14 20:14:57 +08:00
YANG QIA
8b9c0fa979
fix: block disappears when dragged over its parent ( #2048 )
2023-06-14 20:11:17 +08:00
jack zhang
8b64a559e4
fix: form performance ( #2047 )
...
* fix: form performance
* fix: refresh when the targetKeyValue change
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-14 19:29:29 +08:00
katherinehhh
b64ce6a2b3
fix: default value for multiple select cannot be set ( #2031 )
2023-06-14 10:56:45 +08:00
Dunqing
3332a488ca
fix: display on the PC side of moblie access is incomplete ( #2039 )
...
* fix: display on the PC side of moblie access is incomplete
* fix: need refresh should work
* fix: again
* fix: keep 0.1
2023-06-14 10:41:07 +08:00
katherinehhh
af37e26640
fix: enable tab and deleting tab page will result in an error ( #2045 )
2023-06-14 10:37:15 +08:00
被雨水过滤的空气-Rairn
58840e5fab
refactor(PluginManager): remove useless code ( #2022 )
...
* refactor(PluginManager): remove useless code
* chore: fix build error
2023-06-14 09:35:09 +08:00
Dunqing
4ac01b28db
fix(mobile-client): some mobile-client bugs ( #2017 )
...
* fix: avoid delete last tab will brake mobile client
* fix: when schema not exists
* feat: support redirect to mobile route in app
* fix: re-insert repeat routes
* feat: sync title
* fix: sync title
* fix: when TabBar is empty will cause page crashed
* fix: default label i18n not work
* fix: delete last menu will cannot add block ,Close T-434
* fix: tab cannot add block in drawer, Close T-437
* fix: hidden connect data block
* fix: login should use replace
* feat: display configuration of mobile-client address
2023-06-13 11:31:34 +08:00
katherinehhh
a6892dfff3
fix: error reported after deleting the associationFilter block linkage field ( #2038 )
2023-06-13 10:12:51 +08:00
chenos
97a4ef7422
fix(association-field): default values for the fields of a association field ( #2037 )
2023-06-13 09:46:01 +08:00
ChengLei Shao
97106c28e8
chore(database): return emtpy fields when attributes not specified ( #2034 )
...
* test: append nested field
* chore: return emtpy fields when attributes not specified
* fix: test
* fix: data template error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-12 18:44:43 +08:00
katherinehhh
82ebd0eb44
refactor: child and parent field are not linked ( #2030 )
2023-06-12 15:40:59 +08:00
YANG QIA
f1feb56743
fix(oidc): bugs of integration with logto ( #2032 )
...
* fix(oidc): iss validate bug
* chore: pass iss instend of all values
* fix(oidc): use BroadcastChannel & add alg options
* chore(oidc): improve
2023-06-12 11:50:56 +08:00
chenos
47859c0f99
fix(data-template): filter out foreign keys ( #2033 )
2023-06-11 23:12:43 +08:00
Junyi
dd9cb723d4
fix(client): fix json input component value handling ( #2028 )
...
* fix(client): fix json input component value handling
* fix(client): fix json input test case
* refactor(client): remove format button from json variable component
* refactor(client): move json input style to global
* test(client): remove unused test case
2023-06-11 00:33:52 -07:00
chenos
91d6f09fc3
fix: acl missing
2023-06-10 16:57:09 +08:00
chenos
fe989bb71c
fix(acl): import SettingsCenterContext
2023-06-10 12:43:36 +08:00
Rairn
7e9f3dfa17
chore: avoid test error
2023-06-10 07:31:32 +08:00
chenos
8d4123d8d6
feat: filter out IDs in sub-forms ( #2025 )
2023-06-09 23:45:04 +08:00
chenos
84e52448f5
fix: model toJSON
2023-06-09 21:33:33 +08:00
Dunqing
77225a4e25
fix(GridCard): column count not work ( #2023 )
2023-06-09 20:02:39 +08:00
Dunqing
69bbfee67a
feat: use ActionContextProvider
instated of ActionContext.Provider
( #2019 )
2023-06-09 13:05:05 +08:00
Dunqing
151949362b
fix: re-insert repeat routes ( #2018 )
2023-06-09 12:23:53 +08:00
Junyi
9a376e4116
refactor(plugin-workflow): change node config api render to component ( #2014 )
...
* refactor(plugin-workflow): change node config api render to component
* fix(plugin-workflow): fix trigger drawer error and remove unused api
* fix(plugin-workflow): fix return value of request node run phase
* fix(client): fix classname order in action button
2023-06-08 21:09:22 -07:00
Rairn
b7cb9a45c2
fix(Variable): fix can not select
2023-06-09 11:47:20 +08:00
Rairn
0a21c3bed2
test: fix test fialed
2023-06-09 09:49:40 +08:00
Dunqing
9c165db0f7
feat(plugin-mobile-client): support mobile-side client ( #1879 )
...
* feat: init mobile client
* feat: add plugin
* feat: ready to develop
* feat: update pm styels
* feat: add mobile center
* feat: router ready
* feat: support menu block, then menu ready
* fix: incorrect path
* feat: support TabBar
* feat: tabbar, menu support dragging
* feat: support page and header
* feat: mobile view
* fix: optional schema
* feat: improve styles
* fix: user-scalable
* feat: support pc component show in mobile
* feat: hidden divider
* fix: improve drawer props
* feat: support list block
* feat: rename to details list
* feat: page support tabs
* feat: improve designer css
* feat: complete enable/disabled header of page
* feat: some improve
* feat: improve empty data
* fix: header info cannot displayed
* chore: update deps
* fix: incorrect spacing
* fix: menu designer
* refactor: re implement
* feat: support page template
* feat: clean code
* feat: support i18n
* chore: update lock
* feat: support GirdCard in mobile
* fix: build failed
* feat: only render one column in mobile interface
* fix: back button should not display in container
* fix: switch to padding
* fix: fixedBlockDesignRItem shouldn't display in dosen't support block
* fix: update font family
* fix: remove gridcard title
* fix: dragging scope is too wide
* fix: add menu cannot direct display
* refactor: improve tabbar schema usage
* refactor: improve menu schema
* feat: should to use simple pagination
* feat: the tag should pre-wrap
* feat: improve the configuration button
* feat: improve name
* fix: clear data when modal is closed
* fix: the tag is too long
* fix: i18n
* fix: font incorrect
* feat: add map block
* fix: some maps error
* feat: support global action in page
* feat: improve border color
* feat: improve performance, the count stop early
* style: improve
* fix: incorrect font
* fix: style conflict
* chore: update version
* chore: missing dep
* feat: support setting block
* feat: improve settings block and improve
* feat: support onBackPressed
* fix: ts error
* feat: improve cannot find tab should navigate to mobile
* docs: update
* chore: update deps
* fix: showTitle state is incorrect
* feat: improve jsbridge apis
* fix: navigate to admin after signout
* chore: remove mgrid block
* fix: ts error
* fix: switch role will reload to root page
* fix: update deps
* fix: upgrade formily to 2.2.24
---------
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-08 19:54:00 +08:00
ChengLei Shao
b401c54442
chore(database): append inherit inspect attribute with eager load ( #2010 )
2023-06-08 17:58:39 +08:00
YANG QIA
24601aa66f
feat(auth): support custom authentication ( #2007 )
...
* feat(auth): init auth package & collection
* feat(auth): register
* feat(auth): use authenticator
* feat(auth): mapRoles
* feat(auth): refactor
* feat(auth): base auth class
* feat(auth): add plugin
* chore(auth): test
* chore(auth): add test cases
* feat(auth): authenticators pane
* chore(auth): custom hook useAuthTypes
* feat(auth): authenticator pane
* chore(auth): store options schema using context
* feat(auth): signInPage provider
* feat(auth): signUpPage provider
* chore(auth): solve build errors
* chore(auth): add dependency
* chore(auth): remove dependency cycles
* chore(auth): add plugin-auth to preset
* chore(auth): fix test
* feat(auth): authenticator enable status
* fix(test): fix test using new authentication
* feat(auth): migration, set up basic auth
* chore(auth): can set options ui by component
* fix(test): workflow manunal.test
* fix(test): typo
* feat(auth): support multi-language
* chore(auth): imporve code
* chore(auth): hide button if no configuration
* chore(auth): readme
* chore(auth): remove allowSignup prop
* chore(auth): move configure pane to edit form
* fix(auth): jwt options bug
* feat(auth): init sms-auth
* chore(auth): at least authenticator required
* chore(auth): add test
* feat(auth): support sms auth
* fix(auth): fix test
* chore(auth): move findOrCreateUser to AuthModel
* chore(auth): history compatible processing
* feat(auth): support SAML auth
* chore(auth): saml auth list
* chore(saml-auth): improve ui
* Merge branch 'main' into feat/authentication
* chore(auth): improve code
* fix(saml-auth): fix bug
* fix(saml-auth): fix saml options
* chore(saml-auth): compatible processing && ut
* fix(auth): signin page bug
* chore(auth): saml compatible processing
* feat(auth): oidc-auth
* fix(oidc-auth): bug
* fix(oidc-auth): bug
* fix(auth): fix test
* chore(auth): filter enabled authenticator
* chore(oidc): add field map
* chore(auth): update readme
* docs(auth): create sms-auth readme
* feat(auth): allow signup config
* test(auth): fix test
* feat(auth): allow saml and oidc use http
* chore(oidc-auth): extends timeout
* docs(auth): update readme
* feat(auth): support sort
* docs(saml): update readme
* feat(auth): support sort all authenticator
* Merge branch 'main' into feat/authentication
* Merge branch 'main' into feat/authentication
* feat: improve code
* docs(auth): add doc
* Merge branch 'main' into feat/authentication
* chore: update yarn.lock
* feat: improve code
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: edit
* refactor: auth class
* fix: set options
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: add migrations
* test: fix api-client test
* chore: add sms-auth
* feat: avoid no permission after auth type disabled
* fix: translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 23:46:42 +08:00
Junyi
0c150eaf9b
feat(plugin-fm): add option for storage to remove file physically or not ( #2005 )
...
* feat(plugin-fm): add server side destroy action for removing files of attachments
* feat(plugin-fm): add client option for storage
2023-06-07 05:44:16 -07:00
chenos
a1872fa75b
Revert "fix: the edit drawer's audit logs block can only get records by this … ( #1917 )"
...
This reverts commit 42ad77da68
.
# Conflicts:
# packages/core/client/src/block-provider/TableBlockProvider.tsx
# packages/core/client/src/schema-component/antd/filter/useValues.ts
2023-06-07 20:14:02 +08:00
ChengLei Shao
5e4682be72
fix: emit async
2023-06-07 17:25:06 +08:00
ChengLei Shao
e8e9c038e3
fix: eager load with nested association ( #2002 )
2023-06-07 15:31:29 +08:00
ChengLei Shao
43f3cb7cfe
chore(acl): write role to acl if it exists in database and not found … ( #2001 )
...
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
2023-06-07 15:01:50 +08:00
katherinehhh
c3c02d8925
feat: duplicate action ( #1973 )
...
* feat: depulicate action
* feat: depulicate action
* refactor: duplicate action
* refactor: duplicate action
* refactor: duplicate action
* refactor: support quick duplicate
* refactor: local improve
* refactor: local improve
* fix: duplicate intialValue
* refactor: detail action support duplicate
* refactor: action role check
* fix: duplicate support linkage rule
* fix: duplicate action support openMode and openSize
* fix: duplicate action support linkage rule
* refactor: locale
* refactor: detail block support duplicate action
* refactor: code improve
* refactor: code improve
* refactor: duplicate action improve
* refactor: wait time after click is too long, a Duplicating is required
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 11:25:32 +08:00
katherinehhh
8809df3f51
refactor(association-field): useAssociationNames hook ( #1956 )
...
* chore: useAssociationNames
* refactor: code improve
* refactor: support blocktemplate
* refactor: support blocktemplate
* refactor: useAssociationNames in block template
* fix: cross hierarchical association field layout
* fix: normal field of association field should be append
* refactor: useAssociationNames
* refactor: useCreateActionProps
* refactor: useAssociationNames params
* fix: cleanup
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 11:18:35 +08:00
ChengLei Shao
83dc81c51b
chore(collection-manager): should not throw error when source collection destoryed ( #1999 )
2023-06-07 11:06:35 +08:00
katherinehhh
83a6cae4e5
fix: assignedField can not select dynamicValue ( #2000 )
2023-06-07 10:54:03 +08:00
被雨水过滤的空气-Rairn
47838889f4
test: add tests for client ( #1960 )
...
* feat: add test utils
* test: fix compatibility problem
* refactor: use esm
* refactor: change require to import
* test: add a test
* chore: optimize launch.json
* chore(jest): optimize config
* test: fix failed
* test(Action): fix failed
* test: migration test from nocobase-next
* test: fix failed
* chore: set css to false
* fix: fix errors
* test(Filter): add test
* test(BlockItem): add test
* test(Calendar): add test
* refactor: migrate testUtils to client
* fix: avoid error
* refactor: fix lint error
* Revert "refactor: migrate testUtils to client"
This reverts commit ae569e2021a5c720111518cf3f2236e761a7186d.
* test: fix test failed
* refactor: migrate tesetUtils to @nocobase/test/client
* fix(Select): fix BUG
* refactor: remove useless code
* Revert "refactor: migrate tesetUtils to @nocobase/test/client"
This reverts commit 70d2211d5af546ae3fffaf5b53a326be8e194b34.
* test(AssociationSelect): add test
* test(CardItem): add test
* test(CollectionSelect): add test
* test(Cron): add test
* test(Details): add test
* test(ErrorFallback): add test
* test(Form): add test
* fix: fix CI
* test(FormItem): add test
* test(FormV2): add test
* test(G2Plot): add test
* test(Gantt): add test
* test(Grid): add test
* test(GridCard): add test
* test(Kanban): add test
* test(List): add test
* test(Menu): add test
* test(Page): add test
* test(Pagination): add test
* test(Preview): add test
* test(RemoteSelect): add test
* test: fix: failed
* refactor: remove useless code
* test(Table): add test
* test(TableV2): add test
* test(Tabs): add test
* test(Variable): add test
* test(Upload): add test
* chore: comment
* Revert "refactor: change require to import"
This reverts commit 3a23607e6faeda6f8b5bee02b9d8fa33bf9d2684.
* refactor: remove useless code
* fix: fix translation bug
* fix: fix export position
* test: update snap
2023-06-07 10:37:10 +08:00
katherinehhh
ac070de216
fix: display title enable ( #1995 )
2023-06-07 00:18:44 +08:00
Junyi
a8191ed26f
fix(plugin-formula): fix result component caused page crash ( #1996 )
2023-06-06 09:04:13 -07:00
ChengLei Shao
c604f37222
feat(collection-manger): lazy load collection field ( #1993 )
...
* feat(collection-manger): lazy load collection field
* chore: console.log
2023-06-06 22:48:43 +08:00
black
42ad77da68
fix: the edit drawer's audit logs block can only get records by this … ( #1917 )
...
* chore: rename resource function and add comment
* chore: remove AuditLogsDesigner when create audit logs schema
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-06 20:13:06 +08:00
chenos
e6a2a292b3
feat: upgrade formily ( #1880 )
...
* feat: upgrade formily
* fix: upgrade @formily/json-schema
* fix: optimizing performance
* fix: performance code
* refactor: `React.memo` and `observer` component add `displayName` property
* fix: add cache to Schema.compile
* feat: 优化代码
* fix: 修复卡顿最终的问题
* Update SchemaComponentProvider.tsx
* feat: 再次优化代码
* feat: optimized code
---------
Co-authored-by: dream2023 <1098626505@qq.com>
2023-06-06 19:33:04 +08:00
Junyi
36d16bc015
refactor(plugin-fm): change api and allow to select storage ( #1250 )
...
* refactor(plugin-fm): change api and allow to select storage
* fix(plugin-fm): fix lint errors and demo actions
* refactor(plugin-fm): refactor action codes
* fix(plugin-fm): fix api in test
* fix(plugin-fm): fix build
* fix(plugin-fm): fix locale
* refactor(plugin-fm): hide storage from api and use sourceField param
* fix(plugin-fm): fix storage select load
* fix: improve code
* fix(plugin-fm): change to attachmentField
* refactor(plugin-fm): change middleware name
* fix(plugin-fm): fix params in test cases
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-06 19:30:42 +08:00
被雨水过滤的空气-Rairn
b33c00be8f
fix: fix default value is invalid in subform ( #1989 )
...
* fix: fix default value is invalid in subform
* perf: use useMemo
* fix: change null to {}
2023-06-06 14:42:37 +08:00
ChengLei Shao
d7e6b7b320
feat(database): add firstOrCreate and updateOrCreate in repository ( #1943 )
...
* chore: tmp commit
* feat: firstOrCreate
* chore: firstOrCreate
* feat: updateOrCreate
* chore: test
* feat: values to filter
* feat: firstOrCreate http api
* fix: build error
2023-06-06 11:36:18 +08:00
ChengLei Shao
57d47371da
feat(database): append child collection name after eager load ( #1978 )
...
* test: eager load with inherit collection name
* feat: append child collection name after eager load
* chore: call build eager loading tree
2023-06-06 11:30:35 +08:00
icezohu
bc00bd161a
fix(multip-app-manager): init multiple Application instances while starting up a sub app ( #1986 )
...
* fix: init multiple Application instances while
starting up sub app
by Jacob
* fix: import error
by Jacob
* feat: use async-mutex for locking process
by Jacob
* revert: unused update
by Jacob
* test: should get same obj ref
when asynchronously access with same sub app name
by Jacob
* feat: add async-mutex dependency
to multi-app-manager package.json
by Jacob
2023-06-06 10:47:50 +08:00
Junyi
2c9ce09304
feat(plugin-workflow): manual forms ( #1748 )
...
* feat(plugin-workflow): add create record form for manual node
* feat(plugin-workflow): add update form for manual node
* fix(plugin-workflow): fix antd version and menu
* refactor(plugin-workflow): change collection config modal to initializer sub-menu
* test(plugin-workflow): add test case
* fix(plugin-workflow): fix todo components based on forms
* fix(plugin-workflow): fix cycling trigger when create or update
* fix(plugin-workflow): fix transaction in manual processor
* refactor(plugin-workflow): optimize todo list data loading
* fix(plugin-workflow): fix uncommitted manual action effects
* fix(plugin-workflow): fix save multiple forms and only submit one
* chore(plugin-workflow): fix lint
* fix(plugin-workflow): fix lint error
* refactor(plugin-workflow): abstract workflow scoped FormBlockProvider
* fix(plugin-workflow): adjust designable api to use current schema in refresh
* fix(plugin-workflow): fix schema config and support block template
* fix(plugin-workflow): fix lint and build error
* fix(plugin-workflow): adjust components and scope to inner schema component
* fix(plugin-workflow): fix ref template in todo drawer
* fix(plugin-workflow): fix todo form undefined
* fix(plugin-workflow): fix manual form schema
* fix(plugin-workflow): fix manual createdBy/updatedBy user
* fix(plugin-workflow): disable save to template on create form
* fix(plugin-workflow): fix manual form variables
* fix(plugin-workflow): fix FormBlockProvider for default field value
* fix(plugin-workflow): fix manual node variables
2023-06-05 16:52:43 +08:00
YANG QIA
ecb2af8fd6
fix(charts): fields undefined bug ( #1980 )
2023-06-05 13:13:06 +08:00
ChengLei Shao
ad726e6a94
chore(database): pg oid and name data type in view ( #1982 )
2023-06-05 10:56:34 +08:00
Rairn
76e9240d7d
chore: fix lint
2023-06-04 19:05:32 +08:00
ChengLei Shao
c7b9e6ac51
feat: infer belongs to association field in view collection ( #1756 )
...
support belongs to field in view collection
2023-06-04 13:04:56 +08:00
katherinehhh
60c8d531ef
fix: treeCollection config in detail block ( #1975 )
2023-06-03 14:08:07 +08:00
ChengLei Shao
d86da18006
fix(database): missing reference when rewrite parent field ( #1977 )
2023-06-03 00:06:54 +08:00
Junyi
9076a1d4e4
fix(evaluators): fix number lead key in variable path ( #1976 )
2023-06-02 20:35:11 +08:00
chenos
295faf569d
fix(association-field): form.get & set valuesIn field.path ( #1972 )
...
* fix: useCreateActionProps
* refactor: code improve
* fix: form.getValuesIn(field.path)
---------
Co-authored-by: katherinehhh <katherine_15995@163.com>
2023-06-02 00:55:12 +08:00
katherinehhh
7e30b046d9
fix: useCreateActionProps ( #1971 )
2023-06-02 00:03:35 +08:00
ChengLei Shao
4b9150d448
fix(database): update association values with nested associations ( #1970 )
...
* fix: update association values with nested associations
* fix: isReverseAssociationPair
2023-06-01 23:27:57 +08:00
katherinehhh
1aad355950
fix: adding inherited blocks in relation fields under edited operate should only display themselves ( #1967 )
2023-06-01 16:21:12 +08:00
katherinehhh
a69e1acbf4
fix(form-item): data scope and sorting rule config should only display in association field ( #1964 )
...
* fix: data scope and sorting rule config should not display in normal field
* fix: data scope and sorting rule config should not display in normal field
* fix: allowMultiple should display in association field
2023-06-01 11:30:54 +08:00
katherinehhh
e139646d65
fix: select with color tag value ( #1963 )
...
* fix: select with color tag value
* fix: select with color tag value
2023-05-31 22:20:06 +08:00
ChengLei Shao
78095d1128
chore(collection-manager): load source field options
2023-05-31 19:04:01 +08:00
katherinehhh
ea04d2309e
fix: select toValue ( #1962 )
...
* fix: select toValue
* fix: select toValue
2023-05-31 16:55:52 +08:00
katherinehhh
98be397574
fix: select null value ( #1961 )
2023-05-31 16:00:08 +08:00
chenos
261ca0dbbb
fix(association-field): show add new button when no data
2023-05-31 12:27:24 +08:00
Rairn
fe835ad296
perf(Variable): remove duration
2023-05-31 11:36:19 +08:00
katherinehhh
fdb7ab1866
refactor(sub-form):sub-form style ( #1959 )
...
* style: sub nester style improve
* style: sub-form style improve
* fix: improve code
* fix: null
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-31 10:43:56 +08:00
Rairn
7bf23964c1
fix(Variable.Input): fix error
2023-05-31 09:29:32 +08:00
Junyi
cf4e91b0f2
fix(plugin-formula): fix read-pretty component when used in association field ( #1957 )
2023-05-30 16:15:42 +08:00
chenos
3f4cd86465
fix(association-field): array field move
2023-05-30 10:12:58 +08:00
被雨水过滤的空气-Rairn
f286534752
perf(data-scope): async loading of variable data ( #1932 )
...
* refactor: remove useless code
* perf: async loading of user variable data
* perf: async loading children
* perf: add maxDepth
* refactor: use useMemo
* fix: avoid old data
2023-05-29 18:08:21 +08:00
katherinehhh
76ddbf2104
fix: undefined mode ( #1950 )
2023-05-29 16:27:23 +08:00
Dunqing
6d326f424a
fix(grid-card, list): display title only work on current block ( #1942 )
2023-05-29 11:22:38 +08:00
katherinehhh
c0f9c8116a
refactor(linkage-rule): linkage rules condition support toMany association fields ( #1924 )
...
* refactor: linkage rule support to many association field
* refactor: linkage rule support toMany
* fix: support toMany association field
* fix: support toMany association field
* fix: operator support toMany association field
* refactor: useLinkageCollectionFilterOptions
2023-05-29 11:22:04 +08:00
lincode
4296db5859
feat(plugin-manager): better plugin manager experience ( #1927 )
2023-05-29 11:06:54 +08:00
ChengLei Shao
82e6c7bb40
chore(database): sort many to many associations by primary key by … ( #1948 )
...
* chore(database): sort belongs to many associations by primary key by default
* chore: test
* chore: force sync in test
2023-05-28 22:05:25 +08:00
ChengLei Shao
ebae59507f
test(audit-logs): audit log changes ( #1928 )
...
* test: audit log changes
* chore: test
2023-05-28 07:57:59 +08:00
ChengLei Shao
29e66f675e
fix: eager load belongs to many with through table ( #1946 )
...
* fix: eager load belongs to many with through table
* fix: test
* fix: instance accessor
2023-05-27 23:23:09 +08:00
chareice
7d1a087b50
fix: eager load with long through table name
2023-05-27 17:35:30 +08:00
chenos
d7f21460c6
chore(versions): 😊 publish v0.9.4-alpha.2
2023-05-26 17:05:46 +08:00
chenos
1e870cf5ef
fix(association-field): display sub-details by default
2023-05-26 17:01:34 +08:00
ChengLei Shao
ea6f7accc3
fix: parse nested associations in filterParser ( #1941 )
2023-05-26 14:48:20 +08:00
chenos
3ab4a3b68f
fix(association-field): initialize a [null] if no data
2023-05-26 14:27:32 +08:00
chenos
c3d359925c
fix(association-field): allow dissociate ( #1940 )
2023-05-26 12:36:09 +08:00
被雨水过滤的空气-Rairn
fa778b31af
fix(data-template): fix title input prevented proper data switching ( #1937 )
...
* fix(data-template): fix title input prevented proper data switching
* fix: build error
* fix: clear the previous data before switching
2023-05-26 12:08:26 +08:00
katherinehhh
644b6eccb3
refactor: association select display loading when data is loading ( #1925 )
...
* refactor: association select loading
* refactor: association select loading
* refactor: loading
2023-05-26 11:39:16 +08:00
chenos
efbd7c7020
fix(association-field): allow multiple ( #1938 )
2023-05-26 11:38:03 +08:00
YANG QIA
849956b8ea
feat(multi-app-manager): support auto start ( #1931 )
...
* feat(multi-app-manager): support auto start
* perf(multi-app-manager): move filter to sql
2023-05-26 09:55:11 +08:00
Junyi
17ccdee9ab
fix(client): fix some warnings ( #1934 )
...
* fix(client): fix some warnings
* fix(client): fix warning
2023-05-25 18:54:06 -07:00
chenos
9c94840c6b
chore(versions): 😊 publish v0.9.4-alpha.1
2023-05-25 22:48:39 +08:00
chenos
2ebb6737c3
feat(docs-theme): update changelog link
2023-05-25 22:21:52 +08:00
ChengLei Shao
27a74906ff
chore: load view collection when source not found ( #1930 )
2023-05-25 21:46:58 +08:00
被雨水过滤的空气-Rairn
e61568ac57
feat(data-template): support to set data scope and title field ( #1918 )
...
* refactor: optimize
* feat(Data-template): support to set data scope and title field
* fix: fix error when no template data
* fix: fix error
* fix: operator
* chore: remove id
* fix: filter
* fix: should be global
* fix: submit
* fix: global sync
* fix: title field
* fix: fix filter
* fix: fix first created
* fix: collection
* fix: collection
* fix: collection
* chore: should show N/A
* Revert "chore: should show N/A"
This reverts commit 00c91d77612aea0801fec88b5f3f91e4be999439.
* chore: should show N/A
* chore: remove useless code
2023-05-25 17:09:29 +08:00
被雨水过滤的空气-Rairn
c722ca41d9
feat(data-template): support for unlimited levels of fields selection ( #1910 )
...
* refactor: use useMemo
* refactor: use useCallback
* feat(Data-template): change maxDepth from 3 to 10
* feat(Data-template): support for unlimited levels of fields selection
* fix: fix invalid selection
* fix: should be updated when data changes
* feat: parent treeNode and children treeNodes are not associated
* fix: avoid error
* fix: fix error
* chore: remove notification
* fix: parant node should be selected when child is selected
* fix: auto select all ancester nodes
2023-05-25 15:23:32 +08:00
black
948d39bab4
chore: when using association field by picker mode,it's open size can be changed ( #1926 )
2023-05-25 13:05:00 +08:00
被雨水过滤的空气-Rairn
e787890671
fix(ConfigurationTabs): avoid error ( #1782 )
2023-05-25 12:24:47 +08:00
katherinehhh
0086037425
fix: tableField query data in add child action ( #1876 )
2023-05-25 12:23:48 +08:00
被雨水过滤的空气-Rairn
49117afb72
refactor: front-end testing with vitest ( #1900 )
...
* refactor: front-end testing with vitest
* fix: fix build failed
2023-05-25 10:40:08 +08:00
李小斐
c603108542
fix: disable popup button in add-modal ( #1808 )
...
* fix: disable popup button in add-modal
* fix: disable popup button in form block
2023-05-25 10:33:59 +08:00
ChengLei Shao
710bd2dfd2
fix: append acl resource params ( #1923 )
...
* test: append acl resource params
* fix: test
2023-05-24 21:31:12 +08:00
ChengLei Shao
7080db72eb
chore: update guard with array contains null ( #1922 )
2023-05-24 11:24:15 +08:00
katherinehhh
e299f5452c
refactor: initialization when switching field components ( #1915 )
...
* fix: toManyNester only display one data
* fix: sub-nester
* fix: initialValue
* fix: [null]
* fix: record picker initValue
* fix: initValue filter
* fix: association select initialValue filter
* fix: association select initialValue filter
* fix: [null]
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-24 10:36:29 +08:00
Rairn
a0dd58e7e3
fix(Data-templates): avoid errors and add log
2023-05-23 16:18:01 +08:00
katherinehhh
58fda41513
fix(association-field): only when the new data is successfully created can the data be associated ( #1884 )
...
* fix: only when the new data is successfully created can the data be associated
* fix: associate empty object data
* Update index.ts
* fix: to many nester cannot be deleted when there is one data
* fix: code improve
* fix: association field add new button should not drag
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-23 15:48:08 +08:00
ChengLei Shao
6fb569cf0d
fix: eager load with belongs to many with custom source key ( #1913 )
2023-05-23 15:03:32 +08:00
xilesun
3b732d6db7
fix(ui): dnd error read properties of null
2023-05-23 11:02:40 +08:00
katherinehhh
d0f2bd96a8
fix: hiding the title of a subform will hide all embedded titles ( #1904 )
...
* fix: hiding the title of a subform will hide all embedded titles
* fix: display title not immediately effective
2023-05-23 09:50:20 +08:00
katherinehhh
0318034b7c
fix: updateAssociationValues ( #1903 )
2023-05-23 09:44:17 +08:00
Junyi
920bdf8705
fix(plugin-formula): use read-pretty component in result ( #1911 )
2023-05-22 18:15:51 -07:00
xilesun
518ca740f8
fix(locale): translation typo
2023-05-22 19:58:55 +08:00
black
db349ccb68
fix: can't set default value when turn on the form field required ( #1887 )
...
* fix: can't set default value when turn on the form field required
* fix: can't set default value when turn on the association select field required
2023-05-22 17:22:01 +08:00
被雨水过滤的空气-Rairn
110b00bc01
fix(Data-template): fix bug when deleting fields ( #1907 )
...
* chore: add translation
* fix(Data-template): fix bug when deleting fields
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-22 17:17:33 +08:00
YANG QIA
d35f67d2e1
feat(app): add clear cache button ( #1909 )
2023-05-22 17:16:12 +08:00
ChengLei Shao
5288cbb1cf
fix: eager load belongs to many association ( #1906 )
2023-05-22 16:09:37 +08:00
被雨水过滤的空气-Rairn
e27cff15c9
feat: support to-multi field variables ( #1680 )
...
* feat: support to parse association variable
* chore: change comment
* feat(operators): support array as value in string operator
* refactor: add a special marker
* feat: date support to-multi field variables
* feat: support for notIn
* refactor: rename
* test: fix test error
* Revert "test: fix test error"
This reverts commit 3d139698f6295678a39b77b08c88427f9fafe247.
* Revert "refactor: rename"
This reverts commit 2e16225c038e18ee25f1136d510cb4746bd9932f.
* Revert "feat: support for notIn"
This reverts commit 2087e5c4da1429b260890d5136c714ad541955a9.
* Revert "feat: date support to-multi field variables"
This reverts commit 0d7b2db0512ba7b632a2ab61f37cf83c0d06b9a1.
* Revert "refactor: add a special marker"
This reverts commit 7ba2e4bc00d79f60a2e90340df65b2938985750a.
* Revert "feat(operators): support array as value in string operator"
This reverts commit 0897cd19e9863248ef9e2af6c91ee14e805778a4.
* refactor: improve code
* test: fix can not import style file
* feat: only eq and ne oprators support mutil relation fields
* test: add example.test.ts
* refactor: remove jsonata
* Revert "test: add example.test.ts"
This reverts commit 0ad2ea458cd8a964891490d2021a5b000f391395.
* test: fix error
* fix: fix error
* refactor: remove async
* chore: rebase
* test: fix error
* test: fix errors
2023-05-21 17:18:35 +08:00
ChengLei Shao
aabc681245
fix: append belongs to association with fields ( #1894 )
2023-05-20 21:31:27 +08:00
ChengLei Shao
ccdc05b30b
fix: appends belongs to association ( #1893 )
...
* fix: merge stage in eager loading tree
* chore: test
2023-05-20 20:36:07 +08:00
katherinehhh
cb2feb304d
fix: preload relational data ( #1847 )
...
* fix: getNesterAppends filter bug
* fix: associationSelect
* fix: associationSelect
* fix: associationSelect
* fix: getAssociationAppends
* fix: sub-form collection context
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* fix: appends
* fix: sub-table-appends
* fix: undefine id
* fix: sub-table appends
* fix: sub-table-appends
* fix: sub-table-appends
* fix: association field appends
* fix: association field appends
* fix: association field appends
* fix: sub-table appends
* fix: runWhenParamsChanged
* fix: runWhenParamsChanged
* chore: eager loading tree
* feat: load eager loading tree
* fix: support mutiple row
* fix: support blockTemplate appends
* feat: merge stage of eager loading
* feat: merge stage of belongs to
* feat: merge stage of has one
* fix: dynamic appends not support template schema
* feat: merge stage of belongs to many
* chore: test
* chore: print tree
* chore: using eager loading tree in repository find
* fix: empty ids load
* fix: belongs to many query
* fix: load belongs to association
* fix: eager load data accessor
* fix: has many
* fix: test
* fix: useAssociationNames
* fix: filter with appends
* chore: remove handle appends query
* chore: console.log
* chore: console.log
* fix: test
* fix: support template block schema
* fix: sub-nester-appends
---------
Co-authored-by: Chareice <chareice@live.com>
2023-05-20 17:42:26 +08:00
YANG QIA
eac034cb23
feat: support reboot application manually ( #1889 )
...
* feat(reload-btn): reload application manually
* feat(app): support reboot
* feat: collections load after upgrade
* feat(reboot): support reboot manually
* chore(reboot): some typo
* fix(reboot): fix storage path
* fix(reboot): change restart file path
* fix: menu divider
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-19 20:34:22 +08:00
ChengLei Shao
c0ef071baf
Refactor/append fields ( #1883 )
...
* chore: eager loading tree
* feat: load eager loading tree
* feat: merge stage of eager loading
* feat: merge stage of belongs to
* feat: merge stage of has one
* feat: merge stage of belongs to many
* chore: test
* chore: print tree
* chore: using eager loading tree in repository find
* fix: empty ids load
* fix: belongs to many query
* fix: load belongs to association
* fix: eager load data accessor
* fix: has many
* fix: test
* fix: filter with appends
* chore: remove handle appends query
* chore: console.log
* chore: console.log
* fix: test
2023-05-19 16:39:00 +08:00
ChengLei Shao
ac5f3fd67e
chore: pg sql parser ( #1890 )
2023-05-19 15:30:44 +08:00
Junyi
16444ae6ab
fix(plugin-workflow): fix language ( #1886 )
2023-05-18 08:27:18 -07:00
katherinehhh
27cdd7b78a
fix: field required when setting sorting rules ( #1885 )
2023-05-18 22:23:47 +08:00
Junyi
2060bd4d44
feat(plugin-workflow): add node description to drawer when edit node ( #1882 )
...
* feat(plugin-workflow): add node description to drawer when edit node
* fix(plugin-workflow): fix manual description
* fix(plugin-workflow): fix languages
2023-05-18 19:42:30 +08:00
chenos
e0646650f0
fix(database): migrations table name missing table prefix
2023-05-18 14:51:51 +08:00
chenos
a26ac4f217
docs: routes demo
2023-05-17 18:06:19 +08:00
Junyi
c988c3705a
fix(plugin-workflow): fix variable api caller in loop ( #1877 )
2023-05-17 17:29:18 +08:00
chenos
be50cb5929
chore: remove link to field and association fields filter
2023-05-17 17:04:33 +08:00
Chareice
390c12ab2d
fix: sub app running mode when standlone deploy
2023-05-17 16:07:24 +08:00
katherinehhh
63f7112e0a
feat(association-field): default one data for to-many association ( #1873 )
...
* refactor: default one data for multiple association
* refactor: default one data for multiple association
* refactor: default one data for multiple association
* fix: initial value
* fix: add new
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-17 14:26:11 +08:00
Junyi
0264d89d14
fix(plugin-workflow): fix trigger title when workflow not loaded ( #1875 )
2023-05-17 14:24:50 +08:00
Junyi
f4064767c6
feat(plugin-workflow): aggregate ( #1852 )
...
* feat(plugin-workflow): add aggregate instruction
* test(plugin-workflow): add test cases
* fix(plugin-workflow): fix types
* fix(plugin-workflow): fix double result type
* test(plugin-workflow): fix test cases in mysql
* refactor(plugin-workflow): consolidate variables api
* fix(plugin-workflow): fix create node variable
* fix(plugin-workflow): fix aggregate association name
* fix(plugin-workflow): fix test cases
* fix(plugin-workflow): fix aggregate node config for duplication
* fix(plugin-workflow): fix variable api
* fix(plugin-workflow): fix variable api caller
* fix(plugin-workflow): fix job button style
2023-05-17 13:37:03 +08:00
JoGosGitHub
770f53ec4e
Feat/translation es_ES ( #1801 )
...
* feat: client and plugin translation ES
* fix: es translation
* fix: es translation
2023-05-17 11:39:37 +08:00
Dunqing
fdca52ae60
fix: data is not updated when appends are changed ( #1872 )
2023-05-17 11:38:42 +08:00
katherinehhh
3603b2fe23
fix:association select no options when clearing filter ( #1866 )
...
* fix: inherit fields filter Foreign Key fields
* fix: association select no options displayed when clearing filter
* fix: association select no options displayed when clearing filter
2023-05-17 11:37:54 +08:00
chenos
3b8af6e863
feat(client): change the order of blocks
2023-05-17 11:36:41 +08:00
YANG QIA
f5d6dd7d09
fix(acl): issue with repeated createdById field ( #1871 )
2023-05-16 20:33:05 +08:00
Rairn
fbbd90ca3c
chore: avoid error
2023-05-16 20:16:45 +08:00
Rairn
2e4636a8ca
chore: avoid errors generated by collectionField
2023-05-16 20:09:36 +08:00
Rairn
8ba90b126f
fix: avoid error
2023-05-16 19:51:07 +08:00
Junyi
0eb1c31514
feat(client): allow search by title in collection select ( #1869 )
2023-05-16 02:07:56 -07:00
ChengLei Shao
29956150ba
chore: skip get standalone deployment sub application ( #1868 )
...
* chore: skip get standalone deployment sub application
* feat: standalone deployment
* fix: link
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 16:38:17 +08:00
Junyi
9931e6a486
fix(plugin-workflow): remove useless context option ( #1867 )
2023-05-15 23:16:13 -07:00
katherinehhh
190ba4db1f
fix: inherit fields filter Foreign Key fields ( #1864 )
2023-05-16 11:28:35 +08:00
Junyi
238af440e3
feat(plugin-workflow): loop ( #1787 )
...
* feat(plugin-workflow): add loop instruction
* fix(plugin-workflow): fix lint error
* feat(plugin-workflow): add loop variable in client
* feat(plugin-workflow): refactor and add job list to nodes in execution
* feat(plugin-workflow): allow to query multiple records
* fix(plugin-workflow): fix i18n
* fix(plugin-workflow): fix undefined value in component
* fix(plugin-workflow): fix parse context value with current node
* fix(plugin-workflow): fix revision with scope variable
* test(plugin-workflow): add failing case
* fix(plugin-workflow): fix revision with scope variable
* chore(plugin-workflow): fix lint errors
* fix(plugin-workflow): fix workflow canvas page style
* fix(plugin-workflow): revert abstracted node config drawer back to each node
* fix(plugin-workflow): fix parallel extra call
* fix(plugin-workflow): fix parallel branch end
* fix(plugin-workflow): fix jobs variable in processor
* fix(plugin-workflow): fix workflow canvas scroll style
* fix(plugin-workflow): fix slowly opening job modal
* fix(plugin-workflow): fix cycling reference
2023-05-15 18:45:45 -07:00
katherinehhh
8cf3c40ad4
fix: insertAdjacent not find ( #1861 )
2023-05-16 09:20:45 +08:00
katherinehhh
d58174011c
refactor(add-new):association field add new support button edit ( #1854 )
...
* feat: assoociation add new supoort button edit
* feat: assoociation add new supoort button edit
* fix: add new button type
* refactor: add new support button edit
2023-05-16 09:06:03 +08:00
Dunqing
3a77e4376a
feat: support List and Grid Card block ( #1753 )
...
* feat: support details block
* feat: rename to list
* fix: imports
* feat: improve list block
* feat: support title hidden
* fix: showTitle default value
* feat: support table column actions
* feat: support appendsOnDemand
* feat: reuse same schema items
* feat: shouldn't display pagination when pages only one
* feat: block order
* feat: support card list
* fix: appends on demand
* fix: remove unused code
* fix: params
* fix: improve default pageSize
* feat: improve performance
* feat: add title designer
* feat: improve huge performance
* fix: better key
* feat: improve schema perf
* feat: improve initializer
* fix: improve grid perf
* fix: avoid haven't properties
* feat: support automatic run service when params changed
* fix: revert params
* fix: grid col width
* refactor: improve CardList performance
* fix: initializer related
* feat: i18n supports
* fix: improve get schema
* fix: create new form
* fix: revert code
* feat: css improve
* fix: i18n copy
* refactor: the CardList rename to GridCard
* feat: remove AssociationFilter item
* fix: edit and view data is incorrect
* feat: remove bulk actions
* feat: improve action bar
* feat: supports configuration of columns with different screen sizes
* fix: incorrect place to save the template
* feat: keep height in all card
* fix: remove console
* fix: rename
* refactor: improve GridCard implementation
* feat: support import/export actions
* fix: remove padding when actions is empty
* fix: remove incorrect import
* fix: remove unused props
* fix: action place
* feat: improve column count
* refactor: remove appendsOnDemand, and use useAssociationNames instated it
* fix: incorrect component
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-16 09:05:47 +08:00
被雨水过滤的空气-Rairn
19a33dfe74
fix: fix multi-select field not show 'Allow multiple' switch ( #1857 )
...
* fix: fix multi-select field not show 'Allow multiple' switch
* fix: use uiSchema
2023-05-15 15:26:46 +08:00
katherinehhh
d2e92ead7f
fix: field for attachment interface type without appends ( #1856 )
...
* fix: attachment without appends
* fix: association fields appends
2023-05-15 11:08:38 +08:00
chenos
83749ccd53
fix(client): import declaration conflicts with local declaration of 'DeletedField'
2023-05-15 11:06:31 +08:00
李小斐
975b7dfe93
fix: action error when field deleted ( #1849 )
...
* fix: action error when field deleted
* fix: delete field cannot set dynamic value
2023-05-15 09:34:14 +08:00
ChengLei Shao
1c757bd025
feat: support running single sub app ( #1853 )
2023-05-14 16:48:53 +08:00
Rairn
ff6f37c589
refactor(Form): rename
2023-05-13 11:06:33 +08:00
katherinehhh
77b7adb97c
fix: assign field with delete field ( #1850 )
2023-05-13 11:01:01 +08:00
chenos
3a8db04161
fix: use AssignedField
2023-05-13 10:51:32 +08:00
chenos
901c05bc35
fix: dropdownMatchSelectWidth: false
2023-05-12 14:33:20 +08:00
katherinehhh
81b3afb57b
fix: title field in assign fields value ( #1848 )
2023-05-12 13:42:18 +08:00
chenos
94284c6210
fix: mode undefined
2023-05-12 10:20:02 +08:00
katherinehhh
3fcdd94549
fix:association appends ( #1842 )
...
* fix: getNesterAppends filter bug
* fix: associationSelect
* fix: associationSelect
* fix: associationSelect
* fix: getAssociationAppends
* fix: sub-form collection context
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
* refactor: code improve
2023-05-12 07:20:27 +08:00
Junyi
6c149aadfc
feat(plugin-workflow): add delete button in workflow canvas page ( #1844 )
...
* feat(plugin-workflow): add delete button in workflow canvas page
* fix(plugin-workflow): fix redirect url after deleted
* fix(plugin-workflow): fix antd version
2023-05-11 07:48:10 -07:00
Rairn
eccfac5666
fix: fix translations
2023-05-11 16:59:25 +08:00
Rairn
d34b3fc5e3
chore: add translations
2023-05-11 16:56:05 +08:00
katherinehhh
a7dcbf4288
fix(block-provider): getNesterAppends filter fix ( #1839 )
...
* fix: getNesterAppends filter bug
* fix: associationSelect
2023-05-11 15:45:47 +08:00
ChengLei Shao
f8fa36d016
feat: repository aggregate method ( #1829 )
...
* feat: repository aggregate method
* chore: aggregate with distinct
* feat: has many repository aggregation
* feat: belongs to many repository aggregation
* chore: using model aggregate method
* chore: aggregate with association filter
* chore: aggregate type
* chore: type error
2023-05-11 15:16:33 +08:00
chenos
cf0a921f85
chore(versions): 😊 publish v0.9.3-alpha.1
2023-05-11 12:49:18 +08:00
katherinehhh
55efa40cdd
refactor: association field ( #1838 )
...
* feat: association field
* fix: bug
* refactor: association field
* style: style improve
* style: style improve
* refactor: support subtable
* refactor: support file collection
* refactor: locale improve
* refactor: subtable improve
* refactor: association select improve
* refactor: association select improve
* refactor: association select improve
* refactor: useAssociationNames
* refactor: enable link
* refactor: selector
* refactor: selector
* refactor: locale improve
* refactor: on demand loading of relational data
* refactor: locale improve
* refactor: select button
* refactor: association field
* refactor: formformBlock provider
* refactor: formformBlock provider
* refactor: internalSelect recordPicker
* refactor: formBlocklockProvider
* fix: addNewer schema
* fix: useServiceOptions
* fix: useCreateActionProps
* fix: useCreateActionProps
* refactor: nester delete
* refactor: nester delete in detail
* refactor: subTable suport select
* refactor: subTable suport select
* style: style improve
* style: style improve
* chore: fileManger
* fix: association readPrety
* fix: filemanger
* refactor: field mode
* refactor: enable link
* chore: error message
* refactor: association schemaInitialize
* refactor: association schemaInitialize
* refactor: currentMode
* refactor: field mode default value
* fix: file manage readPretty
* fix: appends
* chore: file manage readPretty
* fix: updateAssociationValues
* fix: updateAssociationValues
* fix: updateAssociationValues
* fix: nester appends
* fix: nester appends
* fix: tree collection association fields
* fix: tree collection association fields
* fix: nester appends
* fix: subtable to select field value missing
* fix: subtable to select field value missing
* fix: compatible with historical blocks
* fix: compatible with historical blocks
* fix: compatible with historical blocks
* feat: add migration
* fix: filter block allow add new
* fix: compatible with historical blocks
* fix: skip if not RecordPicker
* fix: compatible with historical blocks
* fix: detail block not support nester
* fix: association select support data scope and sort setting
* fix: appends on demand loading
* fix: asociationSelect support multiple
* fix: recordPicker -> AssociationField
* fix: add migration
* fix: audit logs not show assication data
* fix: flattenNestedList
* refactor: file manager field mode
* refactor: field mode refactor
* fix: subtable action
* fix: subtable appends
* refactor: code improve
* fix: nester add new
* feat: sub table
* fix: data scope not effect immediately
* fix: association add new
* fix: association field failed to add new and mutual influence
* style: style improve
* style: style improve
* refactor: updateAssociationValues
* refactor: form init values
* refactor: select options
* fix: form initialValues
* fix: record picker values
* fix: field value change when field mode change
* fix: select data scope
* feat: add migration
* fix: table column enable link
* fix: table column enable link
* refactor: locale improve
* fix: migration
* fix: mutiple config
* fix: readPretty enable link
* fix: appends on demand
* fix: enable link style
* refactor: locale improve
* refactor: locale improve
* feat: sub-form migration
* fix: skip migration
* fix: translation
* fix: skip migration
* fix: getLabelFormatValue
* fix: error TS2339: Property 'find' does not exist on type 'string | SchemaEnum<any>'
* refactor: remove the logic code for converting old record picker
* refactor: locale
* refactor: locale
* fix: sub-table should not support add new
* refactor: code improve
* refactor: locale
* fix: compatibility history Subtable
* fix: improve
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2023-05-11 12:47:31 +08:00
ChengLei Shao
ecd7540f7a
fix: tree with fields option ( #1833 )
2023-05-10 16:32:36 +08:00
Junyi
fab448c486
fix(client): fix ime status in variable textarea ( #1832 )
2023-05-10 00:57:59 -07:00
ChengLei Shao
8183ff5564
chore: should not return children property when child nodes are empty ( #1825 )
2023-05-09 16:48:40 +08:00
ChengLei Shao
088acd906d
fix: tree with sort field ( #1822 )
2023-05-09 12:10:53 +08:00
Junyi
7fcdc5d336
fix(plugin-workflow): select menu width ( #1820 )
2023-05-07 22:50:43 -07:00
ChengLei Shao
2c29daedb5
fix: filter with appends ( #1819 )
2023-05-08 11:18:42 +08:00
Rairn
c8c081eba5
fix(filter-form): avoid error
2023-05-08 07:25:54 +08:00
ChengLei Shao
7b550ce5aa
Fix/filter by array field ( #1813 )
...
* test: filter by association array field
* fix: match operator in pg
* chore: cast
2023-05-07 23:08:41 +08:00