376 Commits

Author SHA1 Message Date
mytharcher
6c32c76c07 fix(server): fix package version in peer dependency 2024-09-04 14:27:43 +08:00
Junyi
02c3a2be25
feat(server): add lock manager to server (for testing on dev) (#5144)
* feat: pub/sub manager

* fix: test case

* fix: test error

* fix: test error

* feat: skip self

* feat: debounce

* feat: improve code

* fix: test error

* feat: test cases

* feat: test cases

* fix: improve code

* fix: improve code

* feat: improve code

* fix: improve code

* fix: test case

* fix: typo

* fix: createPubSubManager

* fix: delete messageHandlers

* fix: test case

* feat: improve code

* fix: test error

* fix: test error

* refactor(server): adapt to new api and fix test

* fix(plugin-data-source-main): fix changed api

* fix: test error

* fix: remove sync-manager test case

* chore(server): remove legacy code

* fix(plugin-workflow): fix send sync message with transaction

* chore(server): remove legacy code

* chore(server): remove legacy code

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix test case

* test(server): test skip-install parameter in cluster

* test(server): avoid multiple installation in cluster

* test(server): installation in cluster

* feat: sync collection using sync manager (#4920)

* chore: sync collection message

* chore: sync acl

* fix: typo

* chore: sync data source

* chore: remove collection

* fix: typo

* fix: test

* chore: sync sub app event

* chore: sync collection test

* chore: collection test

* chore: test

* chore: data source sync message

* chore: sync multi app

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: error message

* fix(server): add type and remove log

* fix(server): not to publish when adpater is not connected

* refactor(server): refine types

* chore: timeout

* fix(server): fix pubSubManager options

* test(ci): test ci checkout

* feat(server): add lock manager to server

* feat: update ci

* feat: pub/sub manager (#4933)

* feat: pub/sub manager

* fix: test case

* fix: test error

* fix: test error

* feat: skip self

* feat: debounce

* feat: improve code

* fix: test error

* feat: test cases

* feat: test cases

* fix: improve code

* fix: improve code

* feat: improve code

* fix: improve code

* fix: test case

* fix: typo

* fix: createPubSubManager

* fix: delete messageHandlers

* fix: test case

* feat: improve code

* fix: test error

* fix: test error

* refactor(server): adapt to new api and fix test

* fix(plugin-data-source-main): fix changed api

* fix: test error

* fix: remove sync-manager test case

* chore(server): remove legacy code

* fix(plugin-workflow): fix send sync message with transaction

* chore(server): remove legacy code

* chore(server): remove legacy code

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix test case

* test(server): test skip-install parameter in cluster

* test(server): avoid multiple installation in cluster

* test(server): installation in cluster

* feat: sync collection using sync manager (#4920)

* chore: sync collection message

* chore: sync acl

* fix: typo

* chore: sync data source

* chore: remove collection

* fix: typo

* fix: test

* chore: sync sub app event

* chore: sync collection test

* chore: collection test

* chore: test

* chore: data source sync message

* chore: sync multi app

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: error message

* fix(server): add type and remove log

* fix(server): not to publish when adpater is not connected

* refactor(server): refine types

* chore: timeout

* fix(server): fix pubSubManager options

* test(ci): test ci checkout

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>

* refactor(server): refactor api and local lock

* refactor(server): change variable names and use singleton for local lock

* fix: lockManager.close

* refactor(server): adjust types

* feat(server): add  api

* refactor(core): move lock-manager to independent package to be used in db

* refactor(plugins): change to new lock manager to use locks

* fix(auth): fix test case

* chore: ttl of sort field lock

* fix: ttl

* fix(plugins): revert lock usage back for some plugins

* refactor(plugin-field-sort): move sort field to plugin

* chore: update build ci

* fix(server): fix build errors

* fix(plugin-field-sort): fix test case

* fix(plugin-field-sort): fix register move action

* fix(plugin-field-sort): fix load logic

* fix(plugin-data-source-main): fix lock usage

* chore(plugin-data-source-main): remove unused import

* fix(server): fix import crypto in pub sub manager (#5111)

* fix(plugin-field-sort): fix build and test cases

* fix(plugin-user-data-sync): fix test with sort field

* fix(plugin-users): fix test with sort field

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2024-08-28 14:41:45 +08:00
mytharcher
d0dc0428fb fix(plugin-field-sort): fix build and test cases 2024-08-26 23:28:58 +08:00
Junyi
845a6bd447 fix(server): fix import crypto in pub sub manager (#5111) 2024-08-26 21:04:09 +08:00
mytharcher
65b6fb7b03 fix(server): fix build errors 2024-08-26 21:02:10 +08:00
mytharcher
9b9e03ea19 refactor(plugin-field-sort): move sort field to plugin 2024-08-26 18:27:10 +08:00
mytharcher
0935b898fb refactor(core): move lock-manager to independent package to be used in db 2024-08-26 17:59:16 +08:00
mytharcher
483ea698b1 feat(server): add api 2024-08-26 17:57:45 +08:00
mytharcher
c17dfd36b8 refactor(server): adjust types 2024-08-26 17:57:45 +08:00
chenos
dcb22c8ce3 fix: lockManager.close 2024-08-26 17:57:45 +08:00
mytharcher
387e16f3bf refactor(server): change variable names and use singleton for local lock 2024-08-26 17:57:45 +08:00
mytharcher
47ced56eb6 refactor(server): refactor api and local lock 2024-08-26 17:57:45 +08:00
mytharcher
615384e3cf feat: pub/sub manager (#4933)
* feat: pub/sub manager

* fix: test case

* fix: test error

* fix: test error

* feat: skip self

* feat: debounce

* feat: improve code

* fix: test error

* feat: test cases

* feat: test cases

* fix: improve code

* fix: improve code

* feat: improve code

* fix: improve code

* fix: test case

* fix: typo

* fix: createPubSubManager

* fix: delete messageHandlers

* fix: test case

* feat: improve code

* fix: test error

* fix: test error

* refactor(server): adapt to new api and fix test

* fix(plugin-data-source-main): fix changed api

* fix: test error

* fix: remove sync-manager test case

* chore(server): remove legacy code

* fix(plugin-workflow): fix send sync message with transaction

* chore(server): remove legacy code

* chore(server): remove legacy code

* fix(plugin-workflow): fix test case

* fix(plugin-workflow): fix test case

* test(server): test skip-install parameter in cluster

* test(server): avoid multiple installation in cluster

* test(server): installation in cluster

* feat: sync collection using sync manager (#4920)

* chore: sync collection message

* chore: sync acl

* fix: typo

* chore: sync data source

* chore: remove collection

* fix: typo

* fix: test

* chore: sync sub app event

* chore: sync collection test

* chore: collection test

* chore: test

* chore: data source sync message

* chore: sync multi app

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: error message

* fix(server): add type and remove log

* fix(server): not to publish when adpater is not connected

* refactor(server): refine types

* chore: timeout

* fix(server): fix pubSubManager options

* test(ci): test ci checkout

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2024-08-26 17:57:21 +08:00
mytharcher
71a1ddf69e feat(server): add lock manager to server 2024-08-26 16:36:39 +08:00
mytharcher
fc0cab3cb5 fix(server): fix pubSubManager options 2024-08-26 16:35:09 +08:00
Chareice
349fb319c4 chore: timeout 2024-08-26 16:35:09 +08:00
mytharcher
77af3154cf refactor(server): refine types 2024-08-26 16:35:09 +08:00
mytharcher
a9cc8a17fa fix(server): not to publish when adpater is not connected 2024-08-26 16:35:09 +08:00
Chareice
9edaa9183a chore: error message 2024-08-26 16:35:09 +08:00
ChengLei Shao
28cda22a79 feat: sync collection using sync manager (#4920)
* chore: sync collection message

* chore: sync acl

* fix: typo

* chore: sync data source

* chore: remove collection

* fix: typo

* fix: test

* chore: sync sub app event

* chore: sync collection test

* chore: collection test

* chore: test

* chore: data source sync message

* chore: sync multi app

* chore: test

* chore: test

* chore: test

* chore: test

* chore: test
2024-08-26 16:35:07 +08:00
mytharcher
fd8c9932d4 chore(server): remove legacy code 2024-08-26 16:32:55 +08:00
mytharcher
69b95c5f7e chore(server): remove legacy code 2024-08-26 16:32:55 +08:00
mytharcher
773172c030 chore(server): remove legacy code 2024-08-26 16:32:55 +08:00
chenos
a16df8aa2f fix: remove sync-manager test case 2024-08-26 16:32:55 +08:00
mytharcher
b61895d309 refactor(server): adapt to new api and fix test 2024-08-26 16:31:12 +08:00
chenos
eb56a7be0e fix: test error 2024-08-26 16:31:12 +08:00
chenos
20d4385c18 fix: test error 2024-08-26 16:31:11 +08:00
chenos
90ba426766 feat: improve code 2024-08-26 16:31:11 +08:00
chenos
2f9f7c7392 fix: test case 2024-08-26 16:31:11 +08:00
chenos
2897e7ceef fix: delete messageHandlers 2024-08-26 16:31:11 +08:00
chenos
e9679b6f86 fix: createPubSubManager 2024-08-26 16:31:11 +08:00
chenos
a97240a10b fix: typo 2024-08-26 16:31:11 +08:00
chenos
9cc5a3699b fix: test case 2024-08-26 16:31:11 +08:00
chenos
56cd233694 fix: improve code 2024-08-26 16:31:11 +08:00
chenos
d13b08be29 feat: improve code 2024-08-26 16:31:11 +08:00
chenos
2a19484e8f fix: improve code 2024-08-26 16:31:11 +08:00
chenos
96f20e3b2f fix: improve code 2024-08-26 16:31:11 +08:00
chenos
ad39ff21ee feat: test cases 2024-08-26 16:31:11 +08:00
chenos
58ef2213b9 feat: test cases 2024-08-26 16:31:11 +08:00
chenos
023ee34ebf fix: test error 2024-08-26 16:31:11 +08:00
chenos
44e90d0134 feat: improve code 2024-08-26 16:31:10 +08:00
chenos
fb3edcf968 feat: debounce 2024-08-26 16:31:10 +08:00
chenos
1c2de28a0d feat: skip self 2024-08-26 16:31:10 +08:00
chenos
adc10b50df fix: test error 2024-08-26 16:31:10 +08:00
chenos
acc22c14b2 fix: test error 2024-08-26 16:31:10 +08:00
chenos
6ac9117e9d fix: test case 2024-08-26 16:31:10 +08:00
chenos
011e71429b feat: pub/sub manager 2024-08-26 16:31:07 +08:00
Junyi
7276322117
fix(server): fix import crypto in pub sub manager (#5111) 2024-08-22 23:46:39 +08:00
mytharcher
9020579b1f Merge branch 'next' into develop 2024-08-20 02:43:11 +00:00
Chareice
ded5f26c09
Revert "refactor: datetime field support timezone, defaultToCurrentTime, and onUpdateToCurrentTime (#5012)"
This reverts commit e232ed75827cd76778ce796f04e60f58ada581a9.
2024-08-19 11:03:10 +08:00