Commit Graph

47 Commits

Author SHA1 Message Date
LinkinStar 5c2723e617 fix(i18n): If the translation content is not found, use the default language for translation 2023-01-06 18:00:51 +08:00
LinkinStar 913a78a1af fix(user): Check whether the username meets the requirements when the user update it. 2022-12-30 11:23:10 +08:00
LinkinStar 0628e52da0 fix(user): Prompt the form when the username is invalid 2022-12-29 14:49:40 +08:00
LinkinStar 81f914d72f feat(notification): Email notice when a user answers or comment 2022-12-27 17:42:23 +08:00
aichy bcfeef1490 update name modification 2022-12-21 16:55:16 +08:00
LinkinStar 67873a4bc0 fix(user): Assign the correct login time at registration time 2022-12-17 13:44:43 +08:00
LinkinStar 3c7bcf006f fix(ranking): When the ranking user's reputation or vote is less than 0, this user will not be displayed 2022-12-14 10:14:15 +08:00
LinkinStar ad985005d8 refactor(ranking): refactoring user ranking function 2022-12-13 10:48:00 +08:00
LinkinStar 14b72a1b33 chore(swagger): Regenerate the swagger document 2022-12-12 16:54:04 +08:00
LinkinStar 79158f54bd feat(user): add user ranking api 2022-12-12 16:39:48 +08:00
LinkinStar 08478d8213 feat(siteinfo): add custom css html response in siteinfo api 2022-12-10 17:12:31 +08:00
LinkinStar 42756c0742 feat(user): backend add user and change user password 2022-12-07 10:26:02 +08:00
LinkinStar d95bd6aa79 Merge branch 'feat/0.6.0/user-role' into test
# Conflicts:
#	i18n/zh_CN.yaml
#	internal/controller/answer_controller.go
#	internal/migrations/v3.go
#	internal/schema/activity.go
2022-12-06 16:50:55 +08:00
LinkinStar 2b0634e2e6 feat(rank): Modify all permission restriction controls 2022-12-02 15:08:18 +08:00
LinkinStar 2f4b57e57f fix: prompt form error when user enters email repeatedly 2022-11-28 16:40:24 +08:00
LinkinStar 5c9e8333d3 Merge branch 'ai/0.4.0/tag' into test
# Conflicts:
#	internal/base/reason/reason.go
2022-11-17 19:02:11 +08:00
LinkinStar 8084870096 feat: change the original single form error return to multiple form error return 2022-11-17 18:59:09 +08:00
linkinstar e47c5a7e26 Merge branch 'fix/0.4.0/user-status' into 'test'
Fix/0.4.0/user status

See merge request opensource/answer!247
2022-11-17 04:16:59 +00:00
LinkinStar e8ab1c4202 fix: user verified email will update email status. so user status cache should be updated. 2022-11-17 12:10:20 +08:00
aichy126 baf0fce1c1 update reserved tags 2022-11-14 18:07:28 +08:00
LinkinStar 55060c1a10 feat: user change email if email exist return form error 2022-11-09 14:59:07 +08:00
LinkinStar 9509a9a964 feat: change site url from config file to database 2022-11-09 11:00:34 +08:00
LinkinStar 38c8f80849 feat: remove user status api 2022-11-09 10:24:27 +08:00
LinkinStar d16ecc9962 update: use default language option in value 2022-11-03 16:12:23 +08:00
LinkinStar 97fa333ea0 feat: user info response handling the default language 2022-11-03 15:09:12 +08:00
LinkinStar 720754c8bb feat: support to config the default language 2022-11-02 15:25:27 +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 8232e1ec2d style: formatting naming 2022-11-01 15:38:06 +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
Tai Groot 59e2e1f304
Running gofumpt against repo (#49)
* starting on gofumpt

* continuing on gofumpt

* continuing on gofumpt

* finish gofumpt review

* added changes requested by LinkinStars' review

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2022-11-01 15:25:44 +08:00
aichy126 220eefc2e7 update user change email 2022-10-31 16:53:59 +08:00
aichy126 302150aa6e update user change email 2022-10-31 16:50:38 +08:00
LinkinStar 95cb136e3f feat: add user repo unit test 2022-10-28 19:28:08 +08:00
linkinstar bf1a165554 Merge branch 'feat/change-email' into 'main'
Feat/change email

See merge request opensource/answer!127
2022-10-28 08:26:53 +00:00
aichy126 9f2799996a ChangeEmail add email status 2022-10-28 16:21:09 +08:00
aichy126 f8f35a39b1 ChangeEmail add email status 2022-10-28 16:07:14 +08:00
aichy126 5ecac4dda3 update userinfo show user set avatar 2022-10-28 15:43:37 +08:00
aichy126 9b6a35d88b update set user avatar 2022-10-28 15:21:23 +08:00
aichy126 90deaf027b user avatar save 2022-10-28 14:53:44 +08:00
aichy126 67223ddf77 fix sand email use web site name 2022-10-25 11:34:12 +08:00
LinkinStar adc760e874 refactor: rename go mod package to answerdev 2022-10-24 16:51:05 +08:00
aichy126 d70411c6a7 fix send email use web site name 2022-10-24 12:04:12 +08:00
LinkinStar 2672230e31 fix: status updates are performed when the user status is inconsistent 2022-10-20 18:21:38 +08:00
LinkinStar c39e115cde feat: support update username 2022-10-14 17:01:06 +08:00
LinkinStar b416f17526 feat: adjusting the field length 2022-09-29 16:39:34 +08:00
LinkinStar 5c9f0f7f7c feat: add user status api 2022-09-28 14:22:55 +08:00
mingcheng 8e6c49a531 initial commit 2022-09-27 17:59:05 +08:00