This is an automated email from the ASF dual-hosted git repository.
shuai pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
from cde3ef96 fix: admin gravatar base URL is empty should use placehoder
for default value
new c7ab8534 feat(plugin): add key-value storage support for plugins
new 8579bde6 refactor(plugin): improved initialization of the KV storage
plugin
new d12ac86d perf(plugin): remove unnecessary KV storage checks
new d90810af fix(plugin): rename 'close' to avoid builtin collision
new 9ea153b4 refactor(plugin): improve KV storage with better caching and
param handling
new c7646bd6 docs(plugin): Add comments to KVOperator methods to improve
code readability
new aa0493e4 feat(migrations): Add v26 migration file to support plugin KV
storage
new ed543e88 fix(plugin): set params.Value in Get method to ensure correct
value retrieval
new 1baa3f0f chore(migrations): update migration version
new 54f7682e docs(command): remove redundant comments
new c6189e50 docs(command): unify style of usage statements
new 9331690b fix: When copying text and images, can the images only appear
at the end of the article
The 12 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:
cmd/command.go | 40 +--
...onfig_entity.go => plugin_kv_storage_entity.go} | 15 +-
internal/migrations/init_data.go | 1 +
internal/migrations/migrations.go | 1 +
internal/migrations/{v23.go => v26.go} | 4 +-
.../service/plugin_common/plugin_common_service.go | 9 +
plugin/kv_storage.go | 336 +++++++++++++++++++++
plugin/plugin.go | 12 +
ui/src/components/Editor/ToolBars/image.tsx | 74 +++--
ui/src/components/Editor/utils/index.ts | 10 +
10 files changed, 447 insertions(+), 55 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