Junyi
9111693804
fix(plugin-workflow): fix collection fieldset component ( #942 )
2022-10-24 09:02:42 +08:00
Junyi
c7300d1100
fix(plugin-workflow): avoid revision with ghost nodes ( #941 )
2022-10-24 09:02:37 +08:00
Junyi
cadaa8a2c2
fix(plugin-workflow): add req context to processor ( #936 )
2022-10-24 09:02:30 +08:00
Junyi
26c428a15b
feat: plugin workflow collection field ( #934 )
...
* feat(plugin-workflow): support association constant simple input
* fix(plugin-workflow): remove useless code
# Conflicts:
# packages/plugins/workflow/src/client/components/CollectionFieldset.tsx
2022-10-24 09:01:51 +08:00
Junyi
42dbaf3582
fix(plugin-workflow): fix schedule infinitely trigger when repeat not set ( #926 )
2022-10-24 09:00:01 +08:00
Junyi
5992952872
fix(plugin-workflow): temp disable validation of collection field in node ( #928 )
2022-10-24 09:00:01 +08:00
ChengLei Shao
4d6363b47a
Doc/db repository ( #896 )
...
* docs: update database repository docs
* docs: single relation repository docs
* docs: has many relation repository docs
* docs: belongs to many relation repository docs
* docs: acl
* docs: actions
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-16 19:16:14 +08:00
chenos
3e22a47be6
fix: unbind on error throwing ( #914 )
2022-10-15 10:47:01 +08:00
Junyi
4247c1b255
Doc: api database events ( #887 )
...
* docs: add full sequelize model event types
* feat: update docs
* fix: types
* fix: update docs
* docs: refactor db event apis
* docs: add all events to db api
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-14 17:22:32 +08:00
ChengLei Shao
76f5754e20
fix: sync collection field default value ( #907 )
2022-10-14 10:04:25 +08:00
chenos
3e6d1a3427
fix: version judgment is not accurate
2022-10-14 09:48:27 +08:00
Junyi
7ca8e562ce
feat(plugin-workflow): add concat calculator ( #894 )
...
(cherry picked from commit 7f3f1bc982379ec2d274ca79fb4d6c65664d3c2d)
2022-10-13 12:38:56 +08:00
chenos
f6add23da5
feat(collection-manager): inverse fields can be configured ( #883 )
...
* feat: inverse field
* feat: improve code
* feat: translations
* fix: required
(cherry picked from commit 306dca8e5ee1b74562d835a816b72f933465bfb6)
# Conflicts:
# packages/core/client/src/locale/zh_CN.ts
2022-10-13 12:37:29 +08:00
ChengLei Shao
3082a7d6f8
feat: update option must have filter or filterByTk ( #847 )
...
* feat: update option must have filter or filterByTk
* fix: typo
* fix: typo
(cherry picked from commit 83e6f93e1e3a188781530ec7492de1ed917a4dc1)
# Conflicts:
# packages/plugins/acl/src/server.ts
# packages/plugins/collection-manager/src/__tests__/field-options/indexes.test.ts
2022-10-13 12:19:05 +08:00
chenos
fd21447810
fix(collection-manger): incorrect scope key parameter
...
(cherry picked from commit 38421ae0966b4a38c6e7e4f149bf3a911cb4f415)
2022-10-13 12:15:30 +08:00
chenos
7f51610a6f
fix(plugin-system-settings): convert array to json
...
(cherry picked from commit 73262aff5037603c1db1889ad34bf799218481ae)
2022-10-13 12:14:56 +08:00
chenos
8bf23004a1
refactor: middleware ( #857 )
...
* refactor: middleware
* fix: test error
* fix: test error
* fix: test
* fix: tag
2022-09-29 21:05:31 +08:00
chenos
f9f8dc78f4
refactor: plugin manager ( #775 )
...
* feat: dynamic import plugin client
* refactor: pm
* chore: improve cli
* feat: improve code
* feat: update dependences
* feat: hello plugin
* fix: plugin.enabled
* fix: test error
* feat: improve code
* feat: pm command
* feat: add samples
* fix: redirect
* feat: transitions
* feat: bookmark
* feat: add pm script
2022-09-18 14:10:01 +08:00
chenos
12c3915a57
fix(plugin-export): filter non-existent fields
2022-09-15 09:27:28 +08:00
Junyi
1a9cd78eb8
refactor(resourcer): combine middleware class ( #825 )
...
* refactor(resourcer): combine middleware class
* refactor(resourcer): move new middleware to plugin instance
2022-09-13 23:27:19 +08:00
maumii
9d5de42798
feat(locale): added Japanese translation ( #813 )
...
Co-authored-by: mayumi <mayumi@wasp.co.jp>
2022-09-09 21:46:44 +08:00
Junyi
295081603e
fix(plugin-workflow): fix value type for DatePicker to moment ( #815 ) ( #819 )
...
fix #815
2022-09-09 10:08:46 +08:00
Junyi
ce75ecdb2b
refactor(plugin-workflow): export client calculators registry ( #816 )
2022-09-07 08:46:29 +08:00
Junyi
c50a1923f4
refactor(server) ( #795 )
...
* refactor(server): refactor code
* fix(server): fix satisfy check of semver
2022-09-02 11:44:22 +08:00
Junyi
21806b3418
fix(plugin-verification): change provider rate limit error to 429 ( #788 )
2022-08-30 16:03:27 +08:00
Junyi
d1b52c7d96
fix(plugin-cm): fix field disappear after failed to update ( #773 )
2022-08-24 11:51:14 +08:00
SemmyWong
13dd078079
fix: fix uiSchema undefined ( #770 )
2022-08-24 08:51:42 +08:00
Junyi
e6a2dff79a
fix(plugin-cm): fix unique option default value to update ( #768 )
2022-08-23 08:59:36 +08:00
Junyi
b6daa9ad69
fix(plugin-users): fix update profile 500 ( #766 ) ( #767 )
...
Fix #766
2022-08-22 20:37:15 +08:00
chenos
86650f16d9
fix: update package versions
2022-08-21 19:29:07 +08:00
Junyi
a1dc139cf4
feat(plugin-cm): add unique option for base fields ( #745 )
...
* feat(plugin-cm): add unique option for base fields
* refactor(plugin-cm): make sure unique constraint sync with field option
* fix(plugin-cm): fix sqlite unique field sync
* fix(plugin-cm): fix unique constraint sync logic
* refactor(plugin-cm): remove unique property for select components
* fix: previous
* fix: test error
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-20 23:23:13 +08:00
Junyi
7e6a394f73
feat(plugin-verification): add plugin-verification and phone for users ( #722 )
...
* feat(plugin-verification): add plugin-verification and phone for users
* feat(plugin-verification): add env example
* fix(plugin-verification): fix locales
* fix(plugin-verification): remove sending comment
* fix(plugin-verification): fix i18n
* refactor(plugin-verification): move invalid error message to action
* fix(plugin-verification): add field migration
* chore(plugin-verification): update packages version
* test(plugin-verification): temp remove new package dependency
* refactor(plugin-verification): make sms authentication configurable in system settings
* fix: smsAuthEnabled
* feat: update preset-nocobase
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-20 18:06:12 +08:00
chenos
259393f626
feat: resize grid columns with drag and drop ( #748 )
...
* feat: resize grid columns with drag and drop
* fix: column resizing only in designable
* fix: batch patch
* fix: does not scroll when dragging to a blank block
* fix: overflow-x auto
2022-08-20 18:04:14 +08:00
Junyi
58b4febdf8
refactor(plugin-workflow): change files mode to 644 ( #755 )
2022-08-19 10:00:20 +08:00
chenos
7fde444a60
chore(versions): 😊 publish v0.7.4-alpha.7 ( #740 )
2022-08-15 16:12:12 +08:00
chenos
a3810ac61a
chore(versions): 😊 publish v0.7.4-alpha.4 ( #727 )
2022-08-12 10:54:10 +08:00
chenos
38c3e3e4cc
fix: record provider required for read pretty
2022-08-11 23:48:13 +08:00
SemmyWong
538a28d0bd
fix: sync table sort to export ( #723 )
2022-08-11 22:22:24 +08:00
Junyi
0190c573c5
fix(plugin-workflow): fix extend collection ( #708 )
...
* fix(plugin-workflow): fix extend collection
* fix: extendCollection
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-04 21:56:13 +08:00
chenos
cec5733260
fix: DB_TABLE_PREFIX doesn't get applied ( #710 )
...
* fix: env DB_TABLE_PREFIX doesn't get applied
* fix: remove before define
* fix: test error
* fix: table prefix
* test: ci
* fix: test error
* test: ci
* test: ci
* fix: test error
* fix: test error
* chore: update node ci
2022-08-04 21:27:55 +08:00
金昶
f4f35bdb43
feat: default value ( #679 )
...
* feat: default value
* feat: add global default value
* fix: field default value should be updated
* feat: adjust defaultValue logic
* feat: add hasDefaultValue property
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-03 09:32:16 +08:00
chenos
bc12c92091
chore(versions): 😊 publish v0.7.4-alpha.1 ( #696 )
...
* docs: update release notes
* chore(versions): 😊 publish v0.7.4-alpha.1
* feat: update docker image version
2022-07-28 23:16:17 +08:00
chenos
82cf951166
fix: append roles to current user ( #695 )
2022-07-28 20:21:31 +08:00
chenos
7d4796e7e0
fix: append roles to user
2022-07-28 18:56:02 +08:00
chenos
b8cf8c92eb
fix: cannot find name 'toFixedByStep'
2022-07-28 17:44:20 +08:00
SemmyWong
165ab2b876
fix: fix date format ( #686 )
...
* fix: fix date format
* fix: fix date format
* fix: export date
* fix: get current timezone
* fix: datetime render
* fix: gmt
* fix: gmt date
* fix: utf offset
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-28 17:32:31 +08:00
Junyi
95e799880c
test(plugin-workflow): skip prompt tests ( #692 )
2022-07-28 10:12:28 +08:00
SemmyWong
92cd76ce48
fix: fix accuracy of percent ( #685 )
...
* fix: fix accuracy of percent
* fix: fix accuracy of percent
* fix: test unit modify
* fix: export number
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-28 09:26:50 +08:00
Junyi
1a4d88d089
fix(plugin-workflow): adjust await sleep time for test cases ( #691 )
2022-07-28 08:13:49 +08:00
Junyi
a73c37c927
feat(plugin-workflow): add assignees config for prompt instruction ( #690 )
2022-07-27 18:23:16 +08:00
Ayden
12f658391a
fix: role export button display ( #616 ) ( #666 )
...
* fix: role export button display (#616 )
* fix: auditLogs view permissions (#617 )
* fix: role export button display (#616 )
* fix: auditLogs view permissions (#617 )
2022-07-26 21:07:34 +08:00
chenos
827c324be3
feat: uid validate ( #681 )
2022-07-26 10:07:35 +08:00
chenos
8f64061e65
fix(plugin-error-handler): no error message
2022-07-25 23:24:18 +08:00
Junyi
49a4ab4818
refactor(plugin-users): improve extendibility of middlewares ( #677 )
...
* refactor(plugin-users): improve extendibility of middlewares
* fix(plugin-users): fix typo
* fix: test error
* fix: allowConfigure condition
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-25 19:33:23 +08:00
chenos
83f2e19ef3
chore(versions): 😊 publish v0.7.3-alpha.1 ( #657 )
2022-07-20 15:28:13 +08:00
chenos
c9483254fa
feat: customizable jwt expiration date
2022-07-20 14:15:59 +08:00
金昶
c9dfc2682c
feat: improve language settings ( #627 )
...
* feat: fix system local setting
* feat: improve language settings
* fix: improve code
* feat: update doc
* feat: add migration
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-14 20:57:26 +08:00
SemmyWong
c8bd2c7317
feat: field assignment for custom actions supports string variables ( #597 )
...
* fix: temporary solution to APP crash
* feat: support dynamic assigned field value
* feat: support dynamic assigned field value
* fix: useFields filter
* fix: dynamic assigned value
* fix: dynamic assigned value
* fix: fix china region export
* fix: fix china region export
* fix: change assign value data
* fix: custom request use parse instead of SchemaCompile
* fix: allow user attribute to be selected
* fix: allow DATE field to be select currentUser or CurrentRecord
* fix: allow DATE field to be select currentUser or CurrentRecord
* fix: change style
* feat: package dependencies
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-07-13 15:05:46 +08:00
chenos
451d6ae974
chore(versions): 😊 publish v0.7.2-alpha.7 ( #611 )
...
* fix(cli): db sync error
* fix(cli): upgrade error
* feat: update docker image version
2022-07-10 00:41:36 +08:00
chenos
307c4ca1dc
chore(versions): 😊 publish v0.7.2-alpha.3 ( #608 )
2022-07-08 11:02:33 +08:00
chenos
654f0380b6
chore(versions): 😊 publish v0.7.2-alpha.2 ( #606 )
2022-07-07 18:38:30 +08:00
chenos
a0c021202e
fix: field permissions cannot be saved ( #605 )
...
resolve #599
2022-07-07 17:46:19 +08:00
Junyi
15d7f17fb5
fix(plugin-workflow): fix revision bug ( #603 )
2022-07-07 16:28:16 +08:00
Junyi
39a3146f14
fix(plugin-workflow): fix select value ( #600 )
2022-07-07 11:20:50 +08:00
Junyi
f951ba1745
fix(plugin-workflow): fix CollectionFieldSelect component ( #598 )
2022-07-07 10:26:33 +08:00
Junyi
e4a0bb42f6
feat(plugin-workflow): add association select in calculation ( #584 )
2022-07-06 10:34:48 +08:00
chenos
1e7746292f
chore(versions): 😊 publish v0.7.2-alpha.1 ( #578 )
...
* chore(versions): 😊 publish v0.7.2-alpha.1
* feat: update docker image version
2022-07-05 09:55:22 +08:00
chenos
ae66dd5ded
fix: drop all foreign keys ( #576 )
2022-07-04 23:48:19 +08:00
Junyi
93fba8fcb5
fix(plugin-workflow): fix collection trigger config ( #575 )
2022-07-04 22:09:15 +08:00
chenos
592f6a423b
fix: improve filter item styling
2022-07-04 20:32:18 +08:00
chenos
e3b6c0513a
feat: filter with variable ( #574 )
2022-07-04 17:50:18 +08:00
chenos
70ab4dcf1f
fix(database): index invalid ( #564 )
...
* fix(database): index invalid
* fix: test error
2022-07-01 09:33:05 +08:00
SemmyWong
41cb3da448
fix: export association table data ( #561 )
...
* fix: export association table data
* fix: fix export
* feat: add test case
* feat: add test case
2022-07-01 09:13:16 +08:00
chenos
e5793cbbcb
fix(client): maximum call stack size exceeded ( #554 )
2022-06-30 09:22:16 +08:00
Junyi
4a3cb6e65f
Refactor(plugin workflow): move client files into plugin ( #556 )
...
* refactor(plugin-workflow): move client files into plugin
* fix(client): fix package path block build
* test(plugin-workflow): trigger ci
2022-06-29 23:42:03 +08:00
Junyi
8f0ea6c3c0
fix(plugin-workflow): fix select width ( #552 )
...
* fix(plugin-workflow): fix select width
* test(plugin-workflow): skip schedule cases
2022-06-29 14:30:33 +08:00
金昶
32e744319e
feat: display association fields ( #512 )
...
* feat: association field features
* fix: remove comments
* fix: association field in creation form will trigger error
* fix: column decorator title
* fix: column designer title
* fix: association field in table
* feat: adjust documents
* fix: remove m2o subfield mode
* fix: adjust title field display condition
* fix: relation field title bug
* fix: o2m multiple is true
* feat: association fields are loaded on demand
* fix: support sub field
* feat: remove FormField require config
* fix: two lines in Columns config menu of table block
* fix: could not find schema node
* fix: add form context to internal table block
* fix(client): non-empty judgment
* feat: translations
* fix: add / edit field title compile
* fix: unique
* fix: association feature bugs
* feat: add oho & o2m selector filter
* fix: add field added logic in FormField and TableField
* fix: remove updateAssociationValues middleware
* feat: recordprovider in association fields
* feat: add kanban association appends
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-29 12:57:43 +08:00
Junyi
95d0b524d0
Fix(plugin workflow) ( #549 )
...
* fix(plugin-workflow): clear options when change collection
* fix(plugin-workflow): fix schedule trigger
2022-06-29 00:00:27 +08:00
chenos
839d588892
fix: export of relation blocks ( #546 )
2022-06-28 19:51:14 +08:00
Junyi
4a8c9c8d87
feat(plugin-workflow): add race mode ( #542 )
...
* feat(plugin-workflow): add race mode
* fix(plugin-workflow): fix test cases
* fix(plugin-workflow): fix node create action
2022-06-28 17:00:19 +08:00
chenos
a8f951dfab
chore(versions): 😊 publish v0.7.1-alpha.7 ( #539 )
...
* fix(cli): upgrade from docker
* chore(versions): 😊 publish v0.7.1-alpha.6
* fix: export bug
* chore(versions): 😊 publish v0.7.1-alpha.7
* docs: update release notes
2022-06-26 11:25:13 +08:00
chenos
c9159c6cf4
chore(versions): 😊 publish v0.7.1-alpha.5
2022-06-26 07:36:22 +08:00
chenos
570d039f19
chore(versions): 😊 publish v0.7.1-alpha.4
2022-06-26 07:21:10 +08:00
chenos
cd5bd09c50
chore(create-nocobase-app): fix some bugs ( #538 )
...
* fix: tsconfig
* chore(versions): 😊 publish v0.7.1-alpha.1
* fix: update gitHead
* fix: update gitHead
* chore(versions): 😊 publish v0.7.1-alpha.2
* fix: update client/server entry file
* chore(versions): 😊 publish v0.7.1-alpha.3
* fix: check core dir
* fix: missing core dir
* feat: relationship fields are loaded on demand
2022-06-26 07:19:03 +08:00
chenos
9dae723ca7
fix: destroy collection fields ( #536 )
2022-06-25 10:36:56 +08:00
Junyi
ef939b4277
feat(plugin-workflow): add delay node type ( #532 )
...
* feat(plugin-workflow): add delay node type
* fix(plugin-workflow): fix test and add cases
* fix(plugin-workflow): fix processor.saveJob()
2022-06-24 23:28:49 +08:00
chenos
3dce31f6a1
refactor: client application ( #533 )
...
* refactor: client application
* feat: application
* fix: improve code
* fix: app plugin
* fix: app plugin
* fix: china region plugin
2022-06-24 21:19:57 +08:00
Junyi
f2710f2cdb
fix(plugin-workflow): set current when update ( #526 )
2022-06-22 23:17:30 +08:00
Junyi
2b3f3bd5c3
fix(plugin-workflow): fix update workflow current property ( #521 )
2022-06-21 21:43:30 +08:00
Junyi
ecf82208eb
refactor(plugin-workflow): abstract to classes ( #515 )
...
* refactor(plugin-workflow): abstract to classes
* fix(plugin-workflow): add indexes and fix cases
* test(plugin-workflow): skip schedule cases
2022-06-20 23:29:21 +08:00
chenos
906ff8f150
fix(audit-logs): operator does not exist: character varying = integer
2022-06-19 16:44:59 +08:00
SemmyWong
95c750db15
fix(custom-request): support string/json templates ( #514 )
...
* fix: request api support dynamic custom
* fix: scope undefined will not work
* fix: use formily compile
* fix: user may be null
* fix: export add context
2022-06-19 14:06:31 +08:00
chenos
72e3f15306
fix: remove collections & fields from db ( #511 )
...
* fix: remove collections & fields from db
* fix: cannot read property 'removeFromDb' of undefined
* test: add test cases
* test: add test cases
* fix: exclude non-deletable fields
2022-06-18 00:18:12 +08:00
chenos
34e17004c5
feat: improve migrations ( #510 )
...
* feat: improve upgrade
* feat: addMigrations
* fix: get version
* feat: retry
* feat: migration context
* feat: get the version number from the server
2022-06-17 10:25:59 +08:00
SemmyWong
2defd4c0d2
fix: default exportable fields ( #506 )
2022-06-15 08:34:16 +08:00
chenos
308fe7a123
fix(audit-logs): sort by createdAt
2022-06-15 08:30:55 +08:00
chenos
5e116af4a9
fix(plugin-export): allow to configure in acl
2022-06-14 22:04:33 +08:00
金昶
b91ca4420b
feat: association field block ( #493 )
...
* feat: association field block
* feat: association details block
* feat: template add resource name
* feat: add association calendar
* fix: update yarn.lock
* fix: remove useAssociationNames
* fix: restore useFilterByTk logic
* feat: client doc
* fix: resolveNocobasePackagesAlias
* fix: input textarea readpretty
* feat: styling
* fix: oho & obo
* fix: field-summary component remove to collection manager
* fix: translation
* feat: improve code
* fix(audit-logs): skip when collection does not exist
* feat: m2m
* fix: improve code
* fix: title field
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:46:48 +08:00
SemmyWong
d831a9b889
feat: plugin export ( #479 )
...
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* ci: change plugin-export version
* refactor: renders add ctx params
* fix: fix select and multipleSelect export
* fix: array convert string
* refactor: move SchemaInitializerPluginProvider
* fix: build error
* fix: change umijs config
* fix: update SchemaInitializerPluginProvider
* fix: import server
* fix: fix some bug
* fix: fix some bug
* refactor: export plugin refactor
* refactor: create all export fields by default
* fix: fix export plugin bug
* fix(plugin-collection-manager): uiSchema toJSON
* fix: update yarn.lock
* fix: fix init fields bug
* refactor: enum params pass by client
* fix: fix export table header title
* refactor: refactor dataIndex
* fix: fix dataIndex maybe complex object
* fix: add checkboxGroup in export plugin
* fix: add checkbox and i18n
* feat: improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:01:53 +08:00
chenos
a92a78cc9e
fix: rollback when field creation fails ( #498 )
...
* fix: rollback when field creation fails
* fix: missing transaction
2022-06-11 20:46:30 +08:00