Commit Graph

2054 Commits

Author SHA1 Message Date
chenos
0177f775fc fix: code format 2023-01-03 15:17:20 +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
chenos
ff10e588bb fix: export using post request 2023-01-01 15:07:50 +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
Dunqing
a98c9e03ce
fix(map-plugin): cannot save because the value is null (#1309)
* fix: cannot save because the value is null

* test: update
2022-12-31 22:30:26 +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
Junyi
0d732d214c
fix(plugin-fm): fix local storage config and skip empty base url (#1294) 2022-12-28 07:18:14 -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
chenos
df4b42308c fix(sequence-field): an argument for 'fnName' was not provided 2022-12-24 17:36:32 +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
chenos
a7960422c5 fix(collection-manager): version.satisfies <= 0.8.0-alpha.14 2022-12-21 10:27:18 +08:00
chenos
1868a8a5f3 fix(collection-manager): update timestamps to true 2022-12-21 10:01:39 +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
Junyi
217ecb27ae
fix(plugin-sequence): fix test case (#1268)
* fix(plugin-sequence): fix test case

* fix(plugin-sequence): fix async call

* fix(plugin-sequence): fix test case
2022-12-19 21:23:54 +08:00
Junyi
a14a65596e
fix(plugin-sequence): fix update pattern index (#1266) 2022-12-19 12:05:11 +08:00
chenos
627a8b264b fix: db sync before app upgrade 2022-12-19 00:00:58 +08:00
chenos
e481c2b59b fix: process.env.PRESET_NOCOBASE_PLUGINS 2022-12-18 23:27:03 +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
fe1600dbc9 feat: update submodule 2022-12-18 09:38:58 +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
Junyi
9e9688fa5b
fix(plugin-fm): drawer form values (#1259) 2022-12-17 15:41:38 +08:00
chenos
9285a8b6a2 fix: nocobase upgrade error 2022-12-17 10:35:10 +08:00
Dunqing
8e7210a206
feat: support sync button (#1258) 2022-12-16 18:29:41 +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
720cbc76e2 fix: update submodule 2022-12-16 09:23:23 +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
chenos
26e27c814b feat(collection-manager): more options 2022-12-14 16:38:08 +08:00
Junyi
db346688f5
fix(plugin-workflow): fix job result in history (#1242) 2022-12-13 21:36:26 -08:00
chenos
d2fa623158 feat(collection-manager): drag-and-drop sorting 2022-12-14 12:12:44 +08:00
ChengLei Shao
393ada2bc5
feat: set field (#1237)
* feat: set field

* feat: array field repository

* feat:  ArrayFieldRepository

* fix: add set parse

* test: array field repository

* chore: update submodule

* chore: field bind & unbind

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-12-13 18:02:03 +08:00
chareice
0d2b1caa7c fix: collections load order 2022-12-12 18:50:53 +08:00
lyf-coder
4d90bc87a5
feat(client/popup): support set drawer and modal popup size (#1224) 2022-12-12 08:39:21 +08:00
Junyi
41f8e6a285
fix(plugin-file-manager): fix local serve middleware (#1226) 2022-12-09 18:15:42 -08:00
chenos
0480b57db5
feat: iframe block (#1225) 2022-12-09 23:29:54 +08:00
lyf-coder
f4ee872a16
fix(workflow/request-var): fix request node var editor (#1223) 2022-12-09 06:01:19 -08:00
chenos
0ddd73cf3b fix(record-picker): show N/A when no value 2022-12-09 10:42:30 +08:00
SemmyWong
cabe8a51a2
fix: change import timeout as 10 min (#1221) 2022-12-08 20:34:21 +08:00
Dunqing
29e83515b9
fix: field component options appears in non-association interface (#1220) 2022-12-08 19:08:24 +08:00
Junyi
a951d49f55
Fix(plugin-workflow): client refactor (#1163)
* fix(plugin-workflow): avoid to delete using node

* fix(plugin-workflow): refactor operand

* fix(plugin-workflow): simplify code

* fix(plugin-workflow): fix condition calculator
2022-12-06 02:18:40 -08:00
chenos
ca0621b517 feat: update submodule 2022-12-06 13:48:03 +08:00
chenos
36f7389b22 fix: calendar component optimization 2022-12-06 12:24:54 +08:00
chenos
01a0ed8420 fix(client/calendar): remove loading (#1201) 2022-12-06 11:40:00 +08:00
chenos
b96cdea2fc
feat(cli): quickstart (#1204) 2022-12-05 22:19:22 +08:00
Junyi
e5f5a2a0c5
fix(plugin-cm): fix interfaces injection and getter (#1196) 2022-12-05 12:39:51 +08:00
Junyi
d1a6aeec76
fix(i18n): move back key to global (#1195) 2022-12-04 18:58:16 -08:00
Junyi
6fb58d01a3
test(plugin-workflow): add cache and test for sqlite (#1194) 2022-12-04 17:38:37 -08:00
Junyi
c19ca1f30b
fix(plugin-workflow): use dual pipes to process triggers (#1187)
* fix(plugin-workflow): use dual pipes to process triggers

* refactor(plugin-workflow): refactor dual pipe structure
2022-12-02 22:34:47 -08:00
chenos
e5a9721674 fix(acl): add x-acl-action to action schema 2022-12-03 13:51:55 +08:00
chenos
6b253755a1 fix: print button without permission 2022-12-03 10:28:21 +08:00
chenos
4830a1c034 fix: blocks should not be displayed after templates are removed 2022-12-03 10:18:18 +08:00
Junyi
f0dcf32c56
fix(plugin-workflow): temp skip case (#1188) 2022-12-02 07:08:29 -08:00
katherinehhh
7d32886bb0
feat(menu): when a group is selected, the submenu items are also selected together (#1152) 2022-12-02 22:43:51 +08:00
chenos
34a900820b feat(database): provide friendly error message #1185 2022-12-02 22:22:11 +08:00
chenos
e94074c3f3 fix: field permissions include inherited fields 2022-12-02 21:40:32 +08:00
chenos
49709458bb fix: refresh button without permission 2022-12-02 21:39:42 +08:00
Junyi
eb4fb29e3b
fix(plugin-workflow): fix transaction in trigger (#1186) 2022-12-02 18:15:53 +08:00
katherinehhh
dd91aee89d
feat: export blob type error (#1170) 2022-12-02 16:11:49 +08:00
Junyi
eee4cabd64
fix(plugin-workflow): dispatch when server start (#1183) 2022-12-01 23:58:13 -08:00
chenos
c64e32945e
fix: yarn start error in windows system (#1177)
* feat: add .env.test.example

* fix: yarn start error in windows system
2022-12-02 14:23:07 +08:00
chenos
591f0f7b69 fix: update submodule 2022-12-02 10:21:10 +08:00
Junyi
1aa5df88c3
fix(plugin-users): fix initialization of sms verification (#1173) 2022-12-01 18:19:40 -08:00
chenos
e73695fd1e fix: yarn dev error in windows system 2022-12-01 23:44:02 +08:00
Junyi
271573c52a
fix(plugin-workflow): fix test case (#1172) 2022-12-01 07:40:36 -08:00
Junyi
400320d175
feat(plugin-workflow): add duplicate action (#1171)
* feat(plugin-workflow): add duplicate action

* fix(plugin-workflow): fix test case

* feat(plugin-workflow): move execution link to column
2022-12-01 06:52:46 -08:00
Junyi
86a23c0d9f
fix(plugin-workflow): fix context operand (#1169) 2022-11-30 22:48:29 -08:00
katherinehhh
d668aa0d92
feat: configurable the scope of target collections (#1165)
* feat: collection template support availableTargetCollections

* feat: add targetScope

* feat: code opmization

* feat: custom-collection-template improve

* feat: useAsyncDataSource fix

* feat: useAsyncDataSource fix
2022-12-01 14:24:35 +08:00
chenos
1f431dc2d6 fix(database): id is not generated when custom primary key 2022-12-01 10:00:46 +08:00
chenos
34c9ec123e fix(server): empty data wrapping 2022-12-01 09:58:11 +08:00
anuoua
b16a764f19
fix: saml oidc text (#1164) 2022-11-30 14:38:06 +08:00
chenos
6799c9615d fix: restore useValuesFromRecord 2022-11-30 11:45:32 +08:00
ChengLei Shao
dea9655573
fix: transaction error (#1162) 2022-11-30 11:37:59 +08:00
chenos
7cfa939f63 fix(database): cannot read properties of null (reading 'constructor') 2022-11-30 10:57:41 +08:00
ChengLei Shao
1764b53a9b
fix: create inherits with empty table (#1160)
* chore: test

* feat: patch to queryInterface.describeTable

* test: add field to empty collection

* fix: create inherits with parent dose not have id field

* fix: test

* fix: test
2022-11-30 10:00:46 +08:00
chenos
205fafcd4a
fix: sso optimization (#1159)
* fix: update submodules

* fix: improve code
2022-11-30 01:00:45 +08:00
chenos
37b4151da1 fix: add oidc and saml to local plugins 2022-11-29 23:39:12 +08:00
anuoua
59d32937c8
feat: saml (#1143)
* feat: saml

* feat: saml i18n fix

* feat: saml extract getSaml

* feat: saml signin extension

* feat: saml remove $eq

* feat: saml validate fix

* feat: saml page extension fix

* feat: saml remove canceltoken

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-29 23:20:33 +08:00
anuoua
1ac0032e5c
feat: oidc (#1126)
* feat: oidc

* feat: oidc remove comments

* feat: oidc add shared type

* feat: oidc add id_token sign alg

* feat: oidc i18n & batch delete

* feat: oidc i18n

* feat: oidc import fix

* feat: oidc saml list fix

* feat: oidc i18n move to plugin

* feat: oidc cr fix

* feat: oidc cr fix

* feat: oidc cr fix

* feat: oidc fix nonce value

* feat: oidc page extension fix

* feat: oidc remove canceltoken

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-29 23:18:21 +08:00
ChengLei Shao
78fe77e2cf
feat: belongs to many on delete (#1158) 2022-11-29 18:27:41 +08:00
katherinehhh
4085ed0db7
Feat/collection templates (#1124)
* feat: add collection templates

* feat:  collection templates

* feat:  collection templates

* feat:  collection templates

* feat:  collection templates

* feat: collection templates

* feat: calendar collection template

* feat: no id does not support sorting

* feat: collection template edit

* feat: collectiom templates code improve

* feat: collection template supports configurable field interface

* feat: collection template supports configurable field interface

* feat: establish relation field when there is no id

* feat: collection templates

* feat: collection templates locale

* feat: calendar collection

* feat: calendar collection default fields

* feat: code optimization

* feat: code optimization

* feat: code optimization

* feat: collectin template fix

* feat: add sample-custom-collection-template

* feat: code optimization

* feat: code optimization

* feat: code optimization

* feat: code optimization

* feat: import code

* feat: collection template local

* feat: code opimization

* feat: code opimization

* feat: code opimization

* feat: code opimization

* feat: code opimization

* feat: collection template local

* feat: collection template local

* fix(collection-manager): exclude reverse parameters when overriding

* feat: update docs

* feat: disabled

* feat: improve code

* feat: update submodule

* feat: submodules: true

* fix: token

* fix: with ssh-key

* fix: update dockerfile

* fix: ci

* fix: ci

* fix: ci

* fix: ci

* fix: --no-verify-access

* fix: ci

* fix: ci

* fix: ci

* fix: missing env

* fix: env

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
2022-11-29 11:31:30 +08:00
ChengLei Shao
f7f58bfe99
Fix/action 404 (#1157)
* fix: 404 response

* test: 200 response
2022-11-28 17:31:05 +08:00
ChengLei Shao
3be27c262f
fix: 404 response (#1156) 2022-11-28 17:27:12 +08:00
Junyi
7b5277fb2a
Feat: plugin verification config (#1129)
* feat(plugin-verification): add client config

* feat(plugin-verification): add config ui

* fix(plugin-verification): fix schema

* refactor(plugin-verification): add default for verification providers

* fix(plugin-users): fix initVerification in lifecycle

* fix(plugin-users): fix initVerification in lifecycle

* fix(plugin-verification): fix locale and default provider

* fix(plugin-verification): fix test case

* fix(plugin-verification): fix locale
2022-11-28 00:41:58 -08:00
chenos
a0910f0e2e fix(collection-manager): exclude reverse parameters when overriding 2022-11-28 13:46:40 +08:00
Dunqing
0b6fed79d3
feat: support use select field (#1105)
* feat: add RemoteSelect

* feat: match

* feat: support use select field

* fix: revert no need code

* fix: remove console

* feat: reuse select

* feat: support multiple value and labelInValue

* fix: incorrect import

* fix: missing title in RemoteSelect

* feat: add association-select

* fix: edit

* feat: support sort

* feat: support filter

* fix: break

* fix: loss of filter data after closing the drawer

* fix: multiple not support in select

* fix: some bugs in multiple

* feat: support select in o2m,o2o

* feat: support more association field

* feat: improve

* fix: remove unused files

* feat: make o2m also support pattern

* fix: missing value on edit
2022-11-28 10:08:01 +08:00
Junyi
4a113774bd
fix(plugin-workflow): fix trigger context getters (#1149) 2022-11-27 06:54:47 -08:00
ChengLei Shao
1ebb70e4c5
fix/inherits issues(#1146)
* chore: sync inherits command

* fix: inherit field type conflit

* fix: merge

* fix: test

* fix: test

* chore: app command

* chore: create inheritance map

* fix: test

* fix: test

* fix: test
2022-11-26 09:24:53 +08:00
chenos
998afa2450 fix(demos): action page 2022-11-25 15:58:06 +08:00
katherinehhh
9fc634ecf2
feat: option readPretty optimization (#1138)
* feat: option readPretty optimization

* feat: option readPretty optimization

* feat: getCurrentOptions fix
2022-11-25 12:56:36 +08:00
chenos
024cc102ea fix: field record not updated 2022-11-25 12:12:44 +08:00
Junyi
f4c195e576
fix(plugin-workflow): fix locale (#1145) 2022-11-24 19:01:00 -08:00
chenos
1213baae82 fix: hide through collections 2022-11-25 09:41:40 +08:00
chenos
c106565c59 fix(user): reset form values after submission 2022-11-25 09:33:20 +08:00
chenos
d610297f8c fix(acl): exception thrown when role not found 2022-11-25 09:31:57 +08:00
Junyi
2c6b9babff
fix(plugin-workflow): fix endsOn field (#1144) 2022-11-24 08:06:48 -08:00
ChengLei Shao
945c64304a
fix: create empty collection (#1141)
* fix: create empty collection

* chore: comment

* chore: sqlite support

* chore: mysql support

* fix: collection api

* fix: error message
2022-11-24 18:16:01 +08:00
chareice
78402c394b fix: association not found error 2022-11-24 18:03:10 +08:00
Junyi
9aba8016fe
fix(client): fix no key warning in menu (#1140) 2022-11-24 00:14:10 -08:00
Junyi
62652145c9
Fix(plugin workflow) interval (#1139)
* fix(plugin-workflow): use setTimeout with offset for more accuracy

* fix(plugin-workflow): locale
2022-11-24 00:13:47 -08:00
chenos
70afa8c7e2 fix(upload-component): open attachment link in new tab 2022-11-24 15:38:43 +08:00
chenos
71120ab3c4 fix(database): cannot read properties of undefined (reading 'findField') 2022-11-24 15:36:51 +08:00
katherinehhh
a8cabbab56
fix: x-collection-field (#1134) 2022-11-24 09:40:45 +08:00
chenos
cbea13260e
feat: update many (#1135) 2022-11-24 00:24:27 +08:00
lyf-coder
9b4139e28a
feat(workflow): support Http Request Node (#1102)
* feat(workflow): support Http Request Node

* style(workflow): hTTP Request ui title

* style(workflow): request node ui title fix

* feat(workflow): support timeout config,ignoreFail etc

* refactor(workflow): request node Instruction remove unused input.result from templateVars

* fix(workflow): fix locale

* fix(workflow): perfect request implementation
2022-11-23 02:29:18 -08:00
chenos
6f4f601ba8 fix(select-component): remove filter sort 2022-11-23 17:08:23 +08:00
Dunqing
d25276a23b
fix: incorrect repeat of calendar (#1131) 2022-11-23 12:15:42 +08:00
chenos
1d2c4f6188 fix: select clear not working 2022-11-23 11:29:34 +08:00
chenos
7bffc94b80
fix(database): refresh indexes (#1127) 2022-11-22 20:31:29 +08:00
ChengLei Shao
3556ddc730
fix: reference check after remove collection (#1123) 2022-11-22 16:19:48 +08:00
chenos
54e92918b2 fix(acl): cannot read properties of undefined (reading 'fields') 2022-11-22 16:00:40 +08:00
ChengLei Shao
466aa4987e
fix: sort field with table dose not have primary key (#1119) 2022-11-22 10:13:55 +08:00
ChengLei Shao
fba8f253d4
fix: test (#1118) 2022-11-22 09:29:09 +08:00
ChengLei Shao
d72123c5b0
fix: update to bigint (#1117)
* fix: update sequence and foreignKey

* chore: rename migration

* fix: single foreign field update

* fix: update bigint

* fix: rename

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-21 18:50:23 +08:00
katherinehhh
f4e850059a
fix(cm): default values for override (#1112)
* chore: test

* chore: inherited-collection class

* feat: collection inherit

* feat: collection inherit

* feat: inhertis sync runner

* test: get parents fields

* feat: collection inherit style promote

* feat: sync

* feat: sync alter table

* feat: pgOnly Test

* fix: child collection create api

* feat: replace parent field

* chore: reload parent fields

* test: reload collection test

* feat: details are displayed according to conditions

* fix: typo

* feat: inheritance map class

* chore: is parent node

* feat: display where child row created from

* fix: find with appends

* feat: add parent collection fields

* fix: create table

* feat: load fields for all children

* refactor: sync fields from parent

* test: has one field inhertis

* feat: replace child association target

* feat: should not replace child field when parent field update

* test: should update inherit field when parent field update

* feat: only the blocks directly inherited from the current data are displayed

* fix: inherit from multiple collections

* feat: only the blocks directly inherited from the current data are displayed

* fix: test

* feat: parent collection expend

* fix: test

* test: belongsToMany inherits

* test: belongsToMany inherits

* feat: block display

* feat: collection inherite

* feat: collection inherite

* feat: multiple inherits

* fix: sync runner

* feat: collection inherite

* feat: collecton inherits

* feat: cannot be modified after inheritance and saving

* feat: collection inherit for graph

* feat: collection inherits

* fix: drop inhertied field

* fix: should throw error when type conflit

* feat: output inherited fields

* feat: bulk update collection fields

* feat: collection fields

* feat: collection fields

* test: create relation with child table

* fix: test

* fix: test

* fix: test

* feat: style impove

* test: should not replace field with difference type

* feat: add text

* fix: throw error when replace field with difference type

* feat: overriding

* feat: kan bankanban group fields

* feat: calendar block fields

* feat: kan bankanban group fields

* fix: test

* feat: relationship fields

* feat: should delete child's field when parent field deleted

* feat: foreign key filter

* fix: build error & multiple inherit destory field

* fix: test

* chore: disable error

* feat: no recursive update associations (#1091)

* feat: update associations

* fix(collection-manager): should update uiSchema

* chore: flip if

* feat: mutile inherits

* feat: db dialect

* feat: inherits show by database

* chore: git hash into docker image

* fix: js gzip

* fix: dockerfile

* chore: error message

* feat: overriding

* feat: overriding

* feat: overriding

* feat: local

* feat: filter fields by interface

* fix: database logging env

* test: replace hasOne target

* feat: add view

* feat: local

* feat: enableInherits

* chore: error message

* feat: enableInherits

* feat: code optimization

* feat: code optimization

* feat: code optimization

* feat: override select

* feat: override select

* feat: override select

* feat: override select

* feat: override

* feat: override

Co-authored-by: chareice <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-21 18:10:14 +08:00
ChengLei Shao
c861a6884a
fix: update sequence and foreignKey (#1116)
* fix: update sequence and foreignKey

* chore: rename migration
2022-11-21 18:07:58 +08:00
Junyi
fc7da4a04c
fix(plugin-workflow): fix workflow schema (#1115) 2022-11-21 00:48:28 -08:00
Junyi
9b1ecb67f1
fix(client): menu key warnings (#1114) 2022-11-21 00:48:09 -08:00
chenos
c888d793ee fix(cm): update to bigint 2022-11-21 15:33:21 +08:00
chenos
c52f451840
fix: fk type invalid (#1113) 2022-11-21 14:58:07 +08:00
chenos
7b016848bd fix: bigInt 2022-11-21 12:42:56 +08:00
chareice
a0cb35ffa4 fix: handle column not exists error 2022-11-20 21:27:19 +08:00
ChengLei Shao
ab7c3fa98e
fix: inherits with collection not exists (#1109)
* fix: inherits with colleciton not exists

* test: create inherits with multiple lazy parents

* chore: error handler

* fix: test
2022-11-20 17:33:20 +08:00
Junyi
c8225e352b
fix(locale): move description to global (#1108)
* fix(locale): move description to global

* fix(locale): move description in other languages
2022-11-20 00:17:52 -08:00
ChengLei Shao
73e2d27e29
feat: using bigint for id field (#1100)
* feat: using bigint for id field

* fix: postgres bigint parse

* fix: sequelize test

* test: update to bigint migrator

* chore: updateToBigInt method

* fix: mysql update bigint

* fix: update to bigint with inherits table

* feat: update fields type in fields table

* fix: import

* fix: bigInt

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-20 14:40:41 +08:00
chenos
903fbfacce fix: sub-table without record context 2022-11-19 22:44:31 +08:00
chenos
ef81032dbe fix: improve collection manager 2022-11-19 18:39:40 +08:00
chenos
0cbfa0a521 Revert "refactor: formula plugin (#1082)"
This reverts commit 0469b8c44d.
2022-11-19 18:15:42 +08:00
chenos
0469b8c44d
refactor: formula plugin (#1082)
* fix: transaction cannot be rolled back because it has been finished with state: rollback

* fix(plugin-system-settings): convert array to json

* fix(collection-manager): o2m is array type

* fix: missing RefreshActionInitializer

* fix(collection-manger): incorrect scope key parameter

* fix: can't access pages without permission via url (#826)

* feat(database): add sequence field type (#779)

* feat(database): add serialString field type

* feat(database): add serial string type field ui (skip ci)

* test(feat/database): test field options

* docs: demo

* fix(database): fix array table field behavior

* fix(database): fix serial type interface ui

* fix(database): add match logic for patterns changes

* fix(database): fix serial type query last bug in mysql

* refactor(database): refactor last record logic

* chore: revert modification on unnecessary file

* refactor(database): rename serialString type to sequence

Co-authored-by: chenos <chenlinxh@gmail.com>

* added Russian translation (#840)

* Russian translation

* Add files via upload

Add RU locale into index.ts
Bugs fixed in the ru_RU.ts

* Update index.ts

Correct lines 4 and 8

* feat: update option must have filter or filterByTk (#847)

* feat: update option must have filter or filterByTk

* fix: typo

* fix: typo

* feat(core/cache): support cache (#876)

* feat(core/cache): support cache

* build(create-nocobase-app): remove --cache-store-package cli option

* perf(core/cache): modify default cache config and remove unnecessary logic code

* fix: slow join query issued by appends field in find method of repository  (#845)

* fix: slow join query issue by appends field in repository.find

* feat: handle appending query in multiple relation repository

* feat: handle appending query in single relation repository

Co-authored-by: chenos <chenlinxh@gmail.com>

* fix: sort parameter is missing (#849)

* fix: 审计日志翻页sort丢失

* fix: 审计日志翻页sort丢失

* fix: 审计日志翻页sort丢失

Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>

* fix(formula): support integer and fix NaN error (#879)

* fix(formula): support integer and fix NaN error

* style(formula-input): remove debugger

* fix(database): fix the index name too long error

* feat(collection-manager): inverse fields can be configured (#883)

* feat: inverse field

* feat: improve code

* feat: translations

* fix: required

* fix: run test by jest (#891)

* fix: unable to submit form during file upload (#892)

* fix(client/block-select-collection): fix select collection menu view error (#889)

* fix(client/block-select-collection): fix too many collection menu view error

* fix(client/relate-collection-field-menu): fix relate collection field menu view too long error

* fix(client/record-picker): support record-picker show format DataPicker (#888)

* fix(client/record-picker): support record-picker show format DataPicker

* fix(client/record-picker): undefined judgment and when change field's label refresh format in time

* feat: improve signin and signup page components

* feat(plugin-workflow): add concat calculator (#894)

* fix: single relation repository appends query issue (#901)

* fix: appends merge includes (#905)

* fix: build error

* fix(client): tab pane initializers for create form block

* fix: version judgment is not accurate

* fix: sync collection field default value (#907)

* feat: limit database identifier (#908)

* fix: cannot read properties of undefined (reading 'target')

* fix: appends merge now using primary key (#911)

* fix: appends merge now using primary key

* chore: console.log

* fix: unbind on error throwing (#914)

* feat: create with array of values (#912)

* feat: create with array of values

* chore: console.log

* chore: debug

* fix(client/route-switch): skip sub routes

* Feat: plugin workflow collection field (#919)

* feat(plugin-workflow): use Collectionfield component to render form

* fix(plugin-workflow): fix association types value assigning in nodes

* fix: missing menuItemGroupCss

* fix: multiple = false

* chore(versions): 😊 publish v0.7.5-alpha.1 (#920)

* fix(plugin-workflow): temp disable validation of collection field in node (#928)

* fix(plugin-workflow): fix schedule infinitely trigger when repeat not set (#926)

* Feat/plugin workflow collection field (#934)

* feat(plugin-workflow): support association constant simple input

* fix(plugin-workflow): remove useless code

* fix(plugin-workflow): add req context to processor (#936)

* fix(plugin-workflow): avoid revision with ghost nodes (#941)

* fix(plugin-workflow): fix collection fieldset component (#942)

* feat(useSignup): customize success message

* feat: changed with associations (#943)

* feat: changed with associations

* fix: test error

* fix: test error

* fix: test

* fix(plugin-workflow): fix schedule trigger bug (#949)

* fix(plugin-workflow): skip time based test (#951)

* fix(plugin-workflow): test changedWithAssociations() (#950)

* fix(plugin-workflow): test changedWithAssociations()

* fix: toChangedWithAssociations

* fix(plugin-workflow): add test cases

Co-authored-by: chenos <chenlinxh@gmail.com>

* feat: docker optimizing (#948)

* chore: feat/docker-optimizing
* feat: docker nginx gzip config

* feat: ui schema cache (#877)

* feat(core/cache): support cache

* perf(plugins/ui-schema-storage): cache schema

* refactor(plugins/ui-schema-storage): handle schema cache in repository level, not in action

* fix(plugins/ui-schema-storage): jsonSchema use s_ + x-uid and properties use p_ + x-uid cache

prevent jsonSchema and properties cache override each other

* test(plugins/ui-schema-storage): add ui_schema repository with cache test

* build(create-nocobase-app): remove create-nocobase cli's cache-store-package option

* test(plugins/ui-schema-storage): add ui_schema repository with cache test with readFromCache false

* fix(plugins/ui-schema-storage): repository insertAdjacent and patch method clear cache fix

Co-authored-by: chenos <chenlinxh@gmail.com>

* feat: add filter action to collection table (#953)

* feat: 数据表支持筛选

* feat: 数据表支持筛选

* feat: 数据表支持筛选

* feat: 数据表支持筛选

* fix: format code

Co-authored-by: chenos <chenlinxh@gmail.com>

* fix: default value of VERDACCIO_URL

* feat: add Dockerfile.official

* refactor(plugin-file-manager): move client code into plugin folder and enable path config (#913)

* Turkish language (#939)

* Türkçe dil dosyası eklendi. Turkish language added

* Türkçe dil düzenlemesi. Turkish language edit.

* fix: cannot find name 'antdTrTR'

* chore(versions): 😊 publish v0.7.6-alpha.2 (#954)

* Turkish readme (#955)

* Türkçe dil dosyası eklendi. Turkish language added

* Türkçe Açıklama sayfası. Turkish readme file added

* Turkish language link added

* turkish language link added

* fix: update readme

* fix(plugin-workflow): fix constant schedule trigger time (#956)

* feat: push ali docker registry (#957)

* feat: push ali docker registry

* fix: add VERDACCIO_URL

* fix: env

* fix: add VERDACCIO_URL to env

* fix: update VERDACCIO_URL

* fix: arg VERDACCIO_URL

* fix: update Dockerfile.official

* fix: build-args

* fix: network: host

* fix: ci

* fix: verdaccio:10104

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* Update branch-docker-ci.yml

* feat: push acr

Co-authored-by: ChengLei Shao <chareice@live.com>

* feat: api service

* fix: api services

* feat(file-manager): support tencent cos (#958)

* feat: support tencent cos

* feat: normalize

* chore: update env example

* test: add cos

* Revert "feat: normalize"

This reverts commit 371880013c.

* feat: normalize

* feat: tengxun to tencent

* chore: fix missing deps

* fix: locale

* fix: locale cos

* fix(database/formula-field): when formula's field caculate result is 0 it alse will be save (#962)

* fix: lerna ERR! EUNCOMMIT  M yarn.lock

* fix: driver-opts: network=host

* fix(ci): add verdaccio service

* chore(versions): 😊 publish v0.7.7-alpha.1 (#963)

* fix(plugin-workflow): fix workflow update action (#964)

* fix(ci): yarn config set network-timeout 600000

* fix: empty logic operator filter (#961)

* chore: fix incorrect deps (#970)

* feat: support show lunar day (#972)

* feat: support show lunar day

* fix: update yarn.lock

* fix: types error

Co-authored-by: Dunqing <dengqing0821@gmail.com>

* fix(ci): remove platforms

* chore: improve ci (#976)

* test: ci

* fix: ci error

* fix: on pull_request

* fix: paths

* fix: paths 'packages/**'

* feat: support show lunar day in week and day (#977)

Co-authored-by: qing <qing@imideMacBook-Air.local>

* fix(client/formula): set cursor focus on input (#959)

* fix(client/formula): set cursor focus on input

* fix(client/formula): when formula field name has contains the other one will case FormulaError

refactor partial implementation

* fix(client/table-selector-provider): make data range config effective (#960)

* fix(client/table-selector-provider): make data range config effective

* fix(client/table-selector): fix when save data range config filter lose

* fix(client/upload): fix upload mutiple files always uploading status (#974)

* Update README.md

* Update README.zh-CN.md

* Update README.tr-TR.md

* feat(calendar): support for add/remove repeats events (#988)

* feat(calendar): support for adding repeats

* feat: support delete events

* fix: has many same x-action

* feat: update better logic

* fix: exclude is not an array

* fix: handle parse cron error

* feat: support every_week, every_month, every_year

* fix(calendar): events cannot support moment (#1017)

* fix(calendar): events cannot support moment

* fix: avoid manipulating raw values

* feat: add excel function field (#906)

* feat: add excel function field

* fix: translations

* fix: documentation

* chore: remove console log

* chore: moved generation of parser to helper function; feat: added GET_DEEP function

* chore: improve tokenisation for when there are similar names;

* chore: move helper to utils

* fix: import from @nocobase/utils/client

* feat: integration as a plugin

* fix: remove excel function interface

* fix: locale

* fix: error

* refactor: formula plugin

* fix: improve code

* feat: update docs

* fix: error

* fix: update deps

* fix: remove formula

* fix:  bigint & test

* fix: result

* fix: double data type

* fix: maximum call stack size exceeded

* fix: improve code

Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: arzanov <59161748+arzanov@users.noreply.github.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
Co-authored-by: lyf-coder <58352715+lyf-coder@users.noreply.github.com>
Co-authored-by: katherinehhh <shunai.tang@hand-china.com>
Co-authored-by: 唐小爱 <tangxiaoai@192.168.0.103>
Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: altaytahsin <altay.tahsin@gmail.com>
Co-authored-by: Dunqing <dengqing0821@gmail.com>
Co-authored-by: qing <qing@imideMacBook-Air.local>
Co-authored-by: Zhou <zhou.working@gmail.com>
Co-authored-by: Michael DeGiovanni <m.degiovanni@gmail.com>
2022-11-19 18:12:54 +08:00
ChengLei Shao
8cad307fbb
fix: create inherits from a table that has no id (#1104)
* fix: create inherits from no id table

* chore: console.log
2022-11-18 20:46:55 +08:00
ChengLei Shao
395c441b21
fix: find table sequence (#1101) 2022-11-17 20:16:03 +08:00
katherinehhh
ba94dfaf6c
Feat/collection inherits (#1097)
* chore: test

* chore: inherited-collection class

* feat: collection inherit

* feat: collection inherit

* feat: inhertis sync runner

* test: get parents fields

* feat: collection inherit style promote

* feat: sync

* feat: sync alter table

* feat: pgOnly Test

* fix: child collection create api

* feat: replace parent field

* chore: reload parent fields

* test: reload collection test

* feat: details are displayed according to conditions

* fix: typo

* feat: inheritance map class

* chore: is parent node

* feat: display where child row created from

* fix: find with appends

* feat: add parent collection fields

* fix: create table

* feat: load fields for all children

* refactor: sync fields from parent

* test: has one field inhertis

* feat: replace child association target

* feat: should not replace child field when parent field update

* test: should update inherit field when parent field update

* feat: only the blocks directly inherited from the current data are displayed

* fix: inherit from multiple collections

* feat: only the blocks directly inherited from the current data are displayed

* fix: test

* feat: parent collection expend

* fix: test

* test: belongsToMany inherits

* test: belongsToMany inherits

* feat: block display

* feat: collection inherite

* feat: collection inherite

* feat: multiple inherits

* fix: sync runner

* feat: collection inherite

* feat: collecton inherits

* feat: cannot be modified after inheritance and saving

* feat: collection inherit for graph

* feat: collection inherits

* fix: drop inhertied field

* fix: should throw error when type conflit

* feat: output inherited fields

* feat: bulk update collection fields

* feat: collection fields

* feat: collection fields

* test: create relation with child table

* fix: test

* fix: test

* fix: test

* feat: style impove

* test: should not replace field with difference type

* feat: add text

* fix: throw error when replace field with difference type

* feat: overriding

* feat: kan bankanban group fields

* feat: calendar block fields

* feat: kan bankanban group fields

* fix: test

* feat: relationship fields

* feat: should delete child's field when parent field deleted

* feat: foreign key filter

* fix: build error & multiple inherit destory field

* fix: test

* chore: disable error

* feat: no recursive update associations (#1091)

* feat: update associations

* fix(collection-manager): should update uiSchema

* chore: flip if

* feat: mutile inherits

* feat: db dialect

* feat: inherits show by database

* chore: git hash into docker image

* fix: js gzip

* fix: dockerfile

* chore: error message

* feat: overriding

* feat: overriding

* feat: overriding

* feat: local

* feat: filter fields by interface

* fix: database logging env

* test: replace hasOne target

* feat: add view

* feat: local

* feat: enableInherits

* chore: error message

* feat: enableInherits

* feat: code optimization

* feat: code optimization

* feat: code optimization

Co-authored-by: chareice <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-17 12:49:13 +08:00
ChengLei Shao
49f6c18662
fix: create collection with emtpy inhertis params (#1096) 2022-11-16 22:07:52 +08:00
ChengLei Shao
c5fcc62bed
fix: remove node after collection removed (#1095) 2022-11-16 20:10:26 +08:00
ChengLei Shao
f8f9b8cc9f
fix: unbind error (#1094) 2022-11-16 17:36:42 +08:00
ChengLei Shao
ff267456de
chore: type conflict error message (#1093) 2022-11-16 16:40:51 +08:00
chenos
361df98634 feat: update submodule 2022-11-16 13:00:11 +08:00
ChengLei Shao
e991b2965a
feat: collection inheritance (#1069)
* chore: test

* chore: inherited-collection class

* feat: collection inherit

* feat: collection inherit

* feat: inhertis sync runner

* test: get parents fields

* feat: collection inherit style promote

* feat: sync

* feat: sync alter table

* feat: pgOnly Test

* fix: child collection create api

* feat: replace parent field

* chore: reload parent fields

* test: reload collection test

* feat: details are displayed according to conditions

* fix: typo

* feat: inheritance map class

* chore: is parent node

* feat: display where child row created from

* fix: find with appends

* feat: add parent collection fields

* fix: create table

* feat: load fields for all children

* refactor: sync fields from parent

* test: has one field inhertis

* feat: replace child association target

* feat: should not replace child field when parent field update

* test: should update inherit field when parent field update

* feat: only the blocks directly inherited from the current data are displayed

* fix: inherit from multiple collections

* feat: only the blocks directly inherited from the current data are displayed

* fix: test

* feat: parent collection expend

* fix: test

* test: belongsToMany inherits

* test: belongsToMany inherits

* feat: block display

* feat: collection inherite

* feat: collection inherite

* feat: multiple inherits

* fix: sync runner

* feat: collection inherite

* feat: collecton inherits

* feat: cannot be modified after inheritance and saving

* feat: collection inherit for graph

* feat: collection inherits

* fix: drop inhertied field

* fix: should throw error when type conflit

* feat: output inherited fields

* feat: bulk update collection fields

* feat: collection fields

* feat: collection fields

* test: create relation with child table

* fix: test

* fix: test

* fix: test

* feat: style impove

* test: should not replace field with difference type

* feat: add text

* fix: throw error when replace field with difference type

* feat: overriding

* feat: kan bankanban group fields

* feat: calendar block fields

* feat: kan bankanban group fields

* fix: test

* feat: relationship fields

* feat: should delete child's field when parent field deleted

* feat: foreign key filter

* fix: build error & multiple inherit destory field

* fix: test

* chore: disable error

* feat: no recursive update associations (#1091)

* feat: update associations

* fix(collection-manager): should update uiSchema

* chore: flip if

* feat: mutile inherits

* feat: db dialect

* feat: inherits show by database

* chore: git hash into docker image

* fix: js gzip

* fix: dockerfile

* chore: error message

* feat: overriding

* feat: overriding

* feat: overriding

* feat: local

* feat: filter fields by interface

* fix: database logging env

* test: replace hasOne target

* feat: add view

* feat: local

* chore: enable error

* fix: update docs

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-16 12:53:58 +08:00
chenos
688387413d
feat: no recursive update associations (#1091)
* feat: update associations

* fix(collection-manager): should update uiSchema
2022-11-15 20:37:26 +08:00
chenos
2ea185a412 fix: error: SQLITE_ERROR: near "AUTOINCREMENT": syntax error 2022-11-15 16:14:47 +08:00
chenos
9ad4bff62b feat: improve resolveNocobasePackagesAlias 2022-11-15 15:04:21 +08:00
Junyi
0288243a33
fix(plugin-workflow): fix transaction chain in trigger (#1089) 2022-11-15 13:35:10 +08:00
chenos
5cc83111db fix: menu z-index 2022-11-15 10:31:47 +08:00
Junyi
46161e8fd9
fix(plugin-workflow): fix schema name conflict (#1087) 2022-11-14 23:26:44 +08:00
Junyi
c470209ecd
refactor(plugin-workflow): split transaction for collection trigger (#1080)
* refactor(plugin-workflow): split transaction for collection trigger

* fix(plugin-workflow): fix delay test case

* refactor(plugin-workflow): use micro queue to dispatch executions

* fix(plugin-workflow): fix usages of private api

* fix(plugin-workflow): fix wrong variable
2022-11-14 20:05:01 +08:00
chenos
a9d614700c fix: add db auth before version check 2022-11-14 17:48:53 +08:00
chenos
534faa85cb
fix: skip records that do not exist (#1084) 2022-11-14 14:43:03 +08:00
Junyi
c465f0c427
refactor(plugin-workflow): adjust style (#1079) 2022-11-13 18:12:56 +08:00
chenos
b7113b658a fix(client): page title translation doesn't work
resolve #838
2022-11-13 17:17:06 +08:00
chenos
dcb5a71b92 feat: log user id 2022-11-13 17:14:14 +08:00
chenos
c9baf3f02c
fix: mysql variable 'lower_case_table_names' must be set to '0' or '2' (#1078) 2022-11-12 21:32:50 +08:00
ChengLei Shao
3263a241ab
feat: logging package (#1021)
* feat: logging package

* chore: dependency

* chore: pino

* feat: request log

* feat: log rotate

* fix: gitignore

* fix: gitignore

* fix: middleware await

* fix: test

* docs: logging

* feat: log error handler errors

* feat: improve code

* fix: response error log level

* feat: log http body

* feat: improve code

* feat: improve code

* feat: update docs

* fix: error

* feat: improve code

* fix: deps

* feat: update docs

* fix: error

* fix:  colorize

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-11-12 17:12:50 +08:00
Junyi
188800c018
Refactor: plugin-workflow client (#1077)
* feat(plugin-worklfow): adjust ui

* refactor(plugin-workflow): move locale into plugin

* fix(plugin-workflow): fix executions history loading
2022-11-11 23:37:41 +08:00
ChengLei Shao
83cc19a013
fix: reference options sync (#1061)
* fix: sync onDelete options between field and reverseField

* feat: reference compatibility
2022-11-10 21:28:33 +08:00
Junyi
8a8478cf4c
refactor(plugin-workflow): adjust some api (#1067) 2022-11-10 13:33:52 +08:00
Junyi
1bd3e93588
fix(plugin-workflow): fix trigger getter (#1060) 2022-11-09 09:44:07 +08:00
ke
2aa4468763
Update README.md (#1053) 2022-11-09 09:19:29 +08:00
chenos
0a90101a58 fix: clearKeywords 2022-11-08 22:54:34 +08:00
chenos
406813e932 feat(client): search and select collection 2022-11-08 22:39:01 +08:00
chenos
72838b7f49 fix(selector): button cannot be submitted 2022-11-08 17:30:16 +08:00
chenos
7e947b5f10 fix: improve translation 2022-11-08 17:29:21 +08:00
chenos
8f623bb22d fix(error-handler): add error handler middleware before cors 2022-11-08 17:24:12 +08:00
lyf-coder
ce5f835829
test(collection-manager): 20221104151410-update-collections-hidden test correct (#1042)
fix new version test fail
2022-11-05 01:38:39 +08:00
chenos
dcee3dd94a chore(versions): 😊 publish v0.8.0-alpha.13 2022-11-04 21:23:02 +08:00
lyf-coder
8996dc6899
test(collection-manager): migration - 20221104151410-update-collections-hidden test optimize (#1040) 2022-11-04 20:44:12 +08:00
lyf-coder
dd20951323
chore(collection-manager): migration - 20221104151410-update-collections-hidden (#1039) 2022-11-04 17:17:35 +08:00
chenos
b425ac0413 feat: update submodules 2022-11-04 15:46:25 +08:00
chenos
3aa7c0787a
fix: db sync failed (#1037)
* fix: db sync failed

* fix: remove db sync
2022-11-04 15:38:08 +08:00
katherinehhh
3e06e575f1
feat: 添加字段浮窗定位优化 (#1034) 2022-11-04 15:28:53 +08:00