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
omit 88b52d86 fix: Optimize badge animation effect
omit 0cff10b1 Merge branch 'dev' into test
omit 6817fafc refactor(gomod): replace pinyin dependency
omit f8fd872b update: tag styles change
omit 5ffa5583 Merge branch 'test' of github.com:answerdev/answer into test
omit b9064e3e fix: set default theme color constance
omit 106aeab1 refactor(pluginKit): update useRender hooks to include
request parameter
omit 36983898 fix: Personal homepage interface request error
omit 3cf4cd62 fix: badge detail params change
omit 88dabcc4 fix: badges allow 404
omit db80f630 Merge branch 'feat/1.4.1/badge-style' into test
omit 7ff80389 fix: badge modal set zindex attribute
omit cfbe458e fix: update axios to latest version,fix github security
CVE-2024-28849
omit 66eb2d1c Merge branch 'dev' into test
omit eb595aad fix: fix rendering issue in badge list
omit b927953f fix: change badges detail item key
omit 462e1d04 Merge branch 'dev' into test
omit e24a7181 fix: badge detail delete loader
omit e7eecc05 fix: badge list style
omit 6fb7131e Merge branch 'dev' into test
omit fa509526 fix(badge): fixed badge description translation
omit 3c8aa03f fix(badge): fixed badge description translation
add 0db889af fix: fix typo in plugin
add a0f24b3c refactor(pluginKit): update useRender hooks to include
request parameter
add 500c774f fix: Some contents of en_us.yaml have newline errors
add 62d2d2a8 refactor(pluginKit): improve plugin registration process
add 9479f1f8 chore(ui): Dynamically import plugins
add dc61ab7e refactor(pluginKit): update plugin registration process
add 84a49321 chore(ui): update pre-install script in package.json
add 95b9af55 refactor(pluginKit): update addPluginToIndexTs function to
include pluginFolder parameter
add 59080727 refactor(ui): update pre-install script in package.json
add df507a9d refactor(pluginKit): remove unused loadPlugins function
add ad477136 refactor(ui): update pluginKit refresh method
add 057f66cf style: Improve the display of personal page when there is no
information
add 3e91f03b change minimum username length to 2 instead of 4
add 18c802ae change i18n strings
add bd0d9fda docs: regenerate docs
add 3eb9822c feat(question): support linking question
add f575aa9b docs: add Apache License headers to source files
add d0d275a6 style: move questionLink function to common service
add 6f576c29 feat: add title to question linked page
add ab920ac0 perf: skip link addition for same question id
add b328a2b4 style: use ReplaceAll instead of Replace
add 62b9104a fix: support short id
add 74368ec9 perf: optimize question link processing
add fe60e5e5 perf: optimize question linked display processing
add dc41218c refactor(ui): Update linked question UI text
add 9f912b38 refactor(utils): Refactor plugin registration in Plugins class
add 4c9e37fa Add importer plugin type
add 5aad9e95 Add importer service
add 73c7a229 Fix importer
add 2fd6ac37 Fix err
add 1e82b043 Fix line87
add 23729505 refactor(ui): LinkedQuestions component to handle empty data
new 9a026ee4 fix: badge list style
new bee0148f fix: badge detail delete loader
new 9269d708 fix: change badges detail item key
new 168715c8 fix: fix rendering issue in badge list
new 2d1cd38c fix: update axios to latest version,fix github security
CVE-2024-28849
new d55383f7 fix: badge modal set zindex attribute
new 67685533 fix: badges allow 404
new 8d86140b fix: badge detail params change
new bfeae75c fix: Personal homepage interface request error
new 8b00327c fix: set default theme color constance
new 02e933f1 update: tag styles change
new c1178705 fix: Optimize badge animation effect
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (88b52d86)
\
N -- N -- N refs/heads/test (c1178705)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
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/wire_gen.go | 4 +-
docs/docs.go | 87 +++++++++-
docs/swagger.json | 87 +++++++++-
docs/swagger.yaml | 52 ++++++
i18n/af_ZA.yaml | 4 +-
i18n/ar_SA.yaml | 4 +-
i18n/az_AZ.yaml | 4 +-
i18n/bal_BA.yaml | 4 +-
i18n/ban_ID.yaml | 4 +-
i18n/bn_BD.yaml | 4 +-
i18n/bs_BA.yaml | 4 +-
i18n/ca_ES.yaml | 4 +-
i18n/cs_CZ.yaml | 4 +-
i18n/cy_GB.yaml | 4 +-
i18n/da_DK.yaml | 4 +-
i18n/de_DE.yaml | 4 +-
i18n/el_GR.yaml | 4 +-
i18n/en_US.yaml | 25 ++-
i18n/es_ES.yaml | 4 +-
i18n/fa_IR.yaml | 4 +-
i18n/fi_FI.yaml | 4 +-
i18n/fr_FR.yaml | 6 +-
i18n/he_IL.yaml | 4 +-
i18n/hi_IN.yaml | 4 +-
i18n/hu_HU.yaml | 4 +-
i18n/hy_AM.yaml | 4 +-
i18n/id_ID.yaml | 4 +-
i18n/it_IT.yaml | 4 +-
i18n/ja_JP.yaml | 4 +-
i18n/ko_KR.yaml | 2 +-
i18n/nl_NL.yaml | 4 +-
i18n/no_NO.yaml | 4 +-
i18n/pl_PL.yaml | 4 +-
i18n/pt_BR.yaml | 2 +-
i18n/pt_PT.yaml | 4 +-
i18n/ro_RO.yaml | 4 +-
i18n/ru_RU.yaml | 4 +-
i18n/sk_SK.yaml | 4 +-
i18n/sq_AL.yaml | 4 +-
i18n/sr_SP.yaml | 4 +-
i18n/sv_SE.yaml | 4 +-
i18n/te_IN.yaml | 4 +-
i18n/tr_TR.yaml | 4 +-
i18n/uk_UA.yaml | 4 +-
i18n/vi_VN.yaml | 4 +-
i18n/zh_CN.yaml | 10 +-
i18n/zh_TW.yaml | 4 +-
internal/controller/question_controller.go | 22 +++
.../{tag_rel_entity.go => question_link_entity.go} | 31 ++--
internal/migrations/init_data.go | 1 +
internal/migrations/migrations.go | 1 +
internal/migrations/{v15.go => v23.go} | 5 +-
internal/repo/answer/answer_repo.go | 18 ++
internal/repo/question/question_repo.go | 167 +++++++++++++++++++
internal/router/answer_api_router.go | 1 +
internal/schema/question_schema.go | 14 ++
internal/schema/user_schema.go | 2 +-
internal/service/answer_common/answer.go | 1 +
internal/service/content/answer_service.go | 36 +++-
internal/service/content/question_service.go | 69 +++++++-
internal/service/importer/importer_service.go | 172 +++++++++++++++++++
.../service/plugin_common/plugin_common_service.go | 8 +
internal/service/question_common/question.go | 113 +++++++++++++
pkg/checker/question_link.go | 132 +++++++++++++++
pkg/checker/question_link_test.go | 184 +++++++++++++++++++++
pkg/checker/username.go | 2 +-
plugin/embed.go | 2 +-
plugin/{cache.go => importer.go} | 106 +++++++-----
plugin/plugin.go | 4 +
plugin/render.go | 2 +-
plugin/search.go | 2 +-
ui/package.json | 2 +-
ui/scripts/importPlugins.js | 68 ++++++++
ui/scripts/{plugin.js => loadPlugins.js} | 47 ++----
ui/scripts/preinstall.js | 2 +-
ui/src/components/QuestionList/index.tsx | 2 +-
ui/src/pages/Admin/Plugins/Installed/index.tsx | 2 +-
.../index.tsx | 40 +++--
ui/src/pages/Questions/Detail/components/index.tsx | 2 +
ui/src/pages/Questions/Detail/index.tsx | 3 +
ui/src/pages/Questions/{ => Linked}/index.tsx | 67 ++++----
.../Users/Personal/components/Overview/index.tsx | 45 ++---
.../Users/Register/components/SignUpForm/index.tsx | 4 +-
ui/src/router/routes.ts | 4 +
ui/src/services/common.ts | 17 ++
ui/src/utils/pluginKit/index.ts | 38 +++--
86 files changed, 1582 insertions(+), 283 deletions(-)
copy internal/entity/{tag_rel_entity.go => question_link_entity.go} (52%)
copy internal/migrations/{v15.go => v23.go} (87%)
create mode 100644 internal/service/importer/importer_service.go
create mode 100644 pkg/checker/question_link.go
create mode 100644 pkg/checker/question_link_test.go
copy plugin/{cache.go => importer.go} (50%)
create mode 100644 ui/scripts/importPlugins.js
rename ui/scripts/{plugin.js => loadPlugins.js} (67%)
copy ui/src/pages/Questions/Detail/components/{RelatedQuestions =>
LinkedQuestions}/index.tsx (71%)
copy ui/src/pages/Questions/{ => Linked}/index.tsx (76%)