Compare commits

...

2833 Commits

Author SHA1 Message Date
LinkinStars 5132cb3912 ci(goreleaser): add wrap in directory
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
2024-01-30 16:36:39 +08:00
LinkinStars 0849e8f540 refactor(file): refactor file format check function 2024-01-30 16:36:39 +08:00
LinkinStars 968f23db7f Release/1.2.5 (#761)
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
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 19:14:13 +08:00
Fen abecc1c9b6 New Crowdin updates (#19) (#760)
* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (French)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Romanian)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Swedish)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)
2024-01-29 17:53: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
Akhil 52e0a4c59b removed unused config 2024-01-26 11:37:46 +08:00
Haoran Yu 720936b74a Update NOTICE 2024-01-23 12:34:05 +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
Fen d8c55779f8 update: github issue template (#714)
* update: github issue template
2024-01-09 13:51:25 +08:00
LinkinStars bdc498ce39 fix(dashboard): set default smtp status 2024-01-08 16:21:25 +08:00
tison 1c5297abf1 Update Makefile 2024-01-03 17:17:42 +08:00
tison c8c3d7c1a2 build: tolerate build without git repo
Signed-off-by: tison <wander4096@gmail.com>
2024-01-03 17:17:42 +08:00
Fen da490d4006 fix: unit typo 2023-12-28 12:38:05 +08:00
LinkinStars 615e439fd3 ci(goreleaser): rename release src package name 2023-12-27 23:40:22 +08:00
Lu Fei 41a73cf9df fix: i18n text (#693)
close #692 

There are several languages that require specialized translators. 😅
2023-12-25 10:10:04 +08:00
Adam Vollrath 3b00da932b Sanitize input from contributor fork workflows.
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
2023-12-21 17:29:05 +08:00
sy-records 152934c740 ci: build image only if repository_owner is apache 2023-12-18 11:00:59 +08:00
YL1028K 68f5af01d9 fix: log prints incorrect method(#684) 2023-12-15 17:07:35 +08:00
Fen 2df8d5657e New Crowdin updates (#14)
* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)
2023-12-14 18:13:33 +08:00
Fen 7e4fe9a0f8 New Crowdin updates (#3)
* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (German)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)

* New translations en_us.yaml (German)

* New translations en_us.yaml (German)

* New translations en_us.yaml (French)

* New translations en_us.yaml (Spanish)

* New translations en_us.yaml (Czech)

* New translations en_us.yaml (Danish)

* New translations en_us.yaml (Italian)

* New translations en_us.yaml (Japanese)

* New translations en_us.yaml (Korean)

* New translations en_us.yaml (Polish)

* New translations en_us.yaml (Portuguese)

* New translations en_us.yaml (Russian)

* New translations en_us.yaml (Slovak)

* New translations en_us.yaml (Turkish)

* New translations en_us.yaml (Ukrainian)

* New translations en_us.yaml (Chinese Simplified)

* New translations en_us.yaml (Chinese Traditional)

* New translations en_us.yaml (Vietnamese)

* New translations en_us.yaml (Indonesian)

* New translations en_us.yaml (Persian)

* New translations en_us.yaml (Welsh)
2023-12-14 17:43:36 +08:00
LinkinStars 3f696b63d6 docs(README): upgrade 1.2.1 2023-12-14 15:10:19 +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
Han Gao a00f660411 fix: can't show tag description in tag edit page (#664)
fix #637 .
2023-11-30 14:42:09 +08:00
LinkinStars 03b5950d71 docs(image): rename all docker image name to apache/answer 2023-11-29 17:21:19 +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
LinkinStars 1a76d0aa67 ci(github): add docker image github action 2023-11-29 15:14:18 +08:00
Fen b01717c49e docs: update link 2023-11-28 15:42:04 +08:00
shuai 3eeb289aa0 fix: google snapshots error #649 2023-11-27 15:24:05 +08:00
sy-records 0267f4bd69 fix: canonical link error 2023-11-22 16:26:44 +08:00
Lu Fei 2cf77adbb5 fix: license header breaks helm chart (#591)
This fixes #590.
2023-11-22 15:44:23 +08:00
Lu Fei 13b6fa2157 fix(sitemap): move asf header after xmlheader (#633)
This fixes #631.
2023-11-22 15:14:20 +08:00
LinkinStars c1cd2bbadd ci(github): remove GOPROXY for github action 2023-11-17 20:02:11 +08:00
LinkinStars e11aa93c14 ci(github): rename the secret name 2023-11-17 18:53:55 +08:00
LinkinStars 58dadefc99 ci(github): update docker login action version and config username 2023-11-17 16:42:59 +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
LinkinStars 274eaf29cf ci(github): update docker user and token secrets 2023-11-17 15:54:27 +08:00
LinkinStars fd6808b7ea ci(lic): add excludes for some files 2023-11-17 15:54:27 +08:00
LinkinStars 47b1366b13 docs(README): add build from source description 2023-11-17 10:58:44 +08:00
LinkinStars ff82298416 docs(README): update the call of this project Apache Answer instead of Answer #630 2023-11-17 10:58:44 +08:00
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
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
LinkinStars a0d57a1890 feat(visit): can visit branding image without token 2023-10-10 17:49:29 +08:00
dashuai ff241893cc Merge pull request #564 from answerdev/feat/1.2.0/ui
feat: 403 page not need login
2023-10-10 16:49:01 +08:00
shuai 1dda6c6bf5 feat: 403 page not need login 2023-10-10 16:48:19 +08:00
LinkinStars 7a7629a368 Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-10-10 16:23:34 +08:00
LinkinStars c2b4a49dc0 feat(visit): only login user can access upload file in private mode. 2023-10-10 16:23:10 +08:00
dashuai 7ca5aa389f Merge pull request #563 from answerdev/feat/1.2.0/ui
Feat/1.2.0/UI
2023-10-10 11:56:11 +08:00
shuai d0409afd30 feat: add 403 pages 2023-10-10 11:55:24 +08:00
LinkinStars 6f13c03d25 Merge remote-tracking branch 'origin/feat/1.2.0/question' into test 2023-10-08 17:59:04 +08:00
LinkinStars ee5613099f fix(email): fix all incorrect url in email. 2023-10-08 17:58:52 +08:00
LinkinStars d5cdb96073 Merge remote-tracking branch 'origin/feat/1.2.0/question' into test 2023-10-08 15:13:48 +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 cd3ee4ca5d Merge remote-tracking branch 'origin/feat/1.2.0/question' into test 2023-10-08 10:30:27 +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 33a91c5e23 Merge remote-tracking branch 'origin/feat/1.2.0/question' into test 2023-09-27 16:44:14 +08:00
LinkinStars 545342db50 feat(search): add link for search desc 2023-09-27 16:43:44 +08:00
robin 7f3d0a5abb fix: Solve the problem of abnormal hooks values caused by closures 2023-09-27 14:53:36 +08:00
shuai 0c42207403 fix: delete logs 2023-09-26 18:21:45 +08:00
shuai 1f9b7c5c6a fix: search plugin icon add max-width 2023-09-26 18:11:24 +08:00
dashuai 9017ad5c18 Merge pull request #558 from answerdev/feat/1.2.0/ui
feat: delete tag navigate tp tags page
2023-09-26 16:41:56 +08:00
shuai a5263adfbb feat: delete tag navigate tp tags page 2023-09-26 16:41:29 +08:00
LinkinStars fd0b62c1f1 feat(answer): support recover answer, question and tag 2023-09-26 16:16:27 +08:00
LinkinStars 9d96dda29b feat(answer): support recover answer, question and tag 2023-09-26 16:15:25 +08:00
dashuai 4825f991e7 Merge pull request #557 from answerdev/feat/1.2.0/ui
feat: delete content can recover
2023-09-26 14:40:51 +08:00
shuai 7cdc4c8c62 feat: delete content can recover 2023-09-26 14:06:28 +08:00
dashuai 764fcaeeff Merge pull request #553 from answerdev/feat/1.2.0/ui
fix: useEditor ref
2023-09-25 18:13:57 +08:00
shuai ab602ed001 fix: useEditor ref 2023-09-25 18:12:59 +08:00
shuai 8dc27b7a91 fix: add test log 2023-09-25 16:51:44 +08:00
LinkinStars c1723f1a44 ci(dockerfile): update pnpm version 2023-09-25 16:27:27 +08:00
LinkinStars 1d46a54444 feat(plugin): add plugins status api 2023-09-25 15:17:02 +08:00
dashuai 2a1c2e21fd Merge pull request #550 from answerdev/feat/1.2.0/ui
fix: update pnpm
2023-09-25 15:05:37 +08:00
shuai 88d4617d5c fix: update pnpm 2023-09-25 15:05:00 +08:00
dashuai 24767a47b8 Merge pull request #548 from answerdev/feat/1.2.0/ui
fix: js error
2023-09-25 12:20:57 +08:00
shuai 16acd6b884 fix: js error 2023-09-25 12:20:21 +08:00
dashuai 514217b2aa Merge pull request #547 from answerdev/feat/1.2.0/ui
Feat/1.2.0/UI
2023-09-25 11:59:50 +08:00
robin 7f1186b013 chore: Update plugin script 2023-09-25 11:44:11 +08:00
robin 0bfe533afb refactor(plugin): Modify the timing of updating plug-in status 2023-09-25 11:43:55 +08:00
robin 82ad68d538 chore(plugin): Update project 2023-09-25 10:39:59 +08:00
shuai a94ea23d53 chore: ci recover 2023-09-25 10:32:45 +08:00
dashuai 116d1e30c0 Merge pull request #546 from answerdev/feat/1.2.0/ui
chore: ci fix
2023-09-25 10:09:54 +08:00
shuai 2374534e1e chore: ci fix 2023-09-25 10:09:22 +08:00
dashuai 28840f4d80 Merge pull request #545 from answerdev/feat/1.2.0/ui
chore: ci update
2023-09-25 10:04:38 +08:00
shuai c16b5f6809 chore: ci update 2023-09-25 10:04:02 +08:00
dashuai 8bc569a13d Merge pull request #541 from answerdev/feat/1.2.0/ui
Feat/1.2.0/UI
2023-09-22 17:33:17 +08:00
robin f68126c2db refactor(plugin): Migrate to plugins repository 2023-09-22 17:15:38 +08:00
shuai 805d8a375a fix: question and answer operate add undelete handle 2023-09-22 16:46:54 +08:00
dashuai 0a784fe6a3 Merge pull request #540 from answerdev/feat/1.2.0/ui
Feat/1.2.0/UI
2023-09-22 16:43:59 +08:00
shuai d4a58fe95b fix: admin uses page set default status as normal 2023-09-22 16:42:27 +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 f7378dd2ca Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-09-22 14:36:52 +08:00
LinkinStars b2d5781633 feat(user): support upload webp image 2023-09-22 14:36:40 +08:00
LinkinStars 22f886a767 Merge branch 'feat/1.2.0/question' into test 2023-09-22 11:48:05 +08:00
LinkinStars da0bc8b76d feat(user): change delete user display info 2023-09-22 11:47:05 +08:00
LinkinStars 8216720867 Merge branch 'feat/1.2.0/question' into test 2023-09-21 16:57:11 +08:00
LinkinStars 148a025f00 feat(user): add normal query condition for user page 2023-09-21 16:54:59 +08:00
robin 6e45e3e6d9 feat(plugin): Render plugins based on plugin status 2023-09-21 16:11:33 +08:00
robin 467721631a refactor(plugin): Adjust the plug-in directory structure 2023-09-21 14:26:15 +08:00
robin 7b3a1b00de chore: Update project configuration 2023-09-21 14:25:32 +08:00
LinkinStars df7313476a Merge branch 'feat/1.2.0/question' into test 2023-09-21 12:15:12 +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 be821faf08 Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-09-21 10:54:22 +08:00
LinkinStars ea614f0193 feat(user): admin can use reserved username 2023-09-21 10:48:57 +08:00
robin 1100ec6145 refactor: Use useRenderHtmlPlugin 2023-09-20 18:19:50 +08:00
robin 37eea9d9b3 refactor: Update style 2023-09-20 18:13:41 +08:00
robin c2e1cfe0ca chore: Update package.json 2023-09-20 18:09:01 +08:00
robin 80b8e62cb8 refactor(plugin): Import chart plugin and formula plugin 2023-09-20 17:52:57 +08:00
robin acbd31906a feat(plugin): Add chart plugin and formula plugin 2023-09-20 17:52:00 +08:00
robin c20838ae14 refactor: Improve the plug-in system and add hooks plug-ins 2023-09-20 17:51:03 +08:00
robin 941c2a0a47 chore: Update package.json 2023-09-20 17:49:15 +08:00
robin bd4c5bae81 chore: Enable monorepo and update project configuration 2023-09-20 15:45:48 +08:00
robin ee1c622348 refactor: Refactor the markdown editor and create useEditor to replace the original logic 2023-09-20 15:33:06 +08:00
LinkinStars 83cd218b8a Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-09-20 11:54:44 +08:00
LinkinStars b0d4a84411 Merge branch 'dev' into feat/1.2.0/img 2023-09-20 11:54:25 +08:00
LinkinStars 0f825e6212 feat(plugin): update plugin url 2023-09-20 11:54:02 +08:00
LinkinStars c34923031d feat(plugin): update plugin url 2023-09-20 11:53:23 +08:00
LinkinStars 8a4b25d07c Merge remote-tracking branch 'origin/feat/1.2.0/img' into test 2023-09-20 11:38:03 +08:00
LinkinStars ad6e282416 feat(upload): support upload gif image 2023-09-20 11:37:42 +08:00
LinkinStars aa5a5c37fd Merge branch 'dev' into feat/1.2.0/user 2023-09-20 10:17:14 +08:00
LinkinStars 6c2a288abe Merge pull request #533 from buttercannfly/main
better way to decode images
2023-09-20 10:16:25 +08:00
buttercannfly de6a633248 Update file_type.go 2023-09-19 18:05:46 +08:00
LinkinStars b0747d2616 Merge branch 'feat/1.2.0/user' into test 2023-09-19 15:56:35 +08:00
LinkinStars bef9ce9ebc fix(vote): wrong vote status of answer 2023-09-19 15:53:06 +08:00
buttercannfly 541c35e827 fix(image): support upload jog images 2023-09-19 15:30:56 +08:00
joyqi 7a6acc5967 Merge pull request #527 from answerdev/fix/copyright
fix: correct the copyright statement in the license
2023-09-19 14:41:22 +08:00
LinkinStars 743ac13ba0 feat(plugin): update plugin url 2023-09-18 17:35:00 +08:00
robin 079de85f35 refactor(plugin): Categorize plugins and rename some plugins 2023-09-15 18:45:02 +08:00
LinkinStars 301eff582e Merge branch 'feat/1.2.0/user' into test 2023-09-15 16:28:47 +08:00
LinkinStars a91cc57a4c feat(i18n): show translation progress 2023-09-15 16:28:37 +08:00
joyqi 591ec3d401 Update LICENSE
Co-authored-by: tison <wander4096@gmail.com>
2023-09-14 17:43:58 +08:00
joyqi 18b46d2177 fix: correct the copyright statement in the license 2023-09-14 16:38:11 +08:00
Fen 16fa5270bc Update README.md 2023-09-14 16:25:19 +08:00
dashuai abc336d719 Merge pull request #526 from answerdev/feat/1.2.0/ui
Feat/1.2.0/UI
2023-09-14 16:00:50 +08:00
shuai a8c37f4dab fix: timeline response changed 2023-09-14 16:00:18 +08:00
LinkinStars b2115339d9 Merge branch 'feat/1.2.0/user' into test 2023-09-14 15:24:05 +08:00
LinkinStars 9ee8bbdd54 Merge branch 'dev' into feat/1.2.0/user 2023-09-14 15:23:40 +08:00
LinkinStars d590b62466 feat(plugin): update plugin url 2023-09-14 15:23:22 +08:00
LinkinStars 6fa3bf0be0 feat(user): group by user info in timeline 2023-09-14 15:21:12 +08:00
shuai 0269c30516 fix: change admin questions and answers operate 2023-09-14 12:27:13 +08:00
dashuai 927b68fb83 Merge pull request #524 from answerdev/feat/1.2.0/ui
feat: simplify adjustment of user activity status
2023-09-13 15:43:59 +08:00
LinkinStars 8d2decc371 Merge branch 'feat/1.2.0/user' into test 2023-09-13 15:33:52 +08:00
LinkinStars 99a61fcf7c feat(user): anonymising notifications of deleted users 2023-09-13 14:36:08 +08:00
shuai a4adf7f40d feat: simplify adjustment of user activity status 2023-09-13 09:52:31 +08:00
LinkinStars b38f2e4345 feat(user): remove all the content when delete user 2023-09-12 18:56:52 +08:00
LinkinStars d136945a73 Merge pull request #522 from alrs/vote-errs
Fix Dropped Vote Service Errors
2023-09-11 10:14:24 +08:00
Lars Lehtonen d0f3f3e573 fix: internal/service: dropped errors 2023-09-08 08:53:21 -07:00
LinkinStars 133907b59e fix(tag): recover delete tag when tag recreate 2023-09-08 17:56:46 +08:00
dashuai ff87e757b1 Merge pull request #521 from answerdev/feat/1.2.0/ui
Feat/1.2.0/UI
2023-09-08 10:39:39 +08:00
LinkinStars a9a47b8165 Merge pull request #519 from plant99/fix-repo-comment-tests
fix: tests failing during compilation
2023-09-07 22:12:41 +08:00
Shivashis Padhi 1ee7037eb2 fix: tests failing during compilation 2023-09-07 18:48:09 +05:30
shuai fd36ef47bf fix: install init error 2023-09-07 11:54:58 +08:00
shuai 4a9ad54353 fix: install init step 2023-09-07 11:53:59 +08:00
shuai 1fd074951c fix: delete the slugtitle parameter in shared links to prevent the URL length from exceeding the limit #139 2023-09-07 10:53:26 +08:00
LinkinStars 72700a7df2 feat(vaunt): update vaunt config
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-09-06 16:30:42 +08:00
LinkinStars 818af49f27 Merge branch 'release/1.1.3' 2023-09-06 16:25:17 +08:00
LinkinStars 6b09b8c774 docs(makefile): upgrade version 2023-09-06 16:21:40 +08:00
LinkinStars f157af225b Merge pull request #514 from answerdev/feat/vaunt
Feat/vaunt
2023-09-06 16:08:43 +08:00
LinkinStars dae3a6f54c Merge branch 'main' into feat/vaunt 2023-09-06 16:08:29 +08:00
LinkinStars 64376f6e61 feat(vaunt): update vaunt config 2023-09-06 16:06:34 +08:00
LinkinStars 6415bcff01 feat(vaunt): add vaunt config 2023-09-06 16:04:45 +08:00
LinkinStars d5271ac059 feat(vaunt): add vaunt config 2023-09-06 16:04:20 +08:00
LinkinStars e3c6154336 Merge branch 'fix/1.1.3/qa' into test 2023-09-06 14:33:04 +08:00
LinkinStars f5d2d57e1c Merge branch 'dev' into fix/1.1.3/qa 2023-09-06 14:31:26 +08:00
LinkinStars d1733b24fe chore(gomod): upgrade dockertest go mod version 2023-09-06 14:31:11 +08:00
realize096 631e24ca22 update github.com/opencontainers/runc v1.1.2 to 1.1.5 2023-09-06 14:26:33 +08:00
LinkinStars 19d51598a7 chore(handler): delete unused code 2023-09-05 17:55:19 +08:00
dashuai 8ae9441bc1 Merge pull request #508 from answerdev/feat/1.1.3/ui
fix: i18n some tag escape
2023-09-05 10:57:37 +08:00
shuai 9927b7f48f fix: i18n some tag escape 2023-09-05 10:56:59 +08:00
LinkinStars e31c97a98c Merge branch 'fix/1.1.3/qa' into test 2023-09-04 18:09:26 +08:00
LinkinStars a027376f4c fix(comment): fix admin can't update user's comment. 2023-09-04 18:09:08 +08:00
LinkinStars 4914111f44 Merge branch 'fix/1.1.3/qa' into test 2023-08-31 16:17:07 +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
dashuai 8256a67568 Merge pull request #503 from answerdev/feat/1.1.3/ui
fix: tag detail page skeleton screen optimization
2023-08-31 15:11:21 +08:00
shuai 367abc3003 fix: tag detail page skeleton screen optimization 2023-08-31 15:01:47 +08:00
LinkinStars d170680e7d Merge branch 'fix/1.1.3/qa' into test 2023-08-31 14:16:41 +08:00
LinkinStars 9fded40c3d fix(search): direct search of main tag content when searching for synonym tags 2023-08-31 14:16:32 +08:00
LinkinStars 68a9f82448 Merge branch 'fix/1.1.3/qa' into test 2023-08-30 18:17:49 +08:00
LinkinStars 2ffcf2bf4b fix(template): fix incorrect answer id 2023-08-30 18:17:37 +08:00
LinkinStars d875910a3a Merge branch 'fix/1.1.3/qa' into test 2023-08-30 17:41:54 +08:00
LinkinStars 0bd540661c fix(search): fix incorrect tags when search 2023-08-30 17:41:44 +08:00
LinkinStars 08f3f5e273 feat(user): set default user notification config 2023-08-30 16:26:11 +08:00
LinkinStars a9540bf330 feat(user): set default user notification config 2023-08-30 16:24:33 +08:00
dashuai b6484c443b Merge pull request #501 from answerdev/feat/1.1.3/ui
Feat/1.1.3/UI
2023-08-30 14:11:14 +08:00
shuai 2d72c63592 fix: similar questions font-size change 2023-08-30 12:26:24 +08:00
LinkinStars 9bb1b78e8d Merge branch 'fix/1.1.3/qa' into test 2023-08-29 16:47:58 +08:00
LinkinStars 758309d77b feat(config): set config cache time 2023-08-29 16:47:38 +08:00
LinkinStars 630b3a5392 Merge branch 'fix/1.1.3/qa' into test 2023-08-29 15:24:22 +08:00
LinkinStars 750fdb0eef Merge branch 'dev' into fix/1.1.3/qa
# Conflicts:
#	internal/repo/activity/answer_repo.go
2023-08-29 15:24:07 +08:00
LinkinStars a6b6545089 fix(answer): fix incorrect cancel answer activity 2023-08-29 15:22:35 +08:00
LinkinStars e75142a555 fix(answer): fix incorrect notification's triggerUserID when cancel accepted answer 2023-08-29 11:39:51 +08:00
LinkinStars 36ef2534e0 Merge branch 'fix/1.1.3/qa' into test 2023-08-29 11:01:19 +08:00
LinkinStars 3d032a7f48 fix(answer): fix incorrect id for answer list 2023-08-29 11:01:04 +08:00
shuai a400cd8d38 fix: seo setting update store data 2023-08-29 10:59:51 +08:00
LinkinStars 2641d3e48a Merge branch 'fix/1.1.3/qa' into test 2023-08-28 17:33:15 +08:00
LinkinStars 79b71d41e4 fix(answer): fix incorrect history of editing answer 2023-08-28 17:32:52 +08:00
LinkinStars eeb5f94a06 fix(answer): fix incorrect notification triggers when accept the answer 2023-08-28 16:21:28 +08:00
LinkinStars e622c0bf17 Merge branch 'fix/1.1.3/qa' into test 2023-08-28 15:28:08 +08:00
LinkinStars 9337f69154 fix(question): remove delete question on similar questions 2023-08-28 15:27:17 +08:00
dashuai 9ee06d73a9 Merge pull request #496 from answerdev/feat/1.1.3/ui
Feat/1.1.3/UI
2023-08-28 10:48:43 +08:00
shuai 8f471d96e9 fix: long name style changed 2023-08-28 10:47:50 +08:00
shuai 46f2e7b807 fix: similar questions ui changed 2023-08-25 18:20:47 +08:00
shuai af8d6cc7cf fix: encode search params #282 2023-08-25 18:04:15 +08:00
LinkinStars c68eff2011 refactor(tag): refactor search tags interface 2023-08-25 17:43:08 +08:00
LinkinStars dd4b706ab4 fix(init): add user notification config when init #493 2023-08-25 17:26:14 +08:00
shuai b608ae6faf fix: password maxlength remove 2023-08-25 12:32:16 +08:00
Fen f7602ddd5e Update SECURITY.md
Optimized description
2023-08-25 10:49:00 +08:00
Fen 14c053f0d1 add plugin introduce to readme 2023-08-24 15:34:28 +08:00
Fen fda510c5c4 New Crowdin updates (#487)
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Persian)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (Chinese Simplified)

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2023-08-24 11:24:01 +08:00
LinkinStars 8e2ea50814 docs(makefile): upgrade 1.1.2 2023-08-24 10:51:08 +08:00
LinkinStars f7247853ca Merge branch 'feat/1.1.2/notification' into test
# Conflicts:
#	i18n/en_US.yaml
2023-08-23 17:45:52 +08:00
LinkinStars 2f8351bb8e fix(captcha): If no operation previously, it is considered to be the first operation. 2023-08-23 17:43:57 +08:00
fen a00c781295 fix typo 2023-08-23 17:38:50 +08:00
fen eb0743c220 fix typo 2023-08-23 17:35:06 +08:00
Fen 92e50a60e1 update email message 2023-08-23 17:04:27 +08:00
dashuai 4cc3efbc68 Merge pull request #485 from answerdev/feat/1.1.2/ui
Feat/1.1.2/UI
2023-08-23 15:43:23 +08:00
shuai aa19d07c34 style: delete form.text class text-muted 2023-08-23 15:42:42 +08:00
shuai 1e1258d865 fix: name max width set 300px 2023-08-23 15:38:10 +08:00
LinkinStars 66d8dcd310 Merge branch 'feat/1.1.2/notification' into test 2023-08-23 10:24:38 +08:00
LinkinStars b4e2e2697a chore(notification): optimise email templates 2023-08-23 10:20:49 +08:00
LinkinStars 119c7ddf6d Merge branch 'feat/1.1.2/notification' into test 2023-08-22 17:40:49 +08:00
LinkinStars fce6e1d075 fix(notification): Remove the author from notification subscribers 2023-08-22 17:16:46 +08:00
LinkinStars e4a77367a4 feat(notification): add notification limit 2023-08-22 17:07:45 +08:00
dashuai 907f5caa76 Merge pull request #484 from answerdev/feat/1.1.2/ui
fix: long name
2023-08-22 16:49:15 +08:00
shuai 255f76b06a fix: long name 2023-08-22 16:47:56 +08:00
LinkinStars 8a037f00db feat(cache): upgrade cache interface 2023-08-22 16:10:41 +08:00
LinkinStars fdc740e9a0 Merge branch 'feat/1.1.2/notification' into test 2023-08-22 14:49:13 +08:00
LinkinStars 3b1324b83b fix(notification): missing unsubscribe code 2023-08-22 14:48:40 +08:00
dashuai 51359f7381 Merge pull request #483 from answerdev/feat/1.1.2/ui
fix: form check id
2023-08-22 14:20:32 +08:00
shuai 1aad5769c7 fix: form check id 2023-08-22 14:20:04 +08:00
LinkinStars 7a036f2118 Merge branch 'feat/1.1.2/notification' into test 2023-08-22 12:02:42 +08:00
LinkinStars 2bd8f7f771 feat(notification): add new question notification 2023-08-22 12:00:53 +08:00
dashuai b8e938cabc Merge pull request #482 from answerdev/feat/1.1.2/ui
fix: replace unsubscribe api
2023-08-22 11:59:00 +08:00
shuai 7ed41c636c fix: replace unsubscribe api 2023-08-22 11:52:10 +08:00
dashuai b3fde86131 Merge pull request #481 from answerdev/feat/1.1.2/ui
fix: optimize the user name is too long
2023-08-21 17:27:12 +08:00
shuai 8ffa3b3d0e fix: optimize the user name is too long 2023-08-21 17:19:38 +08:00
dashuai 4443811011 Merge pull request #480 from answerdev/feat/1.1.2/ui
Feat/1.1.2/UI
2023-08-21 15:44:06 +08:00
shuai 80df5193c5 feat: personal setting notification change 2023-08-21 15:32:57 +08:00
LinkinStars 6a3d2f95d2 feat(notification): add user notification config API 2023-08-21 15:07:30 +08:00
LinkinStars 17e499b959 Merge branch 'feat/1.1.2/question-title' into test 2023-08-18 18:16:01 +08:00
LinkinStars 5d28954e4c feat(question): change create question title function 2023-08-18 18:15:44 +08:00
LinkinStars 0f26ab5aa7 Merge branch 'hot-fix/1.1.1/login' into test 2023-08-18 10:59:53 +08:00
LinkinStars f4e4e0b93c fix(login): move action record api to may auth router 2023-08-18 10:58:57 +08:00
LinkinStars 99661f2df4 Merge branch 'feat/1.1.2/user' into test 2023-08-17 15:25:28 +08:00
LinkinStars 0d2c9cfd45 feat(search): convert answer and question to search content 2023-08-17 15:25:14 +08:00
LinkinStars 744c9c9c77 Merge branch 'feat/1.1.2/user' into test 2023-08-17 12:03:45 +08:00
LinkinStars a5f74a656f feat(search): Refactor pagination in search syncer 2023-08-17 12:03:35 +08:00
LinkinStars fe621eadf2 Merge remote-tracking branch 'origin/feat/1.1.2/ui' into test 2023-08-17 11:38:19 +08:00
LinkinStars e4fde9bcee Merge branch 'feat/1.1.2/user' into test 2023-08-17 11:37:39 +08:00
LinkinStars 119effb98f Merge branch 'feat/1.1.2/search' into feat/1.1.2/user
# Conflicts:
#	plugin/search.go
2023-08-17 11:37:05 +08:00
LinkinStars be5231671f feat(search): Add search sync function 2023-08-17 11:33:45 +08:00
shuai 41f7b1b9cd fix: add form text for install private 2023-08-17 11:27:58 +08:00
LinkinStars e93623b925 Merge branch 'feat/1.1.2/user' into test 2023-08-17 11:23:19 +08:00
shuai 0eb097c590 fix: install init 2023-08-17 11:15:07 +08:00
shuai 0c4e5338f3 feat: install add private switch 2023-08-17 11:13:39 +08:00
LinkinStars 16a42301f7 feat(install): Add LoginRequired configuration when install 2023-08-17 10:56:16 +08:00
shuai faf6545f7e feat: ui algolia plugin add link 2023-08-17 10:49:31 +08:00
LinkinStars 44b9bb4f6c Merge branch 'feat/1.1.2/user' into test 2023-08-16 10:46:36 +08:00
LinkinStars a8d40949d9 refactor(users): Improve user validation in bulk add feature 2023-08-16 10:46:08 +08:00
dashuai 069d7f20c3 Merge pull request #477 from answerdev/feat/1.1.2/ui
Feat/1.1.2/UI
2023-08-15 14:53:25 +08:00
shuai ce970a073d fix: add small class 2023-08-15 14:52:25 +08:00
shuai 93fc7b3d52 fix: delete space 2023-08-15 14:40:07 +08:00
shuai 78e9d081d1 fix: add placeholder for add users 2023-08-15 14:38:11 +08:00
LinkinStars a9e5e1e4ec Merge remote-tracking branch 'origin/feat/1.1.2/errmsg' into test 2023-08-14 18:44:32 +08:00
LinkinStars 8a7715ed04 Merge branch 'feat/1.1.2/user' into test 2023-08-14 18:44:27 +08:00
LinkinStars a8ec3ec045 fix(error): format error messageˆ 2023-08-14 18:43:24 +08:00
LinkinStars 236b1f797a feat(users): update bulk add users field name 2023-08-14 18:30:11 +08:00
dashuai 68984bd354 Merge pull request #475 from answerdev/feat/1.1.2/ui
feat: add users in batches
2023-08-14 17:41:39 +08:00
shuai 139f3ecbfc feat: add users in batches 2023-08-14 17:40:21 +08:00
LinkinStars d05eadaf28 Merge branch 'feat/1.1.2/user' into test 2023-08-14 16:44:19 +08:00
LinkinStars 1cd4e2740d feat(users): update api docs 2023-08-14 16:42:41 +08:00
LinkinStars ff61e91fe6 Merge branch 'feat/1.1.2/user' into test 2023-08-14 16:23:01 +08:00
LinkinStars 1211907b64 feat(users): update api docs 2023-08-14 16:22:07 +08:00
LinkinStars 64c7271ab7 feat(users): check duplicate email 2023-08-14 16:21:53 +08:00
LinkinStars 783b826b51 Merge branch 'feat/1.1.2/user' into test 2023-08-14 15:47:03 +08:00
LinkinStars 00e40ad5e6 feat(users): add users error message 2023-08-14 15:46:13 +08:00
LinkinStars 22bdc06fe9 feat(user): add users 2023-08-14 12:13:28 +08:00
LinkinStars 8759cbf655 Merge branch 'feat/1.1.2/user' into test 2023-08-09 16:13:28 +08:00
LinkinStars 51c86449e6 feat(search): add description api for search 2023-08-09 16:13:02 +08:00
dashuai 5a065705bb Merge pull request #471 from answerdev/feat/1.1.2/ui
Feat/1.1.2/UI
2023-08-09 15:16:31 +08:00
shuai 3f0890d99e fix: add algolia plugins ui styles change 2023-08-09 15:12:59 +08:00
shuai f10261cb6d fix: add algolia plugins for ui 2023-08-09 15:09:23 +08:00
LinkinStars 8b33968a78 Merge branch 'feat/1.1.2/user' into test 2023-08-09 10:56:37 +08:00
LinkinStars 8aa58bc182 feat(search): add description for search 2023-08-09 10:56:22 +08:00
shuai 6e25d63abd fix: custome form support render html in form text 2023-08-08 17:58:14 +08:00
dashuai 636e329ab0 Merge pull request #470 from answerdev/feat/1.1.2/ui
fix: i18n text
2023-08-08 16:38:17 +08:00
shuai 3c80df666d fix: i18n text 2023-08-08 16:35:03 +08:00
dashuai 139c85e904 Merge pull request #469 from answerdev/feat/1.1.2/ui
Feat/1.1.2/UI
2023-08-08 15:51:44 +08:00
shuai 7c94bdc2a0 fix: resolve conflict 2023-08-08 15:51:12 +08:00
shuai d0e18f4ee6 fix: plugins add github plugin link 2023-08-08 15:42:16 +08:00
shuai ad3adb7e86 fix: side nav only pathanme is /tags active 2023-08-08 15:31:53 +08:00
shuai dec2f6e64d fix: comment replie form can only display one reply at a time 2023-08-08 14:56:59 +08:00
LinkinStars 65eb0daa85 feat(user): update user status 2023-08-04 15:48:20 +08:00
LinkinStars eef4b9df9e feat(user): update user status 2023-08-04 15:47:50 +08:00
haitao.jarvis 5839144aa6 Merge pull request #465 from answerdev/feat/1.1.2/ui
fix(user status): Unified user status field for front and backend.
2023-08-04 15:18:22 +08:00
haitaoo d423c6dc5d fix(user status): Unified user status field for front and backend. 2023-08-04 15:16:41 +08:00
dashuai 59877f032d Merge pull request #463 from answerdev/dev-menu
fix: delete for dev side menu
2023-08-04 14:52:52 +08:00
shuai c215199ceb fix: delete for dev side menu 2023-08-04 14:52:18 +08:00
dashuai a172daa25d Merge pull request #462 from answerdev/dev-menu
fix: update i18n
2023-08-04 14:07:06 +08:00
shuai e49d63f6cb fix: update i18n 2023-08-04 14:06:01 +08:00
dashuai 6dc47fdc3c Merge pull request #461 from answerdev/dev-menu
fix: change
2023-08-04 12:21:34 +08:00
shuai b354c990ff fix: conflict 2023-08-04 12:21:20 +08:00
shuai 5ef14d0f13 fix: change 2023-08-04 12:20:01 +08:00
shuai d7b52014c4 fix: delete dev side nav 2023-08-04 12:17:22 +08:00
shuai d7c0c2d333 fix: side nav add dev menu 2023-08-04 12:06:04 +08:00
LinkinStars 66a04d0e5a feat(validator): format error message 2023-08-03 19:54:38 +08:00
LinkinStars af291a91f8 fix(goreleaser): update goreleaser GOPROXY 2023-08-03 16:00:38 +08:00
LinkinStars 3c08f31e07 fix(goreleaser): update archives name_template
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-08-02 19:32:54 +08:00
LinkinStars 6cc4a2b104 Merge branch 'release/1.1.1' into github-main 2023-08-02 17:30:14 +08:00
LinkinStars 967c2df4a1 Merge branch 'test' into release/1.1.1 2023-08-02 17:29:59 +08:00
LinkinStars d8b31cf60d Merge branch 'feat/1.1.1/state' into test 2023-08-02 17:29:36 +08:00
LinkinStars 3c4c91b2aa fix(upload): Use the correct upload type 2023-08-02 17:27:42 +08:00
haitao.jarvis c3b2e305ba Merge pull request #460 from answerdev/feat/1.1.1/ui
fix(useCaptchaModal): Add `await` to all `close()` calls to prevent t…
2023-08-02 17:14:50 +08:00
haitaoo ed9a31da79 fix(useCaptchaModal): Add await to all close() calls to prevent them from closing properly. 2023-08-02 17:14:13 +08:00
aichy 2d3ce32e94 Merge branch 'feat/1.1.1/ai' into test 2023-08-02 16:21:22 +08:00
aichy 50ef591fc8 update captcha 2023-08-02 16:21:02 +08:00
Fen 4843a8d44b New translations en_US.yaml (Chinese Simplified) (#459) 2023-08-02 15:04:54 +08:00
Fen 242b8ddbd4 New Crowdin updates (#458)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Persian)

* New translations en_US.yaml (Welsh)
2023-08-02 14:47:55 +08:00
LinkinStars 61b10a854f Merge branch 'release/1.1.1' into github-main
# Conflicts:
#	i18n/en_US.yaml
2023-08-02 14:26:37 +08:00
LinkinStars 765957f5e7 chore(build): upgrade 1.1.1 2023-08-02 14:22:55 +08:00
aichy d440e49e45 Merge branch 'feat/1.1.1/ai' into test 2023-08-02 14:21:23 +08:00
aichy 7c419ad1e6 update dump 2023-08-02 14:21:00 +08:00
aichy c7774e8dd8 Merge branch 'feat/1.1.1/ai' into test 2023-08-02 11:48:51 +08:00
aichy 1034f05644 go mod 2023-08-02 11:48:26 +08:00
aichy ef6c4402cf go mod 2023-08-02 11:48:09 +08:00
aichy 7eab05004e Merge branch 'feat/1.1.1/ai' into test 2023-08-02 11:02:04 +08:00
aichy 37852646b4 update GOPROXY 2023-08-02 11:01:09 +08:00
haitao.jarvis 2dc23c7f15 Merge pull request #457 from answerdev/feat/1.1.1/ui
fix(useCaptchaModal): CAPTCHA popup closes with all intermediate stat…
2023-08-02 10:37:27 +08:00
haitaoo 1d51f23c2d fix(useCaptchaModal): CAPTCHA popup closes with all intermediate states cleaned up. 2023-08-02 10:35:29 +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
haitao.jarvis a7a908da83 Merge pull request #456 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-08-01 14:47:09 +08:00
haitaoo 9184b9b416 fix(Question): Handle unexpected state handling issues when CAPTCHA and draft functions are mixed together. 2023-08-01 14:44:36 +08:00
LinkinStars 063e30b460 Merge branch 'feat/1.1.1/state' into test 2023-08-01 14:15:37 +08:00
LinkinStars fcf29b1a79 fix(search): Update regex for parsing tags in search query 2023-08-01 14:14:59 +08:00
shuai 601721a921 fix: captcha close should not show promot 2023-08-01 12:12:01 +08:00
LinkinStars 773be25c33 Merge branch 'feat/1.1.1/state' into test 2023-07-31 15:28:27 +08:00
LinkinStars 4004c0b674 fix(revision): Increase content field size in revision entity
Modified the "content" field in the "revision_entity.go" file from 'TEXT' to 'MEDIUMTEXT'. Added a new migration file "v14.go" to handle the transition of the database 'content' field to 'MEDIUMTEXT'. Also adapted the 'command.go' and 'migrations.go' files to handle the new migration. These changes were necessary to accommodate larger revision content sizes.
2023-07-31 15:04:32 +08:00
LinkinStars 0369c35fe2 Merge branch 'feat/1.1.1/state' into test 2023-07-29 11:02:29 +08:00
LinkinStars aa606ed01a feat(build): add ignore path for build 2023-07-29 11:02:09 +08:00
haitao.jarvis 4c1099a824 Merge pull request #451 from answerdev/feat/1.1.1/ui
fix(Question): Fix the problem that the captcha is not displayed corr…
2023-07-28 17:34:15 +08:00
aichy b82261f808 update docker file 2023-07-28 17:33:20 +08:00
haitaoo d7e4c347e6 fix(Question): Fix the problem that the captcha is not displayed correctly when saving questions, adding answers, and adding comments. 2023-07-28 17:32:07 +08:00
aichy d76b8d5f43 update dockerfile 2023-07-28 17:21:21 +08:00
aichy 7017be6840 update go mod 2023-07-28 17:13:06 +08:00
aichy 7e56b758e3 Merge branch 'feat/1.1.1/ai' into test 2023-07-28 17:12:36 +08:00
aichy 4fd7401566 update go mod 2023-07-28 17:11:35 +08:00
aichy 2f25686af3 Merge branch 'feat/1.1.1/ai' into test 2023-07-28 16:53:57 +08:00
aichy d59d5ca0a8 fix go mod 2023-07-28 16:53:35 +08:00
aichy cfa4d791cb Merge branch 'test' of github.com:answerdev/answer into test 2023-07-28 16:44:35 +08:00
aichy c543e282db Merge branch 'feat/1.1.1/ai' into test 2023-07-28 16:44:23 +08:00
aichy c470a8d381 update captcha 2023-07-28 16:44:01 +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 d930df2c67 Merge branch 'feat/1.1.1/ai' into test 2023-07-28 15:28:22 +08:00
aichy e421c6eb35 remove dump 2023-07-28 15:28:00 +08:00
haitao.jarvis 742d7650de Merge pull request #450 from answerdev/feat/1.1.1/ui
fix(Signup): Display the registration form by configuration.
2023-07-27 17:57:41 +08:00
haitaoo 38ad85978a fix(Signup): Display the registration form by configuration. 2023-07-27 17:55:43 +08:00
LinkinStars 9655f58205 Merge branch 'feat/1.1.1/state' into test 2023-07-26 16:36:08 +08:00
LinkinStars bf50c8971c feat(plugin): update search condition 2023-07-26 16:35:33 +08:00
haitao.jarvis 40d91d68e9 Merge pull request #443 from answerdev/feat/1.1.1/ui
fix(useCaptchaModal): The first time `captcha_error` is encountered i…
2023-07-24 14:29:23 +08:00
haitaoo 3880eab449 fix(useCaptchaModal): The first time captcha_error is encountered it is validated directly. 2023-07-24 14:28:26 +08:00
aichy 71cdec7ec7 fix 2023-07-24 11:35:13 +08:00
haitao.jarvis a79cc578e2 Merge pull request #428 from MMmaXingXing/test
create user max display_name is 4 - 30 but message is 3 -30
2023-07-24 11:21:00 +08:00
aichy c96b55a987 update go.mod 2023-07-24 11:20:40 +08:00
haitao.jarvis 36c1aaed3d Update index.scss
Okay, I'll remove this change and merge the others.
2023-07-24 11:18:14 +08:00
aichy 1be2b5134d Merge branch 'test' of github.com:answerdev/answer into test 2023-07-24 11:14:22 +08:00
aichy 9c54fffdcb update go.mod 2023-07-24 11:14:18 +08:00
haitao.jarvis 9443d0f48b Merge pull request #442 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-07-24 11:09:11 +08:00
haitaoo 789f566869 fix(Pagination): Replace disabled with pe-none to optimise style. 2023-07-24 11:08:32 +08:00
haitaoo 90d646613b refactor(Personal): An implementation of optimising TopList content spacing. 2023-07-24 10:55:21 +08:00
aichy 7bb7f84432 Merge branch 'feat/1.1.1/ai' into test 2023-07-24 10:45:24 +08:00
aichy 2cbb9d071d update pnpm config 2023-07-24 10:44:19 +08:00
haitao.jarvis 64c97219cb Merge pull request #441 from answerdev/feat/1.1.1/ui
refactor: Cancels the delayed handling of jump actions.
2023-07-21 19:03:30 +08:00
haitaoo d2924fab4f refactor: Cancels the delayed handling of jump actions. 2023-07-21 18:24:30 +08:00
haitao.jarvis 3423212b80 Merge pull request #440 from answerdev/feat/1.1.1/ui
feat: Complete **SPAM** blocking of critical data apis.
2023-07-21 18:17:01 +08:00
haitaoo fa54cbc0d1 feat: Complete **SPAM** blocking of critical data apis. 2023-07-21 18:15:52 +08:00
LinkinStars df391fc2d1 Merge branch 'feat/1.1.1/state' into test 2023-07-21 17:43:47 +08:00
LinkinStars 5a03fef6ec feat(plugin): update search condition 2023-07-21 17:27:01 +08:00
aichy e31fc6ebff update captcha 2023-07-21 16:06:28 +08:00
LinkinStars f7259286b0 Merge branch 'feat/1.1.1/state' into test 2023-07-21 11:36:20 +08:00
LinkinStars b4d8d3d07d fix(activity): update rank when accept answer 2023-07-21 11:35:25 +08:00
LinkinStars eb3537cb91 Merge branch 'feat/1.1.1/state' into test 2023-07-21 10:47:43 +08:00
LinkinStars 2d0fc6388c fix(activity): update rank when accept answer 2023-07-21 10:47:29 +08:00
LinkinStars 57744467a5 Merge branch 'feat/1.1.1/state' into test 2023-07-20 19:21:01 +08:00
LinkinStars a3b033b9df fix(timeline): fix the wrong TriggerUserID when accept answer 2023-07-20 19:20:40 +08:00
LinkinStars 86aa282b85 Merge branch 'feat/1.1.1/admin-email' into feat/1.1.1/state 2023-07-20 18:48:46 +08:00
LinkinStars 6f812a0a56 fix(search): fix search condition 2023-07-20 18:48:35 +08:00
aichy 12cc225d5b update captcha 2023-07-20 15:34:35 +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
aichy f5f98bd602 swagger 2023-07-19 16:59:23 +08:00
LinkinStars 43f7d6492d Merge branch 'feat/1.1.1/admin-email' into test 2023-07-19 16:52:34 +08:00
LinkinStars 3988501fc5 feat(rank): adjust the rank of voting question and answer. 2023-07-19 16:48:26 +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
aichy126 638a64f87e update captcha 2023-07-18 18:29:37 +08:00
aichy126 c6baf9aa04 update captcha 2023-07-18 18:18:58 +08:00
aichy126 29c253baa3 update captcha 2023-07-18 18:11:18 +08:00
aichy126 b6a85b06ab update captcha 2023-07-17 18:46:09 +08:00
aichy126 3a12d46c37 update captcha 2023-07-17 17:44:08 +08:00
aichy126 51ab2a1bd8 Merge branch 'feat/1.1.1/ai' into test 2023-07-14 16:26:14 +08:00
haitao.jarvis b6aaea47d7 Merge pull request #437 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-07-13 17:43:40 +08:00
haitaoo c9921b9284 fix(Operate): Adjustment of the height of entries in the **Operate** component. 2023-07-13 17:41:54 +08:00
LinkinStars 7c1e880868 fix(votes): set real rank when reach the lowest limit 2023-07-13 17:24:31 +08:00
haitaoo 8fcb040442 feat: Updated **footer** insertion location and related hints. 2023-07-13 17:06:55 +08:00
aichy126 8a1e97c03d update i18n 2023-07-13 16:43:40 +08:00
LinkinStars 7759877bac feat(migration): add context for migration 2023-07-13 16:16:13 +08:00
LinkinStars 476de8fd0a Merge remote-tracking branch 'github/feat/1.1.1/admin-email' into feat/1.1.1/state 2023-07-13 16:01:19 +08:00
LinkinStars 90b482cf61 fix(comment): update the wrong errors 2023-07-13 16:01:13 +08:00
aichy126 ee72b7e0b1 update CheckPrivateMode 2023-07-13 15:27:26 +08:00
aichy126 f2590a4272 Merge branch 'feat/1.1.1/ai' into test 2023-07-13 12:00:51 +08:00
aichy126 581bfc1cbe update CheckPrivateMode 2023-07-13 11:56:50 +08:00
LinkinStars 0d4d63eedf Merge remote-tracking branch 'github/feat/1.1.1/admin-email' into feat/1.1.1/ai 2023-07-12 18:11:03 +08:00
haitaoo 08d5528e4e refactor(pathFactory): Remove the dependency on : it's not very useful and will throw an error if it encounters a null argument. 2023-07-12 16:57:49 +08:00
LinkinStars e6471696be Merge branch 'github-main' into feat/plugin/search 2023-07-12 14:57:43 +08:00
haitao.jarvis d02c0a9a20 Merge pull request #436 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-07-11 15:25:08 +08:00
LinkinStars c407b75e67 Merge remote-tracking branch 'github/feat/1.1.1/admin-email' into test 2023-07-11 15:16:21 +08:00
LinkinStars 10c91f96a3 fix(admin): modify the router url 2023-07-11 15:15:59 +08:00
haitaoo 23764ab543 refactor(i18n): Optimise i18n field structure. 2023-07-11 15:15:01 +08:00
haitaoo f7ba449fe1 feat(admin/users): The activation email can be resent manually. 2023-07-11 15:07:48 +08:00
LinkinStars 3283e09c9a feat(admin): allow admin resend activation email 2023-07-11 12:08:30 +08:00
LinkinStars a1c7a5d70a fix(user): update display name length limit #432 2023-07-10 18:00:30 +08:00
haitao.jarvis 30e11c7a61 Merge pull request #434 from answerdev/feat/1.1.1/ui
fix(Avatar): Correctly handle the  attribute of the user avatar butto…
2023-07-10 11:25:01 +08:00
haitaoo f6f32db7ec fix(Avatar): Correctly handle the attribute of the user avatar button's tag. 2023-07-10 11:20:42 +08:00
haitao.jarvis d23a3070f1 Merge pull request #433 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-07-10 10:37:48 +08:00
haitaoo 3ea5575136 Merge branch 'feat/1.1.1/ui' of github.com:answerdev/answer into feat/1.1.1/ui 2023-07-10 10:34:27 +08:00
haitaoo b75c4115af fix(Img): Correctly handle onerror issues for images where the src address changes. 2023-07-10 10:34:15 +08:00
shuai 8c6448d73f fix: login modal cache redirect path 2023-07-07 15:37:39 +08:00
LinkinStars 9069543b08 Merge branch 'feat/1.1.1/state' into test 2023-07-06 18:25:04 +08:00
LinkinStars 69f250ee04 feat(user): replace space in username with - 2023-07-06 16:18:57 +08:00
LinkinStars 5861eebb78 fix(activity): wrong decrease user rank when reach daily rank 2023-07-06 15:37:20 +08:00
Astar007 6343c6d8c8 fix: i18n creat user len in 4 - 30 2023-07-06 14:25:58 +08:00
LinkinStars fcb48b86ee refactor(repo): refactor some repo test 2023-07-06 12:28:33 +08:00
LinkinStars 2de9a73de1 Merge branch 'feat/1.1.1/state' into test 2023-07-05 14:32:00 +08:00
dashuai f182d0006e Merge pull request #430 from answerdev/feat/1.1.1/ui
fix: edit answer bottom line changed #423
2023-07-05 11:57:51 +08:00
shuai 9bb5771536 fix: edit answer bottom line changed #423 2023-07-05 11:56:28 +08:00
Astar007 40c6797cc8 fix: answer edit style 2023-07-04 21:26:14 +08:00
dashuai f651b8ede0 Merge pull request #427 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-07-04 17:14:48 +08:00
shuai 37d9b613a6 fix: set search value when pathname is search 2023-07-04 17:13:04 +08:00
shuai 4bfa98df6c fix: clear search input val when navigate to other page 2023-07-04 17:10:20 +08:00
haitao.jarvis 8b39ab2c4b Merge pull request #426 from answerdev/feat/1.1.1/ui
fix(PicAuthCodeModal): Optimize the image captcha style and improve t…
2023-07-04 15:13:38 +08:00
haitaoo c620d466f1 fix(PicAuthCodeModal): Optimize the image captcha style and improve the automatic refresh of the captcha. 2023-07-04 15:09:29 +08:00
LinkinStars 964195fd85 feat(init): set default privileges when init 2023-07-04 14:33:31 +08:00
aichy126 5d3e986479 Merge branch 'feat/1.1.1/ai' into test 2023-07-04 14:32:56 +08:00
aichy126 1c2162bdc2 update captcha style 2023-07-04 14:32:34 +08:00
LinkinStars b01d965f80 refactor(user): refactor search user by name 2023-07-04 11:20:55 +08:00
LinkinStars 2f4090c25e fix(activity): add activity common service init 2023-07-03 17:15:29 +08:00
haitao.jarvis fa5f8970eb Merge pull request #425 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-07-03 17:09:13 +08:00
haitaoo a96f73a95e refactor: Add default type to some form inputs 2023-07-03 17:08:25 +08:00
haitaoo 61a60499ae fix: Add an alt attribute to all user avatars. 2023-07-03 16:42:44 +08:00
aichy126 60e8426102 update captcha ui 2023-07-03 16:31:40 +08:00
haitaoo c80fec2bfc fix(SignUp): The user name field of the user registration form is changed to a server-side check. 2023-07-03 16:17:28 +08:00
haitaoo c3dd2f4021 fix: Optimise the type of search input to search 2023-07-03 15:58:22 +08:00
haitaoo 0d746cb3fb chore: Some accessibility improvements. 2023-07-03 15:37:03 +08:00
LinkinStars dabc5bfeb1 Merge branch 'feat/1.1.1/state' into test 2023-07-03 14:43:46 +08:00
LinkinStars 7f58fbdad1 refactor(answer): refactor accept answer activity 2023-07-03 14:11:48 +08:00
haitaoo b2b118bd04 fix(Logo): Add alt attribute to logo images 2023-07-03 12:09:23 +08:00
haitaoo 9e632d14a9 fix(Theme): Set the --bs-link-hover-color-rgb colour variable 2023-07-03 11:47:54 +08:00
haitaoo 07f9cf1ac5 fix: Uniformly hide broken images 2023-07-03 11:15:24 +08:00
LinkinStars 47661dc8a3 refactor(votes): refactor user vote repo 2023-06-30 18:18:22 +08:00
LinkinStars 9a31d7e76d refactor(votes): refactor user vote service param 2023-06-29 14:53:50 +08:00
haitao.jarvis 296676b887 Merge pull request #421 from answerdev/feat/1.1.1/ui
fix(Dashboard): Some minor problem adjustments.
2023-06-28 18:43:39 +08:00
haitaoo fb5f3a7cf1 fix(Dashboard): Some minor problem adjustments. 2023-06-28 18:41:24 +08:00
LinkinStars 71bab09445 fix(sitemap): create pageList by total pages 2023-06-28 11:57:29 +08:00
LinkinStars ac91dc5259 fix(sitemap): set question id by default 2023-06-28 11:43:40 +08:00
LinkinStars cbf7da18c7 Merge branch 'github-main' into feat/1.2.0/state 2023-06-28 10:53:21 +08:00
LinkinStars a23080df0a refactor(sitemap): save sitemap in cache 2023-06-28 10:52:36 +08:00
haitaoo 79711f2b7b fix(UcLogin): Add the missing i18n field to the UcLogin plugin. 2023-06-26 11:42:49 +08:00
LinkinStars 95a57417c1 fix(email): skip send email when SMTP config is empty 2023-06-25 17:59:18 +08:00
haitaoo 5e41cd95fb fix(i18n): Add the term admin.users.more to en_US 2023-06-25 15:20:16 +08:00
aichy126 8d3b3ea247 Merge branch 'main' into hot-fix/1.1.0.ai 2023-06-25 14:44:51 +08:00
aichy126 5884ec04d9 hot fix pq short id 2023-06-25 14:44:22 +08:00
LinkinStars 6715b50a7e fix(user-agent): set user role status from agent 2023-06-25 10:07:18 +08:00
LinkinStars 765ae6e105 Merge pull request #412 from nonvis/fix/update-config-repo
fix(config): Use key to update config repo
2023-06-22 21:23:47 +08:00
nonvis@gmail.com aa972354a8 fix(config): use key to update a specific item 2023-06-22 14:36:38 +09:00
LinkinStars 622c517da7 refactor(data): use names for gonic mapper 2023-06-21 16:41:14 +08:00
haitao.jarvis 0d0b5b3304 Merge pull request #411 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-06-21 15:54:24 +08:00
haitaoo 18a6a20590 feat(Tag): Tag colours follow the theme colours 2023-06-21 15:53:10 +08:00
LinkinStars a48c53d6c6 refactor(dashboard): rename dashboard cache key 2023-06-21 15:48:04 +08:00
haitaoo 36d3c068f3 refactor: Remove the useless LabelsCard component and related tool functions. 2023-06-21 15:12:44 +08:00
haitaoo fc1270f57d fix(CustomizeTheme): Make --bs-link-color-rgb follow the theme colour setting 2023-06-21 12:05:50 +08:00
haitaoo 4e18806e00 feat(Branding): Adjust the brand image display to object-fit-contain 2023-06-21 12:00:56 +08:00
LinkinStars 92c5bb6616 refactor(answer): refactor admin question answer page list 2023-06-20 16:55:43 +08:00
aichy126 a7e9273182 Merge branch 'hot-fix/1.1.0.ai' into test 2023-06-20 14:23:12 +08:00
aichy126 f2a02c21df fix upgrade QuestionV13 2023-06-20 14:22:44 +08:00
aichy126 102b8c1b9f fix upgrade QuestionV13 2023-06-20 12:16:24 +08:00
aichy126 763eb53c36 fix upgrade 2023-06-20 12:14:04 +08:00
LinkinStars 3ed9568614 fix(init): set default permalink value 2023-06-20 10:18:30 +08:00
LinkinStars f4b6208f90 fix(context): add context for data 2023-06-19 18:29:15 +08:00
LinkinStars fb757139ae fix(activity): return err when can not find activity type 2023-06-19 18:09:44 +08:00
LinkinStars 4f835e3841 fix(context): remove context background 2023-06-19 17:49:55 +08:00
shuai 315199edd8 feat: change mobile side nav max height 2023-06-16 16:12:18 +08:00
shuai b1f510c9a5 Merge branch 'feat/1.1.1/ui' of github.com:answerdev/answer into feat/1.1.1/ui 2023-06-16 16:10:24 +08:00
shuai 4f5a186267 feat: change side nav max height 2023-06-16 16:10:12 +08:00
haitaoo f22187bdff fix(users): Prevent long user names from damaging the layout of user list pages 2023-06-16 14:21:13 +08:00
haitao.jarvis 612616add6 Merge pull request #406 from answerdev/feat/1.1.1/ui
Feat/1.1.1/UI
2023-06-16 14:00:09 +08:00
haitaoo d63f924f27 build(Bootstrap): Upgrade bootstrap related libraries 2023-06-16 11:35:09 +08:00
haitaoo 546df6bcb8 fix(QuestionDetail): Remove the Add Question link from the Related Questions module 2023-06-16 10:48:33 +08:00
LinkinStars 8052e1d1ce fix(avatar): set default gravatar base url only for none empty config #400 2023-06-14 16:54:10 +08:00
LinkinStars cc0a03117c refactor(migrations): refactor migrations service 2023-06-14 16:53:56 +08:00
LinkinStars 42c08fe566 refactor(uploader): refactor AvatarThumbFile service 2023-06-13 17:38:22 +08:00
LinkinStars c49fa00570 Merge branch 'github-main' into feat/1.2.0/state
# Conflicts:
#	cmd/wire_gen.go
#	internal/service/question_common/question.go
#	internal/service/siteinfo/siteinfo_service.go
2023-06-13 16:44:36 +08:00
LinkinStars 18b9b5c391 Merge branch 'i18n' into github-main 2023-06-13 11:24:58 +08:00
Fen 3088d1acca New translations en_US.yaml (Chinese Simplified) 2023-06-13 11:23:14 +08:00
Fen 48a8ea1410 New Crowdin updates (#402)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Welsh)
2023-06-13 11:22:03 +08:00
Fen 50cb7f05b7 New translations en_US.yaml (Welsh) 2023-06-13 11:21:14 +08:00
Fen d03a666aab New translations en_US.yaml (Indonesian) 2023-06-13 11:21:13 +08:00
Fen 7fbbd693d8 New translations en_US.yaml (Vietnamese) 2023-06-13 11:21:12 +08:00
Fen 4963a551a0 New translations en_US.yaml (Chinese Traditional) 2023-06-13 11:21:12 +08:00
Fen 16fec561b8 New translations en_US.yaml (Chinese Simplified) 2023-06-13 11:21:11 +08:00
Fen 407535ada7 New translations en_US.yaml (Turkish) 2023-06-13 11:21:10 +08:00
Fen d32b5c843b New translations en_US.yaml (Slovak) 2023-06-13 11:21:09 +08:00
Fen 96a06f67fc New translations en_US.yaml (Russian) 2023-06-13 11:21:08 +08:00
Fen 0939a6d987 New translations en_US.yaml (Portuguese) 2023-06-13 11:21:08 +08:00
Fen f13d23c69c New translations en_US.yaml (Japanese) 2023-06-13 11:21:06 +08:00
Fen 363922a7f0 New translations en_US.yaml (Italian) 2023-06-13 11:21:06 +08:00
Fen d2e1e7bea1 New translations en_US.yaml (German) 2023-06-13 11:21:05 +08:00
Fen 1ba6464cd9 New translations en_US.yaml (Spanish) 2023-06-13 11:21:04 +08:00
Fen 05159f5474 New translations en_US.yaml (French) 2023-06-13 11:21:03 +08:00
Fen a7420cb151 New Crowdin updates (#401)
* New translations en_US.yaml (French)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (Chinese Simplified)

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2023-06-13 11:10:36 +08:00
LinkinStars 204f5da7ef Merge remote-tracking branch 'hot-fix/1.1.0' into github-main 2023-06-13 10:32:20 +08:00
aichy126 237e43d6fb Merge branch 'hot-fix/1.1.0' 2023-06-12 18:00:34 +08:00
aichy126 e1df1cbfc2 Merge branch 'main' of github.com:answerdev/answer 2023-06-12 18:00:22 +08:00
aichy126 71dcfcac36 update github action dockerfile 2023-06-12 17:59:51 +08:00
LinkinStars afa15379c2 fix(build): add node env for build plugin 2023-06-12 17:59:11 +08:00
aichy126 7e1ca07065 update github action Dockerfile 2023-06-12 17:58:24 +08:00
LinkinStars 142715c5cb Merge branch 'feat/plugins' into test 2023-06-12 17:38:13 +08:00
LinkinStars 383a45e86d fix(build): add node env for build plugin 2023-06-12 17:31:29 +08:00
haitao.jarvis 19138a1c67 Merge pull request #398 from answerdev/feat/plugins
Feat/plugins
2023-06-12 15:48:02 +08:00
haitaoo c3d297c8f3 Merge branch 'test' into feat/plugins 2023-06-12 15:47:30 +08:00
LinkinStars 3a21a000c4 fix(build): replace cp command by copy function 2023-06-12 15:24:30 +08:00
aichy126 1af37811f6 Merge branch 'hot-fix/1.1.0' into test 2023-06-12 14:56:57 +08:00
aichy126 0217125f6f update edit answer shortid 2023-06-12 14:56:26 +08:00
Itamar 7d2f53a283 fix(internal/build): Using forward slash with embed fs
(cherry picked from commit 8e63d64f84)
2023-06-12 14:56:26 +08:00
LinkinStars ccb61dcc84 Merge pull request #397 from itamadev/fix/build-on-windows
fix(internal/cli/build): Using forward slash with embed fs
2023-06-12 10:52:23 +08:00
Itamar 8e63d64f84 fix(internal/build): Using forward slash with embed fs 2023-06-11 10:26:33 +03:00
LinkinStars 4bd48fff60 Merge remote-tracking branch 'github/hot-fix/1.1.0' into github-main 2023-06-09 15:08:22 +08:00
aichy126 673ce8b8e4 Merge branch 'hot-fix/1.1.0' into test 2023-06-09 15:03:01 +08:00
aichy126 cacf5e309f fix sitemap 2023-06-09 15:02:39 +08:00
haitaoo 7b5e3fc0f9 Merge branch 'feat/plugins' of github.com:answerdev/answer into feat/plugins 2023-06-09 14:47:05 +08:00
haitaoo eb35a51725 doc: Update SchemaForm documentation 2023-06-09 14:46:31 +08:00
LinkinStars e760fd9355 feat(plugin): build ui when pack plugin 2023-06-09 11:52:19 +08:00
haitaoo 10637527f5 feat(Plugin): Front-end plugins support type, and all plugins of the same type can be automatically rendered by type. 2023-06-09 11:44:10 +08:00
haitaoo 92cd3d7b40 build: Remove husky 2023-06-08 17:05:00 +08:00
haitaoo bfcb2fa324 chore: Plugin Packaging & Deployment Testing 2023-06-08 16:46:46 +08:00
haitaoo 53a2a104a7 refactor: Maintain SchemaForm all type definitions centrally 2023-06-08 16:10:51 +08:00
haitaoo f75cdaaa4b feat: Add front-end plug-in demo 2023-06-08 15:47:01 +08:00
aichy126 1477a74c2d Merge branch 'hot-fix/1.1.0' into test 2023-06-08 10:32:34 +08:00
aichy126 3092954e68 fix post-title 2023-06-08 10:30:26 +08:00
haitaoo 740e7a0fa0 refactor: Standardisation of translation documents related to the user centre 2023-06-07 18:31:30 +08:00
LinkinStars b4622c34c2 fix(activity): rename the rank column 2023-06-07 18:26:43 +08:00
LinkinStars b0a0585221 fix(activity): use the wrong context in activity 2023-06-07 18:25:42 +08:00
aichy126 f20106e163 Merge branch 'hot-fix/1.1.0' into test 2023-06-07 17:40:20 +08:00
aichy126 88cfe29d01 Merge branch 'test' of github.com:answerdev/answer into test 2023-06-07 17:40:11 +08:00
aichy126 3378cbff69 fix tag count upgrade 2023-06-07 17:39:25 +08:00
haitaoo d680820785 feat: Initial design of front-end plug-in structure completed 2023-06-07 17:20:05 +08:00
LinkinStars fa85ce05b1 refactor(dashboard): Refactoring the dashboard 2023-06-07 16:31:51 +08:00
aichy126 3ad1c40cea fix notificationInviteUser 2023-06-07 14:25:06 +08:00
LinkinStars 420667cd3e Merge branch 'github-main' into feat/1.1.0/context 2023-06-06 17:09:35 +08:00
aichy126 9b6915f1b5 Merge branches 'test' and 'main' of github.com:answerdev/answer 2023-06-06 16:46:00 +08:00
LinkinStars 28cc744640 Merge remote-tracking branch 'github/hot-fix/1.1.0' into github-main
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-06-06 16:15:36 +08:00
aichy126 abda17439f Merge branch 'hot-fix/1.1.0' into test 2023-06-06 15:53:23 +08:00
aichy126 82324f508b Merge branch 'feat/1.1.0/report' into hot-fix/1.1.0 2023-06-06 15:51:06 +08:00
aichy126 57153f8e7d update answer count 2023-06-06 15:43:32 +08:00
LinkinStars d4b6130dfc Merge branch 'hot-fix/1.1.0' into github-main 2023-06-06 14:44:24 +08:00
LinkinStars 74661a135f fix(migrations): upgrade question table struct first 2023-06-06 14:43:28 +08:00
Fen 1a3c34b267 New Crowdin updates (#388)
* New translations en_US.yaml (French)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (Chinese Simplified)
2023-06-06 12:02:46 +08:00
LinkinStars fbb3269f08 fix(email): fix the old email config format 2023-06-06 11:26:38 +08:00
LinkinStars 4a0fa27a34 fix(email): fix the old email config format 2023-06-06 11:26:02 +08:00
LinkinStars d6d0bd4883 fix(migrations): add migration error log 2023-06-06 10:04:56 +08:00
LinkinStars 432bf21c98 fix(migrations): add migration error log 2023-06-06 10:04:03 +08:00
aichy126 a15ab3a282 Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-06-05 18:38:34 +08:00
aichy126 b5472c793f update answer search list 2023-06-05 18:38:29 +08:00
haitao.jarvis bb5daf8003 Merge pull request #389 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-06-05 18:31:00 +08:00
haitaoo 4e6c532840 i18n: Update text for deleted_desc 2023-06-05 18:29:16 +08:00
haitaoo 27432c6ee2 fix(style): Make .small work correctly on button 2023-06-05 18:18:19 +08:00
LinkinStars 724959c024 Merge remote-tracking branch 'github/feat/1.1.0/report' into test 2023-06-05 17:29:39 +08:00
LinkinStars 90db5ad4ed docs(i18n): update en_US.yaml 2023-06-05 17:29:25 +08:00
aichy126 94fe6a9914 Merge branch 'feat/1.1.0/report' into test 2023-06-05 14:55:59 +08:00
aichy126 5cf74ee9da update search answer 2023-06-05 14:55:20 +08:00
LinkinStars c6ea2fc5da refactor(activity): make activity queue as a service 2023-06-05 14:10:04 +08:00
haitao.jarvis 1c4664d524 Merge pull request #385 from answerdev/feat/1.1.0/ui
fix: Set $enable-smooth-scroll to false
2023-06-02 18:52:35 +08:00
haitaoo bb437cfff8 fix: Set $enable-smooth-scroll to false 2023-06-02 18:46:51 +08:00
haitao.jarvis 16d2715d54 Merge pull request #384 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-06-02 18:30:37 +08:00
LinkinStars 773d2142db refactor(notification): make notification queue as a service 2023-06-02 18:15:54 +08:00
haitaoo 92d06b8078 fix(Legal): Set SizeNavLayout for legal 2023-06-02 18:12:50 +08:00
haitaoo 8b18cff56d fix: Removing the default scrolling animation 2023-06-02 17:53:00 +08:00
aichy126 b18f3893a9 Merge branch 'feat/1.1.0/report' into test 2023-06-02 17:13:48 +08:00
aichy126 345398a6de fix 2023-06-02 17:13:26 +08:00
haitao.jarvis 4eae58e0a9 Merge pull request #383 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-06-02 16:54:02 +08:00
LinkinStars 1c2151d710 refactor(shortid): remove short id variable 2023-06-02 16:53:49 +08:00
haitaoo 979fb120d1 fix: Remove animation when scrolling pages with script 2023-06-02 16:51:40 +08:00
haitaoo 151fe851d3 fix(InviteToAnswer): Optimising style and interaction 2023-06-02 16:33:38 +08:00
aichy126 44983b89fc Merge branch 'feat/1.1.0/report' into test 2023-06-02 15:35:48 +08:00
aichy126 a7948729d5 update search user 2023-06-02 15:35:20 +08:00
LinkinStars aeaeb4b127 Merge remote-tracking branch 'github/feat/1.1.0/report' into feat/1.1.0/context 2023-06-02 12:17:15 +08:00
LinkinStars bce3b923aa Merge remote-tracking branch 'github/feat/1.1.0/report' into test 2023-06-02 12:16:52 +08:00
LinkinStars 0744658d7a refactor(siteinfo): remove site url var 2023-06-02 12:16:22 +08:00
aichy126 5aa702f94e Merge branch 'feat/1.1.0/report' into test 2023-06-01 12:16:06 +08:00
aichy126 27aa4aa8cd UpdateQuestionInviteUser 2023-06-01 12:15:46 +08:00
aichy126 557d185a35 Merge branch 'test' of github.com:answerdev/answer into test 2023-06-01 11:26:04 +08:00
aichy126 c8e4e9b993 Merge branch 'feat/1.1.0/report' into test 2023-06-01 11:25:51 +08:00
aichy126 40f66f505c update seo perma link 2023-06-01 11:25:25 +08:00
aichy126 3e219569b6 UpdateQuestionInviteUser 2023-06-01 11:13:02 +08:00
haitao.jarvis b2294bddc4 Merge pull request #382 from answerdev/feat/1.1.0/ui
fix(QuestionList): Make the Tag details page remember how to sort the…
2023-05-31 20:48:42 +08:00
haitaoo b191b9e471 fix(QuestionList): Make the Tag details page remember how to sort the list of questions too 2023-05-31 20:46:21 +08:00
haitao.jarvis 1fe92a99d2 Merge pull request #381 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-31 19:50:12 +08:00
haitaoo ae90d4b8ad fix(QuestionList): Make the Tag details page remember how to sort the list of questions too 2023-05-31 19:48:50 +08:00
haitaoo edba84c47e fix(InviteToAnswer): Hide components when not necessary 2023-05-31 19:25:27 +08:00
haitaoo 9104b31231 fix(InviteToAnswer): Adjusting style and interaction details 2023-05-31 19:01:58 +08:00
LinkinStars 78a2ea8d05 Merge remote-tracking branch 'github/feat/1.1.0/context' into test 2023-05-31 16:26:00 +08:00
LinkinStars 7662e9a552 refactor(upload): extract uploader service interface 2023-05-31 16:25:47 +08:00
haitao.jarvis 9ac3453b91 Merge pull request #380 from answerdev/feat/1.1.0/ui
fix(guard.isIgnoredPath): Avoid incorrect matches when using `indexOf`
2023-05-31 15:29:04 +08:00
haitaoo 378b6e6b2d fix(guard.isIgnoredPath): Avoid incorrect matches when using indexOf 2023-05-31 15:27:13 +08:00
dashuai 0147fcb830 Merge pull request #379 from answerdev/feat/1.1.0/ui
fix: change sidenav max width
2023-05-30 18:02:32 +08:00
shuai 58ff1215f1 fix: change sidenav max width 2023-05-30 18:01:22 +08:00
LinkinStars c0101bf156 Merge remote-tracking branch 'github/feat/1.1.0/report' into test 2023-05-30 10:54:07 +08:00
LinkinStars 8431f9ab13 fix(answer): accept own answer does not produce achievement 2023-05-30 10:53:46 +08:00
dashuai aa4a60256b Merge pull request #377 from answerdev/feat/1.1.0/ui
fix: sidenav need sticky
2023-05-30 10:24:37 +08:00
shuai 7c1d4af7c9 fix: sidenav need sticky 2023-05-30 10:24:08 +08:00
LinkinStars 6e702de57c refactor(user): remove unused service 2023-05-29 17:01:18 +08:00
LinkinStars 262ae9bb18 refactor(notification): remove duplicated code 2023-05-29 15:47:46 +08:00
LinkinStars 28758645dd Merge remote-tracking branch 'github/feat/1.1.0/report' into test 2023-05-29 15:22:37 +08:00
LinkinStars 20ac2b6c58 fix(connector): return error page when error occur 2023-05-29 15:22:20 +08:00
aichy126 03eae354f7 update IsQuestionsIgnorePath 2023-05-29 15:15:06 +08:00
LinkinStars 0ce90c00d1 Merge remote-tracking branch 'github/feat/1.1.0/report' into test 2023-05-29 15:09:14 +08:00
LinkinStars 935bcf21ff docs(swagger): update swagger docs 2023-05-29 15:08:57 +08:00
LinkinStars 209dc4f623 refactor(agent): make a register for site URL 2023-05-29 15:08:03 +08:00
LinkinStars fb412cb417 refactor(avatar): remove all avatar global variables config 2023-05-29 14:58:58 +08:00
LinkinStars 7e9becd8f5 refactor(path): remove init for path ignore var 2023-05-29 12:14:33 +08:00
LinkinStars d06dcaff1d Merge remote-tracking branch 'github/feat/1.1.0/report' into test 2023-05-29 11:16:26 +08:00
LinkinStars 184a04c245 feat(follow): refactor is followed 2023-05-29 11:14:57 +08:00
LinkinStars a0b5f882ad Merge remote-tracking branch 'github/feat/1.1.0/report' into feat/1.1.0/context 2023-05-29 10:40:01 +08:00
LinkinStars 72f43a8ef3 fix(migrations): remove invite user id when migration 2023-05-29 10:39:51 +08:00
LinkinStars 40690a2a36 fix(notification): add rank activity type translation 2023-05-29 10:38:59 +08:00
dashuai 169dff3541 Merge pull request #375 from answerdev/feat/1.1.0/ui
fix: add page-main class
2023-05-29 10:11:00 +08:00
shuai e6cc262a5c fix: add page-main class 2023-05-29 10:09:46 +08:00
dashuai 31800e6f2c Merge pull request #374 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-26 18:25:39 +08:00
shuai c860571289 fix: edit answer page style adjustment 2023-05-26 18:25:04 +08:00
aichy126 03fb591c45 Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-26 18:21:21 +08:00
aichy126 cf8e08f501 fix GetUserQuestionCount 2023-05-26 18:21:16 +08:00
shuai 6c5d4afbe1 fix: i8n use backend 2023-05-26 17:50:27 +08:00
LinkinStars d0bc403c88 fix(activity): incorrectly uses value as id 2023-05-26 16:48:40 +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
LinkinStars f1d97fbaa8 fix(user): check email invalid when oauth login 2023-05-26 15:24:19 +08:00
LinkinStars cbaf50e691 fix(user): check email invalid when oauth login 2023-05-26 15:23:23 +08:00
aichy126 831c3e284e Merge branch 'test' of github.com:answerdev/answer into test 2023-05-26 11:10:28 +08:00
aichy126 821cc05cf7 Merge branch 'feat/1.1.0/report' into test 2023-05-26 11:10:16 +08:00
aichy126 4d1326f0df Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-26 11:10:00 +08:00
aichy126 749e4bced2 update admin question list 2023-05-26 11:09:55 +08:00
LinkinStars ab637bf636 Merge branch 'feat/1.1.0/report' into test 2023-05-26 10:53:04 +08:00
LinkinStars e0cc900309 chore(notification): format all response error 2023-05-26 10:52:49 +08:00
LinkinStars 879c781e35 refactor(config): remove all config global variables and cache all config related data 2023-05-25 20:13:18 +08:00
haitao.jarvis ea5bd460eb Merge pull request #373 from answerdev/feat/1.1.0/ui
feat(TagSelector): Create `tag` operation associated with permission …
2023-05-25 18:33:12 +08:00
haitaoo 4ecfb1c057 feat(TagSelector): Create tag operation associated with permission control 2023-05-25 18:31:43 +08:00
aichy126 60fb52c103 Merge branch 'feat/1.1.0/report' into test 2023-05-25 18:12:53 +08:00
aichy126 fc94d667b7 update no_enough_rank_to_operate 2023-05-25 18:12:32 +08:00
LinkinStars 850637428c feat(permission): update translation for no enough reputation to operate 2023-05-25 18:03:10 +08:00
aichy126 7e15c73ad4 Merge branch 'feat/1.1.0/report' into test 2023-05-25 17:44:36 +08:00
LinkinStars c7a7cc711e fix(gravatar): replace when set gravatar url 2023-05-25 17:00:03 +08:00
LinkinStars 3428b5fbc3 feat(permission): add user permission API 2023-05-25 16:51:17 +08:00
aichy126 bd079a0040 update Notification 2023-05-25 16:49:05 +08:00
aichy126 0a4f75323c update Notification 2023-05-25 16:30:19 +08:00
aichy126 36c93f546c Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-25 11:27:03 +08:00
aichy126 475433795b fix dump 2023-05-25 11:26:58 +08:00
LinkinStars f16207e30f Merge branch 'feat/1.1.0/report' into feat/1.1.0/context
# Conflicts:
#	internal/repo/rank/user_rank_repo.go
#	internal/repo/tag/tag_rel_repo.go
#	internal/service/report_admin/report_backyard.go
2023-05-25 11:25:38 +08:00
LinkinStars 49db3da26d refactor(context): add all context for data 2023-05-25 11:17:10 +08:00
haitao.jarvis 2f60a3e061 Merge pull request #372 from answerdev/feat/1.1.0/ui
style: Remove unnecessary `fs-14` and replace it with `small`
2023-05-25 10:44:12 +08:00
haitaoo 69df077d40 style: Remove unnecessary fs-14 and replace it with small 2023-05-25 10:42:41 +08:00
LinkinStars f800076f85 refactor(user): move user info search API to auth router 2023-05-24 19:12:56 +08:00
LinkinStars 74a990d8b5 chore(config): remove secret_key config 2023-05-24 19:08:17 +08:00
haitao.jarvis 37cc7b0bfd Merge pull request #371 from answerdev/feat/1.1.0/ui
fix(Notifications): Optimize font size and other styles
2023-05-24 18:46:20 +08:00
haitaoo 8e0a22188e fix(Notifications): Optimize font size and other styles 2023-05-24 18:44:44 +08:00
haitao.jarvis 363d7c714d Merge pull request #370 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-24 17:48:09 +08:00
haitaoo 3e1e411dd0 fix(Header): Handling redirects when clicking on the login menu 2023-05-24 17:46:25 +08:00
haitaoo 6eed25f48c fix(InviteToAnswer): Optimising the control logic of the edit button 2023-05-24 17:33:03 +08:00
aichy126 0ab505a216 add decode test 2023-05-24 17:27:34 +08:00
LinkinStars 81fd961b58 Merge branch 'feat/1.1.0/report' into test 2023-05-24 17:11:00 +08:00
haitaoo 2a02b9d5c0 fix(InviteToAnswer): Control the presentation of invite_to_answer 2023-05-24 16:56:54 +08:00
haitao.jarvis 97f58483f5 Merge pull request #369 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-24 16:32:44 +08:00
haitaoo 0eb036aaba feat(Notifications): Support inbox_type filter 2023-05-24 16:30:17 +08:00
aichy126 e8265a0ddf Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-24 15:20:12 +08:00
aichy126 0b7606ea22 update inbox 2023-05-24 15:20:07 +08:00
LinkinStars cb8a0e0a76 feat(question): add extends actions permission 2023-05-24 15:19:04 +08:00
haitaoo 0561337942 feat(Question): Implementing the invite to answer function 2023-05-24 15:11:14 +08:00
LinkinStars 8c395bc306 Merge branch 'feat/1.1.0/report' into test
# Conflicts:
#	internal/migrations/v13.go
2023-05-24 11:22:01 +08:00
LinkinStars 0f671dd9fd fix(connector): add response data log 2023-05-24 11:16:20 +08:00
aichy126 87d71bf290 update swagger 2023-05-24 11:04:03 +08:00
aichy126 fb86b861da update inbox 2023-05-24 11:02:16 +08:00
LinkinStars e12e0094d2 feat(notification): add email notification for invited to answer 2023-05-24 10:42:26 +08:00
aichy126 8b55c05522 Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-23 17:32:28 +08:00
aichy126 bd5ea55ac8 Upgrade v12 2023-05-23 17:32:23 +08:00
aichy126 63ad5f577c Merge branch 'feat/1.1.0/sql' into feat/1.1.0/report 2023-05-23 17:29:49 +08:00
LinkinStars 674d98e983 feat(notification): add notification translation 2023-05-23 17:24:11 +08:00
aichy126 3425d223ac update config 2023-05-23 17:20:00 +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
LinkinStars 15438f0403 feat(notification): add notification for invited to answer 2023-05-23 16:32:10 +08:00
aichy126 f5bb3ff6e5 update invite user 2023-05-23 16:07:43 +08:00
aichy126 c777fec109 update invite user 2023-05-23 16:04:04 +08:00
aichy126 4d8bdd109e update invite user 2023-05-23 16:00:19 +08:00
LinkinStars 2b69f72a80 Merge branch 'feat/1.1.0/report' into test
# Conflicts:
#	internal/migrations/v13.go
2023-05-23 15:34:45 +08:00
LinkinStars 5db08a94a5 Merge branch 'feat/1.1.0/upgrade' into feat/1.1.0/report
# Conflicts:
#	internal/migrations/migrations.go
2023-05-23 15:33:55 +08:00
LinkinStars d262799865 chore(migrations): update migrations 2023-05-23 15:32:18 +08:00
aichy126 144caea4f9 update invite user 2023-05-23 14:54:59 +08:00
LinkinStars ba5aadf31b feat(rank): add permission and privilege reputation 2023-05-23 12:16:17 +08:00
aichy126 80b6b786c5 update inviteUser 2023-05-23 12:15:52 +08:00
aichy126 bbf7849fb7 update invite 2023-05-22 18:42:28 +08:00
dashuai 33be29ec74 Merge pull request #366 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-22 17:01:06 +08:00
shuai 2cea40c809 fix: change admin pages styles 2023-05-22 16:59:32 +08:00
shuai b02fda76ea fix: user settings style adjustment 2023-05-22 16:29:23 +08:00
dashuai c602752dcc Merge pull request #365 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-22 16:03:18 +08:00
shuai 58936ca4f5 fix: resolve conflict 2023-05-22 15:31:44 +08:00
LinkinStars cd1252f0a0 Merge branch 'feat/1.1.0/report' into test 2023-05-22 15:28:07 +08:00
LinkinStars 6efaf0857e feat(rank): cancel rank rollback when remove question and answer. 2023-05-22 15:26:20 +08:00
shuai 6f63a0a0cd feat: add side nav 2023-05-22 15:24:11 +08:00
LinkinStars 5df8e5cf1c Merge branch 'feat/1.1.0/report' into test 2023-05-22 15:10:45 +08:00
LinkinStars 7d23b17cdb fix(password): password can't contains space. 2023-05-22 15:09:42 +08:00
aichy126 bb9468cdba Merge branch 'test' of github.com:answerdev/answer into test 2023-05-19 16:04:16 +08:00
aichy126 b87b7f5880 Merge branch 'feat/1.1.0/sql' into test 2023-05-19 16:04:11 +08:00
aichy126 5e33c28146 update show Deleted question 2023-05-19 15:58:56 +08:00
aichy126 5b649e4392 updateUserAnswerCount 2023-05-19 15:25:58 +08:00
haitao.jarvis bb6e8629e3 Merge pull request #361 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-19 13:26:40 +08:00
haitaoo c63267713c fix(ThemeColor): Make all pages support theme-color 2023-05-19 12:50:23 +08:00
haitaoo d6b758993c feat(QuestionList): Remember how to sort the list of questions in local storage 2023-05-19 11:16:46 +08:00
aichy126 bb89db35c4 Merge branch 'feat/1.1.0/sql' into test 2023-05-18 12:05:52 +08:00
aichy126 1860f3ecef add template language 2023-05-18 12:05:30 +08:00
haitaoo e1e6627357 feat(PageTags): Set the language attribute for the document 2023-05-18 11:52:10 +08:00
aichy126 785b05f31e swagger 2023-05-18 10:31:34 +08:00
aichy126 9adb5063e5 Merge conflict 2023-05-18 10:30:58 +08:00
aichy126 37f0ffcffa Merge branch 'test' of github.com:answerdev/answer into test 2023-05-18 10:30:50 +08:00
aichy126 44e0177661 Merge conflict 2023-05-18 10:29:34 +08:00
aichy126 12a820e07f Merge branch 'feat/1.1.0/sql' into test 2023-05-18 10:29:16 +08:00
dashuai ad19aaa66d Merge pull request #360 from answerdev/feat/1.1.0/ui
fix: style adjustment
2023-05-18 10:23:26 +08:00
shuai cf10ebef86 fix: style adjustment 2023-05-18 10:22:53 +08:00
aichy126 f266da8cea update ActionRecordReq 2023-05-17 18:32:13 +08:00
dashuai 298444900d Merge pull request #359 from answerdev/feat/1.1.0/ui
fix: change password add verification code verification
2023-05-17 18:29:46 +08:00
shuai 547d035e42 fix: change password add verification code verification 2023-05-17 18:29:08 +08:00
LinkinStars d8fdb0c6a8 Merge branch 'feat/1.1.0/upgrade' into test 2023-05-17 18:14:22 +08:00
LinkinStars acad5b2811 feat(upgrade): support upgrade from specific version manually 2023-05-17 18:13:03 +08:00
aichy126 184a0324d3 update user rank 2023-05-17 17:48:02 +08:00
aichy126 3e17559623 update modify pass 2023-05-17 17:27:29 +08:00
aichy126 7603578f31 update activity 2023-05-17 17:06:21 +08:00
aichy126 26f4e2035f updateUserQuestionCount 2023-05-17 15:42:13 +08:00
aichy126 955a2a6fea update tag count 2023-05-17 15:09:13 +08:00
aichy126 83b4dfe4f9 update tag count 2023-05-17 12:11:59 +08:00
LinkinStars 5b7b49f87d Merge remote-tracking branch 'origin/beta.2/1.1.0' into feat/plugin/search 2023-05-17 11:44:19 +08:00
kumfo 332428fc37 feat(plugin): add search plugin 2023-05-17 11:23:52 +08:00
LinkinStars 37550de542 Merge branch 'feat/1.1.0/report' into test 2023-05-17 11:11:27 +08:00
LinkinStars 8e46fe3ecd feat(email): translator email template using receiver language. 2023-05-17 11:10:45 +08:00
LinkinStars 15439d2260 Merge branch 'feat/1.1.0/smtp-insecure' into feat/1.1.0/report
# Conflicts:
#	internal/service/export/email_service.go
2023-05-17 10:43:25 +08:00
LinkinStars 41743d8a3b Merge branch 'feat/1.1.0/smtp-insecure' into test
# Conflicts:
#	internal/service/export/email_service.go
2023-05-17 10:37:14 +08:00
LinkinStars ac96115b76 feat(email): add SKIP_SMTP_TLS_VERIFY ENV for allow insecure certification. #271 2023-05-17 10:35:11 +08:00
LinkinStars 7ae8d093fb Merge branch 'feat/1.1.0/report' into test 2023-05-16 19:09:49 +08:00
LinkinStars ecb0b3c06b chore(gomod): update go mod 2023-05-16 19:09:05 +08:00
dashuai 3042ef8c23 Merge pull request #357 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-16 17:59:50 +08:00
shuai fb8c1fbb5f fix: refresh auth code shen show authcode modal 2023-05-16 17:59:08 +08:00
LinkinStars 0e932df27a Merge branch 'feat/1.1.0/report' into test 2023-05-16 17:48:27 +08:00
LinkinStars 350df2da8b feat(email): translator all email template 2023-05-16 17:47:26 +08:00
aichy126 25ccd8f717 update question tags 2023-05-16 17:12:46 +08:00
aichy126 43bf56c896 update v13 2023-05-16 16:46:58 +08:00
aichy126 b3bc6eed4d Merge branch 'feat/1.1.0/sql' into test 2023-05-16 16:46:45 +08:00
aichy126 88d1faa73d update Question Count 2023-05-16 16:36:07 +08:00
aichy126 2da05f155c Merge branch 'beta.2/1.1.0' into feat/1.1.0/sql 2023-05-16 16:08:03 +08:00
aichy126 299b95b2f2 update user question count 2023-05-16 16:02:41 +08:00
LinkinStars e26d608aaf feat(reason): translator review reasons. 2023-05-16 15:22:46 +08:00
aichy126 8d421ae5d5 Merge branch 'test' of github.com:answerdev/answer into test 2023-05-16 14:39:53 +08:00
aichy126 41faf987d5 Merge branch 'feat/1.1.0/sql' into test 2023-05-16 14:39:31 +08:00
aichy126 9bba51b2e2 fix web icon 2023-05-16 14:39:18 +08:00
LinkinStars 952d846340 feat(reason): translator report reasons. 2023-05-16 11:48:35 +08:00
haitaoo 46138b294b fix(SEO): update path_ignore.yaml 2023-05-15 16:48:37 +08:00
dashuai 7f46888cb8 Merge pull request #356 from answerdev/feat/1.1.0/ui
fix: create tag error adjustment
2023-05-15 16:32:32 +08:00
shuai dd44101d34 fix: create tag error adjustment 2023-05-15 16:31:48 +08:00
dashuai 9557686587 Merge pull request #355 from answerdev/feat/1.1.0/ui
fix: support gravatar mirror sites
2023-05-15 15:59:31 +08:00
shuai 5b98eff4bc fix: support gravatar mirror sites 2023-05-15 15:52:08 +08:00
LinkinStars 2094fed836 Merge branch 'feat/1.1.0/avatar' into test 2023-05-15 11:22:24 +08:00
LinkinStars b564e975a8 Merge branch 'feat/1.1.0/upgrade' into feat/1.1.0/avatar 2023-05-15 11:20:58 +08:00
LinkinStars e947354a68 feat(upgrade): add gravatar base url 2023-05-15 11:20:50 +08:00
dashuai 3d4b3fe11d Merge pull request #354 from answerdev/feat/1.1.0/ui
Feat/1.1.0/UI
2023-05-15 11:15:56 +08:00
shuai 2076dcd0e5 fix: create tag error message prompt optimization 2023-05-15 10:13:34 +08:00
shuai 118dc29ae9 fix: follow btton add tootips 2023-05-11 16:28:29 +08:00
LinkinStars 2ca32147b4 feat(upgrade): support upgrade from specific version number manually 2023-05-11 11:55:39 +08:00
LinkinStars ea54aa75db feat(upgrade): replace i18n bundle using the upgrade command 2023-05-11 11:36:23 +08:00
haitaoo 0aa98fb2af fix(path_ignore.yaml): Update the path_ignore.yaml list
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-05-09 17:53:45 +08:00
haitaoo dd14fa7b52 fix(navigateToLogin): navigateToLogin only jumps to the internal login page 2023-05-09 17:41:11 +08:00
haitaoo adc75083b2 fix(Login): Dealing with external login links not jumping properly 2023-05-09 16:56:58 +08:00
LinkinStars 26ad0dd3c3 chore(Dockerfile): add ANSWER_MODULE ENV 2023-05-09 11:36:39 +08:00
LinkinStars fb3b6a862f chore(gomod): update go mod and swagger doc 2023-05-09 10:54:42 +08:00
LinkinStars b0a04bbf11 Merge remote-tracking branch 'github/feat/1.1.2/user-center' into beta.2/1.1.0
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
#	go.mod
#	i18n/en_US.yaml
#	internal/base/reason/reason.go
#	internal/migrations/init.go
#	internal/migrations/migrations.go
2023-05-09 10:49:00 +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
haitaoo d61e0dab9e Merge branch 'feat/1.1.2/ui' into beta.2/1.1.0 2023-05-09 10:31:41 +08:00
LinkinStars dacc27e373 Merge branch 'beta/1.1.0' into beta.2/1.1.0
# Conflicts:
#	internal/migrations/migrations.go
#	internal/schema/user_schema.go
#	ui/src/common/interface.ts
2023-05-09 10:15:58 +08:00
LinkinStars 3a6439a65d Merge branch 'feat/1.1.0/update-email' into test 2023-05-08 17:53:25 +08:00
LinkinStars 4f468b58d0 feat(password): logout other user when update password 2023-05-08 17:51:29 +08:00
shuai e66ba9db77 fix: reademe_cn.md file update content 2023-05-08 16:30:01 +08:00
aichy126 b06695f2e1 Merge branch 'feat/1.1.0/fix' into test 2023-05-08 16:02:22 +08:00
aichy126 58bec8ddd1 upgrade question post time 2023-05-08 16:01:57 +08:00
LinkinStars ba66ae9d4d Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-05-08 15:56:20 +08:00
LinkinStars efb78124a9 feat(notification): remove user info when meet down vote notification. 2023-05-08 15:55:35 +08:00
shuai 016fd7b412 fix: add someone for anonymous user display 2023-05-08 15:54:01 +08:00
dashuai 140550795f Merge pull request #343 from answerdev/feat/ui-1.1.0
fix: add someone for anonymous user display
2023-05-08 15:40:36 +08:00
shuai 54c07ba829 fix: add someone for anonymous user display 2023-05-08 15:39:44 +08:00
dashuai fcb84b7dfb Merge pull request #342 from answerdev/feat/ui-1.1.0
fix: add preventdefault for form submit
2023-05-06 18:48:47 +08:00
shuai 225d766f9c fix: add preventdefault for form submit 2023-05-06 18:48:14 +08:00
dashuai 7547d9f91e Merge pull request #341 from answerdev/feat/ui-1.1.0
fix: change email lable
2023-05-06 16:39:05 +08:00
shuai bc9c4ef1b9 fix: change email lable 2023-05-06 16:38:18 +08:00
dashuai 5f113285a1 Merge pull request #340 from answerdev/feat/ui-1.1.0
Feat/UI 1.1.0
2023-05-06 16:15:20 +08:00
LinkinStars 16f2de0ab4 Merge branch 'feat/1.1.0/update-email' into test 2023-05-06 15:53:49 +08:00
LinkinStars b50835f04e feat(email): verify password when update email 2023-05-06 15:53:10 +08:00
shuai 73598e8af6 fix: change emial need confirm password 2023-05-06 15:44:25 +08:00
shuai dd47eeced6 fix: change emial need confirm password 2023-05-06 15:41:00 +08:00
LinkinStars e45a5f151f Merge branch 'fix/1.1.0/personal-page' into test 2023-05-06 11:59:04 +08:00
LinkinStars fafdc5435a fix(personal): rename all wrong name about page size 2023-05-06 11:57:47 +08:00
LinkinStars 276e87af08 feat(notification): self-questioning does not generate notifications 2023-05-06 10:30:06 +08:00
haitaoo 2672f43525 fix(loggedUserInfoStore): Avoiding errors in update operations 2023-05-05 17:39:24 +08:00
LinkinStars 85e370d7ff Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-05-04 19:24:07 +08:00
LinkinStars c56d54b0fe feat(notification): add upvote and down vote notification 2023-05-04 19:22:25 +08:00
haitaoo 7d722cde4f fix(HotQuestions): Automatically hide the HotQuestions module when no data is available 2023-05-04 19:21:19 +08:00
haitaoo 9afb26fcba feat(SchemaForm): UIAction support for refreshing form configuration functions 2023-05-04 19:19:11 +08:00
LinkinStars 3952439d49 feat(agent): add site info url for agent 2023-05-04 15:40:05 +08:00
haitaoo c02709a337 Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-29 12:38:48 +08:00
haitaoo f46af67b2c fix(setupApp): Update setupApp logic to prevent invalid Promise.allSettled from being triggered 2023-04-29 12:37:30 +08:00
haitaoo c843dddf0b feat(SchemaForm): Optimising the action feedback of the Button component 2023-04-29 12:25:54 +08:00
LinkinStars ba475ddfbb feat(user): add externalID for login user 2023-04-28 20:08:22 +08:00
LinkinStars cba45d1eaa feat(user): check username after check user center config 2023-04-28 15:46:47 +08:00
shuai c7c2aad205 fix: meta theme-color support primary color 2023-04-28 11:09:43 +08:00
LinkinStars 9d304f0186 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-27 14:40:03 +08:00
shuai 9f2607cf35 fix: qrcode max width 240 2023-04-27 14:33:53 +08:00
LinkinStars e67dd59ab2 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-27 14:14:39 +08:00
shuai 40ac54eb46 fix: logo max height changed 2023-04-27 14:09:20 +08:00
shuai e3a49132b2 fix: supplement i18n for admin flags page 2023-04-27 11:32:06 +08:00
LinkinStars db50e33db8 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-27 11:06:47 +08:00
shuai 65e5af6482 style: logo remove roundes class 2023-04-27 11:04:50 +08:00
aichy126 eeb67dd21e update add question postUpdateTime 2023-04-26 18:25:24 +08:00
aichy126 b56aa16641 update makdown kbd 2023-04-26 18:11:26 +08:00
aichy126 78850be999 update markdown 2023-04-26 17:30:32 +08:00
LinkinStars 3eaa2b6293 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-26 15:11:19 +08:00
shuai b509739b35 fix: oauth bind emial styles adjustment 2023-04-26 15:02:54 +08:00
shuai 64f2fc70cd style: change uses pages style 2023-04-26 14:59:37 +08:00
LinkinStars b26da16ced Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-26 11:05:01 +08:00
LinkinStars ef47d3da01 feat(user-center): allow to create user in admin page 2023-04-26 11:01:45 +08:00
haitaoo 29fddeca35 refactor(admin/users): Adjustment of the way to determine the availability of administrator actions 2023-04-26 10:33:45 +08:00
LinkinStars 758a7cde95 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-25 16:54:51 +08:00
haitaoo 05898157c8 fix(Question): Make the focus style of the content editor follow the theme configuration 2023-04-25 16:37:43 +08:00
haitaoo bdd00e636b fix(auth-landing): Improve the stability of the process of obtaining login user information 2023-04-25 16:22:32 +08:00
aichy126 f28b743519 update gpgrade pin list 2023-04-25 15:49:54 +08:00
LinkinStars e377daaac9 fix(plugin): fix rank config about question show/hide 2023-04-25 15:34:35 +08:00
haitaoo f89687d021 fix(ImgViewer): Make ImgViewer clickable to close the image 2023-04-25 15:09:02 +08:00
LinkinStars df9b08abcf fix(plugin): fix update plugin status to default 2023-04-25 14:45:54 +08:00
LinkinStars 496df590e8 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-25 14:33:34 +08:00
LinkinStars 0f8c4c79b4 fix(plugin): fix rank config about question show/hide 2023-04-25 14:32:27 +08:00
aichy126 6b53609caf update upgrade pin list 2023-04-25 14:31:46 +08:00
haitaoo ddda7e6d5a Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-25 14:29:43 +08:00
haitaoo 9a07d5092a fix(Question): add ImgViewer for answer 2023-04-25 14:29:30 +08:00
shuai 6b2f191d49 fix: tags sort btn style adjustment 2023-04-25 14:18:44 +08:00
aichy126 201a776cd6 update upgrade pin list 2023-04-25 14:16:51 +08:00
LinkinStars f391d3a8e8 chore(log): remove auth log 2023-04-25 14:14:21 +08:00
LinkinStars 76dfc362c9 fix(plugin): fix rank config about question show/hide 2023-04-25 14:09:06 +08:00
haitaoo 031954520c fix(guard): Supplementary IGNORE_PATH_LIST 2023-04-25 13:42:34 +08:00
LinkinStars aaeca560e5 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-25 13:17:27 +08:00
haitaoo 18d25fddbe debug: auth-landing 2023-04-25 13:17:17 +08:00
haitaoo a09e2fbe8a debug: guard 2023-04-25 13:17:17 +08:00
haitaoo 5a4c22c393 fix(guard): Supplementary IGNORE_PATH_LIST 2023-04-25 13:16:37 +08:00
aichy126 f024f7aa86 Merge branch 'feat/1.1.2/user-center' of github.com:answerdev/answer into feat/1.1.2/user-center 2023-04-25 12:29:33 +08:00
aichy126 6f32e51319 update siteinfo 2023-04-25 12:29:29 +08:00
haitaoo d672e31815 debug: auth-landing 2023-04-25 12:24:08 +08:00
haitaoo 55aeec174c debug: guard 2023-04-25 12:17:12 +08:00
aichy126 779bd86e1d add static cache-control 2023-04-25 10:57:34 +08:00
LinkinStars 3f4ed4527a Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-25 10:55:30 +08:00
LinkinStars f04d5a03f8 fix(plugin): fix plugin auth router 2023-04-25 10:54:35 +08:00
haitaoo ddaf4b7863 fix(guard): Unifying the definition and use of IGNORE_PATH_LIST 2023-04-25 10:52:37 +08:00
aichy126 587f0aa1e3 add static cache-control 2023-04-24 18:23:39 +08:00
aichy126 c3c7eb962d update tag search 2023-04-24 17:54:47 +08:00
LinkinStars c37987683b chore(i18n): update translation 2023-04-24 15:20:33 +08:00
LinkinStars 2115a4a4ba Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-24 15:19:14 +08:00
haitaoo 8be0b2bffd Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-24 15:11:36 +08:00
haitaoo 096c949ae0 fix(Header): Suppress padding in nav-link 2023-04-24 15:11:19 +08:00
LinkinStars 16bb4d89c1 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-24 14:57:14 +08:00
shuai f844978662 fix: remove logo max width class 2023-04-24 14:42:18 +08:00
LinkinStars f6b98f65be Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts:
#	ui/src/common/interface.ts
#	ui/src/services/client/question.ts
2023-04-24 14:22:24 +08:00
shuai 4fa0949abc chore: bootstrap icons upgrade to 1.10.4 2023-04-24 14:20:52 +08:00
shuai 0292cbb92b feat: use susppened page add contact_email 2023-04-24 14:20:52 +08:00
haitaoo 3b5c3fc3ff fix(Header): Fixed the colour of the user centre icon in the Header 2023-04-24 14:20:52 +08:00
aichy126 e95e2f3a2f update search question 2023-04-24 14:17:52 +08:00
shuai 1d95b3b510 fix: hot questions add params in_days 2023-04-24 14:16:44 +08:00
shuai 6349f42234 chore: bootstrap icons upgrade to 1.10.4 2023-04-23 18:28:43 +08:00
aichy126 6695200b65 update goreleaser 2023-04-23 18:09:19 +08:00
haitaoo 971bf4da61 Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-23 17:04:47 +08:00
haitaoo 62b5008bc5 fix(Header): Fixed the colour of the user centre icon in the Header 2023-04-23 17:04:08 +08:00
aichy126 f0ddd30e5d update github action 2023-04-23 15:51:12 +08:00
shuai b24fc1ff22 feat: use susppened page add contact_email 2023-04-23 15:16:47 +08:00
aichy126 d7c6172cb4 update github action 2023-04-23 15:13:02 +08:00
aichy126 bed55985dd Merge branch 'feat/1.1.2/user-center' of github.com:answerdev/answer into feat/1.1.2/user-center 2023-04-23 15:10:52 +08:00
aichy126 499cfe9917 update search question 2023-04-23 15:10:44 +08:00
aichy126 b26905e0aa update github action
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-04-23 14:16:50 +08:00
aichy126 eb93f553d9 Merge branch 'main' of github.com:answerdev/answer 2023-04-23 11:55:20 +08:00
aichy126 dce45af181 update github action 2023-04-23 11:55:14 +08:00
aichy126 2e77289428 update github action 2023-04-23 11:54:47 +08:00
LinkinStars 54497ed932 Merge branch 'github-main' into beta/1.1.0 2023-04-23 11:06:52 +08:00
shuai 11309ad6c7 chore: update node version 2023-04-23 10:32:46 +08:00
aichy126 8a5e386dd7 update docker file 2023-04-21 18:36:05 +08:00
aichy126 aa60c02b5f Merge branch 'main' of github.com:answerdev/answer 2023-04-21 17:44:30 +08:00
aichy126 6dfa9b92b6 update github action 2023-04-21 17:44:25 +08:00
LinkinStars 7824797648 fix(rank): update answer accept rank config 2023-04-21 17:24:23 +08:00
LinkinStars f500da413c feat(init): add users init config 2023-04-21 17:23:31 +08:00
LinkinStars d5f95c5bde Merge branch 'github-main' into beta/1.1.0
# Conflicts:
#	internal/migrations/migrations.go
2023-04-21 16:54:04 +08:00
LinkinStars 51ac1e6b76 fix(rank): update answer accept rank config 2023-04-21 16:52:22 +08:00
LinkinStars 9f9258fccd chore(migration): rename upgrade version 2023-04-21 16:45:06 +08:00
LinkinStars e49b6fbb54 fix(rank): remove accept answer rank config 2023-04-21 16:43:07 +08:00
LinkinStars c5126b4fe0 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-21 15:17:15 +08:00
shuai 95a58e19a7 Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-21 14:22:32 +08:00
shuai 90cd9de7fe fix: add safe-area-inset-bottom for footer 2023-04-21 14:22:23 +08:00
haitaoo 9edfde5759 fix(user-center): Set the pageTitle for the user center page 2023-04-21 12:36:48 +08:00
haitaoo 2498ab139a fix(user-center/auth): Add route guards to allow access only to non-logged-in users 2023-04-21 11:45:36 +08:00
LinkinStars 083c5a8a4c Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-20 19:10:46 +08:00
LinkinStars af08b3e392 feat(usercenter): plugin user center add i18n 2023-04-20 19:10:24 +08:00
haitaoo 40cdca8adf feat(SchemaForm): All form components support the readOnly property 2023-04-20 18:56:37 +08:00
LinkinStars 3c96abfcc5 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-20 18:06:09 +08:00
haitaoo cec02e8000 fix(guard.js): Delaying the UserAgent request so that the Language is correctly obtained 2023-04-20 18:02:10 +08:00
LinkinStars 045cd0b1e8 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-20 17:52:25 +08:00
haitaoo 944e773392 fix(Login): Improve the prompt text for the Login process 2023-04-20 17:51:43 +08:00
haitaoo 2db93af38b Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-20 17:04:02 +08:00
haitaoo 86c4c685ee fix(SchemaForm): Extending the Button component 2023-04-20 17:03:52 +08:00
aichy126 0f5e9845f9 Merge branch 'dev' into beta/1.1.0 2023-04-20 16:56:21 +08:00
aichy126 a93668d455 update search 2023-04-20 16:18:22 +08:00
LinkinStars 1bbe005f66 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-20 16:13:52 +08:00
haitaoo 128d5c9f87 fix(WeComAuth): Optimise QR code margin styles 2023-04-20 16:11:46 +08:00
haitaoo d3f02a35d9 fix(ImgViewer): Migrate ImgViewer from hooks to component 2023-04-20 16:00:27 +08:00
shuai 2253a87aea fix: error content support custome title 2023-04-20 15:26:43 +08:00
shuai f859aa2fba fix: meta attributes add viewport-fit cover 2023-04-20 15:08:55 +08:00
LinkinStars c8cf70c112 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-20 11:19:43 +08:00
haitaoo 61cb84ac06 fix(Admin/users): Administrator password reset access to user_password_agent_enabled control 2023-04-20 11:18:20 +08:00
LinkinStars 8adc975699 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts:
#	internal/migrations/init.go
2023-04-20 10:36:54 +08:00
LinkinStars cfafd3b3fb Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-20 10:35:15 +08:00
haitaoo 67cbe2bd83 Merge branch 'dev' into feat/1.1.2/ui 2023-04-20 10:34:16 +08:00
LinkinStars b215a5b738 Merge remote-tracking branch 'github/main' into beta/1.1.0 2023-04-20 10:18:48 +08:00
LinkinStars d02ec9712a fix(rank): fix the wrong reputation authority configuration 2023-04-20 10:15:22 +08:00
Fen 91597a701a New Crowdin updates (#330)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (Chinese Simplified)
2023-04-20 10:10:38 +08:00
LinkinStars 8c45d75968 fix(rank): fix the wrong reputation authority configuration 2023-04-20 10:04:43 +08:00
haitaoo 726fab77ac fix: Adding logical control to the signup button on the home page 2023-04-19 18:46:26 +08:00
LinkinStars 703e76ba7b Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-19 18:26:15 +08:00
haitaoo 24afb5e21b feat: Add enabled_original_user_system to the login address logic 2023-04-19 18:25:34 +08:00
LinkinStars 8fb303d024 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts:
#	Makefile
#	i18n/en_US.yaml
#	internal/migrations/migrations.go
2023-04-19 17:50:35 +08:00
haitaoo a045060b76 Merge branch 'feat/ui-1.1.0' into feat/1.1.2/ui 2023-04-19 17:47:39 +08:00
haitaoo f297330249 Merge branch 'dev' into feat/ui-1.1.0 2023-04-19 17:27:33 +08:00
LinkinStars fc9de356d6 Merge branch 'github-main' into beta/1.1.0
# Conflicts:
#	Makefile
#	internal/migrations/migrations.go
#	ui/src/common/interface.ts
2023-04-19 16:57:48 +08:00
LinkinStars 3158b8b093 docs(makefile): upgrade 1.0.9 2023-04-19 16:48:49 +08:00
LinkinStars 1d3f61e8a6 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-19 16:33:07 +08:00
LinkinStars b5ef7912d1 feat(usercenter): add user login API agent 2023-04-19 16:32:43 +08:00
haitaoo 901f2cb232 feat: Adding an auth page to the user center 2023-04-19 16:31:28 +08:00
haitaoo fd2c5f9946 refactor(SchemaForm): Making form components more independent 2023-04-19 11:13:34 +08:00
haitaoo 1799f9e7db fix(Personal): Replace Button link with Link 2023-04-18 19:35:15 +08:00
LinkinStars 9e0999ba55 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-18 18:22:09 +08:00
LinkinStars 86685202ac feat(usercenter): add user center email auth check 2023-04-18 18:21:50 +08:00
dashuai c229ddb810 Merge pull request #326 from answerdev/feat/1.0.9/ui
fix: typescript use v4.8.3
2023-04-18 18:18:35 +08:00
shuai 2ce1c88528 fix: typescript use v4.8.3 2023-04-18 18:17:59 +08:00
haitaoo 54b7de30a0 fix(RouteGuard): Handle the issue of RouteGuard not rendering children due to unexpected parent guard results not being handled correctly 2023-04-18 18:10:55 +08:00
dashuai a0db999cde Merge pull request #325 from answerdev/feat/1.0.9/ui
fix: remove unused code
2023-04-18 18:04:10 +08:00
shuai 6eca3848d8 fix: remove unused code 2023-04-18 18:03:36 +08:00
dashuai 231332ed39 Merge pull request #324 from answerdev/feat/1.0.9/ui
fix: remove test split main.js
2023-04-18 17:50:48 +08:00
shuai 56ece35517 fix: remove test split main.js 2023-04-18 17:49:31 +08:00
dashuai 09e4b631c4 Merge pull request #323 from answerdev/feat/1.0.9/ui
chore: split main.js
2023-04-18 17:38:48 +08:00
shuai 92cc1e6a5d chore: split main.js 2023-04-18 17:38:08 +08:00
aichy126 f082939b63 Merge branch 'feat/1.0.9/top' into test 2023-04-18 17:12:05 +08:00
aichy126 bcc732d89c update search 2023-04-18 17:11:38 +08:00
aichy126 829aa371f4 Merge branch 'feat/1.0.9/top' into test 2023-04-18 16:35:26 +08:00
aichy126 c95af94cd0 update i18n 2023-04-18 16:35:03 +08:00
LinkinStars f50ccea7e5 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-18 15:50:03 +08:00
haitaoo 095bc79758 feat: SchemaForm supports Button components 2023-04-18 15:48:43 +08:00
haitaoo 1402d9e5dc Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-18 11:53:28 +08:00
haitaoo 6350cb861e feat: The account form supports the accountAgent logic 2023-04-18 11:53:13 +08:00
haitaoo 7445dbc336 feat: Profile forms support read-only logic 2023-04-18 11:42:30 +08:00
haitaoo a38c6a833f feat: Show privilege form dynamic fields 2023-04-18 10:56:55 +08:00
LinkinStars 673ebfbb78 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-18 10:49:44 +08:00
shuai 3def6cabd8 fix: add getUserAgentType function 2023-04-18 10:48:23 +08:00
haitaoo 357d474503 Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-17 18:37:39 +08:00
haitaoo 42faac87ee feat: user-center/auth-failed 2023-04-17 18:37:27 +08:00
shuai fa0efd82a8 Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-17 18:32:52 +08:00
shuai cdf5ffa0a8 feat: add custome sidebar fucntion 2023-04-17 18:32:43 +08:00
aichy126 cd287dbdfc Merge branch 'feat/1.0.9/top' into test 2023-04-17 18:05:23 +08:00
aichy126 78c3ef84c0 update user answer list 2023-04-17 18:04:57 +08:00
LinkinStars 4c4381e140 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-17 18:04:49 +08:00
LinkinStars 8800b376d5 feat(privilege): add privileges API 2023-04-17 18:04:28 +08:00
aichy126 910484013c update custom_sidebar 2023-04-17 17:59:53 +08:00
haitaoo 7bfb5f0126 Merge branch 'feat/1.1.2/ui' of github.com:answerdev/answer into feat/1.1.2/ui 2023-04-17 17:55:09 +08:00
haitaoo fbb29a0b74 feat: admin/privilege 2023-04-17 17:54:51 +08:00
haitaoo 9da53361a7 feat: admin/settings-users 2023-04-17 16:42:53 +08:00
haitaoo 10afa0a47b refactor: AccordionNav, SchemaForm 2023-04-17 15:08:51 +08:00
shuai 285a44be1b feat: add login fail page 2023-04-17 14:24:00 +08:00
LinkinStars 2bd0ef8a24 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-17 11:08:54 +08:00
haitaoo c62436a703 feat(admin/users): Determine if user status changes are allowed via adminUcAgent 2023-04-16 15:56:20 +08:00
haitaoo 36e183dd79 fix(RouteGuard): Avoid performing route guarding at the wrong time 2023-04-16 15:19:09 +08:00
LinkinStars 336f54ff49 fix(siteinfo): rename GetSiteInfoByType 2023-04-16 12:42:45 +08:00
LinkinStars a5a3664f90 Merge branch 'feat/1.1.2/permission' into feat/1.1.2/user-center
# Conflicts:
#	internal/base/constant/constant.go
2023-04-16 12:40:16 +08:00
LinkinStars a2ba1144ee feat(plugin): add user center config user role API 2023-04-16 12:39:02 +08:00
haitaoo f71ece495c feat(admin/login): Add Email Registration and Allowed Email Domains control options 2023-04-16 11:59:17 +08:00
LinkinStars 0f7121d6fe fix(merge): update go mod 2023-04-14 18:24:09 +08:00
LinkinStars e280358b7c Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts:
#	Makefile
#	cmd/answer/main.go
#	go.mod
#	go.sum
#	i18n/en_US.yaml
#	internal/base/reason/reason.go
#	internal/service/uploader/upload.go
2023-04-14 18:17:28 +08:00
LinkinStars ec4c7ab6a7 feat(site-users): add site info config about users 2023-04-14 18:12:04 +08:00
haitaoo f02f62112a feat: Access to WeCome user login 2023-04-14 17:42:07 +08:00
LinkinStars a3cc0ac38a feat(usercenter): add user center plugin and agent 2023-04-14 17:33:22 +08:00
dashuai f4067a2b4f Merge pull request #322 from answerdev/feat/1.0.9/ui
feat: add top hide function
2023-04-13 18:45:23 +08:00
shuai 17b7e9c7b8 feat: add top hide function 2023-04-13 18:43:48 +08:00
aichy126 0c533e554d update question 2023-04-13 18:39:06 +08:00
aichy126 0124cfc435 update question 2023-04-13 18:27:43 +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 766bf793c4 update question pin show 2023-04-13 16:59:11 +08:00
aichy126 a038664fb4 update question pin and show 2023-04-13 15:46:36 +08:00
aichy126 13931e8da1 action i18n 2023-04-13 14:49:38 +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
haitaoo 2e8e6be9af fix(guard): Ignore user information interface errors triggered in guard 2023-04-12 15:18:11 +08:00
haitaoo 8584a0e77b Merge branch 'feat/ui-1.1.0' into sf-site-migration/ui 2023-04-12 12:26:38 +08:00
haitaoo f37218bc70 Merge branch 'dev' into feat/ui-1.1.0 2023-04-12 12:25:41 +08:00
haitaoo cfd017de26 Merge branch 'feat/ui-1.1.0' into sf-site-migration/ui 2023-04-12 12:22:46 +08:00
haitaoo b68212e840 fix(Comment): Make comment boxes the same width 2023-04-12 12:08:48 +08:00
LinkinStars d641bdf11e Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-04-12 10:54:16 +08:00
LinkinStars 4cfa0cd8fe feat(permission): add privileges API 2023-04-12 10:35:40 +08:00
aichy126 6531cf9e6c update goproxy 2023-04-11 17:31:28 +08:00
aichy126 6ac96948c3 Merge branch 'fix/ui-revision' into beta/1.1.0 2023-04-11 16:28:42 +08:00
aichy126 83c2c24683 update cmd Version 2023-04-11 16:17:35 +08:00
shuai 5361f4e127 fix: generator add reviosn
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-04-11 15:54:17 +08:00
aichy126 f50414adcf update Revision 2023-04-11 14:49:11 +08:00
aichy126 a9381056e9 swagger 2023-04-11 14:21:34 +08:00
haitaoo 9868b2d9c0 Merge branch 'feat/ui-1.1.0' into beta/1.1.0 2023-04-11 11:59:59 +08:00
haitaoo 0c3efb66ab Merge branch 'feat/1.0.8/ui' into feat/ui-1.1.0 2023-04-11 11:56:10 +08:00
LinkinStars 7527b62d28 chore(gomod): update go mod 2023-04-11 11:31:47 +08:00
LinkinStars 759f1491c9 Merge branch 'github-main' into beta/1.1.0
# Conflicts:
#	Makefile
#	cmd/answer/main.go
#	go.mod
#	go.sum
#	internal/base/reason/reason.go
#	internal/service/uploader/upload.go
#	ui/src/utils/common.ts
2023-04-11 11:28:57 +08:00
Fen 2a1367cb66 New Crowdin updates (#318)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Welsh)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Chinese Simplified)
2023-04-11 11:17:30 +08:00
LinkinStars e037d0f005 Merge branch 'release/1.0.8' into github-main
# Conflicts:
#	i18n/zh_CN.yaml
2023-04-11 10:46:10 +08:00
Fen e919f23272 New Crowdin updates (#317)
* New translations en_US.yaml (French)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Welsh)
2023-04-11 10:37:34 +08:00
LinkinStars b1de76e227 docs(makefile): upgrade 1.0.8 2023-04-11 10:30:40 +08:00
LinkinStars 1c235dbd9b feat(permission): add privileges 2023-04-11 10:27:18 +08:00
haitaoo 09e4ee10cb Merge branch 'feat/ui-1.1.0' into sf-site-migration/ui 2023-04-10 17:22:48 +08:00
PurseChicken ae3be43fef Chart refactoring (#311) 2023-04-10 17:19:56 +08:00
dashuai ead0a3d076 Merge pull request #316 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-04-10 16:25:43 +08:00
shuai 81d58431d5 fix: link nofollow 2023-04-10 16:25:12 +08:00
LinkinStars 6211b468b3 Merge remote-tracking branch 'github/feat/ui-1.1.0' into beta/1.1.0 2023-04-10 16:18:06 +08:00
haitaoo b4870d066c fix(admin/smtp): Make the smtp_authentication field value more accurate 2023-04-10 15:59:21 +08:00
aichy126 9945c9f96f Merge branch 'feat/1.0.8/tag' into test 2023-04-10 15:21:19 +08:00
aichy126 5fc73a3277 update seo template 2023-04-10 15:20:44 +08:00
LinkinStars c7c0c67d5c Merge branch 'feat/1.0.8/admin-auth' into test 2023-04-10 15:20:35 +08:00
LinkinStars e0fe3f29ed feat(permission): add i18n for permission action 2023-04-10 15:20:01 +08:00
haitaoo 9a6f770062 fix(SchemaForm): Make setDefaultValueAsDomBehaviour compatible with empty string values 2023-04-10 11:43:42 +08:00
shuai e8034334fb fix: params value 2023-04-10 11:19:43 +08:00
dashuai 9c70c72b88 Merge pull request #314 from answerdev/feat/1.0.8/ui
fix: questionLanding function params is null render error
2023-04-10 11:18:36 +08:00
shuai db53a5b5a2 fix: questionLanding function params is null render error 2023-04-10 11:17:43 +08:00
aichy126 05d1ae6b37 Merge branch 'feat/1.0.8/tag' into test 2023-04-10 11:17:09 +08:00
aichy126 234d240868 update short id 2023-04-10 11:16:48 +08:00
aichy126 3a07491586 Merge branch 'feat/1.0.8/tag' into test 2023-04-10 11:07:38 +08:00
aichy126 023f12babd update shortID 2023-04-10 11:06:29 +08:00
dashuai 90685ba16d Merge pull request #312 from answerdev/feat/1.0.8/ui
fix: link add nofollow
2023-04-10 10:14:47 +08:00
shuai 68aa0f66bb fix: link add nofollow 2023-04-10 10:13:55 +08:00
aichy126 a5a57a343b update markdown 2023-04-07 18:26:46 +08:00
dashuai 0f1c2de693 Merge pull request #306 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-04-07 16:04:00 +08:00
shuai 17bb4f2850 fix: tags index page sort by popular 2023-04-07 16:03:27 +08:00
LinkinStars 7721946922 Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-04-06 18:19:29 +08:00
shuai ef89efdf7d fix: video width use css control 2023-04-06 18:05:00 +08:00
haitaoo fd31a26b7b fix(Questions): Optimising the width of videos in question content 2023-04-06 18:04:12 +08:00
shuai aac00fe648 fix: vidoe width set 100% 2023-04-06 17:43:41 +08:00
dashuai 856ce08545 Merge pull request #305 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-04-06 17:12:53 +08:00
shuai 4c7c6e9aef fix: unclear semantics of the text #304 2023-04-06 17:11:50 +08:00
aichy126 7089440379 Merge branch 'feat/1.0.8/tag' into test 2023-04-04 18:39:46 +08:00
aichy126 60fcd74805 update markdown 2023-04-04 18:39:21 +08:00
shuai 632da9911e fix: search list order btns 2023-04-04 18:10:02 +08:00
dashuai 90eb6c92a3 Merge pull request #302 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-04-04 17:50:32 +08:00
shuai 9c7e886439 fix: list order by active 2023-04-04 17:47:57 +08:00
shuai ec24d9e9f8 fix: write question width answert use a new api #299 2023-04-04 17:30:39 +08:00
LinkinStars 388d1691b0 Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-04-04 17:30:13 +08:00
LinkinStars 9fdd62e5d9 Merge branch 'feat/1.0.8/admin-auth' into test 2023-04-04 17:29:41 +08:00
aichy126 6fd7ae14b7 Merge branch 'feat/1.0.8/tag' into test 2023-04-04 17:21:34 +08:00
aichy126 fd703ea50f fix 2023-04-04 17:20:41 +08:00
haitaoo 056fbd8990 fix(login): Does not auto proxy the ucAgent.login_redirect_url jump on the users/login page 2023-04-04 17:20:29 +08:00
aichy126 d69afe50ec Merge branch 'feat/1.0.8/tag' into test 2023-04-04 16:54:49 +08:00
aichy126 2536703f32 update question 2023-04-04 16:54:28 +08:00
LinkinStars 71537ec62c Merge remote-tracking branch 'github/beta/1.1.0' into feat/1.1.1/user-center 2023-04-04 15:15:48 +08:00
LinkinStars e914db6a9b Merge branch 'feature-plugin' into feat/1.1.1/user-center 2023-04-04 15:13:58 +08:00
LinkinStars 150432835b feat(user): return user info when changed email 2023-04-04 15:13:32 +08:00
dashuai 35e6ba11a9 Merge pull request #301 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-04-04 15:04:25 +08:00
shuai ce3c83102d chore: upgrade ts v4.9.5 2023-04-04 14:57:56 +08:00
shuai adbb57816a fix: page refresh problem #297 2023-04-04 14:32:53 +08:00
LinkinStars e3ff77a8ef docs(i18n): update zh_CN.yaml 2023-04-04 11:03:30 +08:00
LinkinStars ad13b97eaf feat(rank): removed reputation-related leaderboard and notification content 2023-04-03 18:13:35 +08:00
LinkinStars b046c8005b Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-04-03 17:13:25 +08:00
haitaoo 391ec35fac fix(ucAgent): Correct handling of login/signUp clicks 2023-04-03 17:12:31 +08:00
aichy126 219bc317d0 update question 2023-04-03 14:24:46 +08:00
aichy126 9b7fdf77f1 update goreleaser 2023-04-03 12:20:00 +08:00
LinkinStars 2a121c573b feat(router): add middleware for user router 2023-04-03 11:17:38 +08:00
LinkinStars eb0e54c724 fix(activity): show the trigger user info when display timeline 2023-04-03 11:14:28 +08:00
LinkinStars 6daaa69a93 Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-03-31 11:38:32 +08:00
haitaoo a7d39a1c81 fix(QuestionDetail): Compatible with user_info being null 2023-03-31 11:24:40 +08:00
LinkinStars 31af841777 Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-03-30 12:19:36 +08:00
haitaoo 24d9b8a641 fix(admin/users): User state management support ucAgent logic 2023-03-30 11:55:45 +08:00
haitaoo fd13b3580d fix(UserProfile): Optimising the typography of ucBranding 2023-03-30 11:28:35 +08:00
LinkinStars e92e7070f0 Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-03-30 11:12:31 +08:00
haitaoo ad733dc505 fix(UserProfile): Optimising the presentation logic of ucBranding 2023-03-30 11:09:47 +08:00
haitaoo 8d4bbfc90b fix(LoggedUserInfo): Make the logic for getting information about the currently logged in user more robust 2023-03-30 10:53:33 +08:00
haitaoo be22b49139 Merge branch 'feat/ui-1.1.0' into sf-site-migration/ui 2023-03-30 10:15:03 +08:00
LinkinStars 5d1bfeac6d Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-29 18:09:21 +08:00
haitaoo b7977b1367 fix(admin): The page under the root path can get the correct width 2023-03-29 17:47:49 +08:00
shuai 7b55f28993 fix: notification status api ignore 50x error 2023-03-29 17:19:43 +08:00
LinkinStars e5df07ad7c feat(plugin): add user center plugin 2023-03-29 17:12:45 +08:00
LinkinStars aa13657e8d Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-03-29 17:07:54 +08:00
haitaoo 481901efd7 fix(Editor): Enhancing the robust of setting editor values 2023-03-29 17:03:28 +08:00
haitaoo 9fc8511bf5 feat: Make admin/users support UserCenterAgent 2023-03-29 16:51:31 +08:00
haitaoo 934b82de30 feat: Make user detail support UserCenterAgent 2023-03-29 16:10:01 +08:00
dashuai 8b4e0c928e Merge pull request #295 from answerdev/feat/1.0.8/ui
fix: use htmlRender control rich-text style and delet dompurify html-…
2023-03-29 15:40:58 +08:00
shuai f41a2ac761 fix: use htmlRender control rich-text style and delet dompurify html-react-parser 2023-03-29 15:40:27 +08:00
haitaoo b47fb3da1c feat: Make user settings support UserCenterAgent 2023-03-29 15:24:18 +08:00
haitaoo 4b1f985be7 fix(localize): Correct merging of local and remote language lists 2023-03-28 17:56:04 +08:00
haitaoo 528cba58e1 feat(Header): Show userCenterAgent info 2023-03-28 17:29:16 +08:00
dashuai 3bf54cf0f0 Merge pull request #294 from answerdev/feat/1.0.8/ui
fix: fixed the BR tag in the editor block formula HTML caused renderi…
2023-03-28 16:32:56 +08:00
shuai 9d4a06c1bf fix: fixed the BR tag in the editor block formula HTML caused rendering not right 2023-03-28 16:30:00 +08:00
haitaoo e8e5bdf181 feat: Implementing userCenter related functions 2023-03-28 16:19:53 +08:00
dashuai 601e470437 Merge pull request #293 from answerdev/feat/1.0.8/ui
fix: html render
2023-03-28 15:06:22 +08:00
shuai f9cf8a2b13 fix: html render 2023-03-28 15:05:03 +08:00
dashuai 2ee1ace4d9 Merge pull request #292 from answerdev/feat/1.0.8/ui
fix: guard add 403 code error response
2023-03-28 14:25:11 +08:00
shuai 60a3fdb06a fix: guard add 403 code error response 2023-03-28 14:18:29 +08:00
dashuai 83e2337625 Merge pull request #290 from answerdev/feat/1.0.8/ui
fix: remove test test
2023-03-28 10:48:16 +08:00
shuai d9b72c935f fix: remove test test 2023-03-28 10:47:11 +08:00
dashuai 26592a2a4e Merge pull request #289 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-03-28 09:44:55 +08:00
shuai 595ace8012 fix: change ie not support promot 2023-03-27 18:22:21 +08:00
shuai 07753804fc fix: add IE not support promt 2023-03-27 18:18:57 +08:00
aichy126 4de996ed07 update script
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-03-27 17:28:51 +08:00
aichy126 2abc096176 update script 2023-03-27 17:28:26 +08:00
aichy126 ad20a8ff1f go mod add replace 2023-03-27 17:04:47 +08:00
shuai 2492ebb691 fix: remove ts ignore 2023-03-27 16:48:10 +08:00
LinkinStars c976b79bfd feat(build): merge build script from feature plugin 2023-03-27 14:43:17 +08:00
Fen 30f180740f New Crowdin updates (#287)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Slovak)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* lang: add sk_SK translation (#267)

* lang: sk_SK init fom en_US

* lang: translate backend to sk_SK

* translated to the dates, without editor

* add translations

* add translations

* add slovak to i18n.yaml

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Slovak)

---------

Co-authored-by: Jozef Rebjak <jozefrebjak@icloud.com>
2023-03-27 14:19:37 +08:00
LinkinStars 072bf002c2 chore(plugin): remove sample 2023-03-27 13:37:32 +08:00
LinkinStars 689297e14d docs(makefile): upgrade 1.1.0 2023-03-27 13:34:18 +08:00
Jozef Rebjak 0fa75771d2 lang: add sk_SK translation (#267)
* lang: sk_SK init fom en_US

* lang: translate backend to sk_SK

* translated to the dates, without editor

* add translations

* add translations

* add slovak to i18n.yaml
2023-03-27 11:25:44 +08:00
dashuai 3cb9b2aa51 Merge pull request #286 from answerdev/feat/1.0.8/ui
fix: tag info page delete tag will redirect to tags page
2023-03-27 11:24:32 +08:00
shuai 871792a0c7 fix: tag info page delete tag will redirect to tags page 2023-03-27 11:23:55 +08:00
LinkinStars 7495f068df Fix(role): Fix an issue that admin could not be set correctly under sqlite (#284)
* fix(role): use session in transaction

* refactor(role): rename remove user tokens function
2023-03-26 17:26:16 +08:00
haitao.jarvis 6d8fa10851 Merge pull request #283 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-03-24 18:42:22 +08:00
haitaoo b2f3195de5 Merge branch 'feat/1.0.8/ui' of github.com:answerdev/answer into feat/1.0.8/ui 2023-03-24 18:41:20 +08:00
haitaoo d80d34419d fix: Unified handling of HttpErrorContent and RouteErrorBoundary 2023-03-24 18:38:12 +08:00
shuai ad142a38e5 fix: rename page file 2023-03-24 17:25:39 +08:00
haitaoo 2e61aada50 fix(RouteGuard&EditAnswer): Add route-level HttpError handling 2023-03-24 17:18:32 +08:00
aichy126 590fffc017 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 16:39:32 +08:00
aichy126 f93beb51ca update tag 2023-03-24 16:39:08 +08:00
aichy126 edb45261d6 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 15:51:57 +08:00
aichy126 45f2f06698 update vote 2023-03-24 15:51:32 +08:00
aichy126 37566d3178 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 15:14:37 +08:00
aichy126 d3d049a9b3 update question 2023-03-24 15:12:23 +08:00
aichy126 74cddd0043 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 14:42:21 +08:00
aichy126 dc06848556 update tag 2023-03-24 14:41:59 +08:00
aichy126 68cf4d79e5 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 12:33:01 +08:00
aichy126 e1195a183a update question 2023-03-24 12:32:39 +08:00
aichy126 e40ac3d115 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 12:21:30 +08:00
aichy126 82307f9c6b update revision 2023-03-24 12:21:09 +08:00
aichy126 a60097c678 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 11:58:21 +08:00
aichy126 629a917f4d update question 2023-03-24 11:58:05 +08:00
aichy126 203d3822f8 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 11:53:54 +08:00
aichy126 9d3b391820 update question 2023-03-24 11:53:18 +08:00
aichy126 89738b8898 add Revision 2023-03-24 11:49:23 +08:00
dashuai 9b70083dbc Merge pull request #281 from answerdev/feat/1.0.8/ui
fix: admin guard render 403
2023-03-24 11:00:11 +08:00
shuai af7307d704 fix: admin guard render 403 2023-03-24 10:58:37 +08:00
dashuai a42902756a Merge pull request #279 from answerdev/feat/1.0.8/ui
fix: add http 403 title
2023-03-24 09:59:40 +08:00
shuai 5969083f1c fix: add http 403 title 2023-03-24 09:52:07 +08:00
dashuai 0b63dc89a2 Merge pull request #278 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-03-23 18:34:02 +08:00
shuai 045daa1a2b Merge branch 'feat/1.0.8/ui' of github.com:answerdev/answer into feat/1.0.8/ui 2023-03-23 18:33:00 +08:00
shuai 171312b81a fix: votes button usee title to show tips 2023-03-23 18:32:51 +08:00
haitao.jarvis 374b3f6b4d Merge pull request #277 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-03-23 17:11:10 +08:00
haitaoo 548d7110ba Merge branch 'feat/1.0.8/ui' of github.com:answerdev/answer into feat/1.0.8/ui 2023-03-23 17:06:38 +08:00
haitaoo e26bfd68fb fix(TagInfo): Tag names automatically fall back to slug_name 2023-03-23 17:01:52 +08:00
haitao.jarvis c3255ce19a Merge pull request #276 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-03-23 16:19:10 +08:00
shuai 551bc667e5 Merge branch 'feat/1.0.8/ui' of github.com:answerdev/answer into feat/1.0.8/ui 2023-03-23 16:15:52 +08:00
shuai fc53e2e91a fix: add http code 403 error content for admin 2023-03-23 16:15:44 +08:00
haitaoo 6a89c9be5f fix(EditAnswer): Resets the scroll position of the EditAnswer page to the top on each visit 2023-03-23 16:13:03 +08:00
LinkinStars 261e09d19b Merge branch 'feat/1.0.8/admin-auth' into test 2023-03-23 12:15:39 +08:00
LinkinStars 4ee1614e95 feat(admin): return forbidden when normal user enter admin page. 2023-03-23 12:15:12 +08:00
aichy126 3415157236 Merge branch 'feat/1.0.8/tag' into test 2023-03-23 11:52:55 +08:00
aichy126 ac3f2f047e remove exif 2023-03-23 11:52:28 +08:00
dashuai 9ab3a6acec Merge pull request #274 from answerdev/feat/1.0.8/ui
fix: new user write promt style change
2023-03-23 10:52:57 +08:00
shuai 51c7dfae3b fix: new user write promt style change 2023-03-23 10:20:54 +08:00
haitao.jarvis 16e0c9d12a Merge pull request #272 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-03-22 18:07:12 +08:00
haitaoo ca1fa1c2b5 Merge branch 'feat/1.0.8/ui' of github.com:answerdev/answer into feat/1.0.8/ui 2023-03-22 18:00:46 +08:00
haitaoo 612b0d6348 fix(EditAnswer): Update content correctly when editing answers 2023-03-22 18:00:30 +08:00
shuai 838c8f58b8 fix: modal confrim render content in the p tag 2023-03-22 17:16:31 +08:00
shuai b0e4b3afe9 fix: admin user or moderator or author can accepted answer 2023-03-22 16:47:29 +08:00
haitaoo 45cd782195 fix(Admin/Seo): Optimize the display order of the Permalink options 2023-03-22 15:33:26 +08:00
aichy126 676893fc34 Merge branch 'feat/1.0.8/tag' into test 2023-03-21 16:23:14 +08:00
aichy126 9e8debc351 update short id 2023-03-21 16:22:58 +08:00
shuai 9c3c55fb5c feat: vote buttons add tips 2023-03-21 15:46:46 +08:00
shuai 48c28bdbdc feat: users with reputation less than 100 will be prompted to write answers 2023-03-21 14:57:38 +08:00
LinkinStars 28e9916468 refactor(merge): merge 1.0.7 2023-03-21 11:53:15 +08:00
LinkinStars 9bd9b475f4 Merge branch 'feat/ui-1.1.0' into feature-plugin
# Conflicts:
#	internal/base/reason/reason.go
#	internal/schema/user_schema.go
#	internal/service/user_service.go
2023-03-21 11:45:50 +08:00
shuai f4212e2cd0 fix: resolve conflict 2023-03-21 11:37:22 +08:00
LinkinStars 6929687649 Merge branch 'dev' into test 2023-03-21 11:07:42 +08:00
aichy126 0c817fd448 fix markdown 2023-03-20 18:36:46 +08:00
haitaoo b2efae39d8 fix(Utils): Remove incorrect handling of the diffText method 2023-03-20 18:36:09 +08:00
aichy126 a3c7f9c7d9 Merge branch 'feat/1.0.7/short-id' into test 2023-03-20 18:17:59 +08:00
aichy126 11f63de2cd fix markdown 2023-03-20 18:17:26 +08:00
LinkinStars 770c17c936 docs(makefile): upgrade 1.0.7
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-03-20 11:44:54 +08:00
LinkinStars 1dba13a278 Merge remote-tracking branch 'github/test' into release/1.0.7 2023-03-20 11:41:38 +08:00
LinkinStars 7fbee4dfea Merge branch 'github-main' into release/1.0.7 2023-03-20 11:41:26 +08:00
Fen 5e4633e3ac New translations en_US.yaml (Chinese Traditional) (#269) 2023-03-20 11:39:49 +08:00
Fen 3dec2d1638 New Crowdin updates (#268)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)
2023-03-20 11:32:02 +08:00
aichy126 b88e6ff5c7 Merge branch 'feat/1.0.7/short-id' into test 2023-03-20 11:02:20 +08:00
aichy126 ecff4e02bc update short id 2023-03-20 11:00:34 +08:00
LinkinStars 9950ed5a40 feat(plugin): add label ui option for switch config type 2023-03-17 17:43:35 +08:00
LinkinStars 2aae2f771c Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-17 17:21:45 +08:00
haitaoo 41404070a7 fix(SchemaForm): Move the label field to the switch component configuration item, which is only used by this component 2023-03-17 17:20:12 +08:00
aichy126 13733a226b Merge branch 'feat/1.0.7/short-id' into test 2023-03-17 17:16:33 +08:00
aichy126 6f91bc8950 update tag 2023-03-17 17:16:09 +08:00
aichy126 1cd1946532 Merge branch 'feat/1.0.7/tag' into feat/1.0.7/short-id 2023-03-17 17:16:04 +08:00
aichy126 72636ab507 update vote 2023-03-17 17:03:42 +08:00
LinkinStars a7ff4cf3b7 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-17 15:17:12 +08:00
haitaoo 38226bf3a0 fix(Admin): Set the default form width for admin pages to 6 columns 2023-03-17 15:15:08 +08:00
haitao.jarvis e97410ce20 Merge pull request #265 from answerdev/feat/1.0.7/ui
fix(Seo): Update the `Permalink` options.
2023-03-17 12:29:33 +08:00
haitaoo a6e24ef0f1 fix(Seo): Update the Permalink options. 2023-03-17 12:27:40 +08:00
aichy126 61c2d55f5d Merge branch 'feat/1.0.7/short-id' into test 2023-03-17 10:55:18 +08:00
aichy126 d7d652040c update short id 2023-03-17 10:54:54 +08:00
aichy126 c4780fa3e5 update short id 2023-03-17 10:54:47 +08:00
dashuai a141550220 Merge pull request #264 from answerdev/feat/1.0.7/ui
fix: diff text optimization
2023-03-16 17:21:12 +08:00
shuai dce4b9766b fix: diff text optimization 2023-03-16 16:54:50 +08:00
aichy126 ebacd7e8e1 Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 16:24:51 +08:00
aichy126 6a1ae9140f fix question 2023-03-16 16:24:31 +08:00
aichy126 7080523129 Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 15:44:08 +08:00
aichy126 7fc5dbbf63 update tags 2023-03-16 15:43:50 +08:00
LinkinStars 1ec3f2b704 feat(plugin): add dispatcher for connector login plugin 2023-03-16 15:39:04 +08:00
aichy126 de7a80d735 Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 15:23:15 +08:00
aichy126 a2bc103d4f update question 2023-03-16 15:22:47 +08:00
LinkinStars 5e6fb1096e feat(plugin): upgrade add user external login table 2023-03-16 14:58:03 +08:00
LinkinStars 098873eea6 feat(plugin): update connector receiver interface 2023-03-16 14:57:17 +08:00
LinkinStars 824b68c152 feat(plugin): remove debug log 2023-03-16 14:56:44 +08:00
LinkinStars 40fb10b4d9 feat(plugin): set plugin default status is disabled 2023-03-16 14:56:06 +08:00
aichy126 261f7c9ec4 Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 14:33:37 +08:00
aichy126 7ce4e40e98 update vote 2023-03-16 14:33:17 +08:00
dashuai f2610a5c47 Merge pull request #262 from answerdev/feat/1.0.7/ui
fix: closed question hidden write answer
2023-03-16 14:16:30 +08:00
shuai 83d1c57c05 fix: closed question hidden write answer 2023-03-16 14:15:50 +08:00
dashuai 26fe8eec68 Merge pull request #261 from answerdev/feat/1.0.7/ui
fix: tag list add excerpt
2023-03-16 11:36:39 +08:00
shuai 7e4304923d fix: tag list add excerpt 2023-03-16 11:35:58 +08:00
aichy126 d824ff07ab Merge branch 'test' of github.com:answerdev/answer into test 2023-03-16 10:41:03 +08:00
aichy126 88d79ec42a Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 10:40:52 +08:00
aichy126 5d6bd5976c update tags 2023-03-16 10:40:35 +08:00
haitao.jarvis 6574fb50db Merge pull request #260 from answerdev/feat/1.0.7/ui
Feat/1.0.7/UI
2023-03-15 18:14:26 +08:00
haitaoo bf06c1308c fix(QueryGroup): Correct handling of the QueryGroup click event 2023-03-15 18:09:07 +08:00
haitaoo e8afba56f5 fix(Tag): Replace slug_name with display_name to display tag information 2023-03-15 17:52:45 +08:00
aichy126 d53188c366 swagger 2023-03-15 17:35:54 +08:00
aichy126 28d76b5e13 Merge branch 'feat/1.0.7/short-id' into test 2023-03-15 17:35:47 +08:00
aichy126 cf2fc12e38 update answer 2023-03-15 17:34:16 +08:00
dashuai 9143842e4a Merge pull request #259 from answerdev/feat/1.0.7/ui
fix: admin or moderator can create or edit tag
2023-03-15 17:22:58 +08:00
shuai 4b00a7f238 fix: admin or moderator can create or edit tag 2023-03-15 17:15:41 +08:00
dashuai f33f14a2e3 Merge pull request #258 from answerdev/feat/1.0.7/ui
fix: set scorll postion for tag detail
2023-03-15 14:55:19 +08:00
shuai 29f6673e9d fix: set scorll postion for tag detail 2023-03-15 14:54:34 +08:00
LinkinStars 210d26289a Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-15 11:42:23 +08:00
dashuai 49eff9f070 Merge pull request #257 from answerdev/feat/1.0.7/ui
Feat/1.0.7/UI
2023-03-15 11:37:24 +08:00
shuai 6de0482bbb fix: tags list description used parsed text 2023-03-15 11:36:21 +08:00
haitaoo 71d439cca0 fix(AccordionNav): Set text-trancate for link content 2023-03-15 11:33:46 +08:00
LinkinStars 4b78e3583f Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-15 11:27:15 +08:00
shuai bad0eaf12d fix: questions closed cannot write answer 2023-03-15 11:12:00 +08:00
shuai 940debda7f style: change votes button styles 2023-03-15 10:57:06 +08:00
haitaoo bfc0bb5ac2 fix(SchemaForm): Make SchemaForm correctly support ui:widget of PluginForm and have the correct default values. 2023-03-15 10:54:36 +08:00
dashuai 234822c67f Merge pull request #256 from answerdev/feat/1.0.7/ui
fix: i18n key fix
2023-03-14 14:11:37 +08:00
shuai 8415e120df fix: i18n key fix 2023-03-14 14:11:01 +08:00
dashuai 339d966aa7 Merge pull request #255 from answerdev/feat/1.0.7/ui
fix: handle https code 50X error content
2023-03-14 12:01:24 +08:00
shuai d182a1ff54 fix: handle https code 50X error content 2023-03-14 11:42:23 +08:00
aichy126 f15fc8aeb9 Merge branch 'feat/1.0.7/short-id' into test 2023-03-14 11:23:50 +08:00
aichy126 d7511a6697 update short id 2023-03-14 11:23:26 +08:00
aichy126 3f178696f8 Merge branch 'feat/1.0.7/short-id' into test 2023-03-13 16:52:16 +08:00
aichy126 4d146807ff update short id 2023-03-13 16:51:54 +08:00
aichy126 dd54b6b9c8 Merge branch 'feat/1.0.7/short-id' into test 2023-03-13 16:25:17 +08:00
aichy126 58b5087ec5 update short id 2023-03-13 16:24:46 +08:00
haitao.jarvis 8a94ffef93 Merge pull request #253 from answerdev/feat/1.0.7/ui
Feat/1.0.7/UI
2023-03-13 11:39:07 +08:00
haitaoo 54610b6fa8 fix(Personal): Make Personal related links conform to the Permalink setting 2023-03-13 11:37:48 +08:00
aichy126 76605ebccd Merge branch 'feat/1.0.7/short-id' into test 2023-03-13 11:31:54 +08:00
aichy126 8070bcdcf4 update short id 2023-03-13 11:31:29 +08:00
aichy126 2d87c8d494 update question 2023-03-13 11:28:35 +08:00
aichy126 1a814da53b update question 2023-03-13 11:12:31 +08:00
aichy126 ca6d8fb5a8 update question 2023-03-13 11:01:32 +08:00
haitaoo 4aa63357b8 fix(Header): Remove the bold effect from active navigation links 2023-03-13 10:33:37 +08:00
haitaoo a97fa7973b fix(SEO): Make the Permalink options more realistic 2023-03-13 10:24:33 +08:00
LinkinStars 6b07d08838 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-10 18:01:24 +08:00
LinkinStars 91f5f3290c feat(plugin): Return whether to set password status at login 2023-03-10 18:01:16 +08:00
shuai 89ed70f5a8 fix: user settings oauth add redirect path 2023-03-10 17:58:49 +08:00
LinkinStars 19108b2124 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-10 15:38:34 +08:00
aichy126 ff5f924ba5 Merge branch 'feat/1.0.7/short-id' into test 2023-03-10 15:21:06 +08:00
aichy126 c3743bad4f update markdown xss 2023-03-10 15:20:45 +08:00
shuai ecf24b5a96 fix: account no password to change password shuold hidden old pass input 2023-03-10 15:10:04 +08:00
shuai 8a57057d9a fix: oauth plugin icon style 2023-03-10 14:44:12 +08:00
dashuai 49b9a79a65 Merge pull request #251 from answerdev/feat/1.0.7/ui
Feat/1.0.7/UI
2023-03-10 11:53:25 +08:00
shuai c9119e6cd2 Merge branch 'feat/1.0.7/ui' of github.com:answerdev/answer into feat/1.0.7/ui 2023-03-10 11:51:24 +08:00
shuai b9b933daf0 fix: interface default avatar add default value 2023-03-10 11:51:16 +08:00
haitao.jarvis 44b1ed56a2 Merge pull request #250 from answerdev/feat/1.0.7/ui
fix(Layout): Make inactive tabs display titles immediately
2023-03-10 11:18:08 +08:00
haitaoo 5d718c9eb9 fix(Layout): Make inactive tabs display titles immediately 2023-03-10 11:17:02 +08:00
LinkinStars b44824cf78 feat(plugin): If user has only one external login and never set password, he can't unbind it 2023-03-10 10:42:45 +08:00
LinkinStars 9c68284623 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-10 09:59:33 +08:00
shuai 675c2868e4 fix: oauth icon add styles adjustment 2023-03-10 09:46:38 +08:00
aichy126 ec6b94c96d Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 16:41:23 +08:00
aichy126 e184986459 update del question 2023-03-09 16:41:03 +08:00
aichy126 f52869ddd8 Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 16:06:52 +08:00
aichy126 cac2ce03d6 update short id switch 2023-03-09 16:06:31 +08:00
haitao.jarvis 859cf7ddad Merge pull request #249 from answerdev/feat/1.0.7/ui
fix(SEO): Make `permalink` support short id
2023-03-09 15:47:36 +08:00
aichy126 543c5e0c46 Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 15:44:46 +08:00
aichy126 b224824bbf update short id switch 2023-03-09 15:44:29 +08:00
haitaoo 3aaf29f8a5 fix(SEO): Make permalink support short id 2023-03-09 15:44:11 +08:00
aichy126 98260a896a Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 15:22:19 +08:00
aichy126 47fc6caf91 add short id switch 2023-03-09 15:21:51 +08:00
aichy126 dc40f00595 Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 14:59:42 +08:00
aichy126 3367ecd203 update short id 2023-03-09 14:59:07 +08:00
haitao.jarvis a322e16d40 Merge pull request #248 from answerdev/feat/1.0.7/ui
Feat/1.0.7/UI
2023-03-09 14:46:59 +08:00
haitaoo 3071c99a23 fix(Questions): No more isAnswerId matching for short ids 2023-03-09 14:45:30 +08:00
aichy126 f20468df53 Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 14:41:04 +08:00
aichy126 3fe2ffa0f3 update short id 2023-03-09 14:39:32 +08:00
aichy126 21799bad0a Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 11:38:58 +08:00
aichy126 2cf061ea68 Merge branch 'main' into feat/1.0.7/short-id 2023-03-09 11:37:48 +08:00
aichy126 5e2af78e96 update notification 2023-03-09 11:37:10 +08:00
aichy e53ff7304f Merge pull request #247 from answerdev/hotfix/1.0.6/answer
Hotfix/1.0.6/answer
2023-03-08 17:21:04 +08:00
aichy126 b00cfbf775 update answer 2023-03-08 17:17:31 +08:00
aichy126 f85304f2b9 update answer 2023-03-08 17:17:31 +08:00
aichy126 6618abc815 fix del answer 2023-03-08 17:17:31 +08:00
LinkinStars adcb47a5e1 fix(plugin): Add cache plugin interface 2023-03-08 17:14:55 +08:00
LinkinStars 1f05338aae fix(plugin): Add storage plugin interface 2023-03-08 16:29:55 +08:00
LinkinStars 7ab1e8f47c Merge remote-tracking branch 'github/dev' into test 2023-03-07 17:59:17 +08:00
aichy126 4c1c56713e update answer 2023-03-07 17:56:51 +08:00
LinkinStars d5b5d9a51c fix(plugin): Exception when registering a plugin and finding that the slug_name is not unique. 2023-03-07 17:54:03 +08:00
aichy126 96c0baa7f6 update answer 2023-03-07 17:35:20 +08:00
LinkinStars 886199cc6e Merge remote-tracking branch 'github/dev' into test 2023-03-07 16:38:04 +08:00
aichy126 74c473dd8e fix del answer 2023-03-07 16:37:22 +08:00
shuai 105811d47e fix: admin user role_id 2023-03-07 16:29:13 +08:00
haitao.jarvis 4c1db03a44 Merge pull request #245 from answerdev/feat/1.0.7/ui
Feat/1.0.7/UI
2023-03-07 16:11:47 +08:00
LinkinStars de4d156ac9 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-03-07 15:50:50 +08:00
haitaoo 3312b352d2 Merge branch 'dev' into feat/ui-1.1.0 2023-03-07 15:40:34 +08:00
LinkinStars 4a8ae2b166 Merge branch 'dev' into feature-plugin 2023-03-07 15:39:07 +08:00
haitaoo a6720613bd Merge branch 'dev' into feat/1.0.7/ui 2023-03-07 15:24:13 +08:00
LinkinStars f319b43412 Merge remote-tracking branch 'github/dev' into feat/1.0.7/user-avatar 2023-03-07 15:24:08 +08:00
LinkinStars b7437e3c5b docs(i18n): reformat i18n yaml
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-03-07 11:36:37 +08:00
LinkinStars e7ba148f66 Merge remote-tracking branch 'github/feat/1.0.6/ui' into github-main 2023-03-07 10:46:34 +08:00
shuai 5678b7ec8f fix: install step 2023-03-07 10:42:45 +08:00
LinkinStars da4be341f2 Merge branch 'release/1.0.6' into github-main 2023-03-07 10:31:51 +08:00
Fen dcd514bb3f New Crowdin updates (#219)
* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Portuguese)
2023-03-07 10:31:24 +08:00
LinkinStars e52041118f Merge remote-tracking branch 'github/feat/1.0.6/ui' into release/1.0.6 2023-03-07 10:22:10 +08:00
shuai b62289158e fix: unified email regular verification 2023-03-07 10:19:44 +08:00
LinkinStars 118f92b751 docs(swagger): Regenerate swagger doc 2023-03-07 10:18:58 +08:00
LinkinStars fe1bd16a20 docs(makefile): Upgrade version 2023-03-07 10:08:18 +08:00
LinkinStars 02b536c2cf Merge remote-tracking branch 'github/test' into release/1.0.6
# Conflicts:
#	i18n/i18n.yaml
2023-03-07 10:06:44 +08:00
LinkinStars 98f49d1e7d Merge pull request #239 from pontovinte/i18n/pt_br
I18N pt-BR.
2023-03-07 10:03:58 +08:00
shuai e360b09230 fix: unified email regular verification 2023-03-07 10:02:17 +08:00
dashuai 4bc366c4d7 Merge pull request #241 from answerdev/feat/1.0.6/ui
fix: answer's count
2023-03-06 14:14:47 +08:00
shuai 001474b14d fix: answer's count 2023-03-06 14:14:17 +08:00
LinkinStars 7dd3715ff3 Merge branch 'feat/1.0.6/object-not-found' into test 2023-03-06 12:27:32 +08:00
LinkinStars ba8e173658 fix(answer): The author can view the deleted answer. 2023-03-06 12:27:04 +08:00
dashuai e8023cc0dc Merge pull request #240 from answerdev/feat/1.0.6/ui
Feat/1.0.6/UI
2023-03-06 12:22:15 +08:00
shuai 888e873a7c fix: answer the author's conditional judgement 2023-03-06 12:20:57 +08:00
shuai 487b454165 fix: delete answers pnly show to author and admin and has searchparams aid 2023-03-06 11:55:18 +08:00
Yrineu Rodrigues e6a33ebb35 Adding pt_BR to i18n.yaml
Signed-off-by: Yrineu Rodrigues <yrineu@pontovinte.com>
2023-03-05 18:26:45 -05:00
Yrineu Rodrigues f960215d8f I18N pt-BR.
Signed-off-by: Yrineu Rodrigues <yrineu@pontovinte.com>
2023-03-05 15:53:14 -05:00
aichy126 c7d616c991 update short id 2023-03-03 18:41:26 +08:00
LinkinStars 29eaa699e5 fix(avatar): Set user info default avatar 2023-03-03 18:04:53 +08:00
aichy126 9dc9c0db8b update comment 2023-03-03 17:54:59 +08:00
aichy126 89600933b0 update answer short id 2023-03-03 17:47:48 +08:00
haitao.jarvis 4c7f658a78 Merge pull request #237 from answerdev/feat/1.0.6/ui
fix(Question): Dealing with Modal not disappearing after closing Ques…
2023-03-03 17:40:31 +08:00
haitaoo 3dee1c3df5 fix(Question): Dealing with Modal not disappearing after closing Question 2023-03-03 17:38:53 +08:00
shuai 9a410a1250 Merge branch 'feat/1.0.7/ui' of github.com:answerdev/answer into feat/1.0.7/ui 2023-03-03 17:32:49 +08:00
shuai 2ee3b22d98 fix: interface submit need update userinfo 2023-03-03 17:32:40 +08:00
haitaoo 2258b9d12a fix(Links): Handling of link clicks when combined with keyboard function keys 2023-03-03 17:18:05 +08:00
LinkinStars bbba11f5b1 Merge remote-tracking branch 'github/feat/1.0.7/tag' into feat/1.0.7/user-avatar 2023-03-03 17:05:23 +08:00
LinkinStars 4759e8778f feat(tag): Add revision when add tag 2023-03-03 16:59:34 +08:00
shuai 8fe292775a Merge branch 'feat/1.0.7/ui' of github.com:answerdev/answer into feat/1.0.7/ui 2023-03-03 16:57:41 +08:00
shuai 3a8aafdc38 fix: interface add default avatar 2023-03-03 16:57:33 +08:00
aichy126 4e4226048d update sitemap time 2023-03-03 16:40:24 +08:00
haitaoo 10fbdc1db8 feat(Tags): Now you can create tags directly 2023-03-03 16:37:07 +08:00
aichy126 b5414f9f0e update short id 2023-03-03 16:01:56 +08:00
aichy126 789cf6bd8b update short id 2023-03-03 15:47:56 +08:00
LinkinStars a90495c9f1 feat(tag): Add tag response the tag slug name 2023-03-03 14:40:30 +08:00
aichy126 4b1e63b695 update sid test 2023-03-03 14:17:33 +08:00
aichy126 e0579d8ca6 update en de short id 2023-03-02 19:22:32 +08:00
LinkinStars 8c871f1399 feat(avatar): Set default user avatar by config 2023-03-02 17:28:48 +08:00
LinkinStars ee3fb56d54 feat(tag): Add create tag API 2023-03-02 17:00:16 +08:00
dashuai db3222bb17 Merge pull request #235 from answerdev/feat/1.0.6/ui
fix: users login page can refresh
2023-03-02 15:36:33 +08:00
shuai 6393560409 fix: users login page can refresh 2023-03-02 15:35:06 +08:00
dashuai a1b05b5835 Merge pull request #234 from answerdev/feat/1.0.6/ui
fix: 404 content cannot show in special pages
2023-03-02 15:25:03 +08:00
shuai f48c207b14 fix: 404 content cannot show in special pages 2023-03-02 15:24:08 +08:00
aichy126 893048bc08 Merge branch 'feat/1.0.6/object-not-found' into test 2023-03-02 15:15:18 +08:00
aichy126 f9798534c9 update question 2023-03-02 15:14:56 +08:00
aichy126 ffee84ced2 add en de short id 2023-03-02 15:10:58 +08:00
dashuai f7912e4ff3 Merge pull request #233 from answerdev/feat/1.0.6/ui
fix: react removeChild error
2023-03-02 14:13:24 +08:00
shuai 54fe9d8a8b fix: react removeChild error 2023-03-02 14:12:26 +08:00
LinkinStars 2ebf057d53 feat(plugin): add display name and username for connector 2023-03-02 12:13:58 +08:00
LinkinStars b876b102e2 Merge branch 'feat/ui-1.1.0' into feature-plugin 2023-03-02 11:56:30 +08:00
haitaoo 896e204ae0 feat(InstalledPlugins): Handling the link address of a plugin by its name 2023-03-02 11:34:53 +08:00
LinkinStars 666471ec24 feat(plugin): add link address for plugin 2023-03-02 11:03:24 +08:00
LinkinStars a1bdb2bd80 feat(plugin): synchronize avatar when bind user 2023-03-02 11:03:06 +08:00
LinkinStars 4c38c73017 feat(plugin): Third-party login to synchronize user avatars 2023-03-02 10:24:32 +08:00
haitao.jarvis ae3691b964 Merge pull request #232 from answerdev/feat/1.0.6/ui
Feat/1.0.6/UI
2023-03-01 18:02:15 +08:00
haitaoo 2daf339d86 Merge branch 'feat/1.0.6/ui' of github.com:answerdev/answer into feat/1.0.6/ui 2023-03-01 17:56:08 +08:00
haitaoo 682ca72324 fix(ImgViewer): Correctly set the centre alignment and top alignment of images 2023-03-01 17:55:39 +08:00
aichy126 f3d48f61e0 Merge branch 'feat/1.0.6/object-not-found' into test 2023-03-01 17:50:22 +08:00
aichy126 ba7891b097 update question answer del 2023-03-01 17:49:55 +08:00
dashuai 77546afdab Merge pull request #231 from answerdev/feat/1.0.6/ui
fix: question detail show delete msg for admin users
2023-03-01 17:29:45 +08:00
shuai 5471704b51 fix: question detail show delete msg for admin users 2023-03-01 17:28:50 +08:00
LinkinStars c3d8d30892 fix(answer): Only the admin and author can view the deleted answer. 2023-03-01 17:28:16 +08:00
aichy126 32cb89e9d4 add short id func 2023-03-01 16:13:58 +08:00
LinkinStars b9d2c58bad Merge branch 'feat/1.0.6/i18n' into test 2023-03-01 12:31:21 +08:00
LinkinStars 9727e89218 feat(i18n): Add translation progress 2023-03-01 12:30:50 +08:00
LinkinStars 217bfd6389 Merge remote-tracking branch 'github/fix/1.0.6/admin-permission' into test 2023-03-01 11:48:42 +08:00
LinkinStars cd742b7560 fix(user): Remove admin cache when user logout. 2023-03-01 11:47:31 +08:00
LinkinStars 1065946c43 fix(plugin): If user login with external account and email is exist, active user directly. 2023-03-01 10:48:11 +08:00
LinkinStars 334a1eceaa fix(build): Compile with the current local version instead of the latest version when local mod replacement. 2023-02-28 16:01:14 +08:00
aichy acf89a399b Merge pull request #228 from bazingame/fix-update
fix:misspelling correction of words
2023-02-28 14:46:31 +08:00
haitao.jarvis 71b02e3d4c Merge pull request #229 from answerdev/feat/1.0.6/ui
fix(ImgViewer): Set the zoom-out cursor correctly for images in the p…
2023-02-28 11:43:21 +08:00
haitaoo 53a42683c3 fix(ImgViewer): Set the zoom-out cursor correctly for images in the preview 2023-02-28 11:36:09 +08:00
bazingame fea0083ebb fix update spell error 2023-02-27 22:11:39 +08:00
LinkinStars 66ace7edcd Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-02-27 17:00:40 +08:00
LinkinStars 8fe50e93f2 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-02-27 16:37:25 +08:00
shuai 1e955a3495 fix: plugin oauth ui changed 2023-02-27 16:35:33 +08:00
haitao.jarvis 0ef121f1d8 Merge pull request #226 from answerdev/feat/1.0.6/ui
Feat/1.0.6/UI
2023-02-27 16:09:57 +08:00
haitaoo 7243df724d Merge branch 'feat/1.0.6/ui' of github.com:answerdev/answer into feat/1.0.6/ui 2023-02-27 16:08:30 +08:00
haitaoo 5e133c2bba fix(ImgViewer): Set the cursor style to zoom-in for images that can be opened in ImgViewer 2023-02-27 15:50:03 +08:00
haitaoo 2cb0468605 fix(ImgViewer): Enables Modal to be closed even when Modal.Body is clicked 2023-02-27 15:13:00 +08:00
shuai 7ded5056f0 fix: register show oauth plugin 2023-02-27 15:12:28 +08:00
LinkinStars 9a07489475 Merge remote-tracking branch 'github/feat/1.0.6/object-not-found' into test 2023-02-27 14:47:45 +08:00
LinkinStars 88e11d117e feat(question): Only the admin and author can view the deleted post. 2023-02-27 14:45:08 +08:00
dashuai d23ddcd57f Merge pull request #225 from answerdev/feat/1.0.6/ui
Feat/1.0.6/UI
2023-02-27 14:43:49 +08:00
shuai 85961cb788 fix: question detail show delete msg for admin user 2023-02-27 14:30:36 +08:00
shuai 6578264634 fix: delete not used css file 2023-02-27 11:26:54 +08:00
dashuai ce887ee268 Merge pull request #224 from answerdev/feat/1.0.6/ui
fix: 404 page and 50x ui adjustment
2023-02-27 11:21:34 +08:00
shuai a0e805a180 fix: 404 page and 50x ui adjustment 2023-02-27 11:15:07 +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
dashuai 25f5fe7e70 Merge pull request #223 from answerdev/feat/1.0.6/ui
Feat/1.0.6/UI
2023-02-27 10:58:06 +08:00
shuai 15536d5b27 fix: 404 page and 50X page ui changed 2023-02-27 10:57:26 +08:00
shuai 450b7c03b9 fix: detail page render 404 2023-02-27 10:45:48 +08:00
haitao.jarvis e7dcfe2f87 Merge pull request #220 from answerdev/feat/1.0.6/ui
Feat/1.0.6/UI
2023-02-24 18:17:36 +08:00
aichy126 d07d1f028d Merge branch 'feat/1.0.6/fixbug' into test 2023-02-24 18:05:02 +08:00
aichy126 90bfa0dcc7 update GetExcerpt 2023-02-24 18:03:52 +08:00
haitaoo 0566894a2c fix(comment): Resolving xss issues in comments 2023-02-24 17:52:17 +08:00
aichy126 f357f6219b update swagger 2023-02-24 17:37:01 +08:00
aichy126 1a836d8001 Merge branch 'feat/1.0.6/fixbug' into test 2023-02-24 17:11:48 +08:00
aichy126 f80af9ffbe update header x-frame-options 2023-02-24 17:10:43 +08:00
aichy126 b901f5e3a8 update comment 2023-02-24 17:04:22 +08:00
aichy126 7c62e083bd Merge branch 'feat/1.0.6/fixbug' into test 2023-02-24 16:30:40 +08:00
aichy126 813ad0b989 update VerifyCaptcha 2023-02-24 16:30:21 +08:00
haitaoo 6a1a8937d8 Merge branch 'feat/1.0.6/ui' of github.com:answerdev/answer into feat/1.0.6/ui 2023-02-24 16:25:59 +08:00
aichy126 9870ed87fb update site_name sanitizer 2023-02-24 16:06:54 +08:00
Fen 954cfc47b7 New Crowdin updates (#212)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* fix: typo

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2023-02-24 15:41:19 +08:00
dashuai 903ab88456 Merge pull request #218 from answerdev/feat/1.0.6/ui
fix: write question hidden cancel button
2023-02-24 15:04:25 +08:00
shuai 775fb7abd8 fix: write question hidden cancel button 2023-02-24 14:59:22 +08:00
dashuai 4ac27b4e82 Merge pull request #217 from answerdev/feat/1.0.6/ui
fix: post answer or question not delete draft
2023-02-24 14:55:40 +08:00
shuai 457f53cb0c fix: post answer or question not delete draft 2023-02-24 14:54:32 +08:00
haitaoo b431c2fcd3 refactor(router): udpate router errorBoundary 2023-02-24 14:42:32 +08:00
aichy126 10dd9e23f4 add index.html Header 2023-02-23 17:56:09 +08:00
LinkinStars 0d1b043557 Merge remote-tracking branch 'github/fix/1.0.6/admin-permission' into test 2023-02-23 17:13:09 +08:00
dashuai 9df7cfe3f4 Merge pull request #216 from answerdev/feat/1.0.6/ui
fix: answer draft clear not right
2023-02-23 17:05:36 +08:00
shuai d133587462 fix: answer draft clear not right 2023-02-23 17:03:38 +08:00
haitao.jarvis a7f97e24d8 Merge pull request #215 from answerdev/feat/1.0.6/ui
fix(ImgViewer): Destroy ImgViewer when location changed
2023-02-23 16:16:58 +08:00
haitaoo 6a4b887cf9 fix(ImgViewer): Destroy ImgViewer when location changed 2023-02-23 15:22:18 +08:00
haitao.jarvis 6423389027 Merge pull request #214 from answerdev/feat/1.0.6/ui
Feat/1.0.6/UI
2023-02-23 14:58:40 +08:00
haitaoo c8baa873d4 Merge branch 'feat/1.0.6/ui' of github.com:answerdev/answer into feat/1.0.6/ui 2023-02-23 14:54:08 +08:00
haitaoo b046c7f292 feat(ImgViewer): Add the ability to click on an image to view it full screen 2023-02-23 14:53:47 +08:00
LinkinStars 1de3ec27e5 fix(user): User reset password should not tell the user if the email exists. 2023-02-23 11:55:40 +08:00
shuai 559f097926 fix: timeline title add label escape 2023-02-23 11:51:12 +08:00
LinkinStars 4ca2429d19 fix(admin): add restriction about admin modify their status 2023-02-23 11:44:05 +08:00
LinkinStars 15390adbfc fix(admin): add restriction about admin modify their password 2023-02-23 11:37:42 +08:00
aichy a80968f50c fix is_used_cannot_delete (#213) 2023-02-23 10:54:35 +08:00
aichy126 010cd7501d Merge branch 'feat/1.0.6/fixbug' into test 2023-02-22 18:40:45 +08:00
aichy126 71a4cdac81 update user about me markdown 2023-02-22 18:19:30 +08:00
LinkinStars 17c621bfbb Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-02-22 17:54:55 +08:00
LinkinStars 822a96721a feat(plugin): remove plugin translator context 2023-02-22 17:48:05 +08:00
joyqi 73dc7e744f Change Translator receiver from pointer to struct. 2023-02-22 17:32:13 +08:00
joyqi 4809bab5c7 Check whether the translator struct is nil before translating. 2023-02-22 17:01:48 +08:00
LinkinStars 5bd8b1895b refactor(plugin): try to refactor plugin translation struct 2023-02-22 16:49:03 +08:00
joyqi ffb1e07acb Make plugin translator as a struct. 2023-02-22 16:21:02 +08:00
shuai 3fe58c784a fix: immediately remove debounced save 2023-02-22 16:14:28 +08:00
LinkinStars 9409db902a docs(i18n): add zh_CN plugin translation 2023-02-22 15:05:32 +08:00
LinkinStars 29da80a11e fix(tr): return original data when translator not exist 2023-02-22 15:05:03 +08:00
LinkinStars f7e3e59822 feat(init): set default time zone 2023-02-22 15:04:03 +08:00
shuai b03269b383 feat: add draft for write answer or question #117 2023-02-22 14:47:20 +08:00
haitaoo 26c9ff6998 fix(Plugins NavMenu): Getting the Plugins navigation menu to correctly match i18n 2023-02-22 11:42:03 +08:00
haitaoo 57843bc0ce fix(TIMEZONE): Set UTC+0 to UTC(dayjs does not recognize UTC+0) 2023-02-22 11:34:38 +08:00
haitaoo 3b9070cf4f fix(Interface): Set the correct default values for Interface forms(time_zone) 2023-02-22 11:05:30 +08:00
LinkinStars a166ea8eb3 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin
# Conflicts:
#	ui/src/hooks/index.ts
2023-02-21 18:14:49 +08:00
haitaoo e899f4b362 fix(router): Set the correct loader return value for the new version of the router component 2023-02-21 18:12:05 +08:00
haitaoo 8df84b7684 Merge branch 'main' into feat/ui-1.1.0 2023-02-21 18:07:03 +08:00
LinkinStars 6c70bc814e refactor(gomod): update go mod 2023-02-21 17:41:26 +08:00
LinkinStars 593ffad92d Merge branch 'github-main' into feature-plugin
# Conflicts:
#	go.mod
#	go.sum
#	ui/src/hooks/index.ts
#	ui/src/router/index.tsx
2023-02-21 17:37:36 +08:00
LinkinStars 373b454728 refactor(plugin): remove comment code 2023-02-21 17:32:52 +08:00
LinkinStars b229d12bb4 feat(plugin): plugin internationalization 2023-02-21 17:28:05 +08:00
LinkinStars a148607763 feat(plugin): Modify the plugin base description information to the internationalization field 2023-02-21 17:27:14 +08:00
aichy126 9ce20b4d90 update go.mod 2023-02-21 15:39:37 +08:00
aichy126 1cca3fe403 Merge branch 'feat/1.0.6/fixbug' into test 2023-02-21 15:39:30 +08:00
aichy126 383cc10320 update StatisticalByCache 2023-02-21 15:36:45 +08:00
LinkinStars c41de780dd Merge remote-tracking branch 'github/release/1.0.5' into github-main 2023-02-21 14:34:50 +08:00
LinkinStars 6cd7419627 fix(gomod): remove the require that is not needed 2023-02-21 14:34:22 +08:00
LinkinStars ae011f48d7 Merge branch 'feat/1.0.5/deltag' into release/1.0.5 2023-02-21 14:31:22 +08:00
LinkinStars 5bc7fecbd4 docs(gomod): update go mod 2023-02-21 12:00:15 +08:00
Fen e3c59f3419 New Crowdin updates (#186)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* fix: typo

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2023-02-21 11:59:31 +08:00
LinkinStars 3e2566c106 docs(makefile): Upgrade version 1.0.5 2023-02-21 11:59:31 +08:00
LinkinStars 205823eb34 Merge branch 'github-dev' into release/1.0.5
# Conflicts:
#	go.mod
2023-02-21 11:59:31 +08:00
LinkinStars 8cd3fbfa3e docs(docker): add healthcheck for docker compose 2023-02-21 11:59:31 +08:00
LinkinStars 024a3f71b1 docs(docker): update docker compose for auto install 2023-02-21 11:59:31 +08:00
LinkinStars c1f3b0f736 feat(install): Remove outdated function about reserved username 2023-02-21 11:59:31 +08:00
LinkinStars 4ebf50c70f feat(install): Automatically complete installation based on environment variable. 2023-02-21 11:59:30 +08:00
aichy126 3c07d10b67 Merge branch 'feat/1.0.5/deltag' into test 2023-02-21 11:30:21 +08:00
aichy126 36cc86aeb0 update validator 2023-02-21 11:29:54 +08:00
LinkinStars 66510fcc29 Merge remote-tracking branch 'github/github/action' into github-main
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-02-21 10:38:14 +08:00
Fen 95e9b50678 New Crowdin updates (#186)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* fix: typo

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2023-02-21 10:26:48 +08:00
LinkinStars f98425f205 docs(makefile): Upgrade version 1.0.5 2023-02-21 10:20:52 +08:00
LinkinStars 025d0d9821 Merge branch 'github-dev' into release/1.0.5
# Conflicts:
#	go.mod
2023-02-21 10:17:35 +08:00
LinkinStars 00df552422 Merge branch 'github-dev' into release/1.0.5
# Conflicts:
#	go.mod
2023-02-21 10:16:12 +08:00
LinkinStars 919d4bb25c Merge pull request #201 from answerdev/feat/1.0.5/init-env
feat(install): Automatically complete installation based on environment variable.
2023-02-21 10:13:44 +08:00
aichy126 8b12a4074d Merge branch 'test' of github.com:answerdev/answer into test 2023-02-20 15:15:17 +08:00
aichy126 376ad452e7 Merge branch 'feat/1.0.6/fixbug' into test 2023-02-20 15:15:05 +08:00
aichy126 8b07d5c47d update question action time 2023-02-20 15:14:39 +08:00
joyqi 3c2c13f7c4 Add sample codes for plugin i18n 2023-02-20 11:46:44 +08:00
haitao.jarvis ee9b92e8a4 Merge pull request #210 from answerdev/feat/1.0.5/ui
fix(Flags):
2023-02-20 11:27:38 +08:00
haitaoo 07c06b0dc8 fix(Flags): Fix the font size of the BaseUserCard component in the Flags page 2023-02-20 11:24:35 +08:00
aichy126 b0861cf9b7 Merge branch 'test' of github.com:answerdev/answer into test 2023-02-17 11:41:51 +08:00
aichy126 30d5a6eaea Merge branch 'feat/1.0.5/deltag' into test 2023-02-17 11:40:53 +08:00
aichy126 a66f104d02 Merge branch 'dev' into feat/1.0.5/deltag 2023-02-17 11:39:13 +08:00
aichy126 1cba6cdeb6 update go mod replace 2023-02-17 11:35:06 +08:00
dashuai 58f1c199fa Merge pull request #206 from answerdev/feat/1.0.5/ui
Feat/1.0.5/UI
2023-02-16 17:16:06 +08:00
haitaoo 880f5f5b3d Merge branch 'feat/1.0.5/ui' of github.com:answerdev/answer into feat/1.0.5/ui 2023-02-16 16:35:06 +08:00
haitaoo 077e626f91 refactor(router): Adaptation to new versions of routing node types 2023-02-16 16:34:50 +08:00
shuai 3b8aa38192 fix: general setting filter XSS data 2023-02-16 14:56:22 +08:00
shuai 22551f8ce5 fix: update admin general settings 2023-02-16 14:40:33 +08:00
shuai ac6311f073 Merge branch 'feat/1.0.5/ui' of github.com:answerdev/answer into feat/1.0.5/ui 2023-02-16 12:17:51 +08:00
shuai c57830f7b4 fix: content changes have not been saved to leave the page to increase the prompt 2023-02-16 12:14:00 +08:00
haitao.jarvis 23a67632b8 Merge pull request #205 from answerdev/feat/1.0.5/ui
feat: Dynamically set the app generator according to the app version …
2023-02-15 18:20:44 +08:00
haitaoo 20bca5a262 feat: Dynamically set the app generator according to the app version number. 2023-02-15 18:18:05 +08:00
LinkinStars d45cdbeccd Merge remote-tracking branch 'github/feat/1.0.5/deltag' into github-test 2023-02-15 17:24:28 +08:00
LinkinStars e9d5667708 feat(version): move AnswerVersion to site-info API 2023-02-15 17:22:44 +08:00
haitao.jarvis 8ca8d9dfa1 Merge pull request #204 from answerdev/feat/1.0.5/ui
Feat/1.0.5/UI
2023-02-15 16:47:38 +08:00
haitaoo a9eb0cf461 fix(Flags): Fixed font size for username and reputation 2023-02-15 16:42:08 +08:00
haitaoo a05607128f doc: Removing the README file from the ui directory is no longer necessary. 2023-02-15 16:26:29 +08:00
haitaoo 4544a19dd4 fix(Install): Update the error i18n field during installation 2023-02-15 16:19:25 +08:00
haitaoo d262f1fd8a feat(Question/Ask): Automatically set the tags on the url parameter when creating a question 2023-02-15 16:10:33 +08:00
aichy126 f0a8715053 Merge branch 'feat/1.0.5/deltag' into test 2023-02-15 15:51:26 +08:00
aichy126 edc06942d5 add input sanitizer 2023-02-15 15:51:12 +08:00
LinkinStars 12109fdb24 Merge branch 'github-main' into feature-plugin
# Conflicts:
#	ui/src/utils/guard.ts
2023-02-15 15:43:19 +08:00
LinkinStars daa2a785e9 fix(plugin): Adding missing table. 2023-02-15 15:34:11 +08:00
aichy126 5543d0adbb Merge branch 'feat/1.0.5/deltag' into test 2023-02-15 15:10:57 +08:00
aichy126 921cd3465f update sitemap time format 2023-02-15 15:10:39 +08:00
LinkinStars ff64dabd16 Merge remote-tracking branch 'github/feat/ui-1.1.0' into feature-plugin 2023-02-15 15:03:51 +08:00
aichy126 6abb196e00 update question answer delete status 2023-02-15 15:01:58 +08:00
aichy126 6b094b39b5 Merge branch 'feat/1.0.5/deltag' into test 2023-02-15 12:22:15 +08:00
aichy126 a2b036cc16 add tags search 2023-02-15 12:21:59 +08:00
haitaoo 027ecf294c feat(Question): Automatically attach tag parameters to question links when rendering tag detail pages 2023-02-15 11:55:27 +08:00
haitao.jarvis bf9ee2a4d0 Merge pull request #202 from answerdev/feat/1.0.5/ui
Feat/1.0.5/UI
2023-02-14 18:06:30 +08:00
haitaoo ce88efb174 fix(TagInfo): Set the correct permissions and prompt text for deleting tags 2023-02-14 17:46:00 +08:00
haitaoo d8409d5e26 fix(Editor): Error message handling in case of image upload failure 2023-02-14 16:39:13 +08:00
aichy126 f9f0aee325 Merge branch 'feat/1.0.5/deltag' into test 2023-02-14 16:12:57 +08:00
aichy126 83763a1095 update action goproxy 2023-02-14 16:12:45 +08:00
aichy126 eb19f0dc7f Merge branch 'feat/1.0.5/deltag' into test 2023-02-14 15:54:32 +08:00
aichy126 c9b697318f add GetTagSynonymCount 2023-02-14 15:53:35 +08:00
aichy126 7eb481204f Merge branch 'feat/1.0.5/deltag' into test 2023-02-14 15:29:43 +08:00
aichy126 cbc300ee19 update tag delete 2023-02-14 15:29:07 +08:00
LinkinStars 3fbecefdf3 feat(plugin): Support for specifying different plugin version 2023-02-14 14:23:35 +08:00
LinkinStars 8d757c6c58 docs(docker): add healthcheck for docker compose 2023-02-13 18:09:55 +08:00
LinkinStars 07d9f56975 docs(docker): update docker compose for auto install 2023-02-13 17:33:03 +08:00
LinkinStars 24aaf7f49a feat(install): Remove outdated function about reserved username 2023-02-13 17:25:37 +08:00
LinkinStars 7380c93eb4 feat(install): Automatically complete installation based on environment variable. 2023-02-13 17:07:28 +08:00
shuai 8a0f4f1600 fix: form optional translation field unification 2023-02-13 16:42:08 +08:00
shuai d005507d55 fix: cancel the front-end verification on the question page 2023-02-13 15:23:20 +08:00
lcgash@163.com 1a5cdba578 fix: 修复取消点赞报错的问题 2023-02-10 18:34:30 +08:00
LinkinStars 49eb28cc1a Merge branch 'main' into dev 2023-02-10 18:31:35 +08:00
aichy126 a602aa85a2 update github action 2023-02-10 18:14:24 +08:00
aichy126 1380696f53 update github action 2023-02-10 18:11:49 +08:00
LinkinStars b6ba5d208b Merge pull request #199 from answerdev/github/action
update github action
2023-02-10 17:49:03 +08:00
aichy126 3e036d4022 update github action 2023-02-10 17:34:33 +08:00
haitao.jarvis b11dbae971 Merge pull request #165 from realMorrisLiu/fix-avatar-squash-in-users-page
fix: fix avatar squash in users page
2023-02-10 15:19:21 +08:00
dashuai 16e1805bb4 Merge pull request #194 from answerdev/hotfix/i18n-addResourceBundle
fix(i18n): Fixes for multilingual file loading and updating issues
2023-02-10 12:15:31 +08:00
haitaoo 6eff356eca fix(i18n): Fixes for multilingual file loading and updating issues 2023-02-10 11:53:50 +08:00
shuai 1111becfd0 fix: punctuation marks 2023-02-09 16:39:03 +08:00
shuai 399c33c946 fix: prompt that the browser version is too low #192 2023-02-09 16:32:24 +08:00
LinkinStars 8cc539fb71 docs(ci): Update CI configuration about image tag 2023-02-08 17:23:49 +08:00
LinkinStars 4fb84da1c1 Merge remote-tracking branch 'github/githubaction' into github-dev 2023-02-08 17:15:30 +08:00
LinkinStars 6bf83b2033 docs(ci): Update CI configuration 2023-02-08 17:12:53 +08:00
aichy126 2c40a061da update dev action 2023-02-08 17:08:06 +08:00
aichy126 85e06e63d3 update dev action 2023-02-08 16:29:20 +08:00
aichy126 05110e13bf action 2023-02-08 16:22:55 +08:00
LinkinStars f9a1ffb7e5 Merge branch 'github-dev' into feat/ui-1.1.0
# Conflicts:
#	i18n/zh_CN.yaml
2023-02-08 14:40:39 +08:00
aichy126 1ffc5322b6 Merge branch 'githubaction' of github.com:answerdev/answer into githubaction 2023-02-08 14:14:33 +08:00
aichy126 4a6a14d4b5 update action goreleaser 2023-02-08 14:14:11 +08:00
LinkinStars 2fe00d4630 Merge branch 'github-dev' into feature-plugin 2023-02-08 12:01:27 +08:00
aichy126 10b59e0e27 Merge branch 'githubaction' into main
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled
2023-02-07 13:38:32 +00:00
aichy126 456fdb6189 update github action 2023-02-07 13:19:50 +00:00
aichy126 eab1e8692e Merge branch 'githubaction' into main 2023-02-07 12:50:31 +00:00
aichy126 831c72e3d1 update github action 2023-02-07 12:31:03 +00:00
aichy126 6f8069b0a2 update action dockerfile 2023-02-07 12:19:24 +00:00
aichy126 0230fdb9de Merge branch 'githubaction' 2023-02-07 18:10:04 +08:00
linkinstar c3001de52a Merge branch 'release/1.0.4' into 'main'
fix(i18n): Resolve an issue that causes unexpected errors when translation...

See merge request opensource/answer!438
2023-02-07 10:00:54 +00:00
aichy126 860b1a3bd8 update img header 2023-02-07 17:55:31 +08:00
LinkinStars a8c2982a91 Merge branch 'github-main' into release/1.0.4
# Conflicts:
#	i18n/en_US.yaml
2023-02-07 17:38:58 +08:00
aichy126 4f8771cdff update renderAutoLink 2023-02-07 16:46:52 +08:00
aichy126 61eea32a90 update github action 2023-02-07 15:25:42 +08:00
aichy126 9cc7b05b08 update github action 2023-02-07 15:25:31 +08:00
aichy126 87f96839e2 update action add cache 2023-02-07 15:08:52 +08:00
aichy126 6cda84d350 update github action 2023-02-07 14:38:17 +08:00
aichy126 53bfd1d551 update action 2023-02-07 14:35:23 +08:00
LinkinStars 964e6bd2d4 fix(upload): add image file check 2023-02-06 19:04:05 +08:00
aichy126 572cd58e5d update build docker img 2023-02-06 18:59:39 +08:00
aichy126 7b177ec2cb update github action 2023-02-06 18:18:13 +08:00
aichy126 7439fca63c Merge branch 'main' of github.com:answerdev/answer 2023-02-06 17:48:02 +08:00
aichy126 3d541b2a2e Merge branch 'release/1.0.4' 2023-02-06 17:47:27 +08:00
aichy126 808a2ebc12 update go mod 2023-02-06 17:42:42 +08:00
LinkinStars fc396ef987 fix(i18n): Resolve an issue that causes unexpected errors when translation files for unsupported languages are not properly initialized. 2023-02-06 15:51:44 +08:00
aichy126 7fbff41701 Merge branch 'release/1.0.4' 2023-02-06 15:41:43 +08:00
aichy126 600a724e91 update go mod sum 2023-02-06 15:38:31 +08:00
aichy126 c98485f1f8 Merge branch 'release/1.0.4' 2023-02-06 15:15:08 +08:00
aichy126 c21f632c96 update build docker img 2023-02-06 15:14:56 +08:00
aichy126 365b6e1b92 Merge branch 'release/1.0.4' 2023-02-06 14:11:44 +08:00
aichy126 d798b7be44 update action docker build 2023-02-06 14:11:35 +08:00
aichy126 22bd91c958 Merge branch 'main' of github.com:answerdev/answer 2023-02-06 13:44:11 +08:00
aichy126 0a858b1542 Merge branch 'release/1.0.4' 2023-02-06 13:43:40 +08:00
aichy126 2d8457419d update github action dockerhub img 2023-02-06 13:43:13 +08:00
LinkinStars 9c2d2b1df4 Merge branch 'github-main' into feature-plugin 2023-02-06 11:25:53 +08:00
joyqi 7343a7468a Merge pull request #118 from ShrutiC-git/uffizzi
Preview Environment for PRs on Answer
2023-02-06 11:08:39 +08:00
LinkinStars a7a8cbf35c docs(i18n): Update i18n files 2023-02-06 10:56:07 +08:00
linkinstar f93fb6b709 Merge branch 'release/1.0.4' into 'main'
Release/1.0.4

See merge request opensource/answer!437
2023-02-06 02:49:53 +00:00
LinkinStars b5509a87f7 Merge branch 'main' into release/1.0.4
# Conflicts:
#	i18n/en_US.yaml
2023-02-06 10:49:04 +08:00
linkinstar ca137f1701 Merge branch 'github-pr' into 'main'
New Crowdin updates (#175)

See merge request opensource/answer!436
2023-02-06 02:38:45 +00:00
Fen 15105a8822 New Crowdin updates (#175)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* Update en_US.yaml

fix user display name length

* update mark

* update select

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Armenian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Albanian)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Bengali)

* New translations en_US.yaml (Azerbaijani)

* New translations en_US.yaml (Bosnian)

* New translations en_US.yaml (Balochi)

* New translations en_US.yaml (Balinese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* fix typo

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Chinese Traditional)
2023-02-06 10:31:45 +08:00
LinkinStar 92d8e5b6e4 docs(makefile): upgrade version 2023-02-06 10:25:08 +08:00
shuai dfcd64e2a4 fix: optimize third-party login display name 2023-02-03 17:49:48 +08:00
haitao(lj) e8246433a2 Merge branch 'feat/ui-1.0.4' into feat/ui-1.1.0 2023-02-03 16:49:14 +08:00
aichy126 000a0b5f70 update sqlite 2023-02-03 15:37:58 +08:00
aichy126 71b89fa750 update goreleaser 2023-02-03 15:22:05 +08:00
Li Shuailing c7c293cdac Merge branch 'feat/ui-1.0.4' into 'test'
fix(Question): Optimise the display of check information for Question related form fields

See merge request opensource/answer!432
2023-02-03 03:39:10 +00:00
haitao(lj) e4e48ffab0 fix(Question): Optimise the display of check information for Question related form fields 2023-02-03 11:02:38 +08:00
LinkinStar 768037a527 Merge branch 'feat/1.0.4/comment' into test 2023-02-03 11:00:57 +08:00
shuai ea4c67cf2a fix: add key 2023-02-02 18:06:04 +08:00
shuai 28e17d95c3 fix: oauth button styles for uses setting 2023-02-02 18:04:26 +08:00
LinkinStar b7356ba875 fix(comment): add comment original text notblank condition 2023-02-02 17:40:39 +08:00
aichy126 af5e3f4e48 update question validate 2023-02-02 17:01:52 +08:00
aichy126 e3557b9c98 update question validate 2023-02-02 16:50:37 +08:00
aichy126 749c8f041d Merge branch 'feat/1.0.4/comment' into test 2023-02-02 16:40:47 +08:00
aichy126 c10dfb9884 update question validate 2023-02-02 16:39:51 +08:00
LinkinStar 70da7357c3 Merge branch 'feat/1.0.4/comment' into test 2023-02-02 16:31:16 +08:00
LinkinStar 052ec0ceb0 fix(comment): add comment original text limiting condition 2023-02-02 16:30:37 +08:00
LinkinStar 08143c61b8 Merge branch 'feat/1.0.4/comment' into test 2023-02-02 16:04:39 +08:00
LinkinStar 8002a152eb fix(markdown): remove all md field that after parsing 2023-02-02 16:03:53 +08:00
shuai 47695b90cf fix: oauth plugin icons used base64 data 2023-02-02 15:23:28 +08:00
aichy126 9de92822f3 update make plugin 2023-02-02 14:59:02 +08:00
robin 7a78428cd5 fix(ui): Fix the problem of abnormal loading of form data 2023-02-02 14:17:29 +08:00
robin 4f0ec66710 refactor(ui): Modify the input type name 2023-02-02 11:44:30 +08:00
aichy126 1bb404c91a Merge branch 'feat/1.0.4/comment' into test 2023-02-02 11:08:12 +08:00
aichy126 7bf44a41db update make file 2023-02-02 11:08:04 +08:00
aichy126 0047134d3f Merge branch 'feat/1.0.4/comment' into test 2023-02-02 11:06:41 +08:00
aichy126 26082bd23a update makefile 2023-02-02 11:06:32 +08:00
贾海涛(龙笛) 7a57cb5543 Merge branch 'feat/ui-1.0.4' into 'test'
Feat/ui 1.0.4

See merge request opensource/answer!431
2023-02-02 02:55:28 +00:00
haitao(lj) b4738439c9 fix(i18n): Update i18n files 2023-02-02 10:49:37 +08:00
aichy126 0d8d3fe84e Merge branch 'feat/1.0.4/comment' into test 2023-02-02 10:48:30 +08:00
aichy126 fce4ca7bd7 update makefile 2023-02-02 10:48:11 +08:00
aichy126 cef06e21c9 update makefile 2023-02-02 10:47:35 +08:00
aichy126 db3adcded8 Merge branch 'feat/1.0.4/comment' into test 2023-02-02 10:39:50 +08:00
aichy126 5fcd13e8db update make file 2023-02-02 10:39:37 +08:00
robin b655b13978 fix(ui): Solve the problem of using swr and useEffect together 2023-02-01 18:41:43 +08:00
aichy126 dbe558da75 Merge branch 'feat/1.0.4/comment' into test 2023-02-01 18:29:48 +08:00
aichy126 784aa042ad update github action on self-hosted 2023-02-01 18:29:31 +08:00
aichy126 bbe6b90292 del index.html 2023-02-01 18:20:42 +08:00
LinkinStar d538b531bd fix(plugin): remove quotation mark about version and add default revision 2023-02-01 18:20:33 +08:00
aichy126 9fd9e7ea14 Merge branch 'feat/1.0.4/comment' into test 2023-02-01 18:19:38 +08:00
aichy126 c7cb2ac735 ggpush 2023-02-01 18:18:11 +08:00
LinkinStar b4ae373309 fix(plugin): fix incorrect build version info package name 2023-02-01 18:14:54 +08:00
robin e3bc029fd2 docs(ui): update schema form doc 2023-02-01 17:48:07 +08:00
LinkinStar ebaaaff4f1 fix(plugin): add plugin migrations 2023-02-01 17:19:27 +08:00
LinkinStar 6a8d5e5984 Merge branch 'feat/1.0.4/comment' into feat/plugin/connector/github
# Conflicts:
#	internal/migrations/migrations.go
#	internal/migrations/v6.go
#	internal/service/user_common/user.go
#	internal/service/user_service.go
#	pkg/checker/reserved_username.go
#	ui/build/index.html
2023-02-01 17:02:00 +08:00
LinkinStar 44480d8986 feat(plugin): add build plugin commend 2023-02-01 16:50:18 +08:00
aichy126 74655b7b40 Merge branch 'feat/1.0.4/comment' into test 2023-02-01 16:47:02 +08:00
aichy126 35a370dbd4 Merge branch 'feat/1.1.0/compile' into feat/1.0.4/comment 2023-02-01 16:46:35 +08:00
aichy126 26a764f74a Merge branch 'feat/1.0.4/comment' into test 2023-02-01 14:11:19 +08:00
aichy126 fe44d054c3 update AnswerAddReq 2023-02-01 14:11:01 +08:00
aichy126 d025df4168 Merge branch 'feat/1.0.4/comment' into test 2023-02-01 12:09:07 +08:00
贾海涛(龙笛) 523d785295 Merge branch 'feat/ui-1.0.4' into 'test'
Feat/ui 1.0.4

See merge request opensource/answer!430
2023-02-01 04:02:47 +00:00
haitao(lj) 783aa0eacf fix(answer): Update front-end validation rules for answer content 2023-02-01 11:59:12 +08:00
haitao(lj) dd16329a62 fix(EditAnswer): Form error message handling when edit answer 2023-02-01 11:36:22 +08:00
aichy126 86a10eaec7 update validate add notblank 2023-02-01 11:21:57 +08:00
LinkinStar ec871efc75 feat(validator): add notblank validation 2023-02-01 11:08:56 +08:00
贾海涛(龙笛) 5fa19e32f9 Merge branch 'feat/ui-1.0.4' into 'test'
fix(QuestionList): Set the correct pagination path for tag detail pages

See merge request opensource/answer!428
2023-01-31 09:11:53 +00:00
haitao(lj) 9100a99c0f fix(QuestionList): Set the correct pagination path for tag detail pages 2023-01-31 17:05:59 +08:00
贾海涛(龙笛) 1db3c5564b Merge branch 'feat/ui-1.0.4' into 'test'
fix(Question): Handling form errors when submitting answer

See merge request opensource/answer!427
2023-01-31 08:23:38 +00:00
haitao(lj) 1f2800c668 fix(Question): Handling form errors when submitting answer 2023-01-31 16:19:49 +08:00
haitao(lj) e0fb22a62d refactor(guard): Initialize the app by route entry 2023-01-31 15:40:33 +08:00
aichy126 ac1d2cc6dd Merge branch 'feat/1.0.4/comment' into test 2023-01-31 15:14:02 +08:00
aichy126 2395503ad8 update answer content 2023-01-31 15:13:50 +08:00
aichy126 6493695e36 Merge branch 'feat/1.0.4/comment' into test 2023-01-31 12:06:40 +08:00
aichy126 4d956f59b1 Merge branch 'feat/1.0.4/comment' of git.backyard.segmentfault.com:opensource/answer into feat/1.0.4/comment 2023-01-31 12:02:53 +08:00
aichy126 2c366b865f update markdown url 2023-01-31 12:02:51 +08:00
LinkinStar 483c51bab8 feat(comment): Notification of comments based on different priorities 2023-01-31 11:59:02 +08:00
LinkinStar b56d7cdad0 feat(comment): Notification of comments based on different priorities 2023-01-31 11:44:29 +08:00
贾海涛(龙笛) 4033a4f851 Merge branch 'feat/ui-1.0.4' into 'test'
Feat/ui 1.0.4

See merge request opensource/answer!426
2023-01-31 03:26:01 +00:00
haitao(lj) e79032741c Merge branch 'feat/ui-1.0.4' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.4 2023-01-31 11:12:58 +08:00
haitao(lj) 9b3eb443ed fix(Pagination): Improve the success rate of "back to top" operations on mobile devices. 2023-01-31 11:12:23 +08:00
aichy126 d44ae40624 Merge branch 'feat/1.0.4/comment' into test 2023-01-31 10:05:02 +08:00
aichy126 c1fa2b13f6 fix RetrievePassWord code 2023-01-31 10:04:52 +08:00
robin 7e3adc9795 refactor(ui): Improve the schema form type declaration 2023-01-30 18:08:06 +08:00
LinkinStar 21a354fb22 fix(comment): do not send notification when reply myself 2023-01-30 17:14:13 +08:00
LinkinStar 00e4f2c9de fix(comment): do not send notification when reply myself 2023-01-30 17:07:38 +08:00
robin 77c8bf0441 fix(ui): Fix issue with comment mentioning misbehavior 2023-01-30 16:49:36 +08:00
aichy126 a15a4ab22c Merge branch 'feat/1.0.4/comment' into test 2023-01-30 16:45:50 +08:00
aichy126 782eb7a452 update html canonical 2023-01-30 16:45:40 +08:00
aichy126 ca6231ba1c Merge branch 'feat/1.0.4/comment' into test 2023-01-30 16:19:12 +08:00
aichy126 7d6720309a update html canonical pages 2023-01-30 16:17:43 +08:00
aichy126 fa58176743 Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2023-01-30 15:50:19 +08:00
aichy126 4b3a7418d6 Merge branch 'feat/1.0.4/comment' into test 2023-01-30 15:50:13 +08:00
aichy126 011c992570 add html meta generator 2023-01-30 15:49:53 +08:00
aichy126 1ee34b884b update add db session 2023-01-30 15:25:43 +08:00
贾海涛(龙笛) d00f6e3476 Merge branch 'feat/ui-1.0.4' into 'test'
fix(i18n): Set the site_name in i18n to the configured value

See merge request opensource/answer!425
2023-01-30 06:26:48 +00:00
robin 160a9a0d81 chore(ui): add dependency library 2023-01-30 14:22:18 +08:00
robin 1813141f2c feat(ui): filter unsafe tags in html to prevent xss 2023-01-30 14:22:18 +08:00
haitao(lj) bf3efbb45e fix(i18n): Set the site_name in i18n to the configured value 2023-01-30 12:20:15 +08:00
杨光富 f701bb658f Merge branch 'fix/search' into 'test'
Fix/search

See merge request opensource/answer!424
2023-01-30 02:47:29 +00:00
kumfo 1aacf2802c style(search_repo): sql code style 2023-01-30 10:41:33 +08:00
kumfo 8b861b6fd7 fix(search_repo): question accept status error 2023-01-30 10:40:12 +08:00
kumfo 07a5f6c79c Merge branch 'dev' into fix/search 2023-01-30 10:22:43 +08:00
Ren Yubin 7e1d314dfc Merge branch 'feat/ui-1.0.4' into 'test'
Feat/ui 1.0.4

See merge request opensource/answer!423
2023-01-29 08:39:33 +00:00
robin 33637c0173 fix(ui): fix the problem of triggering the form submit method by mistake 2023-01-29 16:35:35 +08:00
shuai 4e77db3e27 fix: increase the number of lists with text descriptions 2023-01-29 16:33:05 +08:00
LinkinStar 03dbeff9e9 Merge branch 'feat/1.0.4/comment' into test 2023-01-29 16:12:07 +08:00
LinkinStar b361bbb486 fix(question): rename question created_at 2023-01-29 16:11:39 +08:00
mingcheng 198d293f0c optimize: update makefile for newer version of golang sdk. 2023-01-29 16:08:54 +08:00
mingcheng aeddf79da2 optimize: update makefile for newer version of golang sdk. 2023-01-29 15:58:34 +08:00
robin 4db1250193 fix(ui): fix the exception prompt of uncontrolled components in form 2023-01-29 15:45:33 +08:00
LinkinStar b20da69435 feat(version): Add the version number to the index html header 2023-01-29 11:30:05 +08:00
shuai 3dfa2095f9 fix: login status of some pages is lost 2023-01-29 10:39:57 +08:00
LinkinStar 92a82e1673 feat(comment): Add comment modification time limit condition 2023-01-28 16:53:12 +08:00
shuai d608145266 fix: welcome title 2023-01-28 11:27:42 +08:00
shuai d0bd2f4a98 fix: install pages step innital 2023-01-28 11:07:35 +08:00
shuai bdaf254af1 fix: username verification format #181 2023-01-28 11:05:31 +08:00
LinkinStar d355c823c3 fix(user): Add rules to restrict username during installation. fix #181 2023-01-28 10:40:01 +08:00
LinkinStar 1802e6fa2e refactor(plugin): Directory movement 2023-01-28 10:07:13 +08:00
LinkinStar 87f649faf7 docs(makefile): update main pkg to answercmd 2023-01-18 15:38:26 +08:00
LinkinStar 3ccdc8670e feat(plugin): Extracting the main function to answercmd pkg 2023-01-18 15:37:22 +08:00
LinkinStar 406ee34fa8 feat(plugin): rename plugin config repo 2023-01-18 12:08:16 +08:00
LinkinStar 8d0bd2be20 feat(plugin): Add plugin config repo 2023-01-18 10:39:55 +08:00
haitao(lj) ace2e72e77 fix(PluginConfig): Set plugin config form can update 2023-01-18 10:31:03 +08:00
LinkinStar 62bfb2b3f6 feat(user): Add a have password flag 2023-01-17 17:27:20 +08:00
shuai 487c6def61 Merge branch 'feat/ui-1.1.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.1.0 2023-01-17 11:51:47 +08:00
shuai 3466da2b0c feat(ui): unified management welcome 2023-01-17 11:51:42 +08:00
haitao(lj) 703ff79ed8 feat(Account): Allow password change when the original password is empty 2023-01-17 11:49:11 +08:00
shuai 2e5eca08f1 fix(ui): add control for my logins component 2023-01-16 18:41:04 +08:00
shuai b35d2564b5 fix(ui): resolve conflict 2023-01-16 18:38:27 +08:00
haitao(lj) be1da88036 chore: Remove debug code and fix defaultOpenKey for AccordionNav 2023-01-16 18:23:11 +08:00
aichy126 eacb307328 update ui gitignore 2023-01-16 17:32:08 +08:00
aichy126 1cd11a05ef update gitignore 2023-01-16 17:27:42 +08:00
aichy126 b6d441e0a2 update .gitignore 2023-01-16 17:22:49 +08:00
aichy126 d8cca77133 update goreleaser 2023-01-16 17:00:56 +08:00
haitao(lj) be1811294e feat(Plugins): Installed Plugins and plugin settings done 2023-01-16 17:00:06 +08:00
aichy126 0265c9f554 update sqlite 2023-01-16 16:59:03 +08:00
shuai d9ec8b15f1 fix: edit user information cancel profile to html 2023-01-16 16:48:04 +08:00
LinkinStar 020262f662 fix(user): convert user bio markdown 2023-01-16 16:35:12 +08:00
aichy126 1592807a8a update goreleaser 2023-01-16 16:28:21 +08:00
aichy126 7666a89a64 update userinfo html xss 2023-01-16 16:27:25 +08:00
LinkinStar 29aa3f7ef2 feat(plugin): add connector API 2023-01-16 16:27:23 +08:00
joyqi 27d36287bc Merge pull request #174 from benharvie/main
Create SECURITY.md
2023-01-16 11:20:57 +08:00
linkinstar f2046190d6 Merge branch 'release/1.0.3' into 'main'
Build Docker Hub Image / build (push) Has been cancelled
docs(makefile): upgrade version 1.0.3

See merge request opensource/answer!422
2023-01-16 02:57:46 +00:00
LinkinStar 61bdc24733 docs(makefile): upgrade version 1.0.3 2023-01-16 10:52:12 +08:00
linkinstar 006d89a405 Merge branch 'release/1.0.3' into 'main'
Release/1.0.3

See merge request opensource/answer!421
2023-01-16 02:50:35 +00:00
linkinstar 89f7464f6b Merge branch 'github-pr' into 'main'
New Crowdin updates (#133)

See merge request opensource/answer!420
2023-01-16 02:44:29 +00:00
LinkinStar e82e0f2639 Merge branch 'github-main' into github-pr 2023-01-16 10:37:57 +08:00
Fen b589d8db6a New Crowdin updates (#160)
* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (German)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Spanish)
2023-01-16 10:37:11 +08:00
robin 152d8d2f68 feat(ui): Add plugin configuration 2023-01-13 16:14:59 +08:00
robin b8cfde0425 feat(ui): add installed plugins page 2023-01-13 16:13:56 +08:00
aichy126 c960686f6b Merge branch 'feat/1.0.3/fixbug' into test 2023-01-13 15:59:00 +08:00
aichy126 a29dd54c80 Merge branch 'feat/1.0.3/fixbug' of git.backyard.segmentfault.com:opensource/answer into feat/1.0.3/fixbug 2023-01-13 15:58:33 +08:00
aichy126 6da8c3c2d8 update GetTagListByName 2023-01-13 15:58:29 +08:00
Ben Harvie 341966bbee Create SECURITY.md 2023-01-13 07:39:39 +00:00
shuai 0529c10c54 fix: oauth asjustment 2023-01-13 15:11:26 +08:00
LinkinStar 072e5bfb21 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-13 13:03:43 +08:00
LinkinStar 382d6258a1 fix(user): The user status is changed in the admin to automatically activate the user. #173 2023-01-13 13:02:25 +08:00
shuai 3285d54ee9 fix: remove debugger 2023-01-13 12:27:43 +08:00
Li Shuailing fac70491a9 Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!419
2023-01-13 03:46:40 +00:00
shuai 3345cb5e7f style: skeleton screen transparency adjustment 2023-01-13 11:42:57 +08:00
shuai 479892b156 feat: add oauth plugin 2023-01-13 11:38:01 +08:00
haitao(lj) ecdd08496f doc(ui): Update the description of the front-end i18n directory 2023-01-12 11:16:33 +08:00
贾海涛(龙笛) 177d176388 Merge branch 'feat/ui-1.0.3' into 'test'
fix(i18N): Change description to desc

See merge request opensource/answer!418
2023-01-11 10:14:42 +00:00
haitao(lj) 0c5c2d652f fix(i18N): Change description to desc 2023-01-11 18:11:06 +08:00
贾海涛(龙笛) 5f30fc88da Merge branch 'feat/ui-1.0.3' into 'test'
fix(Question): Set markdown render by server api

See merge request opensource/answer!417
2023-01-11 09:46:28 +00:00
haitao(lj) c9d4f5d7fa fix(Question): Set markdown render by server api 2023-01-11 17:42:07 +08:00
linkinstar 97bf548fcc Merge branch 'feat/1.0.3/fixbug' into 'test'
Feat/1.0.3/fixbug

See merge request opensource/answer!416
2023-01-11 09:39:04 +00:00
LinkinStar fc0b0bcbcf feat(render): add render API 2023-01-11 17:34:12 +08:00
LinkinStar 08206346b0 feat(converter): update markdown converter 2023-01-11 11:46:03 +08:00
aichy126 a83b4c3bd3 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-11 11:31:32 +08:00
aichy126 290ab87d13 update userinfo 2023-01-11 11:31:22 +08:00
aichy126 86bf2a54d9 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-11 11:20:08 +08:00
aichy126 8f4a4ca985 update SiteBranding 2023-01-11 11:19:55 +08:00
贾海涛(龙笛) a07fd7d4e9 Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!415
2023-01-11 03:14:12 +00:00
haitao(lj) 9030dc5bf5 Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3 2023-01-11 11:10:37 +08:00
haitao(lj) 8a11d94c1b fix(Branding): Set all branding field optional 2023-01-11 11:10:33 +08:00
robin a526276e2a refactor(ui): remove style 2023-01-11 11:02:52 +08:00
robin 872f004d27 fix(ui): Solve the problem of mention fails 2023-01-11 10:30:08 +08:00
LinkinStar 3199693d44 feat(plugin): add update plugin status API 2023-01-11 10:02:45 +08:00
贾海涛(龙笛) cb31987b25 Merge branch 'feat/ui-1.0.3' into 'test'
fix(Questions): Change welcome card button to normal button

See merge request opensource/answer!414
2023-01-10 09:02:08 +00:00
haitao(lj) 9884d799db fix(Questions): Change welcome card button to normal button 2023-01-10 16:56:58 +08:00
shuai a88b476803 Merge branch 'feat/ui-1.1.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.1.0 2023-01-10 16:49:56 +08:00
shuai 0a1f1b1372 chore: add oauth pages 2023-01-10 16:49:50 +08:00
LinkinStar 7331b49623 feat(plugin): update plugin interface 2023-01-10 16:43:42 +08:00
Ren Yubin 94672d7185 Merge branch 'feat/ui-1.0.3' into 'test'
refactor(ui): The editor is not loaded by default

See merge request opensource/answer!413
2023-01-10 08:43:33 +00:00
robin 1dbc07260f refactor(ui): The editor is not loaded by default 2023-01-10 16:39:30 +08:00
贾海涛(龙笛) ad1beb99cd Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!412
2023-01-10 08:31:44 +00:00
haitao(lj) 8f8be24ddd Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3 2023-01-10 16:25:31 +08:00
haitao(lj) 9a28d8f6c6 feat(tryLoggedAndNormal): Add loginToContinue modal for tryLoggedAndNormal guard 2023-01-10 16:25:26 +08:00
Ren Yubin 0d39c52319 Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!411
2023-01-10 07:49:05 +00:00
robin a12a654064 refactor(ui): remove useless styles 2023-01-10 15:45:06 +08:00
robin 2c23b8396b feat(ui): add border and responsive on table 2023-01-10 15:42:40 +08:00
robin c08051ec27 feat(ui): add border and responsive on table 2023-01-10 15:35:21 +08:00
aichy126 57bc3f6e06 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-10 15:08:44 +08:00
aichy126 59df0aecd6 update SlugName 2023-01-10 15:08:31 +08:00
aichy126 f592b84c04 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-10 14:51:38 +08:00
aichy126 27cfeb7dda update index.html 2023-01-10 14:51:27 +08:00
aichy126 41c3cf3aac Merge branch 'feat/ui-1.0.3' into feat/1.0.3/fixbug 2023-01-10 14:49:08 +08:00
aichy126 38dd96ff73 update slugname 2023-01-10 14:48:51 +08:00
LinkinStar 8575bbf8c8 feat(plugin): external user login add access token 2023-01-10 14:24:32 +08:00
LinkinStar fe6a53fb62 fix(plugin): connector use site url to redirect 2023-01-10 12:20:14 +08:00
贾海涛(龙笛) e6508a71b7 Merge branch 'feat/ui-1.0.3' into 'test'
fix(Questions): Set the `FollowingTags` card only show when logged

See merge request opensource/answer!410
2023-01-10 03:37:57 +00:00
haitao(lj) 0954d09db7 fix(Questions): Set the FollowingTags card only show when logged 2023-01-10 11:34:26 +08:00
robin 6a3e6da237 refactor(ui): add default option 2023-01-10 11:26:54 +08:00
robin d02d086d45 refactor: update en_US.yaml 2023-01-10 11:22:59 +08:00
贾海涛(龙笛) 356c43d215 Merge branch 'feat/ui-1.0.3' into 'test'
feat(Questions): Add welcome card for page questions

See merge request opensource/answer!409
2023-01-10 03:00:28 +00:00
haitao(lj) b05db2a054 feat(Questions): Add welcome card for page questions 2023-01-10 10:54:41 +08:00
robin d3a803d8a6 refactor: add defaultValue to the form 2023-01-09 18:46:41 +08:00
LinkinStar ec01c3e047 feat(plugin): remove external user login authentication route 2023-01-09 18:43:52 +08:00
贾海涛(龙笛) d961403c4f Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!407
2023-01-09 10:20:59 +00:00
haitao(lj) a228dc3914 Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3 2023-01-09 18:17:26 +08:00
haitao(lj) aa97d3d55c fix(Tag): Remove toLowerCase for tag slugName 2023-01-09 18:17:20 +08:00
Ren Yubin a48767acd5 Merge branch 'feat/ui-1.0.3' into 'test'
fix: remove focus style from editor toolItem

See merge request opensource/answer!406
2023-01-09 09:55:44 +00:00
robin 5a1892935b fix: remove focus style from editor toolItem 2023-01-09 17:51:23 +08:00
贾海涛(龙笛) ec8aab2faa Merge branch 'feat/ui-1.0.3' into 'test'
fix: lables nesting error

See merge request opensource/answer!405
2023-01-09 09:47:21 +00:00
haitao(lj) 2e7e4806d1 Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3 2023-01-09 17:43:10 +08:00
haitao(lj) a4f69d24d5 fix(scroll): Set scroll position for Question detail 2023-01-09 17:43:05 +08:00
robin 4a40f77c56 fix: solve the problem that comments cannot be deleted 2023-01-09 17:35:59 +08:00
haitao(lj) 5617a4eb0e Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3 2023-01-09 17:07:47 +08:00
haitao(lj) 2b581522f2 fix(Question): Sanitize the HTML for question content 2023-01-09 17:07:42 +08:00
robin 8acd8d6543 fix: solve the problem that comments cannot be deleted 2023-01-09 17:02:07 +08:00
LinkinStar 06db2bd091 feat(plugin): The third-party login send binding email 2023-01-09 16:54:20 +08:00
morris.liu e04b194092 fix: fix avatar squash in users page 2023-01-09 16:47:45 +08:00
aichy126 81b0f9f6dd Merge branch 'feat/1.0.3/fixbug' into test 2023-01-09 15:45:50 +08:00
aichy126 7ed8a7d633 update username 2023-01-09 15:45:36 +08:00
haitao(lj) c0cf0e6861 fix(siteName): Use dynamic site names on registration and login pages 2023-01-09 15:21:25 +08:00
haitao(lj) 5758868106 fix(settings/seo): set font-monospace className for robots field 2023-01-09 14:42:49 +08:00
haitao(lj) e819ed1a77 Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3 2023-01-06 18:44:38 +08:00
haitao(lj) e670a6fbec fix(Comment): Block data submission when comment value is empty 2023-01-06 18:44:29 +08:00
shuai 36d96d62b7 fix: lables nesting error 2023-01-06 18:44:04 +08:00
linkinstar f461199618 Merge branch 'fix/1.0.3/i18n' into 'test'
fix(i18n): If the translation content is not found, use the default language for translation

See merge request opensource/answer!404
2023-01-06 10:04:40 +00:00
LinkinStar 5c2723e617 fix(i18n): If the translation content is not found, use the default language for translation 2023-01-06 18:00:51 +08:00
LinkinStar 1db4f5586b fix(plugin): add external login binding send email interface 2023-01-06 17:22:09 +08:00
Fen 56bea6cf85 New Crowdin updates (#133)
* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Simplified)

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2023-01-06 17:20:38 +08:00
Li Shuailing 1629e756e2 Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!403
2023-01-06 08:05:21 +00:00
shuai f5f9958627 fix: editor autofoucs state error 2023-01-06 16:00:33 +08:00
LinkinStar 01c02ae2b7 fix(plugin): add user external login repo 2023-01-06 14:48:41 +08:00
LinkinStar 81d786ff66 feat(plugin): add user external login service 2023-01-06 14:34:53 +08:00
shuai eeef187335 fix: stick text #155 2023-01-06 12:15:20 +08:00
Li Shuailing 9bee9ef356 Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!402
2023-01-06 03:48:09 +00:00
shuai 9b2f6e466f fix: fix: remove test code 2023-01-06 11:26:15 +08:00
shuai 262240594e fix: skeleton screen style adjustment 2023-01-06 11:25:31 +08:00
LinkinStars 06a596c564 Merge pull request #152 from g0ne150/fix-sql-error-in-mysql8
Fix sql error in mysql8+
2023-01-06 09:54:39 +08:00
Li Shuailing 7ffeed88d7 Merge branch 'feat/ui-1.0.3' into 'test'
feat: highlight anination adjustment

See merge request opensource/answer!401
2023-01-05 09:29:20 +00:00
shuai 025977fd4b feat: highlight anination adjustment 2023-01-05 17:13:04 +08:00
Li Shuailing 492b4d8655 Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!400
2023-01-05 08:42:52 +00:00
shuai a6b0827a2f feat: repeat label reminder style adjustment 2023-01-05 15:57:22 +08:00
shuai b19e496aa6 Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3 2023-01-05 14:37:22 +08:00
贾海涛(龙笛) 2e18cd3e2a Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!399
2023-01-05 06:34:58 +00:00
haitao(lj) 54c169e189 feat(Tag): Remove the character check from the tag 2023-01-05 14:30:07 +08:00
shuai fe22049abb Merge branch 'feat/ui-1.0.3' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.3 2023-01-05 14:22:32 +08:00
shuai 0526bb95b6 feat: Increase the skeleton screen loading effect 2023-01-05 14:22:25 +08:00
haitao(lj) f4da6c2345 feat(Question): add bgFadeOut for some anchor 2023-01-05 12:23:09 +08:00
贾海涛(龙笛) 16fc982fc9 Merge branch 'feat/ui-1.0.3' into 'test'
Feat/ui 1.0.3

See merge request opensource/answer!398
2023-01-04 10:03:07 +00:00
haitao(lj) 6f9250ead6 fix(Router): Redirect to previous page after login or logout 2023-01-04 17:58:19 +08:00
LinkinStar 1664eb7d16 feat(plugin): google connector 2023-01-04 17:43:16 +08:00
贾海涛(龙笛) a7cb6ff357 Merge branch 'feat/ui-1.0.3' into 'test'
fix(request): Remove unnecessary baseURL config field

See merge request opensource/answer!397
2023-01-04 07:32:21 +00:00
shuai df191fa736 fix: adjust the display style of user information on the details page 2023-01-04 15:31:59 +08:00
haitao(lj) 1f262199cf fix(request): Remove unnecessary baseURL config field 2023-01-04 15:25:32 +08:00
Zapan Gao 29bf82f62e Fix sql error in mysql8+ 2023-01-04 14:44:21 +08:00
linkinstar f504ba5a61 Merge branch 'github/pr' into 'main'
docs(README): Update CONTRIBUTING and Installation link address in README.md

See merge request opensource/answer!396
2023-01-04 06:36:40 +00:00
LinkinStar 2cc8523483 docs(README): Update CONTRIBUTING and Installation link address in README.md
Build Docker Hub Image / build (push) Has been cancelled
2023-01-04 11:25:59 +08:00
linkinstar 012bcdc071 Merge branch 'release/1.0.2' into 'main'
fix(tag): It is not necessary to add a query with reserved tags when searching...

See merge request opensource/answer!395
2023-01-04 03:18:44 +00:00
LinkinStar 2297da2f98 docs(makefile): upgrade version 1.0.2 2023-01-04 11:14:18 +08:00
LinkinStar 62cc5425c8 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2023-01-04 10:57:24 +08:00
aichy126 491911a83d update tag-detail template 2023-01-04 10:56:32 +08:00
linkinstar 4ae45e5709 Merge branch 'github/pr' into 'main'
Github/pr

See merge request opensource/answer!394
2023-01-04 02:45:37 +00:00
LinkinStars 577c9e5c88 Merge pull request #149 from davidchua/update-install-doc-for-install-port-env
Update INSTALL doc for required INSTALL_PORT env
2023-01-04 10:36:09 +08:00
LinkinStar 5a2fea3637 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2023-01-04 10:10:10 +08:00
LinkinStar 640ae6e3b9 fix(question): Incorrect empty query condition in postgres causes query problem bug. Fix #148 2023-01-04 10:09:37 +08:00
LinkinStar 154fa84bbb feat(plugin): github connector 2023-01-03 18:31:32 +08:00
lion.jarvis 802f36f9a3 Merge pull request #135 from iamtun/fix/baseURL
update baseUrl -> baseURL in file request in line 14
2023-01-03 11:59:20 +08:00
David Chua 2f9ba1a708 Update INSTALL doc for required INSTALL_PORT env 2023-01-02 22:39:24 +08:00
LinkinStar 886fae7ab0 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-30 18:14:59 +08:00
LinkinStar 6b9fa98e48 feat(question): If user edit question, update last edit user id 2022-12-30 18:07:23 +08:00
Li Shuailing 651d1a523e Merge branch 'feat/ui-1.0.2' into 'test'
fix: question list add operator info

See merge request opensource/answer!393
2022-12-30 09:34:28 +00:00
shuai b7152d5f0d fix: question list add operator info 2022-12-30 17:30:10 +08:00
LinkinStar 7268fe2331 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-30 17:09:47 +08:00
LinkinStar 96e292462e feat(question): Adjust the home page problem list display rules 2022-12-30 17:09:32 +08:00
LinkinStar 568aa7ae18 feat(migration): Add upgrade configuration for new message email notification. 2022-12-30 11:23:10 +08:00
LinkinStar 913a78a1af fix(user): Check whether the username meets the requirements when the user update it. 2022-12-30 11:23:10 +08:00
LinkinStar 2d79482efe feat(migration): Add upgrade configuration for new message email notification. 2022-12-30 11:22:41 +08:00
LinkinStar 8a0cf37955 fix(user): Check whether the username meets the requirements when the user update it. 2022-12-30 10:51:54 +08:00
杨光富 34d600006f Merge branch 'fix/search' into 'test'
Fix/search

See merge request opensource/answer!392
2022-12-29 13:53:16 +00:00
kumfo b97a4610d8 fix(search_repo): #issues/142 the SQL is incompatible in sqlite, change SQL to fix. 2022-12-29 20:52:30 +08:00
kumfo 9444b71bd9 Merge branch 'dev' into fix/search 2022-12-29 19:52:15 +08:00
LinkinStar ddf8b80e6a Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-29 14:50:43 +08:00
LinkinStar 0628e52da0 fix(user): Prompt the form when the username is invalid 2022-12-29 14:49:40 +08:00
杨光富 54a2a6256d Merge branch 'fix/excerpt' into 'test'
fix(htmltext): FetchExcerpt if actual string length <= expected string length, no need trim marker

See merge request opensource/answer!390
2022-12-28 10:15:36 +00:00
LinkinStar e1e9d65be1 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-28 18:08:52 +08:00
LinkinStar 302d1362b0 fix(tags): tags in search result should be sort 2022-12-28 18:08:34 +08:00
LinkinStar d6f25f3057 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-28 17:29:29 +08:00
LinkinStar 72f512553a refactor(code): replace outdated function 2022-12-28 17:20:55 +08:00
LinkinStar 35dbd269f9 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-28 17:13:56 +08:00
LinkinStar 427753a161 feat(user): user can't use reserved username 2022-12-28 17:12:20 +08:00
Li Shuailing 1d6a5c6123 Merge branch 'feat/ui-1.0.2' into 'test'
Feat/ui 1.0.2

See merge request opensource/answer!391
2022-12-28 03:11:47 +00:00
LinkinStar 122736c1c3 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-28 11:04:53 +08:00
LinkinStar 81135192e1 fix(tag): It is not necessary to add a query with reserved tags when searching for tags using the title 2022-12-28 11:04:36 +08:00
shuai 29b1c00d6a Merge branch 'feat/ui-1.0.2' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.2 2022-12-28 10:35:40 +08:00
shuai 68f7fa6ddc fix: content add text-break class 2022-12-28 10:35:32 +08:00
贾海涛(龙笛) 748f7bdeb6 Merge branch 'feat/ui-1.0.2' into 'test'
feat(HotQuestions): Hot questions maximum request 6 items

See merge request opensource/answer!389
2022-12-27 10:15:25 +00:00
haitao(lj) 6ef3182473 feat(Unsubscribe): Access the unsubscribe API 2022-12-27 18:10:31 +08:00
LinkinStar 93e7a1f4e3 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-27 17:42:54 +08:00
LinkinStar 81f914d72f feat(notification): Email notice when a user answers or comment 2022-12-27 17:42:23 +08:00
haitao(lj) 2b65141625 Merge branch 'feat/ui-1.0.2' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.2 2022-12-27 11:36:32 +08:00
haitao(lj) f4f2e05482 feat(Users): Add user unsubscribe result 2022-12-27 11:36:26 +08:00
kumfo 83a78737c3 fix(htmltext): FetchExcerpt if actual string length <= expected string length, no need trim marker 2022-12-27 10:46:34 +08:00
shuai 758c85e844 Merge branch 'feat/ui-1.0.2' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.2 2022-12-27 10:28:37 +08:00
shuai 82dfb42aef fix: html remove escape character optimization 2022-12-27 10:28:31 +08:00
haitao(lj) 14b21d5187 feat(HotQuestions): Hot questions maximum request 6 items 2022-12-27 09:45:29 +08:00
Li Shuailing 94138d4d1d Merge branch 'feat/ui-1.0.2' into 'test'
Feat/ui 1.0.2

See merge request opensource/answer!388
2022-12-26 09:10:09 +00:00
LinkinStar af930eb425 feat(install): The first installation automatically switches to the installation url 2022-12-26 15:44:40 +08:00
LinkinStar 27e84f9ea8 feat(install): The first installation automatically switches to the installation url 2022-12-26 15:41:55 +08:00
shuai cc5eed7a09 Merge branch 'feat/ui-1.0.2' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.2 2022-12-26 14:10:13 +08:00
shuai 3f6253e3c2 fix: create new tag set default value 2022-12-26 14:10:07 +08:00
贾海涛(龙笛) 2e7349fff8 Merge branch 'feat/ui-1.0.2' into 'test'
Feat/ui 1.0.2

See merge request opensource/answer!387
2022-12-26 04:54:43 +00:00
haitao(lj) 78ab837e57 Merge branch 'feat/ui-1.0.2' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.2 2022-12-26 12:49:08 +08:00
haitao(lj) 1fc7af13c2 fix: More thorough use of the link jumping feature of the routing component 2022-12-26 12:49:02 +08:00
LinkinStar 36020bdbd6 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-26 11:53:25 +08:00
LinkinStar 48a54e8139 fix(smtp): Check From Name in SMTP is not a Email 2022-12-26 11:49:38 +08:00
shuai e6a3bb0ed7 Merge branch 'feat/ui-1.0.2' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.2 2022-12-26 10:35:59 +08:00
shuai 8be86ae71f fix: the latest list shows author information optimization 2022-12-26 10:35:52 +08:00
贾海涛(龙笛) b6b2645631 Merge branch 'feat/ui-1.0.2' into 'test'
Feat/ui 1.0.2

See merge request opensource/answer!386
2022-12-26 02:28:58 +00:00
haitao(lj) ae66685c1e Merge branch 'feat/ui-1.0.2' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.0.2 2022-12-26 10:18:15 +08:00
haitao(lj) feddfffdde refactor(Dashboard): Feedback Change to Support 2022-12-26 10:18:07 +08:00
shuai 35d99c8656 fix: tab history display exception 2022-12-26 10:01:04 +08:00
linkinstar 7085cfa7ed Merge branch 'release/1.0.1' into 'main'
Build Docker Hub Image / build (push) Has been cancelled
Release 1.0.1

See merge request opensource/answer!385
2022-12-24 05:02:27 +00:00
LinkinStar 72b480e3ee docs(makefile): Upgrade 1.0.1 2022-12-24 12:57:18 +08:00
LinkinStar d025d4c8af Merge branch 'hot-fix/1.0.0' into test 2022-12-24 12:55:44 +08:00
LinkinStar f340625cfe Merge branch 'github-main' into hot-fix/1.0.0 2022-12-24 12:54:55 +08:00
贾海涛(龙笛) 34333fe2bf Merge branch 'hot-fix/1.0.0' into 'test'
feat(Share): Copy share link with title

See merge request opensource/answer!384
2022-12-23 09:29:02 +00:00
haitao(lj) 7d52f6b6e7 feat(Share): Copy share link with title 2022-12-23 17:25:23 +08:00
aichy e1d9837c18 Merge branch 'hot-fix/1.0.0' into test 2022-12-23 14:11:00 +08:00
aichy ded980b676 update captcha 2022-12-23 14:10:38 +08:00
linkinstar f29945a3ca Merge branch 'hot-fix/1.0.0' into 'test'
fix(markdown): Replace markdown parser.

See merge request opensource/answer!383
2022-12-23 05:59:56 +00:00
LinkinStar 5a348fd66d fix(markdown): Replace markdown parser. 2022-12-23 13:56:16 +08:00
linkinstar 603de6c2df Merge branch 'hot-fix/1.0.0' into 'test'
fix(markdown): Try to add extensions in markdown parser

See merge request opensource/answer!382
2022-12-23 05:17:13 +00:00
LinkinStar 98810da807 fix(markdown): Try to add extensions in markdown parser 2022-12-23 13:12:07 +08:00
杨光富 445f543166 Merge branch 'fix/search' into 'test'
fix(search/tag filter): tag search filter exclude the tag_rel is deleted

See merge request opensource/answer!381
2022-12-23 03:49:08 +00:00
kumfo b529bd8b8e fix(search/tag filter): tag search filter exclude the tag_rel is deleted 2022-12-23 11:45:33 +08:00
杨光富 6dd64314d5 Merge branch 'fix/search' into 'test'
fix(search/tag filter): tag search filter exclude the tag_rel is deleted

See merge request opensource/answer!380
2022-12-23 03:26:38 +00:00
kumfo 29b478cf27 fix(search/tag filter): tag search filter exclude the tag_rel is deleted 2022-12-23 11:22:59 +08:00
杨光富 ff79cc9bf5 Merge branch 'fix/seo' into 'test'
fix(seo/render): fixed seo template variable replace: {{v}} || {{ v }}

See merge request opensource/answer!379
2022-12-23 03:10:58 +00:00
kumfo d3bd190aca fix(seo/render): fixed seo template variable replace: {{v}} || {{ v }} 2022-12-23 11:07:24 +08:00
linkinstar 82bbca87a3 Merge branch 'hot-fix/1.0.0' into 'test'
fix(tag): Only if tag info is all same than without edit.

See merge request opensource/answer!378
2022-12-23 02:49:44 +00:00
LinkinStar 15777fccbc fix(tag): Only if tag info is all same than without edit. 2022-12-23 10:46:09 +08:00
linkinstar 689c8c52fc Merge branch 'hot-fix/1.0.0' into 'test'
Hot fix/1.0.0

See merge request opensource/answer!377
2022-12-23 02:27:33 +00:00
LinkinStar 06aa09bf35 fix(comment): Remove the judgment condition that you are not able to edit the comment. 2022-12-23 10:22:13 +08:00
杨光富 0fafdfeee9 Merge branch 'fix/search' into 'test'
Fix/search

See merge request opensource/answer!376
2022-12-22 09:06:01 +00:00
kumfo 7e8906ebb1 fix(issues/136): fixed tags filter search result 2022-12-22 17:00:52 +08:00
aichy 7f635308f2 Merge branch 'hot-fix/1.0.0-adopt' into test 2022-12-22 12:06:25 +08:00
aichy 40dea823e7 update index.html 2022-12-22 12:02:10 +08:00
aichy 3c18afc858 fix 2022-12-22 12:00:16 +08:00
aichy 3bc1110dbb Merge branch 'hot-fix/1.0.0' into test 2022-12-22 11:41:03 +08:00
aichy 8bd329f135 update add question 2022-12-22 11:40:56 +08:00
haitao(lj) 525dd2a18f fix(question): change adopt to accept 2022-12-22 11:35:20 +08:00
aichy b022c1f156 Merge branch 'hot-fix/1.0.0' into test 2022-12-22 11:28:13 +08:00
aichy c5f20d4e4f update GetActionType 2022-12-22 11:28:01 +08:00
aichy addd65f1b8 Merge branch 'hot-fix/1.0.0-adopt' into test 2022-12-22 11:07:18 +08:00
aichy b8077d37b3 update Adopt to Accept 2022-12-22 11:04:19 +08:00
aichy 3833716ac3 Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-21 16:56:53 +08:00
aichy 6ea5eb8016 Merge branch 'hot-fix/1.0.0' into test 2022-12-21 16:56:45 +08:00
aichy c5ce51c2a9 Merge branch 'hot-fix/1.0.0' of git.backyard.segmentfault.com:opensource/answer into hot-fix/1.0.0 2022-12-21 16:55:43 +08:00
aichy bcfeef1490 update name modification 2022-12-21 16:55:16 +08:00
贾海涛(龙笛) 773d91e30f Merge branch 'hot-fix/1.0.0' into 'test'
Hot fix/1.0.0

See merge request opensource/answer!375
2022-12-21 08:06:43 +00:00
haitao(lj) b60e093322 Merge branch 'hot-fix/1.0.0' of git.backyard.segmentfault.com:opensource/answer into hot-fix/1.0.0 2022-12-21 15:58:50 +08:00
haitao(lj) 714364aaed fix(Search): Adjust the border color of the list-group-item to default 2022-12-21 15:58:43 +08:00
haitao(lj) dc37679546 fix(Notifications): Adjust the border color of the list-group-item to default 2022-12-21 15:41:23 +08:00
aichy b3872dcf71 Merge branch 'hot-fix/1.0.0' into test 2022-12-21 15:33:53 +08:00
aichy f7931433d2 update question add 2022-12-21 15:33:44 +08:00
haitao(lj) e61805cbe8 fix(Profile): Adjust the border color of the list-group-item to default 2022-12-21 15:31:47 +08:00
aichy b4366de7e6 swagger 2022-12-21 15:26:09 +08:00
haitao(lj) 1692615d6d fix(questionList): Adjust the border color of the list-group-item to default 2022-12-21 15:19:33 +08:00
kumfo 77a1207f14 Merge branch 'dev' into fix/search 2022-12-21 11:23:49 +08:00
贾海涛(龙笛) 14c3c9730c Merge branch 'hot-fix/1.0.0' into 'test'
Hot fix/1.0.0

See merge request opensource/answer!374
2022-12-21 03:03:02 +00:00
haitao(lj) 92d11dfa9e Merge branch 'hot-fix/1.0.0' of git.backyard.segmentfault.com:opensource/answer into hot-fix/1.0.0 2022-12-21 10:59:22 +08:00
haitao(lj) 6c9f3a789a fix(tags): Adjust the number of lines of text truncation for the tag 2022-12-21 10:59:08 +08:00
aichy b93e7e8f1c Merge branch 'hot-fix/1.0.0' into test 2022-12-21 10:36:42 +08:00
aichy 7f116809cc update tag ParsedText 2022-12-21 10:36:18 +08:00
贾海涛(龙笛) ed8fa4166e Merge branch 'hot-fix/1.0.0' into 'test'
fix(Personal): Remove the background color of all Tabs on personal home page

See merge request opensource/answer!373
2022-12-21 02:17:55 +00:00
haitao(lj) 77274fd66c fix(Personal): Remove the background color of all Tabs on personal home page 2022-12-21 10:11:44 +08:00
iamtun 30921fd262 update baseUrl -> baseURL in file request in line 14 2022-12-20 19:35:06 +07:00
贾海涛(龙笛) d6905e2fa4 Merge branch 'hot-fix/1.0.0' into 'test'
fix(Customize/CSS-HTML): When copy the script text, also copy the script attributes

See merge request opensource/answer!372
2022-12-20 09:38:28 +00:00
haitao(lj) 8f38a18512 fix(Customize/CSS-HTML): When copy the script text, also copy the script attributes 2022-12-20 17:33:47 +08:00
贾海涛(龙笛) 900cbea5f9 Merge branch 'hot-fix/1.0.0' into 'test'
Hot fix/1.0.0

See merge request opensource/answer!371
2022-12-20 08:02:50 +00:00
haitao(lj) 65059229bb Merge branch 'hot-fix/1.0.0' of git.backyard.segmentfault.com:opensource/answer into hot-fix/1.0.0 2022-12-20 15:55:34 +08:00
haitao(lj) 4e8caa29a7 fix(Customize/CSS-HTML): Make the script inserted into the html executable 2022-12-20 15:55:27 +08:00
LinkinStar 0e356c7479 Merge branch 'hot-fix/1.0.0' into test 2022-12-20 11:21:48 +08:00
LinkinStar 02a56315b4 fix(vote): There is no return of rank for users who was canceled their down votes. 2022-12-20 11:21:32 +08:00
贾海涛(龙笛) 241cb332f5 Merge branch 'hot-fix/1.0.0' into 'test'
Hot fix/1.0.0

See merge request opensource/answer!370
2022-12-20 02:22:27 +00:00
haitao(lj) 2d0d0b5e69 fix(FollowingTags): Adjust the following button to function like the edit button 2022-12-20 10:16:52 +08:00
haitao(lj) e33726b637 Merge branch 'hot-fix/1.0.0' of git.backyard.segmentfault.com:opensource/answer into hot-fix/1.0.0 2022-12-19 18:56:20 +08:00
haitao(lj) 7a5a3ceb49 chore: Remove unused variables 2022-12-19 18:56:15 +08:00
LinkinStar 3aa91ce7eb Merge branch 'hot-fix/1.0.0' into test 2022-12-19 18:15:34 +08:00
LinkinStar 305a50cee7 fix(i18n): use full language name as the translator key 2022-12-19 18:15:17 +08:00
LinkinStar a4d36c20aa Merge branch 'hot-fix/1.0.0' into test 2022-12-19 18:02:45 +08:00
LinkinStar 21e402cb8a fix(siteinfo): remove theme config in interface 2022-12-19 17:54:51 +08:00
LinkinStar e9fe98356f fix(i18n): Delete Duplicate translations 2022-12-19 17:43:55 +08:00
LinkinStar e6069d8475 fix(i18n): Delete Duplicate translations 2022-12-19 17:43:35 +08:00
LinkinStar c30555f107 fix(i18n): Delete Duplicate translations 2022-12-19 17:38:46 +08:00
LinkinStar 12a38f7995 Merge branch 'hot-fix/1.0.0' into test 2022-12-19 17:24:39 +08:00
LinkinStar 7168d31e43 Merge branch 'github-main' into hot-fix/1.0.0 2022-12-19 17:23:52 +08:00
Fen 7277b2b265 New Crowdin updates (#119)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Vietnamese)

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2022-12-19 17:18:21 +08:00
LinkinStar e395de3099 feat(i18n): Add more supported languages. 2022-12-19 17:07:34 +08:00
LinkinStar 2b83f21584 feat(migrations): Clean up cache if this migration needed 2022-12-19 16:55:58 +08:00
贾海涛(龙笛) 32716e6f82 Merge branch 'hot-fix/1.0.0' into 'test'
Hot fix/1.0.0

See merge request opensource/answer!369
2022-12-19 08:55:32 +00:00
haitao(lj) 279d01e682 fix: typo 2022-12-19 16:50:41 +08:00
shuai f15c04a614 fix: when the comparison content is increased, it should not wrap 2022-12-19 15:46:44 +08:00
haitao(lj) 62efb68794 refactor(loading): Replace script with noscript tag 2022-12-19 14:56:26 +08:00
haitao(lj) 52382e4d72 refactor(Themes): Preventing possible null errors 2022-12-19 14:42:32 +08:00
贾海涛(龙笛) fc04bf9bff Merge branch 'hot-fix/1.0.0' into 'test'
fix(users): Clean up forgotten test code

See merge request opensource/answer!368
2022-12-19 03:52:24 +00:00
haitao(lj) 501935a6f8 fix(users): Clean up forgotten test code 2022-12-19 11:48:14 +08:00
linkinstar 622c8019d3 Merge branch 'github/pr' into 'main'
Github/pr

See merge request opensource/answer!367
2022-12-18 12:26:32 +00:00
LinkinStar dabfab6b94 fix(theme): Set a default theme config
Build Docker Hub Image / build (push) Has been cancelled
2022-12-18 18:08:19 +08:00
LinkinStar 1110a97ee1 fix(theme): Set a default theme config 2022-12-18 17:16:43 +08:00
LinkinStar 314a8a3ab7 Merge remote-tracking branch 'origin/main' into github-main 2022-12-18 16:17:35 +08:00
linkinstar b64b5e61b4 Merge branch 'release/1.0.0' into 'main'
Release/1.0.0

See merge request opensource/answer!366
2022-12-18 08:12:35 +00:00
LinkinStar 767880bfd0 docs(makefile): Upgrade 1.0.0 2022-12-18 16:08:10 +08:00
linkinstar abb5400190 Merge branch 'github/pr' into 'main'
Github/pr

See merge request opensource/answer!365
2022-12-18 06:57:20 +00:00
linkinstar 02d832ec68 Github/pr 2022-12-18 06:57:20 +00:00
aichy126 91609e7f2d Merge branch 'feat/0.7.0/seo' into test 2022-12-18 14:47:32 +08:00
aichy126 bf2aa72e7b update template 2022-12-18 14:47:15 +08:00
贾海涛(龙笛) 17d36da656 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!364
2022-12-18 05:12:23 +00:00
haitao(lj) f54b2d50c7 fix: auto hidden doc spin if noscript 2022-12-18 13:00:14 +08:00
haitao(lj) bf8f7c4e26 fix: auto hidden doc spin if noscript 2022-12-18 12:50:52 +08:00
aichy126 27870441c7 Merge branch 'feat/0.7.0/seo' into test 2022-12-18 11:27:06 +08:00
aichy126 864c044017 update ask question 2022-12-18 11:26:50 +08:00
贾海涛(龙笛) eeb0c6c1bd Merge branch 'feat/ui-0.7.0' into 'test'
refactor(Layout): Migration of pageTags related code to PageTags component

See merge request opensource/answer!363
2022-12-18 03:00:13 +00:00
haitao(lj) 35dfd00a7c refactor(Layout): Migration of pageTags related code to PageTags component 2022-12-18 10:52:04 +08:00
LinkinStar 0580dbb53c fix(seo): Incorrect seo naming 2022-12-18 10:26:40 +08:00
贾海涛(龙笛) c42dfdba21 Merge branch 'feat/ui-0.7.0' into 'test'
chore: link-primary bg color and doc spinner with bg

See merge request opensource/answer!362
2022-12-18 01:30:40 +00:00
haitao(lj) 3a0b3cfec9 chore: link-primary bg color and doc spinner with bg 2022-12-18 09:24:16 +08:00
贾海涛(龙笛) 364af3b383 Merge branch 'feat/ui-0.7.0' into 'test'
fix(Register): Managing modal status

See merge request opensource/answer!361
2022-12-17 19:32:14 +00:00
haitao(lj) 87d9393772 fix(Register): Managing modal status 2022-12-18 03:25:51 +08:00
贾海涛(龙笛) 84ea719a74 Merge branch 'feat/ui-0.7.0' into 'test'
fix: doInsertCustomCSS

See merge request opensource/answer!360
2022-12-17 19:20:01 +00:00
haitao(lj) a35fbe5f19 fix: doInsertCustomCSS 2022-12-18 03:13:07 +08:00
haitao(lj) 5a4feb6ad9 fix: doInsertCustomCSS 2022-12-18 03:07:29 +08:00
贾海涛(龙笛) 4cde93d1d5 Merge branch 'feat/ui-0.7.0' into 'test'
fix(Register): Remove redundant parameter code

See merge request opensource/answer!359
2022-12-17 18:07:43 +00:00
haitao(lj) 36bbf17c10 fix(Register): Remove redundant parameter code 2022-12-18 02:01:56 +08:00
贾海涛(龙笛) 1c68d4be53 Merge branch 'feat/ui-0.7.0' into 'test'
chore: Add image capcha code when registering, Dynamically insert custom.css

See merge request opensource/answer!358
2022-12-17 17:56:09 +00:00
haitao(lj) c15b3e73ce chore: Add image capcha code when registering, Dynamically insert custom.css 2022-12-18 01:46:41 +08:00
aichy126 703aacf0cf Merge branch 'feat/0.7.0/seo' into test 2022-12-18 00:33:35 +08:00
aichy126 58acb3229e update favicon.ico 2022-12-18 00:33:17 +08:00
aichy126 e32f74e5e2 Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-18 00:15:08 +08:00
aichy126 e05c839085 Merge branch 'feat/0.7.0/seo' into test 2022-12-18 00:15:00 +08:00
aichy126 1c374b842b update user captcha 2022-12-18 00:14:50 +08:00
贾海涛(龙笛) e2e7509169 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!357
2022-12-17 15:16:52 +00:00
haitao(lj) 933edf0269 fix(Question): remove break-word in .fmt p 2022-12-17 23:10:00 +08:00
haitao(lj) 95cacc2ffa feat(Header): Set the Header background color to the correct white when light-theme 2022-12-17 22:43:23 +08:00
LinkinStar 0a924c5736 Merge branch 'feat/0.7.0/user-manage' into test 2022-12-17 13:45:10 +08:00
LinkinStar 67873a4bc0 fix(user): Assign the correct login time at registration time 2022-12-17 13:44:43 +08:00
LinkinStar 8e965adc78 fix(err): Properly handle unhandled errors 2022-12-17 13:34:06 +08:00
aichy c63fcf1dc9 update goreleaser 2022-12-16 22:54:12 +08:00
aichy126 913281f906 Merge branch 'feat/0.7.0/seo' into test 2022-12-16 22:13:26 +08:00
aichy126 88e745c1d7 fix header.html 2022-12-16 22:13:13 +08:00
贾海涛(龙笛) f383d2026b Merge branch 'feat/ui-0.7.0' into 'test'
fix(fmt): replace break-all to break-word for fmt > p

See merge request opensource/answer!356
2022-12-16 12:22:39 +00:00
haitao(lj) c9b6396158 fix(fmt): replace break-all to break-word for fmt > p 2022-12-16 20:15:12 +08:00
aichy126 98d75540c0 Merge branch 'feat/0.7.0/seo' into test 2022-12-16 19:48:08 +08:00
aichy126 d1d4040f4d update header.html 2022-12-16 19:47:54 +08:00
aichy126 714c06da4a update header.html 2022-12-16 19:47:27 +08:00
aichy126 30dc97b180 Merge branch 'feat/0.7.0/seo' into test 2022-12-16 19:39:07 +08:00
aichy126 fc5b65ee0e add icon 2022-12-16 19:38:55 +08:00
aichy 706b73173f update .goreleaser 2022-12-16 19:26:32 +08:00
贾海涛(龙笛) eb2427ce43 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!355
2022-12-16 11:04:46 +00:00
haitao(lj) a00b768f5f Merge branch 'feat/ui-0.7.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.7.0 2022-12-16 18:58:37 +08:00
haitao(lj) baf302458e fix(questionList): remove bg on list-group-item 2022-12-16 18:58:30 +08:00
aichy 6e38c58f98 update 2022-12-16 18:41:07 +08:00
Ren Yubin 01eb9c3f17 Merge branch 'feat/ui-0.7.0' into 'test'
fix(navbar): Restore the gradient background of the navbar

See merge request opensource/answer!354
2022-12-16 10:10:29 +00:00
robin df7d21e8ca refactor(ui): solve the problem that the focus style is incorrect 2022-12-16 18:03:22 +08:00
haitao(lj) 13c472e141 fix(navbar): Restore the gradient background of the navbar 2022-12-16 17:59:11 +08:00
贾海涛(龙笛) c26ec07665 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!353
2022-12-16 09:48:16 +00:00
haitao(lj) e5717ba856 refactor(slugTitle): Switch to use the slug title returned by the server 2022-12-16 17:39:48 +08:00
aichy 69de818d77 update goreleaser 2022-12-16 17:27:41 +08:00
LinkinStar c3fc2fda63 Merge branch 'feat/0.7.0/user-manage' into test 2022-12-16 17:19:18 +08:00
LinkinStar c3adc710e9 fix(user): Change logout router position 2022-12-16 17:19:04 +08:00
aichy 2380d4c4c8 update goreleaser 2022-12-16 17:16:27 +08:00
LinkinStar 0176af3f10 feat(init): Add init version table 2022-12-16 17:14:31 +08:00
aichy a43224ec85 update goreleaser 2022-12-16 17:08:56 +08:00
haitao(lj) 96a7b47923 Merge branch 'feat/ui-0.7.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.7.0 2022-12-16 17:06:03 +08:00
haitao(lj) 2f43967b80 doc: update doc for fe 2022-12-16 17:05:58 +08:00
LinkinStar b8d2d6e279 Merge branch 'feat/0.7.0/user-manage' into test
# Conflicts:
#	internal/service/search_parser/search_parser.go
2022-12-16 16:48:47 +08:00
LinkinStar 05e8ce3a46 fix(robots): Add SEO config initialize data at installation 2022-12-16 16:47:06 +08:00
Ren Yubin 18de575507 Merge branch 'feat/ui-0.7.0' into 'test'
refactor(ui): add autoFocus prop for editor

See merge request opensource/answer!352
2022-12-16 08:46:42 +00:00
robin ba70626615 refactor(ui): add autoFocus prop for editor 2022-12-16 16:39:08 +08:00
LinkinStar 6e1f4841f1 style(simple): Properly handle unhandled errors 2022-12-16 16:35:55 +08:00
aichy126 5391d3100a Merge branch 'feat/0.7.0/seo' into test 2022-12-16 16:25:14 +08:00
aichy126 4b31951317 update question url title 2022-12-16 16:24:55 +08:00
Ren Yubin bc5e84be7d Merge branch 'feat/ui-0.7.0' into 'test'
refactor(ui): modify link

See merge request opensource/answer!351
2022-12-16 08:20:19 +00:00
robin 56e9c15c8a refactor(ui): modify link 2022-12-16 16:14:09 +08:00
Ren Yubin 995db52793 Merge branch 'feat/ui-0.7.0' into 'test'
refactor: update i18n file

See merge request opensource/answer!350
2022-12-16 07:40:31 +00:00
robin 4961f41542 refactor: update i18n file 2022-12-16 15:34:16 +08:00
Ren Yubin dad0b7f888 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!349
2022-12-16 07:18:15 +00:00
robin dc9ff3152f chore(ui): add types for color library 2022-12-16 15:10:55 +08:00
robin 7b4d41274d refactor: update en_US.yaml 2022-12-16 15:10:03 +08:00
robin e5ebde028a refactor(ui): improved answering questions interaction 2022-12-16 15:09:42 +08:00
LinkinStar a4ad6b7fad Merge branch 'feat/0.7.0/seo' into feat/0.7.0/user-manage 2022-12-16 14:46:22 +08:00
LinkinStar a4f5f8ecc3 style(simple): Simplify code 2022-12-16 14:46:10 +08:00
LinkinStar fb4d0cc3cd style(object): Remove unneeded initialization 2022-12-16 14:35:01 +08:00
LinkinStar 6a43e56175 style(tag): Incorrect error handling 2022-12-16 14:33:36 +08:00
LinkinStar 7331353b51 style(io): replace deprecated io function 2022-12-16 14:31:38 +08:00
aichy fe96eef062 add goreleaser 2022-12-16 13:24:45 +08:00
贾海涛(龙笛) 9210147039 Merge branch 'feat/ui-0.7.0' into 'test'
fix(switch): Enables switch to follow the theme color in active

See merge request opensource/answer!348
2022-12-16 02:43:53 +00:00
haitao(lj) cb084a695e fix(switch): Enables switch to follow the theme color in active 2022-12-16 10:35:09 +08:00
贾海涛(龙笛) 7f998c4f8a Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!347
2022-12-16 02:21:36 +00:00
haitao(lj) dafeebeaba fix(Header): Make dropdown item in active to follow the primary color 2022-12-16 10:14:45 +08:00
haitao(lj) 776b2235d3 fix(Header): Make dropdown to pop up correctly on small screens 2022-12-16 10:06:39 +08:00
haitao(lj) 69b1b14552 fix(switch): Enables switch to follow the theme color 2022-12-16 09:56:52 +08:00
贾海涛(龙笛) 6f8abcdcba Merge branch 'feat/ui-0.7.0' into 'test'
fix(tag): Make the tag have the correct color when hovering

See merge request opensource/answer!346
2022-12-16 01:45:53 +00:00
haitao(lj) 9f8d58090f fix(tag): Make the tag have the correct color when hovering 2022-12-16 09:36:48 +08:00
贾海涛(龙笛) 500a0c084a Merge branch 'feat/ui-0.7.0' into 'test'
fix(achievements): fix achievement num col width

See merge request opensource/answer!345
2022-12-15 10:16:04 +00:00
haitao(lj) 6ddb19a0a8 fix(achievements): fix achievement num col width 2022-12-15 18:07:53 +08:00
Fen e6d8b08c27 Update Crowdin configuration file 2022-12-15 17:36:18 +08:00
贾海涛(龙笛) 66b9eed65f Merge branch 'feat/ui-0.7.0' into 'test'
fix(NavBar): Make the navbar follow the theme settings

See merge request opensource/answer!344
2022-12-15 09:29:34 +00:00
haitao(lj) 18c66b4eb0 fix(NavBar): Make the navbar follow the theme settings 2022-12-15 17:23:05 +08:00
aichy126 7473b50469 Merge branch 'feat/0.7.0/seo' into test 2022-12-15 16:48:19 +08:00
aichy126 4fd208ba46 fix dev code 2022-12-15 16:48:07 +08:00
贾海涛(龙笛) 2da9a8f98c Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!343
2022-12-15 07:54:49 +00:00
haitao(lj) c0a29cef83 fix(tag): Make the tag unaffected by the custom primary color 2022-12-15 15:47:54 +08:00
aichy126 f512083602 Merge branch 'feat/0.7.0/seo' into test 2022-12-15 15:39:56 +08:00
aichy126 4c354090c7 update custom.css add content-type 2022-12-15 15:39:43 +08:00
haitao(lj) 0741cd52a7 fix(logo): Set the logo to have the correct maximum height for small screens 2022-12-15 15:17:42 +08:00
贾海涛(龙笛) b6e7cb6dfb Merge branch 'feat/ui-0.7.0' into 'test'
fix(useToast): set toast top positioning correct when with custom header or page scroll

See merge request opensource/answer!342
2022-12-15 07:15:00 +00:00
haitao(lj) 53d1f8f80a fix(useToast): set toast top positioning correct when with custom header or page scroll 2022-12-15 15:09:21 +08:00
LinkinStar 89239adc0e Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-15 14:41:18 +08:00
LinkinStar 88160ed512 fix(migrations): Fix incorrect database field indexes during initialization data and system upgrade 2022-12-15 14:39:16 +08:00
杨光富 1d5f2dde51 Merge branch 'fix/search' into 'test'
Fix/search

See merge request opensource/answer!341
2022-12-15 04:06:46 +00:00
kumfo b85a907f9a merge: merge from test 2022-12-15 12:03:10 +08:00
kumfo 9170a801f6 fix(search): user:me or user:username can be searched 2022-12-15 11:42:16 +08:00
kumfo 24641e5cf0 Merge branch 'dev' into fix/search 2022-12-15 11:16:43 +08:00
LinkinStar bd9b4eb1d7 Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-15 10:50:41 +08:00
LinkinStar 9dc8faace6 fix(user): Fix the problem that user reputation will become negative 2022-12-15 10:49:03 +08:00
贾海涛(龙笛) 18f2449709 Merge branch 'feat/ui-0.7.0' into 'test'
fix(users): #1480, Click on the user's avatar to jump to the user's details as well

See merge request opensource/answer!340
2022-12-15 02:18:28 +00:00
haitao(lj) bd54bb90ee fix(users): #1480, Click on the user's avatar to jump to the user's details as well 2022-12-15 10:10:55 +08:00
贾海涛(龙笛) 9d4ab8d6c9 Merge branch 'feat/ui-0.7.0' into 'test'
refactor(customize): Optimization of custom settings update

See merge request opensource/answer!339
2022-12-15 01:47:52 +00:00
haitao(lj) d4a79b41c8 refactor(customize): Optimization of custom settings update 2022-12-15 09:40:10 +08:00
贾海涛(龙笛) 29aebcd04c Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!338
2022-12-14 13:12:27 +00:00
haitao(lj) 3506cfa7de feat(customize): custom html and css done! 2022-12-14 21:07:00 +08:00
aichy126 7ce52a50d5 Merge branch 'feat/0.7.0/seo' into test 2022-12-14 17:54:27 +08:00
aichy126 df99310ffd remove template usercode 2022-12-14 17:54:03 +08:00
aichy126 7382857b58 swagger 2022-12-14 17:34:49 +08:00
aichy126 04f048b829 Merge branch 'feat/0.7.0/seo' into test 2022-12-14 17:34:46 +08:00
aichy126 85691e9143 update index.html 2022-12-14 17:31:33 +08:00
LinkinStar 230e6e7450 ci(ci): add mockgen tools in makefile generate command 2022-12-14 17:20:48 +08:00
aichy126 ba18289fcd add usercode 2022-12-14 17:09:33 +08:00
LinkinStar 07f7932e92 Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-14 17:06:13 +08:00
LinkinStar 2fadee52f5 ci(ci): remove make generate 2022-12-14 17:05:53 +08:00
haitao(lj) 616f7d942e fix(users): add unique key for users list 2022-12-14 16:51:00 +08:00
aichy126 aa6524a246 update custom.css 2022-12-14 16:50:40 +08:00
LinkinStar a674f356d1 Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-14 15:45:08 +08:00
LinkinStar fdde89cbb1 feat(markdown): convert markdown to html in backend 2022-12-14 15:41:08 +08:00
贾海涛(龙笛) 3468cba95b Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!337
2022-12-14 07:16:47 +00:00
LinkinStar 1fa0062059 feat(seo): rename site seo 2022-12-14 15:09:22 +08:00
haitao(lj) 32f009b096 Merge branch 'feat/ui-0.7.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.7.0 2022-12-14 15:08:56 +08:00
haitao(lj) 30f7edd614 chore: admin/general,interface,seo, customize etc... 2022-12-14 15:08:52 +08:00
LinkinStar ac97e2b4fa feat(seo): rename site seo 2022-12-14 15:08:41 +08:00
aichy126 75f6715678 Merge branch 'feat/0.7.0/seo' into test 2022-12-14 15:03:39 +08:00
aichy126 8112966356 update question log 2022-12-14 15:02:53 +08:00
aichy126 19726db2c9 Merge branch 'feat/0.7.0/seo' into test 2022-12-14 12:29:19 +08:00
aichy126 534d8c4023 update siteinfo 2022-12-14 12:29:08 +08:00
LinkinStar b111f812e4 feat(unit-test): Add site info common service unit test. 2022-12-14 11:41:43 +08:00
Ren Yubin 8e39ad4596 Merge branch 'feat/ui-0.7.0' into 'test'
refactor(ui): modify the users page display field

See merge request opensource/answer!336
2022-12-14 03:06:08 +00:00
robin 022f5cba27 refactor(ui): modify the users page display field 2022-12-14 11:01:28 +08:00
Ren Yubin 909f650f6f Merge branch 'feat/ui-0.7.0' into 'test'
refactor(ui): theme in Interface moved to Customize

See merge request opensource/answer!335
2022-12-14 02:27:06 +00:00
robin 6302165bc0 refactor(ui): theme in Interface moved to Customize 2022-12-14 10:21:34 +08:00
LinkinStar 1ff8c4022e Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-14 10:17:20 +08:00
LinkinStar 3c7bcf006f fix(ranking): When the ranking user's reputation or vote is less than 0, this user will not be displayed 2022-12-14 10:14:15 +08:00
Ren Yubin 515d995756 Merge branch 'feat/ui-0.7.0' into 'test'
refactor(ui): modify input type

See merge request opensource/answer!334
2022-12-14 01:48:14 +00:00
robin a04d117b86 refactor(ui): modify input type 2022-12-14 09:40:59 +08:00
Ren Yubin cfb383bde7 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!333
2022-12-14 01:32:38 +00:00
Shruti Chaturvedi 7b7d5f2f49 Integrate Uffizzi 2022-12-13 19:21:01 +05:30
robin 79a12ab9b6 refactor(ui): update en_US.yaml 2022-12-13 18:40:02 +08:00
robin d29b061339 feat(ui): add users page 2022-12-13 18:39:41 +08:00
aichy126 ecef73716a Merge branch 'feat/0.7.0/seo' into test 2022-12-13 18:11:24 +08:00
aichy126 47140f7749 Merge branch 'feat/0.7.0/seo' into feat/0.7.0/user-manage 2022-12-13 18:11:11 +08:00
aichy126 9f53593f21 fix add question 2022-12-13 18:10:35 +08:00
aichy126 d36ad2db81 Merge branch 'feat/0.7.0/seo' into test 2022-12-13 17:59:38 +08:00
aichy126 ba4b26229f Merge branch 'feat/0.7.0/seo' into feat/0.7.0/user-manage 2022-12-13 17:59:17 +08:00
aichy126 783bb31cac fix seo page 2022-12-13 17:58:48 +08:00
LinkinStar c946b08b23 feat(theme): site info add theme options 2022-12-13 17:44:24 +08:00
Ren Yubin ed242e7569 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!332
2022-12-13 09:43:22 +00:00
robin 82106a783d refactor(ui): setting marked options 2022-12-13 17:34:17 +08:00
robin 8e757eadb0 refactor(ui): modify margin 2022-12-13 17:17:58 +08:00
LinkinStar e3f8e37647 feat(seo): add get site seo service 2022-12-13 17:11:31 +08:00
LinkinStar 7450c4cad7 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.7.0/user-manage
# Conflicts:
#	internal/service/siteinfo_common/siteinfo_service.go
2022-12-13 17:07:32 +08:00
aichy126 98385afe4c update PermaLink 2022-12-13 16:55:23 +08:00
robin d0af8b843e refactor: update en_US.yaml 2022-12-13 16:47:53 +08:00
robin 9eff961ae0 refactor(ui): modify validation rules 2022-12-13 16:47:53 +08:00
haitao(lj) 56bb48b80b Merge branch 'feat/ui-0.7.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.7.0 2022-12-13 16:43:33 +08:00
haitao(lj) e8826be276 feat(Customize): demo with customize 2022-12-13 16:43:29 +08:00
aichy126 a681cd00dd Merge branch 'feat/0.6.0/seo' into test 2022-12-13 16:29:22 +08:00
Ren Yubin 8bc408eaa2 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!331
2022-12-13 08:29:11 +00:00
aichy126 99427afa30 update no cache 2022-12-13 16:28:47 +08:00
robin 3822aeb962 refactor(ui): modify margin 2022-12-13 16:22:42 +08:00
robin a936f6f273 refactor(ui): modify input type 2022-12-13 16:18:52 +08:00
robin bd478a1400 refactor: update en_US.yaml 2022-12-13 16:18:13 +08:00
robin 121f8df024 refactor: replace my-2 with mt-3 2022-12-13 16:01:04 +08:00
robin 9f2ed9c55f fix: solve the problem of form validation 2022-12-13 15:53:01 +08:00
LinkinStar 369cf052d6 Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-13 14:17:57 +08:00
LinkinStar f288e1f8b7 feat(seo): response not found page when private mode 2022-12-13 14:17:36 +08:00
aichy126 3cc7f9fbb0 start cron 2022-12-13 14:15:44 +08:00
LinkinStar 392806b146 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.7.0/user-manage 2022-12-13 14:11:49 +08:00
LinkinStar 800b1fc6f4 Merge branch 'feat/0.7.0/user-manage' into test
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
2022-12-13 14:02:13 +08:00
LinkinStar 033cbc50a5 merge(seo): merge seo 2022-12-13 14:01:45 +08:00
贾海涛(龙笛) 0a7e54d6df Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!330
2022-12-13 05:21:10 +00:00
haitao(lj) 12e152af59 fix(password-reset): remove unncessary route guard when user reset password 2022-12-13 13:14:54 +08:00
LinkinStar 456c8207db fix(user): Does not intercept the registered login interface when in private mode 2022-12-13 12:11:29 +08:00
haitao(lj) 8acc3c937d feat(admin/login): Forced login blocking development completed 2022-12-13 11:46:51 +08:00
LinkinStar ad985005d8 refactor(ranking): refactoring user ranking function 2022-12-13 10:48:00 +08:00
aichy126 c0ef9f5361 Merge branch 'feat/0.6.0/seo' into test 2022-12-13 10:41:05 +08:00
aichy126 07d4b8b803 add cron 2022-12-13 10:40:07 +08:00
aichy126 84206b85a1 swagger 2022-12-12 19:06:38 +08:00
aichy126 08482d270c Merge branch 'feat/0.6.0/seo' into test 2022-12-12 19:06:33 +08:00
aichy126 c5a4aeb10a Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-12 19:04:39 +08:00
aichy126 ec986bf3c4 update SitemapMaxSize 2022-12-12 19:03:41 +08:00
aichy126 d0bff13d8a sitemap cache 2022-12-12 18:21:03 +08:00
LinkinStar 526f00f16d feat(cron): add scheduled task manager 2022-12-12 17:03:04 +08:00
LinkinStar 14b72a1b33 chore(swagger): Regenerate the swagger document 2022-12-12 16:54:04 +08:00
LinkinStar 79158f54bd feat(user): add user ranking api 2022-12-12 16:39:48 +08:00
aichy126 4c17547cce update template 2022-12-12 16:35:46 +08:00
aichy126 b9db22e9f6 xml template 2022-12-12 16:33:08 +08:00
aichy126 6459f6b7cb update sitemap controller 2022-12-12 15:39:12 +08:00
aichy126 0f99388e77 update Sitemap 2022-12-12 15:20:20 +08:00
haitao(lj) b9717cd41a feat(registration): Registration portal switch function development done 2022-12-12 15:01:25 +08:00
LinkinStar 12180e475b feat(user): add user email duplication check 2022-12-12 14:30:32 +08:00
LinkinStar f7869b15bd feat(migrations): add default login site info config 2022-12-12 14:30:32 +08:00
LinkinStar 18ca572a38 feat(user): add user email duplication check 2022-12-12 14:29:24 +08:00
aichy126 ca443872c7 update title 2022-12-12 14:29:13 +08:00
aichy126 1a0dcf38ae update title 2022-12-12 14:28:33 +08:00
LinkinStar 10ae0bb4c9 feat(migrations): add default login site info config 2022-12-12 14:22:33 +08:00
aichy126 4cc2e7830c Merge branch 'feat/0.6.0/seo' into test 2022-12-12 14:20:27 +08:00
aichy126 c368f93e12 update title 2022-12-12 14:18:37 +08:00
aichy126 51efdd822f update html title 2022-12-12 14:09:14 +08:00
aichy126 ec739310bb add title 2022-12-12 13:54:27 +08:00
贾海涛(龙笛) 1a453bdf72 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!329
2022-12-12 05:38:07 +00:00
haitao(lj) e2db86bb83 Merge branch 'feat/ui-0.6.0' into feat/ui-0.7.0 2022-12-12 13:29:34 +08:00
LinkinStar 1d3c6e531c Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-12 13:16:30 +08:00
LinkinStar 36935cf51b Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test 2022-12-12 13:16:00 +08:00
LinkinStar 952e3d86fa feat(migrations): add role and power init data 2022-12-12 13:15:38 +08:00
LinkinStar 08478d8213 feat(siteinfo): add custom css html response in siteinfo api 2022-12-10 17:12:31 +08:00
haitao(lj) 79f25466ca feat(admin/users): add new user and change user password done 2022-12-10 16:37:18 +08:00
haitao(lj) 481d16ba16 feat(admin/login): Complete login setting api interfacing 2022-12-10 15:30:36 +08:00
haitao(lj) 806e3c390d feat(admin/custom): Complete custom css/html api interfacing 2022-12-10 15:06:46 +08:00
haitao(lj) b062a71234 feat(admin/theme): Complete theme api interfacing 2022-12-10 14:45:25 +08:00
LinkinStar 4fa01db61c feat(seo): If the site is set to privacy mode, prohibit crawling any page 2022-12-10 14:31:08 +08:00
LinkinStar 3e7c26dc1c Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test 2022-12-09 18:30:06 +08:00
LinkinStar eb1a9f8760 fix(rank): Remove user activated reputation record display 2022-12-09 18:29:50 +08:00
aichy126 cb33a9750c Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-09 18:19:56 +08:00
LinkinStar 6995893863 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test 2022-12-09 18:19:05 +08:00
LinkinStar c56aa4d663 fix(rank): check user rank info object id is not zero 2022-12-09 18:18:29 +08:00
aichy126 9c422f3765 Merge branch 'feat/0.6.0/seo' into test 2022-12-09 18:06:14 +08:00
aichy126 ff536deff3 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-09 18:06:01 +08:00
LinkinStar 2769c007e7 fix(theme): remove unsupported theme 2022-12-09 18:01:19 +08:00
aichy126 30f05eda76 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-09 17:52:52 +08:00
aichy126 da7949462e add UpdateQuestionCheckTags 2022-12-09 17:52:11 +08:00
LinkinStar 2308bc9d05 fix(permission): check object owner permission 2022-12-09 17:41:23 +08:00
aichy126 c622205471 Merge branch 'feat/0.6.0/seo' into test 2022-12-09 17:32:40 +08:00
aichy126 cad102a8b4 fix 2022-12-09 17:32:30 +08:00
aichy126 8cbdbf53eb fix url 2022-12-09 17:31:42 +08:00
aichy126 605d329fe2 Merge branch 'feat/0.6.0/seo' into test 2022-12-09 17:12:56 +08:00
aichy126 b495fa46d1 fix header 2022-12-09 17:12:47 +08:00
aichy126 6176470f08 Merge branch 'feat/0.6.0/seo' into test 2022-12-09 17:10:29 +08:00
aichy126 2e1cd3faa4 fix question url 2022-12-09 17:10:15 +08:00
贾海涛(龙笛) 21a007204d Merge branch 'feat/ui-0.6.0' into 'test'
Feat/ui 0.6.0

See merge request opensource/answer!327
2022-12-09 08:58:01 +00:00
aichy126 bc85018502 Merge branch 'feat/0.6.0/seo' into test 2022-12-09 16:52:03 +08:00
aichy126 dc9a72effb add questioninfo 301 jump 2022-12-09 16:51:33 +08:00
LinkinStar 7e2fd84c18 chore(proxy): remove goproxy temporarily 2022-12-09 16:46:58 +08:00
LinkinStar 350f317fc3 doc(swagger): Regenerate the swagger document 2022-12-09 16:46:33 +08:00
haitao(lj) 50546ee879 fix(admin/seo): set col number for seo form 2022-12-09 16:45:26 +08:00
LinkinStar a373a00425 chore(proxy): remove goproxy temporarily 2022-12-09 16:33:58 +08:00
haitao(lj) 0dc922a8bb Merge branch 'feat/ui-0.6.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.6.0 2022-12-09 16:15:02 +08:00
haitao(lj) 1dcafe1a32 fix(install,maintenance): set the page title correctly 2022-12-09 16:14:09 +08:00
haitao(lj) 6390c7630d fix(install,maintenance): et the page title correctly 2022-12-09 16:12:09 +08:00
haitao(lj) a5a95c5f3d refactor(AccordionNav): Optimize the secondary navigation menu 2022-12-09 15:39:30 +08:00
LinkinStar 87bb3c72b0 feat(theme): add theme and custom css html interface 2022-12-09 14:20:50 +08:00
aichy126 f72f89f0b8 Merge branch 'feat/0.6.0/seo' into test 2022-12-09 11:42:51 +08:00
aichy126 58ade3e55b update json ld Text 2022-12-09 11:42:20 +08:00
aichy126 61b40a1b46 Merge branch 'feat/0.6.0/seo' into test 2022-12-09 11:21:42 +08:00
aichy126 15e174551a update AcceptedAnswer author 2022-12-09 11:18:04 +08:00
aichy126 e2146ad50b update AcceptedAnswer 2022-12-09 11:15:23 +08:00
aichy126 ff69966e82 add AcceptedAnswerItem 2022-12-09 11:12:25 +08:00
LinkinStar 0954b5ff11 feat(err): add error handler function 2022-12-09 10:55:53 +08:00
aichy126 a3c252c73f Merge branch 'feat/0.6.0/seo' into test 2022-12-09 10:44:33 +08:00
aichy126 fad8acbe16 fix urltitle 2022-12-09 10:43:54 +08:00
LinkinStar c09d861b5d feat(seo): seo update 2022-12-09 10:35:49 +08:00
haitao(lj) 1537f502f4 Merge branch 'feat/ui-0.6.0' into feat/ui-0.7.0 2022-12-09 10:12:12 +08:00
贾海涛(龙笛) dd269d9a3e Merge branch 'feat/ui-0.6.0' into 'test'
Feat/ui 0.6.0

See merge request opensource/answer!326
2022-12-08 11:12:56 +00:00
haitao(lj) 32f7a0a89c refactor(users/settings): refactoring forms according to specifications 2022-12-08 19:07:31 +08:00
haitao(lj) 50133f5fe3 fix(admin/smtp): add label for smtp authentication 2022-12-08 15:18:04 +08:00
haitao(lj) 5209813685 fix(answerEdit): update i18n fields in how_to_format 2022-12-08 14:44:25 +08:00
aichy126 4843d66757 Merge branch 'feat/0.6.0/seo' into test 2022-12-08 12:29:15 +08:00
aichy126 b439d68c7d Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-08 12:28:51 +08:00
aichy126 a2b404ea0c fix 2022-12-08 12:28:45 +08:00
LinkinStar e721ef2375 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test 2022-12-08 12:01:11 +08:00
LinkinStar 22aa8e4271 fix(vote): check vote permission wrong 2022-12-08 12:00:25 +08:00
贾海涛(龙笛) 46b44b7db8 Merge branch 'feat/ui-0.6.0' into 'test'
Feat/ui 0.6.0

See merge request opensource/answer!325
2022-12-08 03:45:17 +00:00
aichy126 e914edd5a0 fix CheckChangeReservedTag 2022-12-08 11:44:41 +08:00
haitao(lj) 7928e1d656 fix(question/ask|edit): Remove front-end checks to avoid inconsistent error reporting 2022-12-08 11:39:19 +08:00
aichy126 04e1eb3b80 fix template 2022-12-08 11:25:59 +08:00
haitao(lj) 919223cc15 fix(questionList): Optimize the layout of the question list 2022-12-08 11:25:56 +08:00
aichy126 17cf69f916 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-08 11:15:50 +08:00
aichy126 bad5e855a0 add path 2022-12-08 11:15:45 +08:00
LinkinStar c4e60235e8 fix(tag): add user can use reserved tag permissionˆ 2022-12-08 11:14:56 +08:00
LinkinStar b9ed2e5050 fix(tag): can not set synonym as tag itself 2022-12-08 10:43:45 +08:00
haitao(lj) 1fe3c59199 fix(followingTags): Optimize the y-axis margin during editing state 2022-12-08 10:39:44 +08:00
haitao(lj) 39f749918e fix(admin/users): Make table columns more compatible with filter conditions 2022-12-08 10:26:17 +08:00
LinkinStar 667414a75b Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test 2022-12-08 10:06:18 +08:00
LinkinStar 0ae6ddaa67 fix(manifest): update manifest.json version 2022-12-08 10:06:01 +08:00
LinkinStar 3e457b93df fix(i18n): Wrong role translation 2022-12-07 18:47:24 +08:00
LinkinStar 0fa30bbbaa fix(migrations): add question rank default level 2022-12-07 18:29:16 +08:00
贾海涛(龙笛) 8d4d227027 Merge branch 'feat/ui-0.6.0' into 'test'
Feat/ui 0.6.0

See merge request opensource/answer!324
2022-12-07 10:22:09 +00:00
LinkinStar c42b3e1c3a feat(login): add must login middle 2022-12-07 18:15:46 +08:00
robin 3c6151b806 feat(ui): admin module update 2022-12-07 18:15:27 +08:00
aichy126 3f88ba097d add path ignore 2022-12-07 18:05:16 +08:00
haitao(lj) 630e8bcc85 chore: add ignore file for ssr 2022-12-07 17:56:47 +08:00
aichy 9e014e1781 add swagger 2022-12-07 17:29:22 +08:00
haitao(lj) 46a2163e61 Merge branch 'feat/ui-0.6.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.6.0 2022-12-07 17:24:55 +08:00
haitao(lj) 19180b6133 feat: page title and meta tags done 2022-12-07 17:24:30 +08:00
aichy126 ec7092216d Merge branch 'feat/0.6.0/seo' into test 2022-12-07 17:10:07 +08:00
aichy126 0e25fa8aa0 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-07 17:08:45 +08:00
aichy126 d8682e7264 add question and tags Description 2022-12-07 17:05:19 +08:00
aichy d3b77e76d6 fix swagger 2022-12-07 16:51:08 +08:00
aichy126 6fa2639df7 Merge branch 'feat/0.6.0/seo' into test 2022-12-07 15:53:05 +08:00
aichy126 054f7b5c9a fix scriptPath 2022-12-07 15:52:53 +08:00
杨光富 9c2e386e4c Merge branch 'feat/0.6.0/seo' into 'test'
Feat/0.6.0/seo

See merge request opensource/answer!323
2022-12-07 07:52:18 +00:00
aichy126 f996bdd365 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-07 15:50:52 +08:00
aichy126 962b4b098c fix search question tags 2022-12-07 15:50:46 +08:00
kumfo 5bf63452f7 fix(template/render): fix template footer / time 2022-12-07 15:45:14 +08:00
kumfo 46bff9e4f9 fix(template/render): fix template footer / time 2022-12-07 15:44:41 +08:00
LinkinStar 1fe69bcb65 feat(login): add private mode and allowed user sign up config 2022-12-07 15:23:22 +08:00
aichy126 c3d5ddf4fe Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-07 12:31:14 +08:00
aichy126 a2bcae97ab Merge branch 'feat/0.6.0/seo' into test 2022-12-07 12:31:05 +08:00
aichy126 0e4514373e Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-07 12:30:47 +08:00
aichy126 676a19500c userinfo show userid 2022-12-07 12:30:42 +08:00
LinkinStar a6de537d4f Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test 2022-12-07 12:21:33 +08:00
Ren Yubin 42de8d40fc Merge branch 'feat/ui-0.6.0' into 'test'
refactor(ui): add rank field in table

See merge request opensource/answer!322
2022-12-07 04:12:49 +00:00
LinkinStar 00dd6e9f0c feat(i18n): Try to return to the original text when translation is not possible 2022-12-07 11:45:41 +08:00
杨光富 0a92b4ed96 Merge branch 'feat/0.6.0/seo' into 'test'
Feat/0.6.0/seo

See merge request opensource/answer!321
2022-12-07 03:22:02 +00:00
kumfo a3aec66dd1 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.6.0/seo 2022-12-07 11:14:10 +08:00
kumfo 9dc7d9cf44 feat(template/render): common render with 404 page 2022-12-07 11:14:05 +08:00
aichy126 dd34d067fc Merge branch 'feat/0.6.0/seo' into test 2022-12-07 11:11:24 +08:00
aichy126 78c0606e52 fix users 2022-12-07 11:11:14 +08:00
LinkinStar 42756c0742 feat(user): backend add user and change user password 2022-12-07 10:26:02 +08:00
robin 4f977549db refactor(ui): add rank field in table 2022-12-07 10:19:20 +08:00
aichy126 acdf069b96 Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-07 10:06:07 +08:00
aichy126 4bb014867e Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-07 10:05:15 +08:00
aichy126 9489a4291b open js 2022-12-07 10:05:11 +08:00
kumfo 44237c6f78 feat(zh_CN.yaml): sync with zh_US.yaml 2022-12-06 18:37:08 +08:00
haitao(lj) 6904c9775c Merge branch 'feat/ui-0.6.0' into feat/0.6.0/seo 2022-12-06 18:19:47 +08:00
haitao(lj) 7d6acca9c9 fix(i18n): Rewrite description as desc to be compatible with go-i18n 2022-12-06 18:13:04 +08:00
haitao(lj) c2e72d106e refactor(i18n): Rewrite description as desc to be compatible with go-i18n 2022-12-06 18:12:10 +08:00
贾海涛(龙笛) 8f684c0dfc Merge branch 'feat/ui-0.6.0' into 'test'
Feat/ui 0.6.0

See merge request opensource/answer!320
2022-12-06 09:44:57 +00:00
robin ee1804f7ba core: update .gitlab-ci.yml 2022-12-06 17:44:55 +08:00
haitao(lj) fcb6197748 Merge branch 'dev' into feat/ui-0.6.0 2022-12-06 17:30:01 +08:00
aichy126 149751153c fix FuncMap 2022-12-06 17:16:42 +08:00
LinkinStar d138c372a5 fix(rename): rename function and request 2022-12-06 17:01:42 +08:00
LinkinStar f3e42f72ac Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
#	internal/controller/controller.go
2022-12-06 16:56:30 +08:00
LinkinStar bb8686d7cd Merge remote-tracking branch 'origin/feat/0.6.0/tag' into test 2022-12-06 16:55:20 +08:00
LinkinStar d95bd6aa79 Merge branch 'feat/0.6.0/user-role' into test
# Conflicts:
#	i18n/zh_CN.yaml
#	internal/controller/answer_controller.go
#	internal/migrations/v3.go
#	internal/schema/activity.go
2022-12-06 16:50:55 +08:00
LinkinStar 995510595b feat: support for manifest.json dynamic rendering 2022-12-06 16:41:29 +08:00
LinkinStar 9164d0f335 Merge remote-tracking branch 'origin/main' into github-main
Build Docker Hub Image / build (push) Has been cancelled
2022-12-06 15:54:32 +08:00
linkinstar eb0691afb3 Merge branch 'hot-fix/0.5.0' into 'main'
fix(settings/account): remove debug code

See merge request opensource/answer!319
2022-12-06 07:53:07 +00:00
haitao(lj) c9f5da63ae fix(settings/account): remove debug code 2022-12-06 15:47:31 +08:00
LinkinStar b63ccda451 Merge remote-tracking branch 'origin/main' into github-main 2022-12-06 15:23:36 +08:00
linkinstar 86456e2df3 Merge branch 'hot-fix/0.5.0' into 'main'
fix(settings/account): invalid group specifier name in safari

See merge request opensource/answer!318
2022-12-06 07:22:30 +00:00
haitao(lj) c05e72e995 Merge branch 'hot-fix/0.5.0' of git.backyard.segmentfault.com:opensource/answer into hot-fix/0.5.0 2022-12-06 15:17:05 +08:00
haitao(lj) adbf71434c fix(settings/account): invalid group specifier name in safari 2022-12-06 15:16:57 +08:00
LinkinStar 102d74b943 Merge remote-tracking branch 'origin/main' into github-main 2022-12-06 15:09:44 +08:00
linkinstar a94195fec1 Merge branch 'hot-fix/0.5.0' into 'main'
fix(rank): Incorrect permission verification

See merge request opensource/answer!317
2022-12-06 07:08:49 +00:00
LinkinStar 704276e2ac Merge remote-tracking branch 'origin/main' into github-main 2022-12-06 15:00:07 +08:00
LinkinStar d0393e8df1 docs(i18n): Additional Chinese translation 2022-12-06 14:53:56 +08:00
LinkinStar a6630670be fix(rank): Incorrect permission verification
user can update answer that put by himself.
admin can vote up anyway.
2022-12-06 14:45:37 +08:00
aichy126 8c4dc92f58 Merge branch 'hot-fix/0.5.0' of git.backyard.segmentfault.com:opensource/answer into hot-fix/0.5.0 2022-12-06 14:36:41 +08:00
aichy126 4c838fccfe fix revision userid to int64 2022-12-06 14:36:37 +08:00
haitao(lj) f5f3945a45 Merge branch 'hot-fix/0.5.0' of git.backyard.segmentfault.com:opensource/answer into hot-fix/0.5.0 2022-12-06 14:34:31 +08:00
haitao(lj) 90ef591cb5 fix(admin/user): comment out user role for now 2022-12-06 14:34:22 +08:00
aichy126 de429a4521 add revision userid 2022-12-06 14:32:44 +08:00
LinkinStar 574ef65d57 docs(readme): Change the installation document link address 2022-12-06 13:23:33 +08:00
kumfo 787948f944 merge(template/i18n): merge 2022-12-06 12:25:16 +08:00
kumfo 66e420a72d Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.6.0/seo
# Conflicts:
#	internal/controller/template_controller.go
2022-12-06 12:24:49 +08:00
kumfo be753459f6 feat(template/i18n): homepage convert 2022-12-06 12:23:25 +08:00
aichy126 8a7ef0ba09 language 2022-12-06 12:21:58 +08:00
aichy126 3cdd75983f i18n 2022-12-06 12:20:07 +08:00
aichy126 dcd8108fa5 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-06 12:19:57 +08:00
linkinstar 04a49d2316 Merge branch 'github/pr' into 'main'
Github/pr

See merge request opensource/answer!316
2022-12-06 04:19:11 +00:00
kumfo 6afd3d44b7 fix(template/i18n): i18n test chinese cancelled 2022-12-06 12:18:42 +08:00
aichy126 e59e95fe11 add page meta 2022-12-06 12:17:45 +08:00
kumfo d8b50b482f style(template/i18n): add todo 2022-12-06 12:17:37 +08:00
kumfo 67d93e196f feat(template/i18n): backend template render synchronous with frontend 2022-12-06 12:16:43 +08:00
LinkinStar 88fe32da17 Merge branch 'github-main' into github/pr 2022-12-06 12:13:06 +08:00
linkinstar 826df61d90 Merge branch 'release/0.5.0' into 'main'
Release/0.5.0

See merge request opensource/answer!314
2022-12-06 12:10:28 +08:00
linkinstar 693b18f961 Merge branch 'release/0.5.0' into 'main'
docs(makefile): upgrade 0.5.0

See merge request opensource/answer!315
2022-12-06 04:06:33 +00:00
LinkinStar 3a15520d3c docs(makefile): upgrade 0.5.0 2022-12-06 12:00:55 +08:00
linkinstar a6c51b4f06 Merge branch 'release/0.5.0' into 'main'
Release/0.5.0

See merge request opensource/answer!314
2022-12-06 03:58:06 +00:00
LinkinStar e6842ca71f merge release/0.5.0 2022-12-06 11:52:24 +08:00
haitao(lj) 1812d59cd9 feat(seo): add robots setting for seo 2022-12-06 10:35:06 +08:00
LinkinStar 5088c3a9ef feat(role): log out user when user was changed role 2022-12-05 17:34:53 +08:00
aichy126 a39d794db2 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-05 17:22:18 +08:00
aichy126 757f073458 fix answer PostUpdateTime 2022-12-05 17:22:00 +08:00
aichy126 6e000bb5f1 update seo config 2022-12-05 17:18:56 +08:00
haitao(lj) ceb8f099bf feat(permalink): permalink and permalink general setting done 2022-12-05 16:42:08 +08:00
kumfo e78747c172 feat(template/i18n): backend template render synchronous with frontend 2022-12-05 15:25:29 +08:00
kumfo 82f1e72483 feat(template/i18n): backend template render synchronous with frontend 2022-12-05 15:24:52 +08:00
kumfo 892d76928f feat(template/timeformat): backend time render synchronous with frontend 2022-12-05 15:20:51 +08:00
kumfo 23bb488731 feat(template/timeformat): backend time render synchronous with frontend 2022-12-05 15:06:41 +08:00
kumfo aee0baba92 feat(template/timeformat): backend time render synchronous with frontend 2022-12-05 14:56:18 +08:00
aichy126 0a995670b3 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-05 13:19:12 +08:00
aichy126 8f53748ccf fix answer update time 2022-12-05 13:18:34 +08:00
aichy126 639e18e441 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-05 12:36:48 +08:00
aichy126 d65f976009 fix answer update time 2022-12-05 12:36:32 +08:00
LinkinStar 4983482b32 feat(i18n): parse all translation file 2022-12-05 12:06:51 +08:00
kumfo 19f119423f feat: template render time i18n 2022-12-05 11:27:37 +08:00
贾海涛(龙笛) 1a954ee0a6 Merge branch 'feat/ui-0.5.0' into 'test'
fix(tag): only use slugName in tagUrl

See merge request opensource/answer!312
2022-12-05 02:41:15 +00:00
haitao(lj) 85c59c27d4 fix(tag): only use slugName in tagUrl 2022-12-05 10:33:11 +08:00
aichy126 a54c69dbee Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 18:55:25 +08:00
aichy126 37703d6734 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-12-02 18:54:11 +08:00
aichy126 c99683f79e fix qustion update time 2022-12-02 18:54:05 +08:00
haitao(lj) 1a12be4fd1 fix(permalink): compatible with permalink 2022-12-02 18:27:42 +08:00
Li Shuailing b5e32e96ab Merge branch 'feat/ui-0.5.0' into 'test'
fix: synonyms tag style adjustment

See merge request opensource/answer!311
2022-12-02 10:21:24 +00:00
shuai 4c60c5e984 fix: synonyms tag style adjustment 2022-12-02 18:10:28 +08:00
LinkinStar 7e13da1813 Merge branch 'feat/0.5.0/timeline_ai' into test
# Conflicts:
#	internal/migrations/v3.go
2022-12-02 18:06:10 +08:00
LinkinStar 552be11de0 feat(db): Add database upgrade sql. 2022-12-02 18:04:30 +08:00
aichy126 a69b8f7dfd Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 18:04:19 +08:00
aichy126 def1373125 fix question update time 2022-12-02 18:03:39 +08:00
Li Shuailing c12fbe912a Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!310
2022-12-02 09:38:33 +00:00
shuai 49c2c219bb fix: synonyms tag changed 2022-12-02 17:31:12 +08:00
aichy126 999ee83c8d add permalink 2022-12-02 17:27:30 +08:00
shuai 1712a1ab19 fix: kbd tag show as text 2022-12-02 17:26:04 +08:00
LinkinStar c6060d5aae fix(question): Add the function of reopening the problem 2022-12-02 17:24:46 +08:00
shuai 57804fc4d9 fix: question add reopen operation 2022-12-02 17:19:31 +08:00
Li Shuailing c5b379b655 Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!309
2022-12-02 08:43:36 +00:00
aichy126 8e0607470b update Canonical 2022-12-02 16:42:40 +08:00
haitao(lj) b0c71a9d33 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-12-02 16:20:48 +08:00
haitao(lj) 2b70df83f8 fix(edit): prevent edit action if editCheck return error 2022-12-02 16:20:26 +08:00
aichy126 1960bcfb4b add question seo Json ld 2022-12-02 16:16:49 +08:00
shuai 9d3e1b5334 fix: cancel log 2022-12-02 16:16:28 +08:00
shuai 1f2be0c8d6 fix: line breaks reflect 2022-12-02 16:15:56 +08:00
Li Shuailing 440f58f6d5 Merge branch 'feat/ui-0.5.0' into 'test'
fix: review kbd cannot render as tag

See merge request opensource/answer!308
2022-12-02 07:32:02 +00:00
shuai 583bd34f1c fix: review kbd cannot render as tag 2022-12-02 15:24:04 +08:00
LinkinStar 7eb6f9a295 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 15:14:52 +08:00
LinkinStar e5cb06b8aa fix(revision): Return toast alert when there is a version under review 2022-12-02 15:14:27 +08:00
LinkinStar 2b0634e2e6 feat(rank): Modify all permission restriction controls 2022-12-02 15:08:18 +08:00
aichy126 756c83782d Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-02 15:01:51 +08:00
aichy126 7af6eaac2d Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 15:01:43 +08:00
aichy126 8ccb2ea498 fix unreviewed revision list 2022-12-02 15:01:29 +08:00
Li Shuailing dcaa7fe3b6 Merge branch 'feat/ui-0.5.0' into 'test'
fix: update use info is empty

See merge request opensource/answer!307
2022-12-02 06:17:30 +00:00
shuai df79e4b8a0 fix: update use info is empty 2022-12-02 14:11:30 +08:00
aichy126 ff6cad6a9d Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 13:13:16 +08:00
aichy126 d7bf6ae3e4 fix add question answer 2022-12-02 13:13:04 +08:00
aichy126 332ec7c966 add language 2022-12-02 12:12:27 +08:00
haitao(lj) ca576d9b12 feat(permalink): permalink factory method done 2022-12-02 11:52:00 +08:00
LinkinStar 74015c13eb Merge branch 'feat/0.5.0/timeline' into feat/0.6.0/user-role
# Conflicts:
#	internal/controller/tag_controller.go
#	internal/schema/activity.go
#	internal/service/activity/activity.go
2022-12-02 11:27:16 +08:00
LinkinStar 210c5c6a8e feat(role): add role permission 2022-12-02 11:21:24 +08:00
Li Shuailing e49967aa83 Merge branch 'feat/ui-0.5.0' into 'test'
fix: question userinfo

See merge request opensource/answer!306
2022-12-02 02:26:45 +00:00
shuai 904ad21b57 fix: question userinfo 2022-12-02 10:19:12 +08:00
shuai 0fd2a807b0 fix: conflict 2022-12-01 19:01:33 +08:00
aichy126 5a540bd3eb Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 18:50:55 +08:00
aichy126 46d80f3956 fix update answer edit time 2022-12-01 18:50:45 +08:00
aichy126 0faea88118 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 18:36:39 +08:00
aichy126 a27b0013d5 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-12-01 18:36:26 +08:00
aichy126 d4b1a5b4e5 fix question last edit userid 2022-12-01 18:36:20 +08:00
LinkinStar affd376f57 Merge branch 'dev' into feat/0.6.0/user-role 2022-12-01 18:23:56 +08:00
shuai 05e92e16b6 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-12-01 18:22:10 +08:00
shuai 2841e3eef2 feat: edit content in review will show toast msg 2022-12-01 18:21:53 +08:00
LinkinStar 9a8bb76e20 feat(question): Tell the user whether to enter the audit state when modifying the question 2022-12-01 18:15:39 +08:00
haitao(lj) 9ceb9e0a07 Merge branch 'feat/ui-0.5.0' into feat/ui-0.6.0 2022-12-01 18:09:47 +08:00
aichy126 86ea679a69 Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-01 17:39:53 +08:00
aichy126 029a43ccef Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 17:39:47 +08:00
aichy126 7b6901e642 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-12-01 17:39:34 +08:00
aichy126 de5b2966bf fix question userid 2022-12-01 17:38:37 +08:00
LinkinStar 3878e47ab9 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 17:35:25 +08:00
LinkinStar 635a8ec942 fix(answer): tag and answer add wait for review response 2022-12-01 17:33:30 +08:00
Ren Yubin 3b6827f9cb Merge branch 'feat/ui-0.5.0' into 'test'
fix(ui): fix the problem of editor spacing error

See merge request opensource/answer!304
2022-12-01 08:30:20 +00:00
aichy126 f651529ba1 Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-01 16:22:14 +08:00
robin eeb08a88d6 fix(ui): fix the problem of editor spacing error 2022-12-01 16:22:13 +08:00
aichy126 8a173a6757 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 16:22:07 +08:00
aichy126 ecf3f023eb fix gitlab ci config 2022-12-01 16:21:47 +08:00
贾海涛(龙笛) 3a1cc928b1 Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!303
2022-12-01 08:08:59 +00:00
LinkinStar 6a9408657c feat(user): add role and role power 2022-12-01 15:54:06 +08:00
haitao(lj) 37abf7d0a9 ci: add goproxy 2022-12-01 15:50:54 +08:00
aichy126 8c32d9aecf Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 15:35:40 +08:00
aichy126 72b3f5de2e update gitlab ci config 2022-12-01 15:35:27 +08:00
kumfo 9ca6445d3a feat: question detail template render 2022-12-01 15:30:02 +08:00
aichy126 5ab1a7641d Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 15:26:34 +08:00
aichy126 b093358e0c update question edit userid 2022-12-01 15:26:20 +08:00
haitao(lj) fe196abd54 fix(en_US): typo 2022-12-01 15:15:21 +08:00
haitao(lj) 44bc738787 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-12-01 15:06:02 +08:00
haitao(lj) c1ad91d064 fix(ask): add form reset for ask 2022-12-01 15:04:03 +08:00
aichy126 e6a42e62ea Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 14:40:19 +08:00
LinkinStar bfd9530b1f fix(synonym): Add tag synonym list member actions 2022-12-01 14:40:18 +08:00
aichy126 28a4289930 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-12-01 14:37:24 +08:00
aichy126 6ccf0c07c6 fix answer update time 2022-12-01 14:37:17 +08:00
haitao(lj) c253ba2800 fix(review): page title 2022-12-01 14:30:32 +08:00
aichy126 21421d0380 add Canonical 2022-12-01 14:20:41 +08:00
Li Shuailing e39d18cf80 Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!302
2022-12-01 04:40:46 +00:00
shuai bb2de6adf0 feat: timlin for answer title 2022-12-01 12:33:04 +08:00
shuai 5b408b902c feat: timlin for tag title 2022-12-01 12:32:01 +08:00
贾海涛(龙笛) 9dcf2505f4 Merge branch 'feat/ui-0.5.0' into 'test'
fix(review): add anwer edit summery and auto rollback review item

See merge request opensource/answer!301
2022-12-01 04:05:26 +00:00
haitao(lj) a12a60b3b2 fix(review): add anwer edit summery and auto rollback review item 2022-12-01 11:57:57 +08:00
robin 6898d33225 feat(ui): add method to set header 2022-12-01 11:39:12 +08:00
robin 7391cfcda1 feat(ui): add method to set header 2022-12-01 11:28:16 +08:00
Li Shuailing 044f37ae6c Merge branch 'feat/ui-0.6.0' into 'test'
Feat/ui 0.6.0

See merge request opensource/answer!300
2022-12-01 01:47:42 +00:00
LinkinStar 5994ddd338 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-30 19:21:12 +08:00
LinkinStar 505fa7e6d3 fix(tr): Fix translation errors 2022-11-30 19:19:01 +08:00
aichy126 9ff2979899 update tags 2022-11-30 19:14:14 +08:00
LinkinStar 457c1cd798 fix(rank): Incorrect version reputation check rule 2022-11-30 19:11:28 +08:00
aichy126 caf1fb4466 question/page 2022-11-30 19:00:42 +08:00
杨光富 29eed866cd Merge branch 'fix/search' into 'test'
fix: search all contents haven't result

See merge request opensource/answer!299
2022-11-30 10:32:54 +00:00
kumfo 04062afeac fix: search all contents haven't result 2022-11-30 18:25:31 +08:00
kumfo 0a46a9b002 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.6.0/seo 2022-11-30 18:16:01 +08:00
kumfo c2ce03d26c fix: user url error of render question list 2022-11-30 18:15:56 +08:00
aichy126 287266d221 fix userinfo 2022-11-30 18:15:21 +08:00
aichy126 d8902a44d1 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-11-30 18:10:44 +08:00
aichy126 c2b1c60c5b add year 2022-11-30 18:10:38 +08:00
kumfo abc9d9ad96 fix: render question list, pagination error 2022-11-30 18:02:58 +08:00
kumfo 1ada26483d Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.6.0/seo 2022-11-30 17:58:39 +08:00
kumfo ae964c537e fix: render question list, pagination error 2022-11-30 17:58:33 +08:00
aichy126 a99a7dd1ce add siteinfo 2022-11-30 17:56:25 +08:00
aichy126 4478df163e Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-11-30 17:48:38 +08:00
aichy126 888024403a update siteinfo 2022-11-30 17:48:35 +08:00
kumfo 9a2e1b6797 feat: render question list 2022-11-30 17:47:40 +08:00
aichy126 972d11b0e5 update homepage 2022-11-30 17:39:19 +08:00
robin 90b6a7fb42 refactor(ui): modify className 2022-11-30 17:31:20 +08:00
robin 915ee771a4 chore: remove unused library 2022-11-30 17:29:21 +08:00
shuai f45b466c33 feat: delete unused code 2022-11-30 17:23:31 +08:00
shuai 9884a1d23f feat: cannot change current logged user status and role 2022-11-30 17:17:58 +08:00
贾海涛(龙笛) 9cdc75f764 Merge branch 'feat/ui-0.5.0' into 'test'
Merge branch 'dev' into feat/ui-0.5.0

See merge request opensource/answer!298
2022-11-30 08:53:33 +00:00
haitao(lj) b5955316d9 Merge branch 'dev' into feat/ui-0.5.0 2022-11-30 16:44:04 +08:00
aichy126 cae46c94cf update page 2022-11-30 16:27:23 +08:00
aichy126 a20105321d update page 2022-11-30 16:18:23 +08:00
aichy126 7cad11e725 update paginator 2022-11-30 15:15:39 +08:00
aichy126 c3479b7083 add paginator 2022-11-30 15:11:06 +08:00
aichy126 25908ab3c6 update userinfo 2022-11-30 14:45:23 +08:00
haitao(lj) fa7ade2a24 Merge branch 'feat/ui-0.5.0' into feat/ui-0.6.0 2022-11-30 14:27:56 +08:00
aichy126 fac34f66c9 update userinfo 2022-11-30 14:25:03 +08:00
Ren Yubin 040b432d6c Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!297
2022-11-30 04:16:22 +00:00
aichy126 1972872105 add userinfo 2022-11-30 12:13:26 +08:00
robin b9140af2f7 refactor(ui): sync code 2022-11-30 12:07:34 +08:00
aichy126 5884aea2a7 update template 2022-11-30 12:01:41 +08:00
aichy126 d99f3f31f1 split template 2022-11-30 11:23:04 +08:00
shuai 190ab10990 fix: action link style change 2022-11-30 11:18:59 +08:00
robin 4c114179c3 refactor(ui): solve the problem that select onChange is invalid 2022-11-30 11:08:14 +08:00
Ren Yubin 0e41f807ac Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!295
2022-11-30 02:31:39 +00:00
robin 255decf8cf refactor(ui): modify font size 2022-11-30 10:20:36 +08:00
robin 665332d5d7 feat(ui): show smtp username and password fields when Authentication is on 2022-11-30 10:15:07 +08:00
robin 1a317d6dce refactor(ui): update general 2022-11-30 10:15:07 +08:00
robin 8faafda086 fix(ui): solve the problem of irregular use of input type 2022-11-30 10:15:07 +08:00
haitao(lj) 5451625725 Merge branch 'feat/ui-0.5.0' into test 2022-11-30 10:13:35 +08:00
haitao(lj) 3ff28969e1 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-29 19:34:49 +08:00
haitao(lj) 199c3524ee fix(badge): change Badge to bootstrap 5.2 2022-11-29 19:34:36 +08:00
robin ad8b301c9e fix: solve the problem that the form does not follow the specification 2022-11-29 18:33:47 +08:00
aichy126 b09fc6b15f fix question router 2022-11-29 18:32:49 +08:00
aichy126 77a6d2d16d add 404 2022-11-29 18:25:25 +08:00
kumfo 3c93f569cc Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.6.0/seo 2022-11-29 18:14:31 +08:00
kumfo 056fea83be feat: template render controller changed 2022-11-29 18:14:26 +08:00
Li Shuailing 57487a9ef8 Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!293
2022-11-29 10:12:48 +00:00
shuai c4c5f4016a fix: diffText fucntion change 2022-11-29 18:06:27 +08:00
aichy126 8172d4a953 update template 2022-11-29 18:04:46 +08:00
aichy126 b4fcfa7159 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-11-29 18:02:48 +08:00
aichy126 8e240b677e add template 2022-11-29 18:02:42 +08:00
kumfo fadba21723 feat: template render init wire 2022-11-29 17:50:31 +08:00
haitao(lj) f1874e94a0 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-29 17:49:19 +08:00
haitao(lj) 8e52165229 fix(footer): gitlab#1342 2022-11-29 17:49:02 +08:00
shuai 84bca528de fix: diffconten style adjustment 2022-11-29 17:44:44 +08:00
aichy126 bb52bf50ed add template 2022-11-29 17:26:18 +08:00
Li Shuailing 854d40e55a Merge branch 'feat/ui-0.5.0' into 'test'
fix(ui): solve the problem that the checkbox cannot be selected

See merge request opensource/answer!292
2022-11-29 09:21:25 +00:00
aichy126 9839272d95 update template 2022-11-29 17:20:28 +08:00
shuai 7d27edf79b Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-29 16:50:58 +08:00
robin ac3a9a4e24 fix(ui): solve the problem that the checkbox cannot be selected
FIx: #101
2022-11-29 16:05:23 +08:00
shuai 2d3ec9173c fix: timeline for tag diffcontent 2022-11-29 16:03:19 +08:00
贾海涛(龙笛) c05f7407be Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!291
2022-11-29 07:57:23 +00:00
aichy126 c090d535bb Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 15:50:16 +08:00
aichy126 c5eecd33c3 fix question recommend tag 2022-11-29 15:50:07 +08:00
aichy126 bf41dec058 add template 2022-11-29 15:48:26 +08:00
haitao(lj) 065b6ce87f Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-29 15:48:23 +08:00
haitao(lj) c1412a9eba fix(comment): if with commentId query param, auto scroll to target comment 2022-11-29 15:48:11 +08:00
aichy126 cf79427734 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 15:01:27 +08:00
aichy126 59d4349a39 fix question update time 2022-11-29 15:01:17 +08:00
aichy126 5248d9e7c3 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 14:57:14 +08:00
aichy126 44d70a8fda Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-29 14:56:41 +08:00
aichy126 22e683a0b8 fix 2022-11-29 14:56:22 +08:00
杨光富 e13c39cf0d Merge branch 'fix/search' into 'test'
fix(search_repo):

See merge request opensource/answer!290
2022-11-29 06:22:40 +00:00
kumfo a331cad4bf fix(search_repo):
1. is:question and is:answer can be return list without keywords.
2. fixed search result count is limited page_size
2022-11-29 14:16:41 +08:00
shuai 6d5c6d3467 fix: axios timline for tag title change 2022-11-29 12:24:47 +08:00
LinkinStar 4300e524be feat(siteinfo): set site info description is optional field 2022-11-29 12:17:20 +08:00
kumfo 8b9ee2382f Merge branch 'dev' into fix/search 2022-11-29 11:59:20 +08:00
Li Shuailing 8e422f5f2e Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!288
2022-11-29 03:31:09 +00:00
shuai 4a93a59c56 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-29 11:21:00 +08:00
shuai 449db3bf5b fix: axios status 403 show error msg 2022-11-29 11:20:48 +08:00
haitao(lj) 4631132828 fix(comment): change param commentId to comment_id 2022-11-29 10:49:55 +08:00
haitao(lj) 58e8edcb86 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-29 10:45:38 +08:00
haitao(lj) 3ed4b58980 fix: add commentId for query target comment 2022-11-29 10:43:31 +08:00
LinkinStar 79e7f9b599 feat: return the specified comment 2022-11-29 10:42:04 +08:00
LinkinStar b446a7c58d Merge branch 'feat/0.5.0/comment' into test
# Conflicts:
#	internal/service/comment/comment_service.go
2022-11-29 10:27:00 +08:00
LinkinStar f693077ae5 feat: When the user requests the specified comment, if it does not exist in the comment list then query and return it. 2022-11-29 10:25:28 +08:00
LinkinStar 916dbf52cb feat: activity object info return display name 2022-11-29 10:03:37 +08:00
LinkinStar 8328e1a7de Merge branch 'feat/0.5.0/timeline_ai' into test
# Conflicts:
#	internal/schema/activity.go
#	internal/service/activity/activity.go
2022-11-29 10:02:30 +08:00
LinkinStar c455f3f02b feat: activity object info return display name 2022-11-29 10:00:23 +08:00
Li Shuailing efd5c2f79e Merge branch 'feat/ui-0.5.0' into 'test'
fix: timline show votes condition

See merge request opensource/answer!287
2022-11-28 10:52:35 +00:00
shuai 71f8a21032 fix: timline show votes condition 2022-11-28 18:46:56 +08:00
aichy126 61b148ebd1 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-28 18:19:53 +08:00
aichy126 80d0a8fbd3 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-28 18:19:26 +08:00
aichy126 712f918f9c fix question update time and tag check 2022-11-28 18:19:22 +08:00
Li Shuailing baabc06109 Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!286
2022-11-28 10:17:42 +00:00
shuai 68879eb4cf Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-28 18:10:24 +08:00
shuai bd8b36e842 fix: timline page adjustment 2022-11-28 18:10:07 +08:00
贾海涛(龙笛) be5c86f4e0 Merge branch 'feat/ui-0.5.0' into 'test'
fix(users): adjust layout for user overview page

See merge request opensource/answer!285
2022-11-28 10:02:27 +00:00
haitao(lj) 9af3067e8f fix(users): adjust layout for user overview page 2022-11-28 17:54:57 +08:00
贾海涛(龙笛) cab4771a76 Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!284
2022-11-28 09:22:05 +00:00
LinkinStar ef250eacef feat: activity object info return username 2022-11-28 17:18:41 +08:00
LinkinStar 224b569013 feat: activity object info return username 2022-11-28 17:09:52 +08:00
haitao(lj) cb1b7f7f23 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-28 16:50:11 +08:00
linkinstar 85bd1f554c Merge branch 'fix/0.5.0/email-duplicate' into 'test'
fix: prompt form error when user enters email repeatedly

See merge request opensource/answer!280
2022-11-28 08:50:03 +00:00
haitao(lj) 4eaab3d005 fix(question): initFormData not cleared correctly in form Ask 2022-11-28 16:48:26 +08:00
LinkinStar 2f4b57e57f fix: prompt form error when user enters email repeatedly 2022-11-28 16:40:24 +08:00
shuai 82a9e2bd03 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-28 16:27:26 +08:00
shuai 6ca8b81230 feat: email form error 2022-11-28 16:27:18 +08:00
贾海涛(龙笛) b2fa2cb834 Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!279
2022-11-28 08:14:26 +00:00
haitao(lj) 32d64b40b9 chore(users): remove unnecessary route guard & log 2022-11-28 16:08:12 +08:00
shuai a6ace8b38d feat: add change user role modal 2022-11-28 16:00:29 +08:00
haitao(lj) 3f910b76a2 fix(footer): use the official website url of answer. #1321 2022-11-28 14:38:57 +08:00
LinkinStar f1e48196db Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 18:38:30 +08:00
LinkinStar 820d87e318 feat: Added a vote reputation limit 2022-11-25 18:35:35 +08:00
贾海涛(龙笛) 5cab4439e0 Merge branch 'feat/ui-0.5.0' into 'test'
feat(review): ready for testing

See merge request opensource/answer!278
2022-11-25 10:03:21 +00:00
LinkinStar 6e8cfb4ac5 fix: update the initial reputation value 2022-11-25 18:00:50 +08:00
haitao(lj) 079513e8b6 feat(review): ready for testing 2022-11-25 17:55:13 +08:00
aichy126 d40b6194fe Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 17:17:13 +08:00
aichy126 01537f630e Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-25 17:15:07 +08:00
aichy126 4a993e3847 add notification 2022-11-25 17:15:02 +08:00
LinkinStar fee838665f fix: update comment use incorrect comment id 2022-11-25 17:14:24 +08:00
LinkinStar dd5671d5f9 fix: Initializes the comment permission list 2022-11-25 17:08:55 +08:00
aichy126 0b28e4eae5 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 16:50:21 +08:00
LinkinStar ceb0ee48c6 fix: tag query condition is incorrect 2022-11-25 16:49:53 +08:00
aichy126 682223ba61 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 16:43:29 +08:00
LinkinStar 594f57112e fix: question permission set is structˆ 2022-11-25 16:43:00 +08:00
aichy126 a77c023fac Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 16:37:32 +08:00
aichy126 ad8dafd7af fix question questionPermission 2022-11-25 16:37:16 +08:00
LinkinStar aea8b1052f Merge remote-tracking branch 'origin/feat/0.5.0/timeline_ai' into test 2022-11-25 16:03:31 +08:00
LinkinStar 7513a4412e fix: remove is admin query condition 2022-11-25 15:57:24 +08:00
LinkinStar 299acf08af Merge remote-tracking branch 'origin/feat/0.5.0/timeline' into test 2022-11-25 15:35:58 +08:00
LinkinStar c748560b18 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 15:35:32 +08:00
LinkinStar 381c61d312 feat: tag add user id 2022-11-25 15:35:12 +08:00
LinkinStar b09e693d8b feat: tag add user id 2022-11-25 15:34:36 +08:00
aichy126 911d93d822 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 15:31:29 +08:00
aichy126 d5b2ab1557 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-25 15:30:46 +08:00
aichy126 60a5c4015f swagger 2022-11-25 15:30:29 +08:00
LinkinStar 8fa1b0c0d5 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 15:01:04 +08:00
LinkinStar d30cae05c7 fix: incorrect answer permission setting 2022-11-25 14:59:52 +08:00
LinkinStar fa00ea3828 fix: incorrect question permission setting 2022-11-25 14:55:56 +08:00
LinkinStar 205bbec2fd Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 12:23:49 +08:00
LinkinStar 565c0d5e18 Merge branch 'feat/0.5.0/timeline' into test 2022-11-25 12:23:08 +08:00
LinkinStar 645df9d20f feat: No operation is allowed when the reputation requirement is less than 0 2022-11-25 12:22:53 +08:00
LinkinStar e54ebacc22 feat: set question answer comment delete rank -1 2022-11-25 12:20:50 +08:00
aichy126 f6e881c64f Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 12:08:33 +08:00
LinkinStar ee7428cba5 feat: add question answer tag comment permission Control 2022-11-25 12:07:56 +08:00
aichy126 436829c2d1 update tag show 2022-11-25 11:40:54 +08:00
aichy126 d90f95157a Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 11:25:13 +08:00
aichy126 f6911df6d9 update GetUnreviewedRevisionList add userinfo 2022-11-25 11:22:29 +08:00
aichy126 e445415ab9 update review permission 2022-11-25 11:13:58 +08:00
aichy126 d819ef24ec update revision list 2022-11-25 11:08:19 +08:00
aichy126 2efc78cf30 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-25 10:47:14 +08:00
aichy126 3d532533cc 版本审核 2022-11-25 10:46:39 +08:00
LinkinStar 6ea8013df3 feat: handles audit permissions for different types of objects 2022-11-25 10:45:30 +08:00
LinkinStar 4907c6736a Merge branch 'feat/0.5.0/timeline' into test 2022-11-25 10:27:38 +08:00
LinkinStar 06d358438d feat: version upgrade add rank limiting condition 2022-11-25 10:27:13 +08:00
aichy126 fdb7ceb26e fix 2022-11-24 18:07:41 +08:00
aichy126 2c32be50b2 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 18:07:38 +08:00
aichy126 c08a9c852e fix NoNeedReview 2022-11-24 18:05:56 +08:00
LinkinStar bb5594722f feat: check user operation need review 2022-11-24 18:00:30 +08:00
aichy126 41352280f1 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 17:58:41 +08:00
aichy126 cacb9783b8 fix 2022-11-24 17:58:22 +08:00
aichy126 00a0c160b3 fix revision service 2022-11-24 17:52:21 +08:00
aichy126 a376489b49 update revision service 2022-11-24 17:47:54 +08:00
Li Shuailing abef724e8e Merge branch 'feat/ui-0.5.0' into 'test'
fix: timeline content add monospace text style

See merge request opensource/answer!277
2022-11-24 09:39:15 +00:00
shuai 81ec786366 fix: timeline content add monospace text style 2022-11-24 17:33:48 +08:00
aichy126 f99d40d0b7 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 16:16:51 +08:00
aichy126 45bf3e4a45 swagger 2022-11-24 16:16:39 +08:00
aichy126 104f22579f Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-11-24 16:13:24 +08:00
aichy126 a7f9d999cc Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 16:13:10 +08:00
aichy126 9fb1d82a5b fix router 2022-11-24 16:12:48 +08:00
LinkinStar 59a8b0f3bb feat: check rank permission 2022-11-24 16:11:43 +08:00
aichy126 ff50bc9422 fix is admin 2022-11-24 16:08:59 +08:00
aichy126 1e14c9ab54 update revision tag 2022-11-24 16:00:56 +08:00
aichy126 4e489736b5 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-24 15:48:10 +08:00
aichy126 7506806b67 update tag revision 2022-11-24 15:48:04 +08:00
LinkinStar afa66cb9f6 refactor: extract is admin flag from context 2022-11-24 15:24:04 +08:00
aichy126 977f9999a9 update tag revision 2022-11-24 15:02:31 +08:00
aichy126 d1f951d066 fix question revision 2022-11-24 14:31:28 +08:00
aichy126 7794dd2b5c update question revision 2022-11-24 14:27:31 +08:00
linkinstar fe5101b502 Merge branch 'fix/0.5.0/i18n-init' into 'test'
fix: if i18n file exist, try to replace it when init. #95

See merge request opensource/answer!276
2022-11-24 04:06:28 +00:00
LinkinStar 18e062623e fix: if i18n file exist, try to replace it when init. #95 2022-11-24 11:59:19 +08:00
aichy126 9b221b3c1a Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 11:50:45 +08:00
aichy126 ec0983395e Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-11-24 11:50:19 +08:00
aichy126 fea5ff5fde fix answer list 2022-11-24 11:50:11 +08:00
Li Shuailing 6a15b5bbb9 Merge branch 'feat/ui-0.5.0' into 'test'
fix: timeline add empty state

See merge request opensource/answer!275
2022-11-24 03:47:30 +00:00
shuai 155c9b57c3 fix: timeline add empty state 2022-11-24 11:35:32 +08:00
aichy126 2f33d000a1 update question AddActivity 2022-11-24 11:29:58 +08:00
LinkinStar 5a16a24859 fix: not enough argument lead to compile error 2022-11-24 11:24:11 +08:00
aichy126 b5b1a10df4 update revision audit 2022-11-24 11:14:15 +08:00
LinkinStar e937597afe Merge branch 'feat/0.5.0/timeline' into test 2022-11-24 11:02:28 +08:00
LinkinStar bc2012a359 fix: timeline main object info that label information exists 2022-11-24 10:56:55 +08:00
LinkinStar 4e8283eac9 fix: timeline accept answer activity type format, parse the close problem correctly 2022-11-24 10:48:30 +08:00
Li Shuailing f1a3a175bf Merge branch 'feat/ui-0.5.0' into 'test'
fix: timeline for question show answered as link

See merge request opensource/answer!274
2022-11-24 02:44:13 +00:00
shuai db592bfc01 fix: timeline for question show answered as link 2022-11-24 10:34:01 +08:00
Li Shuailing cda8c0839f Merge branch 'feat/ui-0.5.0' into 'test'
fix: comment rendered as html

See merge request opensource/answer!273
2022-11-24 02:28:56 +00:00
shuai fdc08606c4 fix: comment rendered as html 2022-11-24 10:21:19 +08:00
Li Shuailing f913408d13 Merge branch 'feat/ui-0.5.0' into 'test'
fix: timeline add i18n

See merge request opensource/answer!272
2022-11-24 02:15:20 +00:00
LinkinStar 4e1da6acec feat: upgrade update migration config 2022-11-24 10:12:07 +08:00
shuai 574b926108 fix: timeline add i18n 2022-11-24 10:08:02 +08:00
LinkinStar 5e6a7955e8 Merge branch 'feat/0.5.0/timeline' into test 2022-11-24 10:04:06 +08:00
LinkinStar ba5243040e feat: upgrade add migration config 2022-11-24 09:58:58 +08:00
Li Shuailing 856c441400 Merge branch 'feat/ui-0.5.0' into 'test'
Feat/ui 0.5.0

See merge request opensource/answer!271
2022-11-24 01:35:39 +00:00
LinkinStar 63f624c2be Merge remote-tracking branch 'origin/feat/0.5.0/timeline' into test 2022-11-24 09:29:14 +08:00
LinkinStar dbc316c40d refactor: activity timeline extract user info and comment function 2022-11-23 19:30:38 +08:00
aichy126 d1f4793394 update GetUnreviewedRevisionList 2022-11-23 18:22:32 +08:00
aichy126 d5392993fd Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-23 18:17:19 +08:00
aichy126 64a87bafb2 update unreviewed revisions router 2022-11-23 18:17:06 +08:00
aichy126 f4f511e073 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-23 18:11:49 +08:00
aichy126 3cd52758f3 update unreviewed revision 2022-11-23 18:10:34 +08:00
LinkinStar 60d6e18cd4 fix: add user id when admin update answer status 2022-11-23 17:58:03 +08:00
LinkinStar 45bd739f51 fix: timeline revision tag detail title is display name 2022-11-23 17:32:59 +08:00
LinkinStar 60f4264e58 feat: answer and tag delete add activity 2022-11-23 17:02:44 +08:00
aichy126 a923e6f0b4 GetUnreviewedRevisionList 2022-11-23 16:52:27 +08:00
aichy126 6202877bdc GetUnreviewedRevisionList 2022-11-23 16:27:35 +08:00
LinkinStar ff38dc5a0c feat: activity timeline show vote activity 2022-11-23 16:12:48 +08:00
shuai da20711a6d fix: timeline for tag url add mian tag slug-name 2022-11-23 15:29:28 +08:00
shuai f882058266 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-23 15:21:51 +08:00
shuai f3ec755e92 feat: add timeline router 2022-11-23 15:21:36 +08:00
aichy126 12c432b689 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-23 15:19:29 +08:00
aichy126 a680944168 CheckCanUpdateQuestion 2022-11-23 15:19:17 +08:00
LinkinStar d399b9756f feat: activity timeline revision add tag detail 2022-11-23 14:21:11 +08:00
haitao(lj) f3b00e8f0f fix(question): add field summary for question edit 2022-11-23 14:13:03 +08:00
aichy126 43a230af46 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-23 12:11:09 +08:00
aichy126 1bf0d6365e update question tags 2022-11-23 12:07:06 +08:00
aichy126 5b005e652f fix admin update question 2022-11-23 11:38:39 +08:00
aichy126 7f7d11f58c Merge branch 'feat/0.5.0/timeline' into feat/0.5.0/timeline_ai 2022-11-23 11:20:15 +08:00
LinkinStar 191ec2a130 fix: remove unused tag search service 2022-11-23 11:19:06 +08:00
aichy126 ba46d08e04 swagger 2022-11-23 11:10:15 +08:00
aichy126 5547b2fe91 Merge branch 'ai_0.3_fix_del' into feat/0.5.0/timeline 2022-11-23 11:10:10 +08:00
LinkinStar 982d034252 feat: add timeline detail api 2022-11-23 11:07:41 +08:00
aichy126 19603b106e Merge branch 'ai/0.4.0/fix/tag' into feat/0.5.0/timeline 2022-11-23 10:58:36 +08:00
LinkinStar cd961eafc2 feat: add timeline api interface 2022-11-22 19:48:27 +08:00
aichy126 67917332f0 Merge branch 'ai/0.4.0/fix/tag' into test 2022-11-22 18:16:13 +08:00
aichy126 e27121f871 fix 2022-11-22 18:15:10 +08:00
aichy126 dcf28bf204 fix RecommendTagEnter 2022-11-22 18:14:32 +08:00
aichy126 94e0961d4d Merge branch 'ai/0.4.0/fix/tag' into test 2022-11-22 18:10:57 +08:00
aichy126 0df1ab82fa fix question tags update error 2022-11-22 18:10:44 +08:00
shuai 9359f27729 feat: add timeline page 2022-11-22 17:41:48 +08:00
aichy126 1b1c5cb2f9 Merge branch 'ai_0.3_fix_del' into test 2022-11-22 17:35:54 +08:00
haitao(lj) d9d4e6a204 ci(linting): remove unnecessary git add command during linting 2022-11-22 17:35:40 +08:00
aichy126 c8e20b15c8 fix en_us.yaml 2022-11-22 16:58:31 +08:00
aichy126 f16f1a8ced Merge branch 'ai_0.3_fix_del' into test 2022-11-22 16:58:24 +08:00
haitao(lj) c828289903 Merge branch 'feat/ui-0.5.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.5.0 2022-11-22 16:52:24 +08:00
haitao(lj) ecce2b10e6 feat(review): review page template 2022-11-22 16:48:40 +08:00
aichy126 19f507be2d fix en_US.yaml 2022-11-22 16:28:15 +08:00
aichy126 ac9aaaac83 en_US.yaml 2022-11-22 16:26:49 +08:00
aichy126 f274d2cc0d Merge branch 'ai_0.3_fix_del' into test 2022-11-22 16:26:24 +08:00
aichy126 e3e9ee0663 Merge branch 'ai/0.4.0/fix/tag' into test 2022-11-22 11:39:46 +08:00
aichy126 6b983d472d fix tag update error 2022-11-22 11:37:37 +08:00
aichy126 0509413779 fix en_us 2022-11-22 11:21:46 +08:00
aichy126 2657770c7d Merge branch 'ai_0.3_fix_del' into test 2022-11-22 11:21:36 +08:00
LinkinStar d36f758fba feat: add activity where needed 2022-11-21 19:28:02 +08:00
robin ae6598ac41 chore(ui): add commit lint 2022-11-21 18:21:00 +08:00
robin 35834dfcb2 chore(ui): add dev dependencies 2022-11-21 18:20:27 +08:00
robin f13bd2ed06 chore(ui): update .lintstagedrc.json 2022-11-21 18:15:46 +08:00
robin b271d4de45 chore(ui): add pre-commit 2022-11-21 18:14:38 +08:00
LinkinStar feb62afb95 feat: add activity queue 2022-11-21 17:59:52 +08:00
robin 8f68fc252b refactor(ui): remove setupTests.ts 2022-11-21 17:59:18 +08:00
robin 4145509919 chore(ui): Add lint-staged 2022-11-21 17:58:57 +08:00
LinkinStar 6e0c41e769 feat: activity add cancelled_at field 2022-11-21 16:56:54 +08:00
LinkinStar 20f0a1b664 feat: question revision add tags 2022-11-21 16:51:13 +08:00
shuai b97f0fe9d3 feat: add diff function 2022-11-21 10:12:27 +08:00
942 changed files with 144961 additions and 19050 deletions
+48
View File
@@ -0,0 +1,48 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# NOTE: All configurations could be found here: https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
github:
description: "A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer."
homepage: https://answer.apache.org
labels:
- react
- go
- golang
- community
- forum
- question
- typescript
- q-and-a
- hacktoberfest
features:
wiki: false
issues: true
projects: true
discussions: false
enabled_merge_buttons:
squash: true
rebase: true
merge: false
protected_branches:
main: {}
notifications:
commits: commits@answer.apache.org
issues: commits@answer.apache.org
pullrequests: commits@answer.apache.org
discussions: commits@answer.apache.org
+17
View File
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# http://editorconfig.org
root = true
+16 -18
View File
@@ -1,38 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
about: Report an issue to help the project improve.
title: ''
labels: ''
labels: bug
assignees: ''
---
**Describe the bug**
## Describe the bug
A clear and concise description of what the bug is.
**To Reproduce**
### To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
### Expected behavior
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
### Screenshots
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
If applicable, add screenshots or video to help explain your problem.
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
### Platform
**Additional context**
Add any other context about the problem here.
- Device: [e.g. Desktop, Mobile]
- OS: [e.g. macOS]
- Browser and version: [e.g. Chrome, Safari]
- Version: [e.g. v1.2.0]
+22
View File
@@ -0,0 +1,22 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
blank_issues_enabled: true
contact_links:
- name: Support
url: https://answer.apache.org/community
about: Contact us if you have any questions while using.
@@ -0,0 +1,20 @@
---
name: Enhancement request
about: Suggest an enhancement for this project. Improve an existing feature.
title: ''
labels: enhancement
assignees: ''
---
## Is your enhancement request related to a problem? Please describe
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Describe the solution you'd like
A clear and concise description of what you want to happen.
## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
+8 -8
View File
@@ -1,20 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
about: Suggest an idea or possible new feature for this project.
title: ''
labels: ''
labels: feature
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
## Is your feature request related to a problem? Please describe
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
## Describe the solution you'd like
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
## Describe alternatives you've considered
**Additional context**
Add any other context or screenshots about the feature request here.
A clear and concise description of any alternative solutions or features you've considered.
@@ -0,0 +1,59 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Build Binary For Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build-goreleaser:
if: ${{ github.repository_owner == 'apache' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Node Build
run: make install-ui-packages ui
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean --skip-validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: answer
path: ./dist/*
@@ -0,0 +1,65 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Manual Build Docker Image For Release
on:
workflow_dispatch:
inputs:
tag_name:
type: string
required: true
description: 'DockerHub img tag name'
jobs:
build:
if: ${{ github.repository_owner == 'apache' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: apache/answer
tags: |
type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
type=semver,pattern={{version}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile
tags: apache/answer:${{ inputs.tag_name }}
labels: ${{ steps.meta.outputs.labels }}
@@ -0,0 +1,70 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Build Docker Image For Release
on:
push:
branches: [ "main"]
tags:
- v2.*
- v1.*
- v0.*
# pull_request:
# branches: [ "main" ]
jobs:
build:
if: ${{ github.repository_owner == 'apache' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: apache/answer
tags: |
type=raw,value=latest
type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
type=semver,pattern={{version}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
@@ -0,0 +1,61 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Build Docker Image For Test
on:
push:
branches: [ "test" ]
jobs:
build:
if: ${{ github.repository_owner == 'apache' }}
name: Build and Push
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: apache/answer
tags: |
type=raw,value=test
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-60
View File
@@ -1,60 +0,0 @@
name: Build Docker Hub Image
on:
push:
branches: [ "main" ]
tags:
- v2.*
- v1.*
- v0.*
# pull_request:
# branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm64
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v3
with:
images: answerdev/answer
tags: |
type=raw,value=latest
# branch event
type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
# tag event
#type=ref,enable=true,priority=600,prefix=,suffix=,event=tag
type=semver,pattern={{version}}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-65
View File
@@ -1,65 +0,0 @@
name: Build GitHub Image
on:
push:
branches: [ "main" ]
tags:
- 2.*
- 1.*
- 0.*
# pull_request:
# branches: [ "main" ]
env:
REGISTRY: ghcr.io
IMAGE: answerdev/answer
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to ghcr.io
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE }}
tags: |
type=raw,value=latest
- name: Build Img
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# - name: build to hub.docker
# run: |
# docker build -t answerdev/answer -f ./Dockerfile .
# - name: Login to hub.docker Registry
# run: docker login --username=${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }}
# - name: Push Image to hub.docker
# run: |
# docker push answerdev/answer
+46
View File
@@ -0,0 +1,46 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
# Concurrency strategy:
# github.workflow: distinguish this workflow from others
# github.event_name: distinguish `push` event from `pull_request` event
# github.event.number: set to the number of the pull request if `pull_request` event
# github.run_id: otherwise, it's a `push` or `schedule` event, only cancel if we rerun the workflow
#
# Reference:
# https://docs.github.com/en/actions/using-jobs/using-concurrency
# https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }}
cancel-in-progress: true
jobs:
check:
name: Check and lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Check license header
uses: korandoru/hawkeye@v3
-24
View File
@@ -1,24 +0,0 @@
name: Go Build Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Go Test Build
run: make clean build
-23
View File
@@ -1,23 +0,0 @@
name: Node Build Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-node@v3
with:
node-version: 16
- name: Test Build
run: make install-ui-packages ui
+8 -2
View File
@@ -9,17 +9,23 @@
/.fleet
/.vscode/*.log
/cmd/answer/*.sh
/cmd/answer/answer
/cmd/answer/uploads/*
/cmd/logs
/configs/config-dev.yaml
/go.work*
/logs
/ui/build
/ui/node_modules
/ui/build/*/*/*
/ui/build/*.json
/ui/build/*.html
/ui/build/*.txt
/vendor
Thumbs*.db
tmp
vendor/
.husky
/answer-data/
/answer
/new_answer
dist/
+18 -40
View File
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
include:
- project: "segmentfault/devops/templates"
file: ".docker-build-push.yml"
@@ -5,47 +22,8 @@ include:
file: ".deploy-helm.yml"
stages:
- compile-html
- compile-golang
- push
- deploy-dev
"compile the html and other static files":
image: node:16
stage: compile-html
tags:
- runner-nanjing
before_script:
- npm config set registry https://repo.huaweicloud.com/repository/npm/
- make install-ui-packages
script:
- make ui
artifacts:
paths:
- ./build
"compile the golang project":
image: golang:1.18
stage: compile-golang
script:
- make generate
- make build
artifacts:
paths:
- ./answer
"build docker images and push":
stage: push
extends: .docker-build-push
only:
- test
variables:
DockerNamespace: sf_app
DockerImage: answer
DockerTag: "$CI_COMMIT_SHORT_SHA latest"
DockerfilePath: .
PushPolicy: qingcloud
"deploy-to-local-develop-environment":
stage: deploy-dev
extends: .deploy-helm
@@ -55,7 +33,7 @@ stages:
LoadBalancerIP: 10.0.10.98
KubernetesCluster: dev
KubernetesNamespace: "sf-web"
InstallArgs: --set service.loadBalancerIP=${LoadBalancerIP} --set image.tag=$CI_COMMIT_SHORT_SHA --set replicaCount=1 --set serivce.targetPort=80
InstallArgs: --set service.loadBalancerIP=${LoadBalancerIP} --set image.tag=latest --set replicaCount=1 --set serivce.targetPort=80
ChartName: answer
InstallPolicy: replace
+86
View File
@@ -0,0 +1,86 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
env:
- GO11MODULE=on
- GO111MODULE=on
- GOPROXY=https://goproxy.io,direct
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
release:
draft: true
builds:
- id: build
main: ./cmd/answer/.
binary: answer
ldflags: -s -w -X github.com/apache/incubator-answer/cmd.Version={{.RawVersion}} -X github.com/apache/incubator-answer/cmd.Revision={{.ShortCommit}} -X github.com/apache/incubator-answer/cmd.Time={{.Date}} -X github.com/apache/incubator-answer/cmd.BuildUser=goreleaser
flags: -v
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- id: build-windows
main: ./cmd/answer/.
binary: answer
ldflags: -s -w -X github.com/apache/incubator-answer/cmd.Version={{.RawVersion}} -X github.com/apache/incubator-answer/cmd.Revision={{.ShortCommit}} -X github.com/apache/incubator-answer/cmd.Time={{.Date}} -X github.com/apache/incubator-answer/cmd.BuildUser=goreleaser
flags: -v
goos:
- windows
goarch:
- amd64
archives:
- name_template: >-
apache-answer-{{ .RawVersion }}-incubating-bin-{{ .Os }}-{{ .Arch }}
files:
- src: "docs/release/LICENSE"
dst: LICENSE
- src: "docs/release/NOTICE"
dst: NOTICE
- src: "docs/release/licenses/*"
dst: licenses/
- src: "DISCLAIMER"
dst: DISCLAIMER
wrap_in_directory: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
source:
enabled: true
name_template: apache-answer-{{ .RawVersion }}-incubating-src
prefix_template: "apache-answer-{{ .RawVersion }}-incubating-src/"
# goreleaser release --skip-validate --skip-publish --clean
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

+37
View File
@@ -0,0 +1,37 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
version: 0.0.1
achievements:
- achievement:
name: Visionary Architect
icon: https://raw.githubusercontent.com/apache/incubator-answer/main/.vaunt/enhancement.png
description: Awarded for bringing up enhancement, dream big!
triggers:
- trigger:
actor: assignees
action: issue
condition: labels in ['enhancement'] & labels in ['LGTM']
- achievement:
name: Bug Hunter
icon: https://raw.githubusercontent.com/apache/incubator-answer/main/.vaunt/bug.png
description: Awarded for identifying real bugs, well spotted!
triggers:
- trigger:
actor: assignees
action: issue
condition: labels in ['bug'] & labels in ['LGTM']
Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

+2 -1
View File
@@ -1,5 +1,6 @@
{
"eslint.workingDirectories": [
"ui"
]
],
"explorer.autoReveal": "focusNoScroll"
}
-8
View File
@@ -1,8 +0,0 @@
# Contributing to answer
## Coding and documentation Style
To be developed.
## Submitting Modifications
To be developed.
+10
View File
@@ -0,0 +1,10 @@
Apache Answer (incubating) is an effort undergoing incubation at the Apache
Software Foundation (ASF), sponsored by the Apache Incubator PMC.
Incubation is required of all newly accepted projects until a further review
indicates that the infrastructure, communications, and decision making process
have stabilized in a manner consistent with other successful ASF projects.
While incubation status is not necessarily a reflection of the completeness
or stability of the code, it does indicate that the project has yet to be
fully endorsed by the ASF.
+33 -18
View File
@@ -1,22 +1,32 @@
FROM amd64/node AS node-builder
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
LABEL maintainer="mingcheng<mc@sf.com>"
COPY . /answer
WORKDIR /answer
RUN make install-ui-packages ui && mv ui/build /tmp
# stage2 build the main binary within static resource
FROM golang:1.19-alpine AS golang-builder
LABEL maintainer="aichy@sf.com"
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
# ENV GOPROXY ${GOPROXY:-direct}
# ENV GOPROXY=https://proxy.golang.com.cn,direct
ENV GOPATH /go
ENV GOROOT /usr/local/go
ENV PACKAGE github.com/answerdev/answer
ENV PACKAGE github.com/apache/incubator-answer
ENV BUILD_DIR ${GOPATH}/src/${PACKAGE}
ENV ANSWER_MODULE ${BUILD_DIR}
ARG TAGS="sqlite sqlite_unlock_notify"
ENV TAGS "bindata timetzdata $TAGS"
@@ -24,19 +34,22 @@ ARG CGO_EXTRA_CFLAGS
COPY . ${BUILD_DIR}
WORKDIR ${BUILD_DIR}
COPY --from=node-builder /tmp/build ${BUILD_DIR}/ui/build
RUN apk --no-cache add build-base git \
&& make clean build \
&& cp answer /usr/bin/answer
RUN apk --no-cache add build-base git bash nodejs npm && npm install -g pnpm@latest \
&& make clean build
RUN chmod 755 answer
RUN ["/bin/bash","-c","script/build_plugin.sh"]
RUN cp answer /usr/bin/answer
RUN mkdir -p /data/uploads && chmod 777 /data/uploads \
&& mkdir -p /data/i18n && cp -r i18n/*.yaml /data/i18n
# stage3 copy the binary and resource files into fresh container
FROM alpine
LABEL maintainer="maintainers@sf.com"
LABEL maintainer="linkinstar@apache.org"
ARG TIMEZONE
ENV TIMEZONE=${TIMEZONE:-"Asia/Shanghai"}
ENV TZ "Asia/Shanghai"
RUN apk update \
&& apk --no-cache add \
bash \
@@ -47,7 +60,9 @@ RUN apk update \
openssh \
sqlite \
gnupg \
&& echo "Asia/Shanghai" > /etc/timezone
tzdata \
&& ln -sf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime \
&& echo "${TIMEZONE}" > /etc/timezone
COPY --from=golang-builder /usr/bin/answer /usr/bin/answer
COPY --from=golang-builder /data /data
-69
View File
@@ -1,69 +0,0 @@
# Answer installation guide
## Environment Preparation
- Memory >= 512M
- If using MySQL version >= 5.7
## Installing with docker
### Step 1: Start the project with the docker command
```bash
docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
```
### Step 2: Visit the installation url
[http://127.0.0.1:9080/install](http://127.0.0.1:9080/install)
After selecting the language click next to select the appropriate database, if you just want to experience it currently, it is recommended to select sqlite as the database directly, as shown below
![install-database](docs/img/install-database.png)
Then click next to create the configuration file, click next to enter the basic website information and administrator information, as shown below
![install- site-info](docs/img/install-site-info.png)
Click Next to complete the installation
### Step 3: After installation, visit the project path to start using
[http://127.0.0.1:9080/](http://127.0.0.1:9080/)
Login with the administrator username and password you just created.
## Installing with docker-compose
### Step 1: Start the project with the docker-compose command
```bash
mkdir answer && cd answer
wget https://raw.githubusercontent.com/answerdev/answer/main/docker-compose.yaml
docker-compose up
```
### Step 2: Visit the installation url
[http://127.0.0.1:9080/install](http://127.0.0.1:9080/install)
The exact configuration is the same as for docker use
### Step 3: After installation, visit home page
[http://127.0.0.1:9080/](http://127.0.0.1:9080/)
## Install with binary
### Step 1: Download the binaries
[https://github.com/answerdev/answer/releases](https://github.com/answerdev/answer/releases)
Download the version you need for your current system
### Step 2: Install using command line
> The following command -C specifies the data directory required for answer, you can modify it as you see fit
```bash
. /answer init -C . /answer-data/
```
Then visit: [http://127.0.0.1:9080/install](http://127.0.0.1:9080/install) to install, the configuration is the same as using docker installation
### Step 3: Start with command line
After the installation is complete, the program will exit, so use the command to start the project formally
```bash
. /answer run -C . /answer-data/
```
After normal startup you can access [http://127.0.0.1:9080/](http://127.0.0.1:9080/) to log in using the administrator username password specified during installation
## Installation FAQ
- Having trouble reinstalling using docker? The default command we give is to use `answer-data` to name the volume, so if you don't need the original data again, please delete it voluntarily `docker volume rm answer-data`
-68
View File
@@ -1,68 +0,0 @@
# Answer 安装指引
## 环境准备
- 内存 >= 512M
- 如果使用 MySQL 版本 >= 5.7
## 使用 docker 安装
### 步骤 1: 使用 docker 命令启动项目
```bash
docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
```
### 步骤 2: 访问安装路径进行项目安装
[http://127.0.0.1:9080/install](http://127.0.0.1:9080/install)
选择语言后点击下一步选择合适的数据库,如果当前只是想体验,建议直接选择 sqlite 作为数据库,如下图所示
![install-database](docs/img/install-database.png)
然后点击下一步会进行配置文件创建等操作,点击下一步输入网站基本信息和管理员信息,如下图所示
![install-site-info](docs/img/install-site-info.png)
点击下一步即可安装完成
### 步骤 3:安装完成后访问项目路径开始使用
[http://127.0.0.1:9080/](http://127.0.0.1:9080/)
使用刚才创建的管理员用户名密码即可登录。
## 使用 docker-compose 安装
### 步骤 1: 使用 docker-compose 命令启动项目
```bash
mkdir answer && cd answer
wget https://raw.githubusercontent.com/answerdev/answer/main/docker-compose.yaml
docker-compose up
```
### 步骤 2: 访问安装路径进行项目安装
[http://127.0.0.1:9080/install](http://127.0.0.1:9080/install)
具体配置与 docker 使用时相同
### 步骤 3:安装完成后访问项目路径开始使用
[http://127.0.0.1:9080/](http://127.0.0.1:9080/)
## 使用 二进制 安装
### 步骤 1: 下载二进制文件
[https://github.com/answerdev/answer/releases](https://github.com/answerdev/answer/releases)
请下载您当下系统所需要的对应版本
### 步骤 2: 使用命令行安装
> 以下命令中 -C 指定的是 answer 所需的数据目录,您可以根据实际需要进行修改
```bash
./answer init -C ./answer-data/
```
然后访问:[http://127.0.0.1:9080/install](http://127.0.0.1:9080/install) 进行安装,具体配置与使用 docker 安装相同
### 步骤 3: 使用命令行启动
安装完成之后程序会退出,请使用命令正式启动项目
```bash
./answer run -C ./answer-data/
```
正常启动后可以访问 [http://127.0.0.1:9080/](http://127.0.0.1:9080/) 使用安装时指定的管理员用户名密码进行登录
## 安装常见问题
- 使用 docker 重新安装遇到问题?默认我们给出的命令是使用 `answer-data` 命名卷,所以如果重新不需要原来的数据,请主动进行删除 `docker volume rm answer-data`
+1 -1
View File
@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2022 joyqi
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
+19 -13
View File
@@ -1,29 +1,32 @@
.PHONY: build clean ui
VERSION=0.4.0
VERSION=1.2.5
BIN=answer
DIR_SRC=./cmd/answer
DOCKER_CMD=docker
#GO_ENV=CGO_ENABLED=0
Revision=$(shell git rev-parse --short HEAD)
GO_FLAGS=-ldflags="-X main.Version=$(VERSION) -X 'main.Revision=$(Revision)' -X 'main.Time=`date`' -extldflags -static"
GO_ENV=CGO_ENABLED=0 GO111MODULE=on
Revision=$(shell git rev-parse --short HEAD 2>/dev/null || echo "")
GO_FLAGS=-ldflags="-X github.com/apache/incubator-answer/cmd.Version=$(VERSION) -X 'github.com/apache/incubator-answer/cmd.Revision=$(Revision)' -X 'github.com/apache/incubator-answer/cmd.Time=`date +%s`' -extldflags -static"
GO=$(GO_ENV) $(shell which go)
build:
@$(GO_ENV) $(GO) build $(GO_FLAGS) -o $(BIN) $(DIR_SRC)
build: generate
@$(GO) build $(GO_FLAGS) -o $(BIN) $(DIR_SRC)
# https://dev.to/thewraven/universal-macos-binaries-with-go-1-16-3mm3
universal:
universal: generate
@GOOS=darwin GOARCH=amd64 $(GO_ENV) $(GO) build $(GO_FLAGS) -o ${BIN}_amd64 $(DIR_SRC)
@GOOS=darwin GOARCH=arm64 $(GO_ENV) $(GO) build $(GO_FLAGS) -o ${BIN}_arm64 $(DIR_SRC)
@lipo -create -output ${BIN} ${BIN}_amd64 ${BIN}_arm64
@rm -f ${BIN}_amd64 ${BIN}_arm64
generate:
go get github.com/google/wire/cmd/wire@latest
go generate ./...
go mod tidy
@$(GO) get github.com/google/wire/cmd/wire@v0.5.0
@$(GO) get github.com/golang/mock/mockgen@v1.6.0
@$(GO) install github.com/google/wire/cmd/wire@v0.5.0
@$(GO) install github.com/golang/mock/mockgen@v1.6.0
@$(GO) generate ./...
@$(GO) mod tidy
test:
@$(GO) test ./internal/repo/repo_test
@@ -35,10 +38,13 @@ clean:
install-ui-packages:
@corepack enable
@corepack prepare pnpm@v7.12.2 --activate
@corepack prepare pnpm@latest --activate
ui:
@npm config set registry https://repo.huaweicloud.com/repository/npm/
@cd ui && pnpm install && pnpm build && cd -
@cd ui && pnpm pre-install && pnpm build && cd -
lint: generate
@bash ./script/check-asf-header.sh
@gofmt -w -l .
all: clean build
+5
View File
@@ -0,0 +1,5 @@
Apache Answer (incubating)
Copyright 2023-2024 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
+39 -10
View File
@@ -1,17 +1,17 @@
<a href="https://answer.dev">
<a href="https://answer.apache.org">
<img alt="logo" src="docs/img/logo.svg" height="99px">
</a>
# Answer - Build Q&A community
# Apache Answer - Build Q&A platform
An open-source knowledge-based community software. You can use it to quickly build your Q&A community for product technical support, customer support, user communication, and more.
A Q&A platform software for teams at any scales. Whether its a community forum, help center, or knowledge management platform, you can always count on Answer.
To learn more about the project, visit [answer.dev](https://answer.dev).
To learn more about the project, visit [answer.apache.org](https://answer.apache.org).
[![LICENSE](https://img.shields.io/github/license/answerdev/answer)](https://github.com/answerdev/answer/blob/main/LICENSE)
[![LICENSE](https://img.shields.io/github/license/apache/incubator-answer)](https://github.com/apache/incubator-answer/blob/main/LICENSE)
[![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/)
[![Language](https://img.shields.io/badge/language-react-blue.svg)](https://reactjs.org/)
[![Go Report Card](https://goreportcard.com/badge/github.com/answerdev/answer)](https://goreportcard.com/report/github.com/answerdev/answer)
[![Go Report Card](https://goreportcard.com/badge/github.com/apache/incubator-answer)](https://goreportcard.com/report/github.com/apache/incubator-answer)
[![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej)
## Screenshots
@@ -23,17 +23,46 @@ To learn more about the project, visit [answer.dev](https://answer.dev).
### Running with docker
```bash
docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.2.5
```
For more information, see [INSTALL.md](./INSTALL.md)
For more information, see [Installation](https://answer.apache.org/docs/installation).
### Plugins
Answer provides a plugin system for developers to create custom plugins and expand Answers features. You can find the [plugin documentation here](https://answer.apache.org/community/plugins).
We value your feedback and suggestions to improve our documentation. If you have any comments or questions, please feel free to contact us. Were excited to see what you can create using our plugin system!
You can also check out the [plugins here](https://answer.apache.org/plugins).
## Building from Source
### Prerequisites
- Golang >= 1.18
- Node.js >= 16.17
- pnpm >= 8
- mockgen >= 1.6.0
- wire >= 0.5.0
### Build
```bash
# install wire and mockgen for building
$ make generate
# install frontend dependencies and build
$ make ui
# install backend dependencies and build
$ make build
```
## Contributing
Contributions are always welcome!
See [CONTRIBUTING.md](CONTRIBUTING.md) for ways to get started.
See [CONTRIBUTING](https://answer.apache.org/community/contributing) for ways to get started.
## License
[Apache License 2.0](https://github.com/answerdev/answer/blob/main/LICENSE)
[Apache License 2.0](https://github.com/apache/incubator-answer/blob/main/LICENSE)
-39
View File
@@ -1,39 +0,0 @@
<a href="https://answer.dev">
<img alt="logo" src="docs/img/logo.svg" height="99px">
</a>
# Answer - 构建问答社区
一款问答形式的知识社区开源软件,用来快速构建产品你的产品技术社区、客户支持社区、用户社区等。
了解更多关于该项目的内容,请访问 [answer.dev](https://answer.dev).
[![LICENSE](https://img.shields.io/github/license/answerdev/answer)](https://github.com/answerdev/answer/blob/main/LICENSE)
[![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/)
[![Language](https://img.shields.io/badge/language-react-blue.svg)](https://reactjs.org/)
[![Go Report Card](https://goreportcard.com/badge/github.com/answerdev/answer)](https://goreportcard.com/report/github.com/answerdev/answer)
[![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej)
## 截图
![screenshot](docs/img/screenshot.png)
## 快速开始
### 使用 docker 快速搭建
```bash
docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
```
其他安装配置细节请参考 [INSTALL.md](./INSTALL.md)
## 贡献
我们随时欢迎你的贡献!
参考 [CONTRIBUTING.md](CONTRIBUTING.md) 开始贡献。
## License
[Apache License 2.0](https://github.com/answerdev/answer/blob/main/LICENSE)
+23
View File
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
+19 -2
View File
@@ -1,6 +1,23 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
apiVersion: v2
name: answer
description: a simple answer deployments for kubernetes
description: A simple answer deployments for kubernetes
type: application
version: 0.1.0
appVersion: "0.1.0"
appVersion: "1.0.7"
+74 -1
View File
@@ -1,2 +1,75 @@
# Helm Charts for Answer project
# answer
An open-source knowledge-based community software. You can use it quickly to build Q&A community for your products, customers, teams, and more.
## Prerequisites
- Kubernetes 1.20+
## Configuration
The following table lists the configurable parameters of the answer chart and their default values.
| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `replicaCount` | Number of answer replicas | `1` |
| `image.repository` | Image repository | `apache/answer` |
| `image.pullPolicy` | Image pull policy | `Always` |
| `image.tag` | Image tag | `latest` |
| `env` | Optional environment variables for answer | `LOG_LEVEL: INFO` |
| `extraContainers` | Optional sidecar containers to run along side answer | `[]` |
| `persistence.enabled` | Enable or disable persistence for the /data volume | `true` |
| `persistence.accessMode` | Specify the access mode of the persistent volume | `ReadWriteOnce` |
| `persistence.size` | The size of the persistent volume | `5Gi` |
| `persistence.annotations` | Annotations to add to the volume claim | `{}` |
| `imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
| `nameOverride` | nameOverride replaces the name of the chart in the Chart.yaml file, when this is used to construct Kubernetes object names. | |
| `fullnameOverride` | fullnameOverride completely replaces the generated name. | |
| `serviceAccount.create` | If `true`, create a new service account | `true` |
| `serviceAccount.annotations` | Annotations to add to the service account | `{}` |
| `serviceAccount.name` | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the fullname template | |
| `podAnnotations` | Annotations to add to the answer pod | `{}` |
| `podSecurityContext` | Security context for the answer pod | `{}` refer to [Default Security Contexts](#default-security-contexts) |
| `securityContext` | Security context for the answer container | `{}` refer to [Default Security Contexts](#default-security-contexts) |
| `service.type` | The type of service to be used | `ClusterIP` |
| `service.port` | The port that the service should listen on for requests. Also used as the container port. | `80` |
| `ingress.enabled` | Enable or disable ingress. | `false` |
| `resources` | CPU/memory resource requests/limits | `{}` |
| `autoscaling.enabled` | Enable or disable pod autoscaling. If enabled, replicas are disabled. | `false` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Node tolerations for pod assignment | `[]` |
| `affinity` | Node affinity for pod assignment | `{}` |
### Default Security Contexts
The default pod-level and container-level security contexts, below, adhere to the [restricted](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted) Pod Security Standards policies.
Default pod-level securityContext:
```yaml
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
```
Default containerSecurityContext:
```yaml
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
```
### Installing with a Values file
```console
$ helm install answer -f values.yaml .
```
> **Tip**: You can use the default [values.yaml]
## TODO
Publish the chart to Artifacthub and add proper installation instructions. E.G.
> **NOTE**: This is not currently a valid installation option.
```console
$ helm repo add apache https://charts.answer.apache.org/
$ helm repo update
$ helm install apache/answer -n mynamespace
```
+31 -3
View File
@@ -1,5 +1,22 @@
{{/*
Expand the name of the chart.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/}}
{{- define "answer.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
@@ -34,7 +51,7 @@ Create chart name and version as used by the chart label.
Common labels
*/}}
{{- define "answer.labels" -}}
helm.sh/chart: {{ .Release.Name }}
helm.sh/chart: {{ include "answer.chart" . }}
{{ include "answer.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
@@ -46,6 +63,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
Selector labels
*/}}
{{- define "answer.selectorLabels" -}}
app.kubernetes.io/name: answer
app.kubernetes.io/name: {{ include "answer.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "answer.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "answer.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}
-9
View File
@@ -1,9 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: answer-config
namespace: {{ .Values.namespace | default "default" | quote }}
data:
default.yaml: |-
#
+105
View File
@@ -0,0 +1,105 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "answer.fullname" . }}
labels:
{{- include "answer.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "answer.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "answer.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "answer.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.env }}
env:
{{- range .Values.env }}
- name: {{ .name }}
{{- if .value | quote }}
value: {{ .value | quote }}
{{- end }}
{{- if .valueFrom }}
valueFrom:
{{- toYaml .valueFrom | nindent 16 }}
{{- end }}
{{- end }}
{{- end }}
volumeMounts:
- name: data
mountPath: "/data"
{{- if .Values.extraContainers }}
{{- toYaml .Values.extraContainers | nindent 8 }}
{{- end }}
volumes:
- name: data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ include "answer.fullname" . }}-claim
{{- else }}
emptyDir: {}
{{- end -}}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
+45
View File
@@ -0,0 +1,45 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
{{ if .Values.autoscaling.enabled -}}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "answer.fullname" . }}
labels:
{{- include "answer.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "answer.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
metrics:
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
+78
View File
@@ -0,0 +1,78 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
{{ if .Values.ingress.enabled -}}
{{- $fullName := include "answer.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}
{{- end }}
{{- end }}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
labels:
{{- include "answer.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
+42
View File
@@ -0,0 +1,42 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
{{ if .Values.persistence.enabled -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ include "answer.fullname" . }}-claim
{{- with .Values.persistence.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
labels:
{{- include "answer.labels" . | nindent 4 }}
spec:
{{- if .Values.persistence.storageClass }}
{{- if (eq "-" .Values.persistence.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistence.storageClass }}"
{{- end }}
{{- end }}
accessModes:
- {{ .Values.persistence.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{- end }}
+21 -6
View File
@@ -1,17 +1,32 @@
---
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
apiVersion: v1
kind: Service
metadata:
name: {{ include "answer.fullname" . }}
labels:
{{- include "answer.labels" . | nindent 4 }}
namespace: {{ .Values.namespace | default "default" | quote }}
spec:
type: ClusterIP
type: {{ .Values.service.type }}
ports:
- name: answer
port: 80
targetPort: 80
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "answer.selectorLabels" . | nindent 4 }}
+29
View File
@@ -0,0 +1,29 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
{{ if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "answer.serviceAccountName" . }}
labels:
{{- include "answer.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
-31
View File
@@ -1,31 +0,0 @@
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: answer
namespace: {{ .Values.namespace | default "default" | quote }}
spec:
selector:
matchLabels:
{{- include "answer.labels" . | nindent 6 }}
serviceName: answer
replicas: 1
template:
metadata:
labels:
{{- include "answer.labels" . | nindent 8 }}
spec:
containers:
- name: answer
image: nginx:stable
ports:
- containerPort: 80
name: answer-ui
volumeMounts:
- name: config
mountPath: "/etc/answer.yaml"
subPath: default.yaml
volumes:
- name: config
configMap:
name: answer-config
+164 -1
View File
@@ -1 +1,164 @@
namespace: default
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Default values for answer.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: apache/answer
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
# Environment variables
# Configure environment variables below
# https://answer.apache.org/docs/env
env:
- name: LOG_LEVEL
# [DEBUG INFO WARN ERROR]
value: "INFO"
# uncomment the below values to use AUTO_INSTALL and not have to go through the setup process.
# Once used to do the initial setup, these variables wont be used moving forward.
# You must at a minimum comment AUTO_INSTALL after initial setup to prevent an error about the database already being initiated.
# - name: AUTO_INSTALL
# value: "true"
# - name: DB_TYPE
# value: "sqlite3"
# # DB_FILE Only for sqlite3
# - name: DB_FILE
# value: "/data/answer.db"
# - name: LANGUAGE
# value: "en-US"
# - name: SITE_NAME
# value: "MyAnswer"
# - name: SITE_URL
# value: "http://localhost:80"
# - name: CONTACT_EMAIL
# value: "support@mydomain.com"
# - name: ADMIN_NAME
# # lowercase
# value: "myadmin"
# - name: ADMIN_PASSWORD
# # 32 Characters MAX
# value: "MyInsecurePasswordInTheRepo!"
# # Use valueFrom to use a secret
# # valueFrom:
# # secretKeyRef:
# # key: answer-admin-password
# # name: answer-secrets
# - name: ADMIN_EMAIL
# value: "myAdmin@mydomain.com"
# Configure extra containers
extraContainers: []
# - name: cloudsql-proxy
# image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.1.2
# command:
# - /cloud-sql-proxy
# args:
# - project:region:instance
# - --port=5432
# - --auto-iam-authn
# ports:
# - containerPort: 5432
# Persistence for the /data volume
# Without persistence, your uploads and config.yaml will not be remembered between restarts.
persistence:
enabled: true
# If set to "-", storageClassName: "", which disables dynamic provisioning
# If undefined (the default) or set to null, no storageClassName spec is
# set, choosing the default provisioner. (gp2 on AWS, standard on
# GKE, AWS & OpenStack)
# storageClass: "-"
accessMode: ReadWriteOnce
size: 5Gi
annotations: {}
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: answer.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: answer-tls
# hosts:
# - answer.local
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
+21 -58
View File
@@ -1,68 +1,31 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package main
import (
"os"
"time"
"github.com/answerdev/answer/internal/base/conf"
"github.com/answerdev/answer/internal/base/constant"
"github.com/answerdev/answer/internal/cli"
"github.com/answerdev/answer/internal/schema"
"github.com/gin-gonic/gin"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/contrib/log/zap"
"github.com/segmentfault/pacman/contrib/server/http"
"github.com/segmentfault/pacman/log"
)
// go build -ldflags "-X main.Version=x.y.z"
var (
// Name is the name of the project
Name = "answer"
// Version is the version of the project
Version = "0.0.0"
// Revision is the git short commit revision number
Revision = ""
// Time is the build time of the project
Time = ""
// log level
logLevel = os.Getenv("LOG_LEVEL")
// log path
logPath = os.Getenv("LOG_PATH")
answercmd "github.com/apache/incubator-answer/cmd"
)
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization
func main() {
Execute()
}
func runApp() {
log.SetLogger(zap.NewLogger(
log.ParseLevel(logLevel), zap.WithName("answer"), zap.WithPath(logPath), zap.WithCallerFullPath()))
c, err := conf.ReadConfig(cli.GetConfigFilePath())
if err != nil {
panic(err)
}
app, cleanup, err := initApplication(
c.Debug, c.Server, c.Data.Database, c.Data.Cache, c.I18n, c.Swaggerui, c.ServiceConfig, log.GetLogger())
if err != nil {
panic(err)
}
constant.Version = Version
schema.AppStartTime = time.Now()
defer cleanup()
if err := app.Run(); err != nil {
panic(err)
}
}
func newApplication(serverConf *conf.Server, server *gin.Engine) *pacman.Application {
return pacman.NewApp(
pacman.WithName(Name),
pacman.WithVersion(Version),
pacman.WithServer(http.NewServer(server, serverConf.HTTP.Addr)),
)
answercmd.Main()
}
-46
View File
@@ -1,46 +0,0 @@
//go:build wireinject
// +build wireinject
// The build tag makes sure the stub is not built in the final build.
package main
import (
"github.com/answerdev/answer/internal/base/conf"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/server"
"github.com/answerdev/answer/internal/base/translator"
"github.com/answerdev/answer/internal/controller"
"github.com/answerdev/answer/internal/controller_backyard"
"github.com/answerdev/answer/internal/repo"
"github.com/answerdev/answer/internal/router"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/internal/service/service_config"
"github.com/google/wire"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/log"
)
// initApplication init application.
func initApplication(
debug bool,
serverConf *conf.Server,
dbConf *data.Database,
cacheConf *data.CacheConf,
i18nConf *translator.I18n,
swaggerConf *router.SwaggerConfig,
serviceConf *service_config.ServiceConfig,
logConf log.Logger) (*pacman.Application, func(), error) {
panic(wire.Build(
server.ProviderSetServer,
router.ProviderSetRouter,
controller.ProviderSetController,
controller_backyard.ProviderSetController,
service.ProviderSetService,
repo.ProviderSetRepo,
translator.ProviderSet,
middleware.ProviderSetMiddleware,
newApplication,
))
}
-198
View File
@@ -1,198 +0,0 @@
// Code generated by Wire. DO NOT EDIT.
//go:generate go run github.com/google/wire/cmd/wire
//go:build !wireinject
// +build !wireinject
package main
import (
"github.com/answerdev/answer/internal/base/conf"
"github.com/answerdev/answer/internal/base/data"
"github.com/answerdev/answer/internal/base/middleware"
"github.com/answerdev/answer/internal/base/server"
"github.com/answerdev/answer/internal/base/translator"
"github.com/answerdev/answer/internal/controller"
"github.com/answerdev/answer/internal/controller_backyard"
"github.com/answerdev/answer/internal/repo/activity"
"github.com/answerdev/answer/internal/repo/activity_common"
"github.com/answerdev/answer/internal/repo/answer"
"github.com/answerdev/answer/internal/repo/auth"
"github.com/answerdev/answer/internal/repo/captcha"
"github.com/answerdev/answer/internal/repo/collection"
"github.com/answerdev/answer/internal/repo/comment"
"github.com/answerdev/answer/internal/repo/common"
"github.com/answerdev/answer/internal/repo/config"
"github.com/answerdev/answer/internal/repo/export"
"github.com/answerdev/answer/internal/repo/meta"
"github.com/answerdev/answer/internal/repo/notification"
"github.com/answerdev/answer/internal/repo/question"
"github.com/answerdev/answer/internal/repo/rank"
"github.com/answerdev/answer/internal/repo/reason"
"github.com/answerdev/answer/internal/repo/report"
"github.com/answerdev/answer/internal/repo/revision"
"github.com/answerdev/answer/internal/repo/search_common"
"github.com/answerdev/answer/internal/repo/site_info"
"github.com/answerdev/answer/internal/repo/tag"
"github.com/answerdev/answer/internal/repo/tag_common"
"github.com/answerdev/answer/internal/repo/unique"
"github.com/answerdev/answer/internal/repo/user"
"github.com/answerdev/answer/internal/router"
"github.com/answerdev/answer/internal/service"
"github.com/answerdev/answer/internal/service/action"
activity2 "github.com/answerdev/answer/internal/service/activity"
"github.com/answerdev/answer/internal/service/answer_common"
auth2 "github.com/answerdev/answer/internal/service/auth"
"github.com/answerdev/answer/internal/service/collection_common"
comment2 "github.com/answerdev/answer/internal/service/comment"
"github.com/answerdev/answer/internal/service/dashboard"
export2 "github.com/answerdev/answer/internal/service/export"
"github.com/answerdev/answer/internal/service/follow"
meta2 "github.com/answerdev/answer/internal/service/meta"
notification2 "github.com/answerdev/answer/internal/service/notification"
"github.com/answerdev/answer/internal/service/notification_common"
"github.com/answerdev/answer/internal/service/object_info"
"github.com/answerdev/answer/internal/service/question_common"
rank2 "github.com/answerdev/answer/internal/service/rank"
reason2 "github.com/answerdev/answer/internal/service/reason"
report2 "github.com/answerdev/answer/internal/service/report"
"github.com/answerdev/answer/internal/service/report_backyard"
"github.com/answerdev/answer/internal/service/report_handle_backyard"
"github.com/answerdev/answer/internal/service/revision_common"
"github.com/answerdev/answer/internal/service/search_parser"
"github.com/answerdev/answer/internal/service/service_config"
"github.com/answerdev/answer/internal/service/siteinfo"
"github.com/answerdev/answer/internal/service/siteinfo_common"
tag2 "github.com/answerdev/answer/internal/service/tag"
tag_common2 "github.com/answerdev/answer/internal/service/tag_common"
"github.com/answerdev/answer/internal/service/uploader"
"github.com/answerdev/answer/internal/service/user_backyard"
"github.com/answerdev/answer/internal/service/user_common"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/log"
)
// Injectors from wire.go:
// initApplication init application.
func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database, cacheConf *data.CacheConf, i18nConf *translator.I18n, swaggerConf *router.SwaggerConfig, serviceConf *service_config.ServiceConfig, logConf log.Logger) (*pacman.Application, func(), error) {
staticRouter := router.NewStaticRouter(serviceConf)
i18nTranslator, err := translator.NewTranslator(i18nConf)
if err != nil {
return nil, nil, err
}
engine, err := data.NewDB(debug, dbConf)
if err != nil {
return nil, nil, err
}
cache, cleanup, err := data.NewCache(cacheConf)
if err != nil {
return nil, nil, err
}
dataData, cleanup2, err := data.NewData(engine, cache)
if err != nil {
cleanup()
return nil, nil, err
}
siteInfoRepo := site_info.NewSiteInfo(dataData)
siteInfoCommonService := siteinfo_common.NewSiteInfoCommonService(siteInfoRepo)
langController := controller.NewLangController(i18nTranslator, siteInfoCommonService)
authRepo := auth.NewAuthRepo(dataData)
authService := auth2.NewAuthService(authRepo)
configRepo := config.NewConfigRepo(dataData)
userRepo := user.NewUserRepo(dataData, configRepo)
uniqueIDRepo := unique.NewUniqueIDRepo(dataData)
activityRepo := activity_common.NewActivityRepo(dataData, uniqueIDRepo, configRepo)
userRankRepo := rank.NewUserRankRepo(dataData, configRepo)
userActiveActivityRepo := activity.NewUserActiveActivityRepo(dataData, activityRepo, userRankRepo, configRepo)
emailRepo := export.NewEmailRepo(dataData)
emailService := export2.NewEmailService(configRepo, emailRepo, siteInfoRepo)
userService := service.NewUserService(userRepo, userActiveActivityRepo, emailService, authService, serviceConf, siteInfoCommonService)
captchaRepo := captcha.NewCaptchaRepo(dataData)
captchaService := action.NewCaptchaService(captchaRepo)
uploaderService := uploader.NewUploaderService(serviceConf, siteInfoCommonService)
userController := controller.NewUserController(authService, userService, captchaService, emailService, uploaderService)
commentRepo := comment.NewCommentRepo(dataData, uniqueIDRepo)
commentCommonRepo := comment.NewCommentCommonRepo(dataData, uniqueIDRepo)
userCommon := usercommon.NewUserCommon(userRepo)
answerRepo := answer.NewAnswerRepo(dataData, uniqueIDRepo, userRankRepo, activityRepo)
questionRepo := question.NewQuestionRepo(dataData, uniqueIDRepo)
tagCommonRepo := tag_common.NewTagCommonRepo(dataData, uniqueIDRepo)
objService := object_info.NewObjService(answerRepo, questionRepo, commentCommonRepo, tagCommonRepo)
voteRepo := activity_common.NewVoteRepo(dataData, activityRepo)
commentService := comment2.NewCommentService(commentRepo, commentCommonRepo, userCommon, objService, voteRepo)
rankService := rank2.NewRankService(userCommon, userRankRepo, objService, configRepo)
commentController := controller.NewCommentController(commentService, rankService)
reportRepo := report.NewReportRepo(dataData, uniqueIDRepo)
reportService := report2.NewReportService(reportRepo, objService)
reportController := controller.NewReportController(reportService, rankService)
serviceVoteRepo := activity.NewVoteRepo(dataData, uniqueIDRepo, configRepo, activityRepo, userRankRepo, voteRepo)
voteService := service.NewVoteService(serviceVoteRepo, uniqueIDRepo, configRepo, questionRepo, answerRepo, commentCommonRepo, objService)
voteController := controller.NewVoteController(voteService)
tagRepo := tag.NewTagRepo(dataData, uniqueIDRepo)
tagRelRepo := tag.NewTagRelRepo(dataData)
revisionRepo := revision.NewRevisionRepo(dataData, uniqueIDRepo)
revisionService := revision_common.NewRevisionService(revisionRepo, userRepo)
tagCommonService := tag_common2.NewTagCommonService(tagCommonRepo, tagRelRepo, revisionService, siteInfoCommonService)
followRepo := activity_common.NewFollowRepo(dataData, uniqueIDRepo, activityRepo)
tagService := tag2.NewTagService(tagRepo, tagCommonService, revisionService, followRepo, siteInfoCommonService)
tagController := controller.NewTagController(tagService, tagCommonService, rankService)
followFollowRepo := activity.NewFollowRepo(dataData, uniqueIDRepo, activityRepo)
followService := follow.NewFollowService(followFollowRepo, followRepo, tagCommonRepo)
followController := controller.NewFollowController(followService)
collectionRepo := collection.NewCollectionRepo(dataData, uniqueIDRepo)
collectionGroupRepo := collection.NewCollectionGroupRepo(dataData)
collectionCommon := collectioncommon.NewCollectionCommon(collectionRepo)
answerCommon := answercommon.NewAnswerCommon(answerRepo)
metaRepo := meta.NewMetaRepo(dataData)
metaService := meta2.NewMetaService(metaRepo)
questionCommon := questioncommon.NewQuestionCommon(questionRepo, answerRepo, voteRepo, followRepo, tagCommonService, userCommon, collectionCommon, answerCommon, metaService, configRepo)
collectionService := service.NewCollectionService(collectionRepo, collectionGroupRepo, questionCommon)
collectionController := controller.NewCollectionController(collectionService)
answerActivityRepo := activity.NewAnswerActivityRepo(dataData, activityRepo, userRankRepo)
questionActivityRepo := activity.NewQuestionActivityRepo(dataData, activityRepo, userRankRepo)
answerActivityService := activity2.NewAnswerActivityService(answerActivityRepo, questionActivityRepo)
questionService := service.NewQuestionService(questionRepo, tagCommonService, questionCommon, userCommon, revisionService, metaService, collectionCommon, answerActivityService)
questionController := controller.NewQuestionController(questionService, rankService)
answerService := service.NewAnswerService(answerRepo, questionRepo, questionCommon, userCommon, collectionCommon, userRepo, revisionService, answerActivityService, answerCommon, voteRepo)
dashboardService := dashboard.NewDashboardService(questionRepo, answerRepo, commentCommonRepo, voteRepo, userRepo, reportRepo, configRepo, siteInfoCommonService, serviceConf, dataData)
answerController := controller.NewAnswerController(answerService, rankService, dashboardService)
searchParser := search_parser.NewSearchParser(tagCommonService, userCommon)
searchRepo := search_common.NewSearchRepo(dataData, uniqueIDRepo, userCommon)
searchService := service.NewSearchService(searchParser, searchRepo)
searchController := controller.NewSearchController(searchService)
serviceRevisionService := service.NewRevisionService(revisionRepo, userCommon, questionCommon, answerService)
revisionController := controller.NewRevisionController(serviceRevisionService)
rankController := controller.NewRankController(rankService)
commonRepo := common.NewCommonRepo(dataData, uniqueIDRepo)
reportHandle := report_handle_backyard.NewReportHandle(questionCommon, commentRepo, configRepo)
reportBackyardService := report_backyard.NewReportBackyardService(reportRepo, userCommon, commonRepo, answerRepo, questionRepo, commentCommonRepo, reportHandle, configRepo)
controller_backyardReportController := controller_backyard.NewReportController(reportBackyardService)
userBackyardRepo := user.NewUserBackyardRepo(dataData, authRepo)
userBackyardService := user_backyard.NewUserBackyardService(userBackyardRepo)
userBackyardController := controller_backyard.NewUserBackyardController(userBackyardService)
reasonRepo := reason.NewReasonRepo(configRepo)
reasonService := reason2.NewReasonService(reasonRepo)
reasonController := controller.NewReasonController(reasonService)
themeController := controller_backyard.NewThemeController()
siteInfoService := siteinfo.NewSiteInfoService(siteInfoRepo, emailService, tagCommonService)
siteInfoController := controller_backyard.NewSiteInfoController(siteInfoService)
siteinfoController := controller.NewSiteinfoController(siteInfoCommonService)
notificationRepo := notification.NewNotificationRepo(dataData)
notificationCommon := notificationcommon.NewNotificationCommon(dataData, notificationRepo, userCommon, activityRepo, followRepo, objService)
notificationService := notification2.NewNotificationService(dataData, notificationRepo, notificationCommon)
notificationController := controller.NewNotificationController(notificationService)
dashboardController := controller.NewDashboardController(dashboardService)
uploadController := controller.NewUploadController(uploaderService)
answerAPIRouter := router.NewAnswerAPIRouter(langController, userController, commentController, reportController, voteController, tagController, followController, collectionController, questionController, answerController, searchController, revisionController, rankController, controller_backyardReportController, userBackyardController, reasonController, themeController, siteInfoController, siteinfoController, notificationController, dashboardController, uploadController)
swaggerRouter := router.NewSwaggerRouter(swaggerConf)
uiRouter := router.NewUIRouter()
authUserMiddleware := middleware.NewAuthUserMiddleware(authService)
avatarMiddleware := middleware.NewAvatarMiddleware(serviceConf, uploaderService)
ginEngine := server.NewHTTPServer(debug, staticRouter, answerAPIRouter, swaggerRouter, uiRouter, authUserMiddleware, avatarMiddleware)
application := newApplication(serverConf, ginEngine)
return application, func() {
cleanup2()
cleanup()
}, nil
}
+116 -9
View File
@@ -1,13 +1,35 @@
package main
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package answercmd
import (
"fmt"
"os"
"strings"
"github.com/answerdev/answer/internal/base/conf"
"github.com/answerdev/answer/internal/cli"
"github.com/answerdev/answer/internal/install"
"github.com/answerdev/answer/internal/migrations"
"github.com/apache/incubator-answer/internal/base/conf"
"github.com/apache/incubator-answer/internal/cli"
"github.com/apache/incubator-answer/internal/install"
"github.com/apache/incubator-answer/internal/migrations"
"github.com/apache/incubator-answer/plugin"
"github.com/segmentfault/pacman/log"
"github.com/spf13/cobra"
)
@@ -16,6 +38,15 @@ var (
dataDirPath string
// dumpDataPath dump data path
dumpDataPath string
// plugins needed to build in answer application
buildWithPlugins []string
// build output path
buildOutput string
// This config is used to upgrade the database from a specific version manually.
// If you want to upgrade the database to version 1.1.0, you can use `answer upgrade -f v1.1.0`.
upgradeVersion string
// The fields that need to be set to the default value
configFields []string
)
func init() {
@@ -25,7 +56,15 @@ func init() {
dumpCmd.Flags().StringVarP(&dumpDataPath, "path", "p", "./", "dump data path, eg: -p ./dump/data/")
for _, cmd := range []*cobra.Command{initCmd, checkCmd, runCmd, dumpCmd, upgradeCmd} {
buildCmd.Flags().StringSliceVarP(&buildWithPlugins, "with", "w", []string{}, "plugins needed to build")
buildCmd.Flags().StringVarP(&buildOutput, "output", "o", "", "build output path")
upgradeCmd.Flags().StringVarP(&upgradeVersion, "from", "f", "", "upgrade from specific version, eg: -f v1.1.0")
configCmd.Flags().StringSliceVarP(&configFields, "with", "w", []string{}, "the fields that need to be set to the default value, eg: -w allow_password_login")
for _, cmd := range []*cobra.Command{initCmd, checkCmd, runCmd, dumpCmd, upgradeCmd, buildCmd, pluginCmd, configCmd} {
rootCmd.AddCommand(cmd)
}
}
@@ -49,7 +88,7 @@ To run answer, use:
Run: func(_ *cobra.Command, _ []string) {
cli.FormatAllPath(dataDirPath)
fmt.Println("config file path: ", cli.GetConfigFilePath())
fmt.Println("Answer is string..........................")
fmt.Println("Answer is starting..........................")
runApp()
},
}
@@ -90,13 +129,15 @@ To run answer, use:
Short: "upgrade Answer version",
Long: `upgrade Answer version`,
Run: func(_ *cobra.Command, _ []string) {
log.SetLogger(log.NewStdLogger(os.Stdout))
cli.FormatAllPath(dataDirPath)
cli.InstallI18nBundle(true)
c, err := conf.ReadConfig(cli.GetConfigFilePath())
if err != nil {
fmt.Println("read config failed: ", err.Error())
return
}
if err = migrations.Migrate(c.Data.Database); err != nil {
if err = migrations.Migrate(c.Debug, c.Data.Database, c.Data.Cache, upgradeVersion); err != nil {
fmt.Println("migrate failed: ", err.Error())
return
}
@@ -160,10 +201,76 @@ To run answer, use:
fmt.Println("check environment all done")
},
}
// buildCmd used to build another answer with plugins
buildCmd = &cobra.Command{
Use: "build",
Short: "used to build answer with plugins",
Long: `Build a new Answer with plugins that you need`,
Run: func(_ *cobra.Command, _ []string) {
fmt.Printf("try to build a new answer with plugins:\n%s\n", strings.Join(buildWithPlugins, "\n"))
err := cli.BuildNewAnswer(buildOutput, buildWithPlugins, cli.OriginalAnswerInfo{
Version: Version,
Revision: Revision,
Time: Time,
})
if err != nil {
fmt.Printf("build failed %v", err)
} else {
fmt.Printf("build new answer successfully %s\n", buildOutput)
}
},
}
// pluginCmd prints all plugins packed in the binary
pluginCmd = &cobra.Command{
Use: "plugin",
Short: "prints all plugins packed in the binary",
Long: `prints all plugins packed in the binary`,
Run: func(_ *cobra.Command, _ []string) {
_ = plugin.CallBase(func(base plugin.Base) error {
info := base.Info()
fmt.Printf("%s[%s] made by %s\n", info.SlugName, info.Version, info.Author)
return nil
})
},
}
// configCmd set some config to default value
configCmd = &cobra.Command{
Use: "config",
Short: "set some config to default value",
Long: `set some config to default value`,
Run: func(_ *cobra.Command, _ []string) {
cli.FormatAllPath(dataDirPath)
c, err := conf.ReadConfig(cli.GetConfigFilePath())
if err != nil {
fmt.Println("read config failed: ", err.Error())
return
}
field := &cli.ConfigField{}
for _, f := range configFields {
switch f {
case "allow_password_login":
field.AllowPasswordLogin = true
default:
fmt.Printf("field %s not support\n", f)
}
}
err = cli.SetDefaultConfig(c.Data.Database, c.Data.Cache, field)
if err != nil {
fmt.Println("set default config failed: ", err.Error())
} else {
fmt.Println("set default config successfully")
}
},
}
)
// Execute adds all child commands to the root command and sets flags appropriately.
// This is called by main.main(). It only needs to happen once to the rootCmd.
// This is called by main(). It only needs to happen once to the rootCmd.
func Execute() {
err := rootCmd.Execute()
if err != nil {
+98
View File
@@ -0,0 +1,98 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package answercmd
import (
"context"
"fmt"
"os"
"time"
"github.com/apache/incubator-answer/internal/base/conf"
"github.com/apache/incubator-answer/internal/base/constant"
"github.com/apache/incubator-answer/internal/base/cron"
"github.com/apache/incubator-answer/internal/cli"
"github.com/apache/incubator-answer/internal/schema"
"github.com/gin-gonic/gin"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/contrib/log/zap"
"github.com/segmentfault/pacman/contrib/server/http"
"github.com/segmentfault/pacman/log"
)
// go build -ldflags "-X github.com/apache/incubator-answer/cmd.Version=x.y.z"
var (
// Name is the name of the project
Name = "answer"
// Version is the version of the project
Version = "0.0.0"
// Revision is the git short commit revision number
// If built without a Git repository, this field will be empty.
Revision = ""
// Time is the build time of the project
Time = ""
// GoVersion is the go version of the project
GoVersion = "1.19"
// log level
logLevel = os.Getenv("LOG_LEVEL")
// log path
logPath = os.Getenv("LOG_PATH")
)
// Main
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization
func Main() {
log.SetLogger(zap.NewLogger(
log.ParseLevel(logLevel), zap.WithName("answer"), zap.WithPath(logPath)))
Execute()
}
func runApp() {
c, err := conf.ReadConfig(cli.GetConfigFilePath())
if err != nil {
panic(err)
}
app, cleanup, err := initApplication(
c.Debug, c.Server, c.Data.Database, c.Data.Cache, c.I18n, c.Swaggerui, c.ServiceConfig, log.GetLogger())
if err != nil {
panic(err)
}
constant.Version = Version
constant.Revision = Revision
constant.GoVersion = GoVersion
schema.AppStartTime = time.Now()
fmt.Println("answer Version:", constant.Version, " Revision:", constant.Revision)
defer cleanup()
if err := app.Run(context.Background()); err != nil {
panic(err)
}
}
func newApplication(serverConf *conf.Server, server *gin.Engine, manager *cron.ScheduledTaskManager) *pacman.Application {
manager.Run()
return pacman.NewApp(
pacman.WithName(Name),
pacman.WithVersion(Version),
pacman.WithServer(http.NewServer(server, serverConf.HTTP.Addr)),
)
}
+69
View File
@@ -0,0 +1,69 @@
//go:build wireinject
// +build wireinject
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// The build tag makes sure the stub is not built in the final build.
package answercmd
import (
"github.com/apache/incubator-answer/internal/base/conf"
"github.com/apache/incubator-answer/internal/base/cron"
"github.com/apache/incubator-answer/internal/base/data"
"github.com/apache/incubator-answer/internal/base/middleware"
"github.com/apache/incubator-answer/internal/base/server"
"github.com/apache/incubator-answer/internal/base/translator"
"github.com/apache/incubator-answer/internal/controller"
"github.com/apache/incubator-answer/internal/controller/template_render"
"github.com/apache/incubator-answer/internal/controller_admin"
"github.com/apache/incubator-answer/internal/repo"
"github.com/apache/incubator-answer/internal/router"
"github.com/apache/incubator-answer/internal/service"
"github.com/apache/incubator-answer/internal/service/service_config"
"github.com/google/wire"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/log"
)
// initApplication init application.
func initApplication(
debug bool,
serverConf *conf.Server,
dbConf *data.Database,
cacheConf *data.CacheConf,
i18nConf *translator.I18n,
swaggerConf *router.SwaggerConfig,
serviceConf *service_config.ServiceConfig,
logConf log.Logger) (*pacman.Application, func(), error) {
panic(wire.Build(
server.ProviderSetServer,
router.ProviderSetRouter,
controller.ProviderSetController,
controller_admin.ProviderSetController,
templaterender.ProviderSetTemplateRenderController,
service.ProviderSetService,
cron.ProviderSetService,
repo.ProviderSetRepo,
translator.ProviderSet,
middleware.ProviderSetMiddleware,
newApplication,
))
}
+269
View File
@@ -0,0 +1,269 @@
//go:build !wireinject
// +build !wireinject
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// Code generated by Wire. DO NOT EDIT.
//go:generate go run github.com/google/wire/cmd/wire
package answercmd
import (
"github.com/apache/incubator-answer/internal/base/conf"
"github.com/apache/incubator-answer/internal/base/cron"
"github.com/apache/incubator-answer/internal/base/data"
"github.com/apache/incubator-answer/internal/base/middleware"
"github.com/apache/incubator-answer/internal/base/server"
"github.com/apache/incubator-answer/internal/base/translator"
"github.com/apache/incubator-answer/internal/controller"
"github.com/apache/incubator-answer/internal/controller/template_render"
"github.com/apache/incubator-answer/internal/controller_admin"
"github.com/apache/incubator-answer/internal/repo/activity"
"github.com/apache/incubator-answer/internal/repo/activity_common"
"github.com/apache/incubator-answer/internal/repo/answer"
"github.com/apache/incubator-answer/internal/repo/auth"
"github.com/apache/incubator-answer/internal/repo/captcha"
"github.com/apache/incubator-answer/internal/repo/collection"
"github.com/apache/incubator-answer/internal/repo/comment"
"github.com/apache/incubator-answer/internal/repo/config"
"github.com/apache/incubator-answer/internal/repo/export"
"github.com/apache/incubator-answer/internal/repo/limit"
"github.com/apache/incubator-answer/internal/repo/meta"
notification2 "github.com/apache/incubator-answer/internal/repo/notification"
"github.com/apache/incubator-answer/internal/repo/plugin_config"
"github.com/apache/incubator-answer/internal/repo/question"
"github.com/apache/incubator-answer/internal/repo/rank"
"github.com/apache/incubator-answer/internal/repo/reason"
"github.com/apache/incubator-answer/internal/repo/report"
"github.com/apache/incubator-answer/internal/repo/revision"
"github.com/apache/incubator-answer/internal/repo/role"
"github.com/apache/incubator-answer/internal/repo/search_common"
"github.com/apache/incubator-answer/internal/repo/site_info"
"github.com/apache/incubator-answer/internal/repo/tag"
"github.com/apache/incubator-answer/internal/repo/tag_common"
"github.com/apache/incubator-answer/internal/repo/unique"
"github.com/apache/incubator-answer/internal/repo/user"
"github.com/apache/incubator-answer/internal/repo/user_external_login"
"github.com/apache/incubator-answer/internal/repo/user_notification_config"
"github.com/apache/incubator-answer/internal/router"
"github.com/apache/incubator-answer/internal/service"
"github.com/apache/incubator-answer/internal/service/action"
activity2 "github.com/apache/incubator-answer/internal/service/activity"
activity_common2 "github.com/apache/incubator-answer/internal/service/activity_common"
"github.com/apache/incubator-answer/internal/service/activity_queue"
"github.com/apache/incubator-answer/internal/service/answer_common"
auth2 "github.com/apache/incubator-answer/internal/service/auth"
"github.com/apache/incubator-answer/internal/service/collection_common"
comment2 "github.com/apache/incubator-answer/internal/service/comment"
"github.com/apache/incubator-answer/internal/service/comment_common"
config2 "github.com/apache/incubator-answer/internal/service/config"
"github.com/apache/incubator-answer/internal/service/dashboard"
export2 "github.com/apache/incubator-answer/internal/service/export"
"github.com/apache/incubator-answer/internal/service/follow"
meta2 "github.com/apache/incubator-answer/internal/service/meta"
"github.com/apache/incubator-answer/internal/service/notice_queue"
"github.com/apache/incubator-answer/internal/service/notification"
"github.com/apache/incubator-answer/internal/service/notification_common"
"github.com/apache/incubator-answer/internal/service/object_info"
"github.com/apache/incubator-answer/internal/service/plugin_common"
"github.com/apache/incubator-answer/internal/service/question_common"
rank2 "github.com/apache/incubator-answer/internal/service/rank"
reason2 "github.com/apache/incubator-answer/internal/service/reason"
report2 "github.com/apache/incubator-answer/internal/service/report"
"github.com/apache/incubator-answer/internal/service/report_admin"
"github.com/apache/incubator-answer/internal/service/report_handle_admin"
"github.com/apache/incubator-answer/internal/service/revision_common"
role2 "github.com/apache/incubator-answer/internal/service/role"
"github.com/apache/incubator-answer/internal/service/search_parser"
"github.com/apache/incubator-answer/internal/service/service_config"
"github.com/apache/incubator-answer/internal/service/siteinfo"
"github.com/apache/incubator-answer/internal/service/siteinfo_common"
tag2 "github.com/apache/incubator-answer/internal/service/tag"
tag_common2 "github.com/apache/incubator-answer/internal/service/tag_common"
"github.com/apache/incubator-answer/internal/service/uploader"
"github.com/apache/incubator-answer/internal/service/user_admin"
"github.com/apache/incubator-answer/internal/service/user_common"
user_external_login2 "github.com/apache/incubator-answer/internal/service/user_external_login"
user_notification_config2 "github.com/apache/incubator-answer/internal/service/user_notification_config"
"github.com/segmentfault/pacman"
"github.com/segmentfault/pacman/log"
)
// Injectors from wire.go:
// initApplication init application.
func initApplication(debug bool, serverConf *conf.Server, dbConf *data.Database, cacheConf *data.CacheConf, i18nConf *translator.I18n, swaggerConf *router.SwaggerConfig, serviceConf *service_config.ServiceConfig, logConf log.Logger) (*pacman.Application, func(), error) {
staticRouter := router.NewStaticRouter(serviceConf)
i18nTranslator, err := translator.NewTranslator(i18nConf)
if err != nil {
return nil, nil, err
}
engine, err := data.NewDB(debug, dbConf)
if err != nil {
return nil, nil, err
}
cache, cleanup, err := data.NewCache(cacheConf)
if err != nil {
return nil, nil, err
}
dataData, cleanup2, err := data.NewData(engine, cache)
if err != nil {
cleanup()
return nil, nil, err
}
siteInfoRepo := site_info.NewSiteInfo(dataData)
siteInfoCommonService := siteinfo_common.NewSiteInfoCommonService(siteInfoRepo)
langController := controller.NewLangController(i18nTranslator, siteInfoCommonService)
authRepo := auth.NewAuthRepo(dataData)
authService := auth2.NewAuthService(authRepo)
userRepo := user.NewUserRepo(dataData)
uniqueIDRepo := unique.NewUniqueIDRepo(dataData)
configRepo := config.NewConfigRepo(dataData)
configService := config2.NewConfigService(configRepo)
activityRepo := activity_common.NewActivityRepo(dataData, uniqueIDRepo, configService)
userRankRepo := rank.NewUserRankRepo(dataData, configService)
userActiveActivityRepo := activity.NewUserActiveActivityRepo(dataData, activityRepo, userRankRepo, configService)
emailRepo := export.NewEmailRepo(dataData)
emailService := export2.NewEmailService(configService, emailRepo, siteInfoCommonService)
userRoleRelRepo := role.NewUserRoleRelRepo(dataData)
roleRepo := role.NewRoleRepo(dataData)
roleService := role2.NewRoleService(roleRepo)
userRoleRelService := role2.NewUserRoleRelService(userRoleRelRepo, roleService)
userCommon := usercommon.NewUserCommon(userRepo, userRoleRelService, authService, siteInfoCommonService)
userExternalLoginRepo := user_external_login.NewUserExternalLoginRepo(dataData)
userNotificationConfigRepo := user_notification_config.NewUserNotificationConfigRepo(dataData)
userNotificationConfigService := user_notification_config2.NewUserNotificationConfigService(userRepo, userNotificationConfigRepo)
userExternalLoginService := user_external_login2.NewUserExternalLoginService(userRepo, userCommon, userExternalLoginRepo, emailService, siteInfoCommonService, userActiveActivityRepo, userNotificationConfigService)
userService := service.NewUserService(userRepo, userActiveActivityRepo, activityRepo, emailService, authService, siteInfoCommonService, userRoleRelService, userCommon, userExternalLoginService, userNotificationConfigRepo, userNotificationConfigService)
captchaRepo := captcha.NewCaptchaRepo(dataData)
captchaService := action.NewCaptchaService(captchaRepo)
userController := controller.NewUserController(authService, userService, captchaService, emailService, siteInfoCommonService, userNotificationConfigService)
commentRepo := comment.NewCommentRepo(dataData, uniqueIDRepo)
commentCommonRepo := comment.NewCommentCommonRepo(dataData, uniqueIDRepo)
answerRepo := answer.NewAnswerRepo(dataData, uniqueIDRepo, userRankRepo, activityRepo)
questionRepo := question.NewQuestionRepo(dataData, uniqueIDRepo)
tagCommonRepo := tag_common.NewTagCommonRepo(dataData, uniqueIDRepo)
tagRelRepo := tag.NewTagRelRepo(dataData, uniqueIDRepo)
tagRepo := tag.NewTagRepo(dataData, uniqueIDRepo)
revisionRepo := revision.NewRevisionRepo(dataData, uniqueIDRepo)
revisionService := revision_common.NewRevisionService(revisionRepo, userRepo)
activityQueueService := activity_queue.NewActivityQueueService()
tagCommonService := tag_common2.NewTagCommonService(tagCommonRepo, tagRelRepo, tagRepo, revisionService, siteInfoCommonService, activityQueueService)
objService := object_info.NewObjService(answerRepo, questionRepo, commentCommonRepo, tagCommonRepo, tagCommonService)
voteRepo := activity_common.NewVoteRepo(dataData, activityRepo)
notificationQueueService := notice_queue.NewNotificationQueueService()
externalNotificationQueueService := notice_queue.NewNewQuestionNotificationQueueService()
commentService := comment2.NewCommentService(commentRepo, commentCommonRepo, userCommon, objService, voteRepo, emailService, userRepo, notificationQueueService, externalNotificationQueueService, activityQueueService)
rolePowerRelRepo := role.NewRolePowerRelRepo(dataData)
rolePowerRelService := role2.NewRolePowerRelService(rolePowerRelRepo, userRoleRelService)
rankService := rank2.NewRankService(userCommon, userRankRepo, objService, userRoleRelService, rolePowerRelService, configService)
limitRepo := limit.NewRateLimitRepo(dataData)
rateLimitMiddleware := middleware.NewRateLimitMiddleware(limitRepo)
commentController := controller.NewCommentController(commentService, rankService, captchaService, rateLimitMiddleware)
reportRepo := report.NewReportRepo(dataData, uniqueIDRepo)
reportService := report2.NewReportService(reportRepo, objService)
reportController := controller.NewReportController(reportService, rankService, captchaService)
serviceVoteRepo := activity.NewVoteRepo(dataData, activityRepo, userRankRepo, notificationQueueService)
voteService := service.NewVoteService(serviceVoteRepo, configService, questionRepo, answerRepo, commentCommonRepo, objService)
voteController := controller.NewVoteController(voteService, rankService, captchaService)
followRepo := activity_common.NewFollowRepo(dataData, uniqueIDRepo, activityRepo)
tagService := tag2.NewTagService(tagRepo, tagCommonService, revisionService, followRepo, siteInfoCommonService, activityQueueService)
tagController := controller.NewTagController(tagService, tagCommonService, rankService)
followFollowRepo := activity.NewFollowRepo(dataData, uniqueIDRepo, activityRepo)
followService := follow.NewFollowService(followFollowRepo, followRepo, tagCommonRepo)
followController := controller.NewFollowController(followService)
collectionRepo := collection.NewCollectionRepo(dataData, uniqueIDRepo)
collectionGroupRepo := collection.NewCollectionGroupRepo(dataData)
collectionCommon := collectioncommon.NewCollectionCommon(collectionRepo)
answerCommon := answercommon.NewAnswerCommon(answerRepo)
metaRepo := meta.NewMetaRepo(dataData)
metaService := meta2.NewMetaService(metaRepo)
questionCommon := questioncommon.NewQuestionCommon(questionRepo, answerRepo, voteRepo, followRepo, tagCommonService, userCommon, collectionCommon, answerCommon, metaService, configService, activityQueueService, dataData)
collectionService := service.NewCollectionService(collectionRepo, collectionGroupRepo, questionCommon)
collectionController := controller.NewCollectionController(collectionService)
answerActivityRepo := activity.NewAnswerActivityRepo(dataData, activityRepo, userRankRepo, notificationQueueService)
answerActivityService := activity2.NewAnswerActivityService(answerActivityRepo, configService)
externalNotificationService := notification.NewExternalNotificationService(dataData, userNotificationConfigRepo, followRepo, emailService, userRepo, externalNotificationQueueService, userExternalLoginRepo, siteInfoCommonService)
questionService := service.NewQuestionService(questionRepo, tagCommonService, questionCommon, userCommon, userRepo, userRoleRelService, revisionService, metaService, collectionCommon, answerActivityService, emailService, notificationQueueService, externalNotificationQueueService, activityQueueService, siteInfoCommonService, externalNotificationService)
answerService := service.NewAnswerService(answerRepo, questionRepo, questionCommon, userCommon, collectionCommon, userRepo, revisionService, answerActivityService, answerCommon, voteRepo, emailService, userRoleRelService, notificationQueueService, externalNotificationQueueService, activityQueueService)
questionController := controller.NewQuestionController(questionService, answerService, rankService, siteInfoCommonService, captchaService, rateLimitMiddleware)
answerController := controller.NewAnswerController(answerService, rankService, captchaService, siteInfoCommonService, rateLimitMiddleware)
searchParser := search_parser.NewSearchParser(tagCommonService, userCommon)
searchRepo := search_common.NewSearchRepo(dataData, uniqueIDRepo, userCommon, tagCommonService)
searchService := service.NewSearchService(searchParser, searchRepo)
searchController := controller.NewSearchController(searchService, captchaService)
serviceRevisionService := service.NewRevisionService(revisionRepo, userCommon, questionCommon, answerService, objService, questionRepo, answerRepo, tagRepo, tagCommonService, notificationQueueService, activityQueueService)
revisionController := controller.NewRevisionController(serviceRevisionService, rankService)
rankController := controller.NewRankController(rankService)
reportHandle := report_handle_admin.NewReportHandle(questionCommon, commentRepo, configService, notificationQueueService)
reportAdminService := report_admin.NewReportAdminService(reportRepo, userCommon, answerRepo, questionRepo, commentCommonRepo, reportHandle, configService, objService)
controller_adminReportController := controller_admin.NewReportController(reportAdminService)
userAdminRepo := user.NewUserAdminRepo(dataData, authRepo)
userAdminService := user_admin.NewUserAdminService(userAdminRepo, userRoleRelService, authService, userCommon, userActiveActivityRepo, siteInfoCommonService, emailService, questionRepo, answerRepo, commentCommonRepo)
userAdminController := controller_admin.NewUserAdminController(userAdminService)
reasonRepo := reason.NewReasonRepo(configService)
reasonService := reason2.NewReasonService(reasonRepo)
reasonController := controller.NewReasonController(reasonService)
themeController := controller_admin.NewThemeController()
siteInfoService := siteinfo.NewSiteInfoService(siteInfoRepo, siteInfoCommonService, emailService, tagCommonService, configService, questionCommon)
siteInfoController := controller_admin.NewSiteInfoController(siteInfoService)
controllerSiteInfoController := controller.NewSiteInfoController(siteInfoCommonService)
notificationRepo := notification2.NewNotificationRepo(dataData)
notificationCommon := notificationcommon.NewNotificationCommon(dataData, notificationRepo, userCommon, activityRepo, followRepo, objService, notificationQueueService, userExternalLoginRepo, siteInfoCommonService)
notificationService := notification.NewNotificationService(dataData, notificationRepo, notificationCommon, revisionService, userRepo)
notificationController := controller.NewNotificationController(notificationService, rankService)
dashboardService := dashboard.NewDashboardService(questionRepo, answerRepo, commentCommonRepo, voteRepo, userRepo, reportRepo, configService, siteInfoCommonService, serviceConf, dataData)
dashboardController := controller.NewDashboardController(dashboardService)
uploaderService := uploader.NewUploaderService(serviceConf, siteInfoCommonService)
uploadController := controller.NewUploadController(uploaderService)
activityActivityRepo := activity.NewActivityRepo(dataData, configService)
activityCommon := activity_common2.NewActivityCommon(activityRepo, activityQueueService)
commentCommonService := comment_common.NewCommentCommonService(commentCommonRepo)
activityService := activity2.NewActivityService(activityActivityRepo, userCommon, activityCommon, tagCommonService, objService, commentCommonService, revisionService, metaService, configService)
activityController := controller.NewActivityController(activityService)
roleController := controller_admin.NewRoleController(roleService)
pluginConfigRepo := plugin_config.NewPluginConfigRepo(dataData)
pluginUserConfigRepo := plugin_config.NewPluginUserConfigRepo(dataData)
pluginCommonService := plugin_common.NewPluginCommonService(pluginConfigRepo, pluginUserConfigRepo, configService, dataData)
pluginController := controller_admin.NewPluginController(pluginCommonService)
permissionController := controller.NewPermissionController(rankService)
userPluginController := controller.NewUserPluginController(pluginCommonService)
answerAPIRouter := router.NewAnswerAPIRouter(langController, userController, commentController, reportController, voteController, tagController, followController, collectionController, questionController, answerController, searchController, revisionController, rankController, controller_adminReportController, userAdminController, reasonController, themeController, siteInfoController, controllerSiteInfoController, notificationController, dashboardController, uploadController, activityController, roleController, pluginController, permissionController, userPluginController)
swaggerRouter := router.NewSwaggerRouter(swaggerConf)
uiRouter := router.NewUIRouter(controllerSiteInfoController, siteInfoCommonService)
authUserMiddleware := middleware.NewAuthUserMiddleware(authService, siteInfoCommonService)
avatarMiddleware := middleware.NewAvatarMiddleware(serviceConf, uploaderService)
shortIDMiddleware := middleware.NewShortIDMiddleware(siteInfoCommonService)
templateRenderController := templaterender.NewTemplateRenderController(questionService, userService, tagService, answerService, commentService, siteInfoCommonService, questionRepo)
templateController := controller.NewTemplateController(templateRenderController, siteInfoCommonService)
templateRouter := router.NewTemplateRouter(templateController, templateRenderController, siteInfoController, authUserMiddleware)
connectorController := controller.NewConnectorController(siteInfoCommonService, emailService, userExternalLoginService)
userCenterLoginService := user_external_login2.NewUserCenterLoginService(userRepo, userCommon, userExternalLoginRepo, userActiveActivityRepo, siteInfoCommonService)
userCenterController := controller.NewUserCenterController(userCenterLoginService, siteInfoCommonService)
pluginAPIRouter := router.NewPluginAPIRouter(connectorController, userCenterController)
ginEngine := server.NewHTTPServer(debug, staticRouter, answerAPIRouter, swaggerRouter, uiRouter, authUserMiddleware, avatarMiddleware, shortIDMiddleware, templateRouter, pluginAPIRouter)
scheduledTaskManager := cron.NewScheduledTaskManager(siteInfoCommonService, questionService)
application := newApplication(serverConf, ginEngine, scheduledTaskManager)
return application, func() {
cleanup2()
cleanup()
}, nil
}
+25
View File
@@ -1,6 +1,31 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package configs
import _ "embed"
//go:embed config.yaml
var Config []byte
//go:embed path_ignore.yaml
var PathIgnore []byte
//go:embed reserved-usernames.json
var ReservedUsernames []byte
+17 -2
View File
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
server:
http:
addr: 0.0.0.0:80
@@ -15,6 +32,4 @@ swaggerui:
host: 127.0.0.1
address: ':80'
service_config:
secret_key: "answer"
web_host: "http://127.0.0.1:9080"
upload_path: "/data/uploads"
+35
View File
@@ -0,0 +1,35 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# url path reserves the keywords list
questions:
- ask
tags:
- create
users:
- unsubscribe
- settings
- login
- register
- account-recovery
- change-email
- password-reset
- account-activation
- confirm-new-email
- account-suspended
- confirm-email
- auth-landing
File diff suppressed because one or more lines are too long
+20
View File
@@ -0,0 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
files:
- source: /i18n/en_US.yaml
translation: /i18n/%locale_with_underscore%.yaml
+18 -1
View File
@@ -1,7 +1,24 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
version: "3"
services:
answer:
image: answerdev/answer
image: apache/answer
ports:
- '9080:80'
restart: on-failure
+4082 -592
View File
File diff suppressed because it is too large Load Diff
+18
View File
@@ -1,3 +1,21 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<svg width="126" height="44" viewBox="0 0 126 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="125.49" height="44" rx="6" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 14.4C8 12.1598 8 11.0397 8.43597 10.184C8.81947 9.43139 9.43139 8.81947 10.184 8.43597C11.0397 8 12.1598 8 14.4 8H29.6C31.8402 8 32.9603 8 33.816 8.43597C34.5686 8.81947 35.1805 9.43139 35.564 10.184C36 11.0397 36 12.1598 36 14.4V24.0892C36 26.9608 36 28.3967 35.5628 29.6643C35.1761 30.7853 34.5451 31.8063 33.7153 32.6535C32.7771 33.6115 31.4928 34.2536 28.9244 35.5378L28 36V32H14.4C12.1598 32 11.0397 32 10.184 31.564C9.43139 31.1805 8.81947 30.5686 8.43597 29.816C8 28.9603 8 27.8402 8 25.6V14.4ZM28 20C28 23.3137 25.3137 26 22 26C18.6954 26 16.0148 23.3285 16.0001 20.0274V20H28Z" fill="#0033FF"/>

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 86 KiB

+314
View File
@@ -0,0 +1,314 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
============================================================================
APACHE ANSWER SUBCOMPONENTS:
The Apache answer project contains subcomponents with separate copyright
notices and license terms. Your use of the source code for the these
subcomponents is subject to the terms and conditions of the following
licenses.
========================================================================
Apache 2.0 licenses
========================================================================
The following components are provided under the Apache 2.0 License.
(Apache License, Version 2.0) react-helmet-async (https://github.com/staylor/react-helmet-async) [link](./licenses/LICENSE-staylor-react-helmet-async.txt)
(Apache License, Version 2.0) golang-mock (https://github.com/golang/mock) [link](./licenses/LICENSE-golang-mock.txt)
(Apache License, Version 2.0) google-wire (https://github.com/google/wire) [link](./licenses/LICENSE-google-wire.txt)
(Apache License, Version 2.0) mojocn-base64Captcha (https://github.com/mojocn/base64Captcha) [link](./licenses/LICENSE-mojocn-base64Captcha.txt)
(Apache License, Version 2.0) ory-dockertest (https://github.com/ory/dockertest) [link](./licenses/LICENSE-ory-dockertest.txt)
(Apache License, Version 2.0) spf13-cobra (https://github.com/spf13/cobra) [link](./licenses/LICENSE-spf13-cobra.txt)
========================================================================
MIT licenses
========================================================================
The following components are provided under the MIT License. See project link for details.
(MIT License) axios (https://github.com/axios/axios) [link](./licenses/LICENSE-axios-axios.txt)
(MIT License) bootstrap (https://github.com/twbs/bootstrap) [link](./licenses/LICENSE-twbs-bootstrap.txt)
(MIT License) icons (https://github.com/twbs/icons) [link](./licenses/LICENSE-twbs-icons.txt)
(MIT License) classnames (https://github.com/JedWatson/classnames) [link](./LICENSE-JedWatson-classnames.txt)
(MIT License) codemirror5 (https://github.com/codemirror/codemirror5) [link](./licenses/LICENSE-codemirror-codemirror5.txt)
(MIT License) color (https://github.com/Qix-/color) [link](./licenses/LICENSE-Qix--color.txt)
(MIT License) copy-to-clipboard (https://github.com/sudodoki/copy-to-clipboard) [link](./licenses/LICENSE-sudodoki-copy-to-clipboard.txt)
(MIT License) dayjs (https://github.com/iamkun/dayjs) [link](./licenses/LICENSE-iamkun-dayjs.txt)
(MIT License) i18next (https://github.com/i18next/i18next) [link](./licenses/LICENSE-i18next-i18next.txt)
(MIT License) lodash (https://github.com/lodash/lodash) [link](./licenses/LICENSE-lodash-lodash.txt)
(MIT License) marked (https://github.com/markedjs/marked) [link](./licenses/LICENSE-markedjs-marked.txt)
(MIT License) next-share (https://github.com/Bunlong/next-share) [link](./licenses/LIcENSE-Bunlong-next-share.txt)
(MIT License) node-qrcode (https://github.com/soldair/node-qrcode) [link](./licenses/LICENSE-soldair-qrcode.txt)
(MIT License) react (https://github.com/facebook/react) [link](./licenses/LICENSE-facebook-react.txt)
(MIT License) react-bootstrap (https://github.com/react-bootstrap/react-bootstrap) [link](./licenses/LICENSE-react-bootstrap-react-bootstrap.txt)
(MIT License) react-i18next (https://github.com/i18next/react-i18next) [link](./licenses/LICENSE-i18next-react-i18next.txt)
(MIT License) react-router (https://github.com/remix-run/react-router) [link](./licenses/LICENSE-remix-run-react-router.txt)
(MIT License) swr (https://github.com/vercel/swr) [link](./licenses/LICENSE-vercel-swr.txt)
(MIT License) zustand (https://github.com/pmndrs/zustand) [link](./licenses/LICENSE-pmndrs-zustand.txt)
(MIT License) Chain-Zhang-pinyin (https://github.com/Chain-Zhang/pinyin) [link](./licenses/LICENSE-Chain-Zhang-pinyin.txt)
(MIT License) Machiel-slugify (https://github.com/Machiel/slugify) [link](./licenses/LICENSE-Machiel-slugify.txt)
(MIT License) Masterminds-semver (https://github.com/Masterminds/semver) [link](./licenses/LICENSE-Masterminds-semver.txt)
(MIT License) anargu-gin-brotli (https://github.com/anargu/gin-brotli) [link](./licenses/LICENSE-anargu-gin-brotli.txt)
(MIT License) asaskevich-govalidator (https://github.com/asaskevich/govalidator) [link](./licenses/LICENSE-asaskevich-govalidator.txt)
(MIT License) disintegration-imaging (https://github.com/disintegration/imaging) [link](./licenses/LICENSE-disintegration-imaging.txt)
(MIT License) gin-gonic-gin (https://github.com/gin-gonic/gin) [link](./licenses/LICENSE-gin-gonic-gin.txt)
(MIT License) go-playground-locales (https://github.com/go-playground/locales) [link](./licenses/LICENSE-go-playground-locales.txt)
(MIT License) go-playground-universal-translator (https://github.com/go-playground/universal-translator) [link](./licenses/LICENSE-go-playground-universal-translator.txt)
(MIT License) go-playground-validator (https://github.com/go-playground/validator) [link](./licenses/LICENSE-go-playground-validator.txt)
(MIT License) goccy-go-json (https://github.com/goccy/go-json) [link](./licenses/LICENSE-goccy-go-json.txt)
(MIT License) jinzhu-copier (https://github.com/jinzhu/copier) [link](./licenses/LICENSE-jinzhu-copier.txt)
(MIT License) jinzhu-now (https://github.com/jinzhu/now) [link](./licenses/LICENSE-jinzhu-now.txt)
(MIT License) jordan-wright-email (https://github.com/jordan-wright/email) [link](./licenses/LICENSE-jordan-wright-email.txt)
(MIT License) lib-pq (https://github.com/lib/pq) [link](./licenses/LICENSE-lib-pq.txt)
(MIT License) mattn-go-sqlite3 (https://github.com/mattn/go-sqlite3) [link](./licenses/LICENSE-mattn-go-sqlite3.txt)
(MIT License) segmentfault-pacman (https://github.com/segmentfault/pacman) [link](./licenses/LICENSE-segmentfault-pacman.txt)
(MIT License) robfig-cron (https://github.com/robfig/cron) [link](./licenses/LICENSE-robfig-cron.txt)
(MIT License) scottleedavis-go-exif-remove (https://github.com/scottleedavis/go-exif-remove) [link](./licenses/LICENSE-scottleedavis-go-exif-remove.txt)
(MIT License) stretchr-testify (https://github.com/stretchr/testify) [link](./licenses/LICENSE-stretchr-testify.txt)
(MIT License) swaggo-files (https://github.com/swaggo/files) [link](./licenses/LICENSE-swaggo-files.txt)
(MIT License) swaggo-gin-swagger (https://github.com/swaggo/gin-swagger) [link](./licenses/LICENSE-swaggo-gin-swagger.txt)
(MIT License) swaggo-swag (https://github.com/swaggo/swag) [link](./licenses/LICENSE-swaggo-swag.txt)
(MIT License) tidwall-gjson (https://github.com/tidwall/gjson) [link](./licenses/LICENSE-tidwall-gjson.txt)
(MIT License) yuin-goldmark (https://github.com/yuin/goldmark) [link](./licenses/LICENSE-yuin-goldmark.txt)
(MIT License) go-gomail-gomail (https://gopkg.in/gomail.v2) [link](./licenses/LICENSE-go-gomail-gomail.txt)
========================================================================
BSD licenses
========================================================================
The following components are provided under a BSD license. See project link for details.
(BSD 2-Clause) bwmarrin-snowflake (https://github.com/bwmarrin/snowflake) [link](./licenses/LICENSE-bwmarrin-snowflake.txt)
(BSD 2-Clause) xorm (https://xorm.io/xorm) [link](./licenses/LICENSE-xorm.txt)
(BSD 3-Clause) google-uuid (https://github.com/google/uuid) [link](./licenses/LICENSE-google-uuid.txt)
(BSD 3-Clause) grokify-html-strip-tags-go (https://github.com/grokify/html-strip-tags-go) [link](./licenses/LICENSE-grokify-html-strip-tags-go.txt)
(BSD 3-Clause) microcosm-cc-bluemonday (https://github.com/microcosm-cc/bluemonday) [link](./licenses/LICENSE-microcosm-cc-bluemonday.txt)
(BSD 3-Clause) cznic-sqlite (https://modernc.org/sqlite) [link](./licenses/LICENSE-cznic-sqlite.txt)
(BSD 3-Clause) jsdiff (https://github.com/kpdecker/jsdiff) [link](./licenses/LICENSE-kpdecker-jsdiff.txt)
(BSD 3-Clause) node-md5 (https://github.com/pvorb/node-md5) [link](./licenses/LICENSE-pvorb-node-md5.txt)
(BSD 3-Clause) qs (https://github.com/ljharb/qs) [link](./licenses/LICENSE-ljharb-qs.txt)
========================================================================
ISC licenses
========================================================================
The following components are provided under a ISC license. See project link for details.
(ISC License) node-semver (https://github.com/npm/node-semver) [link](./licenses/LICENSE-npm-node-semver.txt)
========================================================================
MIT and Apache-2.0 licenses
========================================================================
The following components are provided under a MIT and Apache-2.0 license. See project link for details.
(MIT and Apache-2.0) go-yaml-yaml (https://gopkg.in/yaml.v3) [link](./licenses/LICENSE-go-yaml-yaml.txt)
========================================================================
MPL licenses
========================================================================
The following components are provided under a MPL license. See project link for details.
(MPL-2.0) go-sql-driver-mysql (https://github.com/go-sql-driver/mysql) [link](./licenses/LICENSE-go-sql-driver-mysql.txt)
+5
View File
@@ -0,0 +1,5 @@
Apache Answer (incubating)
Copyright 2023 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019 Chain Zhang
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2018 Jed Watson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2015 Machiel Molenaar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,19 @@
Copyright (C) 2014-2019, Matt Butcher and Matt Farina
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,20 @@
Copyright (c) 2012 Heather Arthur
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Anthony Arostegui
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014-2020 Alex Saskevich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,7 @@
# Copyright (c) 2014-present Matt Zabriskie & Collaborators
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,23 @@
Copyright (c) 2016, Bruce
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,21 @@
MIT License
Copyright (C) 2017 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,26 @@
Copyright (c) 2017 The Sqlite Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2012 Grigory Dryapak
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,21 @@
MIT License
Copyright (c) Meta Platforms, Inc. and affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2014 Manuel Martínez-Almeida
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2014 Alexandre Cesaro
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2016 Go Playground
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2016 Go Playground
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2015 Dean Karn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,373 @@
Mozilla Public License Version 2.0
==================================
1. Definitions
--------------
1.1. "Contributor"
means each individual or legal entity that creates, contributes to
the creation of, or owns Covered Software.
1.2. "Contributor Version"
means the combination of the Contributions of others (if any) used
by a Contributor and that particular Contributor's Contribution.
1.3. "Contribution"
means Covered Software of a particular Contributor.
1.4. "Covered Software"
means Source Code Form to which the initial Contributor has attached
the notice in Exhibit A, the Executable Form of such Source Code
Form, and Modifications of such Source Code Form, in each case
including portions thereof.
1.5. "Incompatible With Secondary Licenses"
means
(a) that the initial Contributor has attached the notice described
in Exhibit B to the Covered Software; or
(b) that the Covered Software was made available under the terms of
version 1.1 or earlier of the License, but not also under the
terms of a Secondary License.
1.6. "Executable Form"
means any form of the work other than Source Code Form.
1.7. "Larger Work"
means a work that combines Covered Software with other material, in
a separate file or files, that is not Covered Software.
1.8. "License"
means this document.
1.9. "Licensable"
means having the right to grant, to the maximum extent possible,
whether at the time of the initial grant or subsequently, any and
all of the rights conveyed by this License.
1.10. "Modifications"
means any of the following:
(a) any file in Source Code Form that results from an addition to,
deletion from, or modification of the contents of Covered
Software; or
(b) any new file in Source Code Form that contains any Covered
Software.
1.11. "Patent Claims" of a Contributor
means any patent claim(s), including without limitation, method,
process, and apparatus claims, in any patent Licensable by such
Contributor that would be infringed, but for the grant of the
License, by the making, using, selling, offering for sale, having
made, import, or transfer of either its Contributions or its
Contributor Version.
1.12. "Secondary License"
means either the GNU General Public License, Version 2.0, the GNU
Lesser General Public License, Version 2.1, the GNU Affero General
Public License, Version 3.0, or any later versions of those
licenses.
1.13. "Source Code Form"
means the form of the work preferred for making modifications.
1.14. "You" (or "Your")
means an individual or a legal entity exercising rights under this
License. For legal entities, "You" includes any entity that
controls, is controlled by, or is under common control with You. For
purposes of this definition, "control" means (a) the power, direct
or indirect, to cause the direction or management of such entity,
whether by contract or otherwise, or (b) ownership of more than
fifty percent (50%) of the outstanding shares or beneficial
ownership of such entity.
2. License Grants and Conditions
--------------------------------
2.1. Grants
Each Contributor hereby grants You a world-wide, royalty-free,
non-exclusive license:
(a) under intellectual property rights (other than patent or trademark)
Licensable by such Contributor to use, reproduce, make available,
modify, display, perform, distribute, and otherwise exploit its
Contributions, either on an unmodified basis, with Modifications, or
as part of a Larger Work; and
(b) under Patent Claims of such Contributor to make, use, sell, offer
for sale, have made, import, and otherwise transfer either its
Contributions or its Contributor Version.
2.2. Effective Date
The licenses granted in Section 2.1 with respect to any Contribution
become effective for each Contribution on the date the Contributor first
distributes such Contribution.
2.3. Limitations on Grant Scope
The licenses granted in this Section 2 are the only rights granted under
this License. No additional rights or licenses will be implied from the
distribution or licensing of Covered Software under this License.
Notwithstanding Section 2.1(b) above, no patent license is granted by a
Contributor:
(a) for any code that a Contributor has removed from Covered Software;
or
(b) for infringements caused by: (i) Your and any other third party's
modifications of Covered Software, or (ii) the combination of its
Contributions with other software (except as part of its Contributor
Version); or
(c) under Patent Claims infringed by Covered Software in the absence of
its Contributions.
This License does not grant any rights in the trademarks, service marks,
or logos of any Contributor (except as may be necessary to comply with
the notice requirements in Section 3.4).
2.4. Subsequent Licenses
No Contributor makes additional grants as a result of Your choice to
distribute the Covered Software under a subsequent version of this
License (see Section 10.2) or under the terms of a Secondary License (if
permitted under the terms of Section 3.3).
2.5. Representation
Each Contributor represents that the Contributor believes its
Contributions are its original creation(s) or it has sufficient rights
to grant the rights to its Contributions conveyed by this License.
2.6. Fair Use
This License is not intended to limit any rights You have under
applicable copyright doctrines of fair use, fair dealing, or other
equivalents.
2.7. Conditions
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
in Section 2.1.
3. Responsibilities
-------------------
3.1. Distribution of Source Form
All distribution of Covered Software in Source Code Form, including any
Modifications that You create or to which You contribute, must be under
the terms of this License. You must inform recipients that the Source
Code Form of the Covered Software is governed by the terms of this
License, and how they can obtain a copy of this License. You may not
attempt to alter or restrict the recipients' rights in the Source Code
Form.
3.2. Distribution of Executable Form
If You distribute Covered Software in Executable Form then:
(a) such Covered Software must also be made available in Source Code
Form, as described in Section 3.1, and You must inform recipients of
the Executable Form how they can obtain a copy of such Source Code
Form by reasonable means in a timely manner, at a charge no more
than the cost of distribution to the recipient; and
(b) You may distribute such Executable Form under the terms of this
License, or sublicense it under different terms, provided that the
license for the Executable Form does not attempt to limit or alter
the recipients' rights in the Source Code Form under this License.
3.3. Distribution of a Larger Work
You may create and distribute a Larger Work under terms of Your choice,
provided that You also comply with the requirements of this License for
the Covered Software. If the Larger Work is a combination of Covered
Software with a work governed by one or more Secondary Licenses, and the
Covered Software is not Incompatible With Secondary Licenses, this
License permits You to additionally distribute such Covered Software
under the terms of such Secondary License(s), so that the recipient of
the Larger Work may, at their option, further distribute the Covered
Software under the terms of either this License or such Secondary
License(s).
3.4. Notices
You may not remove or alter the substance of any license notices
(including copyright notices, patent notices, disclaimers of warranty,
or limitations of liability) contained within the Source Code Form of
the Covered Software, except that You may alter any license notices to
the extent required to remedy known factual inaccuracies.
3.5. Application of Additional Terms
You may choose to offer, and to charge a fee for, warranty, support,
indemnity or liability obligations to one or more recipients of Covered
Software. However, You may do so only on Your own behalf, and not on
behalf of any Contributor. You must make it absolutely clear that any
such warranty, support, indemnity, or liability obligation is offered by
You alone, and You hereby agree to indemnify every Contributor for any
liability incurred by such Contributor as a result of warranty, support,
indemnity or liability terms You offer. You may include additional
disclaimers of warranty and limitations of liability specific to any
jurisdiction.
4. Inability to Comply Due to Statute or Regulation
---------------------------------------------------
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Software due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description must
be placed in a text file included with all distributions of the Covered
Software under this License. Except to the extent prohibited by statute
or regulation, such description must be sufficiently detailed for a
recipient of ordinary skill to be able to understand it.
5. Termination
--------------
5.1. The rights granted under this License will terminate automatically
if You fail to comply with any of its terms. However, if You become
compliant, then the rights granted under this License from a particular
Contributor are reinstated (a) provisionally, unless and until such
Contributor explicitly and finally terminates Your grants, and (b) on an
ongoing basis, if such Contributor fails to notify You of the
non-compliance by some reasonable means prior to 60 days after You have
come back into compliance. Moreover, Your grants from a particular
Contributor are reinstated on an ongoing basis if such Contributor
notifies You of the non-compliance by some reasonable means, this is the
first time You have received notice of non-compliance with this License
from such Contributor, and You become compliant prior to 30 days after
Your receipt of the notice.
5.2. If You initiate litigation against any entity by asserting a patent
infringement claim (excluding declaratory judgment actions,
counter-claims, and cross-claims) alleging that a Contributor Version
directly or indirectly infringes any patent, then the rights granted to
You by any and all Contributors for the Covered Software under Section
2.1 of this License shall terminate.
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
end user license agreements (excluding distributors and resellers) which
have been validly granted by You or Your distributors under this License
prior to termination shall survive termination.
************************************************************************
* *
* 6. Disclaimer of Warranty *
* ------------------------- *
* *
* Covered Software is provided under this License on an "as is" *
* basis, without warranty of any kind, either expressed, implied, or *
* statutory, including, without limitation, warranties that the *
* Covered Software is free of defects, merchantable, fit for a *
* particular purpose or non-infringing. The entire risk as to the *
* quality and performance of the Covered Software is with You. *
* Should any Covered Software prove defective in any respect, You *
* (not any Contributor) assume the cost of any necessary servicing, *
* repair, or correction. This disclaimer of warranty constitutes an *
* essential part of this License. No use of any Covered Software is *
* authorized under this License except under this disclaimer. *
* *
************************************************************************
************************************************************************
* *
* 7. Limitation of Liability *
* -------------------------- *
* *
* Under no circumstances and under no legal theory, whether tort *
* (including negligence), contract, or otherwise, shall any *
* Contributor, or anyone who distributes Covered Software as *
* permitted above, be liable to You for any direct, indirect, *
* special, incidental, or consequential damages of any character *
* including, without limitation, damages for lost profits, loss of *
* goodwill, work stoppage, computer failure or malfunction, or any *
* and all other commercial damages or losses, even if such party *
* shall have been informed of the possibility of such damages. This *
* limitation of liability shall not apply to liability for death or *
* personal injury resulting from such party's negligence to the *
* extent applicable law prohibits such limitation. Some *
* jurisdictions do not allow the exclusion or limitation of *
* incidental or consequential damages, so this exclusion and *
* limitation may not apply to You. *
* *
************************************************************************
8. Litigation
-------------
Any litigation relating to this License may be brought only in the
courts of a jurisdiction where the defendant maintains its principal
place of business and such litigation shall be governed by laws of that
jurisdiction, without reference to its conflict-of-law provisions.
Nothing in this Section shall prevent a party's ability to bring
cross-claims or counter-claims.
9. Miscellaneous
----------------
This License represents the complete agreement concerning the subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. Any law or regulation which provides
that the language of a contract shall be construed against the drafter
shall not be used to construe this License against a Contributor.
10. Versions of the License
---------------------------
10.1. New Versions
Mozilla Foundation is the license steward. Except as provided in Section
10.3, no one other than the license steward has the right to modify or
publish new versions of this License. Each version will be given a
distinguishing version number.
10.2. Effect of New Versions
You may distribute the Covered Software under the terms of the version
of the License under which You originally received the Covered Software,
or under the terms of any subsequent version published by the license
steward.
10.3. Modified Versions
If you create software not governed by this License, and you want to
create a new license for such software, you may create and use a
modified version of this License if you rename the license and remove
any references to the name of the license steward (except to note that
such modified license differs from this License).
10.4. Distributing Source Code Form that is Incompatible With Secondary
Licenses
If You choose to distribute Source Code Form that is Incompatible With
Secondary Licenses under the terms of this version of the License, the
notice described in Exhibit B of this License must be attached.
Exhibit A - Source Code Form License Notice
-------------------------------------------
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
If it is not possible or desirable to put the notice in a particular
file, then You may include the notice in a location (such as a LICENSE
file in a relevant directory) where a recipient would be likely to look
for such a notice.
You may add additional accurate notices of copyright ownership.
Exhibit B - "Incompatible With Secondary Licenses" Notice
---------------------------------------------------------
This Source Code Form is "Incompatible With Secondary Licenses", as
defined by the Mozilla Public License, v. 2.0.
@@ -0,0 +1,50 @@
This project is covered by two different licenses: MIT and Apache.
#### MIT License ####
The following files were ported to Go from C files of libyaml, and thus
are still covered by their original MIT license, with the additional
copyright staring in 2011 when the project was ported over:
apic.go emitterc.go parserc.go readerc.go scannerc.go
writerc.go yamlh.go yamlprivateh.go
Copyright (c) 2006-2010 Kirill Simonov
Copyright (c) 2006-2011 Kirill Simonov
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
### Apache License ###
All the remaining project files are covered by the Apache license:
Copyright (c) 2011-2019 Canonical Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 Masaaki Goshima
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,27 @@
Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,27 @@
Copyright (c) 2009,2014 Google Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,27 @@
Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2023 i18next
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2023 i18next
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018-present, iamkun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2015 Jinzhu
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2013-NOW Jinzhu <wosmvp@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2013 Jordan Wright
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,31 @@
Software License Agreement (BSD License)
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
* Neither the name of Kevin Decker nor the names of its
contributors may be used to endorse or promote products
derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+8
View File
@@ -0,0 +1,8 @@
Copyright (c) 2011-2013, 'pq' Contributors
Portions Copyright (C) 2011 Blake Mizerany
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2014, Nathan LaFreniere and other [contributors](https://github.com/ljharb/qs/graphs/contributors)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,49 @@
The MIT License
Copyright JS Foundation and other contributors <https://js.foundation/>
Based on Underscore.js, copyright Jeremy Ashkenas,
DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at https://github.com/lodash/lodash
The following license applies to all parts of this software except as
documented below:
====
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
====
Copyright and related rights for sample code are waived via CC0. Sample
code is defined as all source code displayed within the prose of the
documentation.
CC0: http://creativecommons.org/publicdomain/zero/1.0/
====
Files located in the node_modules and vendor directories are externally
maintained libraries used by this software which have their own
licenses; we recommend you read them, as their terms may differ from the
terms above.
@@ -0,0 +1,44 @@
# License information
## Contribution License Agreement
If you contribute code to this project, you are implicitly allowing your code
to be distributed under the MIT license. You are also implicitly verifying that
all code is your original work. `</legalese>`
## Marked
Copyright (c) 2018+, MarkedJS (https://github.com/markedjs/)
Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
## Markdown
Copyright © 2004, John Gruber
http://daringfireball.net/
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Some files were not shown because too many files have changed in this diff Show More