This is an automated email from the ASF dual-hosted git repository. linkinstar pushed a change to branch meta in repository https://gitbox.apache.org/repos/asf/answer.git
from 6ea5a4aa Merge remote-tracking branch 'origin/main' into meta add 9368da2c fix: code snippet caused the layout to break #1329 add 50bed824 feat: Supports separate setting of navigation background color add 4ae8d8ac fix: reset navbar_style default color add 95f5de54 fix: customize renamed to apperance and move branding below apprance add 17b88b6a fix: reanme css/html page title and fix some zh_cn translations add cde3ef96 fix: admin gravatar base URL is empty should use placehoder for default value add c7ab8534 feat(plugin): add key-value storage support for plugins add 8579bde6 refactor(plugin): improved initialization of the KV storage plugin add d12ac86d perf(plugin): remove unnecessary KV storage checks add d90810af fix(plugin): rename 'close' to avoid builtin collision add 9ea153b4 refactor(plugin): improve KV storage with better caching and param handling add c7646bd6 docs(plugin): Add comments to KVOperator methods to improve code readability add aa0493e4 feat(migrations): Add v26 migration file to support plugin KV storage add ed543e88 fix(plugin): set params.Value in Get method to ensure correct value retrieval add 1baa3f0f chore(migrations): update migration version add 54f7682e docs(command): remove redundant comments add c6189e50 docs(command): unify style of usage statements add 9331690b fix: When copying text and images, can the images only appear at the end of the article add 89df65c8 fix: Copy content avoids multiple consecutive newlines add 84cc97dc fix: pre tag background color adjustment, remove the background color of the quoted content add 20d7e4bc feat(plugin): add key-value storage support for plugins add 42cc0688 refactor(plugin): improved initialization of the KV storage plugin add 9f8cab56 perf(plugin): remove unnecessary KV storage checks add 42d6ad61 fix(plugin): rename 'close' to avoid builtin collision add 56f36ec5 refactor(plugin): improve KV storage with better caching and param handling add beac0238 docs(plugin): Add comments to KVOperator methods to improve code readability add 15ef8153 feat(migrations): Add v26 migration file to support plugin KV storage add d866ca71 fix(plugin): set params.Value in Get method to ensure correct value retrieval add aac1532b chore(migrations): update migration version add 757e8946 docs(command): remove redundant comments add 4182d9f5 docs(command): unify style of usage statements add def0559a Fix file record and delete files (branding and avatar) (#1335) add afdf6ce7 fix: Unified display name and username length checks add b691e143 Merge remote-tracking branch 'origin/dev' into test add 6381a219 fix: update the visit cookie if it does not match the visit token add 5fc25ab8 Merge remote-tracking branch 'origin/dev' into test add 503e1cf7 fix: dropdown header use h6 add b20f3a87 fix: dropdown header use h6 add 6df436c7 feat(tests): add comprehensive tests for KV storage plugin add 4175b060 perf(tests): replace panic with os.Exit in TestMain for graceful test termination add e859e47d Merge remote-tracking branch 'origin/dev' into test add bd032dff upgrade(docs): upgrade to 1.5.1 new 30234e62 Merge remote-tracking branch 'origin/main' into meta add f4368f54 New translations (#1348) new 54563b88 Merge remote-tracking branch 'origin/main' into meta add 1f07d8eb fix: Compatibility default value is colored or light before v1.5.1 new c2b52076 Merge remote-tracking branch 'origin/main' into meta add eddedfdf fix: optimization login btn style new 4ced6ffc Merge remote-tracking branch 'origin/main' into meta The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: Makefile | 2 +- README.md | 2 +- cmd/command.go | 40 +- cmd/wire_gen.go | 8 +- docs/docs.go | 8 +- docs/swagger.json | 8 +- docs/swagger.yaml | 4 +- i18n/af_ZA.yaml | 4 +- i18n/ar_SA.yaml | 4 +- i18n/ca_ES.yaml | 4 +- i18n/cs_CZ.yaml | 18 +- i18n/cy_GB.yaml | 18 +- i18n/da_DK.yaml | 18 +- i18n/de_DE.yaml | 18 +- i18n/el_GR.yaml | 4 +- i18n/en_US.yaml | 18 +- i18n/es_ES.yaml | 18 +- i18n/fa_IR.yaml | 18 +- i18n/fi_FI.yaml | 4 +- i18n/fr_FR.yaml | 18 +- i18n/he_IL.yaml | 4 +- i18n/hi_IN.yaml | 18 +- i18n/hu_HU.yaml | 4 +- i18n/id_ID.yaml | 18 +- i18n/it_IT.yaml | 18 +- i18n/ja_JP.yaml | 18 +- i18n/ko_KR.yaml | 544 ++-- i18n/ml_IN.yaml | 18 +- i18n/nl_NL.yaml | 4 +- i18n/no_NO.yaml | 4 +- i18n/pl_PL.yaml | 18 +- i18n/pt_PT.yaml | 18 +- i18n/ro_RO.yaml | 46 +- i18n/ru_RU.yaml | 18 +- i18n/sk_SK.yaml | 18 +- i18n/sr_SP.yaml | 4 +- i18n/sv_SE.yaml | 18 +- i18n/te_IN.yaml | 18 +- i18n/tr_TR.yaml | 2732 ++++++++++---------- i18n/uk_UA.yaml | 18 +- i18n/vi_VN.yaml | 18 +- i18n/zh_CN.yaml | 25 +- i18n/zh_TW.yaml | 18 +- internal/base/middleware/avatar.go | 4 +- internal/controller/user_controller.go | 9 +- internal/controller_admin/siteinfo_controller.go | 14 +- ...onfig_entity.go => plugin_kv_storage_entity.go} | 15 +- internal/migrations/init.go | 2 +- internal/migrations/init_data.go | 2 + internal/migrations/migrations.go | 1 + internal/migrations/{v23.go => v26.go} | 4 +- internal/migrations/v5.go | 2 +- internal/repo/file_record/file_record_repo.go | 15 + internal/repo/site_info/siteinfo_repo.go | 15 + internal/repo/user/user_repo.go | 15 + internal/schema/backyard_user_schema.go | 4 +- internal/schema/user_schema.go | 2 +- internal/service/content/user_service.go | 45 +- .../service/file_record/file_record_service.go | 38 +- .../service/plugin_common/plugin_common_service.go | 9 + internal/service/siteinfo/siteinfo_service.go | 49 + .../service/siteinfo_common/siteinfo_service.go | 12 + internal/service/uploader/upload.go | 18 +- internal/service/user_common/user.go | 11 + plugin/kv_storage.go | 336 +++ plugin/plugin.go | 12 + plugin/plugin_test/kv_storage_test.go | 412 +++ .../plugin_test/plugin_main_test.go | 6 +- ui/src/common/constants.ts | 7 +- ui/src/components/Editor/ToolBars/image.tsx | 76 +- ui/src/components/Editor/Viewer.tsx | 2 +- ui/src/components/Editor/utils/index.ts | 10 + ui/src/components/Header/index.scss | 5 +- ui/src/components/Header/index.tsx | 21 +- ui/src/components/QuestionList/index.tsx | 2 +- ui/src/hooks/useChangeProfileModal/index.tsx | 4 +- ui/src/index.scss | 4 +- ui/src/pages/Admin/CssAndHtml/index.tsx | 2 +- ui/src/pages/Admin/SettingsUsers/index.tsx | 5 +- ui/src/pages/Admin/Themes/index.tsx | 28 +- ui/src/router/routes.ts | 2 +- ui/src/stores/themeSetting.ts | 6 +- ui/src/utils/color.ts | 4 + ui/template/sort-btns.html | 4 +- ui/test.html | 463 ---- 85 files changed, 3079 insertions(+), 2473 deletions(-) copy internal/entity/{plugin_user_config_entity.go => plugin_kv_storage_entity.go} (69%) copy internal/migrations/{v23.go => v26.go} (87%) create mode 100644 plugin/kv_storage.go create mode 100644 plugin/plugin_test/kv_storage_test.go copy internal/repo/repo_test/repo_main_test.go => plugin/plugin_test/plugin_main_test.go (98%) delete mode 100644 ui/test.html