Commit Graph

1465 Commits

Author SHA1 Message Date
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
chenos
1d2b46ea1b docs: update doc 2022-06-17 08:49:08 +08:00
chenos
1c03fbb853 fix(client): improve datepicker component, date with time zone, gmt support 2022-06-16 22:50:09 +08:00
chenos
7a9bab9bab fix: datepicker with timezone 2022-06-16 16:38:12 +08:00
Junyi
bf11cff804
fix(client): consolidate usage of date/time as UTC in transfering (#509) 2022-06-16 16:33:40 +08:00
金昶
e0ed2aeb7c fix: formula bug 2022-06-15 21:28:51 +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
chenos
f97b72dc55 fix: sign in/sign up with enter key 2022-06-14 19:09:19 +08:00
chenos
e4352a3769 fix(client): percent precision 2022-06-14 15:56:31 +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
e69257e346 feat: client doc 2022-06-14 10:56:29 +08:00
Junyi
b033c7214a
fix(client): package path (fix #503) (#504) 2022-06-13 15:00:06 +08:00
金昶
05d315115f
fix: create or delete collection error (#501) 2022-06-11 23:47:40 +08:00
金昶
3496126102
feat: update collections & fields (#500)
* feat: update collections & fields

* fix: restore phone

* fix: add phone type

* fix: just hide subTable in menu
2022-06-11 22:25:03 +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
Junyi
e4b13289d7
fix(client): set dropdownMatchSelectWidth to false globally (#497) 2022-06-10 23:27:35 +08:00
Junyi
9d5e2462d9
fix(client): no-key warning in user menu items (#496) 2022-06-10 22:19:52 +08:00
Junyi
082e27ff10
Feat(plugin workflow): cron field for schedule trigger configuration (#495)
* feat(plugin-workflow): add cron field component

* refactor(plugin-workflow): break schedule trigger into component files and add locale
2022-06-10 19:23:26 +08:00
chenos
3fa13d8465
feat: audit logs (#494)
* feat: audit logs

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* fix: field load
2022-06-10 17:46:46 +08:00
chenos
d2837740bf fix(client): language settings 2022-06-10 08:38:24 +08:00
chenos
b466b8f6fb feat(client): improve locale 2022-06-10 00:33:59 +08:00
Junyi
7839e78164
refactor(plugin-workflow): add revision column to execution (#491) 2022-06-09 16:40:10 +08:00
chenos
e57e60e6cb feat(client): update locales 2022-06-09 14:43:53 +08:00
金昶
a98213e2cd
feat: relation field uiSchema (#487)
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-09 12:36:22 +08:00
金昶
1b45f5366c
feat: change FK to input component (#488)
* feat: change FK to input component

* feat: change FK to input component

* fix: compile label

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-09 12:25:09 +08:00
chenos
8583af232d fix: data loaded 2022-06-09 11:12:07 +08:00
chenos
1921b2be31 feat: chart demo 2022-06-09 11:09:03 +08:00
Junyi
892a772988
fix(plugin-multi-app-manager): fix pg cannot create database block tests (#486) 2022-06-08 13:20:01 +08:00
Junyi
78071b4cd8
refactor(database): hook proxy (#402)
* refactor(database): make db hooks clearly managed by proxy and support named events

* refactor(database): roll back most event logic

* refactor(database): rollback module name

* fix(database): fix test file path

* test: exec order

* fix(database): rollback buildSequelizeHook method

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-08 11:22:08 +08:00
chenos
d96ffde44c
feat: chart blocks (#484)
* feat: g2plot charts

* feat: improve code

* fix: update yarn.lock
2022-06-07 21:34:17 +08:00
Junyi
74b9639f6f
Refactor(plugin workflow): support number in repeat config for schedule (#482)
* refactor(plugin-workflow): change option cron to repeat and allow number type

* refactor(plugin-workflow): support number in repeat config for schedule
2022-06-07 12:10:39 +08:00
Junyi
588ee21f4d
chore(debug): add debug config (#475) 2022-06-06 23:01:37 +08:00
金昶
fe02557003
fix: has one bug (#478) 2022-06-06 22:59:35 +08:00
chenos
000e4e50b8
feat: relationships (#473)
* feat: relationship fields

* feat: improve schema
2022-06-05 22:46:14 +08:00
Junyi
4e19571c08
fix(plugin-workflow): fix collection trigger transaction (#474) 2022-06-05 21:58:06 +08:00
Junyi
c129abfeb6
fix(plugin-workflow): temporary solution for collection trigger conditions (#472) 2022-06-05 20:03:19 +08:00
金昶
7760cd0891
fix: markdown component (#469) 2022-06-05 09:01:27 +08:00
金昶
d6d14459ed
fix: formula field and percent field (#467)
* fix: formula field & percent field

* fix: percent field

* fix: percent field
2022-06-04 21:38:08 +08:00
Junyi
bfc686c182
fix(plugin-workflow): fix update workflow action (#464) 2022-06-04 15:44:39 +08:00
chenos
d72480ac58 fix(acl): skip when field does not exist 2022-06-03 22:20:34 +08:00
金昶
b9ba44f36e
fix: update formula field and percent field (#461)
* feat: update formula field and percent field

* fix: remove console

* fix: percent component & formula-field
2022-06-03 22:14:34 +08:00
chenos
dd6f0a6d84 fix(cli): skip when role does not exist 2022-06-03 21:36:40 +08:00
chenos
7c21c5cf1a fix(client): export useSignin and useSignup 2022-06-02 21:54:18 +08:00
chenos
8298d2a691 fix(cli): yarn install --production error 2022-06-02 14:44:10 +08:00
chenos
5156cda89f fix(client): build error 2022-06-02 14:43:42 +08:00
金昶
efc4301be6
feat: add formula field type (#457)
* feat: add formula field type

* feat: issue for useCollectionField

* feat: add formula field type

* feat: add formula field type
2022-06-02 14:33:37 +08:00
chenos
b8fac535f2
fix: the details of the associated data in the subtable are not displayed (#454) 2022-06-02 10:06:49 +08:00
Junyi
a494376f31
fix(plugin-workflow): fix languages (#451)
* fix(plugin-workflow): fix languages

* test(plugin-workflow): temporarily skip schedule tests
2022-06-02 00:18:55 +08:00
chenos
75c990adce
fix: afterSync hook not triggered (#450) 2022-06-01 21:37:48 +08:00
chenos
838f4f18dc chore(versions): 😊 publish v0.7.0-alpha.83 2022-06-01 12:49:30 +08:00
chenos
1a5d1f1ebf fix: default value of time zone 2022-06-01 12:25:21 +08:00
chenos
0270553601 fix(database): add timezone support 2022-06-01 11:41:46 +08:00
chenos
94a4d391c7 fix(client): datetime with timezone 2022-05-31 22:49:05 +08:00
chenos
a9e1094f8b feat(plugin-file-manager): record the creator of the attachment 2022-05-31 20:17:55 +08:00
SemmyWong
9f6e6f22a6
feat: custom request (#439)
* feat: custom api request

* fix: fix review problem

* fix: add after request successful tip

* fix: add after request successful tip

* fix: add filterByTk

* fix: add validate

* fix: update locale

* fix: update locale

* fix: update locale

* fix: update locale

* fix: update locale
2022-05-31 18:56:51 +08:00
Junyi
373c2b9a2d
Feat(plugin workflow): schedule trigger (#438)
* feat(plugin-workflow): add schedule type trigger

* feat(plugin-workflow): add collection mode for schedule trigger

* feat(plugin-workflow): add ui for schedule trigger configuration

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix trigger for sqlite
2022-05-31 00:00:07 +08:00
chenos
8f70535217
feat: db migrator (#432)
* feat: db migrator

* feat: modify the test description
2022-05-30 23:10:32 +08:00
金昶
e51feafe53
fix(client): select component cannot be opened in sub-table block (#431) 2022-05-29 11:52:25 +08:00
chenos
9a64384bc1 fix: error message "error:0308010C:digital envelope routines::unsupported" 2022-05-29 11:44:28 +08:00
Junyi
e286e1bf59
fix(cli): typo (#429) 2022-05-27 21:09:55 +08:00
chenos
4820fd0937 chore(versions): 😊 publish v0.7.0-alpha.82 2022-05-27 00:02:32 +08:00
chenos
4412efc145
feat(client,sdk): improve api client (#425)
* feat(client,sdk): improve api client

* feat: add test cases

* docs: update doc

* fix(sdk): cannot destructure property 'authClass' of 'instance' as it is undefined
2022-05-27 00:00:59 +08:00
chenos
735581d20d
feat: add create-plugin command (#423)
* feat: add create-plugin command

* chore(versions): 😊 publish v0.7.0-alpha.79

* chore(versions): 😊 publish v0.7.0-alpha.80

* chore(versions): 😊 publish v0.7.0-alpha.81
2022-05-25 23:21:19 +08:00
chenos
c071217fff fix: "typescript": "4.5.5" 2022-05-25 22:23:51 +08:00
SemmyWong
39c254a7db
feat: add button color (#420) 2022-05-25 15:46:17 +08:00
chenos
0b8f3f8bd6 fix(client): filter menu item schema by permissions 2022-05-25 12:09:41 +08:00
chenos
55e6460b0e fix(database): cannot read properties of null (reading 'substring') 2022-05-25 11:49:09 +08:00
chenos
aae11b6e1f fix(client): add description 2022-05-25 10:58:20 +08:00
chenos
c7d7a26938 fix(client): clone schema before insert 2022-05-25 10:31:17 +08:00
chenos
cfd2b50a91 feat(client): add a description to the junction collection field 2022-05-25 10:29:33 +08:00
chenos
45e756c558 fix(devtools): unexpected token '.' 2022-05-24 22:57:32 +08:00
chenos
b1313763e3 chore: unexpected token '.' 2022-05-24 22:55:09 +08:00
chenos
cd39e927b6
chore(versions): 😊 publish v0.7.0-alpha.78 (#419)
* chore(versions): 😊 publish v0.7.0-alpha.68

* chore(versions): 😊 publish v0.7.0-alpha.69

* chore(versions): 😊 publish v0.7.0-alpha.70

* chore(versions): 😊 publish v0.7.0-alpha.71

* chore(versions): 😊 publish v0.7.0-alpha.72

* chore(versions): 😊 publish v0.7.0-alpha.78
2022-05-24 19:37:15 +08:00
chenos
326297936b chore(versions): 😊 publish v0.7.0-alpha.67 2022-05-24 15:53:45 +08:00
chenos
9c19e4d67f chore(versions): 😊 publish v0.7.0-alpha.66 2022-05-24 15:52:21 +08:00
chenos
35d01a5fb0 chore(versions): 😊 publish v0.7.0-alpha.64 2022-05-24 15:26:13 +08:00
chenos
c01c6952a5 chore(versions): 😊 publish v0.7.0-alpha.63 2022-05-24 15:10:31 +08:00
chenos
bb4f8d9283 feat(docs): image styling 2022-05-24 15:09:09 +08:00
chenos
d1afb15a7a fix(client): add RemoteDocumentTitleProvider 2022-05-24 15:07:48 +08:00
chenos
17b6daf41e fix(client): incomplete calendar events 2022-05-24 14:34:32 +08:00
chenos
72c3ba4fae fix(plugin-users): add translations (#416) 2022-05-24 14:14:19 +08:00
chenos
c851033406
feat: update docs (#413)
* feat: add alert message

* chore(versions): 😊 publish v0.7.0-alpha.61

* fix(create-nocobase-app): add storage folder

* fix(docs): storage path error

* chore(versions): 😊 publish v0.7.0-alpha.62

* docs: update upgrading

* docs: update release notes
2022-05-23 18:48:15 +08:00
chenos
f0d0afbb19 chore(versions): 😊 publish v0.7.0-alpha.60 2022-05-23 15:02:29 +08:00
chenos
a0245caeb8 fix(create-nocobase-app): storage path 2022-05-23 15:01:56 +08:00
chenos
c90e5aee4c chore(versions): 😊 publish v0.7.0-alpha.59 2022-05-23 09:34:53 +08:00
chenos
2c98dab24c fix(client): improve translation 2022-05-22 22:46:30 +08:00
chenos
e031e2e6c1 fix(cli): nocobase test command --db-clean option is invalid 2022-05-22 21:38:15 +08:00
Junyi
80a685f8bf
refactor(plugin-workflow): change column type of executed from boolean to integer (#411) 2022-05-22 19:47:15 +08:00
chenos
19ee42257e chore(versions): 😊 publish v0.7.0-alpha.58 2022-05-22 15:04:15 +08:00
ChengLei Shao
5df11c58c7
fix: 204 no content response (#378)
* fix: 204 no content response

* Update data-wrapping.ts

* Update plugin.ts

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-05-22 14:48:50 +08:00
ChengLei Shao
c6839b30c1
feat: destroy association field after target collection destroy (#376) 2022-05-22 08:50:58 +08:00
Junyi
16f861ad7d
fix(type): use sequelize native Transactionable instead of TransactionAble (#410) 2022-05-22 08:48:19 +08:00
Junyi
dc05399beb
fix(plugin-workflow): remove previous listeners when collection changed in config (#409) 2022-05-21 21:52:30 +08:00
chenos
b44753d528 fix(plugin-acl): missing pagination parameters #394 2022-05-21 15:36:46 +08:00
SemmyWong
4cc162d1c1
feat: add custom action (#396)
* feat: add custom operation

* feat: add custom operation

* fix: fix cancel button hide popup

* refactor: save part schema of ActionModal

* fix: can not refresh ui

* fix: save part schema

* fix: revert code

* fix: fix pop up

* fix: fix pop up

* feat: add form custom

* fix: acl allow plugins:getPinned

* fix: add pop up

* feat: fix show callback

* fix: update data

* refactor: reviert code

* fix: update text

* feat: finish table custom operation

* feat: add form custom operation

* fix: refresh update date

* refactor: remove default button design item

* fix: refresh form values

* fix: remove default edit action design item

* fix: fix save form values logic error

* refactor: refactor code

* fix: format schema

* fix: table and form update will change all data

* fix: insert schema non refresh

* fix: fix remote load schema

* fix: fix non request while uid unchange

* fix: locale change

* fix: change x-action to customizePopup

* fix: support custom action modal tip content

* refactor: refactor custom operation

* fix: remove form.setValues

* fix: remove stopPropagation

* feat: improve translation

* feat: popup

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-05-21 15:08:11 +08:00
Junyi
53482c5b22
refactor(plugin-workflow): multiple instances and event management (fix #384) (#408)
* refactor(plugin-workflow): multiple instances and event management (fix #384)

* fix(plugin-workflow): fix test case
2022-05-20 16:13:12 +08:00
chenos
747851f2b1 feat(cli): --db-sync options 2022-05-20 15:49:17 +08:00