Commit Graph

1377 Commits

Author SHA1 Message Date
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
LinkinStars 7824797648 fix(rank): update answer accept rank config 2023-04-21 17:24:23 +08:00
LinkinStars f500da413c feat(init): add users init config 2023-04-21 17:23:31 +08:00
LinkinStars d5f95c5bde Merge branch 'github-main' into beta/1.1.0
# Conflicts:
#	internal/migrations/migrations.go
2023-04-21 16:54:04 +08:00
LinkinStars 51ac1e6b76 fix(rank): update answer accept rank config 2023-04-21 16:52:22 +08:00
LinkinStars 9f9258fccd chore(migration): rename upgrade version 2023-04-21 16:45:06 +08:00
LinkinStars e49b6fbb54 fix(rank): remove accept answer rank config 2023-04-21 16:43:07 +08:00
LinkinStars af08b3e392 feat(usercenter): plugin user center add i18n 2023-04-20 19:10:24 +08:00
aichy126 0f5e9845f9 Merge branch 'dev' into beta/1.1.0 2023-04-20 16:56:21 +08:00
aichy126 a93668d455 update search 2023-04-20 16:18:22 +08:00
LinkinStars 8adc975699 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts:
#	internal/migrations/init.go
2023-04-20 10:36:54 +08:00
LinkinStars d02ec9712a fix(rank): fix the wrong reputation authority configuration 2023-04-20 10:15:22 +08:00
LinkinStars 8c45d75968 fix(rank): fix the wrong reputation authority configuration 2023-04-20 10:04:43 +08:00
LinkinStars 8fb303d024 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts:
#	Makefile
#	i18n/en_US.yaml
#	internal/migrations/migrations.go
2023-04-19 17:50:35 +08:00
LinkinStars fc9de356d6 Merge branch 'github-main' into beta/1.1.0
# Conflicts:
#	Makefile
#	internal/migrations/migrations.go
#	ui/src/common/interface.ts
2023-04-19 16:57:48 +08:00
LinkinStars b5ef7912d1 feat(usercenter): add user login API agent 2023-04-19 16:32:43 +08:00
LinkinStars 86685202ac feat(usercenter): add user center email auth check 2023-04-18 18:21:50 +08:00
aichy126 bcc732d89c update search 2023-04-18 17:11:38 +08:00
aichy126 78c3ef84c0 update user answer list 2023-04-17 18:04:57 +08:00
LinkinStars 8800b376d5 feat(privilege): add privileges API 2023-04-17 18:04:28 +08:00
aichy126 910484013c update custom_sidebar 2023-04-17 17:59:53 +08:00
LinkinStars 336f54ff49 fix(siteinfo): rename GetSiteInfoByType 2023-04-16 12:42:45 +08:00
LinkinStars a5a3664f90 Merge branch 'feat/1.1.2/permission' into feat/1.1.2/user-center
# Conflicts:
#	internal/base/constant/constant.go
2023-04-16 12:40:16 +08:00
LinkinStars a2ba1144ee feat(plugin): add user center config user role API 2023-04-16 12:39:02 +08:00
LinkinStars 0f7121d6fe fix(merge): update go mod 2023-04-14 18:24:09 +08:00
LinkinStars e280358b7c Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts:
#	Makefile
#	cmd/answer/main.go
#	go.mod
#	go.sum
#	i18n/en_US.yaml
#	internal/base/reason/reason.go
#	internal/service/uploader/upload.go
2023-04-14 18:17:28 +08:00
LinkinStars ec4c7ab6a7 feat(site-users): add site info config about users 2023-04-14 18:12:04 +08:00
LinkinStars a3cc0ac38a feat(usercenter): add user center plugin and agent 2023-04-14 17:33:22 +08:00
aichy126 0c533e554d update question 2023-04-13 18:39:06 +08:00
aichy126 0124cfc435 update question 2023-04-13 18:27:43 +08:00
aichy126 0c17459965 update question 2023-04-13 18:20:26 +08:00
aichy126 0de09c5305 update question pin show 2023-04-13 17:34:02 +08:00
aichy126 766bf793c4 update question pin show 2023-04-13 16:59:11 +08:00
aichy126 a038664fb4 update question pin and show 2023-04-13 15:46:36 +08:00
aichy126 990e749743 add question actions 2023-04-13 14:39:27 +08:00
aichy126 b0d2cdc4a0 add question operation 2023-04-13 11:17:17 +08:00
LinkinStars 4cfa0cd8fe feat(permission): add privileges API 2023-04-12 10:35:40 +08:00
LinkinStars 759f1491c9 Merge branch 'github-main' into beta/1.1.0
# Conflicts:
#	Makefile
#	cmd/answer/main.go
#	go.mod
#	go.sum
#	internal/base/reason/reason.go
#	internal/service/uploader/upload.go
#	ui/src/utils/common.ts
2023-04-11 11:28:57 +08:00
LinkinStars e037d0f005 Merge branch 'release/1.0.8' into github-main
# Conflicts:
#	i18n/zh_CN.yaml
2023-04-11 10:46:10 +08:00
LinkinStars 1c235dbd9b feat(permission): add privileges 2023-04-11 10:27:18 +08:00
aichy126 9945c9f96f Merge branch 'feat/1.0.8/tag' into test 2023-04-10 15:21:19 +08:00
aichy126 5fc73a3277 update seo template 2023-04-10 15:20:44 +08:00
LinkinStars c7c0c67d5c Merge branch 'feat/1.0.8/admin-auth' into test 2023-04-10 15:20:35 +08:00
LinkinStars e0fe3f29ed feat(permission): add i18n for permission action 2023-04-10 15:20:01 +08:00
aichy126 05d1ae6b37 Merge branch 'feat/1.0.8/tag' into test 2023-04-10 11:17:09 +08:00
aichy126 234d240868 update short id 2023-04-10 11:16:48 +08:00
LinkinStars 9fdd62e5d9 Merge branch 'feat/1.0.8/admin-auth' into test 2023-04-04 17:29:41 +08:00
aichy126 6fd7ae14b7 Merge branch 'feat/1.0.8/tag' into test 2023-04-04 17:21:34 +08:00
aichy126 fd703ea50f fix 2023-04-04 17:20:41 +08:00
aichy126 d69afe50ec Merge branch 'feat/1.0.8/tag' into test 2023-04-04 16:54:49 +08:00
aichy126 2536703f32 update question 2023-04-04 16:54:28 +08:00
LinkinStars 150432835b feat(user): return user info when changed email 2023-04-04 15:13:32 +08:00
LinkinStars ad13b97eaf feat(rank): removed reputation-related leaderboard and notification content 2023-04-03 18:13:35 +08:00
aichy126 219bc317d0 update question 2023-04-03 14:24:46 +08:00
aichy126 9b7fdf77f1 update goreleaser 2023-04-03 12:20:00 +08:00
LinkinStars 2a121c573b feat(router): add middleware for user router 2023-04-03 11:17:38 +08:00
LinkinStars eb0e54c724 fix(activity): show the trigger user info when display timeline 2023-04-03 11:14:28 +08:00
LinkinStars e5df07ad7c feat(plugin): add user center plugin 2023-03-29 17:12:45 +08:00
LinkinStars 7495f068df
Fix(role): Fix an issue that admin could not be set correctly under sqlite (#284)
* fix(role): use session in transaction

* refactor(role): rename remove user tokens function
2023-03-26 17:26:16 +08:00
aichy126 590fffc017 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 16:39:32 +08:00
aichy126 f93beb51ca update tag 2023-03-24 16:39:08 +08:00
aichy126 edb45261d6 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 15:51:57 +08:00
aichy126 45f2f06698 update vote 2023-03-24 15:51:32 +08:00
aichy126 37566d3178 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 15:14:37 +08:00
aichy126 d3d049a9b3 update question 2023-03-24 15:12:23 +08:00
aichy126 74cddd0043 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 14:42:21 +08:00
aichy126 dc06848556 update tag 2023-03-24 14:41:59 +08:00
aichy126 68cf4d79e5 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 12:33:01 +08:00
aichy126 e1195a183a update question 2023-03-24 12:32:39 +08:00
aichy126 e40ac3d115 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 12:21:30 +08:00
aichy126 82307f9c6b update revision 2023-03-24 12:21:09 +08:00
aichy126 a60097c678 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 11:58:21 +08:00
aichy126 629a917f4d update question 2023-03-24 11:58:05 +08:00
aichy126 203d3822f8 Merge branch 'feat/1.0.8/tag' into test 2023-03-24 11:53:54 +08:00
aichy126 9d3b391820 update question 2023-03-24 11:53:18 +08:00
aichy126 89738b8898 add Revision 2023-03-24 11:49:23 +08:00