Commit Graph

123 Commits

Author SHA1 Message Date
LinkinStar 982d034252 feat: add timeline detail api 2022-11-23 11:07:41 +08:00
aichy126 19603b106e Merge branch 'ai/0.4.0/fix/tag' into feat/0.5.0/timeline 2022-11-23 10:58:36 +08:00
LinkinStar cd961eafc2 feat: add timeline api interface 2022-11-22 19:48:27 +08:00
aichy126 2676822331 fix question answer delete 2022-11-22 16:54:28 +08:00
aichy126 761944440c Merge branch 'main' into ai_0.3_fix_del 2022-11-22 16:19:42 +08:00
aichy126 6b983d472d fix tag update error 2022-11-22 11:37:37 +08:00
aichy126 76ace2c9a3 fix question delete 2022-11-22 11:12:08 +08:00
LinkinStar d36f758fba feat: add activity where needed 2022-11-21 19:28:02 +08:00
LinkinStar feb62afb95 feat: add activity queue 2022-11-21 17:59:52 +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
aichy 8ba55f5955 Merge branch 'ai/0.4.0/tag' into 'test'
update search show tags

See merge request opensource/answer!241
2022-11-16 03:56:20 +00:00
aichy126 5e26663906 update search show tags 2022-11-16 11:48:02 +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 678d903a09 verify question has recommend tag 2022-11-14 17:05:49 +08:00
LinkinStar d02f64b7a9 feat: site info add term of service and private policy 2022-11-14 17:04:25 +08:00
LinkinStar f6fa850aa0 feat: unified file upload interface 2022-11-14 16:27:10 +08:00
LinkinStar cca5bcb59b feat: add site info tag config 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 6f815fb860 feat: add site info about branding 2022-11-14 11:50:00 +08:00
linkinstar 25763d20ff Merge branch 'ai_0.3_install_api' into 'test'
feat: modify the error information about the failure to create a table

See merge request opensource/answer!226
2022-11-11 04:20:38 +00:00
LinkinStar e00a03f2dd feat: modify the error information about the failure to create a table 2022-11-11 12:12:09 +08:00
linkinstar d0ff926263 Merge branch 'ai_0.3_install_api' into 'test'
feat: validation returns the original tag for the error field

See merge request opensource/answer!224
2022-11-11 03:32:23 +00:00
LinkinStar 0c4eeda383 feat: validation returns the original tag for the error field 2022-11-11 11:24:36 +08:00
LinkinStar 68fce365c8 fix: i18n file parsing error 2022-11-09 14:41:49 +08:00
LinkinStar 5d3ee17a25 fix: i18n file parsing error 2022-11-09 12:29:29 +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 84106a99f5 feat: remove config file path 2022-11-04 18:36:33 +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 9c8838a1b0 feat: install configuration files and initialize basic information 2022-11-04 15:59:21 +08:00
LinkinStar 23b4a44ce3 feat: rewrite config file when install config 2022-11-04 11:30:53 +08:00
LinkinStar 914defc446 feat: add install api and functions 2022-11-03 20:09:04 +08:00
aichy b597bd43b8 Merge branch 'feat/language' into 'test'
feat: add default language option

See merge request opensource/answer!174
2022-11-03 06:48:33 +00:00
LinkinStar 1bcd3abbcb feat: add default language option 2022-11-03 14:40:43 +08:00
linkinstar 86e65ed238 Merge branch 'ai_0.3_install_api' into 'test'
update install api

See merge request opensource/answer!172
2022-11-03 04:01:14 +00:00
aichy126 0306ee01ed update install api 2022-11-03 11:46:54 +08:00
linkinstar 7934ec513c Merge branch 'feat/timezone' into 'test'
style: reformat get site info code

See merge request opensource/answer!170
2022-11-03 03:13:07 +00:00
LinkinStar 2ad8b8f4a9 style: reformat get site info code 2022-11-03 10:33:48 +08:00
aichy 6d9e5578dc Merge branch 'test' into 'ai_0.3_install_api'
# Conflicts:
#   internal/router/ui.go
2022-11-02 09:57:36 +00:00
aichy126 6ece061e37 update install api 2022-11-02 17:40:11 +08:00
aichy126 784f9631f7 update install api 2022-11-02 17:30:02 +08:00
aichy126 b78f3061cb add install web api 2022-11-02 17:09:16 +08:00
LinkinStar 720754c8bb feat: support to config the default language 2022-11-02 15:25:27 +08:00
LinkinStar e91ef5c444 feat: add sqlite3 and update go mod 2022-11-01 15:41:21 +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
LinkinStar 05986a3249 feat: use sqlite for default initialization database 2022-10-31 16:20:58 +08:00
linkinstar 67b59cf1df Merge branch 'ci/sqlite' into 'main'
ci: update dockerfile and makefile for sqlite embed issue

See merge request opensource/answer!121
2022-10-29 02:54:36 +00:00
LinkinStar 1cd83f4e87 feat: change default cache dir to data, create dir if not exist. 2022-10-28 20:24:04 +08:00
aichy126 9b6a35d88b update set user avatar 2022-10-28 15:21:23 +08:00
aichy126 1563c6b583 update avatar img size 2022-10-28 11:15:46 +08:00
aichy126 8b399dbe66 update img upload 2022-10-28 10:29:26 +08:00
aichy126 a4c7517280 add avatar Thumbnail image
add avatar Thumbnail image
2022-10-27 22:01:53 +08:00
LinkinStar 473cdc374b fix: current sqlite3 compilation problem, temporarily removed. wait to merge with the set CGO_CFLAGS branch. 2022-10-27 21:26:27 +08:00
aichy126 3f48de2fe9 add avatar middleware 2022-10-27 18:09:27 +08:00
LinkinStar adc760e874 refactor: rename go mod package to answerdev 2022-10-24 16:51:05 +08:00
LinkinStar a28a2c5bb6 style: remove unnecessary functions 2022-10-22 18:40:12 +08:00
LinkinStar 41e1175620 feat: support admin modify smtp config 2022-10-20 16:38:56 +08:00
aichy126 12aca525d6 add Content-Encoding br 2022-10-19 16:02:21 +08:00
LinkinStar c39e115cde feat: support update username 2022-10-14 17:01:06 +08:00
LinkinStar 189916e843 feat: support choose database driver 2022-10-12 17:12:17 +08:00
LinkinStar b99150c081 feat: add data dir command function 2022-10-12 11:14:58 +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
LinkinStar 54115ce243 update: tag add search limit 2022-09-30 10:16:00 +08:00
linkinstar 666f72c32d Merge branch 'optimize/static-file-handler' into 'main'
optimize: the static files and handle

See merge request opensource/answer!16
2022-09-29 08:06:20 +00:00
LinkinStar b90ec5e11e feat: all users display part Add user status 2022-09-29 15:27:56 +08:00
mingcheng 91478b54a2 optimize: the static files and handle 2022-09-29 12:37:02 +08:00
mingcheng 8e6c49a531 initial commit 2022-09-27 17:59:05 +08:00