Commit Graph

708 Commits

Author SHA1 Message Date
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
LinkinStar 2769c007e7 fix(theme): remove unsupported theme 2022-12-09 18:01:19 +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
aichy126 cad102a8b4 fix 2022-12-09 17:32:30 +08:00
aichy126 2e1cd3faa4 fix question url 2022-12-09 17:10:15 +08:00
aichy126 dc9a72effb add questioninfo 301 jump 2022-12-09 16:51:33 +08:00
LinkinStar 87bb3c72b0 feat(theme): add theme and custom css html interface 2022-12-09 14:20:50 +08:00
aichy126 58ade3e55b update json ld Text 2022-12-09 11:42:20 +08:00
aichy126 15e174551a update AcceptedAnswer author 2022-12-09 11:18:04 +08:00
aichy126 e2146ad50b update AcceptedAnswer 2022-12-09 11:15:23 +08:00
aichy126 ff69966e82 add AcceptedAnswerItem 2022-12-09 11:12:25 +08:00
LinkinStar 0954b5ff11 feat(err): add error handler function 2022-12-09 10:55:53 +08:00
aichy126 fad8acbe16 fix urltitle 2022-12-09 10:43:54 +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
aichy126 17cf69f916 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-08 11:15:50 +08:00
aichy126 bad5e855a0 add path 2022-12-08 11:15:45 +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
LinkinStar 0ae6ddaa67 fix(manifest): update manifest.json version 2022-12-08 10:06:01 +08:00
LinkinStar 0fa30bbbaa fix(migrations): add question rank default level 2022-12-07 18:29:16 +08:00
LinkinStar c42b3e1c3a feat(login): add must login middle 2022-12-07 18:15:46 +08:00
aichy126 0e25fa8aa0 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-07 17:08:45 +08:00
aichy126 d8682e7264 add question and tags Description 2022-12-07 17:05:19 +08:00
aichy d3b77e76d6 fix swagger 2022-12-07 16:51:08 +08:00
aichy126 054f7b5c9a fix scriptPath 2022-12-07 15:52:53 +08:00
aichy126 f996bdd365 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-07 15:50:52 +08:00
aichy126 962b4b098c fix search question tags 2022-12-07 15:50:46 +08:00
kumfo 5bf63452f7 fix(template/render): fix template footer / time 2022-12-07 15:45:14 +08:00
kumfo 46bff9e4f9 fix(template/render): fix template footer / time 2022-12-07 15:44:41 +08:00
LinkinStar 1fe69bcb65 feat(login): add private mode and allowed user sign up config 2022-12-07 15:23:22 +08:00
aichy126 0e4514373e Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-07 12:30:47 +08:00
aichy126 676a19500c userinfo show userid 2022-12-07 12:30:42 +08:00
LinkinStar 00dd6e9f0c feat(i18n): Try to return to the original text when translation is not possible 2022-12-07 11:45:41 +08:00
kumfo a3aec66dd1 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.6.0/seo 2022-12-07 11:14:10 +08:00
kumfo 9dc7d9cf44 feat(template/render): common render with 404 page 2022-12-07 11:14:05 +08:00
aichy126 78c0606e52 fix users 2022-12-07 11:11:14 +08:00
LinkinStar 42756c0742 feat(user): backend add user and change user password 2022-12-07 10:26:02 +08:00
aichy126 149751153c fix FuncMap 2022-12-06 17:16:42 +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 995510595b feat: support for manifest.json dynamic rendering 2022-12-06 16:41:29 +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 4c838fccfe fix revision userid to int64 2022-12-06 14:36:37 +08:00
aichy126 de429a4521 add revision userid 2022-12-06 14:32:44 +08:00
kumfo 787948f944 merge(template/i18n): merge 2022-12-06 12:25:16 +08:00
aichy126 3cdd75983f i18n 2022-12-06 12:20:07 +08:00
aichy126 dcd8108fa5 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-06 12:19:57 +08:00
aichy126 e59e95fe11 add page meta 2022-12-06 12:17:45 +08:00
kumfo d8b50b482f style(template/i18n): add todo 2022-12-06 12:17:37 +08:00
kumfo 67d93e196f feat(template/i18n): backend template render synchronous with frontend 2022-12-06 12:16:43 +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
kumfo e78747c172 feat(template/i18n): backend template render synchronous with frontend 2022-12-05 15:25:29 +08:00
kumfo 82f1e72483 feat(template/i18n): backend template render synchronous with frontend 2022-12-05 15:24:52 +08:00
kumfo aee0baba92 feat(template/timeformat): backend time render synchronous with frontend 2022-12-05 14:56:18 +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
LinkinStar 4983482b32 feat(i18n): parse all translation file 2022-12-05 12:06:51 +08:00
kumfo 19f119423f feat: template render time i18n 2022-12-05 11:27:37 +08:00
aichy126 a54c69dbee Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 18:55:25 +08:00
aichy126 37703d6734 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-12-02 18:54:11 +08:00
aichy126 c99683f79e fix qustion update time 2022-12-02 18:54:05 +08:00
LinkinStar 7e13da1813 Merge branch 'feat/0.5.0/timeline_ai' into test
# Conflicts:
#	internal/migrations/v3.go
2022-12-02 18:06:10 +08:00
LinkinStar 552be11de0 feat(db): Add database upgrade sql. 2022-12-02 18:04:30 +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
aichy126 999ee83c8d add permalink 2022-12-02 17:27:30 +08:00
LinkinStar c6060d5aae fix(question): Add the function of reopening the problem 2022-12-02 17:24:46 +08:00
aichy126 8e0607470b update Canonical 2022-12-02 16:42:40 +08:00
aichy126 1960bcfb4b add question seo Json ld 2022-12-02 16:16:49 +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 7af6eaac2d Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-02 15:01:43 +08:00
aichy126 8ccb2ea498 fix unreviewed revision list 2022-12-02 15:01:29 +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
aichy126 332ec7c966 add language 2022-12-02 12:12:27 +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 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 affd376f57 Merge branch 'dev' into feat/0.6.0/user-role 2022-12-01 18:23:56 +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
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