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
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
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
15cbfa870f
fix: Optimize user delete
2024-12-25 15:53:04 +08:00
Luffy
4a74eed4a7
feat: Add permanently delete
2024-12-25 15:53:04 +08:00
sy-records
c97134dd8d
feat: Support admin edit display name
...
feat: Support admin edit display name
2024-07-23 15:44:51 +08:00
LinkinStars
ebed5a5619
Merge remote-tracking branch 'origin/dev' into test
2024-06-12 11:54:47 +08:00
sy-records
2133e0fb4f
feat: Support admin edit profie
2024-06-12 11:44:34 +08:00
LinkinStars
389d8551f2
fix(user): remove user center log
2024-05-27 16:35:02 +08:00
LinkinStars
7d75f2fa97
feat(user): add the API for get staff
2024-04-26 10:26:40 +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
82fdfc7763
Release/1.2.1 ( #678 )
...
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
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 >
2023-12-14 15:07:58 +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
50beae6104
fix(user): Adding quotes to the user keyword to fix compatibility issues under PostgreSQL #424
2023-08-31 16:16:45 +08:00
LinkinStars
22bdc06fe9
feat(user): add users
2023-08-14 12:13:28 +08:00
LinkinStars
b01d965f80
refactor(user): refactor search user by name
2023-07-04 11:20:55 +08:00
LinkinStars
47661dc8a3
refactor(votes): refactor user vote repo
2023-06-30 18:18:22 +08:00
LinkinStars
f4b6208f90
fix(context): add context for data
2023-06-19 18:29:15 +08:00
LinkinStars
879c781e35
refactor(config): remove all config global variables and cache all config related data
2023-05-25 20:13:18 +08:00
LinkinStars
f16207e30f
Merge branch 'feat/1.1.0/report' into feat/1.1.0/context
...
# Conflicts:
# internal/repo/rank/user_rank_repo.go
# internal/repo/tag/tag_rel_repo.go
# internal/service/report_admin/report_backyard.go
2023-05-25 11:25:38 +08:00
LinkinStars
49db3da26d
refactor(context): add all context for data
2023-05-25 11:17:10 +08:00
aichy126
c777fec109
update invite user
2023-05-23 16:04:04 +08:00
aichy126
144caea4f9
update invite user
2023-05-23 14:54:59 +08:00
aichy126
bbf7849fb7
update invite
2023-05-22 18:42:28 +08:00
aichy126
2da05f155c
Merge branch 'beta.2/1.1.0' into feat/1.1.0/sql
2023-05-16 16:08:03 +08:00
aichy126
299b95b2f2
update user question count
2023-05-16 16:02:41 +08:00
LinkinStars
ef47d3da01
feat(user-center): allow to create user in admin page
2023-04-26 11:01:45 +08:00
LinkinStars
86685202ac
feat(usercenter): add user center email auth check
2023-04-18 18:21:50 +08:00
LinkinStars
a3cc0ac38a
feat(usercenter): add user center plugin and agent
2023-04-14 17:33:22 +08:00
LinkinStars
2a121c573b
feat(router): add middleware for user router
2023-04-03 11:17:38 +08:00
LinkinStars
e5df07ad7c
feat(plugin): add user center plugin
2023-03-29 17:12:45 +08:00
LinkinStar
06db2bd091
feat(plugin): The third-party login send binding email
2023-01-09 16:54:20 +08:00
aichy
bcfeef1490
update name modification
2022-12-21 16:55:16 +08:00
LinkinStar
12180e475b
feat(user): add user email duplication check
2022-12-12 14:30:32 +08:00
LinkinStar
42756c0742
feat(user): backend add user and change user password
2022-12-07 10:26:02 +08:00
LinkinStar
c6060d5aae
fix(question): Add the function of reopening the problem
2022-12-02 17:24:46 +08:00
LinkinStar
affd376f57
Merge branch 'dev' into feat/0.6.0/user-role
2022-12-01 18:23:56 +08:00
LinkinStar
6a9408657c
feat(user): add role and role power
2022-12-01 15:54:06 +08:00
LinkinStar
7513a4412e
fix: remove is admin query condition
2022-11-25 15:57:24 +08:00
LinkinStar
fa00ea3828
fix: incorrect question permission setting
2022-11-25 14:55:56 +08:00
aichy126
a390227c17
update reserved tags
2022-11-14 18:06:58 +08:00
linkinstar
436ce151bc
Merge branch 'ai_0.3_dashboard' into 'test'
...
Ai 0.3 dashboard
See merge request opensource/answer!163
2022-11-02 08:50:38 +00:00
aichy126
e84a681ce4
add dashboard info
2022-11-02 16:29:10 +08:00
LinkinStar
720754c8bb
feat: support to config the default language
2022-11-02 15:25:27 +08:00
kumfo
d9bddb8210
feat: admin's id search condition
2022-11-01 16:51:01 +08:00
LinkinStar
cec446047d
Merge branch 'main' into feat/repo-unit-test
...
# Conflicts:
# cmd/answer/wire_gen.go
# go.mod
# go.sum
# internal/controller/user_controller.go
# internal/repo/notification/notification_repo.go
# internal/repo/revision/revision_repo.go
# internal/repo/tag/tag_rel_repo.go
# internal/repo/tag/tag_repo.go
# internal/schema/user_schema.go
2022-11-01 16:17:03 +08:00
LinkinStar
6e5d89d593
Merge branch 'github-main'
...
# Conflicts:
# go.mod
# internal/entity/answer_entity.go
# internal/schema/question_schema.go
# internal/service/user_service.go
2022-11-01 15:37:22 +08:00