550 Commits

Author SHA1 Message Date
LinkinStars b1da65fbe4 Merge remote-tracking branch 'origin/fix/2.0.1/chat' into test 2026-05-11 12:16:58 +08:00
LinkinStars 11c80384f1 fix(chat): enhance visibility checks by adding admin moderator support in answer and comment services 2026-05-09 15:13:50 +08:00
LinkinStars 97924574c4 Merge remote-tracking branch 'origin/dev' into test 2026-05-08 19:58:22 +08:00
hgaol 22c2a5c276 feat: implement vector search plugin and syncer for question/answer embeddings
- Added a new vector search syncer to aggregate questions and answers with comments for vector embedding.
- Introduced a new VectorSearch interface and related structures for managing vector storage and similarity search.
- Refactored embedding service to delegate semantic search to the new vector search plugin.
- Removed embedding-related fields from SiteAIProvider and UI forms as part of the transition to the new vector search architecture.
- Updated plugin registration to include vector search capabilities.
- Cleaned up embedding service methods and removed unused dependencies.
2026-05-08 19:57:19 +08:00
hgaol dea18f997c feat: support semantic search in AI chat and embedding ability 2026-05-08 19:57:19 +08:00
LinkinStars 7952075ce5 fix: normalize ObjectID and CommentID in comment requests 2026-02-09 23:35:17 +08:00
LinkinStars 52d057ef18 fix: add ID validation and normalization functions for comment handling 2026-02-09 20:27:37 +08:00
LinkinStars 92994b4997 fix: add IsAdminModerator field to request structs and implement visibility checks for timeline objects 2026-02-06 15:32:45 +08:00
LinkinStars 8b61cad014 fix(lint): resolve the lint issue 2026-01-27 17:49:29 +08:00
LinkinStars 9ea13af860 feat(revision): enhance revision management with object status handling 2026-01-27 17:38:47 +08:00
LinkinStars 94c030829d fix: correct loop iteration in AI conversation rounds 2026-01-23 17:25:46 +08:00
LinkinStars ce5aadf30d feat: add AI configuration support with related controllers and services 2026-01-23 17:25:42 +08:00
kumfo 18b76f3e23 feat(siteinfo): add site_security to response structure and update related schemas 2026-01-22 12:25:37 +08:00
kumfo 3264fdd1d9 feat(siteinfo): refactor site legal and security settings to use new policies and security endpoints 2026-01-22 12:25:37 +08:00
kumfo c2a0bee7dc feat(siteinfo): add users settings endpoint and update interface settings structure 2026-01-22 12:25:37 +08:00
kumfo f05f1eb80d feat(menu): update admin menu settings to include questions, tags, and advanced options 2026-01-22 12:25:32 +08:00
ferhat elmas 26d868b123 refactor(queue): improve queues
* fix race condition for registering handler
* add close method
* use generics to reduce duplication
* rename packages to drop underscore for go convention
* rename interface to drop stutter with package name

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
2026-01-14 11:22:53 +08:00
liruohrh 740ac61bb2 fix: get right lang 2025-12-08 20:06:18 +08:00
ferhat elmas 670aa32325 refactor(lint): add new linters and fix their issues
* gocritic
* misspell
* modernize (aside, bumping go would be nice)
* testifylint
* unconvert
* unparam
* whitespace

related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
2025-12-05 10:45:55 +08:00
LinkinStars 5e705a124b refactor(lint): improve error handling and code consistency across multiple files 2025-12-01 12:27:25 +08:00
LinkinStars 9540ef6005 refactor(goimports): add goimports to golangci-lint configuration #1432 2025-12-01 11:32:12 +08:00
LinkinStars fc2a1d8afe fix(answer): update QuestionID handling in answer update process 2025-11-28 17:01:12 +08:00
LinkinStars 09b6b34b05 fix(comment): decode CommentID using DeShortID for consistency 2025-11-20 17:50:57 +08:00
shuai 52e1b8bd86 fix: merge dev 2025-10-21 18:13:37 +08:00
Luffy bec3e355a9 feat: Add user comment moderation 2025-09-23 14:57:07 +08:00
kumfo a6d95ae8f9 feat: add sidebar plugin 2025-08-13 14:44:25 +08:00
LinkinStars d82c75d7cc refactor(api): rename methods and update documentation for clarity 2025-06-24 11:19:33 +08:00
LinkinStars dc98f61d69 refactor(api): update API documentation and method names for clarity 2025-06-24 11:05:11 +08:00
Giorgio Bonvicini 6381a2192e fix: update the visit cookie if it does not match the visit token
Previous behavior was to keep any existing visit cookies, which caused problems like #1334
2025-05-26 10:42:54 +08:00
shuai 9f420e67d2 Merge branch 'dev' into test 2025-04-27 11:59:34 +08:00
hgaol 9c0844f0ed feat: implement MergeTag functionality with UI and backend support 2025-04-25 18:34:14 +08:00
hgaol 6abf8222d7 feat: add MergeTag functionality to merge tags and update followers 2025-04-25 18:34:14 +08:00
LinkinStars b2d5e9ba92 refactor(controller): optimize embed controller and update related components 2025-04-25 10:43:40 +08:00
LinkinStars ef30ef228d feat(user): user can't login when suspended 2025-04-17 10:33:53 +08:00
Seiya f92860e8ec chore: remove duplicated security requirements (#1302)
close #1300
2025-04-02 09:12:39 +08:00
Young Xu d48b633baa fix: get tag with page nil pointer error
Signed-off-by: Young Xu <xuthus5@gmail.com>
2025-04-01 10:28:36 +08:00
LinkinStars 5586940832 Merge remote-tracking branch 'origin/feat/1.4.5/file' into test 2025-03-11 12:06:32 +08:00
LinkinStars 54269334b6 feat(siteinfo): add external content display configuration 2025-03-11 12:05:31 +08:00
LinkinStars 3acc19c8eb Merge remote-tracking branch 'origin/feat/1.4.5/file' into test 2025-03-04 14:26:19 +08:00
LinkinStars de58e527e4 fix(siteinfo): fix Manifest: property 'icons' ignored, type array expected. 2025-03-04 14:23:23 +08:00
LinkinStars d1eac6eefe Merge remote-tracking branch 'origin/feat/1.4.5/file' into test 2025-02-28 18:37:43 +08:00
LinkinStars e470b63f42 feat(server): add API base URL configuration and update routes 2025-02-28 17:07:46 +08:00
LinkinStars 3811b43fa3 Merge branch 'dev' into test 2025-01-16 15:56:05 +08:00
Young Xu 774f4b39b7 chore: remove excess judgment code
Signed-off-by: Young Xu <xuthus5@gmail.com>
2025-01-14 10:13:53 +08:00
LinkinStars 8a33548396 Merge branch 'dev' into test 2025-01-13 16:39:11 +08:00
LinkinStars a5d826c6d4 feat(file): add ENV for skip the file access verification 2025-01-13 16:38:19 +08:00
LinkinStars 5cffab8649 feat(service): implement file cleanup and deletion functionality 2025-01-10 10:43:35 +08:00
Luffy 0285a47ae3 fix: missing ApiKeyAuth configuration in Swagger 2025-01-09 17:00:28 +08:00
LinkinStars 0618947350 refactor(name): rename incubator-answer 2025-01-07 10:39:23 +08:00
LinkinStars b558de8a23 feat(user): add top questions and answers to user homepage 2024-12-09 11:52:18 +08:00