2405 Commits

Author SHA1 Message Date
GitHub Actions Bot
e5397b4a79 Merge branch 'main' into next 2024-09-29 00:34:20 +00:00
Zeke Zhang
4130d1d180
chore(mobile): hide scrollbar (#5339) 2024-09-29 08:33:53 +08:00
GitHub Actions Bot
b7c4d44e54 Merge branch 'main' into next 2024-09-28 23:40:21 +00:00
Zeke Zhang
6b07fc4352
fix(subpage): fix z-index (#5338) 2024-09-29 07:39:57 +08:00
Sheldon Guo
ff116acc42
feat: notification manager and email channel notification (#4926)
* feat: init plugin

* feat: core  fix schema

* feat: mail init plugin

* feat: core change plugin name

* feat:  notificationType初步可以正常工作

* feat: 动态表单可以正常渲染

* feat: 修改notification type从form或record获取

* feat: 修复关联字段无法正常渲染问题

* fix: change node version

* feat: delete useless code

* feat: change Notification Sever to class

* feat: change plugin name

* feat: change plugin name

* feat: add nodemailer

* feat: change message name

* feat: change field name

* feat: temp change collection name

* feat: 初步能加载所有messageLog,  筛选还不起作用

* feat: messageLog可以显示,  但是messageId还不显示

* feat: fix bugs

* feat: fefactor message create form

* feat: temp

* feat: use mail config

* feat: add plugin preset

* feat: use array items

* feat: fix message config bug

* feat: use next yarn.lock

* feat: change dependencies to devDependencies

* feat: not improt name from package.json

* fix: fix import error

* fix: resolve confict in yarn.lock

* feat: update messageLog to Log

* feat: add workflow

* feat: add variables support

* feat: use raw textarea

* feat: temp

* feat: temp

* chore: fix variable input null value bug. Add content custom form

* feat: upgrade plugin

* feat: upgrade plugin

* feat: upgrade plugin

* feat: remove channel options title

* chore: fix some problem

* feat: temp

* feat: make field vertical

* feat: make form vertical

* feat: add locale support

* feat: refactor notification server registration to use notificationManager

* feat: add notification manager locales

* chore: remove useless file

* feat: update channel ID field type to string

* refactor: add logs locale support

* refactor: remove unused NotificationPluginStorer class

* feat: update mail channel title localization

* feat: register snippet for notification messages and allow sending messages for logged-in users

* refactor: update mail server to write logs for successful and failed email deliveries

* refactor: update mail server to write logs for successful and failed email deliveries

* refactor: optimize notification sending process and add logging for successful and failed deliveries

* refactor: update logger messages for notification delivery status

* feat: add channel collection to LogManager component

* refactor: update mail server to write logs for successful and failed email deliveries

* refactor: change message send api access right

* refactor: add id field to channel form schema and update channel collection UI

* refactor: update messageLog collection to use UUID for primary key

* refactor: update mail server to write logs for successful and failed email deliveries

* refactor: update mail server configuration form schema and UI

* refactor: update mail server configuration form schema and UI

* refactor: update channel collection name and form schema

* refactor: update mail server to write logs for successful and failed email deliveries

* refactor: update NotificationInstruction to use options instead of res and error for job result

* refactor: rename mail plugin package to use SMTP in the name

* refactor: update mail plugin package name to include SMTP

* refactor: update channel collection name and form schema

* refactor: update channel collection name and form schema

* refactor: update channel collection name and form schema

* fix: filterTargetKey

* refactor: update channel sort key

* refactor: update channel collection name and form schema

* refactor: update localization strings for email notifications

* chore: add register type unit test

* refactor: remove unused imports in registerType.test.ts

* refactor: remove unused imports in NotificationInstruction.tsx

* feat: add 'notification-manager' to the list of required plugins

* refactor: update notification sending logic in NotificationInstruction.ts

* feat: notification-core: add plugin context

* feat: add receiverType field to MessageConfigForm

* feat: add receiverType field to MessageConfigForm

* feat: add receiverType field to MessageConfigForm

* feat: refactor ReceiverConfigForm component structure

* feat: add description to channel name field

* feat: update channel schema with ellipsis for long values

* feat: update channel schema with ellipsis for long values, use tablev2 and formv2

* refactor: improve workflow execute logs

* feat: update channel schema with ellipsis for long values, use tablev2 and formv2

* feat: update channel schema with refresh and filter actions

* feat: update nocobase presets with workflow notification and notification manager plugins

* feat: remove unused channelId property from SendOptions interface

* feat: update @nocobase/plugin-notification-manager dependency to version >=0.17.0-alpha.3

* feat: update package descriptions and display names for notification plugins

* feat: update MessageConfigForm to use variableOptions for ReceiverInputComponent

* chore: update plugin versions to 1.4.0-alpha

* feat: update channel schema to include channelTitle property

* feat: update notification manager plugin locale and form components

* feat: update mail-server.ts to support sending emails to multiple receivers, cc, and bcc

* feat: update channel manager component to handle empty channel types

* feat: update channel manager component to handle empty channel types

* feat: update channel manager component to handle empty channel types

* feat: update rowKey fallback value in useTableBlockProps

* feat: temp

* refactor: update mail-server.ts and tsconfig.json

* refactor: update mail-server.ts and tsconfig.json

* refactor: update tsconfig.json to enable strictNullChecks and disallow JavaScript files

feat: Add 'workflow-notification' plugin to the list of presets in server/index.ts

* refactor: update localization files for channel display name and failed reason

* chore: improve UI

* refactor: update localization files for message

* refactor: update delete action confirmation message

* refactor: update constant for notification logs collection name

* refactor: update channel schema for action buttons and delete confirmation

* refactor: update provider name retrieval in MessageConfigForm

* refactor: update localization files for message

* refactor: update sendParams in NotificationInstruction

* refactor: update channel type constant to 'smtp-mail'

* refactor: remove unused code related to delete action in channel manager

* refactor: remove unused code related to delete action in channel manager

* refactor: update channel collection name constant

* refactor: update log detail visibility condition

* refactor: rename ContentConfigForm to MessageConfigForm

* refactor: update register and send api

* feat: update channel registerType function params

* refactor: update channel type key in ConfigForm component

(cherry picked from commit a00c75a8fb972938a22b959cfcd5cc8e9decfc21)

* refactor: remove unused import in ConfigForm component

* fix: improve code

* refactor: fix channelTypes reference in PluginNotificationManagerClient

* refactor: add permission for notificationChannels in PluginNotificationManagerServer

* fix: improve code

* fix: improve code

* fix: improve code

* fix: improve code

* fix: improve code

* fix: acl

* fix: build error

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-28 23:55:04 +08:00
GitHub Actions Bot
f3d9c411e0 Merge branch 'main' into next 2024-09-27 03:04:36 +00:00
Zeke Zhang
ab0f029280
fix: refresh block data when closing sub-page by clicking page menu (#5331)
* fix: refresh block data when closing sub-page by clicking page menu

* test: add e2e test
2024-09-27 11:04:18 +08:00
GitHub Actions Bot
066cb261c6 Merge branch 'main' into next 2024-09-27 03:02:40 +00:00
Zeke Zhang
3513303022
fix(embed): fix issue with unable to open subpage (#5335) 2024-09-27 11:02:15 +08:00
Katherine
0924ddfa80
fix: after success setting for the submit button (#5332)
* fix: submit action should support after uccess setting

* fix: after success
2024-09-27 08:52:06 +08:00
Junyi
51423a37ac
refactor(client): add nullable option for variable input component (#5223)
* refactor(client): add nullable option for variable input component

* fix(client): fix test case
2024-09-26 21:50:09 +08:00
Zeke Zhang
23d55412a0
feat(custom-request): support concatenation of variables and strings (#5317)
* feat(custom-request): support concatenation of variables and strings

* chore: fix build

* chore: make e2e tests pass

* chore: make e2e more stable

* chore: fix the issue of unit tests not stopping after completion
2024-09-26 20:54:51 +08:00
Katherine
7f6c19c16e
fix: missing afterSuccess configuration for the submit action (#5329) 2024-09-26 17:19:16 +08:00
chenos
c3e740b552
feat: public forms (#5142)
* feat: public forms plugin

* refactor: public form

* refactor: parseCollectionData

* refactor: parseToken

* refactor: handleEditPublicForm

* refactor: parseACL

* refactor: enable form

* refactor: copy link

* refactor: edable password

* refactor: qr code

* refactor: create public form

* refactor: create public form

* refactor: bulk destroy

* fix: bug

* refactor: support nester form

* refactor: show message under control

* refactor: support bulk destroy

* refactor: support bulk destroy

* refactor: adapt to mobile devices

* refactor: settings

* refactor: locale improve

* refactor: parseAcl

* refactor: parseAcl

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* refactor: dataSourceCollectionCascaderReadPretty

* fix: bug

* fix: bug

* fix: bug

* fix: collection template

* fix: style improve

* refactor: locale improve

* refactor: parseToken

* fix: bug

* style: brand style improve

* refactor: settings

* fix: bug

* fix: bug

* refactor: locale improve

* refactor: locale improve

* refactor: locale improve

* refactor: locale improve

* refactor: package.json

* refactor: create form schema

* refactor: create form schema

* fix: bug

* fix: parseToken

* fix: publicFormsSchema

* fix: publicFormsSchema

* fix: useSubmitActionProps

* fix: useSubmitActionProps

* fix: password

* fix: password

* refactor: custom request

* refactor: variable for public form

* style: style improve

* fix: bug

* style: style improve

* style: style improve

* refactor: filter

* refactor: locale improve

* refactor: locale improve

* refactor: locale improve

* fix: bug

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
2024-09-26 17:12:16 +08:00
Zeke Zhang
cdc188c8c8 Merge branch 'main' into next 2024-09-26 10:28:12 +08:00
Zeke Zhang
eb49b8fec0
fix(embed): fix issue with unable to open popup in kanban (#5326) 2024-09-26 10:21:04 +08:00
chenos
c3e7a8e93b
feat: support for switching languages on the login page (#5323) 2024-09-26 07:25:33 +08:00
Zeke Zhang
058e7e320d
feat(custom-request): support adding custom request in more places (#5320)
* feat(custom-request): support adding custom request buttons in more places

* fix: fix known issues
2024-09-25 22:27:24 +08:00
nocobase[bot]
e21ee4c334 chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
mytharcher
ca214dff10 Merge branch 'main' into next 2024-09-25 20:34:52 +08:00
Zeke Zhang
cbffcf95d7 fix(ellipsis): fix undefined error 2024-09-25 09:07:49 +08:00
Zeke Zhang
cd1d568922 chore: make e2e test more stable 2024-09-24 18:20:37 +08:00
Zeke Zhang
c3afb5ee91 fix(ellipsis): optimize text style 2024-09-24 18:02:34 +08:00
Zeke Zhang
ea5aeb3a09 fix(Table): optimize text style 2024-09-24 16:45:11 +08:00
Zeke Zhang
3c3efaa654 fix(Table): header text should not wrap when overflowing 2024-09-24 15:51:48 +08:00
Zeke Zhang
0aab9f5a75 chore(ellipsis): change title to 'Ellipsis overflow content' 2024-09-24 14:52:56 +08:00
mahuantest
2bde4a3176
feat(locale): update and improve Japanese translations in ja_JP files (#5292)
* feat(locale): update and improve Japanese translations in ja_JP files

* fix(locale): correct japanese translations in ja_JP files

---------

Co-authored-by: mahuan <1007409254@qq.com>
2024-09-24 14:50:13 +08:00
Zeke Zhang
dc11670f54
feat(fieldSettings): add a Settings named 'Ellipsis' (#5306)
* feat(fieldSettings): add a Settings named 'Ellipsis'

* chore: add translation

* chore: fix build

* chore: fix build

* chore: skip some unit tests

* fix: fix hidden prop

* test: add e2e test

* style(Kanban): optimize text style

* chore: make e2e test more stable
2024-09-24 13:45:32 +08:00
GitHub Actions Bot
2107c86c63 Merge branch 'main' into next 2024-09-24 04:31:55 +00:00
Zeke Zhang
35198b715e
fix(variable): should show all collection fields (#5310) 2024-09-24 12:29:16 +08:00
nocobase[bot]
d7e23da3fe chore(versions): 😊 publish v1.3.24-beta 2024-09-23 09:25:16 +00:00
Katherine
da426635ee
fix: markdown report error with each (#5305) 2024-09-23 17:19:27 +08:00
Zeke Zhang
597ee9d42c fix(Collapse): fix default value 2024-09-23 13:26:42 +08:00
Zeke Zhang
cfd5ff8b10
feat(Collapse): support to set default value (#5300)
* fix: remove configuration items that should not be displayed

* feat(Collapse): support to set default value

* fix: update UI after updating default value

* chore: fix build error

* chore: skip failed unit tests

* fix: fix the issue of default values for different fields not merging
2024-09-22 10:14:51 +08:00
GitHub Actions Bot
c83b578905 Merge branch 'main' into next 2024-09-20 06:54:39 +00:00
Katherine
45b814862a
fix: third party data source should support sortable in table column (#5293) 2024-09-20 14:49:09 +08:00
猫鱼豆腐
af0c442268
feat(client): supports setting the text align in the style configuration item of the field (#5272)
* feat(client): table text align

* refactor: remove useless code

* refactor: extract schemas outside the component

* chore: make e2e tests pass

* test: add e2e tests

* chore: fix build

---------

Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-09-20 01:24:35 +08:00
nocobase[bot]
391adc2800 chore(versions): 😊 publish v1.3.23-beta 2024-09-19 14:59:39 +00:00
katherinehhh
ba46b69ff3 Merge branch 'main' into next 2024-09-19 16:55:44 +08:00
Katherine
ccea048f65
fix: cannot select the option to delete the schedule in delete event action (#5274)
* fix: issue with deleteEven option

* fix: issue with deleteEven option

* fix: bug
2024-09-19 11:17:22 +08:00
Katherine
0f48897fa7
fix: error in configuration block under the newly added tab in the action panel popup action (#5285)
* refactor: style improve

* fix: bug

* style: improve

* style: style improve
2024-09-19 11:17:09 +08:00
GitHub Actions Bot
40fa00bd6a Merge branch 'main' into next 2024-09-18 12:52:31 +00:00
gchust
9856072374
fix: missing rowkey in actions permissions table (#5287) 2024-09-18 20:46:38 +08:00
GitHub Actions Bot
330f908cfb Merge branch 'main' into next 2024-09-18 08:11:42 +00:00
Zeke Zhang
4ba512ed17
fix(Table): prevent empty lines at the beginning (#5284)
* fix(Table): prevent empty lines at the beginning

* refactor: rename index to rowIndex
2024-09-18 16:11:16 +08:00
Zeke Zhang
473386e572 Merge branch 'main' into next 2024-09-18 14:44:06 +08:00
Zeke Zhang
620f03b99b
fix(create-nocobase-app): fix UI abnormalities caused by antd version… (#5281)
* fix(create-nocobase-app): fix UI abnormalities caused by antd version issues

* fix: lock antd version
2024-09-18 14:39:15 +08:00
chenos
d7dc8fa4cf
feat: simplify the process of adding and updating plugins (#5275)
* feat: auto download pro

* feat: improve code

* feat: improve code

* feat: improve code

* feat: improve code

* fix: test error

* fix: improve code

* fix: yarn install error

* fix: build error

* fix: generatePlugins

* fix: test error

* fix: download pro command

* fix: run error

* feat: version

* fix: require packageJson

* fix: improve code

* feat: improve code

* fix: improve code

* fix: test error

* fix: test error

* fix: improve code

* fix: removable

* fix: error

* fix: error
2024-09-15 01:37:46 +08:00
Katherine
28d08f619a
fix: recordpicker rowSelection (#5273) 2024-09-14 16:10:30 +08:00
GitHub Actions Bot
0d061a6c58 Merge branch 'main' into next 2024-09-14 07:42:58 +00:00