This is an automated email from the ASF dual-hosted git repository.
robin0716 pushed a change to branch feat/1.3.5/embed
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
from 5459507b chore: update plugin.js
add ad951c8c fix: table responsive
add 283aa092 update
add 80bd8cd0 finish backend api and frontend
add 255f985c add i18n
add 7d2fd400 add transaction when add or update reactions and fix other
issues
add a6838eb4 update frontend to support only activate and deactivate
add 9e76872d add Apache header for wire_gen.go
add d9cca1ba refactor meta_service and meta_common_service and fix other
issues
add 31a6fc9c convert tooltip in backend and refactored the ReactionResp
structure
add caadd99b update
add 8950df85 update styles based on comments
add ae2d4a33 count real users and bug fix
add d5092998 update
add a7c44de0 update header for wire_gen.go
add e22301c5 New Crowdin updates (#31)
add d76fb5ee fix(i18n): remove duplicate key in i18n
add 8794fe86 New Crowdin updates (#31)
add 219dc7ff fix(i18n): remove duplicate key in i18n
add 58970d0a fix: when using the basic_captacha plug-in,
usePromptWithUnload hook causes logic exceptions when asking or editing
questions
add 205a9872 New Crowdin updates (#31)
add 91661be3 fix(i18n): remove duplicate key in i18n
add 1d803586 New Crowdin updates (#31)
add fc7482dc fix(i18n): remove duplicate key in i18n
add 3a375881 fix: add apache license header
add 642da9cf Merge remote-tracking branch 'origin/main' into dev
add c1eb74bf feat: Support SMTP Encryption using TLS
add 2913640a setting ssl to false
add 3a6ac93f feat: add build path
add aa70f41f feat: add basepath
add 410263e6 fix(comment): prohibit comment on the delete content
add 727a3f00 Merge remote-tracking branch 'origin/fix/1.3.5/comment' into
dev
add 3376b015 fix: incomplete text display when pasting text into the tags
field (#776)
add 7a4cc161 fix: update answer count when update status
add d1a0e6cf fixes issue with deleted comments (#796)
add fea73945 fix: only display vote number and acceptance if necessary
(#806)
add d4af6f5e feat: support list and unlist in admin contents page for
questions (#780)
add 0339b363 feat/add-persian
add bee1f562 fix: remove delete action for deleted question even for admin
add d26079a1 fix: can't search username with '-' charactor
add 1934ddbe update
add 16cafbaf update
add 3e1b20e9 feat: Add a order filter called "Oldest" in answer
add c014be82 chore: sync swagger
add c6042d96 feat: filter the same question in similar questions
add 51b96ec0 feat: format code
add 5d777896 feat: use uid.DeshortID on v.ID
add 2a828c93 feat: support setting config for check latest answer version
add ea8ed682 remove console log
add c364e968 add default to true in frontend
add e529d33d fix(ui): fixed the ui issue of skeleton screen flickering
(#830)
add f9a93e2e fix: not changing rank for newly registered user when
changing mail
add fd6c2b1c feat(notification): Add a notification when replying to a
comment.
add b4f61190 feat(url): Add default url title
add faf0b7e9 fix(notification): If receiver not set language, use site
default language. #833
add e780f3ed Merge branch 'feat/1.3.0/notifiaction' into test
add 34e56f3e feat(review): add API about reviewing type
add fa4782a4 feat(flag): move flag(admin) -> flag(foreground)
add 009497ba feat(review): Add review report API
add 2ae98a69 feat(queued): add status:pending(quesiton/answer/comment),and
change question status query
add 6af56c63 feat(review): Add review API
add beeb898b docs(swagger): update swagger
add 51067793 feat(migration): add migrations
add c26d83c2 feat(question): add question review
add d4aea5f3 feat(answer): add answer review
add 6dd86249 fix(review): fix review
add 7546aabc feat(admin/contents): feat pending list
add c7223784 feat(review): add object id query condition for review
add 557172d0 feat(review): update flag api response
add 371eaf11 feat(review): update flag api add answer count
add ea22497d feat(question): query revision tags for deleted question
add 6736a711 feat(review): update review report request flag id
add cbfd7512 feat(review): postpone the notification after review
add 3c802cc9 feat(review): add review amount to revision count
add 1b7618f2 fix(notification): update question and answer count amount
after reviewing
add ebf55458 Merge branch 'feat/1.3.0/review' into test
add 7606940a Feat/1.3.0/UI (#840)
add 8c7bf405 fix: timezone text format
add dabce296 fix: replace timezone text _ to space
add bda7c40a fix: edit comment
add cf3cc8a8 fix: review ui change
add cd8dd140 fix: review ui split
add 39071296 Merge branch 'dev' into feat/1.3.0/ui
add b2e8ce76 feat: add flag review content
add 7d0b4121 feat: add queued review content
add 4e11ce5e feat: delete admin/flag page
add 724dc022 feat: admin qeustions and answers add pending list
add d2c53e86 fix: review close action
add df60809a fix: review_id should be number
add a8345ca3 fix: after the review is completed, it will automatically
switch to other types to be reviewed
add 652f5de7 fix: split main.js #809 #784
add fd9d432d fix: optimize the configuration of
setWebpackOptimizationSplitChunks #809 #787
add 6c9868dc fix: template supports multiple script tags
add af310a0f fix: components split chunks
add aa0cddb1 fix: add analyze script
add cd091097 Merge branch 'feat/ui/split-chunks' into feat/1.3.0/ui
add 741591de fix: hide split componnets
add 8ec52fc1 fix: conflict
add aad6e33b fix: answer add pending state
add 4467174f feat(review): add review permission
add 7e846895 feat(plugin): add reviewer-basic plugin
add a301ca8d Merge branch 'feat/1.3.0/review' into test
add aea7755e fix(review): add user repo
add b334b8f0 Merge branch 'feat/1.3.0/review' into test
add 087f0a0d feat(question): add question pending status tip
add fd3f7ea3 Merge branch 'feat/1.3.0/review' into test
add ff109cf1 Merge branch 'test' of github.com:answerdev/answer into test
add 24651285 Feat/1.3.0/UI (#841)
add ce9a34b8 feat(question): show pending question for user
add eacbade3 Merge remote-tracking branch 'origin/dev' into
feat/1.3.0/review
add 8e1672da Merge branch 'feat/1.3.0/review' into test
add 7e147874 fix(review): get review flag comment without status
add 03b3555d fix(review): add translation for review
add 4a038b95 Merge branch 'feat/1.3.0/review' into test
add a309f9f8 Feat/1.3.0/UI (#848)
add 168a998a fix(question): when recovering the question, retrieve the tag
relationship
add 7d2deddc Merge branch 'feat/1.3.0/review' into test
add 6201a5a7 fix: answer add pending state
add 87d8d2a0 fix: diff error
add 8a29dca1 fix: i18n update
add 6df4d792 fix: ui adjustment
add 64381f16 refactor Changes - moved legal clicks outside of signup (#835)
add 7e1d03e2 fix(toast): align to the center with actual element width
(#847)
add 38270329 Merge branch 'dev' into feat/1.3.0/ui
add 14b9cb70 fix: rename click file
add 153f7a6d Merge branch 'feat/1.3.0/ui' into test
add b74f7813 feat(question): count question with show status
add 75c6146f Merge branch 'feat/1.3.0/review' into test
add 33ffb594 fix: change support link (#850)
add 11006c68 Feat/1.3.0/UI (#851)
add 758f79b7 fix(review): change revision to short id if needed
add 34660ee1 feat(review): add url title for review page
add f4a6b8f6 Merge branch 'feat/1.3.0/review' into test
add 3f2a617b feat(review): add parsed text for review page
add 273df16f Merge branch 'feat/1.3.0/review' into test
add c25dad69 feat(plugin): add language for review plugin
add ba71c22b Merge branch 'feat/1.3.0/review' into test
add 5ff9a14d Feat/1.3.0/UI (#852)
add 212a59a1 Feat/1.3.0/UI (#856)
add b8ea6f1f fix: change support link
add 0030fda2 fix: review ui update
add bd053d9b fix: pending review and flag review show parsed_text
add c15736d2 fix: article style format
add be1d5fb4 fix: editor fixes the issue where some line breaks are
missing when the pasted content contains images
add a65417b0 fix: add renderhtml format
add 3691e61d fix: review add skip btn
add 626990ef fix: resolve conflict
add 5e477482 feat(search): highlight search results
add 45b1c397 refactor(head): use search regex in common pattern
add d8ab71fd refactor(htmltext): FetchExcerpt delegates to
FetchRangedExcerpt
add e63a208a Merge remote-tracking branch 'origin/dev' into test
add 3bce8e34 feat(review): add url title for review page
add 18885e42 Merge branch 'feat/1.3.0/review' into test
add a871fe1e fix: review content url format (#859)
add 68c5173f fix: review content url format
add 834ca303 Merge branch 'dev' into feat/1.3.0/ui
add e274fd27 fix: search highlighting ignores case
add b2b3ec47 Merge branch 'feat/1.3.0/ui' into test
add 520f089f fix: add verification for reporting operations
add c440b120 feat(review): add reason key and content for review page
add f89e946d feat(migration): update clarity description config
add 0b3a6deb Merge branch 'feat/1.3.0/review' into test
add 906cb7d1 Merge branch 'test' of github.com:answerdev/answer into test
add 63a23340 feat(review): add rank for reviewed user
add 78baf633 Merge branch 'feat/1.3.0/review' into test
add e7fb6192 fix: add verification for reporting operations
add d0fac4e7 fix: xss link
add 2d32c925 fix: conflcit
add eb6dc3e3 fix: add REACT_APP_BASE_URL
add 2c8bcbfd feat: test add basename
add 299c5719 fix: a tag check basename
add 7946cea3 fix: base url
add 571c2b1a fix: naviage add base path
add 92eec140 fix: navigate function add path conditions
add 53ba7fb0 feat: support for parametrizing the base path #335 #836 #800
add 90a8f9a7 feat: config.yaml add ui env variables
add 5a1a9f0b feat: ui env variables remove react_app prefix
add 2862d096 feat: ui env variables remove react_app prefix
add 84c8b3f4 feat: site_url valiadtor add base_path
add c6d43e92 feat(base): add base path for ui page
add b0882f66 Merge branch 'feat/basepath' into dev
add 389d8551 fix(user): remove user center log
add 8604c428 fix: update translations
add ef61261b fix: path exception when adding basepath
add 6fb86871 fix: update translations
add 5f53985e Merge branch 'dev' of github.com:answerdev/answer into dev
add 55beed46 Merge branch 'dev' of github.com:answerdev/answer into dev
add b53df317 fix(meta): decode object id
add d7a26952 fix(conf): set default config in ui
add b9c1f6e3 Merge remote-tracking branch 'origin/dev' into test
add 8d295403 Added isInvalid styles for forms (#935)
add bcff195b fix: taSelector component placeholder style optimization
add 50ca94ca fix: update i18n files
add 3aa1de3b fix: dashsboard delet sitename value
add 9b2277d9 fix: fix translation error
add ed9c9be3 fix: fix translation for plugin_link
add 6c65274f 24-05-27 ko_KR update resolve conflict
add 13f5cea3 24-05-28 ko_KR update
add 9c3218a8 24-05-29 ko_KR quoted update
add 9249dd06 Added isInvalid styles for forms (#935)
add 7442d0f7 fix: taSelector component placeholder style optimization
add 36027bc3 fix: update i18n files
add 8477b42a fix: dashsboard delet sitename value
add 7773a5bc fix: fix translation error
add 981df89f fix: fix translation for plugin_link
add 4cc20ee1 24-05-27 ko_KR update
add 3f4fcaa2 24-05-28 ko_KR update
add 47310496 24-05-29 ko_KR quoted update
add eb50384d fix: resolve conflict
add e66914ee fix: update translations
add 931da8e5 fix: update install page title
add 7d3df970 refactor: Remove 'name' property from ActivatedPlugin
interface and add 'enabled' property
add d9d5a787 refactor: According to the status of the plug-in, determine
whether the routing plug-in is enabled
add 3ba27826 fix: Chinese character tag bug
add ece404ef fix: loginToContinueModal z-index error
add 1c8ceea4 fix: fix issues on reactions ui
add 938598aa Merge branch 'feat/1.3.5/embed' into test
add 32ad6bdf Merge branch 'feat/1.3.5/embed' into test
new ee710232 chore: update plugin.js
new 54ca1a2c Merge branch 'feat/1.3.5/embed' of
https://github.com/answerdev/answer into feat/1.3.5/embed
The 2 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 | 6 +-
cmd/main.go | 2 +-
cmd/wire.go | 1 +
cmd/wire_gen.go | 22 +-
configs/config.yaml | 5 +
docs/docs.go | 7 +-
docs/swagger.json | 7 +-
docs/swagger.yaml | 22 +-
i18n/af_ZA.yaml | 6 +-
i18n/ar_SA.yaml | 6 +-
i18n/az_AZ.yaml | 6 +-
i18n/bal_BA.yaml | 6 +-
i18n/ban_ID.yaml | 6 +-
i18n/bn_BD.yaml | 6 +-
i18n/bs_BA.yaml | 6 +-
i18n/ca_ES.yaml | 6 +-
i18n/cs_CZ.yaml | 8 +-
i18n/cy_GB.yaml | 8 +-
i18n/da_DK.yaml | 8 +-
i18n/de_DE.yaml | 8 +-
i18n/el_GR.yaml | 6 +-
i18n/en_US.yaml | 38 +-
i18n/es_ES.yaml | 6 +-
i18n/fa_IR.yaml | 2 +-
i18n/fi_FI.yaml | 6 +-
i18n/fr_FR.yaml | 8 +-
i18n/he_IL.yaml | 6 +-
i18n/hi_IN.yaml | 8 +-
i18n/hu_HU.yaml | 6 +-
i18n/hy_AM.yaml | 6 +-
i18n/id_ID.yaml | 8 +-
i18n/it_IT.yaml | 14 +-
i18n/ja_JP.yaml | 8 +-
i18n/ko_KR.yaml | 2477 ++++++++++----------
i18n/nl_NL.yaml | 6 +-
i18n/no_NO.yaml | 6 +-
i18n/pl_PL.yaml | 8 +-
i18n/pt_BR.yaml | 4 +-
i18n/pt_PT.yaml | 6 +-
i18n/ro_RO.yaml | 8 +-
i18n/ru_RU.yaml | 8 +-
i18n/sk_SK.yaml | 8 +-
i18n/sq_AL.yaml | 6 +-
i18n/sr_SP.yaml | 6 +-
i18n/sv_SE.yaml | 8 +-
i18n/te_IN.yaml | 8 +-
i18n/tr_TR.yaml | 8 +-
i18n/uk_UA.yaml | 8 +-
i18n/vi_VN.yaml | 8 +-
i18n/zh_CN.yaml | 25 +-
i18n/zh_TW.yaml | 8 +-
internal/base/conf/conf.go | 9 +
.../constant/{plugin_config_key.go => meta.go} | 2 +-
internal/base/reason/reason.go | 2 +
internal/base/server/config.go | 5 +
internal/base/server/http.go | 5 +-
internal/cli/build.go | 14 +-
internal/controller/controller.go | 1 +
internal/controller/meta_controller.go | 85 +
internal/controller/template_controller.go | 5 +
internal/entity/meta_entity.go | 1 +
internal/install/install_req.go | 4 +
internal/install/install_server.go | 16 +-
internal/repo/meta/meta_repo.go | 34 +-
internal/repo/user/user_repo.go | 4 -
internal/router/answer_api_router.go | 9 +
internal/router/template_router.go | 16 +-
internal/router/ui.go | 10 +-
.../schema/{sitemap_schema.go => meta_schema.go} | 27 +-
internal/schema/simple_obj_info_schema.go | 22 +-
internal/schema/siteinfo_schema.go | 9 +-
internal/service/activity/activity.go | 9 +-
internal/service/comment/comment_service.go | 4 +-
internal/service/content/question_service.go | 6 +-
internal/service/content/vote_service.go | 6 +
internal/service/export/email_service.go | 9 +-
internal/service/meta/meta_service.go | 224 +-
.../meta_common_service.go} | 31 +-
internal/service/mock/siteinfo_repo_mock.go | 19 -
internal/service/object_info/object_info.go | 2 +
internal/service/provider.go | 4 +-
internal/service/question_common/question.go | 12 +-
internal/service/report/report_service.go | 3 +
ui/.env.production | 5 +-
ui/package.json | 3 +-
ui/pnpm-lock.yaml | 3 +
ui/scripts/env.js | 19 +
ui/src/App.tsx | 4 +-
ui/src/common/interface.ts | 15 +-
.../components/Comment/components/Form/index.tsx | 1 +
.../components/Comment/components/Reply/index.tsx | 195 +-
ui/src/components/Comment/index.tsx | 222 +-
ui/src/components/Header/index.tsx | 49 +-
ui/src/components/Modal/LoginToContinueModal.tsx | 4 +-
.../{HighlightText/index.scss => Modal/login.scss} | 8 +-
ui/src/components/PageTags/index.tsx | 8 +-
ui/src/components/Share/index.tsx | 5 +-
ui/src/components/Tag/index.tsx | 2 +-
ui/src/components/TagSelector/index.scss | 8 +
ui/src/components/TagSelector/index.tsx | 15 +-
ui/src/components/TextArea/index.tsx | 121 +-
.../Admin/Answers/components/Action/index.tsx | 2 +-
ui/src/pages/Admin/Answers/index.tsx | 10 +-
ui/src/pages/Admin/Dashboard/index.tsx | 4 +-
ui/src/pages/Admin/General/index.tsx | 4 +-
ui/src/pages/Admin/Plugins/Installed/index.tsx | 8 +-
.../Admin/Questions/components/Action/index.tsx | 2 +-
ui/src/pages/Admin/Questions/index.tsx | 8 +-
ui/src/pages/Admin/Smtp/index.tsx | 4 +-
.../pages/Admin/Users/components/Action/index.tsx | 2 +-
ui/src/pages/Admin/Users/index.tsx | 2 +-
ui/src/pages/Install/index.tsx | 5 +-
.../Ask/components/SearchQuestion/index.tsx | 5 +-
ui/src/pages/Questions/Ask/index.tsx | 28 +-
.../Detail/components/Reactions/index.tsx | 156 ++
.../Detail/components/WriteAnswer/index.tsx | 1 +
ui/src/pages/Questions/Detail/index.scss | 31 +-
ui/src/pages/Questions/EditAnswer/index.tsx | 8 +-
ui/src/pages/Questions/index.tsx | 2 +-
.../Review/components/EditPostModal/index.tsx | 10 +-
ui/src/pages/Timeline/index.tsx | 2 +-
ui/src/pages/Users/Logout/index.tsx | 4 +-
.../Settings/Account/components/MyLogins/index.tsx | 6 +-
ui/src/router/RouteGuard.tsx | 8 +-
ui/src/router/alias.ts | 2 +
ui/src/router/index.tsx | 18 +-
ui/src/services/common.ts | 10 +
ui/src/utils/floppyNavigation.ts | 25 +-
ui/src/utils/pluginKit/index.ts | 44 +-
ui/src/utils/request.ts | 2 +
ui/template/404.html | 2 +-
ui/template/comment.html | 2 +-
ui/template/header.html | 10 +-
ui/template/homepage.html | 4 +-
ui/template/question-detail.html | 20 +-
ui/template/question.html | 8 +-
ui/template/sidenav.html | 4 +-
ui/template/tag-detail.html | 10 +-
ui/template/tags.html | 2 +-
139 files changed, 2696 insertions(+), 1965 deletions(-)
copy internal/base/constant/{plugin_config_key.go => meta.go} (95%)
create mode 100644 internal/controller/meta_controller.go
copy internal/schema/{sitemap_schema.go => meta_schema.go} (55%)
copy internal/service/{meta/meta_service.go =>
meta_common/meta_common_service.go} (63%)
create mode 100644 ui/scripts/env.js
copy ui/src/components/{HighlightText/index.scss => Modal/login.scss} (90%)
create mode 100644 ui/src/pages/Questions/Detail/components/Reactions/index.tsx