maishivamhoo123
ff997cb014
fix: update migration version to v2.0.1 and remove default value for TEXT column
2026-03-02 17:37:43 +08:00
maishivamhoo123
09599e4c20
style: apply gofmt formatting
2026-03-02 17:37:43 +08:00
maishivamhoo123
844c73cd7f
fix: change avatar column type to TEXT to support long URLs
2026-03-02 17:37:43 +08:00
kumfo
fca80abbaf
fix: correct variable name in JSON unmarshal for site general information
2026-02-03 11:07:48 +08:00
LinkinStars
a6bfd402b6
fix: update AI provider configuration ID in default settings
Build Latest Docker Image For Release / build (push) Has been cancelled
Lint / Lint (ubuntu-latest) (push) Has been cancelled
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
2026-01-29 17:02:43 +08:00
LinkinStars
5ec9d8b623
fix: add AI provider configuration to initialization data
2026-01-29 17:02:43 +08:00
LinkinStars
90022ce039
fix: integrate API key authentication into existing services and routes
2026-01-29 16:50:25 +08:00
LinkinStars
a5edc4fc01
feat: add advanced site settings and related API endpoints
2026-01-28 11:15:40 +08:00
LinkinStars
2a99d234ea
Merge remote-tracking branch 'origin/feat/1.8.0/new-cp-fe' into test
...
# Conflicts:
# docs/docs.go
# docs/swagger.json
# docs/swagger.yaml
# internal/base/constant/site_type.go
# internal/controller/ai_controller.go
# internal/controller/siteinfo_controller.go
# internal/migrations/migrations.go
# internal/schema/siteinfo_schema.go
# internal/service/mock/siteinfo_repo_mock.go
2026-01-28 11:13:44 +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
LinkinStars
c1549d2909
feat: add AI configuration support with related controllers and services
2026-01-23 17:09:05 +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
d5c07f18ad
Merge remote-tracking branch 'origin/dev' into test
2025-12-29 14:45:52 +08:00
Yusuke Tanaka
a1f0b0963b
fix: update migration version from v1.7.1 to v1.7.2
2025-12-29 10:28:27 +08:00
Yusuke Tanaka
57f31ec7eb
fix: expand avatar column length from 1024 to 2048
...
The avatar column was too short to store long URLs from external OAuth
providers. When users log in via connector-google plugin, the Google
profile picture URL can exceed 1024 characters, causing a database error:
Error 1406 (22001): Data too long for column 'avatar' at row 1
This change expands the avatar column from VARCHAR(1024) to VARCHAR(2048).
Note: While URLs can technically exceed 2048 characters per specification,
2048 is the practical limit supported by most browsers and services.
URLs longer than 2048 characters are extremely rare in real-world usage.
2025-12-29 10:28:27 +08:00
LinkinStars
d3a29e7ad9
feat(theme): add layout options for site theme configuration
2025-12-19 12:23:55 +08:00
Krypt0n123
6660cdf6e2
fix: add missing revision data for default content ( fixes #1436 )
2025-12-08 20:04:53 +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
Dinesht04
f238aa5051
feat(ui,internal): add min_content property in site info
2025-10-22 18:43:54 +08:00
Dinesht04
c78cadb159
add migration for min_tags
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
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
b691e143a2
Merge remote-tracking branch 'origin/dev' into test
...
# Conflicts:
# internal/migrations/init_data.go
2025-05-23 15:11:03 +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
1baa3f0fb6
chore(migrations): update migration version
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
c7ab8534f1
feat(plugin): add key-value storage support for plugins
2025-05-20 15:10:40 +08:00
shuai
4ae8d8ac8c
fix: reset navbar_style default color
2025-05-19 16:46:30 +08:00
Sonui
aac1532b7e
chore(migrations): update migration version
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
20d7e4bc10
feat(plugin): add key-value storage support for plugins
2025-05-09 11:50:27 +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
5586940832
Merge remote-tracking branch 'origin/feat/1.4.5/file' into test
2025-03-11 12:06:32 +08:00
LinkinStars
54269334b6
feat(siteinfo): add external content display configuration
2025-03-11 12:05:31 +08:00
Bzz
39e0f2e115
fix initSiteInfo
2025-02-24 18:00:55 +08:00
LinkinStars
b2eb76893f
feat(migrations): update site info initialization
2025-02-19 16:56:36 +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
Luffy
f22ab85814
fix: Add Disallow /swagger/* in robots.txt by default
2025-01-07 12:45:25 +08:00
LinkinStars
0618947350
refactor(name): rename incubator-answer
2025-01-07 10:39:23 +08:00
Mani Sankar Chintagunti
96efad2c5a
feat: Add "Privacy Policy" and "Terms of Service" link in footer ( #1217 )
...
Co-authored-by: LinkinStars <linkinstar@foxmail.com >
2024-12-31 17:20:45 +08:00