508 Commits

Author SHA1 Message Date
Junyi
15bb8ac97b
fix(database): fix test cases (#6811)
* fix(database): fix test cases

* fix(database): fix unique and null
2025-05-01 11:47:17 +08:00
Junyi
823d67ac13
fix(database): fix trim option for string and text field (#6797) 2025-04-28 21:17:05 +08:00
Katherine
e2e4c69941
refactor: unavailableActions to sql collection and view collection (#6765)
* refactor: unavailableActions to sql collection and view collection

* fix: unavailableActions
2025-04-24 20:09:42 +08:00
ajie
454ab34921
fix: ci build (#6687) 2025-04-17 12:13:41 +08:00
ajie
5eda5ba21d
fix: fixed an error importing xlsx time field (#6672) 2025-04-16 17:14:23 +08:00
YANG QIA
12e6824153
fix(db): filterByTk is ignored when both filter and filterByTk are used in o2m deletion (#6606)
* fix(db): `filterByTk` is ignored when both `filter` and `filterByTk` are used in o2m deletion

* test: add test
2025-04-01 23:28:41 +08:00
Junyi
54817e1453
feat(database): add trim option for text field (#6603) 2025-04-01 17:47:12 +08:00
Junyi
164772afb8
fix(database): fix datetimeNoTz field (#6588)
* fix(database): fix datetimeNoTz field

* fix(database): fix test case
2025-04-01 15:10:28 +08:00
Junyi
4c3255d455
feat(database): add trim option for string field (#6565)
* feat(database): add trim option for string field

* refactor(database): change to setDataValue instead of hooks

* fix(database): fix test case of view collection
2025-04-01 13:25:08 +08:00
YANG QIA
04e943a0b2
fix(m2m-array): error of filtering by fields in an association collection with a m2m array field (#6596)
* fix(m2m-array): error of filtering by fields in an association collection with a m2m array field

* test: add test

* feat: generateJoinOnForJSONArray
2025-04-01 11:00:59 +08:00
chenos
436af4b9f3
fix: runPluginStaticImports (#6528) 2025-03-23 08:59:28 +08:00
chenos
2e737f74fd
chore: create-mock-database (#6522)
* chore: create-mock-database

* fix: mockDatabase
2025-03-21 12:14:31 +08:00
Junyi
7da1c200ed
feat(plugin-workflow-aggregate): add precision option (#6491) 2025-03-18 12:20:33 +08:00
ajie
30c612cb08
fix: unable to create a MySQL view (#6477)
* fix: unable to create a MySQL view
2025-03-18 11:47:25 +08:00
Junyi
3d8c27ff1b
fix(plugin-workflow-manual): fix migration (#6445)
* fix(plugin-workflow-manual): fix migration

* fix(plugin-workflow-manual): fix constraints key name

* test(plugin-workflow-manual): add test case and fix

* fix(plugin-workflow-manual): add migration to delete m2m fields

* fix(plugin-workflow-manual): fix esists check

* fix(plugin-workflow-manual): fix drop primary key in mysql

* fix(plugin-workflow-manual): ignore sqlite

* test(plugin-workflow-manual): check mysql

* test(plugin-workflow-manual): use isolate level on transaction

* test(plugin-workflow-manual): use described columns to check
2025-03-14 00:06:18 +08:00
nocobase[bot]
079401f2dc Merge branch 'main' into next 2025-03-06 01:00:16 +00:00
YANG QIA
4b2b1da8ad
fix(db): the string sourceKeyValue in relation repository is being converted to a number (#6360) 2025-03-06 08:59:52 +08:00
nocobase[bot]
d48adaac6a Merge branch 'main' into next 2025-02-26 12:09:01 +00:00
Junyi
22869ca184
fix(plugin-file-manager): fix migration for inherited collection (#6310) 2025-02-26 20:08:35 +08:00
nocobase[bot]
d845e63765 Merge branch 'next' into develop 2025-01-25 14:20:41 +00:00
nocobase[bot]
de782020d2 Merge branch 'main' into next 2025-01-25 14:20:19 +00:00
ChengLei Shao
b6d83503c3
fix: query uuid field (#6138)
* fix: query uuid field

* fix: test
2025-01-25 22:19:54 +08:00
nocobase[bot]
8eb3b87dc3 Merge branch 'next' into develop 2025-01-24 15:06:35 +00:00
katherinehhh
cae5d68211 Merge branch 'main' into next 2025-01-24 23:05:50 +08:00
Katherine
a00dcb78cb
refactor: optimize filter component in filter form to match filterable settings (#6110)
* fix: display checkbox field as select in filter form

* fix: bug

* chore: filterCollectionffield

* refactor: code improve

* fix: bug

* fix: bug

* fix: isTruly and isFalsy

* fix: bug

* fix: bug

* fix: bug

* fix: bug

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-01-24 23:00:35 +08:00
YANG QIA
7c0d424173
fix(m2m-array): updating many to many (array) fields in a subform is not working (#6136)
* fix(m2m-array): updating many to many (array) fields in a subform is not working

* test: add tests

* fix: build

* fix: test
2025-01-24 22:41:42 +08:00
Chareice
2b58c13aa5
chore: migration rules 2025-01-24 22:31:39 +08:00
nocobase[bot]
bf756708a5 Merge branch 'next' into develop 2025-01-23 02:46:43 +00:00
nocobase[bot]
4ca070a7e6 Merge branch 'main' into next 2025-01-23 02:46:16 +00:00
ChengLei Shao
f66a48abd0
fix: update table value without primary keys (#6124)
* fix: update table value without primary keys

* fix: test

* fix: test
2025-01-23 10:45:54 +08:00
chenos
1738b11f57 fix: type MigrationRule 2025-01-16 11:51:18 +08:00
ChengLei Shao
41c86e77a8
fix: init sort field by primary key (#6059)
* fix: init sort field by primary key

* fix: sort key

* fix: test
2025-01-14 16:51:30 +08:00
nocobase[bot]
e8cdcc94ae Merge branch 'next' into develop 2025-01-10 01:36:03 +00:00
nocobase[bot]
0a39303350 Merge branch 'main' into next 2025-01-09 13:32:53 +00:00
ChengLei Shao
9b8c274fc9
fix: fields sort (#6028) 2025-01-09 21:31:39 +08:00
nocobase[bot]
0d659aa170 Merge branch 'next' into develop 2025-01-09 02:11:08 +00:00
Chareice
b4f262d2da
Merge branch 'main' into next 2025-01-09 09:48:01 +08:00
ChengLei Shao
ec92727a20
fix: import with associations (#6024)
* fix: import with associations

* chore: console.log
2025-01-09 09:19:02 +08:00
Katherine
5d5f455b3c
feat: supports configuring dynamic environment variables and secrets (#5966)
* feat: environments plugin

* feat: improve code

* fix: improve code

* feat: improve code

* refactor: package description

* feat: bulk import

* fix: remove

* refactor: file manager support environment variables

* refactor: file manager support environment variables

* refactor: map manager support environment variables

* refactor: support environment variables

* refactor: support environment variables

* refactor: support delete environment variables

* fix: bug

* refactor: workflow support environment variables

* refactor: email  environment variables

* refactor: support bulk import

* refactor: support bulk import

* refactor: support bulk import

* refactor: support bulk import

* refactor: code improve

* feat: env

* chore: update

* feat: environment

* fix: bug

* fix: acl snippet

* fix: acl snippets

* chore: map manager

* refactor: support line break

* refactor: support password

* chore: environment variables

* fix: bug

* fix: bug

* chore: enviroment variables

* chore: system settings

* fix: improve code

* feat: verification

* feat: map

* feat: file-manager

* feat: notification

* fix: bug

* feat: workflow

* fix: improve code

* fix: bug

* feat: data-source

* feat: auth

* fix: error

* fix: bug

* refactor: description

* refactor: locale

* refactor: locale

* refactor: locale

* refactor: code improve

* refactor: locale

* refactor: locale

* style: style improve

* fix: error

* fix: bug

* fix: bug

* refactor: environment

* fix: ellipsis

* refactor: password

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* chore: test

* fix: cache

* fix: mysql dialect options

* refactor: email config form

* fix: bug

* fix: bug

* fix: authenticator.dataValues parse

* fix: include undefined

* fix: json

* fix: json parse

* chore: enviromentProvider

* fix: acl

* fix: rowKey

* fix: update ProviderOptions.tsx

* feat: get app instance

* fix: bug

* fix: text

* fix: build error

* fix: error

* chore: migration rules options

* chore: migration rules

* refactor: code improve

* feat: env v2

* chore: environment varibales

* chore: environment serve

* fix: getVariables

* feat: improve code

* fix: bug

* chore: collection options for migration

* chore: tree collection options

* chore: migration rules

* chore: migration rules

* chore: env api

* chore: env api

* fix: optionsKeysNotAllowedInEnv

* fix: required true

* fix: improve code

* fix: app refresh

* fix: remove db.import

* fix: type error

* fix: map

* refactor: locale improve

* refactor: tx-cos

* fix: undefined

* refactor: code improve

* chore: use bookworm

* fix: npm add user

* fix: npm login

* fix: npm adduser

* fix: npm adduser

* fix: expect

* fix: expect

* fix: environmentVariables

* refactor: support bulk delete & filter

* refactor: locale improve

* feat: filter

* refactor: useGlobalVariable

* fix: scope

* fix: bug

* fix: optionsKeysNotAllowedInEnv

* fix: test error

* fix: test

* fix: test

* feat: improve code

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: Chareice <chareice@live.com>
2025-01-08 09:32:49 +08:00
Chareice
98103f7ad5
Merge branch 'main' into next 2024-12-31 19:40:02 +08:00
ChengLei Shao
2f7189a42f
fix: destory with filterByTk (#5976) 2024-12-31 19:30:35 +08:00
nocobase[bot]
0e0b4a4361 Merge branch 'main' into next 2024-12-31 01:44:45 +00:00
chenos
e47f0ff342
fix: the firstOrCreate and updateOrCreate methods of the repository lose context (#5973) 2024-12-31 09:44:16 +08:00
nocobase[bot]
d2bd8cdf48 Merge branch 'main' into next 2024-12-26 06:24:12 +00:00
chenos
c79b7297f2
fix: unix timestamp accuracy (#5931)
* fix: unix timestamp accuracy

* fix: unixTimestamp support int value

* fix: tojson

* fix(database): fix unix timestamp input value on number type

* chore(database): remove only in test

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2024-12-26 14:23:51 +08:00
nocobase[bot]
289d476ad1 Merge branch 'main' into next 2024-12-16 07:02:30 +00:00
ChengLei Shao
347d43c0c5
feat(database): add firstOrCreate and updateOrCreate methods to Relation repository (#5894)
* feat(database): add firstOrCreate and updateOrCreate methods to BelongsToManyRepository

* fix: build

* fix: test
2024-12-16 15:02:06 +08:00
nocobase[bot]
a623362ac5 Merge branch 'main' into next 2024-12-16 01:26:25 +00:00
ChengLei Shao
fef379d9bf
fix: datetime parser of YYYYMMDD format (#5891)
* fix: parse number format in date only field

* chore: test

* chore: build
2024-12-16 09:26:03 +08:00
nocobase[bot]
082fa157f5 Merge branch 'main' into next 2024-12-16 01:25:46 +00:00