Commit Graph

424 Commits

Author SHA1 Message Date
aichy126 7d6720309a update html canonical pages 2023-01-30 16:17:43 +08:00
aichy126 011c992570 add html meta generator 2023-01-30 15:49:53 +08:00
LinkinStar 92a82e1673 feat(comment): Add comment modification time limit condition 2023-01-28 16:53:12 +08:00
LinkinStar 1802e6fa2e refactor(plugin): Directory movement 2023-01-28 10:07:13 +08:00
LinkinStar 62bfb2b3f6 feat(user): Add a have password flag 2023-01-17 17:27:20 +08:00
LinkinStar 29aa3f7ef2 feat(plugin): add connector API 2023-01-16 16:27:23 +08:00
linkinstar 97bf548fcc Merge branch 'feat/1.0.3/fixbug' into 'test'
Feat/1.0.3/fixbug

See merge request opensource/answer!416
2023-01-11 09:39:04 +00:00
LinkinStar fc0b0bcbcf feat(render): add render API 2023-01-11 17:34:12 +08:00
LinkinStar 7331b49623 feat(plugin): update plugin interface 2023-01-10 16:43:42 +08:00
LinkinStar 8575bbf8c8 feat(plugin): external user login add access token 2023-01-10 14:24:32 +08:00
LinkinStar fe6a53fb62 fix(plugin): connector use site url to redirect 2023-01-10 12:20:14 +08:00
LinkinStar ec01c3e047 feat(plugin): remove external user login authentication route 2023-01-09 18:43:52 +08:00
LinkinStar 06db2bd091 feat(plugin): The third-party login send binding email 2023-01-09 16:54:20 +08:00
LinkinStar 5c2723e617 fix(i18n): If the translation content is not found, use the default language for translation 2023-01-06 18:00:51 +08:00
LinkinStar 1db4f5586b fix(plugin): add external login binding send email interface 2023-01-06 17:22:09 +08:00
LinkinStar 01c02ae2b7 fix(plugin): add user external login repo 2023-01-06 14:48:41 +08:00
LinkinStar 81d786ff66 feat(plugin): add user external login service 2023-01-06 14:34:53 +08:00
LinkinStar 154fa84bbb feat(plugin): github connector 2023-01-03 18:31:32 +08:00
LinkinStar 96e292462e feat(question): Adjust the home page problem list display rules 2022-12-30 17:09:32 +08:00
LinkinStar 8a0cf37955 fix(user): Check whether the username meets the requirements when the user update it. 2022-12-30 10:51:54 +08:00
LinkinStar 0628e52da0 fix(user): Prompt the form when the username is invalid 2022-12-29 14:49:40 +08:00
LinkinStar 81f914d72f feat(notification): Email notice when a user answers or comment 2022-12-27 17:42:23 +08:00
aichy 3bc1110dbb Merge branch 'hot-fix/1.0.0' into test 2022-12-22 11:41:03 +08:00
aichy 8bd329f135 update add question 2022-12-22 11:40:56 +08:00
aichy b8077d37b3 update Adopt to Accept 2022-12-22 11:04:19 +08:00
aichy bcfeef1490 update name modification 2022-12-21 16:55:16 +08:00
aichy126 27870441c7 Merge branch 'feat/0.7.0/seo' into test 2022-12-18 11:27:06 +08:00
aichy126 864c044017 update ask question 2022-12-18 11:26:50 +08:00
aichy126 e05c839085 Merge branch 'feat/0.7.0/seo' into test 2022-12-18 00:15:00 +08:00
aichy126 1c374b842b update user captcha 2022-12-18 00:14:50 +08:00
aichy126 30dc97b180 Merge branch 'feat/0.7.0/seo' into test 2022-12-16 19:39:07 +08:00
aichy126 fc5b65ee0e add icon 2022-12-16 19:38:55 +08:00
LinkinStar c3fc2fda63 Merge branch 'feat/0.7.0/user-manage' into test 2022-12-16 17:19:18 +08:00
LinkinStar c3adc710e9 fix(user): Change logout router position 2022-12-16 17:19:04 +08:00
LinkinStar b8d2d6e279 Merge branch 'feat/0.7.0/user-manage' into test
# Conflicts:
#	internal/service/search_parser/search_parser.go
2022-12-16 16:48:47 +08:00
LinkinStar 6e1f4841f1 style(simple): Properly handle unhandled errors 2022-12-16 16:35:55 +08:00
LinkinStar a4ad6b7fad Merge branch 'feat/0.7.0/seo' into feat/0.7.0/user-manage 2022-12-16 14:46:22 +08:00
LinkinStar a4f5f8ecc3 style(simple): Simplify code 2022-12-16 14:46:10 +08:00
aichy126 85691e9143 update index.html 2022-12-14 17:31:33 +08:00
aichy126 ba18289fcd add usercode 2022-12-14 17:09:33 +08:00
aichy126 8112966356 update question log 2022-12-14 15:02:53 +08:00
aichy126 534d8c4023 update siteinfo 2022-12-14 12:29:08 +08:00
aichy126 9f53593f21 fix add question 2022-12-13 18:10:35 +08:00
aichy126 783bb31cac fix seo page 2022-12-13 17:58:48 +08:00
LinkinStar 7450c4cad7 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.7.0/user-manage
# Conflicts:
#	internal/service/siteinfo_common/siteinfo_service.go
2022-12-13 17:07:32 +08:00
aichy126 98385afe4c update PermaLink 2022-12-13 16:55:23 +08:00
aichy126 99427afa30 update no cache 2022-12-13 16:28:47 +08:00
LinkinStar f288e1f8b7 feat(seo): response not found page when private mode 2022-12-13 14:17:36 +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 456c8207db fix(user): Does not intercept the registered login interface when in private mode 2022-12-13 12:11:29 +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
aichy126 4c17547cce update template 2022-12-12 16:35:46 +08:00
aichy126 b9db22e9f6 xml template 2022-12-12 16:33:08 +08:00
aichy126 6459f6b7cb update sitemap controller 2022-12-12 15:39:12 +08:00
aichy126 0f99388e77 update Sitemap 2022-12-12 15:20:20 +08:00
aichy126 ca443872c7 update title 2022-12-12 14:29:13 +08:00
aichy126 c368f93e12 update title 2022-12-12 14:18:37 +08:00
aichy126 51efdd822f update html title 2022-12-12 14:09:14 +08:00
aichy126 ec739310bb add title 2022-12-12 13:54:27 +08:00
LinkinStar 08478d8213 feat(siteinfo): add custom css html response in siteinfo api 2022-12-10 17:12:31 +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 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
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 0ae6ddaa67 fix(manifest): update manifest.json version 2022-12-08 10:06:01 +08:00
LinkinStar c42b3e1c3a feat(login): add must login middle 2022-12-07 18:15:46 +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
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
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 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 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
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 67d93e196f feat(template/i18n): backend template render synchronous with frontend 2022-12-06 12:16:43 +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 19f119423f feat: template render time i18n 2022-12-05 11:27:37 +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 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
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
kumfo 9ca6445d3a feat: question detail template render 2022-12-01 15:30:02 +08:00
aichy126 5ab1a7641d Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 15:26:34 +08:00
LinkinStar bfd9530b1f fix(synonym): Add tag synonym list member actions 2022-12-01 14:40:18 +08:00
aichy126 21421d0380 add Canonical 2022-12-01 14:20:41 +08:00
LinkinStar 5994ddd338 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-30 19:21:12 +08:00
aichy126 9ff2979899 update tags 2022-11-30 19:14:14 +08:00
LinkinStar 457c1cd798 fix(rank): Incorrect version reputation check rule 2022-11-30 19:11:28 +08:00
aichy126 caf1fb4466 question/page 2022-11-30 19:00:42 +08:00
aichy126 287266d221 fix userinfo 2022-11-30 18:15:21 +08:00
aichy126 d8902a44d1 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-11-30 18:10:44 +08:00
aichy126 c2b1c60c5b add year 2022-11-30 18:10:38 +08:00
kumfo abc9d9ad96 fix: render question list, pagination error 2022-11-30 18:02:58 +08:00
kumfo 1ada26483d Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.6.0/seo 2022-11-30 17:58:39 +08:00
kumfo ae964c537e fix: render question list, pagination error 2022-11-30 17:58:33 +08:00
aichy126 a99a7dd1ce add siteinfo 2022-11-30 17:56:25 +08:00
aichy126 4478df163e Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-11-30 17:48:38 +08:00
aichy126 888024403a update siteinfo 2022-11-30 17:48:35 +08:00
kumfo 9a2e1b6797 feat: render question list 2022-11-30 17:47:40 +08:00
aichy126 972d11b0e5 update homepage 2022-11-30 17:39:19 +08:00
aichy126 cae46c94cf update page 2022-11-30 16:27:23 +08:00
aichy126 a20105321d update page 2022-11-30 16:18:23 +08:00
aichy126 7cad11e725 update paginator 2022-11-30 15:15:39 +08:00
aichy126 c3479b7083 add paginator 2022-11-30 15:11:06 +08:00
aichy126 25908ab3c6 update userinfo 2022-11-30 14:45:23 +08:00
aichy126 fac34f66c9 update userinfo 2022-11-30 14:25:03 +08:00
aichy126 1972872105 add userinfo 2022-11-30 12:13:26 +08:00
aichy126 d99f3f31f1 split template 2022-11-30 11:23:04 +08:00
kumfo 056fea83be feat: template render controller changed 2022-11-29 18:14:26 +08:00
aichy126 b4fcfa7159 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-11-29 18:02:48 +08:00
aichy126 8e240b677e add template 2022-11-29 18:02:42 +08:00
kumfo fadba21723 feat: template render init wire 2022-11-29 17:50:31 +08:00
aichy126 bb52bf50ed add template 2022-11-29 17:26:18 +08:00
aichy126 9839272d95 update template 2022-11-29 17:20:28 +08:00
aichy126 bf41dec058 add template 2022-11-29 15:48:26 +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 fee838665f fix: update comment use incorrect comment id 2022-11-25 17:14:24 +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
aichy126 a77c023fac Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 16:37:32 +08:00
aichy126 ad8dafd7af fix question questionPermission 2022-11-25 16:37:16 +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
LinkinStar fa00ea3828 fix: incorrect question permission setting 2022-11-25 14:55:56 +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 d90f95157a Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 11:25:13 +08:00
LinkinStar 6ea8013df3 feat: handles audit permissions for different types of objects 2022-11-25 10:45:30 +08:00
aichy126 fdb7ceb26e fix 2022-11-24 18:07:41 +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 f99d40d0b7 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 16:16:51 +08:00
aichy126 45bf3e4a45 swagger 2022-11-24 16:16:39 +08:00
aichy126 a7f9d999cc Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 16:13:10 +08:00
aichy126 9fb1d82a5b fix router 2022-11-24 16:12:48 +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
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
aichy126 b5b1a10df4 update revision audit 2022-11-24 11:14:15 +08:00
LinkinStar 63f624c2be Merge remote-tracking branch 'origin/feat/0.5.0/timeline' into test 2022-11-24 09:29:14 +08:00
aichy126 d1f4793394 update GetUnreviewedRevisionList 2022-11-23 18:22:32 +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 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
aichy126 7f7d11f58c Merge branch 'feat/0.5.0/timeline' into feat/0.5.0/timeline_ai 2022-11-23 11:20:15 +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
LinkinStar cd961eafc2 feat: add timeline api interface 2022-11-22 19:48:27 +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
LinkinStar d36f758fba feat: add activity where needed 2022-11-21 19:28:02 +08:00
LinkinStar 89a79a02fa Merge branch 'ai/0.4.0/tag' into test
# Conflicts:
#	cmd/answer/wire_gen.go
#	internal/service/search_service.go
#	internal/service/tag_common/tag_common.go
2022-11-19 17:06:19 +08:00