Commit Graph

402 Commits

Author SHA1 Message Date
aichy126 caf1fb4466 question/page 2022-11-30 19:00:42 +08:00
aichy126 c2b1c60c5b add year 2022-11-30 18:10:38 +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 5248d9e7c3 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-29 14:57:14 +08:00
LinkinStar 4300e524be feat(siteinfo): set site info description is optional field 2022-11-29 12:17:20 +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
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 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 4a993e3847 add notification 2022-11-25 17:15:02 +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
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
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 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 41352280f1 Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 17:58:41 +08:00
aichy126 cacb9783b8 fix 2022-11-24 17:58:22 +08:00
aichy126 a7f9d999cc Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 16:13:10 +08:00
LinkinStar 59a8b0f3bb feat: check rank permission 2022-11-24 16:11:43 +08:00
aichy126 1e14c9ab54 update revision tag 2022-11-24 16:00:56 +08:00
aichy126 9b221b3c1a Merge branch 'feat/0.5.0/timeline_ai' into test 2022-11-24 11:50:45 +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
LinkinStar dbc316c40d refactor: activity timeline extract user info and comment function 2022-11-23 19:30:38 +08:00
aichy126 3cd52758f3 update unreviewed revision 2022-11-23 18:10:34 +08:00
LinkinStar 60f4264e58 feat: answer and tag delete add activity 2022-11-23 17:02:44 +08:00
aichy126 a923e6f0b4 GetUnreviewedRevisionList 2022-11-23 16:52:27 +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
LinkinStar d399b9756f feat: activity timeline revision add tag detail 2022-11-23 14:21:11 +08:00
aichy126 1bf0d6365e update question tags 2022-11-23 12:07:06 +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 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 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 feb62afb95 feat: add activity queue 2022-11-21 17:59:52 +08:00
LinkinStar 0467165264 refactor: separate tag common repo and tag repo 2022-11-19 14:00:40 +08:00
LinkinStar 5c9e8333d3 Merge branch 'ai/0.4.0/tag' into test
# Conflicts:
#	internal/base/reason/reason.go
2022-11-17 19:02:11 +08:00
LinkinStar 8084870096 feat: change the original single form error return to multiple form error return 2022-11-17 18:59:09 +08:00
linkinstar e9dfeeb638 Merge branch 'ai/0.4.0/tag' into 'test'
Ai/0.4.0/tag

See merge request opensource/answer!252
2022-11-17 10:02:57 +00:00
LinkinStar 83ad1a185a feat: change the original single form error return to multiple form error return 2022-11-17 17:57:13 +08:00
杨光富 7c7a32d91d Merge branch 'fix/search' into 'test'
Fix/search

See merge request opensource/answer!248
2022-11-17 06:19:41 +00:00
kumfo 1b242a182c feat: add question_id to search result 2022-11-17 14:14:02 +08:00
aichy126 aca215a731 Merge branch 'ai/0.4.0/tag' into test 2022-11-16 15:31:20 +08:00
aichy126 952757e2da Merge branch 'ai/0.4.0/tag' of git.backyard.segmentfault.com:opensource/answer into ai/0.4.0/tag 2022-11-16 15:28:25 +08:00
aichy126 0863eec2a0 update tag show 2022-11-16 15:28:23 +08:00
LinkinStar 5361315104 Merge branch 'ai/0.4.0/tag' into test 2022-11-16 15:02:36 +08:00
LinkinStar 5dd8fa4e7f fix: remove site write required tag val 2022-11-16 15:02:11 +08:00
LinkinStar e91afef608 Merge branch 'ai/0.4.0/tag' into test 2022-11-16 14:40:25 +08:00
LinkinStar 59daaa5c5d fix: remove site write tag val 2022-11-16 14:40:04 +08:00
aichy 5f1ebbd950 Merge branch 'ai/0.4.0/tag' into 'test'
update tag info add reserved

See merge request opensource/answer!238
2022-11-15 11:06:57 +00:00
aichy126 2abec78482 update tag info add reserved 2022-11-15 19:00:48 +08:00
LinkinStar b473a9e62a feat: tos save original and parsed text 2022-11-15 17:11:42 +08:00
linkinstar c299304b66 Merge branch 'ai/0.4.0/tag' into 'test'
Ai/0.4.0/tag

See merge request opensource/answer!234
2022-11-15 06:19:38 +00:00
LinkinStar ba64be6845 feat: site info update write config 2022-11-15 11:24:39 +08:00
LinkinStar f17c28ae1d Merge remote-tracking branch 'origin/ai/0.4.0/tag' into test
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
#	internal/base/constant/constant.go
#	internal/base/reason/reason.go
#	internal/controller_backyard/siteinfo_controller.go
#	internal/router/answer_api_router.go
#	internal/schema/siteinfo_schema.go
#	internal/service/siteinfo/siteinfo_service.go
2022-11-15 10:54:01 +08:00
aichy126 baf0fce1c1 update reserved tags 2022-11-14 18:07:28 +08:00
LinkinStar d02f64b7a9 feat: site info add term of service and private policy 2022-11-14 17:04:25 +08:00
aichy126 d701ae60fb question tags add recommend 2022-11-14 16:44:48 +08:00
aichy126 2f6448b2c7 update recommend tag 2022-11-14 16:41:10 +08:00
LinkinStar cca5bcb59b feat: add site info tag config 2022-11-14 15:21:38 +08:00
LinkinStar 74ba5620bb feat: move logo field to site info 2022-11-14 15:21:38 +08:00
LinkinStar 6b63d17623 feat: add site info about branding 2022-11-14 15:21:38 +08:00
LinkinStar 5fed2e2608 feat: add site info tag config 2022-11-14 15:17:49 +08:00
LinkinStar 94c86fe3f8 feat: move logo field to site info 2022-11-14 14:56:56 +08:00
LinkinStar 6f815fb860 feat: add site info about branding 2022-11-14 11:50:00 +08:00
aichy126 79ba518810 Merge branch 'ai_0.3_dashboard' into test 2022-11-11 11:55:46 +08:00
aichy126 ffec3a0b9c update dashboard cache 2022-11-11 11:53:44 +08:00
LinkinStar 51e1c483f6 fix: remove time zone check 2022-11-10 13:03:07 +08:00
LinkinStar e30eaecee4 fix: remove time zone check 2022-11-10 13:02:19 +08:00
linkinstar ee412d2781 Merge branch 'ai_0.3_install_api' into 'test'
Ai 0.3 install api

See merge request opensource/answer!217
2022-11-10 03:41:11 +00:00
LinkinStar a088fa439a feat: format site url to only scheme and host 2022-11-10 11:00:26 +08:00
aichy126 21b7560f2c add dashboard cache 2022-11-09 14:58:15 +08:00
aichy126 67e1ffcacf Merge branch 'ai_0.3_dashboard' into test 2022-11-08 11:35:56 +08:00
aichy126 607573d386 fix startTime 2022-11-08 11:33:48 +08:00
linkinstar b9fca38040 Merge branch 'ai_0.3_install_api' into 'test'
Ai 0.3 install api

See merge request opensource/answer!196
2022-11-07 10:11:18 +00:00
linkinstar 55d9c1265e Merge branch 'ai_0.3_dashboard' into 'test'
feat: add timezone validation

See merge request opensource/answer!197
2022-11-07 10:07:52 +00:00
LinkinStar d5a57589e6 feat: add site_url and contact_email validation 2022-11-07 18:03:51 +08:00
LinkinStar a29eca4a4d feat: add timezone validation 2022-11-07 17:45:36 +08:00
aichy126 8e9cd07045 Merge branch 'ai_0.3_dashboard' into test 2022-11-07 14:08:46 +08:00
aichy126 bf730b954a add version 2022-11-07 12:45:01 +08:00
linkinstar 3eb193dffd Merge branch 'test' into 'ai_0.3_install_api'
# Conflicts:
#   internal/base/reason/reason.go
2022-11-04 09:33:01 +00:00
LinkinStar 914defc446 feat: add install api and functions 2022-11-03 20:09:04 +08:00
linkinstar b380a333c5 Merge branch 'ai_0.3_install_api' into 'test'
add siteinfo

See merge request opensource/answer!179
2022-11-03 08:47:02 +00:00
aichy126 2a849395f0 add siteinfo 2022-11-03 16:40:40 +08:00
aichy a6537222c7 Merge branch 'ai_0.3_dashboard' into 'test'
update dashboardInfo

See merge request opensource/answer!166
2022-11-02 10:16:12 +00:00
aichy126 cfcc4c69e3 update dashboardInfo 2022-11-02 18:07:59 +08:00
linkinstar 436ce151bc Merge branch 'ai_0.3_dashboard' into 'test'
Ai 0.3 dashboard

See merge request opensource/answer!163
2022-11-02 08:50:38 +00:00
aichy126 e84a681ce4 add dashboard info 2022-11-02 16:29:10 +08:00
linkinstar ada9daebf6 Merge branch 'feat/language' into 'test'
Feat/language

See merge request opensource/answer!161
2022-11-02 07:33:57 +00:00
LinkinStar 720754c8bb feat: support to config the default language 2022-11-02 15:25:27 +08:00
LinkinStar 18e880b9c8 feat: add time zone config 2022-11-02 15:02:27 +08:00
aichy126 27e3e2ec8c fix AvatarInfo json.Unmarshal error 2022-11-02 11:46:26 +08:00
linkinstar 2f277921bb Merge branch 'ai_fix_user_avatar' into 'main'
fix user avatar Unmarshal

See merge request opensource/answer!150
2022-11-01 09:28:17 +00:00
aichy126 92fbdbbc81 fix user avatar Unmarshal 2022-11-01 17:05:12 +08:00
LinkinStar 425159ecc3 merge: repo unit test 2022-11-01 16:22:51 +08:00
LinkinStar cec446047d Merge branch 'main' into feat/repo-unit-test
# Conflicts:
#	cmd/answer/wire_gen.go
#	go.mod
#	go.sum
#	internal/controller/user_controller.go
#	internal/repo/notification/notification_repo.go
#	internal/repo/revision/revision_repo.go
#	internal/repo/tag/tag_rel_repo.go
#	internal/repo/tag/tag_repo.go
#	internal/schema/user_schema.go
2022-11-01 16:17:03 +08:00
LinkinStar 6e5d89d593 Merge branch 'github-main'
# Conflicts:
#	go.mod
#	internal/entity/answer_entity.go
#	internal/schema/question_schema.go
#	internal/service/user_service.go
2022-11-01 15:37:22 +08:00
Tai Groot 59e2e1f304
Running gofumpt against repo (#49)
* starting on gofumpt

* continuing on gofumpt

* continuing on gofumpt

* finish gofumpt review

* added changes requested by LinkinStars' review

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2022-11-01 15:25:44 +08:00
kumfo bd888c121a feat: admin's question, answer and user search 2022-11-01 09:12:12 +08:00
aichy126 0ec198bad0 update AvatarInfo to show img 2022-10-31 11:04:51 +08:00
LinkinStar 95cb136e3f feat: add user repo unit test 2022-10-28 19:28:08 +08:00
LinkinStar 9c1df37e82 feat: user info api allow no login user use and return empty data 2022-10-28 17:13:49 +08:00
linkinstar a613315f4f Merge branch 'ai_user_avatar' into 'main'
update userinfo  show user set avatar

See merge request opensource/answer!125
2022-10-28 07:53:27 +00:00
aichy126 5ecac4dda3 update userinfo show user set avatar 2022-10-28 15:43:37 +08:00
linkinstar 5e89f4031b Merge branch 'ai_user_avatar' into 'main'
user avatar save

See merge request opensource/answer!123
2022-10-28 07:37:07 +00:00
aichy126 9b6a35d88b update set user avatar 2022-10-28 15:21:23 +08:00
aichy126 d41fd7a467 add Captcha 2022-10-28 15:07:19 +08:00
aichy126 90deaf027b user avatar save 2022-10-28 14:53:44 +08:00
aichy126 c3b096edc5 fix question tags search 2022-10-27 10:41:57 +08:00
kumfo 866b8a062e style: search form validate 2022-10-25 11:45:45 +08:00
LinkinStar adc760e874 refactor: rename go mod package to answerdev 2022-10-24 16:51:05 +08:00
linkinstar 976c8cb864 Merge branch 'ai_annotation' into 'main'
add user error return in i18n

See merge request opensource/answer!100
2022-10-24 03:39:18 +00:00
aichy126 a00fb70ff2 add user error return in i18n 2022-10-24 11:21:37 +08:00
LinkinStar a28a2c5bb6 style: remove unnecessary functions 2022-10-22 18:40:12 +08:00
LinkinStar 5a01fb9fe1 style: fix code error handling 2022-10-21 17:54:46 +08:00
LinkinStar ea9eb31073 feat: smtp update config field, send test email after config 2022-10-21 17:04:41 +08:00
aichy126 ec950da888 update Annotation document 2022-10-21 12:00:50 +08:00
LinkinStar 41e1175620 feat: support admin modify smtp config 2022-10-20 16:38:56 +08:00
LinkinStar 76657ae3dc typo: rename flaged to flagged 2022-10-14 17:11:40 +08:00
LinkinStar c39e115cde feat: support update username 2022-10-14 17:01:06 +08:00
LinkinStar 1c53bac6c4 fix(#993): incorrect json format name 2022-10-11 10:18:26 +08:00
kumfo f8ea1049b6 fix: search sort 2022-10-09 18:44:56 +08:00
linkinstar 1b9b6c13b5 Merge branch 'ai_work' into 'main'
remove spew

See merge request opensource/answer!34
2022-09-30 07:03:05 +00:00
aichy 6da181a7bf remove spew 2022-09-30 14:43:15 +08:00
杨光富 a113d4caa9 Merge branch 'fix/reason' into 'main'
fix: reason item

See merge request opensource/answer!30
2022-09-30 03:56:25 +00:00
kumfo 90bbe3bf82 fix: reason item 2022-09-30 11:49:05 +08:00
杨光富 0a317c5ec3 Merge branch 'fix/report' into 'main'
Fix/report

See merge request opensource/answer!29
2022-09-30 02:46:39 +00:00
kumfo d4f02c668d fix: merge from main 2022-09-30 10:41:46 +08:00
aichy 45e056d26b add Operation_Time 2022-09-30 10:39:29 +08:00
kumfo c1abcf02a2 fix: search 2022-09-30 10:28:38 +08:00
aichy 26f605a649 add question status 2022-09-30 10:22:41 +08:00
LinkinStar b416f17526 feat: adjusting the field length 2022-09-29 16:39:34 +08:00
LinkinStar b90ec5e11e feat: all users display part Add user status 2022-09-29 15:27:56 +08:00
LinkinStar 5c9f0f7f7c feat: add user status api 2022-09-28 14:22:55 +08:00
LinkinStar 0616351f7e fix: answer wrong route 2022-09-28 11:20:32 +08:00
mingcheng 8e6c49a531 initial commit 2022-09-27 17:59:05 +08:00