362 Commits

Author SHA1 Message Date
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
chenos
912664200a Merge branch 'next' into develop 2024-08-18 13:02:15 +08:00
GitHub Actions Bot
de595019ba Merge branch 'main' into next 2024-08-18 04:59:22 +00:00
chenos
8a26fca6ae
fix: mysql2 version (#5082)
* fix: mysql2 version

* fix: update yarn.lock
2024-08-18 12:59:04 +08:00
Zeke Zhang
e617e10758 Merge branch 'next' into develop 2024-08-18 08:41:51 +08:00
Katherine
e232ed7582
refactor: datetime field support timezone, defaultToCurrentTime, and onUpdateToCurrentTime (#5012)
* refactor: date field support timezone, defaultToCurrentTime, and onUpdateToCurrentTime

* refactor: availableTypes unixTimestamp

* chore: defaultToCurrentTime

* chore: unix timestamp field

* fix: bug

* chore: field type map

* refactor: local improve

* fix: bug

* fix: bug

* chore: timezone test

* chore: test

* fix: test

* fix: test

* chore: field setter

* chore: test

* chore: date only field

* chore: test

* chore: test

* fix: bug

* fix: unixTimestamp

* fix: unixTimestamp

* chore: accuracy

* fix: bug

* fix: bug

* fix: unixTimestamp

* fix: unixTimestamp

* fix: date & datetime

* refactor:  add DateFieldInterface

* fix: bug

* chore: test

* chore: test

* chore: test

* refactor: locale improve

* refactor: local improve

* fix: bug

* refactor: unixTimestamp not support default value

---------

Co-authored-by: Chareice <chareice@live.com>
2024-08-16 16:50:51 +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
ChengLei Shao
1776af73ac
chore: skip app supervisor (#4937) 2024-07-23 22:58:45 +08:00
chenos
08cf9c6c00 fix: build error 2024-07-23 12:46:11 +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
ChengLei Shao
dd08a1f5c7
chore: data source api (#4588)
* refactor: support api datasource

* refactor: support api datasource

* refactor: support api datasource

* feat: url support preview (#4559)

* feat: url support preview

* feat: add settings for Input.Preview

* refactor: refactor CollectionField.tsx to use dynamic component

* Revert "refactor: refactor CollectionField.tsx to use dynamic component"

This reverts commit 37719eb28e5866762459da3b269288340a21b661.

* test: add e2e test

* refactor(e2e): extract template

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>

* fix(map): amap reset (#4574)

* chore: volta node version

* chore: data source api

* refactor: support api datasource

* chore: data source api

* chore: data source api

* chore: field options

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* refactor: support api data source

* fix: load data source fields

* refactor: support api data source

* feat(data-vi): support for using url params and current role variables (#4586)

* feat(data-vi): support for using url params and current role variable

* fix: bug

* fix(variable): should remove through collection field (#4590)

* fix: style issues for gridCard in mobile client (#4593)

* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug

* fix: style issues for gridCard in mobile client (#4599)

* fix: style issiues for gridCard in mobile client

* fix: bug

* fix: bug

* fix: bug

* fix: style improve

* chore: update lerna

* chore(versions): 😊 publish v1.0.1-alpha.1

* chore: update changelog

* chore: fix typo (#4589)

* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow (#4584)

* feat(plugin-workflow-smtp-mailer): add new plugin for sending email in workflow

* refactor(plugin-workflow-mailer): change plugin name and locales

* fix(plugin-workflow-mailer): fix parameters

* fix(preset): add new plugin to preset

* fix(plugin-workflow-mailer): fix locale namespace

* fix: iframe block loses height when set to default (#4602)

* fix: iframe block loses height when set to default

* refactor: local improve

* feat(client): allow JSON5 value in Form Input of type JSONTextArea (#4600)

* feat(client): allow json5 value in form-item type json component

* test: fix tests

* chore: set json5 default as false

* chore: add demo

---------

Co-authored-by: xilesun <2013xile@gmail.com>

* fix: remove grid wrap (#4612)

* refactor(plugin-workflow): change variable getter from collection fields (#4567)

* refactor(plugin-workflow): change variable getter from collection fields

* fix(plugin-workflow): fix import

* chore(plugin-workflow-action-trigger): remove unused import

* fix(plugin-workflow): fix collection field in workflow variable

* refactor(plugin-workflow-manual): avoid tslint error

* fix(client): fix text wrap in variable input (#4605)

* fix(client): fix text wrap in variable input

* fix(client): revert css

* feat(tree-block): support filtering child nodes (#4603)

* feat(tree-block): support filtering child nodes

* test: add list test

* test: remove only

* fix: use isValidFilter

* fix(export): export button remaining in loading state after cancel (#4615)

* chore: rebase

* chore: collection option

* fix: update data source fields

* chore: console.log

* refactor: support api data source

* fix: data source test

* fix: sync field in data source

* chore: unavailableActions in collection option

* chore: unavailableActions in data source collections

* chore: file collection unavailableActions

* fix: test

* chore: unavailableActions  in actionInitializers

* fix: bug

* fix: destroy action

* chore: unavailableActions in plugin  actionInitializers

* fix: view

* chore: unavailableActions  in actionInitializers

* fix: missing removeCollection

* chore: test name

* fix: bug

* fix: bug

* chore: test

* refactor: availableTypes

* refactor: availableTypes

* chore: datasource options

* refactor: get current data source

* refactor: code improve

* fix: update collection with fields

* refactor: code improve

* refactor: code improve

* refactor: code improve

* refactor: code improve

* chore: datasource logger

* chore: export Schema

* refactor: rawTextArea

* refactor: loadFilterTargetKeys in external data source

* chore: unavailableFunctions

* refactor:  support unAvailableFunctions

* refactor:  support unAvailableFunctions

* refactor:  support unAvailableFunctions

* refactor:  support unAvailableFunctions

* refactor:  support unAvailableFunctions

* revert: unavailableFunctions

* refactor: code improve

* fix: test

* chore: operation

* chore: operation

* fix: input support json field

* refactor: blockInitializers support unavailableActions

* chore: availableActions

* chore: availableActions

* refactor: support availableActions

* refactor: support availableActions

* chore: magic model test case

* fix: unixTimestamp support integer

* fix: disassociate

* fix: input readPretty

* fix: resolve error when opening modal via URL

* style: input readPretty style improve

* chore: support simple pagination

* chore: skip test

* refactor: details support pagination

* refactor: details support pagination

* chore: useActionAvailable

* fix: bug

* test: fix test

* fix: detailsBlockInitializer useActionAvailable

* chore: fix unit test

* refactor: pagination

* refactor: pagination

* test: fix test

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
Co-authored-by: YANG QIA <2013xile@gmail.com>
Co-authored-by: Katherine <shunai.tang@hand-china.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: David Fecke <david.fecke@eyecook.net>
2024-07-19 22:26:27 +08:00
Junyi
1c9e71dbf6
feat(server): add cluster mode for starting app (#4895)
* feat(server): add cluster mode for starting app

* chore(env): adjust order of env item

* chore: sync in main data source

* chore: onSync in plugin

* refactor(server): change onSync to plugin method

---------

Co-authored-by: Chareice <chareice@live.com>
2024-07-18 23:23:23 +08:00
GitHub Actions Bot
3d1d7a50cb Merge branch 'main' into next 2024-07-18 06:45:12 +00:00
ChengLei Shao
ed937d5f18
chore: external data source api (#4782)
* chore: datasource logger

* chore: export field type map

* chore: error handle

* chore: database query interface

* chore: datasource with close api

* chore: close database before set

* fix: build
2024-07-18 14:44:53 +08:00
Junyi
9033f73584
refactor(server): sync manager and ci (#4858)
* refactor(server): add available property on sync manager

* chore(ci): add redis service into test ci
2024-07-10 21:48:58 +08:00