Artur Iusupov
3a5a15fe77
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-07-10 10:19:39 +08:00
Artur Iusupov
7123326515
feat(site): allow disabling email verification
2026-07-10 10:19:39 +08:00
Luke Gao
09eaa5b7e3
feat: add reasoning content to AI conversation records and update related components ( #1530 )
...
Fix #1524
Root cause
DeepSeek's reasoning models stream reasoning_content alongside content.
Answer ignored it, so follow-up requests failed with 400: The
reasoning_content in the thinking mode must be passed back to the API,
and the thinking text was never shown or saved.
Fix
- Capture reasoning_content from the stream and pass it back to theAPI
on subsequent rounds.
- Persist it with the conversation (new DB column via migrationv2.0.2).
- Render it in the chat UI as a collapsible "Thinking…/Thoughts"panel
above the answer.
Compatibility
Nullable column, omitempty field, UI hides the panel when empty — old
conversations and non-reasoning models behave exactly as before.
Demo
https://github.com/user-attachments/assets/49b1a2a1-9133-4ac2-bbeb-860215a50285
2026-07-10 10:19:39 +08:00
LinkinStars
a5edc4fc01
feat: add advanced site settings and related API endpoints
2026-01-28 11:15:40 +08:00
LinkinStars
c1549d2909
feat: add AI configuration support with related controllers and services
2026-01-23 17:09:05 +08:00
shuai
b5ae2d0351
fix: admin/themes add layout config
2025-12-19 14:09:38 +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
ferhat elmas
bc629db132
chore(deps): bump mockgen to 0.6.0 for go1.25 support
...
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com >
2025-11-28 17:00:25 +08:00
LinkinStars
eb1b20ab96
chore(ci): Add ASF header
2025-10-28 15:27:11 +08:00
shuai
78df776449
fix: Details page editing time value adjustment
2025-09-30 15:34:37 +08:00
LinkinStars
fda869f1dc
docs: remove description for suspended_until field
2025-07-17 15:52:25 +08:00
LinkinStars
6d02706d4d
feat(user): add user suspension functionality
2025-06-26 14:42:08 +08:00
LinkinStars
67b9c0b462
refactor(api): update API documentation for Accept Answer endpoint
2025-06-24 11:19:53 +08:00
LinkinStars
d02d09bb9a
refactor(api): improve API documentation for Answer endpoints
2025-06-24 11:06:14 +08:00
Luffy
afdf6ce778
fix: Unified display name and username length checks
2025-05-23 15:09:34 +08:00
LinkinStars
02c1304b99
feat(docs): Add Apache License header
2025-04-29 15:00:40 +08:00
shuai
9f420e67d2
Merge branch 'dev' into test
2025-04-27 11:59:34 +08:00
sy-records
59f0c3fb63
fix: Username minimum length still set to 4
2025-04-18 11:52:55 +08:00
shuai
bebf5931a1
style: admin ui style changed
2025-04-07 15:31:31 +08:00
shuai
105cd37dfe
fix: update seo template for footer template
2025-04-07 11:44:34 +08:00
Seiya
f92860e8ec
chore: remove duplicated security requirements ( #1302 )
...
close #1300
2025-04-02 09:12:39 +08:00
Luffy
1db30228d5
chore: sync swagger
2025-03-18 14:03:17 +08:00
Luffy
0285a47ae3
fix: missing ApiKeyAuth configuration in Swagger
2025-01-09 17:00:28 +08:00
Luffy
4a74eed4a7
feat: Add permanently delete
2024-12-25 15:53:04 +08:00
LinkinStars
9c266c5f33
feat(upload): add support for attachment uploads and improve image handling
2024-12-09 11:52:18 +08:00
Luffy
e41a8522fc
fix: administrator add user failure
2024-12-09 11:52:18 +08:00
Sonui
3eb9822c09
feat(question): support linking question
2024-10-12 10:17:18 +08:00
sy-records
bd0d9fda22
docs: regenerate docs
2024-10-12 09:59:17 +08:00
sy-records
48c2387853
chore: sync swagger
2024-09-19 14:37:04 +08:00
sy-records
1d33c8827c
fix: change fail
2024-09-05 11:07:15 +08:00
sy-records
c751364974
fix: add getInstallLanguageConfig
2024-09-05 11:07:15 +08:00
LinkinStars
2ca5e8bb4a
Merge branch 'dev' into test
...
# Conflicts:
# cmd/wire_gen.go
# internal/service/content/question_service.go
2024-09-04 10:29:05 +08:00
LinkinStars
cb5a0b7045
chore(lint): lint code and regenerate docs
2024-09-04 10:26:57 +08:00
kumfo
1666b94135
feat(badge): badge list earned return earned total
2024-09-02 18:26:24 +08:00
kumfo
4f80f9e97b
feat(badge): badge list earned return earned total
2024-09-02 18:12:04 +08:00
robin
6214fed8ae
docs: Add render api
2024-08-23 11:39:16 +08:00
LinkinStars
2cc478357a
Merge branch 'feat/1.4.0/config' into test
2024-08-23 10:22:26 +08:00
Jan Ernsting
493d5c0768
requested changes
2024-08-22 10:58:06 +08:00
Jan Ernsting
15531f4223
build swagger documentation on go generate
2024-08-22 10:58:06 +08:00
kumfo
59b089a4eb
Merge branch 'feat/1.4.0/embed' into test
2024-08-21 14:50:33 +08:00
kumfo
1d9f88f803
fix(embed): embed plugin type definition
2024-08-19 16:15:21 +08:00
LinkinStars
bede0adbf7
feat(badge): award badge for user
2024-08-14 10:38:17 +08:00
kumfo
cf327f59dc
feat(badge): badge manage add badge search
2024-08-13 17:50:10 +08:00
kumfo
bb40366f00
feat(badge): badge manage and user center's badge list
2024-08-13 16:12:34 +08:00
kumfo
61db21e0d3
feat(badge): fixed user's badge award list and add recent user badges
2024-08-12 15:33:04 +08:00
kumfo
5293f4f3ea
feat(badge): user's badge award list
2024-08-09 15:00:46 +08:00
kumfo
c2531f9b07
chore(badge): change project code struct
2024-08-09 11:33:24 +08:00
kumfo
797ea9b918
feat(badge): badge info && badge award list
2024-08-08 16:41:17 +08:00
kumfo
ea43edc864
feat(badge): define func and add badge's list
2024-08-07 16:35:22 +08:00
LinkinStars
cc8cc43907
Merge branch 'feat/1.3.6/user' into test
...
# Conflicts:
# cmd/wire_gen.go
2024-07-25 10:15:24 +08:00