426 Commits

Author SHA1 Message Date
nocobase[bot]
95134d0273 Merge branch 'main' into next 2024-11-10 02:22:04 +00:00
chenos
451210a248 docs: update README.md 2024-11-10 10:09:21 +08:00
nocobase[bot]
63ba93dfd1 Merge branch 'main' into next 2024-11-10 02:06:13 +00:00
ChengLei Shao
bea2d4880e
fix: import with m2m id field (#5623) 2024-11-10 10:05:53 +08:00
ChengLei Shao
c728146160
refactor: collections api (#5610)
* chore: test

* chore: list meta

* chore: list meta api

* fix: test
2024-11-08 12:44:13 +08:00
ChengLei Shao
8e1eed7c2f
feat: database beanchmark (#5615)
* chore: db logging with sql benchmark

* chore: log response size
2024-11-08 12:13:43 +08:00
ChengLei Shao
85a6c171fa
fix: import with datetime no tz field (#5614)
* fix: import with datetime no tz field

* chore: console.log

* chore: console.log
2024-11-08 11:41:56 +08:00
ChengLei Shao
ef1ded8ff2
fix: import with date field (#5606)
* fix: import with dateOnly and datetimeNoTz field

* fix: import with date field

* fix: export datetime filed

* fix: test

* fix: test

* fix: test

* fix: unixtimestamp import

* chore: test
2024-11-07 21:05:58 +08:00
nocobase[bot]
493ee41f3e Merge branch 'main' into next 2024-11-06 12:33:14 +00:00
ChengLei Shao
0082fb7dec
chore: file collection unavailable action (#5604) 2024-11-06 20:32:44 +08:00
nocobase[bot]
4508ba564c Merge branch 'main' into next 2024-11-06 05:47:09 +00:00
ChengLei Shao
88cc322a8c
fix: import with belongs to associations (#5417)
* fix: import with belongs to associations

* chore: test
2024-11-06 13:17:27 +08:00
nocobase[bot]
47763e68fd Merge branch 'main' into next 2024-11-06 02:29:48 +00:00
ChengLei Shao
5788841df6
fix: export with i18n (#5591) 2024-11-06 10:29:26 +08:00
Sheldon Guo
ee512d7c9d
feat(notification-in-app-message): support in-app messages for mobile client (#5560)
feat(notification-in-app-message): support in-app messages for mobile client
2024-11-06 09:29:05 +08:00
Chareice
5b31c1006b
chore: db logging with sql benchmark 2024-11-05 21:28:45 +08:00
ChengLei Shao
e818195dd1
fix: merge option with filter target key (#5558) 2024-10-31 21:41:10 +08:00
ChengLei Shao
eec0f30d40
fix: sequelize primary key field with multi filter target keys (#5556) 2024-10-31 17:38:07 +08:00
Sheldon Guo
056728d7ab
feat(plugin-notification-in-app) (#5254)
feat: Add inapp live message notifications.
---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2024-10-25 22:41:30 +08:00
nocobase[bot]
fdee3f0afe Merge branch 'main' into next 2024-10-25 00:27:45 +00:00
YANG QIA
18d31564b3
fix(client): string operators "contains/does not contains" should handle null value (#5509) 2024-10-25 08:27:22 +08:00
ChengLei Shao
a7f964988b
fix: update association with a non-primary key table (#5495)
* fix: update association with non primaryKey table

* fix: test

* fix: test

* fix: get primary key attribute with multi filter target keys

* fix: update has one associations

* fix: test

* fix: test

* chore: test

* chore: test

* chore: test

* chore: test

* chore: middleware

* chore: error condition

* chore: test

* fix: test
2024-10-25 07:21:07 +08:00
ChengLei Shao
6cbc96f1c7
feat: support for static loading logic of plugins (#5466)
* feat: extend database dialect

* chore: error message

* fix: pg version

* chore: error message

* feat: load plugins static import

* chore: static import

* fix: test

* chore: find packages

* fix: findAllPlugins

* feat: appendToBuiltInPlugins

* fix: runPluginStaticImports

* fix: create app

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-10-24 20:21:49 +08:00
nocobase[bot]
cb336ed4d9 Merge branch 'main' into next 2024-10-22 05:43:44 +00:00
ChengLei Shao
f3ef42968e
fix: sync event in inherited collection (#5477)
* fix: sync event in inherited collection

* fix: hooks options
2024-10-22 13:43:24 +08:00
Chareice
a78f2e1702
chore: filter to date event 2024-10-16 23:24:36 +08:00
ChengLei Shao
5d11c3cb74
fix: default sort with multi filter target keys (#5404) 2024-10-13 12:58:38 +08:00
ChengLei Shao
ad767a3c1c
fix: default sort with multi filter target keys (#5383) 2024-10-10 14:45:06 +08:00
GitHub Actions Bot
26b99964fd Merge branch 'main' into next 2024-10-09 06:59:00 +00:00
ChengLei Shao
15eb170f41
chore: not throw error when drop view without permission (#5377) 2024-10-09 14:58:38 +08:00
chenos
b4c9cd988b Merge branch 'main' into next
# Conflicts:
#	packages/core/database/src/database.ts
2024-09-26 22:24:42 +08:00
chenos
a8de9193d8 feat: allow skipping db version check 2024-09-26 22:23:40 +08:00
GitHub Actions Bot
978927f768 Merge branch 'main' into next 2024-09-26 13:47:44 +00:00
ChengLei Shao
348fbcd806
chore: options from raw type (#5327) 2024-09-26 21:44:12 +08:00
GitHub Actions Bot
c610c4e830 Merge branch 'main' into next 2024-09-26 00:30:05 +00:00
ChengLei Shao
2199969579
fix: scope key error (#5322)
* fix: scope key error

* fix: group by scope key

* fix: test
2024-09-26 08:21:02 +08:00
GitHub Actions Bot
69ab96afe1 Merge branch 'main' into next 2024-09-25 23:12:21 +00:00
ChengLei Shao
786e1e4f25
fix: export with decimal field (#5316)
* fix: export with decimal field

* fix: test
2024-09-26 07:12:03 +08:00
ChengLei Shao
06af42da5b
Revert "fix: scope key error (#5314)" (#5321)
This reverts commit e6d7d3a15407104311a30fd6871ca149a45bf4da.
2024-09-25 17:48:15 +08:00
ChengLei Shao
e6d7d3a154
fix: scope key error (#5314) 2024-09-24 19:37:04 +08:00
Zeke Zhang
ffc2982380
feat(acl): add support for configuring mobile menu permissions (#5174)
* refactor(plugin-acl): extensible support for role permissions configuration UI

* feat: complete the configuration UI

* feat: complete the backend section

* chore: update unit tests

* chore: add translation

* chore: change 'Menu' to 'Desktop menu'

* refactor: use 'extendCollection' instead of 'this.db.extendCollection'

* chore: update acl e2e test

* test: add e2e tests

* fix: should refresh data when changing tab

* fix(menu): should hide children when children only have one

* feat: show tip when no pages find

* feat(tabBar): supports left and right swiping

* refactor: improve code

* chore: make e2e test pass

* chore: add migration

* fix: should use tk instead of values

* chore: nothing

* fix: improve

* refactor: rename mobileMenuUiSchemas to mobileRoutes

* refactor: add onDelete

* fix: change snippet to 'pm.mobile' from 'pm.mobile.roles'

* refactor: extract nested loop to outside

* refactor: use db.on('mobileRoutes:afterCreate')

* refactor: simplify code logic

* chore: fix build

* fix: improve code

* chore: fix build

* feat: hide menu configuration UI when no permission

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-21 23:04:26 +08:00
katherinehhh
ba46b69ff3 Merge branch 'main' into next 2024-09-19 16:55:44 +08:00
ChengLei Shao
cbad693221
fix(action-import): import with checkbox field (#4992) 2024-09-19 09:15:27 +08:00
ChengLei Shao
da4a5b56e5
fix: count of multi filter target keys (#5251) 2024-09-11 14:32:59 +08:00
Katherine
0d32ba4ff5
chore: support composite record unique key (#5007)
* refactor: filterTargetkey support mutiple

* refactor: getRowKey

* fix: bug

* chore: test

* chore: test

* chore: test

* fix: bug

* fix: build

* fix: useBulkDestroyActionProps support join primary key

* fix: build

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: fieldNames

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: sourceIdValue

* fix: remoteselect

* chore: test

* chore: multi target key in has many relation repository

* chore: test

* chore: multiple relation repository

* fix: test

* refactor: target collection not support join collection

* Update update-associations.ts

---------

Co-authored-by: Chareice <chareice@live.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-10 21:51:37 +08:00
ChengLei Shao
a7df0e3fd3
refactor: datetime field (#5084)
* refactor: date field support timezone, defaultToCurrentTime, and onUpdateToCurrentTime

* refactor: availableTypes unixTimestamp

* chore: defaultToCurrentTime

* chore: unix timestamp field

* fix: bug

* chore: field type map

* refactor: local improve

* fix: bug

* fix: bug

* chore: timezone test

* chore: test

* fix: test

* fix: test

* chore: field setter

* chore: test

* chore: date only field

* chore: test

* chore: test

* fix: bug

* fix: unixTimestamp

* fix: unixTimestamp

* chore: accuracy

* fix: bug

* fix: bug

* fix: unixTimestamp

* fix: unixTimestamp

* fix: date & datetime

* refactor:  add DateFieldInterface

* fix: bug

* chore: test

* chore: test

* chore: test

* refactor: locale improve

* refactor: local improve

* fix: bug

* refactor: unixTimestamp not support default value

* refactor: timezone

* refactor: datetimeNoTzFieldInterface

* refactor: locale improve

* refactor: locale improve

* fix: test

* fix: bug

* chore: datetime no tz field

* refactor: datetimeNoTz

* refactor: datetime

* fix: bug

* refactor: timeFormat

* style: collection fields style improve

* refactor: defaultToCurrentTime

* fix: datetime no tz

* chore: field type map

* fix: bug

* fix: bug

* refactor: createAt & updateAt

* fix: bug

* fix: no tz field with timezone

* refactor: dateonly

* fix: test

* chore: data type map

* fix: dateonly

* fix: dateonly

* fix: datetime

* refactor: locale improve

* refactor: unixtimestamp

* fix: merge bug

* fix: bug

* fix: datetime

* fix: datetime no tz

* fix: datetime no tz

* chore: mysql datetime map

* chore: test

* chore: test

* chore: test

* chore: datetimeTz field

* fix: no interface option

* refactor: update type

* refactor: update type

* fix: pg no tz field

* chore: save iso8601 format to no tz field

* fix: test

* fix: test

* refactor: gannt & calender startTime & endTime

* refactor: unixTimestamp

* chore: filter of datetime field

* chore: test

* chore: test

* fix: test

* fix: datetime no tz filter

* chore: test

* chore: test

* fix: datetime default value in mysql

* fix: sqlite test

* chore: test

* fix: test

* fix: test

* fix: $dateOn

* fix: bug

* fix: bug

* refactor: datepicker

* fix: test

* refactor: datePicker

* refactor: gantt setting

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-09-10 15:25:20 +08:00
ChengLei Shao
841db6ce9f
fix: export with relation repository (#5170) 2024-09-03 07:33:29 +08:00
ChengLei Shao
87c7bcb084
chore: support year data type in mysql (#5123) 2024-08-29 18:54:44 +08:00
katherinehhh
c66cf82d9f Merge branch 'main' into next 2024-08-22 16:57:20 +08:00
Katherine
039bc76a97
refactor: collection support simplePaginate (#5099)
* refactor: collection support simplePaginate

* refactor: locale improve

* fix: test

* chore: simple paginate option

* chore: test

---------

Co-authored-by: Chareice <chareice@live.com>
2024-08-22 15:30:36 +08:00