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 fca80abb fix: correct variable name in JSON unmarshal for site general 
information
     add 638fb082 fix: enhance bracket handling in formatting and add 
concurrency test for internationalization
     add 52d057ef fix: add ID validation and normalization functions for 
comment handling
     add 7952075c fix: normalize ObjectID and CommentID in comment requests
     add 92994b49 fix: add IsAdminModerator field to request structs and 
implement visibility checks for timeline objects
     add 0db88d63 fix(chat): implement HTML rendering for display content
     add 869b040e fix(auth): enhance admin user cache management and add status 
checks for email verification and suspension
     add 659d1f6a Merge remote-tracking branch 'origin/fix/2.0.1/chat' into test
     add 6fc25c69 fix(auth): add API key scope checks to enhance authorization 
security
     add 3c5c47b9 Merge remote-tracking branch 'origin/fix/2.0.1/chat' into test
     add 52880f9d fix: update bubble user background color for dark mode
     add d6cb1b11 fix: update bubble user background color for dark mode
     add 844c73cd fix: change avatar column type to TEXT to support long URLs
     add 09599e4c style: apply gofmt formatting
     add ff997cb0 fix: update migration version to v2.0.1 and remove default 
value for TEXT column
     add 36b54814 Merge remote-tracking branch 'origin/dev' into test
     add 2dbe594d fix(short_id): enhance GetEnableShortID to support gin 
context for short ID flag retrieval
     add 71d11b62 fix: resolve local plugin paths to absolute and enhance 
module replacement logic
     add dea18f99 feat: support semantic search in AI chat and embedding ability
     add dc71f4a2 fix lint issue
     add f346bcc8 update init tables
     add 22c2a5c2 feat: implement vector search plugin and syncer for 
question/answer embeddings
     add 8dd55af6 fix lint
     add 7d0714dd fix lint
     add 5d923f8c feat: add vector sync service and integrate with answer and 
question services
     add 057679a2 refactor: remove unused build-local-vector-plugins target and 
delete VECTOR_SEARCH_DESIGN.md
     add ac7bdda0 fix lint
     add 2836d0ea chore: add Apache License header to multiple files
     add 278fdfd8 refactor: rename UpdateSearch to updateSearch for consistency
     add c93f3bc5 refactor: simplify SaveSiteAI method by removing unnecessary 
error handling
     add e3831b6f refactor: streamline plugin initialization by removing 
redundant search syncer registration
     add 97924574 Merge remote-tracking branch 'origin/dev' into test
     add ab236f2d fix(helm): keep install port aligned with service port
     add 0aca0630 Merge remote-tracking branch 'origin/dev' into test
     add cfc3e54f fix(image): enhance image decoding by implementing 
format-specific checks for JPEG, PNG, and GIF
     add 9da00a80 fix(build): enhance module replacement handling for v2+ 
versions and implement local cloning
     add 11c80384 fix(chat): enhance visibility checks by adding admin 
moderator support in answer and comment services
     add d1a4092c fix(email): enhance email templates by escaping HTML 
characters in dynamic content
     add 11091244 fix(user): enhance avatar validation by adding checks for 
custom avatars and file ownership
     add b1da65fb Merge remote-tracking branch 'origin/fix/2.0.1/chat' into test
     add 31641796 fix: attachment upload broken after v2.0.0 upgrade (#1525)
     add a218924b Merge remote-tracking branch 'origin/dev' into test

No new revisions were added by this update.

Summary of changes:
 charts/templates/deployment.yaml                   |  20 +-
 cmd/wire_gen.go                                    |  14 +-
 internal/base/constant/ai_config.go                |   2 +
 internal/base/handler/short_id.go                  |  14 +-
 internal/base/middleware/auth.go                   |  43 ++++
 internal/cli/build.go                              |  94 +++++++-
 internal/controller/activity_controller.go         |   2 +
 internal/controller/ai_controller.go               |   7 +
 internal/controller/answer_controller.go           |   8 +-
 internal/controller/comment_controller.go          |   2 +
 internal/controller/mcp_controller.go              | 133 ++++++++++++
 internal/controller/question_controller.go         |   3 +-
 internal/entity/user_entity.go                     |   2 +-
 internal/migrations/migrations.go                  |   1 +
 internal/migrations/{v19.go => v32.go}             |  12 +-
 internal/repo/comment/comment_repo.go              |   7 +
 internal/repo/vector_search_sync/syncer.go         | 240 +++++++++++++++++++++
 internal/schema/activity.go                        |  16 +-
 internal/schema/answer_schema.go                   |  19 +-
 internal/schema/comment_schema.go                  |   6 +-
 internal/schema/mcp_schema.go                      |  62 +++++-
 internal/schema/mcp_tools/mcp_tools.go             |  15 ++
 internal/schema/question_schema.go                 |   1 +
 internal/schema/simple_obj_info_schema.go          | 112 ++++++++--
 internal/service/activity/activity.go              | 108 ++++++++++
 internal/service/auth/auth.go                      |  34 ++-
 internal/service/comment/comment_service.go        |  46 ++++
 internal/service/content/answer_service.go         |  60 +++++-
 internal/service/content/question_service.go       |  19 ++
 internal/service/content/revision_service.go       |  13 +-
 internal/service/content/user_service.go           |  39 ++++
 internal/service/embedding/embedding_service.go    |  60 ++++++
 internal/service/export/email_service.go           |  39 +++-
 internal/service/object_info/object_info.go        |  38 ++--
 .../service/plugin_common/plugin_common_service.go |  13 ++
 internal/service/provider.go                       |   4 +
 internal/service/review/review_service.go          |  17 ++
 .../service/siteinfo_common/siteinfo_service.go    |   5 +
 internal/service/vector_sync/vector_sync.go        | 115 ++++++++++
 pkg/checker/file_type.go                           |  59 +++--
 pkg/day/day.go                                     |  21 +-
 pkg/day/day_test.go                                |  78 ++++++-
 pkg/uid/sid.go                                     |  39 ++++
 plugin/plugin.go                                   |   4 +
 plugin/vector_search.go                            | 174 +++++++++++++++
 ui/src/components/BubbleAi/index.tsx               |  66 +++++-
 ui/src/components/BubbleUser/index.scss            |   4 +
 ui/src/components/Editor/ToolBars/file.tsx         |   3 +-
 ui/src/components/Editor/utils/codemirror/base.ts  |   8 +
 ui/src/pages/AiAssistant/index.tsx                 |   2 +-
 ui/src/pages/Search/components/AiCard/index.tsx    |   6 +-
 51 files changed, 1779 insertions(+), 130 deletions(-)
 copy internal/migrations/{v19.go => v32.go} (73%)
 create mode 100644 internal/repo/vector_search_sync/syncer.go
 create mode 100644 internal/service/embedding/embedding_service.go
 create mode 100644 internal/service/vector_sync/vector_sync.go
 create mode 100644 plugin/vector_search.go

Reply via email to