This is an automated email from the ASF dual-hosted git repository.
LinkinStars pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
from 65f00608 Merge remote-tracking branch 'origin/fix/2.0.3/user' into test
add 61ff3ea1 fix: hide hidden questions from public answer profiles
add a52cc0ae fix(security): enforce personal comment visibility
add 41a9d887 fix(security): restrict similar question visibility
add 372f0776 fix(security): revoke stale visit tokens
add 76739fcf fix(security): enforce mutation visibility checks
new cb5d3bd5 Merge remote-tracking branch 'origin/fix/2.0.3/user' into test
add 7a2e2475 fix(ui): allow uppercase letters in username on profile
settings (#1572)
add 548889e2 New and fixed translations
new d70b5cd4 Merge remote-tracking branch 'origin/dev' into test
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:
i18n/de_DE.yaml | 316 +++++++++++----------
internal/base/middleware/visit_img_auth_test.go | 155 ++++++++++
internal/controller/answer_controller.go | 3 +-
internal/controller/comment_controller.go | 9 +-
internal/controller/question_controller.go | 12 +-
internal/controller/report_controller.go | 3 +-
internal/controller/vote_controller.go | 6 +-
internal/entity/answer_entity.go | 1 +
internal/repo/answer/answer_repo.go | 16 +-
internal/repo/auth/auth.go | 16 ++
.../repo_test/personal_answer_visibility_test.go | 89 ++++++
internal/schema/answer_schema.go | 23 +-
internal/schema/comment_schema.go | 7 +-
internal/schema/report_schema.go | 7 +-
internal/schema/vote_schema.go | 11 +-
internal/service/auth/auth.go | 7 +-
internal/service/comment/comment_service.go | 47 +--
.../comment/comment_service_visibility_test.go | 95 +++++++
internal/service/content/answer_service.go | 8 +
internal/service/content/question_service.go | 17 +-
.../content/question_service_visibility_test.go | 75 +++++
internal/service/content/vote_service.go | 6 +
internal/service/report/report_service.go | 3 +
internal/service/user_admin/user_backyard.go | 1 +
ui/src/pages/Users/Settings/Profile/index.tsx | 2 +-
25 files changed, 724 insertions(+), 211 deletions(-)
create mode 100644 internal/base/middleware/visit_img_auth_test.go
create mode 100644 internal/repo/repo_test/personal_answer_visibility_test.go
create mode 100644 internal/service/comment/comment_service_visibility_test.go