LinkinStars
462931a309
Merge remote-tracking branch 'origin/feat/1.7.2/layout' into test
2025-12-22 15:30:07 +08:00
shuai
b5ae2d0351
fix: admin/themes add layout config
2025-12-19 14:09:38 +08:00
LinkinStars
d3a29e7ad9
feat(theme): add layout options for site theme configuration
2025-12-19 12:23:55 +08:00
liruohrh
740ac61bb2
fix: get right lang
2025-12-08 20:06:18 +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
LinkinStars
5e705a124b
refactor(lint): improve error handling and code consistency across multiple files
2025-12-01 12:27:25 +08:00
LinkinStars
9540ef6005
refactor(goimports): add goimports to golangci-lint configuration #1432
2025-12-01 11:32:12 +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
fc2a1d8afe
fix(answer): update QuestionID handling in answer update process
2025-11-28 17:01:12 +08:00
LinkinStars
9a7eb0f450
fix(service): set default language to "en_US" if invalid language is provided
2025-11-20 17:42:35 +08:00
LinkinStars
eb1b20ab96
chore(ci): Add ASF header
2025-10-28 15:27:11 +08:00
shuai
e1ff07318e
fix: conflict
2025-10-23 18:13:31 +08:00
Dinesht04
9154b9ba5b
feat(ui,internal): add optional question body
2025-10-22 18:43:54 +08:00
shuai
52e1b8bd86
fix: merge dev
2025-10-21 18:13:37 +08:00
Dinesht04
403dec5e39
feat(internal,ui): add minimum tags error and label while editing
2025-10-16 09:46:08 +08:00
Dinesht04
9b65fed9f0
refactor(tags): remove redundant param from GetMinimumTags and apply minimum tag check in ObjectChangeTag
2025-10-16 09:46:08 +08:00
Dinesht04
3ae38a14f0
feat(UI): Add error for minimum_tag count and translation for Min tag form input
2025-10-16 09:46:08 +08:00
Dinesht04
a63fe5b26c
feat(internal,ui): add minimum tags property
2025-10-16 09:46:08 +08:00
shuai
78df776449
fix: Details page editing time value adjustment
2025-09-30 15:34:37 +08:00
Luffy
bec3e355a9
feat: Add user comment moderation
2025-09-23 14:57:07 +08:00
Neko
7a8afbb353
add new question notification trigger user
2025-09-01 11:43:43 +08:00
Neko
81837c9fe0
update new question message tag
...
fix new question message tag to get all question tags
2025-08-28 16:53:53 +08:00
LinkinStars
b78be61ee8
refactor(user): simplify suspended until logic
2025-06-26 16:42:24 +08:00
LinkinStars
3b8b5871a6
feat(user): add user status messages and support localization
2025-06-26 16:10:09 +08:00
LinkinStars
6d02706d4d
feat(user): add user suspension functionality
2025-06-26 14:42:08 +08:00
LinkinStars
550a92684e
feat(migrations): move user config to interface
2025-06-26 11:20:23 +08:00
LinkinStars
ee6e67243d
test(internal): add mock for IsBrandingFileUsed method
2025-06-13 16:02:11 +08:00
LinkinStars
ef8c1ebb88
fix(notification): handle potential nil pointer dereference #1356
2025-06-13 16:01:05 +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
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
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
hgaol
537b721044
feat: refactor tag migration logic to streamline object relations and remove unused code
2025-04-25 18:34:14 +08:00
hgaol
ab04d85d7e
feat: implement migration of followers and tag objects during tag merge
2025-04-25 18:34:14 +08:00
hgaol
9c0844f0ed
feat: implement MergeTag functionality with UI and backend support
2025-04-25 18:34:14 +08:00
hgaol
6abf8222d7
feat: add MergeTag functionality to merge tags and update followers
2025-04-25 18:34:14 +08:00
LinkinStars
32be6c8be1
Merge remote-tracking branch 'origin/feat/1.5.0/user' into test
2025-04-25 10:44:00 +08:00
LinkinStars
b2d5e9ba92
refactor(controller): optimize embed controller and update related components
2025-04-25 10:43:40 +08:00
LinkinStars
4bfcabdeb5
Merge remote-tracking branch 'origin/feat/1.5.0/user' into test
2025-04-18 14:38:37 +08:00
LinkinStars
e8a6c3f1de
fix(notification): check user status before sending notification
2025-04-18 14:38:01 +08:00
LinkinStars
5b9c00c4a7
Merge remote-tracking branch 'origin/feat/1.5.0/user' into test
2025-04-17 11:37:23 +08:00
shuai
105cd37dfe
fix: update seo template for footer template
2025-04-07 11:44:34 +08:00
hgaol
3b07b39d89
remove unused service in question service
2025-03-26 18:44:14 +08:00
hgaol
989b2b3650
feat: support using search plugin to search similar question in ask question page
2025-03-26 18:44:14 +08:00
LinkinStars
b56c1d2650
Merge remote-tracking branch 'origin/dev' into test
2025-03-17 15:51:56 +08:00
Dāvis
4679589655
Use DeShortID on questionID for UpdateQuestionLink() ( #1288 )
...
When using shortIds we need to `DeShort` them.
Fixes #1277
2025-03-17 15:28:43 +08:00
LinkinStars
849ad8dfc5
Merge remote-tracking branch 'origin/dev' into test
2025-03-14 14:17:00 +08:00
unical1988
d24027f359
Support PostgreSQL connection with SSL #1243 ( #1244 )
...
Support PostgreSQL connection with SSL
---------
Co-authored-by: LinkinStars <linkinstar@foxmail.com >
2025-03-14 14:14:06 +08:00
Luffy
4b9fd397db
refactor: simplify operation type assignment logic in question handling
2025-03-07 10:37:59 +08:00