Commit Graph

361 Commits

Author SHA1 Message Date
LinkinStar a4f5f8ecc3 style(simple): Simplify code 2022-12-16 14:46:10 +08:00
LinkinStar fb4d0cc3cd style(object): Remove unneeded initialization 2022-12-16 14:35:01 +08:00
LinkinStar 6a43e56175 style(tag): Incorrect error handling 2022-12-16 14:33:36 +08:00
LinkinStar 7331353b51 style(io): replace deprecated io function 2022-12-16 14:31:38 +08:00
LinkinStar b111f812e4 feat(unit-test): Add site info common service unit test. 2022-12-14 11:41: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 c946b08b23 feat(theme): site info add theme options 2022-12-13 17:44:24 +08:00
LinkinStar e3f8e37647 feat(seo): add get site seo service 2022-12-13 17:11:31 +08:00
LinkinStar 392806b146 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.7.0/user-manage 2022-12-13 14:11:49 +08:00
LinkinStar 033cbc50a5 merge(seo): merge seo 2022-12-13 14:01:45 +08:00
LinkinStar ad985005d8 refactor(ranking): refactoring user ranking function 2022-12-13 10:48:00 +08:00
aichy126 d0bff13d8a sitemap cache 2022-12-12 18:21:03 +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 18ca572a38 feat(user): add user email duplication check 2022-12-12 14:29:24 +08:00
LinkinStar 08478d8213 feat(siteinfo): add custom css html response in siteinfo api 2022-12-10 17:12:31 +08:00
LinkinStar 4fa01db61c feat(seo): If the site is set to privacy mode, prohibit crawling any page 2022-12-10 14:31:08 +08:00
LinkinStar eb1a9f8760 fix(rank): Remove user activated reputation record display 2022-12-09 18:29:50 +08:00
LinkinStar c56aa4d663 fix(rank): check user rank info object id is not zero 2022-12-09 18:18:29 +08:00
aichy126 ff536deff3 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-09 18:06:01 +08:00
aichy126 30f05eda76 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-09 17:52:52 +08:00
aichy126 da7949462e add UpdateQuestionCheckTags 2022-12-09 17:52:11 +08:00
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