49 Commits

Author SHA1 Message Date
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
liruohrh 740ac61bb2 fix: get right lang 2025-12-08 20:06:18 +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
Luffy 0285a47ae3 fix: missing ApiKeyAuth configuration in Swagger 2025-01-09 17:00:28 +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 4a74eed4a7 feat: Add permanently delete 2024-12-25 15:53:04 +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
Sonui 80f139ef9e typo: GetCss swagger annotation content 2024-08-02 11:28:12 +08:00
LinkinStars 5dc79e665c chore(asf): add asf header 2024-06-17 18:57:26 +08:00
sy-records 2133e0fb4f feat: Support admin edit profie 2024-06-12 11:44:34 +08:00
sy-records 0dce384839 fix: Unescape when displaying site name 2024-04-26 10:26:40 +08:00
LinkinStars abe0680641 Release/1.3.0 (#876)
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: Han Gao <dhangao@hotmail.com>
Co-authored-by: wzy <770954908@qq.com>
Co-authored-by: zahash <zahash.z@gmail.com>
Co-authored-by: Hosein Beigi <hbsciw@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: 而立 <cuihengqing@cai-inc.com>
Co-authored-by: foxzero-007 <chq2549603631@gmail.com>
Co-authored-by: easy <58644520+foxzero-007@users.noreply.github.com>
Co-authored-by: robin <robin@rnode.me>
Co-authored-by: Akhil <surapuramakhil@gmail.com>
Co-authored-by: Shaobiao Lin <whalevocal@gmail.com>
2024-03-22 17:25:46 +08:00
LinkinStars 937de43978 Release/1.2.5 (#759)
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: Yang Wong <yang wang>
Co-authored-by: hbsciw <hbsciw@gmail.com>
2024-01-29 17:19:41 +08:00
LinkinStars a458f3409c rename all old answerdev/answer link to apache/incubator-answer (#603)
Co-authored-by: shuai <lishuailing@sifou.com>
2023-11-01 14:48:35 +08:00
tison 3d2187d849 chore: add license headers
Signed-off-by: tison <wander4096@gmail.com>
2023-10-26 11:11:23 +08:00
LinkinStars cd08586264 fix(plugin): remove default plugins 2023-10-17 15:57:42 +08:00
LinkinStars 1d46a54444 feat(plugin): add plugins status api 2023-09-25 15:17:02 +08:00
LinkinStars 1cd4e2740d feat(users): update api docs 2023-08-14 16:42:41 +08:00
LinkinStars 00e40ad5e6 feat(users): add users error message 2023-08-14 15:46:13 +08:00
LinkinStars 22bdc06fe9 feat(user): add users 2023-08-14 12:13:28 +08:00
LinkinStars 10c91f96a3 fix(admin): modify the router url 2023-07-11 15:15:59 +08:00
LinkinStars 3283e09c9a feat(admin): allow admin resend activation email 2023-07-11 12:08:30 +08:00
LinkinStars ef47d3da01 feat(user-center): allow to create user in admin page 2023-04-26 11:01:45 +08:00
LinkinStars 8800b376d5 feat(privilege): add privileges API 2023-04-17 18:04:28 +08:00
LinkinStars a5a3664f90 Merge branch 'feat/1.1.2/permission' into feat/1.1.2/user-center
# Conflicts:
#	internal/base/constant/constant.go
2023-04-16 12:40:16 +08:00
LinkinStars a2ba1144ee feat(plugin): add user center config user role API 2023-04-16 12:39:02 +08:00
LinkinStars a3cc0ac38a feat(usercenter): add user center plugin and agent 2023-04-14 17:33:22 +08:00
LinkinStars 4cfa0cd8fe feat(permission): add privileges API 2023-04-12 10:35:40 +08:00
LinkinStars 1c235dbd9b feat(permission): add privileges 2023-04-11 10:27:18 +08:00
LinkinStars 2a121c573b feat(router): add middleware for user router 2023-04-03 11:17:38 +08:00
LinkinStars 4a8ae2b166 Merge branch 'dev' into feature-plugin 2023-03-07 15:39:07 +08:00
LinkinStars 666471ec24 feat(plugin): add link address for plugin 2023-03-02 11:03:24 +08:00
LinkinStars 4ca2429d19 fix(admin): add restriction about admin modify their status 2023-02-23 11:44:05 +08:00
LinkinStars 5bd8b1895b refactor(plugin): try to refactor plugin translation struct 2023-02-22 16:49:03 +08:00
LinkinStars 593ffad92d Merge branch 'github-main' into feature-plugin
# Conflicts:
#	go.mod
#	go.sum
#	ui/src/hooks/index.ts
#	ui/src/router/index.tsx
2023-02-21 17:37:36 +08:00
LinkinStars b229d12bb4 feat(plugin): plugin internationalization 2023-02-21 17:28:05 +08:00
aichy126 edc06942d5 add input sanitizer 2023-02-15 15:51:12 +08:00
LinkinStar 44480d8986 feat(plugin): add build plugin commend 2023-02-01 16:50:18 +08:00
LinkinStar 1802e6fa2e refactor(plugin): Directory movement 2023-01-28 10:07:13 +08:00
LinkinStar 8d0bd2be20 feat(plugin): Add plugin config repo 2023-01-18 10:39:55 +08:00
LinkinStar 29aa3f7ef2 feat(plugin): add connector API 2023-01-16 16:27:23 +08:00
LinkinStar 3199693d44 feat(plugin): add update plugin status API 2023-01-11 10:02:45 +08:00
LinkinStar 7331b49623 feat(plugin): update plugin interface 2023-01-10 16:43:42 +08:00
aichy bcfeef1490 update name modification 2022-12-21 16:55:16 +08:00