1105 Commits

Author SHA1 Message Date
Yang Luo
7871541cd5 Use providerItem.canUnbind 2021-06-14 23:53:43 +08:00
Yang Luo
985205a978 Improve buttons. 2021-06-14 23:43:09 +08:00
wasabi
134b2db3d7
feat: support long OAuth buttons for providers (#106)
* Show signup preview.

* feat: support other mode,dingtalk,weibo,wechat,gitee,facebook

Signed-off-by: wasabi <690898835@qq.com>

* feat: convert svg codes into files.

Signed-off-by: wasabi <690898835@qq.com>

* feat: convert svg codes into files.

Signed-off-by: wasabi <690898835@qq.com>

Co-authored-by: Yang Luo <hsluoyz@qq.com>
2021-06-14 23:29:22 +08:00
Yang Luo
c122e89fc1 Improve jump links. 2021-06-14 23:23:59 +08:00
Yang Luo
a7912eecc1 Add SigninUrl to application. 2021-06-14 22:55:08 +08:00
Yang Luo
cc31c1d666 Add login page "signup" mode. 2021-06-14 22:42:58 +08:00
Yang Luo
5a852bfd1d Use new providerItem. 2021-06-14 22:42:34 +08:00
Yang Luo
9fe310f2b7 Add provider table. 2021-06-14 19:09:04 +08:00
Yang Luo
2e68f8c6d5 Improve i18n. 2021-06-14 17:18:40 +08:00
Yang Luo
7f22f05073 Show signup preview. 2021-06-14 13:55:53 +08:00
wasabi
d14ba476b9
feat: add gitee provider (#104)
* feat: add gitee provider

Signed-off-by: wasabi <690898835@qq.com>

* Update gitee.go

Signed-off-by: wasabi <690898835@qq.com>
2021-06-14 12:53:07 +08:00
Yang Luo
00ba783fc4 Use static resources. 2021-06-12 12:29:07 +08:00
Yang Luo
56b2c91217 Update StaticBaseUrl. 2021-06-12 12:07:24 +08:00
Yang Luo
e1673c1541 Add StaticBaseUrl. 2021-06-12 11:52:59 +08:00
Yang Luo
8ddc0cd626 Improve oauth button UI. 2021-06-11 20:48:42 +08:00
wasabi
35443f82c6 fix: unable to close the modal by clicking the inner layer
Signed-off-by: wasabi <690898835@qq.com>
2021-06-10 20:05:00 +08:00
wasabi
3d3a331784 feat: add weibo provider
Signed-off-by: wasabi <690898835@qq.com>
2021-06-10 16:55:36 +08:00
Yang Luo
440aad2369 Only show some providers in signup page. 2021-06-09 20:42:23 +08:00
Yang Luo
ec91ded5aa Remove header for some pages. 2021-06-09 20:38:46 +08:00
wasabi
4162ab4984 feat: add dingtalk provider (#94)
* feat: add dingtalk provider

Signed-off-by: zKen <690898835@qq.com>

* fix: amend the comment

Signed-off-by: zKen <690898835@qq.com>
2021-06-09 19:53:22 +08:00
Yang Luo
cd89f7a559
Merge pull request #80 from 1340908470/master
feat: find back password using email/phone instead of username
2021-06-07 20:12:27 +08:00
Weihao
c983ee7ca6 feat: won't send verification code if there is no account bounded to phone/email
Signed-off-by: Weihao <1340908470@qq.com>
2021-06-07 19:13:06 +08:00
Yang Luo
89fb4e555e
Merge pull request #77 from WindSpiritSR/patch
fix: <Link> to <a> and table key
2021-06-06 23:36:36 +08:00
WindSpiritSR
6142ca52ca
feat: add facebook provider (#79)
* feat: add facebook provider

Signed-off-by: WindSpirit <simon343riley@gmail.com>

* fix: set fb id to username and reformat

Signed-off-by: WindSpirit <simon343riley@gmail.com>
2021-06-06 10:06:54 +08:00
Yang Luo
eb658ad8ee Support affiliation sync. 2021-06-04 23:26:30 +08:00
WindSpirit
860fe91725 fix: <Link> to <a> and table key
Signed-off-by: WindSpirit <simon343riley@gmail.com>
2021-06-04 21:09:34 +08:00
Yang Luo
081da18403 Add address to user. 2021-06-04 20:54:17 +08:00
Yang Luo
7434d0f3d3 Fix "forget password" back bug. 2021-06-04 01:27:20 +08:00
Weihao Chen
1cb5ae54c5
feat: add "forget password" [front & backend] (#75)
* feat: add "forget password" [front & backend]

Signed-off-by: Weihao <1340908470@qq.com>

* fix: verification code can be sent even if no mobile phone or email is selected
refactor: forgetPassword -> forget; GetEmailAndPhoneByUsername -> GetEmailAndPhone; remove useless note

Signed-off-by: Weihao <1340908470@qq.com>
2021-06-02 13:39:01 +08:00
Yang Luo
29049297d8 Fix old-format oauth data bugs. 2021-06-01 23:32:34 +08:00
Yang Luo
90e617b2dc Improve "Third-party logins" UI. 2021-05-31 01:49:38 +08:00
Yang Luo
11f1f8f440 Show properties in user page. 2021-05-30 18:35:05 +08:00
Yang Luo
dc89f2b0f6 Add Properties to user. 2021-05-30 18:24:22 +08:00
Yang Luo
089ff6c6eb Add AffiliationUrl. 2021-05-24 21:27:00 +08:00
Yang Luo
b23e8cf90c Improve i18n. 2021-05-24 20:48:04 +08:00
Yang Luo
2fff5f79ce Can set email title and content now. 2021-05-24 20:21:41 +08:00
Yang Luo
705c0159d4 Add id to VerificationRecord. 2021-05-24 19:25:35 +08:00
Yang Luo
bd888fad38 Fix translation. 2021-05-23 23:40:44 +08:00
Yang Luo
31d981baf1 Fix small issues. 2021-05-23 23:38:38 +08:00
Kininaru
f39378562f feat: turing test before send code
Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-22 21:03:49 +08:00
Kininaru
b2a75a527b feat: intergrate verification code countdown as a component
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-20 21:09:12 +08:00
Kininaru
66d953a6c1 feat: check user email and phone when signing up
Signed-off-by: Kininaru <shiftregister233@outlook.com>

phone prefix error

Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

fix i18n error

Signed-off-by: Kininaru <shiftregister233@outlook.com>

removed useless file

Signed-off-by: Kininaru <shiftregister233@outlook.com>

move timeout to app.conf

Signed-off-by: Kininaru <shiftregister233@outlook.com>

i18n

Signed-off-by: Kininaru <shiftregister233@outlook.com>

made verification code reusable

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-18 22:20:26 +08:00
Yang Luo
e6862713bb Improve password length check. 2021-05-16 22:01:22 +08:00
Yang Luo
18806f07a8 Support cred auto-login. 2021-05-16 18:18:55 +08:00
Yang Luo
df7ac93feb Show error "Invalid JWT token". 2021-05-15 23:34:06 +08:00
Yang Luo
55e0fe14ca Improve reset buttons. 2021-05-15 20:44:40 +08:00
Yang Luo
e206ec5057 Update antd to latest v4.15.5 2021-05-15 20:32:00 +08:00
Yang Luo
43db2de8d8 Add phone provider. 2021-05-15 13:43:21 +08:00
Kininaru
18ea101db8 fix: remove all dom APIs from the project
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-15 12:35:49 +08:00
Kininaru
d8e5194e99 fix: send code button background color
Signed-off-by: Kininaru <shiftregister233@outlook.com>

fixed error

Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-05-15 11:58:23 +08:00