87 Commits

Author SHA1 Message Date
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
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
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
Luffy 916dba3f06 feat(pager): Show 404 when page is out of range (#1135)
close #1133
2024-10-18 10:12:59 +08:00
Sonui 3eb9822c09 feat(question): support linking question 2024-10-12 10:17:18 +08:00
ferrischi201 8142d78e10 fix(recommend): redirect unauth users from recommend page 2024-09-04 10:24:53 +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
LinkinStars 84ec57d2d6 feat(review): set default review status 2024-03-28 17:00:40 +08:00
kumfo 248327047a feat(review): add ip and user-agent check 2024-03-27 17:57:08 +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 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
sy-records 3e76a0368f fix: permalink error on some pages 2023-11-29 16:44:08 +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 f1ac3c4820 fix(limit): remove limit record when error occur 2023-10-17 10:30:51 +08:00
LinkinStars 5ca5120cf7 feat(limit): add duplicate request limit 2023-10-16 18:46:25 +08:00
LinkinStars 9d96dda29b feat(answer): support recover answer, question and tag 2023-09-26 16:15:25 +08:00
LinkinStars 9337f69154 fix(question): remove delete question on similar questions 2023-08-28 15:27:17 +08:00
aichy e3fbe983db Merge branch 'feat/1.1.1/ai' into test 2023-08-01 15:01:46 +08:00
aichy fb3328e438 update captcha 2023-08-01 15:01:28 +08:00
LinkinStars d20acbabff Merge branch 'feat/1.1.1/state' into test
# Conflicts:
#	internal/controller/question_controller.go
2023-07-28 16:06:02 +08:00
LinkinStars d3f1b5dbe1 fix(answer): the wrong invite user rank limit 2023-07-28 16:03:30 +08:00
aichy e421c6eb35 remove dump 2023-07-28 15:28:00 +08:00
aichy a8c13e5bb4 update captcha 2023-07-19 18:42:12 +08:00
aichy 456be4f4a8 update captcha 2023-07-19 17:46:14 +08:00
aichy da8910951f update captcha 2023-07-19 17:30:27 +08:00
LinkinStars 92c5bb6616 refactor(answer): refactor admin question answer page list 2023-06-20 16:55:43 +08:00
LinkinStars 1c2151d710 refactor(shortid): remove short id variable 2023-06-02 16:53:49 +08:00
aichy126 fc94d667b7 update no_enough_rank_to_operate 2023-05-25 18:12:32 +08:00
LinkinStars cb8a0e0a76 feat(question): add extends actions permission 2023-05-24 15:19:04 +08:00
LinkinStars 674d98e983 feat(notification): add notification translation 2023-05-23 17:24:11 +08:00
LinkinStars 01bd603570 Merge branch 'feat/1.1.0/sql' into feat/1.1.0/report
# Conflicts:
#	internal/controller/question_controller.go
#	internal/migrations/migrations.go
#	internal/migrations/v13.go
2023-05-23 16:44:34 +08:00
aichy126 f5bb3ff6e5 update invite user 2023-05-23 16:07:43 +08:00
aichy126 4d8bdd109e update invite user 2023-05-23 16:00:19 +08:00
LinkinStars e26d608aaf feat(reason): translator review reasons. 2023-05-16 15:22:46 +08:00
LinkinStars 1de9ef6a89 Merge remote-tracking branch 'github/feat/1.1.1/user-center' into beta.2/1.1.0
# Conflicts:
#	go.mod
#	i18n/en_US.yaml
#	internal/base/reason/reason.go
2023-05-09 10:39:04 +08:00
LinkinStars fafdc5435a fix(personal): rename all wrong name about page size 2023-05-06 11:57:47 +08:00
aichy126 0c17459965 update question 2023-04-13 18:20:26 +08:00
aichy126 0de09c5305 update question pin show 2023-04-13 17:34:02 +08:00
aichy126 990e749743 add question actions 2023-04-13 14:39:27 +08:00
aichy126 b0d2cdc4a0 add question operation 2023-04-13 11:17:17 +08:00
aichy126 2536703f32 update question 2023-04-04 16:54:28 +08:00
LinkinStars 2a121c573b feat(router): add middleware for user router 2023-04-03 11:17:38 +08:00
aichy126 9d3b391820 update question 2023-03-24 11:53:18 +08:00
aichy126 a2bc103d4f update question 2023-03-16 15:22:47 +08:00
aichy126 3fe2ffa0f3 update short id 2023-03-09 14:39:32 +08:00
LinkinStar 96e292462e feat(question): Adjust the home page problem list display rules 2022-12-30 17:09:32 +08:00
aichy 8bd329f135 update add question 2022-12-22 11:40:56 +08:00