Commit Graph

139 Commits

Author SHA1 Message Date
chenos
dfb940e091
feat: node >= 18 (#3066)
* feat: node >= 18

* fix: release version

* chore(versions): test publish packages xxx

* fix: gitignore
2023-11-20 19:35:30 +08:00
chenos
91053b31ef chore(versions): 😊 publish v0.16.0-alpha.1 2023-11-20 17:19:09 +08:00
YANG QIA
daac2ae0db
refactor(cache): improve cache (#3004)
* feat: improve cache

* fix: bug

* fix: test

* fix: test

* fix: test

* chore: add cache test

* feat: add wrapWithCondition

* fix: test

* refactor: improve api

* fix: test

* fix: test

* fix: test

* fix: improve code

* fix: test

* feat: register redis store

* fix: tst

* fix: test

* fix: bug

* chore: update

* fix: ttl unit

* chore: cachemanager constructor

* chore: remove code

* feat: support close connection

* chore: add close options for redis store
2023-11-20 17:14:20 +08:00
chenos
379248e5c5
fix: local storage base url (#3063)
* fix: local storage base url

* fix: test error
2023-11-20 15:53:09 +08:00
ChengLei Shao
d7d2eb634e
feat: mariadb support (#3052)
* feat: mariadb support

* feat: mariadb test

* chore: mariadb test

* chore: test

* fix: sort field test

* fix: sort field test

* fix: test

* fix: test

* fix(bi): chart query support mariadb

* chore: test timeout

* chore: test

---------

Co-authored-by: xilesun <2013xile@gmail.com>
2023-11-20 08:54:40 +08:00
Junyi
fbe3d2d9a5
fix(plugin-workflow): client minor fixes (#3062) 2023-11-19 03:24:34 -08:00
ChengLei Shao
0acd7b6dd3
fix: sort by association collection (#3058)
* fix: sort by association collection

* fix: test

* chore: test

* chore: create sortfield if hasmany sortable set true

* fix: drag sort

* chore: update sort by options

* chore: sync collection after update sortBy

* chore: test

* chore: test

* chore: test

* fix: sort by

* fix: model.syncSortByField

* fix: hasmany only

* fix: sortBy

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-18 22:02:21 +08:00
chenos
ef1b9db2a9 chore(versions): 😊 publish v0.15.0-alpha.4 2023-11-18 21:22:03 +08:00
chenos
60112aae62 chore(versions): 😊 publish v0.15.0-alpha.3 2023-11-16 15:03:40 +08:00
Junyi
52c3f28c04
fix(plugin-fm): fix error log (#3038) 2023-11-14 16:54:19 +08:00
chenos
b597aec1dc chore(versions): 😊 publish v0.15.0-alpha.2 2023-11-13 18:28:48 +08:00
chenos
29457cb2bc chore(versions): 😊 publish v0.15.0-alpha.1 2023-11-13 11:02:35 +08:00
jack zhang
35b06cbfa0
refactor: plugin settings manager (#2712)
* feat: add settingsCenter

* fix: style bug

* chore: optimized code

* refactor: settingCenter Auth

* feat: add aclSnippet option

* refactor: all plugin's setting center api

* feat: add plugin with name

* docs: add settings-center doc

* fix: settings center menu sort by name

* fix: change setting center layout

* fix: change hello sort

* test: add SettingsCenter.ts test case

* fix: bug

* fix: acl bug

* fix: bug

* fix: bug and 404 page

* fix: test bug

* fix: test bug

* fix: bug

* fix: locale

* fix: styling

* fix: rename settingsCenter to pluginSettingsManager

* fix: styling

* fix: e2e bug

* fix: e2e bug

* fix: locale

* feat: update docs

* fix: update

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-13 11:01:18 +08:00
chenos
3b5b732a1a
feat: plugin-mock-collections (#2988)
* feat: plugin-mock-collections

* fix: mock bug

* feat: field interfaces

* fix: field interface

* fix: formula

* fix: file collection

* fix: map

* refactor: change api path from :create to :mock

* fix: avoid test failed

* chore: remove useless code

* fix: mock records

* fix: association

* feat: custom data

* fix: mockAttachment

* fix: count

---------

Co-authored-by: Rain <958414905@qq.com>
2023-11-10 11:32:03 +08:00
Junyi
61d14309ed
fix(plugin-workflow): add missed component (#3007) 2023-11-09 20:40:27 +08:00
Junyi
e74fcc32e7
refactor(plugin-workflow): allow to use function for values when creating node (#3002) 2023-11-09 01:20:56 +08:00
Junyi
8ee8b0052a
fix(plugin-workflow): fix configuration drawer close logic (#3001) 2023-11-09 00:51:42 +08:00
被雨水过滤的空气-Rain
81cea6b596
chore: add aria label for workflow table (#2995) 2023-11-08 16:28:53 +08:00
被雨水过滤的空气-Rain
5b9695e720
fix: select item can not be selected in connecting data blocks (#2993) 2023-11-08 09:17:40 +08:00
Junyi
00cabc5e23
refactor(plugin-workflow): change to function (#2991) 2023-11-07 07:30:53 -08:00
Junyi
30de7865c5
fix(plugin-workflow): fix loop scope variable (#2989) 2023-11-07 06:17:07 -08:00
katherinehhh
adfb9a72ca
fix(formula-field): formula field failed to real-time evaluating and support sub-form (#2983)
* fix:  formula field failed to real-time evaluating

* fix:  formula field failed to real-time evaluating
2023-11-07 21:03:49 +08:00
Junyi
2747e7640f
fix(plugin-workflow): fix node form values when closed (#2978)
* fix(plugin-workflow): fix node form values when closed

* fix(plugin-workflow): fix manual schema config refresh
2023-11-06 07:50:25 -08:00
ChengLei Shao
ac3f63b110
feat: drop table with cascade option (#2973)
* refactor: delete collection support cascade

* chore: remove collection from database

* feat: remove collection with cascade option

* chore: test

* chore: test

* chore: delete collection support cascade

* refactor: code improve

* refactor: locale improve

* style: delete collection modal style improve

* revert: filemanger-plugin

* revert: code improve

* revert: code improve

* revert: fix: bluk dele collection

* fix: cascade === true && cascade === 'true'

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-11-06 11:50:37 +08:00
ChengLei Shao
2c58d515da
chore: destory collection in share collection plugin (#2968) 2023-11-05 19:36:53 +08:00
katherinehhh
9ec2b50990
fix: import action should not visible when view collection not editable (#2957)
* fix: import action should not visible when view collection not editable

* refactor: action in view collection block
2023-11-04 08:29:59 +08:00
Junyi
9da6606e86
refactor(plugin-workflow): add exports for client (#2960) 2023-11-03 08:25:33 -07:00
Junyi
98d8ddc43e
fix(plugin-workflow): fix canvas style (#2959) 2023-11-03 06:13:43 -07:00
Junyi
1f9dae6ebd
fix(plugin-workflow): fix variables and form changed (#2955) 2023-11-03 05:08:11 -07:00
Dunqing
3220173e83
test(custom-request): update test case, avoid failed (#2954)
* test(custom-request): update test case, avoid failed

* fix: case
2023-11-03 16:19:11 +08:00
katherinehhh
93bf86d931
fix: create collection report error (#2953) 2023-11-03 10:57:45 +08:00
Junyi
a722d0af5a
feat(plugin-workflow): add zoomer for workflow canvas (#2951)
* feat(plugin-workflow): add zoomer for workflow canvas

* fix(plugin-workflow): fix zoomer position
2023-11-02 07:08:34 -07:00
Dunqing
a90d5fe6d6
feat(map-plugin): supports connecting each point into a line (#2216)
* feat(map-plugin): supports connecting each point into a line

* feat: update

* feat: support startPoint and endPoint

* fix: data refresh is incorrect when sort changed

* feat: support google map
2023-11-02 15:03:49 +08:00
Dunqing
7bbd7e6f2b
fix(custom-request): parsed not working when the value of the variable is of type o2m. (#2926)
* fix: parse o2m variables doesn\'t work

* fix: currentRecord.id doesn't work

* fix: x-button missing border-bottom

* fix: currentUser with association

* fix: filter underfined

* fix: cannot get the value by variables
2023-11-02 10:26:56 +08:00
chenos
c6fe9366ca
fix: improve local storage options (#2943)
* fix: improve local storage options

* test: revision of test cases for file manager

* test: revision of test cases for file manager

---------

Co-authored-by: hongboji <j414562100@qq.com>
2023-11-01 22:23:19 +08:00
chenos
2bb0f7c51c chore(versions): 😊 publish v0.14.0-alpha.8 2023-11-01 09:52:49 +08:00
chenos
2ac377161f fix(theme-editor): migration error 2023-10-31 12:22:31 +08:00
chenos
2008bfa54a fix(import): filter non-existent fields 2023-10-31 12:11:15 +08:00
Rain
fdf4c2d96c chore: rename file name of migration 2023-10-30 16:54:45 +08:00
Rain
d871554bf1 fix(theme-editor): should add uid field in migration 2023-10-30 11:27:48 +08:00
Junyi
f771a476b2
fix(plugin-workflow): ajdust style (#2934) 2023-10-28 22:24:05 -07:00
chenos
e1c30f25e2
fix: theme migration error (#2929)
* fix: theme migration error

* fix: themeConfig:list public

* fix: item.changed

* refactor: make better

---------

Co-authored-by: Rain <958414905@qq.com>
2023-10-28 17:14:31 +08:00
Junyi
770f1b7af7
refactor(plugin-workflow): add end property to branch (#2928) 2023-10-27 20:33:54 -07:00
Junyi
4bac9abbbb
fix(plugin-workflow): fix migration (#2927) 2023-10-27 06:14:56 -07:00
chenos
6f3681c2aa
fix: app quickstart (#2921)
* fix: app quickstart

* fix: test

* fix: test

---------

Co-authored-by: Chareice <chareice@live.com>
2023-10-27 19:40:44 +08:00
被雨水过滤的空气-Rain
1ff3aa94fc
chore(theme-editor): add migration (#2367)
* chore: change 'Default theme of antd' to 'Default'

* feat(theme-editor): add migration

* refactor: change file name

* feat: add a uid to avoid mutiple additions

* chore: add version info

* chore: optimize

* fix: upgrading error

* chore: add comment

* Update 202307250847-theme-editor.ts

* Update plugin.ts

* Update 202307250847-theme-editor.ts

* refactor: better code

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-27 16:55:13 +08:00
被雨水过滤的空气-Rain
29bf187fbf
chore: optimize locators (#2833)
* test(e2e): better locators for designer buttons

* fix: make test passing

* refactor: remove DesignerControl

* chore: better locators

* fix: should not disable add-menu-item

* chore: better test id for block

* chore: optimize Action

* chore: remove role in BlockItem

* feat: improve locators

* chore: menu & add block

* chore: initializer

* chore: testid -> aria label

* chore: tabs

* chore: designers

* refactor: optimize schemaInitializer

* refactor: rename

* chore: add collectionName

* chore: block item

* chore: action

* fix: avoid crashting

* chore(e2e): add __E2E__

* chore: all dialog

* chore: add aria-label for block menu

* Revert "chore: add aria-label for block menu"

This reverts commit 6a840ef816.

* chore: optimize aria-label of Action

* chore: schema-initializer

* chore(e2e): increase timeout

* chore: schema settings

* chore: optimize table

* chore: workflow

* chore: plugin manager

* chore: collection manager and workflow

* chore: details of workflow

* chore: remove testid of Select

* test: fix unit-tests

* test: fix unit-tests

* test(e2e): passing tests

* test: fix unit test

* chore: should use hover

* test: passing tests

* chore: passing tests

* chore: fix CI

* chore: fix CI

* chore: increase timeout in CI

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-27 15:32:17 +08:00
被雨水过滤的空气-Rain
5a342bdbc7
chore(e2e): based postgres in CI to run e2e (#2924)
* chore(e2e): based postgres in CI to run e2e

* chore: run CI

* chore: change install

* chore: optimize
2023-10-27 15:22:17 +08:00
Junyi
e86c5a7636
refactor(plugin-workflow): adjust branch styles (#2922) 2023-10-26 20:34:08 -07:00
katherinehhh
e35e4af5e7
refactor: reset form values after create action (#2905)
* refactor: reset form after create action

* fix: association select support reset

* fix: map field support form reset

* fix: formula field support form reset

* fix: josn field support form reset

* fix: attachement field support form reset

* fix: map field support form reset

* fix: map field support form reset

* fix: map field support form reset

* fix: console
2023-10-27 09:45:34 +08:00