This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


    from 8e6fa13c CI: only formal tag will push the latest image (#1116)
     add 3c8aa03f fix(badge): fixed badge description translation
     add fa509526 fix(badge): fixed badge description translation
     add 6fb7131e Merge branch 'dev' into test
     add 3ec9cc33 feat: install page support i18n
     add c7513649 fix: add getInstallLanguageConfig
     add fb9bece0 fix: format code
     add 26afc097 feat(install): add get language mapping api
     add 1d33c882 fix: change fail
     add 2e67b9ca fix(swagger): fix title and description on swagger docs
     add 462e1d04 Merge branch 'dev' into test
     add 6c9203a7 fix: setup install language error
     add 48c23878 chore: sync swagger
     add be00ce4f fix: install plugin dependencies
     add 659a3383 fix: GetUserIsAdminModerator failed
     add 211659a5 fix: missing url title for 
PermalinkQuestionIDAndTitleByShortID
     add 94828f71 fix: 404 page return 200 status code
     add 2597a626 Merge branch 'main' into dev
     add 0d6ea89a refactor(gomod): upgrade golang and dependence version
     add 66eb2d1c Merge branch 'dev' into test
     add e7eecc05 fix: badge list style
     add e24a7181 fix: badge detail delete loader
     add b927953f fix: change badges detail item key
     add eb595aad fix: fix rendering issue in badge list
     add cfbe458e fix: update axios to latest version,fix github security 
CVE-2024-28849
     add 7ff80389 fix: badge modal set zindex attribute
     add db80f630 Merge branch 'feat/1.4.1/badge-style' into test
     add 88dabcc4 fix: badges allow 404
     add 3cf4cd62 fix: badge detail params change
     add 36983898 fix: Personal homepage interface request error
     add b9064e3e fix: set default theme color constance
     add 106aeab1 refactor(pluginKit): update useRender hooks to include 
request parameter
     add 5ffa5583 Merge branch 'test' of github.com:answerdev/answer into test
     add f8fd872b update: tag styles change
     add 6817fafc refactor(gomod): replace pinyin dependency
     add e062cbcb refactor(gomod): replace pinyin dependency
     add d6fa819f refactor(gomod): downgrade dependency
     add 0cff10b1 Merge branch 'dev' into test
     add 88b52d86 fix: Optimize badge animation effect
     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
     add 6da9d718 Merge branch 'dev' into test
     add 86020654 refactor(provider): add importer provider
     add 2114aa93 Merge branch 'dev' into test
     add 43c09e8b fix: badge modal zindex
     add e893a656 fix: badge modal zindex
     add 24b53d53 fix: personal badges list style
     add 81fbea17 fix: linked page list add order params
     add 13c17f1d fix: Only the active issue list shows update time
     add e0ffb967 fix: linked question component not use empty content
     add a3a7a366 fix: personal page empty state
     add 1997af87 fix: eslint
     add a8e008de feat: Support related and hot questions template
     add 916dba3f feat(pager): Show 404 when page is out of range (#1135)
     add 23cc755a feat(question): add question linking feature for closing 
question
     add fe1576ba Merge branch 'dev' into test
     add f93fd518 fix: display error message and HTML for invalid order
     add bc8c6993 feat(question): add closed question linking
     add 07e80aba Merge branch 'dev' into test
     add 7e4aa98c fix: navbar header dropdown cannot auto close
     add 5fd09d87 refactor(router): comment out UI index file check for dynamic 
routing
     add 5f28f106 refactor(router): comment out UI index file check for dynamic 
routing
     add c0a1f4e5 fix(ui): route plugins register failed
     add 49033820 refactor(ui): extract event logic of plugin kit out
     add 6e51cc75 refactor(ui): optimize initial loading
     add 8753716c refactor(ui): optimize initial loading and extract event 
logic of plugin kit out
     add 9fa6ef68 chore(ui): copy style from `public/index.html` to keep 
consistency
     add 895c1c41 fix: add 400 second tag search debounce
     add 0c5eb64f Merge branch 'dev' into test
     add dd16be0a docs(Makefile): upgrade version to 1.4.1

No new revisions were added by this update.

Summary of changes:
 Dockerfile                                         |   4 +-
 Makefile                                           |   2 +-
 README.md                                          |   2 +-
 cmd/answer/main.go                                 |   7 +-
 cmd/wire_gen.go                                    |   8 +-
 docs/docs.go                                       | 124 +++-
 docs/release/LICENSE                               |   2 +-
 .../licenses/LICENSE-Chain-Zhang-pinyin.txt        |  21 -
 ...i18next.txt => LICENSE-mozillazg-go-pinyin.txt} |   2 +-
 docs/swagger.json                                  | 125 +++-
 docs/swagger.yaml                                  |  78 +-
 go.mod                                             | 189 ++---
 go.sum                                             | 799 ++++++---------------
 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/base/pager/pagination.go                  |  12 +
 internal/cli/build.go                              |   9 +-
 internal/controller/question_controller.go         |  26 +
 internal/controller/tag_controller.go              |   5 +
 internal/controller/template_controller.go         |  89 ++-
 .../{tag_rel_entity.go => question_link_entity.go} |  31 +-
 internal/install/install_controller.go             |  23 +
 internal/install/install_server.go                 |   1 +
 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/router/ui.go                              |  13 +-
 internal/schema/question_schema.go                 |  15 +
 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       |  73 +-
 internal/service/content/user_service.go           |  10 +-
 internal/service/importer/importer_service.go      | 172 +++++
 .../service/plugin_common/plugin_common_service.go |   8 +
 internal/service/provider.go                       |   2 +
 internal/service/question_common/question.go       | 189 +++++
 internal/service/tag/tag_service.go                |   1 -
 internal/service/user_admin/user_backyard.go       |   7 +-
 internal/service/user_common/user.go               |  11 +-
 .../user_external_login_service.go                 |   3 +-
 pkg/checker/question_link.go                       | 132 ++++
 pkg/checker/question_link_test.go                  | 184 +++++
 pkg/checker/username.go                            |   2 +-
 pkg/htmltext/htmltext.go                           |  26 +-
 pkg/token/token.go                                 |   2 +-
 plugin/embed.go                                    |   2 +-
 plugin/{cache.go => importer.go}                   |  44 +-
 plugin/plugin.go                                   |   4 +
 plugin/render.go                                   |   2 +-
 plugin/search.go                                   |   2 +-
 ui/package.json                                    |   4 +-
 ui/pnpm-lock.yaml                                  | 430 ++++++-----
 ui/scripts/importPlugins.js                        |  68 ++
 ui/scripts/{plugin.js => loadPlugins.js}           |  47 +-
 ui/scripts/preinstall.js                           |   2 +-
 ui/src/App.tsx                                     |   7 +-
 ui/src/common/color.scss                           |  24 +-
 ui/src/common/constants.ts                         |   2 +
 ui/src/components/CardBadge/index.scss             |  10 -
 ui/src/components/CardBadge/index.tsx              |   9 +-
 ui/src/components/CustomizeTheme/index.tsx         |  29 +-
 .../Header/components/NavItems/index.tsx           |  29 +-
 .../InitialLoadingPlaceholder/index.scss           |  35 +
 .../components/InitialLoadingPlaceholder/index.tsx |  15 +
 ui/src/components/Modal/BadgeModal.tsx             |  40 +-
 ui/src/components/QuestionList/index.tsx           |  12 +-
 ui/src/components/TagSelector/index.tsx            |  34 +-
 ui/src/i18n/init.ts                                |   4 -
 ui/src/index.scss                                  |  23 +-
 ui/src/pages/Admin/Badges/index.tsx                |   2 +-
 ui/src/pages/Admin/Plugins/Installed/index.tsx     |   2 +-
 ui/src/pages/Admin/Themes/index.tsx                |   5 +-
 ui/src/pages/Badges/Detail/index.tsx               |   6 +-
 ui/src/pages/Badges/index.tsx                      |  11 +-
 .../pages/Install/components/FirstStep/index.tsx   |  11 +-
 ui/src/pages/Install/index.tsx                     |   2 +
 .../index.tsx                                      |  80 ++-
 ui/src/pages/Questions/Detail/components/index.tsx |   2 +
 ui/src/pages/Questions/Detail/index.tsx            |   3 +
 ui/src/pages/Questions/{ => Linked}/index.tsx      |  77 +-
 ui/src/pages/Tags/Detail/index.tsx                 |   2 +-
 .../Users/Personal/components/Badges/index.tsx     |  17 +-
 .../Users/Personal/components/Overview/index.tsx   |  50 +-
 .../Users/Register/components/SignUpForm/index.tsx |   4 +-
 ui/src/router/index.tsx                            |  24 +-
 ui/src/router/routes.ts                            |   4 +
 ui/src/services/client/badges.ts                   |  20 +-
 ui/src/services/client/personal.ts                 |   2 +-
 ui/src/services/client/question.ts                 |   5 +-
 ui/src/services/common.ts                          |  28 +-
 ui/src/services/install/index.ts                   |   4 +
 ui/src/stores/themeSetting.ts                      |   3 +-
 ui/src/utils/animateGift.ts                        |   4 +-
 ui/src/utils/localize.ts                           |  17 +
 ui/src/utils/pluginKit/index.ts                    |  64 +-
 ui/src/utils/pluginKit/interface.ts                |   6 +-
 ui/src/utils/request.ts                            |  15 +-
 ui/template/{sidenav.html => hot-question.html}    |  37 +-
 ui/template/question-detail.html                   |  10 +-
 ui/template/question.html                          |   4 +-
 .../{sidenav.html => related-question.html}        |  37 +-
 146 files changed, 2827 insertions(+), 1447 deletions(-)
 delete mode 100644 docs/release/licenses/LICENSE-Chain-Zhang-pinyin.txt
 copy docs/release/licenses/{LICENSE-i18next-react-i18next.txt => 
LICENSE-mozillazg-go-pinyin.txt} (97%)
 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} (52%)
 create mode 100644 ui/scripts/importPlugins.js
 rename ui/scripts/{plugin.js => loadPlugins.js} (67%)
 create mode 100644 ui/src/components/InitialLoadingPlaceholder/index.scss
 create mode 100644 ui/src/components/InitialLoadingPlaceholder/index.tsx
 copy ui/src/pages/Questions/Detail/components/{RelatedQuestions => 
LinkedQuestions}/index.tsx (50%)
 copy ui/src/pages/Questions/{ => Linked}/index.tsx (72%)
 copy ui/template/{sidenav.html => hot-question.html} (50%)
 copy ui/template/{sidenav.html => related-question.html} (50%)

Reply via email to