Commit Graph

70 Commits

Author SHA1 Message Date
kumfo c3f42f1d9e fix: search sql parse error when query words is empty 2022-11-01 17:20:34 +08:00
LinkinStar c10930d160 fix: revision use created_at as the condition 2022-11-01 16:27:33 +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
LinkinStar 014472a37b style: formatting naming 2022-11-01 15:27:37 +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
edocevol c8175744aa refactor: repo code should procees error 2022-11-01 15:12:20 +08:00
kumfo bd888c121a feat: admin's question, answer and user search 2022-11-01 09:12:12 +08:00
LinkinStar 95cb136e3f feat: add user repo unit test 2022-10-28 19:28:08 +08:00
kumfo d353b8519b Merge remote-tracking branch 'origin/feat/repo-unit-test' into feat/repo-unit-test 2022-10-28 17:12:32 +08:00
kumfo ddb612fac7 feat: revision repo test 2022-10-28 17:12:22 +08:00
LinkinStar 915f3d1c94 feat: add reason repo unit test 2022-10-28 17:02:24 +08:00
LinkinStar ccbf42c685 feat: add tag-rel repo unit test 2022-10-28 16:36:08 +08:00
LinkinStar dcf14df50a feat: add tag repo unit test 2022-10-27 19:21:49 +08:00
LinkinStar 792ef23218 style: repo change directories 2022-10-27 15:40:11 +08:00
LinkinStar 3c8bdcde29 feat: add config repo unit test 2022-10-27 12:00:03 +08:00
LinkinStar 2e13736ee7 feat: add siteinfo repo unit test 2022-10-27 11:23:16 +08:00
LinkinStar f74c468021 feat: add notification repo unit test 2022-10-26 18:01:01 +08:00
LinkinStar 863a9d91ca feat: refactor notification page list 2022-10-26 17:37:11 +08:00
LinkinStar 2874fde1c9 feat: add meta repo unit test 2022-10-26 17:26:34 +08:00
LinkinStar 7af6db7c7f feat: add captcha repo unit test 2022-10-26 17:14:56 +08:00
LinkinStar 6f1e8b6aa9 feat: add auth repo unit test 2022-10-26 16:59:33 +08:00
LinkinStar c59f48e694 style: rename backyard auth function name 2022-10-26 16:38:34 +08:00
LinkinStar 1b206b4260 feat: tag change unique id generate func 2022-10-26 16:29:21 +08:00
LinkinStar dd16b0db74 feat: add email repo unit test 2022-10-26 16:24:58 +08:00
LinkinStar e4522f280d feat: add repo unit test 2022-10-26 15:33:21 +08:00
LinkinStar bfd2b9b87e fix: #22 #26 Fixed the error in the notification(achievement) source triggered by the adoption answer. 2022-10-26 14:16:04 +08:00
LinkinStar f248a52980 fix: RIGHT join is not support in sqlite3, use LEFT instead. 2022-10-26 14:12:41 +08:00
LinkinStar adc760e874 refactor: rename go mod package to answerdev 2022-10-24 16:51:05 +08:00
LinkinStar 44ede047d1 style: fix code error handling, pass nil to context 2022-10-22 12:07:29 +08:00
LinkinStar 5a01fb9fe1 style: fix code error handling 2022-10-21 17:54:46 +08:00
LinkinStar 95c59afed0 remove: delete comment repo test 2022-10-21 17:28:48 +08:00
LinkinStar affd36aa90 remove: delete config repo test 2022-10-21 17:28:04 +08:00
LinkinStar 7461f601ca style: rename activity entity 2022-10-21 11:56:43 +08:00
LinkinStar be845c2bc9 Merge remote-tracking branch 'origin/main' into feat/orm-init 2022-10-21 11:21:04 +08:00
linkinstar e128a3dc4a Merge branch 'feat/smtp' into 'main'
Feat/smtp

See merge request opensource/answer!88
2022-10-21 02:20:30 +00:00
LinkinStar 7e2ffd226b Merge remote-tracking branch 'origin/main' into feat/orm-init 2022-10-20 18:29:14 +08:00
LinkinStar 2672230e31 fix: status updates are performed when the user status is inconsistent 2022-10-20 18:21:38 +08:00
LinkinStar 41e1175620 feat: support admin modify smtp config 2022-10-20 16:38:56 +08:00
LinkinStar 8de214b161 Merge remote-tracking branch 'origin/main' into feat/orm-init 2022-10-20 10:31:46 +08:00
LinkinStar 18d1688363 feat: add system initialization data 2022-10-19 17:20:31 +08:00
aichy126 d1becf0ffa fix AddCollectionDefaultGroup return Add ID 2022-10-19 16:56:22 +08:00
LinkinStar cf9cd4f1bc remove: remove non-essential entity classes 2022-10-19 11:07:58 +08:00
kumfo 164eef862c Merge branch 'main' into fix/search 2022-10-17 11:11:53 +08:00
kumfo d401ba1579 feat: search sort by relevance 2022-10-17 11:11:23 +08:00
LinkinStar c39e115cde feat: support update username 2022-10-14 17:01:06 +08:00
kumfo 53910b80ab fix: search, question add title search 2022-10-14 12:28:11 +08:00
LinkinStar 22adf7ec7f Merge remote-tracking branch 'origin/main' into feat/command 2022-10-13 09:42:34 +08:00
kumfo a6737bca37 fix: search page 2022-10-12 16:09:20 +08:00