ChengLei Shao
eaea8a7100
feat: limit database identifier ( #908 )
2022-10-14 15:02:41 +08:00
ChengLei Shao
76f5754e20
fix: sync collection field default value ( #907 )
2022-10-14 10:04:25 +08:00
ChengLei Shao
e6f4db1a73
fix: appends merge includes ( #905 )
2022-10-13 18:50:55 +08:00
ChengLei Shao
d777fede90
fix: single relation repository appends query issue ( #901 )
...
(cherry picked from commit 20c147701571a14a8ac975287e761801789a8978)
2022-10-13 12:39:04 +08:00
chenos
933c3f4463
fix(database): fix the index name too long error
...
(cherry picked from commit 7bfe6b8c46bef0183c4703683175561c7fc91aee)
2022-10-13 12:36:55 +08:00
ChengLei Shao
f490fd358a
fix: slow join query issued by appends field in find method of repository ( #845 )
...
* fix: slow join query issue by appends field in repository.find
* feat: handle appending query in multiple relation repository
* feat: handle appending query in single relation repository
Co-authored-by: chenos <chenlinxh@gmail.com>
(cherry picked from commit 9222ff4f0ca92bc554107fccc0cf2a9d6290e56d)
# Conflicts:
# packages/core/database/src/__tests__/relation-repository/hasone-repository.test.ts
# packages/core/database/src/repository.ts
2022-10-13 12:36:20 +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
Junyi
e82c1f0243
feat(database): add sequence field type ( #779 )
...
* feat(database): add serialString field type
* feat(database): add serial string type field ui (skip ci)
* test(feat/database): test field options
* docs: demo
* fix(database): fix array table field behavior
* fix(database): fix serial type interface ui
* fix(database): add match logic for patterns changes
* fix(database): fix serial type query last bug in mysql
* refactor(database): refactor last record logic
* chore: revert modification on unnecessary file
* refactor(database): rename serialString type to sequence
Co-authored-by: chenos <chenlinxh@gmail.com>
(cherry picked from commit 32c90b4eec0438696c52ee0562fbf0e4b5af4292)
2022-10-13 12:15:45 +08:00
chenos
c47f501756
fix: transaction cannot be rolled back because it has been finished with state: rollback
...
(cherry picked from commit 6dacec4158103fd165ec2865ea87ed9d3d4ceaa4)
2022-10-13 12:14:35 +08:00
chenos
07a1aad784
fix: types error
2022-10-06 17:21:20 +08:00
ChengLei Shao
d805fafbfc
docs: relation repository & acl ( #848 )
...
* docs: relation-repository
* docs: has many repository
* docs: acl
* docs: acl
* docs: acl
* docs: acl
* docs: acl/AllowManager
* docs: acl/ACLAvailableAction
* docs: acl
* docs: clean up
* feat: doc menus
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-06 10:29:53 +08:00
Junyi
796e73ae5a
refactor(doc): change to new structure ( #804 )
...
* refactor(doc): change to new structure
* docs: add database docs
* docs: add collection docs
* docs: add db field examples
* docs(api): fix filename and menu path
* docs: add database docs
* docs: add db operators doc
* docs: add resourcer menu
* docs: add resourcer docs
* docs: fix api docs
* docs: refactor api menu structure
* feat: update docs (#830 )
* feat: updates
* feat: update docs
* chore: ignore docs from ci
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
* docs: add database methods docs
* docs: add missed api
* docs: fix api docs
* feat: update development docs (#833 )
* feat: update development docs
* feat: update docs
* feat: update docs
* docs: add first plugin example (#834 )
* feat: update docs
* feat: update docs
* docs: fix typo
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-09-19 09:23:01 +08:00
Junyi
b92f3b3b95
refactor(database): fix some fields and types ( #820 )
...
* refactor(database): fix some fields and types
* fix(database): fix operator ne to null
2022-09-11 21:58:49 +08:00
chenos
fdfa79cf8f
fix: mysql column in where clause is ambiguous ( #756 )
...
* fix: mysql column in where clause is ambiguous
* feat: add test case
* fix: sqlite error
2022-08-20 23:24:02 +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
chenos
2a18967418
fix: db version check ( #749 )
...
resolve #742
2022-08-17 23:11:56 +08:00
chenos
28b73d7143
feat: add examples ( #718 )
...
* feat: add examples
* fix: tsconfig-paths/register
* feat: more examples
* fix: test errors
* feat: update examples
* docs: example list
* fix: updates
* feat: example for test case
* feat: api client
* fix: updates
* feat: tree structures
* fix: adjacency-list
2022-08-16 14:41:29 +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
458b7a52fb
fix(database): error getting db version number
2022-08-12 10:13:12 +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
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
827c324be3
feat: uid validate ( #681 )
2022-07-26 10:07:35 +08:00
chenos
83f2e19ef3
chore(versions): 😊 publish v0.7.3-alpha.1 ( #657 )
2022-07-20 15:28:13 +08:00
Junyi
b215f92ecc
fix(core): change proxied agent methods to native ( #654 )
2022-07-19 22:51:27 +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
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
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
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
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