Commit Graph

1180 Commits

Author SHA1 Message Date
Katherine
fc90817fac
fix: issue with clicking settings on public form (#5392) 2024-10-12 11:40:59 +08:00
GitHub Actions Bot
ff06d68271 Merge branch 'main' into next 2024-10-11 13:43:58 +00:00
ChengLei Shao
1e1e976d28
fix: import with wps (#5397)
* fix: import with wps

* chore: console.log
2024-10-11 21:32:36 +08:00
katherinehhh
e3e7ebcee1 Merge branch 'main' into next 2024-10-11 21:03:57 +08:00
Katherine
fd0370b450
refactor: optimize calendar block locale (#5396) 2024-10-11 20:57:17 +08:00
Katherine
15e05d5a2c
refactor: support attachmentURL (#5313)
* refactor: support  attachmentURL

* refactor: support attachment field

* fix: bug

* refactor: attachment url field

* fix: bug

* fix: bug

* fix: merge bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: kanban appends

* fix: action export

* fix: action import

* fix: test

* fix: bug

* fix(client): fix file type check logic

* fix(client): fix image previewer by file type

* fix(client): fix null file type caused error in matching

* fix(client): fix thumbnail data

* refactor: datetime

* test: fix test

* fix(client): fix preview based on file type when url contains search part

* refactor: remote select

* fix: test

* fix: bug

---------

Co-authored-by: mytharcher <mytharcher@gmail.com>
2024-10-11 20:15:55 +08:00
GitHub Actions Bot
0fe6ec2eea Merge branch 'main' into next 2024-10-11 07:20:25 +00:00
ChengLei Shao
64b6e45709
fix: api doc of user plugin (#5391) 2024-10-11 15:20:00 +08:00
Katherine
f7ff74d5f3
chore: after success configure (#5374)
* chore: after success configure

* fix: bug

* refactor: locale

* fix: bulk edit

* fix: customize request

* refactor: public form not suport after success configiration
2024-10-11 10:11:39 +08:00
nocobase[bot]
ebec08b076 chore(versions): 😊 publish v1.3.30-beta 2024-10-11 00:43:36 +00:00
GitHub Actions Bot
f6db64af30 Merge branch 'main' into next 2024-10-10 23:14:06 +00:00
Zeke Zhang
e6a95b3b91
fix(mobile): fix file field rendering error issue (#5387)
* fix(mobile): fix file field rendering error issue

* test(AssociationFieldModeProvider): add unit tests
2024-10-11 07:13:47 +08:00
nocobase[bot]
d445a8f44f chore(versions): 😊 publish v1.3.29-beta 2024-10-10 06:45:56 +00:00
GitHub Actions Bot
2672789a64 Merge branch 'main' into next 2024-10-10 06:17:52 +00:00
Junyi
75efed6a19
fix(plugin-workflow): fix column name caused error when underscored (#5364) 2024-10-10 14:13:41 +08:00
Junyi
0183ef0561
fix(plugin-workflow-sql): fix no result when calling stored procedure (#5385) 2024-10-10 14:11:32 +08:00
Jiannx
61d9bdf0e5
fix: component CustomRequestAction support x-use-component-props (#5379) 2024-10-10 11:22:03 +08:00
nocobase[bot]
2e9260aa34 chore(versions): 😊 publish v1.3.28-beta 2024-10-09 23:18:27 +00:00
Junyi
31325556a1
fix(plugin-file-manager): fix storage configuration error (#5378) 2024-10-09 15:07:00 +08:00
GitHub Actions Bot
efc461c1c8 Merge branch 'main' into next 2024-10-09 01:20:19 +00:00
ChengLei Shao
259b0b707a
fix: import with big date (#5356) 2024-10-09 09:20:00 +08:00
GitHub Actions Bot
1f733a9d4a Merge branch 'main' into next 2024-10-08 22:57:19 +00:00
Zeke Zhang
83843ef163
fix(gantt): fix popup (#5370)
* fix(gantt): fix the issue where closing the popup also closes the subpage

* test: add e2e test

* chore: fix build
2024-10-09 06:56:53 +08:00
YANG QIA
ce74a77e96
feat(data-vi): optimize (#5299)
* refactor(data-vi): add echarts

* fix: echart

* feat: echarts

* chore: add migration

* feat: update

* feat: dark theme

* feat: add configuration

* chore: update

* chore: update

* fix: bug

* chore: update

* chore: update

* fix: test

* fix: build

* chore: update

* chore: locale
2024-10-08 20:15:00 +08:00
GitHub Actions Bot
bcd154453f Merge branch 'main' into next 2024-10-08 08:02:15 +00:00
Junyi
f074029624
fix(plugin-workflow): fix field crash in block (#5366) 2024-10-08 16:01:57 +08:00
Katherine
55cdfadee7
fix: undefined type in useDataBlockProps() (#5365) 2024-10-08 13:49:55 +08:00
Junyi
ddefabf917
feat(plugin-file-manager): add thumbnail rule for cos (#5097) 2024-10-07 20:41:45 +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
nocobase[bot]
6a41df2db3 chore(versions): 😊 publish v1.3.27-beta 2024-09-30 02:28:45 +00:00
chenos
c91c43a71b Revert "feat: date type fields support setting the picker type (#5271)"
This reverts commit dcaad79370.
2024-09-30 08:41:51 +08:00
Katherine
dcaad79370
feat: date type fields support setting the picker type (#5271)
* 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
2024-09-29 17:49:44 +08:00
Katherine
0ddb548435
refactor: action panel support using in popup (#5341) 2024-09-29 15:51:49 +08:00
nocobase[bot]
c6f24eb7fc chore(versions): 😊 publish v1.3.26-beta 2024-09-29 01:20:34 +00:00
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
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
Katherine
49bbdc13f3
refactor: error feedback when the form does not exist in public forms (#5336)
* refactor:  error feedback when the form does not exist in public forms

* fix: collection not found
2024-09-27 17:29:18 +08:00
Zeke Zhang
81d1353511
fix(mobile): correct z-index (#5333) 2024-09-27 07:15:31 +08:00
Katherine
4a5aa7542b
fix(public-form): authorization validation and content optimization (#5330)
* fix: public form

* refactor: locale improve

* refactor: markdown locale

* fix: translation

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-09-26 22:06:34 +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
chenos
5fb009ed33 fix: remove permission skip 2024-09-26 20:03:50 +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
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