216 Commits

Author SHA1 Message Date
Yaodong Yu
a8937d3046
feat: refactor agreement modal and create folders to classify components (#1686)
* refactor: refactor agreement modal and create folders to classify components

* fix: i18

* fix: i18

* fix: i18n
2023-03-26 18:44:47 +08:00
Yaodong Yu
337ee2faef
feat: fix the bug that autoSignin generates two callback AJAX calls (#1682) 2023-03-24 23:17:54 +08:00
Yaodong Yu
c6146a9149
feat: fix bug that login by saml provider can not find application (#1676) 2023-03-23 21:38:33 +08:00
imp2002
f191488338
feat: support popup mode in OAuth (#1668)
* feat: support `popup` mode in OAuth

* feat: sendMessage when popup window closed

* fix: fix param name error
2023-03-22 00:15:17 +08:00
Gucheng Wang
5989c4ff34 Remove i18n duplicates 2023-03-19 01:03:12 +08:00
Gucheng Wang
4e62c255b3 Finish i18n of ru 2023-03-18 23:05:37 +08:00
Gucheng Wang
2bc4cd9337 Fix i18n issue 2023-03-18 20:42:02 +08:00
Gucheng Wang
ed9ceaefe1 Finish i18n of de 2023-03-18 20:31:31 +08:00
Gucheng Wang
28d24cc913 Improve i18n 2023-03-18 12:18:42 +08:00
Yaodong Yu
90f8eba02d
feat: can send Aliyun test SMS now (#1651) 2023-03-13 17:48:58 +08:00
Yaodong Yu
e8a7b7ee9c
feat: support all captcha for login (#1619)
* refactor: captcha modal

* feat: support all captcha when login

* chore: improve i18 in loginPage.js
2023-03-05 20:31:46 +08:00
Gucheng Wang
e50c832ff9 Fix login width 2023-03-02 20:49:13 +08:00
Yang Luo
4806e76cf6 Fix demo mode default login 2023-02-18 23:43:22 +08:00
Yaodong Yu
eb72c9f273
feat: support multiple country codes for sending SMS (#1557)
* feat: support multiple country code

* feat: improve UI

* feat: migrate accountItem

* fix: Aliyun compatible

* fix: phone validate

* fix: typo
2023-02-16 22:53:28 +08:00
Yaodong Yu
950a274b23
fix: region don't display in userEditPage (#1544) 2023-02-12 18:56:56 +08:00
Yaodong Yu
95b32d5ebf
feat: support customize theme (#1500)
* refactor: simplify functions and improve variable naming

* feat: add themeEditor component

* feat: support customize theme

* chore: resolve conflict and add LICENCE

* chore: format code

* refactor: use icon replace background url

* feat: improve organization and application theme editor
2023-02-01 22:06:40 +08:00
Chell
457e6208ad
feat: terms of use auto selected (#1485) 2023-01-19 20:31:21 +08:00
Chell
d10b1347a8
feat: add terms of use in signin page (#1476)
* feat: extract terms of use renderer

* fix: layout

* fix: form styling

* fix: required state

* feat: application terms of use setting

* fix: refactor getTermsOfUseContent

* fix: refactor renderers
2023-01-19 18:39:24 +08:00
Yaodong Yu
eae3b0d367
feat: fix saml login failed by using oauth (#1443) 2023-01-03 19:42:12 +08:00
Yaodong Yu
86ae97d1e5
feat: fix the bug that spin is always showing when response error (#1424) 2022-12-24 17:55:36 +08:00
Yaodong Yu
6ea73e3eca
fix: show background image in preview (#1425) 2022-12-24 17:47:05 +08:00
Yaodong Yu
da69d94445
feat: fix the bug that spin in oauth is always showing (#1421) 2022-12-23 15:06:51 +08:00
Yaodong Yu
a0dc6e06cd
feat: add EntryPage for login, signup pages to fix background flashing issue (#1416)
* feat: fix flush in login Pages

* fix: code format

* fix: improve code

* Update App.js

* Update EntryPage.js

* fix: optimize api request

* Update App.js

* Update App.js

* fix: fix css

* fix: css and getApllicationObj

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-12-22 23:39:02 +08:00
Yaodong Yu
e227875c2b
feat: add post methed for saml response (#1399) 2022-12-13 22:32:45 +08:00
Mr Forest
e473de3162
feat: fix sign in error via webauthn (#1398)
* fix: fix sign in error via webauthn

* fix review problems
2022-12-13 16:57:42 +08:00
Mr Forest
eca2527bc0
feat: fix bug in signup and reset phone and email (#1396)
* fix: fix bug in signup and reset phone and email

* delete useless addition
2022-12-11 15:52:36 +08:00
Chell
ef836acfe9
fix: login page flag icon preload (#1393) 2022-12-11 11:22:58 +08:00
Yaodong Yu
b41d8652f0
feat: fix showing wrong error messages (#1385) 2022-12-09 15:11:13 +08:00
Yaodong Yu
ca314bbfb5
feat: refactor layout and fix footer CSS (#1370) 2022-12-06 00:50:17 +08:00
Yaodong Yu
0856977b92
feat: update to antd 5.0 (#1362)
* feat: update to ant5.X

* fix: incompatible styles

* fix: adjust the style
2022-12-04 23:05:30 +08:00
Yaodong Yu
165e2e33e3
fix: disable formcss in mobile (#1359) 2022-12-04 15:53:46 +08:00
Yaodong Yu
9f3ee275a8
feat: reformat frontend alert texts with correct i18n (#1341)
* fix: add i18

* fix: standard prompt message
2022-12-02 00:06:28 +08:00
Chell
2ab25df950
fix: prompt page translation (#1330)
* fix: prompt page translation

* add multiple translations

* fix: translation consistency

* fix: translation consistency

* fix: add translation

* fix: add translation

* Update data.json

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-11-27 21:04:45 +08:00
Yaodong Yu
19ba37e0c2
feat: can specify available UI languages for an organization (#1306) 2022-11-19 22:11:19 +08:00
Chell
61c2fd5412
feat: fix the issue of jumping back to the login page after resetting password (#1288)
* fix: redirect to login page

* fix: front end router

* fix: front end router

* fix: signup page router

* fix: redirect to login page
2022-11-13 12:16:49 +08:00
Chell
d542208eb8
feat: fix select language box overlay (#1289)
* fix: select language box overlay

* fix: select language box position

* fix: select language box position

* fix: select language box position
2022-11-13 10:52:22 +08:00
wenxuan70
25d56ee8d5
feat: allow captcha to be enabled when logging in (#1211)
* Fix bug in GetAcceptLanguage()

* feat: allow captcha to be enabled when logging in

* feat: when the login password is wrong, enable captcha

* feat: Restrict captcha from frontend

* fix: modify CaptchaModal component

* fix: modify the words of i18n

* Update data.json

Co-authored-by: Gucheng Wang <nomeguy@qq.com>
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-10-28 13:38:14 +08:00
Chell
7e5952c804
fix: login / signin frontend router (#1244)
* fix: go to link

* fix: remove gotologin

* fix: redirect to login page

* fix: redirect to login page

* remove comments

* fix: formats

* fix: formats

* Update Setting.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-10-28 02:23:57 +08:00
Chell
304643736b
fix: forget password and sign up router (#1227)
* fix: forget password and sign up router

* fix: link

* fix: jump logic

* fix: signup link

* fix: signup link

* fix: login and signup router

* remove comments

* fix: normal router

* fix: link abstraction

* rename jump component

* fix: session storage

* fix: store signin url

* fix: jumplink props

* fix: simplify link

* fix: path join

* fix: remove unused functions
2022-10-22 23:17:50 +08:00
Yaodong Yu
b0f572c51a
feat: add left-side image and improve login page (#1226) 2022-10-22 21:43:41 +08:00
chao
dffa68cbce
feat: fix SAML login error bug (#1228)
* Update LoginPage.js

* fix saml login error
2022-10-20 01:14:38 +08:00
Chell
8f7a8d7d4f
fix: translation without reloading (#1215)
* fix: translation without reloading

* fix: language switch
2022-10-12 19:52:02 +08:00
Yaodong Yu
3dc01ec85d
fix: language widget poisition without border css (#1188) 2022-10-06 17:26:12 +08:00
Yaodong Yu
6da452d7e0
feat: show language widget in signup and signin pages (#1180) 2022-10-03 22:40:19 +08:00
Gucheng Wang
58455e688e Improve WebAuthnCredentialTable and border radius 2022-10-03 18:46:40 +08:00
Gucheng Wang
67f3c5a489 Add verificationCode to login method 2022-10-03 15:41:20 +08:00
Товарищ программист
9c48582e0c
feat: fix bugs in webauthn (#1173) 2022-10-01 11:10:55 +08:00
Gucheng Wang
3128e68df4 Add sendSilentSigninData() 2022-09-30 01:51:58 +08:00
Yixiang Zhao
ebe1887e8b
feat: add saml provider error (#1168)
* fix: add saml provider error

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

* fix: search

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-09-28 21:09:39 +08:00
Gucheng Wang
7393b90155 Add enableAutoSignin to application 2022-09-27 20:06:46 +08:00