13 Commits

Author SHA1 Message Date
Sheldon Guo
feb9074e56
refactor(test): modify the test function login to be asynchronous and update the relevant test cases (#6181)
* refactor(test): modify the test function login to be asynchronous and update the relevant test cases
2025-02-08 13:53:30 +08:00
Sheldon Guo
0144e2e510
fix(auth): use loginWithJti to update authentication-related test cases and prevent errors (#6175)
* refactor(auth): update login method to use loginWithJti for test cases
2025-02-07 17:45:48 +08:00
Sheldon Guo
cc6928c7d0
feat(auth): support token security (#5948)
* feat(auth): support token security config
---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: xilesun <2013xile@gmail.com>
2025-01-18 22:18:51 +08:00
Chareice
281d6d9125
chore: clean cache dir before create mock server 2025-01-01 15:04:53 +08:00
nocobase[bot]
887f989da0 Merge branch 'main' into next 2024-12-28 14:30:36 +00:00
YANG QIA
a89269d25a
test: sub app agent (#5963)
* test: sub agent

* chore: test

---------

Co-authored-by: Chareice <chareice@live.com>
2024-12-28 22:30:12 +08:00
Zeke Zhang
92e87ee1da Merge branch 'next' into develop 2024-12-05 16:36:42 +08:00
Junyi
7c6e863c8d
fix(test): add roleName to login in mock server (#5794) 2024-12-05 16:24:25 +08:00
mytharcher
5406d6fa22 Merge branch 'next' into develop 2024-10-12 11:18:46 +08:00
YANG QIA
bd942342b0
fix(auth): should set user token as invalid when changing password (#5212)
* fix(auth): should log user out when changing password

* fix: add passwordChangeTZ

* fix: clear local token when token is invalid

* fix: test

* fix: field name
2024-09-06 14:43:14 +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
chenos
88e47afe39
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-14 12:09:36 +08:00
Junyi
d5ff3167c9
refactor(server): simplify api for publishing sync message (#4912)
* refactor(server): simplify method invoking for publishing sync message

* feat(test): add mock-cluster for testing cluster cases

* refactor(server): simplify sync api

* refactor(server): simplify type of sync-manager
2024-07-20 23:26:50 +08:00