Commit Graph

605 Commits

Author SHA1 Message Date
ChengLei Shao
6b0ed79f51
feat: duplicator plugin (#1265)
* chore: dump plugin

* chore: rename plugin

* chore: add duplicator into preset

* chore: tmp commit

* feat: restore & dump action

* feat: collection dump & restore

* feat: collection dump & restore

* fix: dump with json type

* fix: dump uischema

* chore: tmp commit

* chore: tmp commit

* feat: restore custom collections

* chore: code

* fix: build

* chore: tmp commit

* fix: pm.generateClientFile

* feat: dump with user plugins

* feat: restore ignore collection

* feat: ignore user with rolesUsers

* chore: client plugins

* refactor: restore insert sql

* chore: code format

* feat: restore with sequelize insert query

* fix: restore json field

* fix: json restore

* refactor: dumper

* refactor: restorer

* chore: dump file name

* chore: dump file name

* chore: dump message

* fix: restore with jsonb fields

* feat: field data writer

* chore: code

* feat: collection group manager

* feat: duplicator client

* feat: duplicator panel

* chore: disable duplicator ui

* feat: dump with inquirer

* chore: dumper

* chore: collection group manager

* feat: restore with inquirer

* chore: comment

* chore: inquirer page size

* feat: warning before restore

* feat: sync postgres sequence id after import collection

* chore: restore checked

* feat: dump with through table

* feat: restore with through table

* feat: restore with sequence field

* chore: graph collection manager collection group

* fix: dump with no column tables

* fix: dump empty table

* fix: force remove workdir

* chore: disable throw error when sync empty table

* feat: support map field restore

* fix: restore from pg dumped file

* fix: dump with logic field

* chore: console.log

* chore: collection group

* chore: handle import collection error

* fix: dump migrations table

* feat: display custom collection title

* fix: restore collection title display

* fix: dump iframe html

* fix: dump with postgres inhertitance

* fix: dump sql

* chore: export snapshot field

* fix: import with sequences

* fix: import sequences

* fix: storage

Co-authored-by: chenos <chenlinxh@gmail.com>
2023-01-08 12:45:02 +08:00
Dunqing
f6769341bd
fix: FixedBlock does not disappear when the current tab is deleted (#1324)
* fix: fixed block does not disappear when the current tab is deleted

* fix: using template and fixedBlock together causes props to conflict

* fix: reference templates do not work properly
2023-01-07 23:31:09 +08:00
Dunqing
6246d152b0
feat(Select): should compile title and label (#1332) 2023-01-07 09:30:19 +08:00
anuoua
550db03615
fix: improve filter (#1333)
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-01-06 15:53:24 +08:00
chenos
85a032f87c fix: only load history for logged-in users 2023-01-06 11:54:54 +08:00
chenos
2cba502f60 fix: load collections history only admin pages 2023-01-06 08:47:43 +08:00
chenos
d062c8fd99
chore(versions): 😊 publish v0.8.1-alpha.4 (#1331) 2023-01-05 23:22:18 +08:00
chenos
4ecd2ee40d chore(versions): 😊 publish v0.8.1-alpha.2 2023-01-05 18:29:47 +08:00
anuoua
346af57b55
fix: filter removeNullConditions (#1329) 2023-01-05 12:46:18 +08:00
anuoua
72e9533b7d
fix: snapshot display fix (#1328) 2023-01-05 12:45:06 +08:00
anuoua
6febdb041a
feat: snapshot field plugin (#1253)
* feat: snapshort init

* feat: snapshot update yarn.lock

* feat: snapshot add to preset

* feat: snapshot add field fix

* feat: snapshot remove Table Column SnapshotField

* feat: snapshot field label fix

* feat: snapshot request error fix

* feat: snapshot 二级关联数据打开

* feat: snapshot batch edit fix

* feat: snapshot 2 level draw fix

* feat: snapshot translate

* feat: snapshot global historyCollection provider

* feat: snapshot install initial

* feat: snapshot refreshCH

* feat: snapshot add transaction

* feat: snapshot default collecitonField

* feat: snapshot build fix

* feat: snapshot useSnapshotFieldTargetCollectionKey

* feat: snapshot batch update

* feat: snapshot linkto support

* feat: snapshot use getRepository

* feat: snapshot recreate fix

* feat: snapshot collectionKey to collectionName & rebuild collection

* feat: snapshot remove SnapshotHistoryCollectionProvider & collectionName

* feat: snapshot use historyCollections in inherit table

* feat: snapshot fix TableSelectorBlock appends

* feat: snapshot kanban fix

* feat: snapshot snapshot association field fix

* feat: snapshot add CollectionFieldProvider fallback

* feat: snapshot AssociationSelect fix

* feat: snapshot TableField fix
2023-01-04 19:27:37 +08:00
chenos
a44b778098 fix: form.values 2023-01-04 18:38:58 +08:00
katherinehhh
ebc103c8ff
feat: configure fields style fix (#1322) 2023-01-04 18:35:35 +08:00
chenos
fb8a4de8cc fix: move assign to utils package 2023-01-03 15:27:22 +08:00
chenos
9d618315ae
fix(database): filter match (#1319)
Co-authored-by: Chareice <chareice@live.com>
2023-01-03 13:38:20 +08:00
chenos
43db2b641b
fix: action merge params (#1321)
Co-authored-by: Chareice <chareice@live.com>
2023-01-03 13:26:50 +08:00
ChengLei Shao
d317fa056a
chore: set belongs to many on delete to cascade (#1311) 2023-01-01 23:15:08 +08:00
ChengLei Shao
38b5974b90
fix: disable filterByTk options in destory method when collection has no primary key or has composite primary key (#1313)
* chore: tmp commit

* feat: filterByTk options with no primary key table

* chore: support filterTargetKey options

* chore: test
2023-01-01 23:14:48 +08:00
Frozen FIsh
1b0946bb8a
fix: warning: Each child in a list should have a unique "key" prop. 2023-01-01 09:17:55 +08:00
ChengLei Shao
33377c7d3a
fix: slow find with include in mysql (#1304)
* fix: slow find with include in mysql

* fix: test

* fix: test

* chore: console.log

* chore: test
2022-12-31 22:35:12 +08:00
ChengLei Shao
d0c7a1e39b
fix: create inherits with table name contains upper case (#1308) 2022-12-31 19:16:49 +08:00
chenos
d5ae819b81 fix(client): load data on demand 2022-12-31 15:12:22 +08:00
chenos
cbfd057c6d fix: missing collections 2022-12-31 14:58:59 +08:00
chenos
f5c1a07f20
fix: upgrade error (#1303) 2022-12-31 10:54:20 +08:00
anuoua
b80aec9733
fix: association filter (#1301)
* fix: pageSize 200 & not a function

* fix: filter params wrong
2022-12-30 20:04:04 +08:00
anuoua
07a01fc507
fix: pageSize 200 & not a function (#1299) 2022-12-30 16:24:17 +08:00
Junyi
7bfd8ea05b
refactor(client): make tab initializer more common (#1298)
* refactor(client): make tab initializer more common

* fix(client): revert index logic

* fix:  improve code

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-30 13:57:28 +08:00
Dunqing
71bfd78c6b
fix(Select): title field and clear button not work (#1296)
* fix: add fieldNames to refreshDeps

* fix: clear not work

* fix: missing title in non-designer
2022-12-29 22:28:35 +08:00
chenos
60d669bd24 feat(demos): action bar Initializer example 2022-12-26 13:45:04 +08:00
chenos
4d9299f04d feat(demos): form drawer example 2022-12-26 12:46:33 +08:00
katherinehhh
a299849613
feat: antd->4.2.8 (#1231)
* feat: antd->4.2.8

* fix(plugin-workflow): dependencies

* feat: menu item key fix

* feat: dorpdown menu visible fix

* fix: update yarn.lock

* fix: only hide the first level

* fix: onVisibleChange

* fix: eventKey

* fix: setVisible(false)

Co-authored-by: mytharcher <mytharcher@gmail.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-26 11:52:59 +08:00
anuoua
a69074ead4
feat: association filter (#1274)
* feat: association filter

* feat: association filter update

* feat: association filter remove unused designer

* feat: feat: association filter lowercase fix

* feat: feat: association filter lowercase fix

* feat: feat: association filter configure field fix

* feat: association field remove AssociationFieldsFilter.Designer

* feat: association field fixed layout

* feat: associate filter multiple to simple

* feat: association field "title" to "id"

* feat: associaion filter interface limit

* feat: association filter move to association-filter folder

* feat: association filter change style

* fix: card item error

* fix: add RenderChildrenWithAssociationFilter

* feat: association-filter fix style

* feat: associate filter fix filter params

* feat: assocition filter layout fix

* feat: association filter change schema

* feat: association filter rename

* feat: association filter rename

* feat: association filter break layout fix

* feat: association filter fix table layout

* feat: association filter fix ActionBar style

* feat: association filter fix ActionBar style

* feat: association filter bug fix

* feat: association filter change valueKey

* feat: association filter remove collectionFieldKey

* feat: improve code

* feat: association filter style fix

* feat: association filter custom title

* feat: association filter max height overscroll

* feat: association filter add linkTo & i18n

* feat: association filter ellipsis;

* feat: association fields add linkTo

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-26 11:35:35 +08:00
Dunqing
07c373956c
chore: upgrade sequelize version to to latest (#1234)
* chore: upgrade sequelize version to to latest

* fix: type error

* chore: type ModelCtor to ModelStatic

* feat: update sequelize version of the map plugin

* chore: update lock

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2022-12-24 16:30:01 +08:00
SemmyWong
6d1a4425f2
feat: add iframe-block plugin (#1281)
* feat: iframe-block plugin done

* refactor: iframe html filed type changed

* refactor: remove built-in actions in the ACL

* refactor: use built-in resource action

* fix: add iframe-block in built-in plugins

* refactor: remove id collection schema

* fix: fix iframe-block permission

* fix: fix iframe-block permission

* fix: improve code

* fix: src

* fix: bug

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-24 16:29:20 +08:00
Dunqing
98bad0c8ea
feat: update page size to 200 and limit fields (#1282)
* feat: update page size to 200 and limit fields

* fix: override

* fix: avoid fieldNames not exist

* feat: filter falsely fields
2022-12-23 18:57:50 +08:00
Dunqing
bfc83372c6
fix: prevent horizontal scroll of menus (#1279) 2022-12-23 15:07:37 +08:00
chenos
6935b21808 fix: type string 2022-12-22 21:59:02 +08:00
chenos
20710b40ea feat: form context provider 2022-12-22 21:37:17 +08:00
chenos
faa7d819a1 feat(client/demos): custom field item initializer 2022-12-22 21:26:32 +08:00
chenos
d2275455be fix(client/demos): gird x-initializer 2022-12-22 20:01:28 +08:00
chenos
5ec50d32bb fix: only hide the first level 2022-12-22 10:46:04 +08:00
lyf-coder
d875e0f372
fix(client/kanban): fix kanban card default active all fields bug (#1270)
* fix(client/kanban): fix kanban card default active all fields bug

* fix(client/kanban): fix when drag field also drag card bug
2022-12-21 22:10:54 +08:00
Dunqing
3e2a884a3e
fix: cannot delete event in calendar (#1277)
* fix: calendar cannot delete event

* feat: close detail after delete event

* fix: make sure the DeleteEvent button only appears in the calendar details
2022-12-21 21:13:35 +08:00
Dunqing
ee7185c51c
fix(AssociationSelect): missing field title in details (#1275)
* fix: missing title in default

* fix: detail

* refactor: avoid nullish
2022-12-21 17:29:13 +08:00
Dunqing
b27e82edf8
fix: menu cannot scroll (#1276) 2022-12-21 15:59:50 +08:00
Dunqing
c731abf82c
feat: support fixed block (#1267)
* feat: support fixed block

* feat: update locale

* fix: fix block not work in non-designer

* feat: improve padding

* feat: update scroll

* fix: the page effect is not normal when deleting fixed blocks

* feat: recalculate table scroll when resize

* fix: avoid scrolling effect when dragging the Kanban column

* feat: improve scroll size

* fix: column size

* fix: unused

* fix: configure action in designable

* fix: has page title

* fix: optimize

* fix: optimize

* feat: avoid fixed block

* fix: action column width

* fix: optimize

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-20 21:43:27 +08:00
Dunqing
940f5f0152
feat : support fixed menu and header (#1260)
* feat: support fixed menu and header

* revert: power by

* fix: designer not work

* fix: cannot scroll

* feat: fixed menu in center

* fix: cannot scroll

* fix: unused
2022-12-18 16:49:50 +08:00
ChengLei Shao
6a0b38b7a2
fix: destroy field in parent table (#1263) 2022-12-18 15:45:34 +08:00
lyf-coder
aa868e798d
refactor(client/popup): text: 'Set popup size' changed to 'Popup size' (#1262)
* refactor(client/popup): text: 'Set popup size' changed to 'Popup size'

* refactor(client/popup): text: '设置弹窗尺寸' changed to '弹窗尺寸'
2022-12-18 12:19:18 +08:00
chenos
a403e22439 fix: hide add tab button 2022-12-18 09:44:01 +08:00