Commit Graph

177 Commits

Author SHA1 Message Date
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