Commit Graph

975 Commits

Author SHA1 Message Date
aichy126 011c992570 add html meta generator 2023-01-30 15:49:53 +08:00
aichy126 1ee34b884b update add db session 2023-01-30 15:25:43 +08:00
杨光富 f701bb658f Merge branch 'fix/search' into 'test'
Fix/search

See merge request opensource/answer!424
2023-01-30 02:47:29 +00:00
kumfo 1aacf2802c style(search_repo): sql code style 2023-01-30 10:41:33 +08:00
kumfo 8b861b6fd7 fix(search_repo): question accept status error 2023-01-30 10:40:12 +08:00
LinkinStar 03dbeff9e9 Merge branch 'feat/1.0.4/comment' into test 2023-01-29 16:12:07 +08:00
LinkinStar b361bbb486 fix(question): rename question created_at 2023-01-29 16:11:39 +08:00
LinkinStar 92a82e1673 feat(comment): Add comment modification time limit condition 2023-01-28 16:53:12 +08:00
LinkinStar d355c823c3 fix(user): Add rules to restrict username during installation. fix #181 2023-01-28 10:40:01 +08:00
aichy126 0265c9f554 update sqlite 2023-01-16 16:59:03 +08:00
LinkinStar 020262f662 fix(user): convert user bio markdown 2023-01-16 16:35:12 +08:00
aichy126 7666a89a64 update userinfo html xss 2023-01-16 16:27:25 +08:00
linkinstar 006d89a405 Merge branch 'release/1.0.3' into 'main'
Release/1.0.3

See merge request opensource/answer!421
2023-01-16 02:50:35 +00:00
aichy126 c960686f6b Merge branch 'feat/1.0.3/fixbug' into test 2023-01-13 15:59:00 +08:00
aichy126 a29dd54c80 Merge branch 'feat/1.0.3/fixbug' of git.backyard.segmentfault.com:opensource/answer into feat/1.0.3/fixbug 2023-01-13 15:58:33 +08:00
aichy126 6da8c3c2d8 update GetTagListByName 2023-01-13 15:58:29 +08:00
LinkinStar 072e5bfb21 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-13 13:03:43 +08:00
LinkinStar 382d6258a1 fix(user): The user status is changed in the admin to automatically activate the user. #173 2023-01-13 13:02:25 +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
aichy126 a83b4c3bd3 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-11 11:31:32 +08:00
aichy126 290ab87d13 update userinfo 2023-01-11 11:31:22 +08:00
aichy126 86bf2a54d9 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-11 11:20:08 +08:00
aichy126 8f4a4ca985 update SiteBranding 2023-01-11 11:19:55 +08:00
aichy126 57bc3f6e06 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-10 15:08:44 +08:00
aichy126 59df0aecd6 update SlugName 2023-01-10 15:08:31 +08:00
aichy126 f592b84c04 Merge branch 'feat/1.0.3/fixbug' into test 2023-01-10 14:51:38 +08:00
aichy126 38dd96ff73 update slugname 2023-01-10 14:48:51 +08:00
aichy126 81b0f9f6dd Merge branch 'feat/1.0.3/fixbug' into test 2023-01-09 15:45:50 +08:00
aichy126 7ed8a7d633 update username 2023-01-09 15:45:36 +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
Zapan Gao 29bf82f62e
Fix sql error in mysql8+ 2023-01-04 14:44:21 +08:00
LinkinStar 5a2fea3637 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2023-01-04 10:10:10 +08:00
LinkinStar 640ae6e3b9 fix(question): Incorrect empty query condition in postgres causes query problem bug. Fix #148 2023-01-04 10:09:37 +08:00
LinkinStar 886fae7ab0 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-30 18:14:59 +08:00
LinkinStar 6b9fa98e48 feat(question): If user edit question, update last edit user id 2022-12-30 18:07:23 +08:00
LinkinStar 7268fe2331 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-30 17:09:47 +08:00
LinkinStar 96e292462e feat(question): Adjust the home page problem list display rules 2022-12-30 17:09:32 +08:00
LinkinStar 568aa7ae18 feat(migration): Add upgrade configuration for new message email notification. 2022-12-30 11:23:10 +08:00
LinkinStar 913a78a1af fix(user): Check whether the username meets the requirements when the user update it. 2022-12-30 11:23:10 +08:00
LinkinStar 2d79482efe feat(migration): Add upgrade configuration for new message email notification. 2022-12-30 11:22:41 +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
杨光富 34d600006f Merge branch 'fix/search' into 'test'
Fix/search

See merge request opensource/answer!392
2022-12-29 13:53:16 +00:00
kumfo b97a4610d8 fix(search_repo): #issues/142 the SQL is incompatible in sqlite, change SQL to fix. 2022-12-29 20:52:30 +08:00
LinkinStar 0628e52da0 fix(user): Prompt the form when the username is invalid 2022-12-29 14:49:40 +08:00
LinkinStar 302d1362b0 fix(tags): tags in search result should be sort 2022-12-28 18:08:34 +08:00
LinkinStar 72f512553a refactor(code): replace outdated function 2022-12-28 17:20:55 +08:00
LinkinStar 427753a161 feat(user): user can't use reserved username 2022-12-28 17:12:20 +08:00
LinkinStar 81135192e1 fix(tag): It is not necessary to add a query with reserved tags when searching for tags using the title 2022-12-28 11:04:36 +08:00
LinkinStar 81f914d72f feat(notification): Email notice when a user answers or comment 2022-12-27 17:42:23 +08:00
LinkinStar 27e84f9ea8 feat(install): The first installation automatically switches to the installation url 2022-12-26 15:41:55 +08:00
LinkinStar 48a54e8139 fix(smtp): Check From Name in SMTP is not a Email 2022-12-26 11:49:38 +08:00
aichy e1d9837c18 Merge branch 'hot-fix/1.0.0' into test 2022-12-23 14:11:00 +08:00
aichy ded980b676 update captcha 2022-12-23 14:10:38 +08:00
杨光富 445f543166 Merge branch 'fix/search' into 'test'
fix(search/tag filter): tag search filter exclude the tag_rel is deleted

See merge request opensource/answer!381
2022-12-23 03:49:08 +00:00
kumfo b529bd8b8e fix(search/tag filter): tag search filter exclude the tag_rel is deleted 2022-12-23 11:45:33 +08:00
杨光富 6dd64314d5 Merge branch 'fix/search' into 'test'
fix(search/tag filter): tag search filter exclude the tag_rel is deleted

See merge request opensource/answer!380
2022-12-23 03:26:38 +00:00
kumfo 29b478cf27 fix(search/tag filter): tag search filter exclude the tag_rel is deleted 2022-12-23 11:22:59 +08:00
杨光富 ff79cc9bf5 Merge branch 'fix/seo' into 'test'
fix(seo/render): fixed seo template variable replace: {{v}} || {{ v }}

See merge request opensource/answer!379
2022-12-23 03:10:58 +00:00
kumfo d3bd190aca fix(seo/render): fixed seo template variable replace: {{v}} || {{ v }} 2022-12-23 11:07:24 +08:00
linkinstar 82bbca87a3 Merge branch 'hot-fix/1.0.0' into 'test'
fix(tag): Only if tag info is all same than without edit.

See merge request opensource/answer!378
2022-12-23 02:49:44 +00:00
LinkinStar 15777fccbc fix(tag): Only if tag info is all same than without edit. 2022-12-23 10:46:09 +08:00
linkinstar 689c8c52fc Merge branch 'hot-fix/1.0.0' into 'test'
Hot fix/1.0.0

See merge request opensource/answer!377
2022-12-23 02:27:33 +00:00
LinkinStar 06aa09bf35 fix(comment): Remove the judgment condition that you are not able to edit the comment. 2022-12-23 10:22:13 +08:00
杨光富 0fafdfeee9 Merge branch 'fix/search' into 'test'
Fix/search

See merge request opensource/answer!376
2022-12-22 09:06:01 +00:00
kumfo 7e8906ebb1 fix(issues/136): fixed tags filter search result 2022-12-22 17:00:52 +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 b022c1f156 Merge branch 'hot-fix/1.0.0' into test 2022-12-22 11:28:13 +08:00
aichy c5f20d4e4f update GetActionType 2022-12-22 11:28:01 +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
aichy f7931433d2 update question add 2022-12-21 15:33:44 +08:00
aichy 7f116809cc update tag ParsedText 2022-12-21 10:36:18 +08:00
LinkinStar 02a56315b4 fix(vote): There is no return of rank for users who was canceled their down votes. 2022-12-20 11:21:32 +08:00
LinkinStar 305a50cee7 fix(i18n): use full language name as the translator key 2022-12-19 18:15:17 +08:00
LinkinStar 21e402cb8a fix(siteinfo): remove theme config in interface 2022-12-19 17:54:51 +08:00
LinkinStar e395de3099 feat(i18n): Add more supported languages. 2022-12-19 17:07:34 +08:00
LinkinStar 2b83f21584 feat(migrations): Clean up cache if this migration needed 2022-12-19 16:55:58 +08:00
LinkinStar dabfab6b94 fix(theme): Set a default theme config 2022-12-18 18:08:19 +08:00
LinkinStar 1110a97ee1 fix(theme): Set a default theme config 2022-12-18 17:16:43 +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
LinkinStar 0580dbb53c fix(seo): Incorrect seo naming 2022-12-18 10:26:40 +08:00
aichy126 703aacf0cf Merge branch 'feat/0.7.0/seo' into test 2022-12-18 00:33:35 +08:00
aichy126 58acb3229e update favicon.ico 2022-12-18 00:33:17 +08:00
aichy126 e32f74e5e2 Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2022-12-18 00:15:08 +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
LinkinStar 0a924c5736 Merge branch 'feat/0.7.0/user-manage' into test 2022-12-17 13:45:10 +08:00
LinkinStar 67873a4bc0 fix(user): Assign the correct login time at registration time 2022-12-17 13:44:43 +08:00
LinkinStar 8e965adc78 fix(err): Properly handle unhandled errors 2022-12-17 13:34:06 +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 0176af3f10 feat(init): Add init version table 2022-12-16 17:14:31 +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 05e8ce3a46 fix(robots): Add SEO config initialize data at installation 2022-12-16 16:47:06 +08:00
LinkinStar 6e1f4841f1 style(simple): Properly handle unhandled errors 2022-12-16 16:35:55 +08:00
aichy126 5391d3100a Merge branch 'feat/0.7.0/seo' into test 2022-12-16 16:25:14 +08:00
aichy126 4b31951317 update question url title 2022-12-16 16:24: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
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
aichy126 7473b50469 Merge branch 'feat/0.7.0/seo' into test 2022-12-15 16:48:19 +08:00
aichy126 4fd208ba46 fix dev code 2022-12-15 16:48:07 +08:00
aichy126 f512083602 Merge branch 'feat/0.7.0/seo' into test 2022-12-15 15:39:56 +08:00
aichy126 4c354090c7 update custom.css add content-type 2022-12-15 15:39:43 +08:00
LinkinStar 89239adc0e Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-15 14:41:18 +08:00
LinkinStar 88160ed512 fix(migrations): Fix incorrect database field indexes during initialization data and system upgrade 2022-12-15 14:39:16 +08:00
kumfo b85a907f9a merge: merge from test 2022-12-15 12:03:10 +08:00
kumfo 9170a801f6 fix(search): user:me or user:username can be searched 2022-12-15 11:42:16 +08:00
LinkinStar bd9b4eb1d7 Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-15 10:50:41 +08:00
LinkinStar 9dc8faace6 fix(user): Fix the problem that user reputation will become negative 2022-12-15 10:49:03 +08:00
aichy126 04f048b829 Merge branch 'feat/0.7.0/seo' into test 2022-12-14 17:34:46 +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 aa6524a246 update custom.css 2022-12-14 16:50:40 +08:00
LinkinStar a674f356d1 Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-14 15:45:08 +08:00
LinkinStar fdde89cbb1 feat(markdown): convert markdown to html in backend 2022-12-14 15:41:08 +08:00
LinkinStar 1fa0062059 feat(seo): rename site seo 2022-12-14 15:09:22 +08:00
LinkinStar ac97e2b4fa feat(seo): rename site seo 2022-12-14 15:08:41 +08:00
aichy126 75f6715678 Merge branch 'feat/0.7.0/seo' into test 2022-12-14 15:03:39 +08:00
aichy126 8112966356 update question log 2022-12-14 15:02:53 +08:00
aichy126 19726db2c9 Merge branch 'feat/0.7.0/seo' into test 2022-12-14 12:29:19 +08:00
aichy126 534d8c4023 update siteinfo 2022-12-14 12:29:08 +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
aichy126 47140f7749 Merge branch 'feat/0.7.0/seo' into feat/0.7.0/user-manage 2022-12-13 18:11:11 +08:00
aichy126 9f53593f21 fix add question 2022-12-13 18:10:35 +08:00
aichy126 ba4b26229f Merge branch 'feat/0.7.0/seo' into feat/0.7.0/user-manage 2022-12-13 17:59:17 +08:00
aichy126 783bb31cac fix seo page 2022-12-13 17:58:48 +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 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
aichy126 3cc7f9fbb0 start cron 2022-12-13 14:15:44 +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
LinkinStar ad985005d8 refactor(ranking): refactoring user ranking function 2022-12-13 10:48:00 +08:00
aichy126 07d4b8b803 add cron 2022-12-13 10:40:07 +08:00
aichy126 ec986bf3c4 update SitemapMaxSize 2022-12-12 19:03:41 +08:00
aichy126 d0bff13d8a sitemap cache 2022-12-12 18:21:03 +08:00
LinkinStar 526f00f16d feat(cron): add scheduled task manager 2022-12-12 17:03:04 +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
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
LinkinStar 18ca572a38 feat(user): add user email duplication check 2022-12-12 14:29:24 +08:00
aichy126 ca443872c7 update title 2022-12-12 14:29:13 +08:00
LinkinStar 10ae0bb4c9 feat(migrations): add default login site info config 2022-12-12 14:22:33 +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 952e3d86fa feat(migrations): add role and power init data 2022-12-12 13:15:38 +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
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