28 Commits

Author SHA1 Message Date
Zeke Zhang
dcbaa767d2
feat(Vditor): support s3 pro (#6441)
* feat(Vditor): support s3 pro

* fix(Edit): refactor upload handling to improve custom request support

* fix(Edit): enhance file upload handling with custom request support and add localization for upload messages

* fix: input issue

* feat: enhance upload functionality by integrating collection manager in markdown editor

* feat: add upload error handling and improve localization messages for storage configuration

* fix: streamline upload loading message handling and improve baseUrl retrieval in storage actions

* fix: remove unused imports and refactor storage afterSave and afterDestroy hooks for better async handling

* refactor: enhance file upload functionality and improve loading messages across multiple locales

* refactor: streamline upload method selection process in PluginFileManagerClient

* fix: implement file upload support check and streamline storage retrieval process

* fix: add ACL permission check for logged-in users in Vditor plugin

* fix: change ACL permission from 'loggedIn' to 'public' for Vditor plugin

* fix: update file storage description in Markdown editor to include default attachments

* test: add unit tests for vditor storage check functionality

* test: add unit tests for PluginFileManagerClient uploadFile method

* fix: handle optional chaining for collection options in public forms plugin

* fix: add getStorageByCollectionName action and update permissions

* fix: update storage response structure in vditor plugin

* fix: update ACL permissions for vditor and storages to require logged-in users

* fix: simplify uploadFile method by removing redundant storageId retrieval

* fix: update storage assertions in vditor tests to use inline snapshots

* fix: enhance file upload functionality with improved storage handling and error messages

* fix: remove getStorageByCollectionName method and update ACL permissions for storages

* fix: remove commonUpload method from storage types and update imports

* fix: update parseCollectionData method to include dataSourceKey for improved data handling

* fix: update useStorageUploadProps to enhance storage upload properties handling

* fix: update action handling for storages to include createPresignedUrl

* fix: ensure focus in input box before file upload
2025-03-26 14:32:15 +08:00
nocobase[bot]
ca09100027 Merge branch 'main' into next 2025-03-17 00:54:52 +00:00
Junyi
5144d47eb9
refactor(plugin-file-manager): refactor file url generating (#6472)
* refactor(plugin-file-manager): change file url generation to a better way

* fix(plugin-file-manager): use url field first

* fix(client): remove unused function call

* fix(plugin-file-manager): fix test cases

* fix: local getURL

* fix: md5

* fix: getFileURL

* fix(plugin-file-manager): fix FileModel class

* fix: use DeleteObjectCommand

* fix(plugin-file-manager): fix package version and require

* test(plugin-file-manager): fix test cases

* fix: storageInstance

* fix: test case error

* fix: url-join

* fix: autoGenId false

* fix: url

* fix: file.url

* fix: file preview

* fix: test error

* fix: isURL

* fix: only

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2025-03-17 08:54:26 +08:00
Mathy Vandersmissen
6db5bd7f33
Update dutch language files (#6461) 2025-03-14 08:38:14 +08:00
nocobase[bot]
e56af7f93e Merge branch 'main' into next 2025-03-13 16:10:29 +00:00
Junyi
78455c1a5d
fix(plugin-file-manager): fix image url (#6459)
* fix(plugin-file-manager): fix image url

* fix(plugin-file-manager): fix url with search part

* fix(plugin-file-manager): fix lightbox preview url

* fix(plugin-file-manager): encode link url
2025-03-14 00:10:00 +08:00
nocobase[bot]
79aee8825d Merge branch 'main' into next 2025-03-12 13:40:09 +00:00
Jonas Fleischer
9d572bf8f4
feat: add German localization files for NocoBase core and plugins (#6435)
* feat: add German localization files for NocoBase core and plugins

* feat: expand German localization for NocoBase plugins compared to chinese translation

This commit adds and enhances German translation files across multiple NocoBase plugins, including:
- Workflow plugins (action trigger, manual, notification, etc.)
- File management
- Charts and data visualization
- Async task management
- Import/export functionality
- Theme editor
- And several other core and extension plugins
2025-03-12 21:35:26 +08:00
mahuantest
955457c121
feat(locale): add translation of nl-NL (dutch) (#6166)
* feat(locale): add offset param to charts-query(backend)

* feat(locale): add offset param to charts-query(frontend)

* feat(locale): add translation of de-DE

* feat(locale): add translation of nl-NL (dutch)

---------

Co-authored-by: mahuan <1007409254@qq.com>
2025-03-11 22:19:26 +08:00
N3tN00b3r
a1fe85bd03
Adding italian translation for plugins (#6316)
* Add italian translation

* Create it-IT.json
2025-03-07 17:16:16 +08:00
chenos
82000ee5f2 fix: vditor error 2025-02-17 20:41:47 +08:00
chenos
e33fc10f00
fix: vditor cdn use local resources (#6229) 2025-02-17 20:10:20 +08:00
nocobase[bot]
a19832de71 Merge branch 'main' into next 2024-12-12 01:49:00 +00:00
chenos
5808543ebc
fix: remove the default locale (#5867) 2024-12-12 09:48:38 +08:00
gchust
607773075a
feat: implement on-demand loading for frontend components (#5647)
* fix: missing less loader while building client

* fix: correct regex for .less file handling and resolve less-loader path

* feat: dynamic import big react components for core plugins

* chore: revert lerna.json

* chore: remove global deps duplications [skip ci]

* chore: optimization

* feat: dynamic import for markdown  vditor plugin

* chore: optimization

* chore: more optimization

* feat: code split for plugins with some ui components

* fix: incorrect submodule commit

* fix: test cases failure

* chore: refactor hook lazy import

* chore: improve lazy component loading

* chore:  lazy load vditor lib's js files [skip ci]

* chore: add bundle analyze option for client bundle

* chore: update loading sytle

* fix: add spinner when loading umi js files

* chore: clean

* chore: resolve develop branch confliction

* chore: refactor helper function name

* fix: error of lazy duplication [skip ci]

* fix: replace useImported with uselazyhook

* chore: rename

* chore: add comments for the helper function

* chore: update  comment

* fix: keep suspense into component level

* fix: improve code

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-11-26 20:58:55 +08:00
mahuan
09b86bf18b refactor: standardize localization file name 2024-10-22 23:02:52 +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
Katherine
7b31ff9911
refactor: markdownVditorFieldInterface suport availableTypes (#5246) 2024-09-11 11:19:21 +08:00
Katherine
b8acdc1477
fix: issue with markdown(Vditor) (#5176)
* fix: markdown(Vditor)

* fix: bug

* fix: bug

* fix: bug
2024-09-04 10:32:40 +08:00
YANG QIA
eb80f9635b
fix: increase the upload file size limit of field-markdown-vditor (#5063) 2024-08-15 14:46:09 +08:00
Katherine
a39df74a49
refactor: adjust the markdown field to use the input component in filtering (#4899) 2024-07-18 23:25:13 +08:00
chenos
e2a22d4c26 fix(vditor): lang error 2024-06-22 13:25:31 +08:00
YANG QIA
0fb18b495f
fix(auth): allows to set the auth type title translation from server end (#4616)
* fix(auth): allows to set auth type title translation from server end

* chore: move tval to utils

* chore: mark deprecated

* fix: test
2024-06-11 14:25:07 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header (#4028)
* fix: add license code

* fix: bug

* fix: bug

* fix: upgrade

* fix: improve

* chore: add copyright information to the file header

* fix: d.ts bug

* fix: bug

* fix: e2e bug

* fix: merge main

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
chenos
97d9136230 fix(vditor): file collection is not empty 2024-04-28 16:16:57 +08:00
chenos
0541ee36e6 fix(vditor): wait seconds 120s 2024-04-28 12:35:43 +08:00
Sun668
0d9b43206c
feat: load vditor dep from local (#4190)
* feat: load vditor dep from local

* fix: plugin-field-markdown-vditor build config

* Revert "fix: plugin-field-markdown-vditor build config"

This reverts commit 60d344d3402e0da916c918f65c81b1cd734fa3ce.

* feat: plugin-field-markdown-vditor: use NODE_ENV

* fix: plugin-field-markdown-vdtor dep preload

* fix: plugin-field-markdown-vdtor dep preload

* fix: plugin-field-markdown-vdtor dep preload

* feat: plugin-field-markdown-vditor set default valut for edit

* fix: cdn

* fix: set vditor editor value after create

* fix: cdn

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-28 11:23:14 +08:00
Sun668
4165d8baae
feat: add plugin-field-markdown-vditor (#4065)
* feat: create vditor field type, use Vditor as Markdown Editor

* feat: clear Markdown Vditor value when set props.value to null

* feat: add plugin-field-markdown-field to preset local plugin

* fix: fix the plugin-field-markdown-vditor name in preset

* fix: fix the plugin-field-markdown-vditor version in preset

* feat: set vditor disable if props.disable is true after init

* feat: use data from localstorage as vditor upload request headers

* fix: plugin-field-markdown-vditor version to 0.21.0-alpha.11

* feat: when fileCollection is not defined, remove upload from vditor toolbar

* feat: add temp function to reset vditor value

* fix: temp function to reset vditor value may include reset tag

* feat: update plugin-field-markdown-vditor i18n

* fix: i18n

* feat: temp disable fullscreen

* fix: remove useless file

* fix: plugin description

* fix: plugin description

* fix: plugin-field-markdown-vditor componentCls

* fix: plugin-field-markdown-vditadd default toobar config

* fix: use long text to save mardkwon

* fix: vditor fullscreen style

* feat: change vditor field datatype

* fix: code review

* fix: code review

* feat: change import method of katex in plugin-field-markdown-vditor

* fix: version

* fix: resize will cause blur

* fix: vditor base font-size

* fix: vditor base font-size

* feat: use style config from token as vditor base size

* fix: plugin-field-markdown-vditor i18n

* fix: toobar config tooltip can not be seen

* fix: vditor toobar default config

* feat: plugin-field-markdown-vditor doc url

* feat: move cursor to end when reset vditor value

* fix: value change will not set vditor

* feat: support getHeaders

* fix: improve component

* fix: enhance vditor init

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-26 08:42:01 +08:00