LinkinStars
e8ded23a4a
fix: strengthen request safeguards
2026-08-14 19:17:10 +08:00
LinkinStars
a00cb2d38c
fix: update goroutine handling and context imports for consistency
2026-07-10 10:19:39 +08:00
LinkinStars
f92a0fe140
Harden Accept-Language parsing
2026-07-10 10:19:39 +08:00
LinkinStars
06a0f742f2
fix external login account binding
2026-07-10 10:19:39 +08:00
hhc7
9234d80246
fix: scope JSON 500 to API routes, skip rewriting already-flushed responses
2026-07-10 10:19:39 +08:00
hhc7
10be96814e
feat: add recovery middleware to handle panic gracefully
2026-07-10 10:19:39 +08:00
LinkinStars
97924574c4
Merge remote-tracking branch 'origin/dev' into test
2026-05-08 19:58:22 +08:00
hgaol
dea18f997c
feat: support semantic search in AI chat and embedding ability
2026-05-08 19:57:19 +08:00
LinkinStars
2dbe594da2
fix(short_id): enhance GetEnableShortID to support gin context for short ID flag retrieval
2026-03-04 12:04:52 +08:00
LinkinStars
6fc25c69f4
fix(auth): add API key scope checks to enhance authorization security
2026-03-03 12:17:20 +08:00
LinkinStars
869b040e92
fix(auth): enhance admin user cache management and add status checks for email verification and suspension
2026-02-06 20:31:54 +08:00
LinkinStars
90022ce039
fix: integrate API key authentication into existing services and routes
2026-01-29 16:50:25 +08:00
LinkinStars
4fd96675f3
fix: improve Brotli compression handling and validate user input in vote status
2026-01-28 12:11:28 +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
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
6b834c745a
Merge remote-tracking branch 'origin/dev' into test
2026-01-14 11:31:17 +08:00
ferhat elmas
5ff6106d37
fix: address comments and add a test
...
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com >
2026-01-14 11:22:53 +08:00
ferhat elmas
26d868b123
refactor(queue): improve queues
...
* fix race condition for registering handler
* add close method
* use generics to reduce duplication
* rename packages to drop underscore for go convention
* rename interface to drop stutter with package name
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com >
2026-01-14 11:22:53 +08:00
LinkinStars
d3a29e7ad9
feat(theme): add layout options for site theme configuration
2025-12-19 12:23:55 +08:00
LinkinStars
e35b955159
fix(lang): enhance language retrieval from gin context
2025-12-15 12:34:42 +08:00
LinkinStars
fbb877ab11
fix(translator): enhance error reporting for invalid translator YAML files
2025-12-11 14:23:17 +08:00
liruohrh
d468e2ba8d
feat: add env for glob load template files by gin debug render
2025-12-11 10:49:32 +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
Sonui
93e183be62
feat: Add resetPassword cli tool
2025-10-28 14:52:53 +08:00
Dinesht04
9154b9ba5b
feat(ui,internal): add optional question body
2025-10-22 18:43:54 +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
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
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
hgaol
840f6bfd2b
feat: add support for multiple timezones and set local timezone in site info
2025-04-11 10:46:23 +08:00
LinkinStars
e470b63f42
feat(server): add API base URL configuration and update routes
2025-02-28 17:07:46 +08:00
LinkinStars
a5d826c6d4
feat(file): add ENV for skip the file access verification
2025-01-13 16:38:19 +08:00
LinkinStars
5cffab8649
feat(service): implement file cleanup and deletion functionality
2025-01-10 10:43:35 +08:00
LinkinStars
47c666200e
Merge remote-tracking branch 'origin/main' into dev
...
# Conflicts:
# internal/base/middleware/accept_language.go
# internal/schema/answer_schema.go
# internal/schema/comment_schema.go
# internal/service/user_admin/user_backyard.go
2025-01-07 12:48:13 +08:00
LinkinStars
0618947350
refactor(name): rename incubator-answer
2025-01-07 10:39:23 +08:00
Luffy
0df7bec0c8
fix: parse user Accept-Language
2024-12-25 16:03:38 +08:00
Luffy
4a74eed4a7
feat: Add permanently delete
2024-12-25 15:53:04 +08:00
Luffy
30534ad0d6
feat: Check HTML comments in question, answer or comments
2024-12-12 10:59:50 +08:00
LinkinStars
9c266c5f33
feat(upload): add support for attachment uploads and improve image handling
2024-12-09 11:52:18 +08:00
LinkinStars
7a8cc6a571
refactor(uploader): improve file upload and download functionality subpath constants
...
- Adjust file download
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
Luffy
916dba3f06
feat(pager): Show 404 when page is out of range ( #1135 )
...
close #1133
2024-10-18 10:12:59 +08:00