Commit Graph

19 Commits

Author SHA1 Message Date
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
LinkinStar 95cb136e3f feat: add user repo unit test 2022-10-28 19:28:08 +08:00
LinkinStar 9c1df37e82 feat: user info api allow no login user use and return empty data 2022-10-28 17:13:49 +08:00
linkinstar a613315f4f Merge branch 'ai_user_avatar' into 'main'
update userinfo  show user set avatar

See merge request opensource/answer!125
2022-10-28 07:53:27 +00:00
aichy126 8fb4474052 update swagger 2022-10-28 15:46:05 +08:00
aichy126 d41fd7a467 add Captcha 2022-10-28 15:07:19 +08:00
LinkinStar b162fcbee0 feat: user can change email when email hasn't been verified. 2022-10-28 14:42:27 +08:00
aichy126 7f66bb3262 fix user api ErrorResponse 2022-10-28 14:14:20 +08:00
aichy126 3f48de2fe9 add avatar middleware 2022-10-27 18:09:27 +08:00
LinkinStar adc760e874 refactor: rename go mod package to answerdev 2022-10-24 16:51:05 +08:00
aichy126 a00fb70ff2 add user error return in i18n 2022-10-24 11:21:37 +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