This is an automated email from the ASF dual-hosted git repository.
robin0716 pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
from 1c8ceea4 fix: fix issues on reactions ui
add 7b709ece support tag search for synonyms
add 13893469 simply the GetTagPage logic
add 72ff929f add default notification config for users registered by third
party connector
add f1e6af0f sort imports
add b2de62d0 Merge remote-tracking branch 'origin/main' into dev
add 0e430827 refactor(collection): refactor collection
add ac18f302 fix: bookmark params changed
add 42b4d74d Merge branch 'refactor/collection' into dev
add 1a7cbb78 docs(swagger): update swagger docs
add 04541ccb Merge remote-tracking branch 'origin/dev' into dev
add 61f2e672 feat(embed): init embed
add f972a23d feat(plugin/embed): merge from dev and add embed plugin
add ac653a33 fix(doc): fixed
add e8cca96e Merge remote-tracking branch 'origin/dev' into dev
add 0abfb29f merge(dev): merge from dev
add ddb66db0 fix(plugins): fix typo in SearchInfo import
add ba00431e chore: add src/plugins/builtin to eslintignore
add 4108d2fa refactor(editor): update toolbar icons for consistency
add f94ee616 chore: update pnpm-lock.yaml
add 6f71805c chore(plugins): Add plugin to index.ts
add fc0c2804 refactor(schemaForm): remove title
add 69b7e4b4 refactor(SchemaForm): update key in Form.Group to include
title and key
add cde7a0fc fix(plugins): Fixed the issue that the form data was not
updated when switching routes. #968
add bdbff79b fix(plugins): Fix the problem that the dom obtained by hooks
in the plugin is null
add 7243145d refactor(plugins): Remove mergeFormData method
add d14608e8 refactor: Remove console.log statements
add 15dc4371 fix(import): fixed
new 938598aa Merge branch 'feat/1.3.5/embed' into test
The 1 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/wire_gen.go | 3 +-
docs/docs.go | 49 +++++++++++++++++++++
docs/swagger.json | 49 +++++++++++++++++++++
docs/swagger.yaml | 29 ++++++++++++
internal/controller/controller.go | 1 +
internal/controller/embed_controller.go | 47 ++++++++++++++++++++
internal/router/plugin_api_router.go | 4 ++
internal/schema/plugin_option_schema.go | 6 +++
pkg/converter/markdown.go | 2 +
plugin/embed.go | 11 +++++
plugin/plugin.go | 4 ++
ui/.eslintignore | 2 +
ui/scripts/plugin.js | 17 ++++++++
ui/src/components/Editor/ToolBars/blockquote.tsx | 2 +-
ui/src/components/Editor/ToolBars/bold.tsx | 2 +-
ui/src/components/Editor/ToolBars/code.tsx | 2 +-
ui/src/components/Editor/ToolBars/heading.tsx | 2 +-
ui/src/components/Editor/ToolBars/help.tsx | 2 +-
ui/src/components/Editor/ToolBars/image.tsx | 2 +-
ui/src/components/Editor/ToolBars/indent.tsx | 2 +-
ui/src/components/Editor/ToolBars/italic.tsx | 2 +-
ui/src/components/Editor/ToolBars/link.tsx | 2 +-
ui/src/components/Editor/ToolBars/ol.tsx | 2 +-
ui/src/components/Editor/ToolBars/outdent.tsx | 2 +-
ui/src/components/Editor/ToolBars/ul.tsx | 2 +-
ui/src/components/Editor/index.scss | 6 +--
ui/src/components/Editor/index.tsx | 3 +-
ui/src/components/Editor/toolItem.tsx | 9 ++--
ui/src/components/Editor/utils/index.ts | 41 ++++++++---------
ui/src/components/PluginRender/index.tsx | 2 +-
ui/src/components/SchemaForm/components/Button.tsx | 1 -
ui/src/components/SchemaForm/components/Switch.tsx | 3 --
ui/src/components/SchemaForm/index.tsx | 3 +-
ui/src/pages/Admin/Plugins/Config/index.tsx | 9 +---
.../Questions/Detail/components/Answer/index.tsx | 3 +-
.../pages/Review/components/FlagContent/index.tsx | 2 -
.../Review/components/QueuedContent/index.tsx | 2 -
ui/src/pages/Search/components/Head/index.tsx | 3 +-
ui/src/pages/Users/Login/index.tsx | 10 ++---
ui/src/pages/Users/Register/index.tsx | 3 +-
ui/src/plugins/builtin/index.ts | 4 +-
ui/src/utils/pluginKit/index.ts | 51 +++++++++++++++-------
ui/src/utils/pluginKit/interface.ts | 31 ++++++++++++-
ui/src/utils/pluginKit/utils.ts | 38 ++--------------
44 files changed, 350 insertions(+), 122 deletions(-)
create mode 100644 internal/controller/embed_controller.go
create mode 100644 internal/schema/plugin_option_schema.go
create mode 100644 plugin/embed.go