23 Commits

Author SHA1 Message Date
LinkinStars 5e705a124b refactor(lint): improve error handling and code consistency across multiple files 2025-12-01 12:27:25 +08:00
ferhat elmas f723d120d9 feat: add golangci-lint into lint target
* replace empty interface with any
* run fmt via golangci-lint

related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
2025-12-01 11:14:38 +08:00
LinkinStars 0618947350 refactor(name): rename incubator-answer 2025-01-07 10:39:23 +08:00
LinkinStars a458f3409c rename all old answerdev/answer link to apache/incubator-answer (#603)
Co-authored-by: shuai <lishuailing@sifou.com>
2023-11-01 14:48:35 +08:00
tison 3d2187d849 chore: add license headers
Signed-off-by: tison <wander4096@gmail.com>
2023-10-26 11:11:23 +08:00
LinkinStars a8ec3ec045 fix(error): format error messageˆ 2023-08-14 18:43:24 +08:00
LinkinStars 66a04d0e5a feat(validator): format error message 2023-08-03 19:54:38 +08:00
LinkinStars 7d23b17cdb fix(password): password can't contains space. 2023-05-22 15:09:42 +08:00
aichy126 36cc86aeb0 update validator 2023-02-21 11:29:54 +08:00
aichy126 edc06942d5 add input sanitizer 2023-02-15 15:51:12 +08:00
aichy126 af5e3f4e48 update question validate 2023-02-02 17:01:52 +08:00
LinkinStar ec871efc75 feat(validator): add notblank validation 2023-02-01 11:08:56 +08: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 305a50cee7 fix(i18n): use full language name as the translator key 2022-12-19 18:15:17 +08:00
LinkinStar e395de3099 feat(i18n): Add more supported languages. 2022-12-19 17:07:34 +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
LinkinStar 83ad1a185a feat: change the original single form error return to multiple form error return 2022-11-17 17:57:13 +08:00
LinkinStar 0c4eeda383 feat: validation returns the original tag for the error field 2022-11-11 11:24:36 +08:00
Tai Groot 59e2e1f304 Running gofumpt against repo (#49)
* starting on gofumpt

* continuing on gofumpt

* continuing on gofumpt

* finish gofumpt review

* added changes requested by LinkinStars' review

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2022-11-01 15:25:44 +08:00
LinkinStar adc760e874 refactor: rename go mod package to answerdev 2022-10-24 16:51:05 +08:00
LinkinStar 41e1175620 feat: support admin modify smtp config 2022-10-20 16:38:56 +08:00
LinkinStar c39e115cde feat: support update username 2022-10-14 17:01:06 +08:00
mingcheng 8e6c49a531 initial commit 2022-09-27 17:59:05 +08:00