Commit Graph

597 Commits

Author SHA1 Message Date
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
chenos
28fadf945d fix: designable 2022-12-18 09:41:20 +08:00
chenos
ef860d7556
feat: page tabs (#1261)
* feat: page tabs

* feat: hide page title

* fix: style
2022-12-18 09:20:56 +08:00
chenos
9285a8b6a2 fix: nocobase upgrade error 2022-12-17 10:35:10 +08:00
Dunqing
dda6692e58
fix: isOverride cannot work (#1257) 2022-12-16 18:19:51 +08:00
Junyi
e3e352ffeb
refactor(sequence-field): move to plugin and use table to record (#1209)
* refactor(sequence-field): move to plugin and use table to record

* fix(database): skip test case which not in core

* fix(plugin-sequence): add migration

* fix(plugin-sequence): fix types

* test(plugin-sequence): fix test cases

* fix(plugin-sequence): fix configuration ui

* fix(plugin-sequence): fix merge

* fix(plugin-sequence): fix schema and error message
2022-12-16 01:04:22 -08:00
chenos
5b81c4d07c fix: plugin upgrade 2022-12-14 22:33:15 +08:00
Dunqing
a593720c81
feat: add map plugin (#1229)
* feat: add map plugin

* feat: update

* feat: add Map.Designer

* feat: support polygon and clear canvas

* feat: improve and support linestring

* feat: map type default

* feat: support group order

* feat: support register group

* feat: improve named and logic

* fix: rename

* feat: better

* refactor: move to use postgresSQL supported type

* feat: support circle

* feat: support mysql

* chore: @nocobase/plugin-map

* fix: some error in postgres

* fix: line lose

* fix: accessKey or securityCode is incorrect

* fix: improve

* fix: shake screen in modal

* feat: support serviceHOST

* feat: improve

* feat: support view map in detail

* feat: support patten in details

* fix: something went wrong in edit mode

* fix: field name incorrectly

* feat: support sqlite

* feat: support circle in mysql

* feat: support map configuration

* feat: support map configuration

* fix: remove unused div

* feat: support show map in details

* fix: disabled in details

* fix: unused

* feat: improve readpretty

* fix: schemaInitialize

* feat: improve alert and search

* fix: mysql polygon not work

* test: add fields test

* test: improve

* test: update

* fix: test error

* feat: improve search and support zoom

* fix: if success should reset err message

* feat: add isOverride to confirm

* feat: improve
2022-12-14 21:45:43 +08:00
chenos
63581688e9 fix(client): cannot read properties of undefined (reading 'interface') (#1245) 2022-12-14 17:27:50 +08:00