Commit Graph

269 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
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
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
金昶
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
金昶
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
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
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
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
Junyi
16f861ad7d
fix(type): use sequelize native Transactionable instead of TransactionAble (#410) 2022-05-22 08:48:19 +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
chenos
747851f2b1 feat(cli): --db-sync options 2022-05-20 15:49:17 +08:00
chenos
8a26b8dd77 fix(client): pagination dropdown menu is blocked #398 2022-05-20 13:35:56 +08:00
chenos
14ad04a8b2 feat: display version number #386 2022-05-20 13:00:06 +08:00
chenos
e596e6d365 fix: missing isTruly/isFalsy filter operators #390 2022-05-20 12:18:46 +08:00
chenos
c95889aec2 fix(client): [#398] [#399] reset page number to first page 2022-05-20 12:16:46 +08:00
chenos
33f076e430 chore(versions): 😊 publish v0.7.0-alpha.57 2022-05-19 12:02:20 +08:00
chenos
fd2c39c50e feat(create-nocobase-app): add --all-db-dialect option 2022-05-19 11:49:41 +08:00
chenos
6410bc8a75
feat: build, cli, devtools, sdk, docs...
* feat: nocobase build

* chore: update build scripts

* chore: update build scripts

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

* chore: independent version

* chore: nocobase build

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

* feat: nocobase-cli

* feat: nocobase-cli

* chore: update dependencies

* feat: improve code

* refactor: create-nocobase-app

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

* feat: @nocobase/devtools

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

* chore: update dependencies

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

* feat: improve code

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

* feat: improve code

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

* feat: update deps

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

* chore: update devDependencies

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

* fix: postinstall

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

* chore: improve code

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

* chore: execa

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

* chore(cli): allow unknown option

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

* fix: default envs

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

* fix: package argument for build command

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

* fix: improve code

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

* feat: clean & doc

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

* feat: compilation tips

* feat: upgrade command

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

* fix: unexpected token ] in JSON

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

* fix: upgrade command

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

* fix: remove export action from available action

* fix: db sync after upgrade

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

* feat: upgrade log

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

* docs: updates

* feat: updates

* docs(cli): update usage description

* feat: updates

* docs: updates

* docs: updates

* docs: toc

* feat: sdk

* docs: updates

* docs: updates

* docs: updates

* Update index.md

* docs: updates

* Update release-notes.md

* Update roadmap.md

* Update index.md

* Update contributing.md

* Update contributing.md

* Update index.md

* Update index.md

* Update nocobase-cli.md

* Update nocobase-cli.md

* fix: user plugin initialization data

* Update env.md

* Update env.md

* Update directory-structure.md

* Update index.md

* Update action-api.md

* Update filter-operators.md

* docs: update thanks.md

* Update index.md

* Update javascript-sdk.md

* Update rest-api.md

* Update installation.md

* Update installation.md

* Update upgrading.md

* Update upgrading.md

* Update upgrading.md

* Update installation.md

* Update installation.md

* Create release-notes.md

* Update release-notes.md

* feat: updates

* feat: update docs

* feat: update release-notes.md

* feat: switch language

* feat: updates

* Add files via upload

* Add files via upload

* Update important-features.md

* Update thanks.md

* feat: nocobase postinstall

* Update index.md

* Create why-different.md

* Update why-different.md

* Create who-is-for.md

* Rename who-is-for.md to who.md

* feat: update docs

* Rename why-different.md to why.md

* Update why.md

* Update menus.ts

* Update why-nocobase.md

* Create who.md

* Create why.md

* feat: updates

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

* feat: tips

* Update who.md

* Update who.md

* feat: update docs

* feat: update doc menus

* fix: plugin client dist

* docs: update contributing.md

* docs: update readme.md

* docs: update readme.md

* docs: update readme.md

* Update functional-zoning.md

* fix: br

Co-authored-by: Zhou <zhou.working@gmail.com>
2022-05-19 00:40:55 +08:00
Junyi
4476b86b4e
fix(plugin-workflow): fix node type title in drawers (#389) 2022-05-14 12:07:10 +08:00
chenos
48b2b4bc7b chore(versions): 😊 publish v0.7.0-alpha.34 2022-05-14 09:00:51 +08:00
chenos
b5c24aa799 feat: add plugins:getPinned action api 2022-05-14 08:56:30 +08:00
Junyi
2df0e46318
Fix(plugin workflow): fix cannot get job result properties (#382)
* fix(plugin-workflow): card drawer title

* fix(plugin-workflow): fix job result to use raw object than proxied model (#380)
2022-05-13 13:26:49 +08:00
ChengLei Shao
9e3995ab4a
feat: exist on server start throw error (#374) 2022-05-13 11:20:30 +08:00