Commit Graph

439 Commits

Author SHA1 Message Date
LinkinStar 2308bc9d05 fix(permission): check object owner permission 2022-12-09 17:41:23 +08:00
LinkinStar 87bb3c72b0 feat(theme): add theme and custom css html interface 2022-12-09 14:20:50 +08:00
LinkinStar c09d861b5d feat(seo): seo update 2022-12-09 10:35:49 +08:00
LinkinStar 22aa8e4271 fix(vote): check vote permission wrong 2022-12-08 12:00:25 +08:00
aichy126 e914edd5a0 fix CheckChangeReservedTag 2022-12-08 11:44:41 +08:00
LinkinStar c4e60235e8 fix(tag): add user can use reserved tag permissionˆ 2022-12-08 11:14:56 +08:00
LinkinStar b9ed2e5050 fix(tag): can not set synonym as tag itself 2022-12-08 10:43:45 +08:00
aichy126 d8682e7264 add question and tags Description 2022-12-07 17:05:19 +08:00
aichy126 962b4b098c fix search question tags 2022-12-07 15:50:46 +08:00
LinkinStar 1fe69bcb65 feat(login): add private mode and allowed user sign up config 2022-12-07 15:23:22 +08:00
LinkinStar 42756c0742 feat(user): backend add user and change user password 2022-12-07 10:26:02 +08:00
LinkinStar d138c372a5 fix(rename): rename function and request 2022-12-06 17:01:42 +08:00
LinkinStar f3e42f72ac Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
#	internal/controller/controller.go
2022-12-06 16:56:30 +08:00
LinkinStar bb8686d7cd Merge remote-tracking branch 'origin/feat/0.6.0/tag' into test 2022-12-06 16:55:20 +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
aichy126 de429a4521 add revision userid 2022-12-06 14:32:44 +08:00
LinkinStar 5088c3a9ef feat(role): log out user when user was changed role 2022-12-05 17:34:53 +08:00
aichy126 a39d794db2 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-05 17:22:18 +08:00
aichy126 757f073458 fix answer PostUpdateTime 2022-12-05 17:22:00 +08:00
aichy126 6e000bb5f1 update seo config 2022-12-05 17:18:56 +08:00
aichy126 0a995670b3 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-05 13:19:12 +08:00
aichy126 8f53748ccf fix answer update time 2022-12-05 13:18:34 +08:00
aichy126 639e18e441 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-05 12:36:48 +08:00
aichy126 d65f976009 fix answer update time 2022-12-05 12:36:32 +08:00
aichy126 a54c69dbee Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 18:55:25 +08:00
aichy126 c99683f79e fix qustion update time 2022-12-02 18:54:05 +08:00
aichy126 a69b8f7dfd Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 18:04:19 +08:00
aichy126 def1373125 fix question update time 2022-12-02 18:03:39 +08:00
LinkinStar c6060d5aae fix(question): Add the function of reopening the problem 2022-12-02 17:24:46 +08:00
LinkinStar 7eb6f9a295 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 15:14:52 +08:00
LinkinStar e5cb06b8aa fix(revision): Return toast alert when there is a version under review 2022-12-02 15:14:27 +08:00
LinkinStar 2b0634e2e6 feat(rank): Modify all permission restriction controls 2022-12-02 15:08:18 +08:00
aichy126 ff6cad6a9d Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 13:13:16 +08:00
aichy126 d7bf6ae3e4 fix add question answer 2022-12-02 13:13:04 +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
LinkinStar 210c5c6a8e feat(role): add role permission 2022-12-02 11:21:24 +08:00
aichy126 5a540bd3eb Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 18:50:55 +08:00
aichy126 46d80f3956 fix update answer edit time 2022-12-01 18:50:45 +08:00
aichy126 0faea88118 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 18:36:39 +08:00
aichy126 d4b1a5b4e5 fix question last edit userid 2022-12-01 18:36:20 +08:00
LinkinStar affd376f57 Merge branch 'dev' into feat/0.6.0/user-role 2022-12-01 18:23:56 +08:00
aichy126 029a43ccef Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 17:39:47 +08:00
aichy126 7b6901e642 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 17:39:34 +08:00
aichy126 de5b2966bf fix question userid 2022-12-01 17:38:37 +08:00
LinkinStar 635a8ec942 fix(answer): tag and answer add wait for review response 2022-12-01 17:33:30 +08:00
LinkinStar 6a9408657c feat(user): add role and role power 2022-12-01 15:54:06 +08:00
aichy126 5ab1a7641d Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 15:26:34 +08:00
aichy126 b093358e0c update question edit userid 2022-12-01 15:26:20 +08:00
aichy126 e6a42e62ea Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 14:40:19 +08:00
LinkinStar bfd9530b1f fix(synonym): Add tag synonym list member actions 2022-12-01 14:40:18 +08:00
aichy126 28a4289930 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 14:37:24 +08:00
aichy126 6ccf0c07c6 fix answer update time 2022-12-01 14:37:17 +08:00
LinkinStar 5994ddd338 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-30 19:21:12 +08:00
LinkinStar 505fa7e6d3 fix(tr): Fix translation errors 2022-11-30 19:19:01 +08:00
LinkinStar 457c1cd798 fix(rank): Incorrect version reputation check rule 2022-11-30 19:11:28 +08:00
aichy126 c090d535bb Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 15:50:16 +08:00
aichy126 c5eecd33c3 fix question recommend tag 2022-11-29 15:50:07 +08:00
aichy126 cf79427734 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 15:01:27 +08:00
aichy126 59d4349a39 fix question update time 2022-11-29 15:01:17 +08:00
aichy126 5248d9e7c3 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 14:57:14 +08:00
aichy126 44d70a8fda Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-29 14:56:41 +08:00
aichy126 22e683a0b8 fix 2022-11-29 14:56:22 +08:00
LinkinStar 79e7f9b599 feat: return the specified comment 2022-11-29 10:42:04 +08:00
LinkinStar b446a7c58d Merge branch 'feat/0.5.0/comment' into test
# Conflicts:
#	internal/service/comment/comment_service.go
2022-11-29 10:27:00 +08:00
LinkinStar f693077ae5 feat: When the user requests the specified comment, if it does not exist in the comment list then query and return it. 2022-11-29 10:25:28 +08:00
LinkinStar 916dbf52cb feat: activity object info return display name 2022-11-29 10:03:37 +08:00
LinkinStar c455f3f02b feat: activity object info return display name 2022-11-29 10:00:23 +08:00
aichy126 61b148ebd1 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-28 18:19:53 +08:00
aichy126 80d0a8fbd3 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-28 18:19:26 +08:00
aichy126 712f918f9c fix question update time and tag check 2022-11-28 18:19:22 +08:00
LinkinStar ef250eacef feat: activity object info return username 2022-11-28 17:18:41 +08:00
LinkinStar 224b569013 feat: activity object info return username 2022-11-28 17:09:52 +08:00
linkinstar 85bd1f554c Merge branch 'fix/0.5.0/email-duplicate' into 'test'
fix: prompt form error when user enters email repeatedly

See merge request opensource/answer!280
2022-11-28 08:50:03 +00:00
LinkinStar 2f4b57e57f fix: prompt form error when user enters email repeatedly 2022-11-28 16:40:24 +08:00
LinkinStar f1e48196db Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 18:38:30 +08:00
LinkinStar 820d87e318 feat: Added a vote reputation limit 2022-11-25 18:35:35 +08:00
aichy126 d40b6194fe Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 17:17:13 +08:00
aichy126 01537f630e Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-25 17:15:07 +08:00
aichy126 4a993e3847 add notification 2022-11-25 17:15:02 +08:00
LinkinStar dd5671d5f9 fix: Initializes the comment permission list 2022-11-25 17:08:55 +08:00
aichy126 0b28e4eae5 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 16:50:21 +08:00
LinkinStar ceb0ee48c6 fix: tag query condition is incorrect 2022-11-25 16:49:53 +08:00
aichy126 682223ba61 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 16:43:29 +08:00
LinkinStar 594f57112e fix: question permission set is structˆ 2022-11-25 16:43:00 +08:00
LinkinStar c748560b18 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 15:35:32 +08:00
LinkinStar b09e693d8b feat: tag add user id 2022-11-25 15:34:36 +08:00
aichy126 911d93d822 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 15:31:29 +08:00
aichy126 d5b2ab1557 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-25 15:30:46 +08:00
aichy126 60a5c4015f swagger 2022-11-25 15:30:29 +08:00
LinkinStar 8fa1b0c0d5 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 15:01:04 +08:00
LinkinStar fa00ea3828 fix: incorrect question permission setting 2022-11-25 14:55:56 +08:00
LinkinStar 205bbec2fd Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 12:23:49 +08:00
LinkinStar 645df9d20f feat: No operation is allowed when the reputation requirement is less than 0 2022-11-25 12:22:53 +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 436829c2d1 update tag show 2022-11-25 11:40:54 +08:00
aichy126 d90f95157a Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 11:25:13 +08:00
aichy126 f6911df6d9 update GetUnreviewedRevisionList add userinfo 2022-11-25 11:22:29 +08:00
aichy126 e445415ab9 update review permission 2022-11-25 11:13:58 +08:00
aichy126 2efc78cf30 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-25 10:47:14 +08:00
aichy126 3d532533cc 版本审核 2022-11-25 10:46:39 +08:00
LinkinStar 6ea8013df3 feat: handles audit permissions for different types of objects 2022-11-25 10:45:30 +08:00
aichy126 2c32be50b2 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 18:07:38 +08:00
aichy126 c08a9c852e fix NoNeedReview 2022-11-24 18:05:56 +08:00
LinkinStar bb5594722f feat: check user operation need review 2022-11-24 18:00:30 +08:00
aichy126 41352280f1 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 17:58:41 +08:00
aichy126 00a0c160b3 fix revision service 2022-11-24 17:52:21 +08:00
aichy126 a376489b49 update revision service 2022-11-24 17:47:54 +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
aichy126 ff50bc9422 fix is admin 2022-11-24 16:08:59 +08:00
aichy126 1e14c9ab54 update revision tag 2022-11-24 16:00:56 +08:00
aichy126 7506806b67 update tag revision 2022-11-24 15:48:04 +08:00
aichy126 977f9999a9 update tag revision 2022-11-24 15:02:31 +08:00
aichy126 d1f951d066 fix question revision 2022-11-24 14:31:28 +08:00
aichy126 7794dd2b5c update question revision 2022-11-24 14:27:31 +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
aichy126 2f33d000a1 update question AddActivity 2022-11-24 11:29:58 +08:00
LinkinStar 5a16a24859 fix: not enough argument lead to compile error 2022-11-24 11:24:11 +08:00
aichy126 b5b1a10df4 update revision audit 2022-11-24 11:14:15 +08:00
LinkinStar e937597afe Merge branch 'feat/0.5.0/timeline' into test 2022-11-24 11:02:28 +08:00
LinkinStar bc2012a359 fix: timeline main object info that label information exists 2022-11-24 10:56:55 +08:00
LinkinStar 4e8283eac9 fix: timeline accept answer activity type format, parse the close problem correctly 2022-11-24 10:48:30 +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 dbc316c40d refactor: activity timeline extract user info and comment function 2022-11-23 19:30:38 +08:00
aichy126 3cd52758f3 update unreviewed revision 2022-11-23 18:10:34 +08:00
LinkinStar 45bd739f51 fix: timeline revision tag detail title is display name 2022-11-23 17:32:59 +08:00
LinkinStar 60f4264e58 feat: answer and tag delete add activity 2022-11-23 17:02:44 +08:00
aichy126 a923e6f0b4 GetUnreviewedRevisionList 2022-11-23 16:52:27 +08:00
aichy126 6202877bdc GetUnreviewedRevisionList 2022-11-23 16:27:35 +08:00
LinkinStar ff38dc5a0c feat: activity timeline show vote activity 2022-11-23 16:12:48 +08:00
aichy126 a680944168 CheckCanUpdateQuestion 2022-11-23 15:19:17 +08:00
LinkinStar d399b9756f feat: activity timeline revision add tag detail 2022-11-23 14:21:11 +08:00
aichy126 1bf0d6365e update question tags 2022-11-23 12:07:06 +08:00
aichy126 5b005e652f fix admin update question 2022-11-23 11:38:39 +08:00
aichy126 7f7d11f58c Merge branch 'feat/0.5.0/timeline' into feat/0.5.0/timeline_ai 2022-11-23 11:20:15 +08:00
LinkinStar 191ec2a130 fix: remove unused tag search service 2022-11-23 11:19:06 +08:00
aichy126 ba46d08e04 swagger 2022-11-23 11:10:15 +08:00
aichy126 5547b2fe91 Merge branch 'ai_0.3_fix_del' into feat/0.5.0/timeline 2022-11-23 11:10:10 +08:00
LinkinStar 982d034252 feat: add timeline detail api 2022-11-23 11:07:41 +08:00
aichy126 19603b106e Merge branch 'ai/0.4.0/fix/tag' into feat/0.5.0/timeline 2022-11-23 10:58:36 +08:00
LinkinStar cd961eafc2 feat: add timeline api interface 2022-11-22 19:48:27 +08:00
aichy126 e27121f871 fix 2022-11-22 18:15:10 +08:00
aichy126 0df1ab82fa fix question tags update error 2022-11-22 18:10:44 +08:00
aichy126 b7e6d3ee35 fix delete question 2022-11-22 18:03:18 +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
aichy126 f216536e26 update question delete 2022-11-22 16:22:30 +08:00