Commit Graph

733 Commits

Author SHA1 Message Date
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 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 6e702de57c refactor(user): remove unused service 2023-05-29 17:01:18 +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 40690a2a36 fix(notification): add rank activity type translation 2023-05-29 10:38:59 +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
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
aichy126 bd079a0040 update Notification 2023-05-25 16:49:05 +08:00
aichy126 0a4f75323c update Notification 2023-05-25 16:30:19 +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 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
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
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 4d8bdd109e update invite user 2023-05-23 16:00:19 +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
aichy126 5e33c28146 update show Deleted question 2023-05-19 15:58:56 +08:00
aichy126 7603578f31 update activity 2023-05-17 17:06:21 +08:00
aichy126 955a2a6fea update tag count 2023-05-17 15:09:13 +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 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
LinkinStars 952d846340 feat(reason): translator report reasons. 2023-05-16 11:48:35 +08:00
LinkinStars e947354a68 feat(upgrade): add gravatar base url 2023-05-15 11:20:50 +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
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
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 6f32e51319 update siteinfo 2023-04-25 12:29:29 +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 af08b3e392 feat(usercenter): plugin user center add i18n 2023-04-20 19:10:24 +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 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
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 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
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 fd703ea50f fix 2023-04-04 17:20:41 +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 f93beb51ca update tag 2023-03-24 16:39:08 +08:00
aichy126 d3d049a9b3 update question 2023-03-24 15:12:23 +08:00
aichy126 dc06848556 update tag 2023-03-24 14:41:59 +08:00
aichy126 e1195a183a update question 2023-03-24 12:32:39 +08:00
aichy126 629a917f4d update question 2023-03-24 11:58:05 +08:00
aichy126 89738b8898 add Revision 2023-03-24 11:49:23 +08:00
aichy126 ac3f2f047e remove exif 2023-03-23 11:52:28 +08:00
LinkinStars 28e9916468 refactor(merge): merge 1.0.7 2023-03-21 11:53:15 +08:00
LinkinStars 9bd9b475f4 Merge branch 'feat/ui-1.1.0' into feature-plugin
# Conflicts:
#	internal/base/reason/reason.go
#	internal/schema/user_schema.go
#	internal/service/user_service.go
2023-03-21 11:45:50 +08:00
aichy126 13733a226b Merge branch 'feat/1.0.7/short-id' into test 2023-03-17 17:16:33 +08:00
aichy126 6f91bc8950 update tag 2023-03-17 17:16:09 +08:00
aichy126 1cd1946532 Merge branch 'feat/1.0.7/tag' into feat/1.0.7/short-id 2023-03-17 17:16:04 +08:00
aichy126 72636ab507 update vote 2023-03-17 17:03:42 +08:00
aichy126 61c2d55f5d Merge branch 'feat/1.0.7/short-id' into test 2023-03-17 10:55:18 +08:00
aichy126 d7d652040c update short id 2023-03-17 10:54:54 +08:00
aichy126 ebacd7e8e1 Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 16:24:51 +08:00
aichy126 6a1ae9140f fix question 2023-03-16 16:24:31 +08:00
aichy126 7080523129 Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 15:44:08 +08:00
aichy126 7fc5dbbf63 update tags 2023-03-16 15:43:50 +08:00
aichy126 de7a80d735 Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 15:23:15 +08:00
aichy126 a2bc103d4f update question 2023-03-16 15:22:47 +08:00
LinkinStars 824b68c152 feat(plugin): remove debug log 2023-03-16 14:56:44 +08:00
aichy126 88d79ec42a Merge branch 'feat/1.0.7/short-id' into test 2023-03-16 10:40:52 +08:00
aichy126 5d6bd5976c update tags 2023-03-16 10:40:35 +08:00
aichy126 28d76b5e13 Merge branch 'feat/1.0.7/short-id' into test 2023-03-15 17:35:47 +08:00
aichy126 cf2fc12e38 update answer 2023-03-15 17:34:16 +08:00
aichy126 76605ebccd Merge branch 'feat/1.0.7/short-id' into test 2023-03-13 11:31:54 +08:00
aichy126 2d87c8d494 update question 2023-03-13 11:28:35 +08:00
aichy126 1a814da53b update question 2023-03-13 11:12:31 +08:00
aichy126 ca6d8fb5a8 update question 2023-03-13 11:01:32 +08:00
LinkinStars b44824cf78 feat(plugin): If user has only one external login and never set password, he can't unbind it 2023-03-10 10:42:45 +08:00
aichy126 ec6b94c96d Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 16:41:23 +08:00
aichy126 e184986459 update del question 2023-03-09 16:41:03 +08:00
aichy126 f52869ddd8 Merge branch 'feat/1.0.7/short-id' into test 2023-03-09 16:06:52 +08:00