Commit Graph

112 Commits

Author SHA1 Message Date
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
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
Junyi
892a772988
fix(plugin-multi-app-manager): fix pg cannot create database block tests (#486) 2022-06-08 13:20:01 +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
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
chenos
d72480ac58 fix(acl): skip when field does not exist 2022-06-03 22:20:34 +08:00
chenos
dd6f0a6d84 fix(cli): skip when role does not exist 2022-06-03 21:36:40 +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
838f4f18dc chore(versions): 😊 publish v0.7.0-alpha.83 2022-06-01 12:49:30 +08:00
chenos
a9e1094f8b feat(plugin-file-manager): record the creator of the attachment 2022-05-31 20:17:55 +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
4820fd0937 chore(versions): 😊 publish v0.7.0-alpha.82 2022-05-27 00:02:32 +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
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
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
c90e5aee4c chore(versions): 😊 publish v0.7.0-alpha.59 2022-05-23 09:34:53 +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
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
33f076e430 chore(versions): 😊 publish v0.7.0-alpha.57 2022-05-19 12:02:20 +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
chenos
0a766b51e0 fix: acl allow plugins:getPinned 2022-05-18 08:42:03 +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
chenos
c4b5f4f84b chore(versions): 😊 publish v0.7.0-alpha.33 2022-05-13 10:04:38 +08:00
Junyi
c018e5b913
Feat(plugin workflow): revisions (#379)
* feat(plugin-workflow): avoid nodes to be added/removed/modified in executed workflow

* feat(plugin-workflow): add current field to workflow stand for current version

* feat(plugin-workflow): add duplicate action to workflow for revisions

* fix(plugin-workflow): fix relation field of workflow
2022-05-12 12:19:25 +08:00
Junyi
16498dcbde
Fix(plugin workflow): fix transaction of execution (#364)
* fix(plugin-workflow): fix values dropdown height

* fix(plugin-workflow): fix duplicated property name
2022-05-06 13:55:36 +08:00