Commit Graph

728 Commits

Author SHA1 Message Date
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
LinkinStar 635a8ec942 fix(answer): tag and answer add wait for review response 2022-12-01 17:33:30 +08:00
LinkinStar 6a9408657c feat(user): add role and role power 2022-12-01 15:54:06 +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
aichy126 b093358e0c update question edit userid 2022-12-01 15:26:20 +08:00
aichy126 e6a42e62ea Merge branch 'feat/0.5.0/timeline_ai' into test 2022-12-01 14:40:19 +08:00
LinkinStar bfd9530b1f fix(synonym): Add tag synonym list member actions 2022-12-01 14:40:18 +08:00
aichy126 28a4289930 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 14:37:24 +08:00
aichy126 6ccf0c07c6 fix answer update time 2022-12-01 14:37:17 +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
LinkinStar 505fa7e6d3 fix(tr): Fix translation errors 2022-11-30 19:19:01 +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
杨光富 29eed866cd Merge branch 'fix/search' into 'test'
fix: search all contents haven't result

See merge request opensource/answer!299
2022-11-30 10:32:54 +00:00
kumfo 04062afeac fix: search all contents haven't result 2022-11-30 18:25:31 +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
aichy126 b09fc6b15f fix question router 2022-11-29 18:32:49 +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 c090d535bb Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 15:50:16 +08:00
aichy126 c5eecd33c3 fix question recommend tag 2022-11-29 15:50:07 +08:00
aichy126 bf41dec058 add template 2022-11-29 15:48:26 +08:00
aichy126 cf79427734 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 15:01:27 +08:00
aichy126 59d4349a39 fix question update time 2022-11-29 15:01:17 +08:00
aichy126 5248d9e7c3 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 14:57:14 +08:00
aichy126 44d70a8fda Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-29 14:56:41 +08:00
aichy126 22e683a0b8 fix 2022-11-29 14:56:22 +08:00
杨光富 e13c39cf0d Merge branch 'fix/search' into 'test'
fix(search_repo):

See merge request opensource/answer!290
2022-11-29 06:22:40 +00:00
kumfo a331cad4bf fix(search_repo):
1. is:question and is:answer can be return list without keywords.
2. fixed search result count is limited page_size
2022-11-29 14:16:41 +08:00
LinkinStar 4300e524be feat(siteinfo): set site info description is optional field 2022-11-29 12:17:20 +08:00
LinkinStar 79e7f9b599 feat: return the specified comment 2022-11-29 10:42:04 +08:00
LinkinStar b446a7c58d Merge branch 'feat/0.5.0/comment' into test
# Conflicts:
#	internal/service/comment/comment_service.go
2022-11-29 10:27:00 +08:00
LinkinStar f693077ae5 feat: When the user requests the specified comment, if it does not exist in the comment list then query and return it. 2022-11-29 10:25:28 +08:00
LinkinStar 916dbf52cb feat: activity object info return display name 2022-11-29 10:03:37 +08:00
LinkinStar c455f3f02b feat: activity object info return display name 2022-11-29 10:00:23 +08:00
aichy126 61b148ebd1 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-28 18:19:53 +08:00
aichy126 80d0a8fbd3 Merge branch 'feat/0.5.0/timeline_ai' of git.backyard.segmentfault.com:opensource/answer into feat/0.5.0/timeline_ai 2022-11-28 18:19:26 +08:00
aichy126 712f918f9c fix question update time and tag check 2022-11-28 18:19:22 +08:00
LinkinStar ef250eacef feat: activity object info return username 2022-11-28 17:18:41 +08:00
LinkinStar 224b569013 feat: activity object info return username 2022-11-28 17:09:52 +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
LinkinStar 6e8cfb4ac5 fix: update the initial reputation value 2022-11-25 18:00:50 +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
LinkinStar dd5671d5f9 fix: Initializes the comment permission list 2022-11-25 17:08:55 +08:00
aichy126 0b28e4eae5 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-25 16:50:21 +08:00
LinkinStar ceb0ee48c6 fix: tag query condition is incorrect 2022-11-25 16:49:53 +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