This is an automated email from the ASF dual-hosted git repository.

LinkinStars pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/answer.git


    from 3b9f1370 fix: edit question fails when short links enabled (#1554)
     add 7c210a48 feat: add reasoning content to AI conversation records and 
update related components (#1530)
     add 68085ab7 fix: update license entries
     add e884bb61 fix: avoid topic fallback for non-Latin titles via pragmatic 
ASCII transliteration (#1526)
     add cece87f9 feat: add recovery middleware to handle panic gracefully
     add 682811f7 fix: scope JSON 500 to API routes, skip rewriting 
already-flushed responses
     add 43a91313 fix: accept answer fails when short links enabled (#1541)
     add d93e31e9 feat(site): allow disabling email verification
     add 3b6f981b fix(site): require explicit email verification setting
     add e1d58ab6 feat(notification): add interval for new question emails
     add d10e6aad fix(notification): move new question email throttling to 
worker
     add b70dda99 fix(notification): make new question email queue configurable
     add c17e0c94 fix(notification): remove buffer size parameter from new 
question email worker for test
     add 9df58539 fix(tests): update goroutine handling in new question email 
worker tests
     add ecef4f11 Merge remote-tracking branch 'origin/main' into dev
     add 98329f3b fix: advanced site settings setup from migration 30
     add 4488ccc6 fix: tag search never matches on slug name
     add da622a49 test(converter): pin renderLinkIsUrl behavior
     add 1ccb4b7a fix: add ASF header to tag search test
     add 413bbd0c i18n: complete Russian (ru_RU) translation
     add 2c0ced32 fix: use TagStatusDeleted instead of QuestionStatusDeleted in 
tag permission
     add b80ad0a8 fix: avoid sensitive auth logging
     add 32b451ce fix: normalize imported content
     add 21e0714a fix: align question operation permissions
     add e8ded23a fix: strengthen request safeguards
     add 2e2c3019 fix: enforce question access controls
     add 63a67542 fix: constrain MCP content access
     add a203e7f6 chore: satisfy static checks
     add 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
     add 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
     add d70b5cd4 Merge remote-tracking branch 'origin/dev' into test
     add 7a7caac9 fix: normalize allowed email domains
     add 3985d20c fix(security): preserve User Center session identity
     add 22867b41 fix(security): enforce reaction content visibility
     add 49c9bad8 Merge remote-tracking branch 'origin/fix/2.0.3/user' into test
     add dd4c6f3b feat(plugin): add IsVectorSearchEnabled function to check 
plugin status
     add 947a48b6 fix(ai): stop advertising semantic_search when no vector 
search plugin is enabled (#1597)
     add 9c15df87 fix: comment url swaps title and answer id
     add f4db9ec5 charts: support using an existing PVC via 
persistence.existingClaim
     add 7f226dcd fix: lowercase the email before hashing the Gravatar URL
     add d787464a test: guard frontend behaviour a successful build does not 
demonstrate
     add 791b5f74 fix: parse built asset tags without depending on the emitted 
format
     add 88c5ef66 fix: render every entry stylesheet, not only the first
     add c7b37a15 style: iterate the rel attribute tokens without building a 
slice
     add 69fc3c96 test: assert every declared stylesheet is parsed, not just one
     add ace02c49 chore: align asset-check comments with the DOM-tolerant parser
     add 736dde0e build: replace Create React App with Vite (#1616)
     add c1669e17 Merge remote-tracking branch 'origin/dev' into test
     add 6744295f chore: update version to 2.0.3 and adjust prerequisites in 
README

No new revisions were added by this update.

Summary of changes:
 .github/workflows/build-binary-for-release.yml     |     2 +-
 .gitignore                                         |     6 +-
 Makefile                                           |     2 +-
 README.md                                          |     4 +-
 charts/templates/deployment.yaml                   |     2 +-
 charts/templates/pvc.yaml                          |     2 +-
 charts/values.yaml                                 |     2 +
 cmd/wire_gen.go                                    |     2 +-
 go.mod                                             |     2 +-
 i18n/de_DE.yaml                                    |   316 +-
 i18n/en_US.yaml                                    |     3 +-
 i18n/i18n.yaml                                     |     2 +-
 i18n/ru_RU.yaml                                    |   797 +-
 i18n/zh_CN.yaml                                    |     3 +-
 internal/base/middleware/header.go                 |     4 +
 .../middleware/{short_id.go => header_test.go}     |    35 +-
 internal/base/middleware/visit_img_auth.go         |     1 +
 internal/base/middleware/visit_img_auth_test.go    |   155 +
 internal/base/server/http.go                       |     2 +-
 internal/controller/ai_controller.go               |    55 +-
 internal/controller/ai_tools_test.go               |    90 +
 internal/controller/answer_controller.go           |     3 +-
 internal/controller/comment_controller.go          |     9 +-
 internal/controller/mcp_controller.go              |    37 +-
 internal/controller/mcp_controller_test.go         |    50 +
 internal/controller/meta_controller.go             |     2 +
 internal/controller/question_controller.go         |    78 +-
 internal/controller/question_controller_test.go    |    49 +
 internal/controller/report_controller.go           |     3 +-
 internal/controller/template_controller.go         |    75 +-
 internal/controller/template_controller_test.go    |    78 +
 internal/controller/vote_controller.go             |     6 +-
 internal/entity/answer_entity.go                   |     1 +
 internal/migrations/migrations.go                  |     1 +
 internal/migrations/v35.go                         |    72 +
 internal/migrations/v35_test.go                    |   101 +
 internal/repo/answer/answer_repo.go                |    16 +-
 internal/repo/auth/auth.go                         |    16 +
 internal/repo/question/question_repo.go            |    14 +-
 .../repo_test/personal_answer_visibility_test.go   |    89 +
 .../repo/repo_test/question_link_security_test.go  |    85 +
 internal/repo/tag_common/tag_common_repo.go        |    22 +-
 .../tag_common/tagsearch_test.go}                  |    22 +-
 internal/router/static_router.go                   |    20 +-
 .../lang.go => router/static_router_test.go}       |    35 +-
 internal/schema/answer_schema.go                   |    23 +-
 internal/schema/comment_schema.go                  |     7 +-
 internal/schema/email_template.go                  |     7 +-
 ...r_activity_schema.go => email_template_test.go} |    42 +-
 internal/schema/meta_schema.go                     |    14 +-
 internal/schema/question_schema.go                 |    14 +-
 internal/schema/report_schema.go                   |     7 +-
 internal/schema/vote_schema.go                     |    11 +-
 internal/service/auth/auth.go                      |    10 +-
 internal/service/auth/auth_test.go                 |    99 +
 internal/service/auth/user_center_status_test.go   |   111 +
 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       |    47 +-
 .../content/question_service_visibility_test.go    |   140 +
 internal/service/content/user_service.go           |    31 +-
 internal/service/content/user_service_test.go      |    43 +
 internal/service/content/vote_service.go           |     6 +
 internal/service/embedding/embedding_service.go    |     6 +
 internal/service/importer/importer_service.go      |    29 +-
 .../importer/importer_service_test.go}             |    31 +-
 internal/service/meta/meta_service.go              |    22 +
 .../service/meta/meta_service_visibility_test.go   |   103 +
 internal/service/permission/tag_permission.go      |     2 +-
 internal/service/question_common/question.go       |     2 +-
 internal/service/report/report_service.go          |     3 +
 internal/service/uploader/upload.go                |    13 +-
 internal/service/user_admin/user_backyard.go       |    11 +-
 .../user_center_login_service.go                   |    28 +-
 .../user_center_login_service_test.go              |   149 +
 pkg/checker/email.go                               |     3 +-
 pkg/checker/email_test.go                          |    45 +
 pkg/checker/file_type.go                           |     2 +
 pkg/checker/{url.go => file_type_test.go}          |    25 +-
 pkg/converter/markdown_test.go                     |    78 +
 pkg/display/url.go                                 |     2 +-
 pkg/display/url_test.go                            |   115 +
 pkg/gravatar/gravatar.go                           |     2 +-
 pkg/gravatar/gravatar_test.go                      |    15 +
 plugin/vector_search.go                            |    10 +
 ui/.env.development                                |     1 -
 ui/.env.production                                 |     4 +-
 ui/.eslintignore                                   |     1 -
 ui/.eslintrc.js                                    |     1 -
 ui/.gitignore                                      |     6 +-
 ui/config-overrides.js                             |   154 -
 ui/{public => }/index.html                         |     3 +-
 ui/package.json                                    |    27 +-
 ui/pnpm-lock.yaml                                  | 13897 ++++---------------
 ui/scripts/env.js                                  |     4 +-
 ui/src/App.test.tsx                                |    30 -
 ui/src/App.tsx                                     |     2 +-
 ui/src/components/Editor/index.scss                |     2 +-
 .../InitialLoadingPlaceholder/index.scss           |     2 +-
 .../components/InitialLoadingPlaceholder/index.tsx |     2 +-
 ui/src/components/PageTags/index.tsx               |     2 +-
 ui/src/index.scss                                  |     8 +-
 .../Dashboard/components/HealthStatus/index.tsx    |     4 +-
 .../UserCenter/AuthFailed/components/WeCom.tsx     |    15 +-
 ui/src/pages/Users/Settings/Profile/index.tsx      |     2 +-
 ui/src/react-app-env.d.ts                          |    16 +-
 ui/src/router/alias.ts                             |     2 +-
 ui/src/router/index.tsx                            |    51 +-
 ui/src/utils/common.ts                             |     3 +-
 ui/src/utils/localize.ts                           |     4 +-
 ui/src/utils/pluginKit/utils.ts                    |    12 +-
 ui/src/utils/request.ts                            |     3 +-
 ui/template/header.html                            |     6 +-
 ui/tsconfig.json                                   |     1 -
 ui/vite.config.mts                                 |   130 +
 116 files changed, 5844 insertions(+), 12380 deletions(-)
 copy internal/base/middleware/{short_id.go => header_test.go} (56%)
 create mode 100644 internal/base/middleware/visit_img_auth_test.go
 create mode 100644 internal/controller/ai_tools_test.go
 create mode 100644 internal/controller/mcp_controller_test.go
 create mode 100644 internal/controller/question_controller_test.go
 create mode 100644 internal/controller/template_controller_test.go
 create mode 100644 internal/migrations/v35.go
 create mode 100644 internal/migrations/v35_test.go
 create mode 100644 internal/repo/repo_test/personal_answer_visibility_test.go
 create mode 100644 internal/repo/repo_test/question_link_security_test.go
 copy internal/{base/middleware/header.go => repo/tag_common/tagsearch_test.go} 
(56%)
 copy internal/{base/handler/lang.go => router/static_router_test.go} (56%)
 copy internal/schema/{answer_activity_schema.go => email_template_test.go} 
(50%)
 create mode 100644 internal/service/auth/auth_test.go
 create mode 100644 internal/service/auth/user_center_status_test.go
 create mode 100644 internal/service/comment/comment_service_visibility_test.go
 create mode 100644 internal/service/content/question_service_visibility_test.go
 copy internal/{base/middleware/user_center_plugin_auth.go => 
service/importer/importer_service_test.go} (61%)
 create mode 100644 internal/service/meta/meta_service_visibility_test.go
 create mode 100644 
internal/service/user_external_login/user_center_login_service_test.go
 create mode 100644 pkg/checker/email_test.go
 copy pkg/checker/{url.go => file_type_test.go} (69%)
 create mode 100644 pkg/converter/markdown_test.go
 create mode 100644 pkg/display/url_test.go
 delete mode 100644 ui/config-overrides.js
 rename ui/{public => }/index.html (97%)
 delete mode 100644 ui/src/App.test.tsx
 create mode 100644 ui/vite.config.mts

Reply via email to