You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2026/08/17 06:25:35 UTC
(answer) 01/01: Merge remote-tracking branch 'origin/fix/2.0.3/user' into test
This is an automated email from the ASF dual-hosted git repository.
LinkinStars pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
commit 65f0060888d7df1211701181310a569d5ff0022a
Merge: 2c0ced32 a203e7f6
Author: LinkinStars <li...@foxmail.com>
AuthorDate: Mon Aug 17 14:25:19 2026 +0800
Merge remote-tracking branch 'origin/fix/2.0.3/user' into test
internal/base/middleware/header.go | 4 +
.../base/middleware/{header.go => header_test.go} | 23 +++--
internal/base/middleware/visit_img_auth.go | 1 +
internal/base/server/http.go | 2 +-
internal/controller/mcp_controller.go | 30 ++++++-
internal/controller/mcp_controller_test.go | 50 +++++++++++
internal/controller/question_controller.go | 66 ++++++++++-----
internal/controller/question_controller_test.go | 49 +++++++++++
internal/repo/question/question_repo.go | 14 ++-
.../repo/repo_test/question_link_security_test.go | 85 +++++++++++++++++++
internal/router/static_router.go | 20 ++++-
.../header.go => router/static_router_test.go} | 26 ++++--
internal/schema/email_template.go | 7 +-
internal/schema/email_template_test.go | 41 +++++++++
internal/schema/question_schema.go | 14 +--
internal/service/auth/auth.go | 3 -
internal/service/auth/auth_test.go | 99 ++++++++++++++++++++++
internal/service/content/question_service.go | 30 +++++--
.../content/question_service_visibility_test.go | 65 ++++++++++++++
internal/service/content/user_service.go | 31 +++++--
internal/service/content/user_service_test.go | 43 ++++++++++
internal/service/importer/importer_service.go | 29 ++++---
.../importer/importer_service_test.go} | 19 +++--
internal/service/question_common/question.go | 2 +-
internal/service/uploader/upload.go | 13 +--
internal/service/user_admin/user_backyard.go | 10 ++-
pkg/checker/file_type.go | 2 +
.../header.go => pkg/checker/file_type_test.go | 20 +++--
28 files changed, 688 insertions(+), 110 deletions(-)