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/answer.git
from fc4959c3 Refactor section headers in bug_report.md
add 7e4edb18 fix: remove question detail page pinned icon
add af80380f fix: failed to build plugins in windows
add 19aed9f9 feat: schemeForm support tagSelector component
add bfa48a8c fix: footer remove background color
add dc582eec style: question details page UI optimization
add 1aeea01c style: ui optimization
add a6d95ae8 feat: add sidebar plugin
add c2c7ea84 feat: support quick-links plugin
add 6389c3b3 Merge branch 'feat/1.7.0/quicklinks' into test
add 0376a00d fix: responsive layout adjustment
add 7ffd86e1 fix: add page-main-wrap class
add 6d2dd57d fix: delete page-main-wrap class
add e9ea91d2 fix: add data-bs-theme attribute for dropdown component
add 1b979526 fix: update add_user modal's class
add df3b1a1a fix: the route of the question page is adjusted to
/questions/add, and redirect /questions/ask to /questions/add
add f73641ef fix: optimization askRedirect function
add 413c3918 fix: delete comments
add 235c69e9 fix: update search type
add 7f9af840 fix: Fix username verification prompt
add f7099684 fix: fixed the incorrect link of the user who was replied in
the comment
add d738ec21 feat: add /tags/:tagName/questions route
add 44beb6d1 fix: Optimize list type judgment logic
add 6a0f9f15 fix: rename linked page route
add e071f3e7 fix: Filter out parameters of linked list unanswered
add aeb7b083 update: timeline page need logged
add 5ad97801 fix: Optimize the export method of internal components
add 4c2564e2 update: update html templates
add bca8273f fix: edit_time display condition optimization
add 78df7764 fix: Details page editing time value adjustment
add 4fa1d0f4 fix: Fix the layout confusion caused by too long code #1404
add fbd5a55c fix: failed to build plugins in windows
add 81837c9f update new question message tag
add 7a8afbb3 add new question notification trigger user
add bec3e355 feat: Add user comment moderation
add f93ab411 fix(i18n): sync username character
add aa75f445 feat(ui):hide related questions card when there is no content
add dc47e1a5 fix(ui): change background color for code block to (--an-pre)
add a63fe5b2 feat(internal,ui): add minimum tags property
add 3ae38a14 feat(UI): Add error for minimum_tag count and translation for
Min tag form input
add c78cadb1 add migration for min_tags
add a6789460 fix(ui): Adjust tag input label for quantity
add 9b65fed9 refactor(tags): remove redundant param from GetMinimumTags
and apply minimum tag check in ObjectChangeTag
add 403dec5e feat(internal,ui): add minimum tags error and label while
editing
add 433b8d5d fix: i18n parameter passing optimization
add 52e1b8bd fix: merge dev
add f238aa50 feat(ui,internal): add min_content property in site info
add 9154b9ba feat(ui,internal): add optional question body
add 2d2451f7 fix(ui,internal): correct i18n implementation for variables
and add min=0 to minimumContent in siteInfo schema
add e3151c1d fix: conflict
add e1ff0731 fix: conflict
add 4fca0c42 feat(plugins): add quick-links plugin and ensure
captcha-basic is included
add 63e2fb90 fix(internal):add gte,lte bounds for min_content and min_tags
add b33e9fc9 fix: Add time parameter when updating user status
add 93e183be feat: Add resetPassword cli tool
add b79fb383 docs(Makefile): upgrade version to 1.7.0
new 439e7862 Merge remote-tracking branch 'origin/release/1.7.0'
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:
Makefile | 2 +-
README.md | 2 +-
cmd/command.go | 65 +++--
cmd/main.go | 4 +-
cmd/wire_gen.go | 33 +--
docs/docs.go | 19 --
docs/swagger.yaml | 17 --
go.mod | 1 +
go.sum | 2 +
i18n/af_ZA.yaml | 2 +-
i18n/ar_SA.yaml | 2 +-
i18n/az_AZ.yaml | 2 +-
i18n/bal_BA.yaml | 2 +-
i18n/ban_ID.yaml | 2 +-
i18n/bn_BD.yaml | 2 +-
i18n/bs_BA.yaml | 2 +-
i18n/ca_ES.yaml | 2 +-
i18n/cs_CZ.yaml | 2 +-
i18n/cy_GB.yaml | 2 +-
i18n/da_DK.yaml | 2 +-
i18n/de_DE.yaml | 2 +-
i18n/el_GR.yaml | 2 +-
i18n/en_US.yaml | 27 +-
i18n/es_ES.yaml | 2 +-
i18n/fa_IR.yaml | 2 +-
i18n/fi_FI.yaml | 2 +-
i18n/fr_FR.yaml | 2 +-
i18n/he_IL.yaml | 2 +-
i18n/hi_IN.yaml | 2 +-
i18n/hu_HU.yaml | 2 +-
i18n/hy_AM.yaml | 2 +-
i18n/id_ID.yaml | 2 +-
i18n/it_IT.yaml | 2 +-
i18n/ja_JP.yaml | 4 +-
i18n/ko_KR.yaml | 2 +-
i18n/ml_IN.yaml | 2 +-
i18n/nl_NL.yaml | 2 +-
i18n/no_NO.yaml | 2 +-
i18n/pl_PL.yaml | 2 +-
i18n/pt_BR.yaml | 2 +-
i18n/pt_PT.yaml | 2 +-
i18n/ro_RO.yaml | 2 +-
i18n/ru_RU.yaml | 2 +-
i18n/sq_AL.yaml | 2 +-
i18n/sr_SP.yaml | 2 +-
i18n/sv_SE.yaml | 2 +-
i18n/te_IN.yaml | 2 +-
i18n/vi_VN.yaml | 2 +-
i18n/zh_CN.yaml | 9 +-
i18n/zh_TW.yaml | 2 +-
internal/base/conf/conf.go | 4 +-
.../utils/storage.ts => internal/base/path/path.go | 60 +++--
internal/base/reason/reason.go | 2 +
internal/cli/build.go | 1 +
internal/cli/install.go | 44 +---
internal/cli/install_check.go | 3 +-
internal/cli/reset_password.go | 288 +++++++++++++++++++++
internal/controller/comment_controller.go | 6 +-
internal/controller/controller.go | 1 +
..._controller.go => plugin_sidebar_controller.go} | 32 +--
internal/entity/comment_entity.go | 5 +
internal/install/install_controller.go | 9 +-
internal/install/install_main.go | 4 +-
internal/migrations/init.go | 2 +
internal/migrations/migrations.go | 1 +
internal/migrations/{v24.go => v28.go} | 17 +-
internal/repo/comment/comment_repo.go | 11 +
internal/repo/repo_test/user_backyard_repo_test.go | 5 +-
internal/router/plugin_api_router.go | 6 +
internal/schema/comment_schema.go | 3 +
internal/schema/question_schema.go | 32 +--
internal/schema/siteinfo_schema.go | 2 +
internal/service/comment/comment_service.go | 20 +-
internal/service/comment_common/comment_service.go | 1 +
internal/service/content/question_service.go | 87 ++++++-
internal/service/content/revision_service.go | 6 +-
internal/service/mock/siteinfo_repo_mock.go | 19 --
.../notification/new_question_notification.go | 12 +
internal/service/question_common/question.go | 8 +
internal/service/review/review_service.go | 270 +++++++++++++++++++
internal/service/tag_common/tag_common.go | 36 ++-
pkg/checker/reserved_username.go | 4 +-
pkg/converter/user.go | 19 +-
plugin/config.go | 30 ++-
plugin/plugin.go | 4 +
plugin/{render.go => sidebar.go} | 18 +-
script/plugin_list | 3 +-
ui/.env.production | 1 +
ui/src/common/color.scss | 2 +-
ui/src/common/interface.ts | 2 +
ui/src/common/sideNavLayout.scss | 1 +
.../Comment/components/ActionBar/index.tsx | 4 +-
ui/src/components/Comment/index.tsx | 45 +++-
ui/src/components/Footer/index.tsx | 2 +-
.../Header/components/NavItems/index.tsx | 2 +-
ui/src/components/Header/index.tsx | 2 +-
ui/src/components/Operate/index.tsx | 133 ++++++----
.../components/{Timezone.tsx => TagSelector.tsx} | 31 ++-
ui/src/components/SchemaForm/components/index.ts | 2 +
ui/src/components/SchemaForm/index.tsx | 13 +-
ui/src/components/SchemaForm/types.ts | 6 +-
ui/src/components/Share/index.tsx | 16 +-
ui/src/components/SideNav/index.tsx | 15 +-
ui/src/components/TagSelector/index.tsx | 21 +-
ui/src/components/UserCard/index.tsx | 32 ++-
ui/src/hooks/useUserModal/index.tsx | 2 +-
ui/src/index.scss | 21 +-
ui/src/pages/Admin/Write/index.tsx | 62 ++++-
ui/src/pages/Questions/Ask/index.tsx | 23 +-
.../Questions/Detail/components/Answer/index.tsx | 95 +++----
.../Detail/components/LinkedQuestions/index.tsx | 2 +-
.../Questions/Detail/components/Question/index.tsx | 124 ++++-----
.../Detail/components/Reactions/index.tsx | 7 +-
.../Detail/components/RelatedQuestions/index.tsx | 4 +
ui/src/pages/Questions/Linked/index.tsx | 9 +-
ui/src/pages/Questions/index.tsx | 2 +-
.../pages/Search/components/SearchItem/index.tsx | 2 +-
ui/src/pages/SideNavLayout/index.tsx | 4 +-
ui/src/pages/Tags/Detail/index.tsx | 4 +-
.../pages/Users/Notifications/components/index.ts | 4 +
ui/src/pages/Users/Notifications/index.tsx | 3 +-
ui/src/plugins/index.ts | 4 +-
ui/src/router/routes.ts | 23 +-
ui/src/stores/writeSetting.ts | 2 +
ui/src/utils/common.ts | 12 +
ui/src/utils/guard.ts | 29 ++-
ui/src/utils/pluginKit/interface.ts | 1 +
ui/template/header.html | 6 +-
ui/template/question-detail.html | 87 +++----
ui/template/question.html | 2 +-
130 files changed, 1543 insertions(+), 657 deletions(-)
copy ui/src/utils/storage.ts => internal/base/path/path.go (51%)
create mode 100644 internal/cli/reset_password.go
copy internal/controller/{render_controller.go =>
plugin_sidebar_controller.go} (63%)
copy internal/migrations/{v24.go => v28.go} (85%)
copy plugin/{render.go => sidebar.go} (75%)
copy ui/src/components/SchemaForm/components/{Timezone.tsx => TagSelector.tsx}
(75%)
create mode 100644 ui/src/pages/Users/Notifications/components/index.ts