Commit Graph

35 Commits

Author SHA1 Message Date
aichy d3b77e76d6 fix swagger 2022-12-07 16:51:08 +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 a6630670be fix(rank): Incorrect permission verification
user can update answer that put by himself.
admin can vote up anyway.
2022-12-06 14:45:37 +08:00
LinkinStar 2b0634e2e6 feat(rank): Modify all permission restriction controls 2022-12-02 15:08:18 +08:00
LinkinStar 74015c13eb Merge branch 'feat/0.5.0/timeline' into feat/0.6.0/user-role
# Conflicts:
#	internal/controller/tag_controller.go
#	internal/schema/activity.go
#	internal/service/activity/activity.go
2022-12-02 11:27:16 +08:00
aichy126 0faea88118 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 18:36:39 +08:00
aichy126 a27b0013d5 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-12-01 18:36:26 +08:00
aichy126 d4b1a5b4e5 fix question last edit userid 2022-12-01 18:36:20 +08:00
LinkinStar 9a8bb76e20 feat(question): Tell the user whether to enter the audit state when modifying the question 2022-12-01 18:15:39 +08:00
aichy126 029a43ccef Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 17:39:47 +08:00
LinkinStar 635a8ec942 fix(answer): tag and answer add wait for review response 2022-12-01 17:33:30 +08:00
LinkinStar 8fa1b0c0d5 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 15:01:04 +08:00
LinkinStar d30cae05c7 fix: incorrect answer permission setting 2022-11-25 14:59:52 +08:00
aichy126 f6e881c64f Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 12:08:33 +08:00
LinkinStar ee7428cba5 feat: add question answer tag comment permission Control 2022-11-25 12:07:56 +08:00
aichy126 2c32be50b2 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 18:07:38 +08:00
LinkinStar bb5594722f feat: check user operation need review 2022-11-24 18:00:30 +08:00
aichy126 a7f9d999cc Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 16:13:10 +08:00
LinkinStar 59a8b0f3bb feat: check rank permission 2022-11-24 16:11:43 +08:00
LinkinStar afa66cb9f6 refactor: extract is admin flag from context 2022-11-24 15:24:04 +08:00
aichy126 9b221b3c1a Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 11:50:45 +08:00
aichy126 fea5ff5fde fix answer list 2022-11-24 11:50:11 +08:00
LinkinStar 63f624c2be Merge remote-tracking branch 'origin/feat/0.5.0/timeline' into test 2022-11-24 09:29:14 +08:00
LinkinStar 60d6e18cd4 fix: add user id when admin update answer status 2022-11-23 17:58:03 +08:00
LinkinStar 60f4264e58 feat: answer and tag delete add activity 2022-11-23 17:02:44 +08:00
aichy126 6ec9dbec87 update permission 2022-11-22 17:35:41 +08:00
aichy126 2676822331 fix question answer delete 2022-11-22 16:54:28 +08:00
linkinstar 2b1ad94791 Merge branch 'release/0.3.0' into 'main'
Release/0.3.0

See merge request opensource/answer!227
2022-11-11 06:24:10 +00:00
aichy126 e0c53bea11 update delete answer and question 2022-11-04 17:10:20 +08:00
aichy126 e84a681ce4 add dashboard info 2022-11-02 16:29:10 +08:00
aichy126 872689b93a add dashboard service 2022-11-02 15:50:32 +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 adc760e874 refactor: rename go mod package to answerdev 2022-10-24 16:51:05 +08:00
LinkinStar 0616351f7e fix: answer wrong route 2022-09-28 11:20:32 +08:00
mingcheng 8e6c49a531 initial commit 2022-09-27 17:59:05 +08:00