Commit Graph

25 Commits

Author SHA1 Message Date
Sheldon Guo
66e0f02216
chore(in-app-message): update icon (#5638)
* fix(plugin-notification-manager): fix compile function bug

* fix(plugin-notification-in-app-message): update icon from MailOutlined to BellOutlined
2024-11-12 17:45:30 +08:00
Junyi
e42c480d85
fix(plugin-notification-manager): fix template compiling (#5630) 2024-11-12 09:28:06 +08:00
nocobase[bot]
07b95c388a chore(versions): 😊 publish v1.4.0-alpha.8 2024-11-11 04:15:27 +00:00
nocobase[bot]
8618a33d68 chore(versions): 😊 publish v1.4.0-alpha.7 2024-11-11 02:25:11 +00:00
Sheldon Guo
35b5872338
feat(notification-manager): enhance channel manager UI (#5621) 2024-11-09 18:49:19 +08:00
nocobase[bot]
3733676d6e chore(versions): 😊 publish v1.4.0-alpha.6 2024-11-08 01:15:45 +00:00
nocobase[bot]
b3ea409d6c chore(versions): 😊 publish v1.4.0-alpha.5 2024-11-08 00:48:42 +00:00
nocobase[bot]
6c8a2ae3b5 chore(versions): 😊 publish v1.4.0-alpha.4 2024-11-08 00:26:17 +00:00
nocobase[bot]
3801a2e145 chore(versions): 😊 publish v1.4.0-alpha.3 2024-11-07 14:57:03 +00:00
Sheldon Guo
fa64909414
chore(notification-manager): update message structure to include receivers in notification log data (#5603)
* feat: include receivers in log data for notification sending

* feat: enhance message structure to include receivers in notification sending

* feat: update message structure to include receivers in notification log data
2024-11-07 09:53:57 +08:00
nocobase[bot]
a2d9b52ec5 chore(versions): 😊 publish v1.4.0-alpha.2 2024-11-06 09:44:44 +00:00
nocobase[bot]
e2dd54f338 chore(versions): 😊 publish v1.4.0-alpha.1 2024-11-06 06:59:06 +00:00
nocobase[bot]
1ca1a570c9 chore(versions): 😊 publish v1.4.0-alpha.0 2024-11-06 06:15:07 +00:00
Sheldon Guo
0ebaf5ef65
chore(notification-manager): add receivers to notification logs (#5561) 2024-11-06 11:46:16 +08:00
Junyi
45976f37b2
feat(plugin-notification-manager): support handlebars in notification message (#5559)
* feat(plugin-notification-manager): support handlebars in message

* fix(plugin-notification-manager): fix parsing null template

* fix(plugin-notification-manager): fix compile
2024-11-06 09:59:27 +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
YANG QIA
809ae5c011
feat(notification-manager): add UserSelect and UserAddition components (#5553)
* feat(notification-manager): add UserSelect and UserAddition components

* refactor(notification-manager): update type of 'reason' field to 'text'

* refactor(notification-manager): update error logging in NotificationManager

* refactor: refactor notification manager exports

---------

Co-authored-by: Sheldon Guo <sheldon_66@163.com>
2024-10-31 20:16:19 +08:00
Sheldon Guo
4bb9cdd141
Add some log to notification manager (#5546) 2024-10-29 18:38:59 +08:00
Junyi
e90fdde12c
refactor(plugin-notification-manager): adjust api (#5532) 2024-10-28 22:10:25 +08:00
Junyi
ec3e52e866
refactor(plugin-notification-manager): expose notification types api (#5531) 2024-10-28 21:56:46 +08:00
Junyi
74ee3479b5
refactor(plugin-notification-mananger): add types data hook api (#5529) 2024-10-28 21:28:29 +08:00
Junyi
20e8d799ad
fix(plugin-notification-manager): fix undefined bug (#5528) 2024-10-28 17:44:22 +08:00
Sheldon Guo
056728d7ab
feat(plugin-notification-in-app) (#5254)
Some checks failed
Build docker image / build-and-push (push) Has been cancelled
Build pro image / build-and-push (push) Has been cancelled
E2E / Build (push) Has been cancelled
NocoBase backend test / sqlite-test (20, false) (push) Has been cancelled
NocoBase backend test / sqlite-test (20, true) (push) Has been cancelled
NocoBase backend test / postgres-test (public, 20, nocobase, false) (push) Has been cancelled
NocoBase backend test / postgres-test (public, 20, nocobase, true) (push) Has been cancelled
NocoBase backend test / postgres-test (public, 20, public, false) (push) Has been cancelled
NocoBase backend test / postgres-test (public, 20, public, true) (push) Has been cancelled
NocoBase backend test / postgres-test (user_schema, 20, nocobase, false) (push) Has been cancelled
NocoBase backend test / postgres-test (user_schema, 20, nocobase, true) (push) Has been cancelled
NocoBase backend test / postgres-test (user_schema, 20, public, false) (push) Has been cancelled
NocoBase backend test / postgres-test (user_schema, 20, public, true) (push) Has been cancelled
NocoBase backend test / mysql-test (20, false) (push) Has been cancelled
NocoBase backend test / mysql-test (20, true) (push) Has been cancelled
NocoBase backend test / mariadb-test (20, false) (push) Has been cancelled
NocoBase backend test / mariadb-test (20, true) (push) Has been cancelled
NocoBase frontEnd test / frontend-test (18) (push) Has been cancelled
Test on Windows / build (push) Has been cancelled
E2E / Core and plugins (push) Has been cancelled
E2E / plugin-workflow (push) Has been cancelled
E2E / plugin-workflow-approval (push) Has been cancelled
E2E / plugin-data-source-main (push) Has been cancelled
E2E / Comment on PR (push) Has been cancelled
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
chenos
cc0f945dbf
feat: date type fields support setting the picker type (#5345)
* refactor: date field support picker

* refactor: date field support picker

* refactor: date time field

* refactor: date time field

* refactor: locale improve

* refactor: defaultValue

* refactor: datetime field

* refactor: remove week

* fix: bug

* fix: bug

* fix:  bug

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* refactor: test

* refactor: test

* fix: bug

* fix:  bug

* fix: bug

* refactor: expiresRadio

* refactor: datepicker

* fix: bug

* fix: bug

* fix: bug

* fix: test

* refactor: change operator

* refactor: change picker

* refactor: datetime operator schema

* refactor: filterWithPicker

* refactor: support linkage rule

* fix: bug

* refactor: useFilterFormItemInitializerFields

* refactor: useFilterFormItemInitializerFields

* fix: default value for datetime

* fix: bug

* fix: filter date time

* fix: filter date time

* fix: bug

* fix: bug

* refactor: datePicker RangePicker

* refactor: datePicker RangePicker

* style: date picker style improve

* fix: bug

* fix: bug

* fix: bug

* fix: default value

* fix: bulk edit datetime field

* fix: picker support third party data source

* fix: test

* fix: bug

* chore: fix unit test

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-09-30 18:38:08 +08:00
Sheldon Guo
ff116acc42
feat: notification manager and email channel notification (#4926)
Some checks are pending
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase Backend Test / sqlite-test (20, false) (push) Waiting to run
NocoBase Backend Test / sqlite-test (20, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, false) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, true) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, false) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, true) (push) Waiting to run
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Test on Windows / build (push) Waiting to run
* 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 a00c75a8fb)

* 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