Commit Graph

975 Commits

Author SHA1 Message Date
LinkinStars 00df552422 Merge branch 'github-dev' into release/1.0.5
# Conflicts:
#	go.mod
2023-02-21 10:16:12 +08:00
aichy126 376ad452e7 Merge branch 'feat/1.0.6/fixbug' into test 2023-02-20 15:15:05 +08:00
aichy126 8b07d5c47d update question action time 2023-02-20 15:14:39 +08:00
aichy126 a66f104d02 Merge branch 'dev' into feat/1.0.5/deltag 2023-02-17 11:39:13 +08:00
LinkinStars e9d5667708 feat(version): move AnswerVersion to site-info API 2023-02-15 17:22:44 +08:00
aichy126 edc06942d5 add input sanitizer 2023-02-15 15:51:12 +08:00
aichy126 921cd3465f update sitemap time format 2023-02-15 15:10:39 +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
aichy126 c9b697318f add GetTagSynonymCount 2023-02-14 15:53:35 +08:00
aichy126 cbc300ee19 update tag delete 2023-02-14 15:29:07 +08:00
LinkinStars 24aaf7f49a feat(install): Remove outdated function about reserved username 2023-02-13 17:25:37 +08:00
LinkinStars 7380c93eb4 feat(install): Automatically complete installation based on environment variable. 2023-02-13 17:07:28 +08:00
lcgash@163.com 1a5cdba578 fix: 修复取消点赞报错的问题 2023-02-10 18:34:30 +08:00
aichy126 860b1a3bd8 update img header 2023-02-07 17:55:31 +08:00
LinkinStars a8c2982a91 Merge branch 'github-main' into release/1.0.4
# Conflicts:
#	i18n/en_US.yaml
2023-02-07 17:38:58 +08:00
LinkinStars 964e6bd2d4 fix(upload): add image file check 2023-02-06 19:04:05 +08:00
LinkinStars fc396ef987 fix(i18n): Resolve an issue that causes unexpected errors when translation files for unsupported languages are not properly initialized. 2023-02-06 15:51:44 +08:00
aichy126 000a0b5f70 update sqlite 2023-02-03 15:37:58 +08:00
LinkinStar 768037a527 Merge branch 'feat/1.0.4/comment' into test 2023-02-03 11:00:57 +08:00
LinkinStar b7356ba875 fix(comment): add comment original text notblank condition 2023-02-02 17:40:39 +08:00
aichy126 af5e3f4e48 update question validate 2023-02-02 17:01:52 +08:00
aichy126 e3557b9c98 update question validate 2023-02-02 16:50:37 +08:00
aichy126 749c8f041d Merge branch 'feat/1.0.4/comment' into test 2023-02-02 16:40:47 +08:00
aichy126 c10dfb9884 update question validate 2023-02-02 16:39:51 +08:00
LinkinStar 70da7357c3 Merge branch 'feat/1.0.4/comment' into test 2023-02-02 16:31:16 +08:00
LinkinStar 052ec0ceb0 fix(comment): add comment original text limiting condition 2023-02-02 16:30:37 +08:00
LinkinStar 08143c61b8 Merge branch 'feat/1.0.4/comment' into test 2023-02-02 16:04:39 +08:00
LinkinStar 8002a152eb fix(markdown): remove all md field that after parsing 2023-02-02 16:03:53 +08:00
aichy126 74655b7b40 Merge branch 'feat/1.0.4/comment' into test 2023-02-01 16:47:02 +08:00
aichy126 35a370dbd4 Merge branch 'feat/1.1.0/compile' into feat/1.0.4/comment 2023-02-01 16:46:35 +08:00
aichy126 26a764f74a Merge branch 'feat/1.0.4/comment' into test 2023-02-01 14:11:19 +08:00
aichy126 fe44d054c3 update AnswerAddReq 2023-02-01 14:11:01 +08:00
aichy126 d025df4168 Merge branch 'feat/1.0.4/comment' into test 2023-02-01 12:09:07 +08:00
aichy126 86a10eaec7 update validate add notblank 2023-02-01 11:21:57 +08:00
LinkinStar ec871efc75 feat(validator): add notblank validation 2023-02-01 11:08:56 +08:00
aichy126 ac1d2cc6dd Merge branch 'feat/1.0.4/comment' into test 2023-01-31 15:14:02 +08:00
aichy126 2395503ad8 update answer content 2023-01-31 15:13:50 +08:00
LinkinStar 483c51bab8 feat(comment): Notification of comments based on different priorities 2023-01-31 11:59:02 +08:00
LinkinStar b56d7cdad0 feat(comment): Notification of comments based on different priorities 2023-01-31 11:44:29 +08:00
aichy126 d44ae40624 Merge branch 'feat/1.0.4/comment' into test 2023-01-31 10:05:02 +08:00
aichy126 c1fa2b13f6 fix RetrievePassWord code 2023-01-31 10:04:52 +08:00
LinkinStar 21a354fb22 fix(comment): do not send notification when reply myself 2023-01-30 17:14:13 +08:00
LinkinStar 00e4f2c9de fix(comment): do not send notification when reply myself 2023-01-30 17:07:38 +08:00
aichy126 a15a4ab22c Merge branch 'feat/1.0.4/comment' into test 2023-01-30 16:45:50 +08:00
aichy126 782eb7a452 update html canonical 2023-01-30 16:45:40 +08:00
aichy126 ca6231ba1c Merge branch 'feat/1.0.4/comment' into test 2023-01-30 16:19:12 +08:00
aichy126 7d6720309a update html canonical pages 2023-01-30 16:17:43 +08:00
aichy126 fa58176743 Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test 2023-01-30 15:50:19 +08:00
aichy126 4b3a7418d6 Merge branch 'feat/1.0.4/comment' into test 2023-01-30 15:50:13 +08:00
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