123 Commits

Author SHA1 Message Date
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
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 e470b63f42 feat(server): add API base URL configuration and update routes 2025-02-28 17:07:46 +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
sy-records 68570d7271 fix: resolve 404 error on Tags static page 2024-12-09 11:52:18 +08:00
sy-records f93fd5181b fix: display error message and HTML for invalid order 2024-10-18 16:50:33 +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
sy-records a8e008de07 feat: Support related and hot questions template 2024-10-17 11:08:06 +08:00
sy-records 211659a5bf fix: missing url title for PermalinkQuestionIDAndTitleByShortID 2024-09-20 12:00:14 +08:00
LinkinStars d5d9f38cb1 feat(badge): add trigger object id for all badge award event 2024-09-04 12:00:36 +08:00
LinkinStars 07e4f549b1 feat(badge): add event for the badge 2024-08-08 16:19:47 +08:00
sy-records f0b5859747 feat: Add Open Search support 2024-08-07 10:11:23 +08:00
kumfo 70ddccc27e fix(cdn): fix cdn replace 2024-07-22 14:05:54 +08:00
kumfo 17703c2ed7 fix(cdn): fix cdn path render 2024-07-19 17:57:56 +08:00
kumfo db540ac62b feat(cdn-plugin): add cdn plugin 2024-07-10 15:14:40 +08:00
Kevin Gil fd7686984c fix typo 2024-07-10 15:14:40 +08:00
Kevin Gil b144fc678f website information in the template file now supports multiple languages 2024-07-10 15:14:40 +08:00
LinkinStars c1cbe20c3a fix(template): add og meta tag in template 2024-06-07 16:39:07 +08:00
LinkinStars b0882f66dd Merge branch 'feat/basepath' into dev
# Conflicts:
#	cmd/wire_gen.go
#	ui/pnpm-lock.yaml
#	ui/src/pages/Admin/General/index.tsx
2024-05-27 16:29:28 +08:00
LinkinStars c6d43e92c1 feat(base): add base path for ui page 2024-04-24 15:31:03 +08:00
LinkinStars 58dd97ac2a fix(template): incorrectly parsing the question title to the answer id, resulting in the infinite redirect #885 2024-04-07 12:05:37 +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
sy-records 0267f4bd69 fix: canonical link error 2023-11-22 16:26:44 +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 ee5613099f fix(email): fix all incorrect url in email. 2023-10-08 17:58:52 +08:00
LinkinStars 2ffcf2bf4b fix(template): fix incorrect answer id 2023-08-30 18:17:37 +08:00
LinkinStars fcb48b86ee refactor(repo): refactor some repo test 2023-07-06 12:28:33 +08:00
LinkinStars cbf7da18c7 Merge branch 'github-main' into feat/1.2.0/state 2023-06-28 10:53:21 +08:00
aichy126 5884ec04d9 hot fix pq short id 2023-06-25 14:44:22 +08:00
LinkinStars 1c2151d710 refactor(shortid): remove short id variable 2023-06-02 16:53:49 +08:00
aichy126 40f66f505c update seo perma link 2023-06-01 11:25:25 +08:00
aichy126 03eae354f7 update IsQuestionsIgnorePath 2023-05-29 15:15:06 +08:00
LinkinStars 7e9becd8f5 refactor(path): remove init for path ignore var 2023-05-29 12:14:33 +08:00
aichy126 1860f3ecef add template language 2023-05-18 12:05:30 +08:00
aichy126 5fc73a3277 update seo template 2023-04-10 15:20:44 +08:00
aichy126 89738b8898 add Revision 2023-03-24 11:49:23 +08:00
aichy126 d7511a6697 update short id 2023-03-14 11:23:26 +08:00
aichy126 58b5087ec5 update short id 2023-03-13 16:24:46 +08:00
aichy126 3fe2ffa0f3 update short id 2023-03-09 14:39:32 +08:00
LinkinStars d9f75de803 Merge remote-tracking branch 'github/feat/1.0.6/object-not-found' into test 2023-02-27 11:08:52 +08:00
LinkinStars 7ec0272a72 feat(object): return 404 page when user, tag and question not found. 2023-02-27 11:08:21 +08:00
aichy126 f80af9ffbe update header x-frame-options 2023-02-24 17:10:43 +08:00
aichy126 782eb7a452 update html canonical 2023-01-30 16:45:40 +08:00
aichy126 7d6720309a update html canonical pages 2023-01-30 16:17:43 +08:00