2031 Commits

Author SHA1 Message Date
Yang Luo
0f69f4f07c Refactor our OAuthWidget.js 2021-06-20 00:42:32 +08:00
turbodog
3a806c14ff feat: improve i18n and add some translation
Signed-off-by: turbodog <turbodog1003@gmail.com>
2021-06-20 00:32:16 +08:00
Yang Luo
165e6a9876 Improve UI. 2021-06-19 23:50:45 +08:00
Yang Luo
504ab7a9ed
Merge pull request #121 from sh1luo/feat-show-users-for-each-org
feat: reuse component Users
2021-06-19 22:16:18 +08:00
wasabi
50a9ca2b4c feat: reuse component Users
Signed-off-by: wasabi <690898835@qq.com>
2021-06-19 11:38:24 +08:00
Yang Luo
910ea04384 Add renderAffiliation(). 2021-06-18 23:43:36 +08:00
Yang Luo
6dc3fd0f45 Avoid linking the same account twice. 2021-06-18 23:25:24 +08:00
Yang Luo
01d5f3b776
Merge pull request #118 from oranges-eating/master
fix: Properties can now be updated
2021-06-18 17:17:21 +08:00
killer
00134dda4f fix: Properties can now be updated
Signed-off-by: killer <1533063601@qq.com>
2021-06-18 16:16:40 +08:00
Yang Luo
92610f9971 Add prompt page. 2021-06-18 02:09:19 +08:00
Yang Luo
32afafd56c Add Prompted field. 2021-06-18 02:02:43 +08:00
Yang Luo
ce60a76920 Rename canUnbind to canUnlink. 2021-06-17 13:45:10 +08:00
Yang Luo
586da5caac Add isValidPersonalName(). 2021-06-17 11:55:06 +08:00
Yang Luo
5b9a91db85 Fix bug in isProviderVisible(). 2021-06-17 01:49:05 +08:00
Yang Luo
9dd43238f0 Add DefaultAvatar to org. 2021-06-17 01:44:19 +08:00
Yang Luo
b11b3b6021 Use signup table in Signup API. 2021-06-17 00:49:02 +08:00
Yang Luo
3274bd0c7c Improve signup page. 2021-06-16 15:25:54 +08:00
Yang Luo
02b1feb2e5 Add signup table. 2021-06-16 14:07:39 +08:00
Yang Luo
7ea469e876 Add provider_item.go 2021-06-16 00:18:56 +08:00
Yang Luo
8bc9163def Improve i18n. 2021-06-15 22:12:50 +08:00
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
1025a7c118 Allow to oauth login by name. 2021-06-12 12:46:25 +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
c4de5449af Fix properties in "sign up via OAuth". 2021-06-11 23:37:06 +08:00
Yang Luo
8ddc0cd626 Improve oauth button UI. 2021-06-11 20:48:42 +08:00
Yang Luo
8132ea9621
Merge pull request #100 from sh1luo/fix-Unable-to-close-the-modal-by-clicking-the-inner-layer
fix: unable to close the modal by clicking the inner layer
2021-06-10 20:19:50 +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
Yang Luo
222b00f0a8
Merge pull request #98 from sh1luo/feat-add-weibo-provider
feat: add weibo provider
2021-06-10 19:19:31 +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
30bed3cb47 Override session when signed in by link. 2021-06-10 13:27:03 +08:00
Yang Luo
8e5f3c18e1 Add UpdateUserInternal(). 2021-06-09 21:41:27 +08:00
Yang Luo
f672045b45 Allow to sign up with OAuth. 2021-06-09 21:28:33 +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
Yang Luo
04a246355e Handle json error in Login(). 2021-06-09 19:54:26 +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