This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
from 2cc7b333 feat: Add delete external user login info by user ID
add 5f468c6f perf: optimize tag has new tag check
add ad638712 fix: add status filter when update tag rel
add 5546bb55 fix: wrong status when enable tag rel
add 68570d72 fix: resolve 404 error on Tags static page
add bb739414 feat: update template files
add 6fc8a6e9 fix: display timezone on Dashboard when set to UTC
add fcecc07f fix: update useRenderHtmlPlugin to target specific HTML
element
add fdd3b4db fix: Tag summary display is not as expected on tag detail page
add 1fe3b7d8 refactor(gomock): update gomock dependence and docs
add f29b43b9 feat(file): update the max image size
add e7ee4ea9 fix(review): reject the review when delete question
add ad956d68 fix: Markdown parsing without incrementing ordered list
numbers
add 241d6f4c feat: actions add toast tips
add 9df9f7a1 perf: add note to email body
add 98eceff5 feat: Add key metrics to the dashboard
add 5060e087 fix(search): fix the wrong offset when searching
add 655a7e48 feat(question): add linked count feature to question
add b9fb7589 feat(question): sort questions by update time for frequent tab
add a955ba06 feat(upload): add support for file attachments and enhance
image upload
add bc20a71a feat: The editor has added support for uploading attachments,
and the management background has added file upload configuration information.
add 4831f6ef fix: Add file upload error handling
add aac2370f feat(upload): add support for file attachments and enhance
image upload
add 4e792ea4 fix: length error
add 7b4044c1 fix: Optimize the mobile style of QueryGroup component
add 4f01ccd5 fix: Optimize the mobile style of QueryGroup component
dropdown btns
add 1ea05660 fix: The pre tag sets the maximum height #1168
add 73eb2a11 test: fix TestGetAvatarURL
add 43a474b4 feat(storage): add upload file condition to plugin upload
add b558de8a feat(user): add top questions and answers to user homepage
add e41a8522 fix: administrator add user failure
add 565ee3cc fix: Attachment accept type adjustment, editor plug-in
insertion position added conditional restrictions
add 9fcf1836 refactor: remove unused heading options and clean up icon
styles
add 7f776470 refactor(i18n): update formatting instructions to mention
post IDs
add 0ad4defb feat(file): implement file download functionality
add 7a8cc6a5 refactor(uploader): improve file upload and download
functionality subpath constants - Adjust file download
add 9c266c5f feat(upload): add support for attachment uploads and improve
image handling
add a4752957 feat: Add delete external user login info by user ID
add f6d517b9 docs(Makefile): upgrade version to 1.4.2
add 803da785 # Conflicts: # i18n/da_DK.yaml # i18n/de_DE.yaml
# i18n/es_ES.yaml # i18n/fa_IR.yaml # i18n/fr_FR.yaml #
i18n/it_IT.yaml # i18n/ko_KR.yaml # i18n/pl_PL.yaml #
i18n/pt_PT.yaml # i18n/ro_RO.yaml # i18n/ru_RU.yaml #
i18n/sv_SE.yaml # i18n/uk_UA.yaml # i18n/vi_VN.yaml #
i18n/zh_CN.yaml
add 4eb731fc Merge branch 'main' into main
add 6ae18901 Update translation (#1199)
new 0e9d36f6 Merge branch 'main' into dev
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 | 13 +-
README.md | 14 +-
cmd/main.go | 2 +-
cmd/wire_gen.go | 2 +-
docs/docs.go | 49 +-
...SE-golang-mock.txt => LICENSE-uber-go-mock.txt} | 0
docs/swagger.json | 49 +-
docs/swagger.yaml | 31 +
go.mod | 2 +-
go.sum | 11 +-
i18n/cs_CZ.yaml | 510 ++---
i18n/cy_GB.yaml | 56 +-
i18n/da_DK.yaml | 56 +-
i18n/de_DE.yaml | 56 +-
i18n/en_US.yaml | 37 +-
i18n/es_ES.yaml | 56 +-
i18n/fa_IR.yaml | 56 +-
i18n/fr_FR.yaml | 56 +-
i18n/hi_IN.yaml | 56 +-
i18n/id_ID.yaml | 56 +-
i18n/it_IT.yaml | 58 +-
i18n/ja_JP.yaml | 2188 ++++++++++----------
i18n/ko_KR.yaml | 56 +-
i18n/ml_IN.yaml | 40 +-
i18n/pl_PL.yaml | 74 +-
i18n/pt_PT.yaml | 76 +-
i18n/ro_RO.yaml | 62 +-
i18n/ru_RU.yaml | 58 +-
i18n/sk_SK.yaml | 56 +-
i18n/sv_SE.yaml | 70 +-
i18n/te_IN.yaml | 56 +-
i18n/tr_TR.yaml | 56 +-
i18n/uk_UA.yaml | 1196 +++++------
i18n/vi_VN.yaml | 56 +-
i18n/zh_CN.yaml | 57 +-
i18n/zh_TW.yaml | 66 +-
internal/base/constant/site_info.go | 6 +
internal/base/constant/{constant.go => upload.go} | 13 +-
internal/cli/build.go | 2 +-
internal/controller/template_controller.go | 12 +-
internal/controller/upload_controller.go | 11 +-
internal/entity/question_entity.go | 1 +
internal/migrations/init.go | 6 +-
internal/migrations/migrations.go | 1 +
internal/migrations/{v18.go => v24.go} | 50 +-
internal/repo/question/question_repo.go | 40 +
internal/repo/review/review_repo.go | 10 +
internal/repo/search_common/search_repo.go | 15 +-
internal/router/static_router.go | 19 +-
internal/schema/question_schema.go | 4 +-
internal/schema/siteinfo_schema.go | 36 +-
internal/service/content/question_service.go | 12 +
internal/service/mock/siteinfo_repo_mock.go | 41 +-
internal/service/question_common/question.go | 23 +
internal/service/review/review_service.go | 1 +
.../siteinfo_common/siteinfo_service_test.go | 2 +-
internal/service/uploader/upload.go | 142 +-
pkg/checker/file_type.go | 53 +-
plugin/storage.go | 24 +-
ui/src/common/interface.ts | 10 +-
ui/src/components/Editor/ToolBars/file.tsx | 135 ++
ui/src/components/Editor/ToolBars/heading.tsx | 7 +-
ui/src/components/Editor/ToolBars/image.tsx | 118 +-
ui/src/components/Editor/ToolBars/index.ts | 2 +
ui/src/components/Editor/index.scss | 75 -
ui/src/components/Editor/index.tsx | 2 +
ui/src/components/Editor/toolItem.tsx | 1 +
ui/src/components/PluginRender/index.tsx | 8 +-
.../Timeline => components/QueryGroup}/index.scss | 21 +-
ui/src/components/QueryGroup/index.tsx | 152 +-
ui/src/components/QuestionList/index.tsx | 5 +-
ui/src/index.scss | 1 +
.../Admin/Answers/components/Action/index.tsx | 9 +
ui/src/pages/Admin/Badges/index.tsx | 9 +
.../Admin/Questions/components/Action/index.tsx | 20 +-
.../pages/Admin/Users/components/Action/index.tsx | 13 +-
ui/src/pages/Admin/Users/index.tsx | 6 +-
ui/src/pages/Admin/Write/index.tsx | 161 +-
ui/src/pages/Tags/Detail/index.tsx | 2 +-
ui/src/stores/writeSetting.ts | 5 +
ui/src/utils/guard.ts | 7 +-
ui/template/homepage.html | 33 +-
ui/template/sort-btns.html | 20 +
83 files changed, 4227 insertions(+), 2512 deletions(-)
rename docs/release/licenses/{LICENSE-golang-mock.txt =>
LICENSE-uber-go-mock.txt} (100%)
copy internal/base/constant/{constant.go => upload.go} (83%)
copy internal/migrations/{v18.go => v24.go} (55%)
create mode 100644 ui/src/components/Editor/ToolBars/file.tsx
copy ui/src/{pages/Timeline => components/QueryGroup}/index.scss (85%)