Commit Graph

277 Commits

Author SHA1 Message Date
LinkinStars ce5aadf30d feat: add AI configuration support with related controllers and services 2026-01-23 17:25:42 +08:00
kumfo d65e257f92 feat(docs): add Apache License 2.0 header to wire_gen.go 2026-01-22 12:21:02 +08:00
kumfo 29ec29bde7 feat(menu): update admin menu settings to include questions, tags, and advanced options 2026-01-20 14:54:52 +08:00
maishivamhoo123 1fbb802e8f feat: load optional .env file and add .env.example 2026-01-14 11:26:00 +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
LinkinStars 5e705a124b refactor(lint): improve error handling and code consistency across multiple files 2025-12-01 12:27:25 +08:00
ferhat elmas bc629db132 chore(deps): bump mockgen to 0.6.0 for go1.25 support
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
2025-11-28 17:00:25 +08:00
LinkinStars eb1b20ab96 chore(ci): Add ASF header 2025-10-28 15:27:11 +08:00
Sonui 93e183be62 feat: Add resetPassword cli tool 2025-10-28 14:52:53 +08:00
shuai 52e1b8bd86 fix: merge dev 2025-10-21 18:13:37 +08:00
shuai 78df776449 fix: Details page editing time value adjustment 2025-09-30 15:34: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 6d02706d4d feat(user): add user suspension functionality 2025-06-26 14:42:08 +08:00
LinkinStars 03ec0ddfbb chore(deps): update Go version to 1.23 in configuration files 2025-06-24 11:16:29 +08:00
DanielAuerX def0559a55 Fix file record and delete files (branding and avatar) (#1335)
- [x] create file_record table
- [x] avatar and branding files are added to file_record
- [x] branding files are being deleted
- [x] avatar files are being deleted
- [x] reload latest avatar (frontend) after backend state is being
updated

problems addressed in the pr:
- clean up job fails, because it cannot access file_record table
- avatar and branding files are not added to the file_record table
- avatar and branding files are never deleted
- after an avatar is being updated/deleted, the old file is still being
requested due to browser caching. This is causing error logs ("no such
file or directory") in the backend.

cf. conversation in [pr
1326](https://github.com/apache/answer/pull/1326)

---------

Co-authored-by: broccoli <lekker.broccoli@gmail.com>
Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2025-05-23 15:07:14 +08:00
Shaobiao Lin 4182d9f506 docs(command): unify style of usage statements
close #1330
2025-05-10 10:59:00 +08:00
Shaobiao Lin 757e89467a docs(command): remove redundant comments
The codes are self-documenting enough.
2025-05-10 10:59:00 +08:00
LinkinStars 02c1304b99 feat(docs): Add Apache License header 2025-04-29 15:00:40 +08:00
shuai 9f420e67d2 Merge branch 'dev' into test 2025-04-27 11:59:34 +08:00
Luffy 30bac18a85 fix: add signal exit on build failure 2025-04-25 17:09:44 +08:00
shuai bebf5931a1 style: admin ui style changed 2025-04-07 15:31:31 +08:00
shuai 105cd37dfe fix: update seo template for footer template 2025-04-07 11:44:34 +08:00
hgaol 3b07b39d89 remove unused service in question service 2025-03-26 18:44:14 +08:00
hgaol 989b2b3650 feat: support using search plugin to search similar question in ask question page 2025-03-26 18:44:14 +08:00
LinkinStars 5cffab8649 feat(service): implement file cleanup and deletion functionality 2025-01-10 10:43:35 +08:00
LinkinStars 47c666200e Merge remote-tracking branch 'origin/main' into dev
# Conflicts:
#	internal/base/middleware/accept_language.go
#	internal/schema/answer_schema.go
#	internal/schema/comment_schema.go
#	internal/service/user_admin/user_backyard.go
2025-01-07 12:48:13 +08:00
LinkinStars 0618947350 refactor(name): rename incubator-answer 2025-01-07 10:39:23 +08:00
Luffy d328ea4175 fix: rename DeleteUserBadge to DeleteUserBadgeAward 2025-01-02 16:49:07 +08:00
Luffy 0f69467340 feat: remove user config 2025-01-02 16:49:07 +08:00
Luffy 79454f3480 fix: typo 2024-12-30 16:10:28 +08:00
Luffy a475295784 feat: Add delete external user login info by user ID 2024-12-09 11:52:18 +08:00
LinkinStars e7ee4ea91d fix(review): reject the review when delete question 2024-12-09 11:52:18 +08:00
LinkinStars 1fe3b7d8fc refactor(gomock): update gomock dependence and docs 2024-12-09 11:52:18 +08:00
LinkinStars 23cc755aa8 feat(question): add question linking feature for closing question 2024-10-18 15:55:31 +08:00
sy-records a8e008de07 feat: Support related and hot questions template 2024-10-17 11:08:06 +08:00
LinkinStars 8602065490 refactor(provider): add importer provider 2024-10-16 17:03:29 +08:00
Anan 73c7a22900 Fix importer 2024-10-16 11:28:26 +08:00
Anan 5aad9e95b5 Add importer service 2024-10-16 11:28:26 +08:00
LinkinStars 0d6ea89ad3 refactor(gomod): upgrade golang and dependence version 2024-09-23 15:00:34 +08:00
sy-records 48c2387853 chore: sync swagger 2024-09-19 14:37:04 +08:00
LinkinStars 2e67b9ca6f fix(swagger): fix title and description on swagger docs 2024-09-11 16:41:45 +08:00
sy-records fb9bece01c fix: format code 2024-09-05 11:07:15 +08:00
sy-records c751364974 fix: add getInstallLanguageConfig 2024-09-05 11:07:15 +08:00
kumfo bd7a8c0368 fix(badge): fixed badge description translation 2024-09-04 18:26:31 +08:00
LinkinStars 2ca5e8bb4a Merge branch 'dev' into test
# Conflicts:
#	cmd/wire_gen.go
#	internal/service/content/question_service.go
2024-09-04 10:29:05 +08:00
ferrischi201 eacb79e512 feat(recommend): add tag-based recommendations in question page
Filter out deleted or hidden questions and support multi databases and filter out deleted or hidden questions.

For issue:1003.
2024-09-04 10:24:53 +08:00
robin 1af1f77a60 feat: Add RenderController to handle rendering configuration 2024-08-23 11:39:16 +08:00
LinkinStars 2cc478357a Merge branch 'feat/1.4.0/config' into test 2024-08-23 10:22:26 +08:00
LinkinStars b20e656c30 feat(config): add deactivate plugin config cli 2024-08-22 14:21:18 +08:00