Commit Graph

40 Commits

Author SHA1 Message Date
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
chenos
827c324be3
feat: uid validate (#681) 2022-07-26 10:07:35 +08:00
Junyi
b215f92ecc
fix(core): change proxied agent methods to native (#654) 2022-07-19 22:51:27 +08:00
chenos
ec7bc2bc8b
feat(cli): check database version before installation (#572)
* feat(cli): check database version before installation

* fix: log

* fix: fix bugs

* fix: postgres

* fix: run beforeInstall
2022-07-04 13:41:07 +08:00
chenos
70ab4dcf1f
fix(database): index invalid (#564)
* fix(database): index invalid

* fix: test error
2022-07-01 09:33:05 +08:00
chenos
d3b157075e
fix(database): constraints default to false (#550)
* fix(database): constraints default to false

* test(plugin-workflow): skip schedule cases

Co-authored-by: mytharcher <mytharcher@gmail.com>
2022-06-29 23:20:00 +08:00
chenos
839d588892
fix: export of relation blocks (#546) 2022-06-28 19:51:14 +08:00
chenos
9dae723ca7
fix: destroy collection fields (#536) 2022-06-25 10:36:56 +08:00
chenos
245bd01bd6
fix: missing transaction (#531) 2022-06-23 23:37:55 +08:00
chenos
22c6591162
fix: order nulls last (#519)
* fix: order nulls last

* fix: test error

* fix: test error
2022-06-22 14:25:10 +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
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
金昶
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
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
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
金昶
fe02557003
fix: has one bug (#478) 2022-06-06 22:59:35 +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
金昶
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
75c990adce
fix: afterSync hook not triggered (#450) 2022-06-01 21:37:48 +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
8f70535217
feat: db migrator (#432)
* feat: db migrator

* feat: modify the test description
2022-05-30 23:10:32 +08:00
chenos
55e6460b0e fix(database): cannot read properties of null (reading 'substring') 2022-05-25 11:49:09 +08:00
Junyi
16f861ad7d
fix(type): use sequelize native Transactionable instead of TransactionAble (#410) 2022-05-22 08:48:19 +08:00
chenos
e596e6d365 fix: missing isTruly/isFalsy filter operators #390 2022-05-20 12:18:46 +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
ChengLei Shao
0467093dfd
fix: not in operator with null value record (#377) 2022-05-13 11:16:57 +08:00
Junyi
45d03d3ca5
fix(database): fix option-parser include list index (#371) 2022-05-11 00:25:43 +08:00
Junyi
a01b385d65
fix(database): fix type and transaction in repository (#366)
* fix(database): fix type and transaction in repository

* fix: transaction

* fix: transaction

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-05-08 12:47:08 +08:00
chenos
8ee25e1109
fix: db:sync not working (#348) 2022-04-30 17:28:30 +08:00
ChengLei Shao
b4b97b9f30
fix: model.beforeCreate not called (#343)
* fix: model.beforeCreate not called

* chore: condition
2022-04-29 21:42:54 +08:00
chenos
bca63298dc
feat: db authenticate (#342) 2022-04-29 20:04:02 +08:00
chenos
2c0d3fcc5a feat: uuid field 2022-04-29 12:00:24 +08:00
chenos
2b3cd45ca1 fix(database): cannot find module lodash 2022-04-26 00:20:09 +08:00
chenos
2fd27ea9f3
feat: file storages (#314)
* feat: file storages

* feat: storageOptions

* feat: radio field

* fix: documentRoot
2022-04-24 10:12:12 +08:00
chenos
f426c8a3ba
feat: add $isCurrentUser filter operator (#299)
* feat: add $isCurrentUser filter operator

* fix: supports three levels
2022-04-19 17:04:54 +08:00
ChengLei Shao
a37609e71b
fix: through table primaryKey error (#297)
* fix: through table primaryKey error

* chore: sort fields

* chore: test release

* chore: github action sqlite env
2022-04-19 16:35:44 +08:00
chenos
da9e08a59f
feat: junction collection for linkTo field (#296) 2022-04-18 18:57:21 +08:00
ChengLei Shao
24ea83f0ff
Feat/create nocobase app (#273)
* create-nocobase-app template from [develop]

* change create-nocobase-app package.json config

* feat: load configuration from directory

* feat: configuration repository toObject

* feat: create application from configuration dir

* feat: application factory with plugins options

* export type

* feat: read application config &  application with plugins options

* feat: release command

* fix: database release

* chore: workflow package.json

* feat: nocobase cli package

* feat: console command

* chore: load application in command

* fix: load packages from process.cwd

* feat: cli load env file

* feat: create-nocobase-app

* fix: gitignore create-nocobase-app lib

* fix: sqlite path

* feat: create plugin

* chore: plugin files template

* chore: move cli into application

* chore: create-nocobase-app

* fix: create plugin

* chore: app-client && app-server

* chore: package.json

* feat: create-nocobase-app download template from npm

* chore: create-nocobase-app template

* fix: config of plugin-users

* fix: yarn.lock

* fix: database build error

* fix: yarn.lock

* fix: resourcer config

* chore: cross-env

* chore: app-client dependents

* fix: env

* chore: v0.6.0-alpha.1

* chore: verdaccio

* chore(versions): 😊 publish v0.6.0

* chore(versions): 😊 publish v0.6.1-alpha.0

* chore(versions): 😊 publish v0.6.2-alpha.0

* chore(versions): 😊 publish v0.6.2-alpha.1

* chore: 0.6.2-alpha.2

* feat: workspaces

* chore(versions): 😊 publish v0.6.2-alpha.3

* chore(versions): 😊 publish v0.6.2-alpha.4

* chore: create-nocobase-app

* chore: create-nocobase-app lib

* fix: update tsconfig.jest.json

* chore: .env

* chore(versions): 😊 publish v0.6.2-alpha.5

* chore(versions): 😊 publish v0.6.2-alpha.6

* feat: improve code

* chore(versions): 😊 publish v0.6.2-alpha.7

* fix: cleanup

* chore(versions): 😊 publish v0.6.2-alpha.8

* chore: tsconfig for app server package

* fix: move files

* fix: move files

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-17 10:00:42 +08:00