nocobase2/packages/plugins/@nocobase
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
..
plugin-acl chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-action-bulk-edit chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-action-bulk-update fix: missing afterSuccess configuration for the submit action (#5329) 2024-09-26 17:19:16 +08:00
plugin-action-custom-request feat(custom-request): support concatenation of variables and strings (#5317) 2024-09-26 20:54:51 +08:00
plugin-action-duplicate chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-action-export Merge branch 'main' into next 2024-09-25 23:12:21 +00:00
plugin-action-import chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-action-print chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-api-doc chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-api-keys chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-audit-logs chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-auth feat: support for switching languages on the login page (#5323) 2024-09-26 07:25:33 +08:00
plugin-auth-sms chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-backup-restore chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-block-iframe chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-block-workbench chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-calendar feat(custom-request): support adding custom request in more places (#5320) 2024-09-25 22:27:24 +08:00
plugin-charts chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-client chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-collection-sql chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-collection-tree chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-data-source-main chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-data-source-manager chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-data-visualization chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-disable-pm-add chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-error-handler chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-field-china-region chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-field-formula chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-field-m2m-array chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-field-markdown-vditor chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-field-sequence chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-file-manager chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-gantt feat(custom-request): support adding custom request in more places (#5320) 2024-09-25 22:27:24 +08:00
plugin-graph-collection-manager chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-kanban Merge branch 'main' into next 2024-09-26 10:28:12 +08:00
plugin-localization chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-logger chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-map feat(custom-request): support adding custom request in more places (#5320) 2024-09-25 22:27:24 +08:00
plugin-mobile fix(mobile): correct z-index (#5333) 2024-09-27 07:15:31 +08:00
plugin-mobile-client chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-mock-collections chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-multi-app-manager chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-multi-app-share-collection chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-notification-email feat: notification manager and email channel notification (#4926) 2024-09-28 23:55:04 +08:00
plugin-notification-manager feat: notification manager and email channel notification (#4926) 2024-09-28 23:55:04 +08:00
plugin-notifications chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-public-forms refactor: error feedback when the form does not exist in public forms (#5336) 2024-09-27 17:29:18 +08:00
plugin-sample-hello chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-snapshot-field chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-system-settings chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-theme-editor chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-ui-schema-storage chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-user-data-sync chore(user-data-sync): optimize wordings by updating prompt (#5244) 2024-09-13 22:46:24 +08:00
plugin-users chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-verification chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow refactor(client): add nullable option for variable input component (#5223) 2024-09-26 21:50:09 +08:00
plugin-workflow-action-trigger chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-aggregate chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-delay chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-dynamic-calculation chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-loop chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-mailer chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-manual chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-notification feat: notification manager and email channel notification (#4926) 2024-09-28 23:55:04 +08:00
plugin-workflow-parallel chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-request chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-sql chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00
plugin-workflow-test chore(versions): 😊 publish v1.3.25-beta 2024-09-25 13:23:32 +00:00