Commit Graph

1476 Commits

Author SHA1 Message Date
LinkinStars cf4e05fbc6 refactor(file): refactor file format check function 2024-01-30 16:16:07 +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
zhoushilin 261b143679 fix: cache reload once 2024-01-19 14:25:00 +08:00
zhoushilin 6d93b7d2f3 fix: plugin cache reload 2024-01-19 14:25:00 +08:00
LinkinStars bdc498ce39 fix(dashboard): set default smtp status 2024-01-08 16:21:25 +08:00
YL1028K 68f5af01d9 fix: log prints incorrect method(#684) 2023-12-15 17:07:35 +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
lufei 7aa16f245b optimize code 2023-11-29 16:44:08 +08:00
sy-records 9dc0d566cc fix by code review 2023-11-29 16:44:08 +08:00
sy-records 3e76a0368f fix: permalink error on some pages 2023-11-29 16:44:08 +08:00
sy-records 0267f4bd69 fix: canonical link error 2023-11-22 16:26:44 +08:00
LinkinStars 84ef7d0e55 ci(asf): change the check-asf-header script to docker command via hawkeye-native 2023-11-17 15:54:27 +08:00
Saurabh Chatterjee aa65f7c8b5 test(repo): Change to fix repo tests for Admin and Cache
Change to fix repo tests for Admin and Cache which were broken after a recent change to  how userCacheInfo handles response for non-existent keys
2023-11-09 11:46:40 +08:00
kelvinkuo cf992eb3d9 fix:rename controller to conform convention 2023-11-09 11:39:14 +08:00
Eng Zer Jun b6f0c70874 refactor: remove redundant len and nil check
From the Go specification [1]:

  "1. For a nil slice, the number of iterations is 0."

`len` returns 0 if the slice [2]. Therefore, checking `len(v) > 0`
around a loop is unnecessary.

[1]: https://go.dev/ref/spec#For_range
[2]: https://pkg.go.dev/builtin#len

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-11-09 11:37:40 +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 67d5e6fbf8 fix(build): ignore plugins dir when no plugins for build 2023-10-18 17:57:29 +08:00
LinkinStars e8c7e7520f feat(plugin): delete \n when no plugins 2023-10-18 13:08:12 +08:00
LinkinStars 929f674581 feat(plugin): ignore not ui dir when copy ui plugins 2023-10-18 12:39:48 +08:00
LinkinStars caf634bc5d feat(plugin): copy ui plugins to target when build 2023-10-18 11:34:06 +08:00
LinkinStars d6543a14e9 Merge remote-tracking branch 'origin/feat/1.2.0/plugin' into test 2023-10-17 15:57:54 +08:00
LinkinStars cd08586264 fix(plugin): remove default plugins 2023-10-17 15:57:42 +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 9e9fb8977b fix(question): fix incorrect trigger user id when admin delete question 2023-10-13 17:05:34 +08:00
LinkinStars c6743721a2 fix(visit): force update visit token when login 2023-10-13 16:53:11 +08:00
LinkinStars 8524d1494b fix(visit): remove visit token when logout 2023-10-11 15:05:10 +08:00
LinkinStars a0d57a1890 feat(visit): can visit branding image without token 2023-10-10 17:49:29 +08:00
LinkinStars c2b4a49dc0 feat(visit): only login user can access upload file in private mode. 2023-10-10 16:23:10 +08:00
LinkinStars ee5613099f fix(email): fix all incorrect url in email. 2023-10-08 17:58:52 +08:00
LinkinStars a920e5c2c1 Merge remote-tracking branch 'origin/dev' into feat/1.2.0/question
# Conflicts:
#	internal/service/uploader/upload.go
2023-10-08 15:11:35 +08:00
LinkinStars 5101c12ec1 fix(search): filter all special characters when searching 2023-10-08 15:11:02 +08:00
LinkinStars fdd5cd63a0 Merge pull request #562 from lzakharov/refactor-close-resources
refactor: close used resources
2023-10-08 11:16:33 +08:00
LinkinStars 79d025f0b1 feat(siteinfo): update manifest.json site name 2023-10-08 10:29:53 +08:00
Lev Zakharov 5ce5187422 refactor: close used resources 2023-10-07 18:41:55 +03:00
LinkinStars 545342db50 feat(search): add link for search desc 2023-09-27 16:43:44 +08:00
LinkinStars 9d96dda29b feat(answer): support recover answer, question and tag 2023-09-26 16:15:25 +08:00
LinkinStars 1d46a54444 feat(plugin): add plugins status api 2023-09-25 15:17:02 +08:00
LinkinStars 3242eba69c Merge remote-tracking branch 'origin/feat/1.2.0/img' into feat/1.2.0/question 2023-09-22 14:44:49 +08:00
LinkinStars b2d5781633 feat(user): support upload webp image 2023-09-22 14:36:40 +08:00
LinkinStars da0bc8b76d feat(user): change delete user display info 2023-09-22 11:47:05 +08:00
LinkinStars 148a025f00 feat(user): add normal query condition for user page 2023-09-21 16:54:59 +08:00
LinkinStars 22a7dbb620 feat(user): query normal users by default 2023-09-21 12:15:01 +08:00
LinkinStars 71633588c5 fix(answer): delete question won't modify edit time 2023-09-21 11:43:58 +08:00
LinkinStars 3a82632eec fix(answer): delete answer won't modify edit time 2023-09-21 11:36:20 +08:00
LinkinStars ea614f0193 feat(user): admin can use reserved username 2023-09-21 10:48:57 +08:00
LinkinStars ad6e282416 feat(upload): support upload gif image 2023-09-20 11:37:42 +08:00
LinkinStars bef9ce9ebc fix(vote): wrong vote status of answer 2023-09-19 15:53:06 +08:00
LinkinStars a91cc57a4c feat(i18n): show translation progress 2023-09-15 16:28:37 +08:00