5296 Commits

Author SHA1 Message Date
shuai eddedfdf1b fix: optimization login btn style
Build Latest Docker Image For Release / build (push) Has been cancelled
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
v1.5.1 v1.5.1-RC1
2025-05-28 12:46:12 +08:00
shuai 1f07d8eb15 fix: Compatibility default value is colored or light before v1.5.1 2025-05-28 11:35:00 +08:00
LinkinStars f4368f54c5 New translations (#1348) 2025-05-28 10:50:14 +08:00
LinkinStars bd032dff36 upgrade(docs): upgrade to 1.5.1 2025-05-28 10:16:27 +08:00
LinkinStars e859e47d1b Merge remote-tracking branch 'origin/dev' into test 2025-05-28 10:14:15 +08:00
Sonui 4175b06039 perf(tests): replace panic with os.Exit in TestMain for graceful test termination 2025-05-28 10:13:32 +08:00
Sonui 6df436c718 feat(tests): add comprehensive tests for KV storage plugin 2025-05-28 10:13:32 +08:00
shuai b20f3a8762 fix: dropdown header use h6 2025-05-27 18:27:44 +08:00
shuai 503e1cf7d4 fix: dropdown header use h6 2025-05-27 18:26:46 +08:00
LinkinStars 5fc25ab8f6 Merge remote-tracking branch 'origin/dev' into test 2025-05-26 10:54:07 +08:00
Giorgio Bonvicini 6381a2192e fix: update the visit cookie if it does not match the visit token
Previous behavior was to keep any existing visit cookies, which caused problems like #1334
2025-05-26 10:42:54 +08:00
LinkinStars b691e143a2 Merge remote-tracking branch 'origin/dev' into test
# Conflicts:
#	internal/migrations/init_data.go
2025-05-23 15:11:03 +08:00
Luffy afdf6ce778 fix: Unified display name and username length checks 2025-05-23 15:09:34 +08:00
DanielAuerX def0559a55 Fix file record and delete files (branding and avatar) (#1335)
- [x] create file_record table
- [x] avatar and branding files are added to file_record
- [x] branding files are being deleted
- [x] avatar files are being deleted
- [x] reload latest avatar (frontend) after backend state is being
updated

problems addressed in the pr:
- clean up job fails, because it cannot access file_record table
- avatar and branding files are not added to the file_record table
- avatar and branding files are never deleted
- after an avatar is being updated/deleted, the old file is still being
requested due to browser caching. This is causing error logs ("no such
file or directory") in the backend.

cf. conversation in [pr
1326](https://github.com/apache/answer/pull/1326)

---------

Co-authored-by: broccoli <lekker.broccoli@gmail.com>
Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2025-05-23 15:07:14 +08:00
shuai 84cc97dc78 fix: pre tag background color adjustment, remove the background color of the quoted content 2025-05-23 15:05:15 +08:00
shuai 89df65c884 fix: Copy content avoids multiple consecutive newlines 2025-05-20 15:33:46 +08:00
shuai 9331690b0d fix: When copying text and images, can the images only appear at the end of the article 2025-05-20 15:10:40 +08:00
Shaobiao Lin c6189e5020 docs(command): unify style of usage statements
close #1330
2025-05-20 15:10:40 +08:00
Shaobiao Lin 54f7682e1a docs(command): remove redundant comments
The codes are self-documenting enough.
2025-05-20 15:10:40 +08:00
Sonui 1baa3f0fb6 chore(migrations): update migration version 2025-05-20 15:10:40 +08:00
Sonui ed543e8825 fix(plugin): set params.Value in Get method to ensure correct value retrieval 2025-05-20 15:10:40 +08:00
Sonui aa0493e4f0 feat(migrations): Add v26 migration file to support plugin KV storage 2025-05-20 15:10:40 +08:00
Sonui c7646bd600 docs(plugin): Add comments to KVOperator methods to improve code readability 2025-05-20 15:10:40 +08:00
Sonui 9ea153b402 refactor(plugin): improve KV storage with better caching and param handling 2025-05-20 15:10:40 +08:00
Sonui d90810afd7 fix(plugin): rename 'close' to avoid builtin collision 2025-05-20 15:10:40 +08:00
Sonui d12ac86d66 perf(plugin): remove unnecessary KV storage checks 2025-05-20 15:10:40 +08:00
Sonui 8579bde607 refactor(plugin): improved initialization of the KV storage plugin 2025-05-20 15:10:40 +08:00
Sonui c7ab8534f1 feat(plugin): add key-value storage support for plugins 2025-05-20 15:10:40 +08:00
shuai cde3ef9689 fix: admin gravatar base URL is empty should use placehoder for default value 2025-05-20 14:33:33 +08:00
shuai 17b88b6a4f fix: reanme css/html page title and fix some zh_cn translations 2025-05-20 11:58:08 +08:00
shuai 95f5de544d fix: customize renamed to apperance and move branding below apprance 2025-05-20 09:40:22 +08:00
shuai 4ae8d8ac8c fix: reset navbar_style default color 2025-05-19 16:46:30 +08:00
shuai 50bed824f6 feat: Supports separate setting of navigation background color 2025-05-19 16:46:30 +08:00
shuai 9368da2c04 fix: code snippet caused the layout to break #1329 2025-05-19 16:46:30 +08:00
Shaobiao Lin 4182d9f506 docs(command): unify style of usage statements
close #1330
2025-05-10 10:59:00 +08:00
Shaobiao Lin 757e89467a docs(command): remove redundant comments
The codes are self-documenting enough.
2025-05-10 10:59:00 +08:00
Sonui aac1532b7e chore(migrations): update migration version 2025-05-09 11:50:27 +08:00
Sonui d866ca71e1 fix(plugin): set params.Value in Get method to ensure correct value retrieval 2025-05-09 11:50:27 +08:00
Sonui 15ef81533f feat(migrations): Add v26 migration file to support plugin KV storage 2025-05-09 11:50:27 +08:00
Sonui beac023875 docs(plugin): Add comments to KVOperator methods to improve code readability 2025-05-09 11:50:27 +08:00
Sonui 56f36ec5e6 refactor(plugin): improve KV storage with better caching and param handling 2025-05-09 11:50:27 +08:00
Sonui 42d6ad6111 fix(plugin): rename 'close' to avoid builtin collision 2025-05-09 11:50:27 +08:00
Sonui 9f8cab5626 perf(plugin): remove unnecessary KV storage checks 2025-05-09 11:50:27 +08:00
Sonui 42cc06886a refactor(plugin): improved initialization of the KV storage plugin 2025-05-09 11:50:27 +08:00
Sonui 20d7e4bc10 feat(plugin): add key-value storage support for plugins 2025-05-09 11:50:27 +08:00
Sunny 3f1ed50f67 New translations en_us.yaml (Chinese Simplified)
Build Latest Docker Image For Release / build (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
Build Binary For Release / build-goreleaser (push) Has been cancelled
v1.5.0 v1.5.0-RC1
2025-04-29 15:41:58 +08:00
Sunny 68bedd1c60 New translations en_us.yaml (Chinese Simplified) 2025-04-29 15:41:58 +08:00
Sunny 335defc9bf New translations en_us.yaml (Malayalam) 2025-04-29 15:41:58 +08:00
Sunny a0c9edd43c New translations en_us.yaml (Welsh) 2025-04-29 15:41:58 +08:00
Sunny 214189883e New translations en_us.yaml (Telugu) 2025-04-29 15:41:58 +08:00