116 Commits

Author SHA1 Message Date
Artur Iusupov 3b6f981b81 fix(site): require explicit email verification setting
Replace OptionalBool with an explicit require_email_verification value for the login settings save request while keeping legacy read defaults intact.

Use positive RequireEmailVerification naming through the registration flow and inline the site setting mapping.

Add validation, save-path, and registration coverage for the explicit email verification setting.
2026-06-15 14:44:34 +08:00
Artur Iusupov d93e31e92a feat(site): allow disabling email verification 2026-06-15 14:44:34 +08:00
LinkinStars 8b61cad014 fix(lint): resolve the lint issue 2026-01-27 17:49:29 +08:00
LinkinStars f403eadb2c feat: add AI conversation management endpoints and update related schemas 2026-01-23 17:28:19 +08:00
LinkinStars ce5aadf30d feat: add AI configuration support with related controllers and services 2026-01-23 17:25:42 +08:00
kumfo 73cfbace70 feat(menu): deprecate default_avatar and gravatar_base_url in SiteInterfaceReq schema 2026-01-22 12:25:37 +08:00
kumfo 18b76f3e23 feat(siteinfo): add site_security to response structure and update related schemas 2026-01-22 12:25:37 +08:00
kumfo 128c44f5a3 feat(menu): update schema to remove deprecated min_tags and add MinimumTags to SiteQuestionsReq 2026-01-22 12:25:37 +08:00
kumfo 3264fdd1d9 feat(siteinfo): refactor site legal and security settings to use new policies and security endpoints 2026-01-22 12:25:37 +08:00
kumfo c2a0bee7dc feat(siteinfo): add users settings endpoint and update interface settings structure 2026-01-22 12:25:37 +08:00
kumfo f05f1eb80d feat(menu): update admin menu settings to include questions, tags, and advanced options 2026-01-22 12:25:32 +08:00
LinkinStars d3a29e7ad9 feat(theme): add layout options for site theme configuration 2025-12-19 12:23:55 +08:00
ferhat elmas 670aa32325 refactor(lint): add new linters and fix their issues
* gocritic
* misspell
* modernize (aside, bumping go would be nice)
* testifylint
* unconvert
* unparam
* whitespace

related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
2025-12-05 10:45:55 +08:00
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
Dinesht04 63e2fb9005 fix(internal):add gte,lte bounds for min_content and min_tags 2025-10-28 14:52:53 +08:00
Dinesht04 2d2451f78d fix(ui,internal): correct i18n implementation for variables and add min=0 to minimumContent in siteInfo schema 2025-10-22 18:43:54 +08:00
Dinesht04 f238aa5051 feat(ui,internal): add min_content property in site info 2025-10-22 18:43:54 +08:00
Dinesht04 a63fe5b26c feat(internal,ui): add minimum tags property 2025-10-16 09:46:08 +08:00
LinkinStars 550a92684e feat(migrations): move user config to interface 2025-06-26 11:20:23 +08:00
LinkinStars 54269334b6 feat(siteinfo): add external content display configuration 2025-03-11 12:05:31 +08:00
LinkinStars de58e527e4 fix(siteinfo): fix Manifest: property 'icons' ignored, type array expected. 2025-03-04 14:23:23 +08:00
LinkinStars 0618947350 refactor(name): rename incubator-answer 2025-01-07 10:39:23 +08:00
LinkinStars aac2370fe8 feat(upload): add support for file attachments and enhance image upload 2024-12-09 11:52:18 +08:00
LinkinStars a955ba0658 feat(upload): add support for file attachments and enhance image upload 2024-12-09 11:52:18 +08:00
LinkinStars 6c553f52f8 feat(admin): update recommend_tags and reserved_tags filed in site write req 2024-07-11 17:53:59 +08:00
LinkinStars b0882f66dd Merge branch 'feat/basepath' into dev
# Conflicts:
#	cmd/wire_gen.go
#	ui/pnpm-lock.yaml
#	ui/src/pages/Admin/General/index.tsx
2024-05-27 16:29:28 +08:00
sy-records c1eb74bfb0 feat: Support SMTP Encryption using TLS 2024-05-27 16:03:40 +08:00
LinkinStars c6d43e92c1 feat(base): add base path for ui page 2024-04-24 15:31:03 +08:00
LinkinStars abe0680641 Release/1.3.0 (#876)
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: Han Gao <dhangao@hotmail.com>
Co-authored-by: wzy <770954908@qq.com>
Co-authored-by: zahash <zahash.z@gmail.com>
Co-authored-by: Hosein Beigi <hbsciw@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: 而立 <cuihengqing@cai-inc.com>
Co-authored-by: foxzero-007 <chq2549603631@gmail.com>
Co-authored-by: easy <58644520+foxzero-007@users.noreply.github.com>
Co-authored-by: robin <robin@rnode.me>
Co-authored-by: Akhil <surapuramakhil@gmail.com>
Co-authored-by: Shaobiao Lin <whalevocal@gmail.com>
2024-03-22 17:25:46 +08:00
LinkinStars 937de43978 Release/1.2.5 (#759)
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: Yang Wong <yang wang>
Co-authored-by: hbsciw <hbsciw@gmail.com>
2024-01-29 17:19:41 +08:00
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
LinkinStars a458f3409c rename all old answerdev/answer link to apache/incubator-answer (#603)
Co-authored-by: shuai <lishuailing@sifou.com>
2023-11-01 14:48:35 +08:00
tison 3d2187d849 chore: add license headers
Signed-off-by: tison <wander4096@gmail.com>
2023-10-26 11:11:23 +08:00
LinkinStars ee5613099f fix(email): fix all incorrect url in email. 2023-10-08 17:58:52 +08:00
LinkinStars 3988501fc5 feat(rank): adjust the rank of voting question and answer. 2023-07-19 16:48:26 +08:00
LinkinStars 964195fd85 feat(init): set default privileges when init 2023-07-04 14:33:31 +08:00
LinkinStars 1c2151d710 refactor(shortid): remove short id variable 2023-06-02 16:53:49 +08:00
LinkinStars ba5aadf31b feat(rank): add permission and privilege reputation 2023-05-23 12:16:17 +08:00
LinkinStars e947354a68 feat(upgrade): add gravatar base url 2023-05-15 11:20:50 +08:00
LinkinStars e49b6fbb54 fix(rank): remove accept answer rank config 2023-04-21 16:43:07 +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
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 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
LinkinStars a3cc0ac38a feat(usercenter): add user center plugin and agent 2023-04-14 17:33:22 +08:00
LinkinStars 4cfa0cd8fe feat(permission): add privileges API 2023-04-12 10:35:40 +08:00
LinkinStars 1c235dbd9b feat(permission): add privileges 2023-04-11 10:27:18 +08:00
aichy126 89738b8898 add Revision 2023-03-24 11:49:23 +08:00
aichy126 dd54b6b9c8 Merge branch 'feat/1.0.7/short-id' into test 2023-03-13 16:25:17 +08:00