Commit Graph

1452 Commits

Author SHA1 Message Date
LinkinStars 3283e09c9a feat(admin): allow admin resend activation email 2023-07-11 12:08:30 +08:00
LinkinStars a1c7a5d70a fix(user): update display name length limit #432 2023-07-10 18:00:30 +08:00
LinkinStars 69f250ee04 feat(user): replace space in username with - 2023-07-06 16:18:57 +08:00
LinkinStars 5861eebb78 fix(activity): wrong decrease user rank when reach daily rank 2023-07-06 15:37:20 +08:00
LinkinStars fcb48b86ee refactor(repo): refactor some repo test 2023-07-06 12:28:33 +08:00
LinkinStars 964195fd85 feat(init): set default privileges when init 2023-07-04 14:33:31 +08:00
aichy126 1c2162bdc2 update captcha style 2023-07-04 14:32:34 +08:00
LinkinStars b01d965f80 refactor(user): refactor search user by name 2023-07-04 11:20:55 +08:00
LinkinStars 2f4090c25e fix(activity): add activity common service init 2023-07-03 17:15:29 +08:00
aichy126 60e8426102 update captcha ui 2023-07-03 16:31:40 +08:00
LinkinStars 7f58fbdad1 refactor(answer): refactor accept answer activity 2023-07-03 14:11:48 +08:00
LinkinStars 47661dc8a3 refactor(votes): refactor user vote repo 2023-06-30 18:18:22 +08:00
LinkinStars 9a31d7e76d refactor(votes): refactor user vote service param 2023-06-29 14:53:50 +08:00
LinkinStars 71bab09445 fix(sitemap): create pageList by total pages 2023-06-28 11:57:29 +08:00
LinkinStars ac91dc5259 fix(sitemap): set question id by default 2023-06-28 11:43:40 +08:00
LinkinStars cbf7da18c7 Merge branch 'github-main' into feat/1.2.0/state 2023-06-28 10:53:21 +08:00
LinkinStars a23080df0a refactor(sitemap): save sitemap in cache 2023-06-28 10:52:36 +08:00
LinkinStars 95a57417c1 fix(email): skip send email when SMTP config is empty 2023-06-25 17:59:18 +08:00
aichy126 8d3b3ea247 Merge branch 'main' into hot-fix/1.1.0.ai 2023-06-25 14:44:51 +08:00
aichy126 5884ec04d9 hot fix pq short id 2023-06-25 14:44:22 +08:00
LinkinStars 6715b50a7e fix(user-agent): set user role status from agent 2023-06-25 10:07:18 +08:00
nonvis@gmail.com aa972354a8 fix(config): use key to update a specific item 2023-06-22 14:36:38 +09:00
LinkinStars 622c517da7 refactor(data): use names for gonic mapper 2023-06-21 16:41:14 +08:00
LinkinStars a48c53d6c6 refactor(dashboard): rename dashboard cache key 2023-06-21 15:48:04 +08:00
LinkinStars 92c5bb6616 refactor(answer): refactor admin question answer page list 2023-06-20 16:55:43 +08:00
aichy126 f2a02c21df fix upgrade QuestionV13 2023-06-20 14:22:44 +08:00
aichy126 102b8c1b9f fix upgrade QuestionV13 2023-06-20 12:16:24 +08:00
aichy126 763eb53c36 fix upgrade 2023-06-20 12:14:04 +08:00
LinkinStars 3ed9568614 fix(init): set default permalink value 2023-06-20 10:18:30 +08:00
LinkinStars f4b6208f90 fix(context): add context for data 2023-06-19 18:29:15 +08:00
LinkinStars fb757139ae fix(activity): return err when can not find activity type 2023-06-19 18:09:44 +08:00
LinkinStars 4f835e3841 fix(context): remove context background 2023-06-19 17:49:55 +08:00
LinkinStars 8052e1d1ce fix(avatar): set default gravatar base url only for none empty config #400 2023-06-14 16:54:10 +08:00
LinkinStars cc0a03117c refactor(migrations): refactor migrations service 2023-06-14 16:53:56 +08:00
LinkinStars 42c08fe566 refactor(uploader): refactor AvatarThumbFile service 2023-06-13 17:38:22 +08:00
LinkinStars c49fa00570 Merge branch 'github-main' into feat/1.2.0/state
# Conflicts:
#	cmd/wire_gen.go
#	internal/service/question_common/question.go
#	internal/service/siteinfo/siteinfo_service.go
2023-06-13 16:44:36 +08:00
haitaoo c3d297c8f3 Merge branch 'test' into feat/plugins 2023-06-12 15:47:30 +08:00
LinkinStars 3a21a000c4 fix(build): replace cp command by copy function 2023-06-12 15:24:30 +08:00
aichy126 1af37811f6 Merge branch 'hot-fix/1.1.0' into test 2023-06-12 14:56:57 +08:00
Itamar 7d2f53a283 fix(internal/build): Using forward slash with embed fs
(cherry picked from commit 8e63d64f84)
2023-06-12 14:56:26 +08:00
aichy126 0217125f6f update edit answer shortid 2023-06-12 14:56:26 +08:00
aichy126 673ce8b8e4 Merge branch 'hot-fix/1.1.0' into test 2023-06-09 15:03:01 +08:00
aichy126 cacf5e309f fix sitemap 2023-06-09 15:02:39 +08:00
LinkinStars e760fd9355 feat(plugin): build ui when pack plugin 2023-06-09 11:52:19 +08:00
aichy126 1477a74c2d Merge branch 'hot-fix/1.1.0' into test 2023-06-08 10:32:34 +08:00
aichy126 3092954e68 fix post-title 2023-06-08 10:30:26 +08:00
LinkinStars b4622c34c2 fix(activity): rename the `rank` column 2023-06-07 18:26:43 +08:00
LinkinStars b0a0585221 fix(activity): use the wrong context in activity 2023-06-07 18:25:42 +08:00
aichy126 f20106e163 Merge branch 'hot-fix/1.1.0' into test 2023-06-07 17:40:20 +08:00
aichy126 3378cbff69 fix tag count upgrade 2023-06-07 17:39:25 +08:00
LinkinStars fa85ce05b1 refactor(dashboard): Refactoring the dashboard 2023-06-07 16:31:51 +08:00
aichy126 3ad1c40cea fix notificationInviteUser 2023-06-07 14:25:06 +08:00
LinkinStars 420667cd3e Merge branch 'github-main' into feat/1.1.0/context 2023-06-06 17:09:35 +08:00
aichy126 abda17439f Merge branch 'hot-fix/1.1.0' into test 2023-06-06 15:53:23 +08:00
aichy126 82324f508b Merge branch 'feat/1.1.0/report' into hot-fix/1.1.0 2023-06-06 15:51:06 +08:00
aichy126 57153f8e7d update answer count 2023-06-06 15:43:32 +08:00
LinkinStars 74661a135f fix(migrations): upgrade question table struct first 2023-06-06 14:43:28 +08:00
LinkinStars fbb3269f08 fix(email): fix the old email config format 2023-06-06 11:26:38 +08:00
LinkinStars 4a0fa27a34 fix(email): fix the old email config format 2023-06-06 11:26:02 +08:00
LinkinStars d6d0bd4883 fix(migrations): add migration error log 2023-06-06 10:04:56 +08:00
LinkinStars 432bf21c98 fix(migrations): add migration error log 2023-06-06 10:04:03 +08:00
aichy126 b5472c793f update answer search list 2023-06-05 18:38:29 +08:00
aichy126 94fe6a9914 Merge branch 'feat/1.1.0/report' into test 2023-06-05 14:55:59 +08:00
aichy126 5cf74ee9da update search answer 2023-06-05 14:55:20 +08:00
LinkinStars c6ea2fc5da refactor(activity): make activity queue as a service 2023-06-05 14:10:04 +08:00
LinkinStars 773d2142db refactor(notification): make notification queue as a service 2023-06-02 18:15:54 +08:00
aichy126 b18f3893a9 Merge branch 'feat/1.1.0/report' into test 2023-06-02 17:13:48 +08:00
aichy126 345398a6de fix 2023-06-02 17:13:26 +08:00
LinkinStars 1c2151d710 refactor(shortid): remove short id variable 2023-06-02 16:53:49 +08:00
aichy126 44983b89fc Merge branch 'feat/1.1.0/report' into test 2023-06-02 15:35:48 +08:00
aichy126 a7948729d5 update search user 2023-06-02 15:35:20 +08:00
LinkinStars aeaeb4b127 Merge remote-tracking branch 'github/feat/1.1.0/report' into feat/1.1.0/context 2023-06-02 12:17:15 +08:00
LinkinStars bce3b923aa Merge remote-tracking branch 'github/feat/1.1.0/report' into test 2023-06-02 12:16:52 +08:00
LinkinStars 0744658d7a refactor(siteinfo): remove site url var 2023-06-02 12:16:22 +08:00
aichy126 5aa702f94e Merge branch 'feat/1.1.0/report' into test 2023-06-01 12:16:06 +08:00
aichy126 27aa4aa8cd UpdateQuestionInviteUser 2023-06-01 12:15:46 +08:00
aichy126 557d185a35 Merge branch 'test' of github.com:answerdev/answer into test 2023-06-01 11:26:04 +08:00
aichy126 40f66f505c update seo perma link 2023-06-01 11:25:25 +08:00
aichy126 3e219569b6 UpdateQuestionInviteUser 2023-06-01 11:13:02 +08:00
LinkinStars 7662e9a552 refactor(upload): extract uploader service interface 2023-05-31 16:25:47 +08:00
LinkinStars 8431f9ab13 fix(answer): accept own answer does not produce achievement 2023-05-30 10:53:46 +08:00
LinkinStars 6e702de57c refactor(user): remove unused service 2023-05-29 17:01:18 +08:00
LinkinStars 262ae9bb18 refactor(notification): remove duplicated code 2023-05-29 15:47:46 +08:00
LinkinStars 20ac2b6c58 fix(connector): return error page when error occur 2023-05-29 15:22:20 +08:00
aichy126 03eae354f7 update IsQuestionsIgnorePath 2023-05-29 15:15:06 +08:00
LinkinStars 209dc4f623 refactor(agent): make a register for site URL 2023-05-29 15:08:03 +08:00
LinkinStars fb412cb417 refactor(avatar): remove all avatar global variables config 2023-05-29 14:58:58 +08:00
LinkinStars 7e9becd8f5 refactor(path): remove init for path ignore var 2023-05-29 12:14:33 +08:00
LinkinStars 184a04c245 feat(follow): refactor is followed 2023-05-29 11:14:57 +08:00
LinkinStars a0b5f882ad Merge remote-tracking branch 'github/feat/1.1.0/report' into feat/1.1.0/context 2023-05-29 10:40:01 +08:00
LinkinStars 72f43a8ef3 fix(migrations): remove invite user id when migration 2023-05-29 10:39:51 +08:00
LinkinStars 40690a2a36 fix(notification): add rank activity type translation 2023-05-29 10:38:59 +08:00
aichy126 03fb591c45 Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-26 18:21:21 +08:00
aichy126 cf8e08f501 fix GetUserQuestionCount 2023-05-26 18:21:16 +08:00
LinkinStars d0bc403c88 fix(activity): incorrectly uses value as id 2023-05-26 16:48:40 +08:00
LinkinStars 0c43b9c7b1 Merge branch 'feat/1.1.0/report' into feat/1.1.0/context 2023-05-26 15:26:07 +08:00
LinkinStars cbaf50e691 fix(user): check email invalid when oauth login 2023-05-26 15:23:23 +08:00
aichy126 4d1326f0df Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-26 11:10:00 +08:00
aichy126 749e4bced2 update admin question list 2023-05-26 11:09:55 +08:00
LinkinStars e0cc900309 chore(notification): format all response error 2023-05-26 10:52:49 +08:00
LinkinStars 879c781e35 refactor(config): remove all config global variables and cache all config related data 2023-05-25 20:13:18 +08:00
aichy126 fc94d667b7 update no_enough_rank_to_operate 2023-05-25 18:12:32 +08:00
LinkinStars 850637428c feat(permission): update translation for no enough reputation to operate 2023-05-25 18:03:10 +08:00
LinkinStars c7a7cc711e fix(gravatar): replace when set gravatar url 2023-05-25 17:00:03 +08:00
LinkinStars 3428b5fbc3 feat(permission): add user permission API 2023-05-25 16:51:17 +08:00
aichy126 bd079a0040 update Notification 2023-05-25 16:49:05 +08:00
aichy126 0a4f75323c update Notification 2023-05-25 16:30:19 +08:00
aichy126 36c93f546c Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-25 11:27:03 +08:00
aichy126 475433795b fix dump 2023-05-25 11:26:58 +08:00
LinkinStars f16207e30f Merge branch 'feat/1.1.0/report' into feat/1.1.0/context
# Conflicts:
#	internal/repo/rank/user_rank_repo.go
#	internal/repo/tag/tag_rel_repo.go
#	internal/service/report_admin/report_backyard.go
2023-05-25 11:25:38 +08:00
LinkinStars 49db3da26d refactor(context): add all context for data 2023-05-25 11:17:10 +08:00
LinkinStars f800076f85 refactor(user): move user info search API to auth router 2023-05-24 19:12:56 +08:00
LinkinStars 74a990d8b5 chore(config): remove secret_key config 2023-05-24 19:08:17 +08:00
aichy126 e8265a0ddf Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-24 15:20:12 +08:00
aichy126 0b7606ea22 update inbox 2023-05-24 15:20:07 +08:00
LinkinStars cb8a0e0a76 feat(question): add extends actions permission 2023-05-24 15:19:04 +08:00
LinkinStars 0f671dd9fd fix(connector): add response data log 2023-05-24 11:16:20 +08:00
aichy126 87d71bf290 update swagger 2023-05-24 11:04:03 +08:00
aichy126 fb86b861da update inbox 2023-05-24 11:02:16 +08:00
LinkinStars e12e0094d2 feat(notification): add email notification for invited to answer 2023-05-24 10:42:26 +08:00
aichy126 8b55c05522 Merge branch 'feat/1.1.0/report' of github.com:answerdev/answer into feat/1.1.0/report 2023-05-23 17:32:28 +08:00
aichy126 bd5ea55ac8 Upgrade v12 2023-05-23 17:32:23 +08:00
LinkinStars 674d98e983 feat(notification): add notification translation 2023-05-23 17:24:11 +08:00
LinkinStars 01bd603570 Merge branch 'feat/1.1.0/sql' into feat/1.1.0/report
# Conflicts:
#	internal/controller/question_controller.go
#	internal/migrations/migrations.go
#	internal/migrations/v13.go
2023-05-23 16:44:34 +08:00
LinkinStars 15438f0403 feat(notification): add notification for invited to answer 2023-05-23 16:32:10 +08:00
aichy126 f5bb3ff6e5 update invite user 2023-05-23 16:07:43 +08:00
aichy126 c777fec109 update invite user 2023-05-23 16:04:04 +08:00
aichy126 4d8bdd109e update invite user 2023-05-23 16:00:19 +08:00
LinkinStars 5db08a94a5 Merge branch 'feat/1.1.0/upgrade' into feat/1.1.0/report
# Conflicts:
#	internal/migrations/migrations.go
2023-05-23 15:33:55 +08:00
LinkinStars d262799865 chore(migrations): update migrations 2023-05-23 15:32:18 +08:00
aichy126 144caea4f9 update invite user 2023-05-23 14:54:59 +08:00
LinkinStars ba5aadf31b feat(rank): add permission and privilege reputation 2023-05-23 12:16:17 +08:00
aichy126 80b6b786c5 update inviteUser 2023-05-23 12:15:52 +08:00
aichy126 bbf7849fb7 update invite 2023-05-22 18:42:28 +08:00
LinkinStars 6efaf0857e feat(rank): cancel rank rollback when remove question and answer. 2023-05-22 15:26:20 +08:00
LinkinStars 7d23b17cdb fix(password): password can't contains space. 2023-05-22 15:09:42 +08:00
aichy126 5e33c28146 update show Deleted question 2023-05-19 15:58:56 +08:00
aichy126 5b649e4392 updateUserAnswerCount 2023-05-19 15:25:58 +08:00
aichy126 1860f3ecef add template language 2023-05-18 12:05:30 +08:00
aichy126 f266da8cea update ActionRecordReq 2023-05-17 18:32:13 +08:00
LinkinStars acad5b2811 feat(upgrade): support upgrade from specific version manually 2023-05-17 18:13:03 +08:00
aichy126 184a0324d3 update user rank 2023-05-17 17:48:02 +08:00
aichy126 3e17559623 update modify pass 2023-05-17 17:27:29 +08:00
aichy126 7603578f31 update activity 2023-05-17 17:06:21 +08:00
aichy126 26f4e2035f updateUserQuestionCount 2023-05-17 15:42:13 +08:00
aichy126 955a2a6fea update tag count 2023-05-17 15:09:13 +08:00
aichy126 83b4dfe4f9 update tag count 2023-05-17 12:11:59 +08:00
LinkinStars 5b7b49f87d Merge remote-tracking branch 'origin/beta.2/1.1.0' into feat/plugin/search 2023-05-17 11:44:19 +08:00
kumfo 332428fc37 feat(plugin): add search plugin 2023-05-17 11:23:52 +08:00
LinkinStars 8e46fe3ecd feat(email): translator email template using receiver language. 2023-05-17 11:10:45 +08:00
LinkinStars 15439d2260 Merge branch 'feat/1.1.0/smtp-insecure' into feat/1.1.0/report
# Conflicts:
#	internal/service/export/email_service.go
2023-05-17 10:43:25 +08:00
LinkinStars ac96115b76 feat(email): add SKIP_SMTP_TLS_VERIFY ENV for allow insecure certification. #271 2023-05-17 10:35:11 +08:00
LinkinStars 350df2da8b feat(email): translator all email template 2023-05-16 17:47:26 +08:00
aichy126 25ccd8f717 update question tags 2023-05-16 17:12:46 +08:00
aichy126 88d1faa73d update Question Count 2023-05-16 16:36:07 +08:00
aichy126 2da05f155c Merge branch 'beta.2/1.1.0' into feat/1.1.0/sql 2023-05-16 16:08:03 +08:00
aichy126 299b95b2f2 update user question count 2023-05-16 16:02:41 +08:00
LinkinStars e26d608aaf feat(reason): translator review reasons. 2023-05-16 15:22:46 +08:00
aichy126 9bba51b2e2 fix web icon 2023-05-16 14:39:18 +08:00
LinkinStars 952d846340 feat(reason): translator report reasons. 2023-05-16 11:48:35 +08:00
LinkinStars b564e975a8 Merge branch 'feat/1.1.0/upgrade' into feat/1.1.0/avatar 2023-05-15 11:20:58 +08:00
LinkinStars e947354a68 feat(upgrade): add gravatar base url 2023-05-15 11:20:50 +08:00
LinkinStars 2ca32147b4 feat(upgrade): support upgrade from specific version number manually 2023-05-11 11:55:39 +08:00
LinkinStars ea54aa75db feat(upgrade): replace i18n bundle using the upgrade command 2023-05-11 11:36:23 +08:00
LinkinStars b0a04bbf11 Merge remote-tracking branch 'github/feat/1.1.2/user-center' into beta.2/1.1.0
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
#	go.mod
#	i18n/en_US.yaml
#	internal/base/reason/reason.go
#	internal/migrations/init.go
#	internal/migrations/migrations.go
2023-05-09 10:49:00 +08:00
LinkinStars 1de9ef6a89 Merge remote-tracking branch 'github/feat/1.1.1/user-center' into beta.2/1.1.0
# Conflicts:
#	go.mod
#	i18n/en_US.yaml
#	internal/base/reason/reason.go
2023-05-09 10:39:04 +08:00
LinkinStars dacc27e373 Merge branch 'beta/1.1.0' into beta.2/1.1.0
# Conflicts:
#	internal/migrations/migrations.go
#	internal/schema/user_schema.go
#	ui/src/common/interface.ts
2023-05-09 10:15:58 +08:00
LinkinStars 3a6439a65d Merge branch 'feat/1.1.0/update-email' into test 2023-05-08 17:53:25 +08:00
LinkinStars 4f468b58d0 feat(password): logout other user when update password 2023-05-08 17:51:29 +08:00
aichy126 b06695f2e1 Merge branch 'feat/1.1.0/fix' into test 2023-05-08 16:02:22 +08:00
aichy126 58bec8ddd1 upgrade question post time 2023-05-08 16:01:57 +08:00
LinkinStars efb78124a9 feat(notification): remove user info when meet down vote notification. 2023-05-08 15:55:35 +08:00
LinkinStars 16f2de0ab4 Merge branch 'feat/1.1.0/update-email' into test 2023-05-06 15:53:49 +08:00
LinkinStars b50835f04e feat(email): verify password when update email 2023-05-06 15:53:10 +08:00
LinkinStars e45a5f151f Merge branch 'fix/1.1.0/personal-page' into test 2023-05-06 11:59:04 +08:00
LinkinStars fafdc5435a fix(personal): rename all wrong name about page size 2023-05-06 11:57:47 +08:00
LinkinStars 276e87af08 feat(notification): self-questioning does not generate notifications 2023-05-06 10:30:06 +08:00
LinkinStars c56d54b0fe feat(notification): add upvote and down vote notification 2023-05-04 19:22:25 +08:00
LinkinStars 3952439d49 feat(agent): add site info url for agent 2023-05-04 15:40:05 +08:00
LinkinStars ba475ddfbb feat(user): add externalID for login user 2023-04-28 20:08:22 +08:00
LinkinStars cba45d1eaa feat(user): check username after check user center config 2023-04-28 15:46:47 +08:00
aichy126 eeb67dd21e update add question postUpdateTime 2023-04-26 18:25:24 +08:00
LinkinStars ef47d3da01 feat(user-center): allow to create user in admin page 2023-04-26 11:01:45 +08:00
aichy126 f28b743519 update gpgrade pin list 2023-04-25 15:49:54 +08:00
LinkinStars e377daaac9 fix(plugin): fix rank config about question show/hide 2023-04-25 15:34:35 +08:00
LinkinStars df9b08abcf fix(plugin): fix update plugin status to default 2023-04-25 14:45:54 +08:00
LinkinStars 0f8c4c79b4 fix(plugin): fix rank config about question show/hide 2023-04-25 14:32:27 +08:00
aichy126 6b53609caf update upgrade pin list 2023-04-25 14:31:46 +08:00
aichy126 201a776cd6 update upgrade pin list 2023-04-25 14:16:51 +08:00
LinkinStars f391d3a8e8 chore(log): remove auth log 2023-04-25 14:14:21 +08:00
LinkinStars 76dfc362c9 fix(plugin): fix rank config about question show/hide 2023-04-25 14:09:06 +08:00
aichy126 f024f7aa86 Merge branch 'feat/1.1.2/user-center' of github.com:answerdev/answer into feat/1.1.2/user-center 2023-04-25 12:29:33 +08:00
aichy126 6f32e51319 update siteinfo 2023-04-25 12:29:29 +08:00
aichy126 779bd86e1d add static cache-control 2023-04-25 10:57:34 +08:00
LinkinStars f04d5a03f8 fix(plugin): fix plugin auth router 2023-04-25 10:54:35 +08:00
aichy126 587f0aa1e3 add static cache-control 2023-04-24 18:23:39 +08:00
aichy126 c3c7eb962d update tag search 2023-04-24 17:54:47 +08:00
aichy126 e95e2f3a2f update search question 2023-04-24 14:17:52 +08:00
aichy126 bed55985dd Merge branch 'feat/1.1.2/user-center' of github.com:answerdev/answer into feat/1.1.2/user-center 2023-04-23 15:10:52 +08:00
aichy126 499cfe9917 update search question 2023-04-23 15:10:44 +08:00