3997 Commits

Author SHA1 Message Date
LinkinStars 8a3b19fd32 docs(SECURITY): remove SECURITY.md to fix #627
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
v1.2.0 v1.2.0-RC1
2023-11-15 17:35:52 +08:00
LinkinStars a72ebc5262 Add dependencies license for release binary (#610)
The files that in the `docs/release` will be pack into binary release
zip.

- [x] put all the dependency licenses into `docs/release/licenses`.
- [x] add LICENSE for release binary. (We need to check this format
whether meet the requirements or not.)
- [x] add NOTICE for release binary.

---------

Co-authored-by: tison <wander4096@gmail.com>
Co-authored-by: shuai <lishuailing@sifou.com>
2023-11-15 15:17:11 +08:00
Xia Lei fa3255ad20 fix(i18n): fix time format in de-DE (#622)
Fix time format problem in **de-DE**
2023-11-14 18:32:15 +08:00
Yvan Zhu d83d92c11f fix: 🐛 link (#604)
use `Link` instead of `<a>` tag to prevent wrong link in this situation

www.xxx.com/answer/
2023-11-10 12:18:44 +08:00
kelvinkuo 57e93f2dec fix: issue-609 (#614)
fix #609
2023-11-10 12:16:38 +08:00
sy-records 44a724cde2 chore: use actions/checkout@v4 2023-11-09 11:52:06 +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
Fen e6a9dc91d6 disable GitHub discussion feature (#606) 2023-11-02 14:28:22 +08:00
Fen 42a98b0865 fix: typo (#605) 2023-11-02 10:46:03 +08:00
Lu Fei bf556fb73d fix: typo (#577)
close #576
2023-11-01 15:01:04 +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
LinkinStars 2404a2f3da Add NOTICE and DISCLAIMER for release. (#588)
Co-authored-by: tison <wander4096@gmail.com>
2023-11-01 11:24:07 +08:00
tison 3d2187d849 chore: add license headers
Signed-off-by: tison <wander4096@gmail.com>
2023-10-26 11:11:23 +08:00
tison e5aa0a2633 ci: check licnese header
Signed-off-by: tison <wander4096@gmail.com>
2023-10-26 11:11:23 +08:00
tison f90bef5dbf chore: update website url (#584)
This fixes https://github.com/apache/incubator-answer/issues/583.
2023-10-26 10:39:48 +08:00
tison 3e6a202d37 chore: fixup merge button settings
Signed-off-by: tison <wander4096@gmail.com>
2023-10-23 22:33:03 +08:00
tison 0eabb75cc8 chore: add .asf.yaml file for repo settings
Signed-off-by: tison <wander4096@gmail.com>
2023-10-19 13:43:51 +08:00
LinkinStars 67d5e6fbf8 fix(build): ignore plugins dir when no plugins for build 2023-10-18 17:57:29 +08:00
LinkinStars 731e8b3001 ci(build): update goreleaser args 2023-10-18 17:24:19 +08:00
LinkinStars 36b40ecad6 ci(build): update pnpm version 2023-10-18 17:14:20 +08:00
LinkinStars c951cd0784 ci(build): update node version 2023-10-18 17:11:28 +08:00
LinkinStars 8bc5b5044e ci(build): update node version 2023-10-18 17:03:13 +08:00
Fen 68419c558c New Crowdin updates (#573) 2023-10-18 16:04:57 +08:00
dashuai 829a258e31 Feat/1.2.0/UI (#574) 2023-10-18 16:03:01 +08:00
LinkinStars 742437f234 docs(plugin): update basic plugin 2023-10-18 14:50:21 +08:00
LinkinStars ec9ee11448 docs(makefile): upgrade 1.2.0 2023-10-18 14:44:48 +08:00
dashuai 223147e29d fix: conflict (#572) 2023-10-18 14:27:48 +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 d85091bb12 typo(run): typo starting 2023-10-18 11:17:26 +08:00
shuai a83472fd5e fix: conflict 2023-10-18 11:16:23 +08:00
shuai f8adcb3fa4 feat: add pre-install script for support workspace folder 2023-10-18 11:11:14 +08:00
shuai 7dfdf4d7e4 fix: add test log 2023-10-17 16:18:30 +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
dashuai 727a973857 fix: default http code 400 confirm btn text change to ok (#570) 2023-10-17 15:36:45 +08:00
shuai 1913a4f30b fix: default http code 400 confirm btn text change to ok 2023-10-17 15:35:13 +08:00
LinkinStars 86ed0ce383 Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-10-17 10:31:03 +08:00
LinkinStars f1ac3c4820 fix(limit): remove limit record when error occur 2023-10-17 10:30:51 +08:00
LinkinStars 06d965822a Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-10-16 18:47:17 +08:00
LinkinStars 5ca5120cf7 feat(limit): add duplicate request limit 2023-10-16 18:46:25 +08:00
LinkinStars 359cb3201b Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-10-13 17:05:53 +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 b8bd4b0030 Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-10-11 15:05:35 +08:00
LinkinStars 8524d1494b fix(visit): remove visit token when logout 2023-10-11 15:05:10 +08:00
LinkinStars e55f633c84 Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-10-10 17:49:54 +08:00