Commit Graph

424 Commits

Author SHA1 Message Date
LinkinStars 2a121c573b feat(router): add middleware for user router 2023-04-03 11:17:38 +08:00
LinkinStars e5df07ad7c feat(plugin): add user center plugin 2023-03-29 17:12:45 +08:00
aichy126 45f2f06698 update vote 2023-03-24 15:51:32 +08:00
aichy126 82307f9c6b update revision 2023-03-24 12:21:09 +08:00
aichy126 9d3b391820 update question 2023-03-24 11:53:18 +08:00
aichy126 89738b8898 add Revision 2023-03-24 11:49:23 +08:00
aichy126 9e8debc351 update short id 2023-03-21 16:22:58 +08:00
LinkinStars 9bd9b475f4 Merge branch 'feat/ui-1.1.0' into feature-plugin
# Conflicts:
#	internal/base/reason/reason.go
#	internal/schema/user_schema.go
#	internal/service/user_service.go
2023-03-21 11:45:50 +08:00
LinkinStars 9950ed5a40 feat(plugin): add label ui option for switch config type 2023-03-17 17:43:35 +08:00
aichy126 1cd1946532 Merge branch 'feat/1.0.7/tag' into feat/1.0.7/short-id 2023-03-17 17:16:04 +08:00
aichy126 72636ab507 update vote 2023-03-17 17:03:42 +08:00
aichy126 c4780fa3e5 update short id 2023-03-17 10:54:47 +08:00
LinkinStars 1ec3f2b704 feat(plugin): add dispatcher for connector login plugin 2023-03-16 15:39:04 +08:00
aichy126 a2bc103d4f update question 2023-03-16 15:22:47 +08:00
aichy126 7ce4e40e98 update vote 2023-03-16 14:33:17 +08:00
aichy126 cf2fc12e38 update answer 2023-03-15 17:34:16 +08:00
aichy126 d7511a6697 update short id 2023-03-14 11:23:26 +08:00
aichy126 58b5087ec5 update short id 2023-03-13 16:24:46 +08:00
LinkinStars b44824cf78 feat(plugin): If user has only one external login and never set password, he can't unbind it 2023-03-10 10:42:45 +08:00
aichy126 3fe2ffa0f3 update short id 2023-03-09 14:39:32 +08:00
aichy126 2cf061ea68 Merge branch 'main' into feat/1.0.7/short-id 2023-03-09 11:37:48 +08:00
aichy126 b00cfbf775 update answer 2023-03-08 17:17:31 +08:00
LinkinStars 4a8ae2b166 Merge branch 'dev' into feature-plugin 2023-03-07 15:39:07 +08:00
LinkinStars 118f92b751 docs(swagger): Regenerate swagger doc 2023-03-07 10:18:58 +08:00
aichy126 c7d616c991 update short id 2023-03-03 18:41:26 +08:00
aichy126 9dc9c0db8b update comment 2023-03-03 17:54:59 +08:00
LinkinStars 4759e8778f feat(tag): Add revision when add tag 2023-03-03 16:59:34 +08:00
aichy126 b5414f9f0e update short id 2023-03-03 16:01:56 +08:00
LinkinStars a90495c9f1 feat(tag): Add tag response the tag slug name 2023-03-03 14:40:30 +08:00
LinkinStars ee3fb56d54 feat(tag): Add create tag API 2023-03-02 17:00:16 +08:00
LinkinStars 2ebf057d53 feat(plugin): add display name and username for connector 2023-03-02 12:13:58 +08:00
LinkinStars 4c38c73017 feat(plugin): Third-party login to synchronize user avatars 2023-03-02 10:24:32 +08:00
LinkinStars 217bfd6389 Merge remote-tracking branch 'github/fix/1.0.6/admin-permission' into test 2023-03-01 11:48:42 +08:00
LinkinStars cd742b7560 fix(user): Remove admin cache when user logout. 2023-03-01 11:47:31 +08:00
LinkinStars 1065946c43 fix(plugin): If user login with external account and email is exist, active user directly. 2023-03-01 10:48:11 +08:00
LinkinStars d9f75de803 Merge remote-tracking branch 'github/feat/1.0.6/object-not-found' into test 2023-02-27 11:08:52 +08:00
LinkinStars 7ec0272a72 feat(object): return 404 page when user, tag and question not found. 2023-02-27 11:08:21 +08:00
aichy126 1a836d8001 Merge branch 'feat/1.0.6/fixbug' into test 2023-02-24 17:11:48 +08:00
aichy126 f80af9ffbe update header x-frame-options 2023-02-24 17:10:43 +08:00
aichy126 b901f5e3a8 update comment 2023-02-24 17:04:22 +08:00
LinkinStars 1de3ec27e5 fix(user): User reset password should not tell the user if the email exists. 2023-02-23 11:55:40 +08:00
LinkinStars 5bd8b1895b refactor(plugin): try to refactor plugin translation struct 2023-02-22 16:49:03 +08:00
LinkinStars 593ffad92d Merge branch 'github-main' into feature-plugin
# Conflicts:
#	go.mod
#	go.sum
#	ui/src/hooks/index.ts
#	ui/src/router/index.tsx
2023-02-21 17:37:36 +08:00
LinkinStars b229d12bb4 feat(plugin): plugin internationalization 2023-02-21 17:28:05 +08:00
LinkinStars e9d5667708 feat(version): move AnswerVersion to site-info API 2023-02-15 17:22:44 +08:00
aichy126 6abb196e00 update question answer delete status 2023-02-15 15:01:58 +08:00
aichy126 a2b036cc16 add tags search 2023-02-15 12:21:59 +08:00
LinkinStar 6a8d5e5984 Merge branch 'feat/1.0.4/comment' into feat/plugin/connector/github
# Conflicts:
#	internal/migrations/migrations.go
#	internal/migrations/v6.go
#	internal/service/user_common/user.go
#	internal/service/user_service.go
#	pkg/checker/reserved_username.go
#	ui/build/index.html
2023-02-01 17:02:00 +08:00
aichy126 c1fa2b13f6 fix RetrievePassWord code 2023-01-31 10:04:52 +08:00
aichy126 782eb7a452 update html canonical 2023-01-30 16:45:40 +08:00
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