52 Commits

Author SHA1 Message Date
LinkinStars 9d9f5d06a8 fix: enhance user admin service to manage API keys and filter answer visibility 2026-07-10 10:19:39 +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 8a33548396 Merge branch 'dev' into test 2025-01-13 16:39:11 +08:00
Nikita Sivukhin 6d84720404 pass pointer instead of slice to Find(...) method 2025-01-13 16:29:55 +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 4a74eed4a7 feat: Add permanently delete 2024-12-25 15:53:04 +08:00
Sonui 3eb9822c09 feat(question): support linking question 2024-10-12 10:17:18 +08:00
kumfo 795febe0ee feat(hot): change frequent to hot 2024-07-11 17:27:03 +08:00
LinkinStars abe0680641 Release/1.3.0 (#876)
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: Han Gao <dhangao@hotmail.com>
Co-authored-by: wzy <770954908@qq.com>
Co-authored-by: zahash <zahash.z@gmail.com>
Co-authored-by: Hosein Beigi <hbsciw@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: 而立 <cuihengqing@cai-inc.com>
Co-authored-by: foxzero-007 <chq2549603631@gmail.com>
Co-authored-by: easy <58644520+foxzero-007@users.noreply.github.com>
Co-authored-by: robin <robin@rnode.me>
Co-authored-by: Akhil <surapuramakhil@gmail.com>
Co-authored-by: Shaobiao Lin <whalevocal@gmail.com>
2024-03-22 17:25:46 +08:00
LinkinStars 937de43978 Release/1.2.5 (#759)
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: Yang Wong <yang wang>
Co-authored-by: hbsciw <hbsciw@gmail.com>
2024-01-29 17:19:41 +08:00
LinkinStars 82fdfc7763 Release/1.2.1 (#678)
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
2023-12-14 15:07:58 +08:00
LinkinStars a458f3409c rename all old answerdev/answer link to apache/incubator-answer (#603)
Co-authored-by: shuai <lishuailing@sifou.com>
2023-11-01 14:48:35 +08:00
tison 3d2187d849 chore: add license headers
Signed-off-by: tison <wander4096@gmail.com>
2023-10-26 11:11:23 +08:00
LinkinStars 5101c12ec1 fix(search): filter all special characters when searching 2023-10-08 15:11:02 +08:00
LinkinStars 9d96dda29b feat(answer): support recover answer, question and tag 2023-09-26 16:15:25 +08:00
LinkinStars 3a82632eec fix(answer): delete answer won't modify edit time 2023-09-21 11:36:20 +08:00
LinkinStars b38f2e4345 feat(user): remove all the content when delete user 2023-09-12 18:56:52 +08:00
LinkinStars 50beae6104 fix(user): Adding quotes to the user keyword to fix compatibility issues under PostgreSQL #424 2023-08-31 16:16:45 +08:00
LinkinStars eeb5f94a06 fix(answer): fix incorrect notification triggers when accept the answer 2023-08-28 16:21:28 +08:00
LinkinStars 0d2c9cfd45 feat(search): convert answer and question to search content 2023-08-17 15:25:14 +08:00
LinkinStars bf50c8971c feat(plugin): update search condition 2023-07-26 16:35:33 +08:00
LinkinStars 6f812a0a56 fix(search): fix search condition 2023-07-20 18:48:35 +08:00
LinkinStars 93995369ba Merge remote-tracking branch 'github/feat/plugin/search' into feat/1.1.1/state
# Conflicts:
#	internal/repo/answer/answer_repo.go
#	internal/repo/question/question_repo.go
2023-07-19 15:48:23 +08:00
LinkinStars e6471696be Merge branch 'github-main' into feat/plugin/search 2023-07-12 14:57:43 +08:00
LinkinStars 92c5bb6616 refactor(answer): refactor admin question answer page list 2023-06-20 16:55:43 +08:00
LinkinStars 420667cd3e Merge branch 'github-main' into feat/1.1.0/context 2023-06-06 17:09:35 +08:00
aichy126 57153f8e7d update answer count 2023-06-06 15:43:32 +08:00
aichy126 b5472c793f update answer search list 2023-06-05 18:38:29 +08:00
aichy126 345398a6de fix 2023-06-02 17:13:26 +08:00
LinkinStars 1c2151d710 refactor(shortid): remove short id variable 2023-06-02 16:53:49 +08:00
LinkinStars 0c43b9c7b1 Merge branch 'feat/1.1.0/report' into feat/1.1.0/context 2023-05-26 15:26:07 +08:00
aichy126 749e4bced2 update admin question list 2023-05-26 11:09:55 +08:00
LinkinStars 49db3da26d refactor(context): add all context for data 2023-05-25 11:17:10 +08:00
kumfo 332428fc37 feat(plugin): add search plugin 2023-05-17 11:23:52 +08:00
aichy126 3367ecd203 update short id 2023-03-09 14:59:07 +08:00
aichy126 2cf061ea68 Merge branch 'main' into feat/1.0.7/short-id 2023-03-09 11:37:48 +08:00
LinkinStars ba8e173658 fix(answer): The author can view the deleted answer. 2023-03-06 12:27:04 +08:00
aichy126 89600933b0 update answer short id 2023-03-03 17:47:48 +08:00
LinkinStars c3d8d30892 fix(answer): Only the admin and author can view the deleted answer. 2023-03-01 17:28:16 +08:00
aichy b8077d37b3 update Adopt to Accept 2022-12-22 11:04:19 +08:00
aichy bcfeef1490 update name modification 2022-12-21 16:55:16 +08:00
aichy126 a0b0adde8d update answer order by 2022-11-19 13:59:51 +08:00
linkinstar 436ce151bc Merge branch 'ai_0.3_dashboard' into 'test'
Ai 0.3 dashboard

See merge request opensource/answer!163
2022-11-02 08:50:38 +00:00
aichy126 872689b93a add dashboard service 2022-11-02 15:50:32 +08:00
杨光富 861477234a Merge branch 'fix/search' into 'main'
Fix/search

See merge request opensource/answer!156
2022-11-02 02:23:35 +00:00
kumfo c6d703321f feat: admin's answer list filter by question id 2022-11-01 18:15:18 +08:00
kumfo d9bddb8210 feat: admin's id search condition 2022-11-01 16:51:01 +08:00