Commit Graph

333 Commits

Author SHA1 Message Date
shuai cdf5ffa0a8 feat: add custome sidebar fucntion 2023-04-17 18:32:43 +08:00
LinkinStars 4c4381e140 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-17 18:04:49 +08:00
LinkinStars 8800b376d5 feat(privilege): add privileges API 2023-04-17 18:04:28 +08:00
haitaoo fbb29a0b74 feat: admin/privilege 2023-04-17 17:54:51 +08:00
haitaoo 9da53361a7 feat: admin/settings-users 2023-04-17 16:42:53 +08:00
haitaoo 10afa0a47b refactor: AccordionNav, SchemaForm 2023-04-17 15:08:51 +08:00
LinkinStars 2bd0ef8a24 Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center 2023-04-17 11:08:54 +08:00
haitaoo f71ece495c feat(admin/login): Add `Email Registration` and `Allowed Email Domains` control options 2023-04-16 11:59:17 +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
haitaoo f02f62112a feat: Access to `WeCome` user login 2023-04-14 17:42:07 +08:00
LinkinStars a3cc0ac38a feat(usercenter): add user center plugin and agent 2023-04-14 17:33:22 +08:00
dashuai f4067a2b4f
Merge pull request #322 from answerdev/feat/1.0.9/ui
feat: add top hide function
2023-04-13 18:45:23 +08:00
shuai 17b7e9c7b8 feat: add top hide function 2023-04-13 18:43:48 +08:00
aichy126 0c17459965 update question 2023-04-13 18:20:26 +08:00
aichy126 13931e8da1 action i18n 2023-04-13 14:49:38 +08:00
haitaoo 8584a0e77b Merge branch 'feat/ui-1.1.0' into sf-site-migration/ui 2023-04-12 12:26:38 +08:00
haitaoo f37218bc70 Merge branch 'dev' into feat/ui-1.1.0 2023-04-12 12:25:41 +08:00
haitaoo cfd017de26 Merge branch 'feat/ui-1.1.0' into sf-site-migration/ui 2023-04-12 12:22:46 +08:00
haitaoo 0c3efb66ab Merge branch 'feat/1.0.8/ui' into feat/ui-1.1.0 2023-04-11 11:56:10 +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 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
dashuai 856ce08545
Merge pull request #305 from answerdev/feat/1.0.8/ui
Feat/1.0.8/UI
2023-04-06 17:12:53 +08:00
shuai 4c7c6e9aef fix: unclear semantics of the text #304 2023-04-06 17:11:50 +08:00
LinkinStars 2a121c573b feat(router): add middleware for user router 2023-04-03 11:17:38 +08:00
LinkinStars aa13657e8d Merge remote-tracking branch 'github/sf-site-migration/ui' into feat/1.1.1/user-center 2023-03-29 17:07:54 +08:00
haitaoo b47fb3da1c feat: Make user settings support `UserCenterAgent` 2023-03-29 15:24:18 +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
shuai 5969083f1c fix: add http 403 title 2023-03-24 09:52:07 +08:00
shuai fc53e2e91a fix: add http code 403 error content for admin 2023-03-23 16:15:44 +08:00
shuai 838c8f58b8 fix: modal confrim render content in the p tag 2023-03-22 17:16:31 +08:00
shuai 9c3c55fb5c feat: vote buttons add tips 2023-03-21 15:46:46 +08:00
shuai 48c28bdbdc feat: users with reputation less than 100 will be prompted to write answers 2023-03-21 14:57:38 +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
shuai f4212e2cd0 fix: resolve conflict 2023-03-21 11:37:22 +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
dashuai 234822c67f
Merge pull request #256 from answerdev/feat/1.0.7/ui
fix: i18n key fix
2023-03-14 14:11:37 +08:00
shuai 8415e120df fix: i18n key fix 2023-03-14 14:11:01 +08:00
dashuai 339d966aa7
Merge pull request #255 from answerdev/feat/1.0.7/ui
fix: handle https code 50X error content
2023-03-14 12:01:24 +08:00
shuai d182a1ff54 fix: handle https code 50X error content 2023-03-14 11:42:23 +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
haitao.jarvis 4c1db03a44
Merge pull request #245 from answerdev/feat/1.0.7/ui
Feat/1.0.7/UI
2023-03-07 16:11:47 +08:00
haitaoo 3312b352d2 Merge branch 'dev' into feat/ui-1.1.0 2023-03-07 15:40:34 +08:00
LinkinStars 4a8ae2b166 Merge branch 'dev' into feature-plugin 2023-03-07 15:39:07 +08:00
haitaoo a6720613bd Merge branch 'dev' into feat/1.0.7/ui 2023-03-07 15:24:13 +08:00
LinkinStars f319b43412 Merge remote-tracking branch 'github/dev' into feat/1.0.7/user-avatar 2023-03-07 15:24:08 +08:00
LinkinStars 02b536c2cf Merge remote-tracking branch 'github/test' into release/1.0.6
# Conflicts:
#	i18n/i18n.yaml
2023-03-07 10:06:44 +08:00
shuai 8fe292775a Merge branch 'feat/1.0.7/ui' of github.com:answerdev/answer into feat/1.0.7/ui 2023-03-03 16:57:41 +08:00
shuai 3a8aafdc38 fix: interface add default avatar 2023-03-03 16:57:33 +08:00
haitaoo 10fbdc1db8 feat(Tags): Now you can create tags directly 2023-03-03 16:37:07 +08:00
LinkinStars ee3fb56d54 feat(tag): Add create tag API 2023-03-02 17:00:16 +08:00
dashuai 77546afdab
Merge pull request #231 from answerdev/feat/1.0.6/ui
fix: question detail show delete msg for admin users
2023-03-01 17:29:45 +08:00
shuai 5471704b51 fix: question detail show delete msg for admin users 2023-03-01 17:28:50 +08:00
LinkinStars 9a07489475 Merge remote-tracking branch 'github/feat/1.0.6/object-not-found' into test 2023-02-27 14:47:45 +08:00
LinkinStars 88e11d117e feat(question): Only the admin and author can view the deleted post. 2023-02-27 14:45:08 +08:00
dashuai 25f5fe7e70
Merge pull request #223 from answerdev/feat/1.0.6/ui
Feat/1.0.6/UI
2023-02-27 10:58:06 +08:00
shuai 15536d5b27 fix: 404 page and 50X page ui changed 2023-02-27 10:57:26 +08:00
LinkinStars 0d1b043557 Merge remote-tracking branch 'github/fix/1.0.6/admin-permission' into test 2023-02-23 17:13:09 +08:00
LinkinStars 4ca2429d19 fix(admin): add restriction about admin modify their status 2023-02-23 11:44:05 +08:00
LinkinStars 15390adbfc fix(admin): add restriction about admin modify their password 2023-02-23 11:37:42 +08:00
aichy a80968f50c
fix is_used_cannot_delete (#213) 2023-02-23 10:54:35 +08:00
shuai b03269b383 feat: add draft for write answer or question #117 2023-02-22 14:47:20 +08:00
haitaoo 8df84b7684 Merge branch 'main' into feat/ui-1.1.0 2023-02-21 18:07:03 +08:00
LinkinStars 593ffad92d Merge branch 'github-main' into feature-plugin
# Conflicts:
#	go.mod
#	go.sum
#	ui/src/hooks/index.ts
#	ui/src/router/index.tsx
2023-02-21 17:37:36 +08:00
dashuai 58f1c199fa
Merge pull request #206 from answerdev/feat/1.0.5/ui
Feat/1.0.5/UI
2023-02-16 17:16:06 +08:00
shuai c57830f7b4 fix: content changes have not been saved to leave the page to increase the prompt 2023-02-16 12:14:00 +08:00
haitao.jarvis bf9ee2a4d0
Merge pull request #202 from answerdev/feat/1.0.5/ui
Feat/1.0.5/UI
2023-02-14 18:06:30 +08:00
haitaoo ce88efb174 fix(TagInfo): Set the correct permissions and prompt text for deleting tags 2023-02-14 17:46:00 +08:00
aichy126 cbc300ee19 update tag delete 2023-02-14 15:29:07 +08:00
shuai 8a0f4f1600 fix: form optional translation field unification 2023-02-13 16:42:08 +08:00
LinkinStars f9a1ffb7e5 Merge branch 'github-dev' into feat/ui-1.1.0
# Conflicts:
#	i18n/zh_CN.yaml
2023-02-08 14:40:39 +08:00
LinkinStars a8c2982a91 Merge branch 'github-main' into release/1.0.4
# Conflicts:
#	i18n/en_US.yaml
2023-02-07 17:38:58 +08:00
LinkinStars 964e6bd2d4 fix(upload): add image file check 2023-02-06 19:04:05 +08:00
LinkinStars a7a8cbf35c docs(i18n): Update i18n files 2023-02-06 10:56:07 +08:00
LinkinStars b5509a87f7 Merge branch 'main' into release/1.0.4
# Conflicts:
#	i18n/en_US.yaml
2023-02-06 10:49:04 +08:00
Fen 15105a8822
New Crowdin updates (#175)
* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (German)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Japanese)

* New translations en_US.yaml (Korean)

* New translations en_US.yaml (Portuguese)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Vietnamese)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Chinese Traditional)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Russian)

* New translations en_US.yaml (Chinese Simplified)

* Update en_US.yaml

fix user display name length

* update mark

* update select

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Chinese Simplified)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* New translations en_US.yaml (Romanian)

* New translations en_US.yaml (Afrikaans)

* New translations en_US.yaml (Arabic)

* New translations en_US.yaml (Catalan)

* New translations en_US.yaml (Czech)

* New translations en_US.yaml (Danish)

* New translations en_US.yaml (Greek)

* New translations en_US.yaml (Finnish)

* New translations en_US.yaml (Hebrew)

* New translations en_US.yaml (Hungarian)

* New translations en_US.yaml (Armenian)

* New translations en_US.yaml (Dutch)

* New translations en_US.yaml (Norwegian)

* New translations en_US.yaml (Polish)

* New translations en_US.yaml (Albanian)

* New translations en_US.yaml (Serbian (Cyrillic))

* New translations en_US.yaml (Swedish)

* New translations en_US.yaml (Turkish)

* New translations en_US.yaml (Ukrainian)

* New translations en_US.yaml (Portuguese, Brazilian)

* New translations en_US.yaml (Bengali)

* New translations en_US.yaml (Azerbaijani)

* New translations en_US.yaml (Bosnian)

* New translations en_US.yaml (Balochi)

* New translations en_US.yaml (Balinese)

* New translations en_US.yaml (French)

* New translations en_US.yaml (French)

* fix typo

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Indonesian)

* New translations en_US.yaml (Italian)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Spanish)

* New translations en_US.yaml (Chinese Traditional)
2023-02-06 10:31:45 +08:00
shuai dfcd64e2a4 fix: optimize third-party login display name 2023-02-03 17:49:48 +08:00
haitao(lj) e8246433a2 Merge branch 'feat/ui-1.0.4' into feat/ui-1.1.0 2023-02-03 16:49:14 +08:00
贾海涛(龙笛) 7a57cb5543 Merge branch 'feat/ui-1.0.4' into 'test'
Feat/ui 1.0.4

See merge request opensource/answer!431
2023-02-02 02:55:28 +00:00
haitao(lj) b4738439c9 fix(i18n): Update i18n files 2023-02-02 10:49:37 +08:00
贾海涛(龙笛) d00f6e3476 Merge branch 'feat/ui-1.0.4' into 'test'
fix(i18n): Set the site_name in i18n to the configured value

See merge request opensource/answer!425
2023-01-30 06:26:48 +00:00
haitao(lj) bf3efbb45e fix(i18n): Set the site_name in i18n to the configured value 2023-01-30 12:20:15 +08:00
Ren Yubin 7e1d314dfc Merge branch 'feat/ui-1.0.4' into 'test'
Feat/ui 1.0.4

See merge request opensource/answer!423
2023-01-29 08:39:33 +00:00
shuai 4e77db3e27 fix: increase the number of lists with text descriptions 2023-01-29 16:33:05 +08:00
LinkinStar 92a82e1673 feat(comment): Add comment modification time limit condition 2023-01-28 16:53:12 +08:00
shuai bdaf254af1 fix: username verification format #181 2023-01-28 11:05:31 +08:00
shuai 3466da2b0c feat(ui): unified management welcome 2023-01-17 11:51:42 +08:00
shuai b35d2564b5 fix(ui): resolve conflict 2023-01-16 18:38:27 +08:00
robin 152d8d2f68 feat(ui): Add plugin configuration 2023-01-13 16:14:59 +08:00
robin b8cfde0425 feat(ui): add installed plugins page 2023-01-13 16:13:56 +08:00
shuai 479892b156 feat: add oauth plugin 2023-01-13 11:38:01 +08:00
haitao(lj) 8a11d94c1b fix(Branding): Set all branding field optional 2023-01-11 11:10:33 +08:00
shuai a88b476803 Merge branch 'feat/ui-1.1.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-1.1.0 2023-01-10 16:49:56 +08:00
shuai 0a1f1b1372 chore: add oauth pages 2023-01-10 16:49:50 +08:00
haitao(lj) 9a28d8f6c6 feat(tryLoggedAndNormal): Add `loginToContinue` modal for tryLoggedAndNormal guard 2023-01-10 16:25:26 +08:00
robin d02d086d45 refactor: update en_US.yaml 2023-01-10 11:22:59 +08:00
haitao(lj) c0cf0e6861 fix(siteName): Use dynamic site names on registration and login pages 2023-01-09 15:21:25 +08:00
LinkinStar 5a2fea3637 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2023-01-04 10:10:10 +08:00
LinkinStar 640ae6e3b9 fix(question): Incorrect empty query condition in postgres causes query problem bug. Fix #148 2023-01-04 10:09:37 +08:00
LinkinStar 7268fe2331 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-30 17:09:47 +08:00
LinkinStar 96e292462e feat(question): Adjust the home page problem list display rules 2022-12-30 17:09:32 +08:00
贾海涛(龙笛) 748f7bdeb6 Merge branch 'feat/ui-1.0.2' into 'test'
feat(HotQuestions): Hot questions maximum request 6 items

See merge request opensource/answer!389
2022-12-27 10:15:25 +00:00
haitao(lj) f4f2e05482 feat(Users): Add user unsubscribe result 2022-12-27 11:36:26 +08:00
LinkinStar 36020bdbd6 Merge remote-tracking branch 'origin/feat/1.0.2/user' into test 2022-12-26 11:53:25 +08:00
LinkinStar 48a54e8139 fix(smtp): Check From Name in SMTP is not a Email 2022-12-26 11:49:38 +08:00
haitao(lj) feddfffdde refactor(Dashboard): Feedback Change to Support 2022-12-26 10:18:07 +08:00
aichy b8077d37b3 update Adopt to Accept 2022-12-22 11:04:19 +08:00
Ren Yubin 995db52793 Merge branch 'feat/ui-0.7.0' into 'test'
refactor: update i18n file

See merge request opensource/answer!350
2022-12-16 07:40:31 +00:00
robin 4961f41542 refactor: update i18n file 2022-12-16 15:34:16 +08:00
Ren Yubin dad0b7f888 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!349
2022-12-16 07:18:15 +00:00
robin 7b4d41274d refactor: update en_US.yaml 2022-12-16 15:10:03 +08:00
贾海涛(龙笛) 3468cba95b Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!337
2022-12-14 07:16:47 +00:00
haitao(lj) 32f009b096 Merge branch 'feat/ui-0.7.0' of git.backyard.segmentfault.com:opensource/answer into feat/ui-0.7.0 2022-12-14 15:08:56 +08:00
haitao(lj) 30f7edd614 chore: admin/general,interface,seo, customize etc... 2022-12-14 15:08:52 +08:00
Ren Yubin cfb383bde7 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!333
2022-12-14 01:32:38 +00:00
robin 79a12ab9b6 refactor(ui): update en_US.yaml 2022-12-13 18:40:02 +08:00
Ren Yubin ed242e7569 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!332
2022-12-13 09:43:22 +00:00
robin d0af8b843e refactor: update en_US.yaml 2022-12-13 16:47:53 +08:00
Ren Yubin 8bc408eaa2 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!331
2022-12-13 08:29:11 +00:00
robin bd478a1400 refactor: update en_US.yaml 2022-12-13 16:18:13 +08:00
贾海涛(龙笛) 1a453bdf72 Merge branch 'feat/ui-0.7.0' into 'test'
Feat/ui 0.7.0

See merge request opensource/answer!329
2022-12-12 05:38:07 +00:00
LinkinStar 1d3c6e531c Merge remote-tracking branch 'origin/feat/0.7.0/user-manage' into test 2022-12-12 13:16:30 +08:00
haitao(lj) 79f25466ca feat(admin/users): add new user and change user password done 2022-12-10 16:37:18 +08:00
haitao(lj) 481d16ba16 feat(admin/login): Complete login setting api interfacing 2022-12-10 15:30:36 +08:00
haitao(lj) b062a71234 feat(admin/theme): Complete theme api interfacing 2022-12-10 14:45:25 +08:00
LinkinStar c09d861b5d feat(seo): seo update 2022-12-09 10:35:49 +08:00
haitao(lj) 1537f502f4 Merge branch 'feat/ui-0.6.0' into feat/ui-0.7.0 2022-12-09 10:12:12 +08:00
贾海涛(龙笛) dd269d9a3e Merge branch 'feat/ui-0.6.0' into 'test'
Feat/ui 0.6.0

See merge request opensource/answer!326
2022-12-08 11:12:56 +00:00
haitao(lj) 32f7a0a89c refactor(users/settings): refactoring forms according to specifications 2022-12-08 19:07:31 +08:00
haitao(lj) 50133f5fe3 fix(admin/smtp): add label for smtp authentication 2022-12-08 15:18:04 +08:00
LinkinStar b9ed2e5050 fix(tag): can not set synonym as tag itself 2022-12-08 10:43:45 +08:00
LinkinStar 3e457b93df fix(i18n): Wrong role translation 2022-12-07 18:47:24 +08:00
robin 3c6151b806 feat(ui): admin module update 2022-12-07 18:15:27 +08:00
LinkinStar 1fe69bcb65 feat(login): add private mode and allowed user sign up config 2022-12-07 15:23:22 +08:00
haitao(lj) 6904c9775c Merge branch 'feat/ui-0.6.0' into feat/0.6.0/seo 2022-12-06 18:19:47 +08:00
haitao(lj) 7d6acca9c9 fix(i18n): Rewrite description as desc to be compatible with go-i18n 2022-12-06 18:13:04 +08:00
haitao(lj) fcb6197748 Merge branch 'dev' into feat/ui-0.6.0 2022-12-06 17:30:01 +08:00
LinkinStar f3e42f72ac Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
#	internal/controller/controller.go
2022-12-06 16:56:30 +08:00
LinkinStar d95bd6aa79 Merge branch 'feat/0.6.0/user-role' into test
# Conflicts:
#	i18n/zh_CN.yaml
#	internal/controller/answer_controller.go
#	internal/migrations/v3.go
#	internal/schema/activity.go
2022-12-06 16:50:55 +08:00
haitao(lj) 1812d59cd9 feat(seo): add robots setting for seo 2022-12-06 10:35:06 +08:00
kumfo aee0baba92 feat(template/timeformat): backend time render synchronous with frontend 2022-12-05 14:56:18 +08:00
kumfo 19f119423f feat: template render time i18n 2022-12-05 11:27:37 +08:00
shuai 57804fc4d9 fix: question add reopen operation 2022-12-02 17:19:31 +08:00
LinkinStar 2b0634e2e6 feat(rank): Modify all permission restriction controls 2022-12-02 15:08:18 +08:00
haitao(lj) ca576d9b12 feat(permalink): permalink factory method done 2022-12-02 11:52:00 +08:00
shuai 0fd2a807b0 fix: conflict 2022-12-01 19:01:33 +08:00
LinkinStar affd376f57 Merge branch 'dev' into feat/0.6.0/user-role 2022-12-01 18:23:56 +08:00
shuai 2841e3eef2 feat: edit content in review will show toast msg 2022-12-01 18:21:53 +08:00