1114 Commits

Author SHA1 Message Date
Yaodong Yu
cc6ea1b60e
feat: fix application edit page crash and language icon position (#1511)
* fix: widget position and color

* feat: fix applicationEdit crush
2023-02-01 23:11:48 +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
imp2002
b47baa06e1
fix: remove "Agreement" in edit application error (#1506) 2023-01-31 22:56:19 +08:00
1307
6a6a1fa920
feat: fix missing phone number prefix in login screen (#1492)
fix: #1489
2023-01-24 23:19:44 +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
qwqcode
f5b7f8cb45
chore(frontend): remove import of the third-party js script (#1436)
Signed-off-by: qwqcode <qwqcode@gmail.com>

Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-01-19 11:31:27 +08:00
Yaodong Yu
fcdf1e8dd2
feat: improve Select component performance (#1472) 2023-01-12 23:11:11 +08:00
Yaodong Yu
7d25b9cdd8
feat: auto link accounts with the same email (#1464) 2023-01-11 23:19:16 +08:00
Yaodong Yu
ead844131e
feat: improve user edit page to fix missing fields and page crash (#1463) 2023-01-11 16:15:06 +08:00
Yaodong Yu
ce2a4bbf6e
feat: check uniqueness for email and phone when updating user (#1461)
* fix: check unique field when update user

* Update data.json

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-01-10 22:34:08 +08:00
jakiuncle
6daadf8d3c
feat: add e2e test (#1445)
* add cypress

* feat: add crypress ci
2023-01-09 00:16:32 +08:00
Gucheng Wang
fb2b03f00f Add category to applyToOtherLanguage() 2023-01-06 19:26:00 +08:00
Yaodong Yu
b525210835
feat: destroy session after delete user (#1441)
* fix: destroy session after delete user

* feat: visual session

* fix: go lint

* feat: add translation

* feat: auto flush after offline

* fix: delete one session

* fix: move 403 page to baseListPage
2023-01-06 15:04:13 +08:00
Yaodong Yu
eae3b0d367
feat: fix saml login failed by using oauth (#1443) 2023-01-03 19:42:12 +08:00
imp2002
186f0ac97b
feat: check permission when update user (#1438)
* feat: check permission when update user

* feat: check permission when update user

* fix: fix organization accountItem modifyRule

* fix: fix organization accountItem modifyRule
2023-01-02 09:27:25 +08:00
Yaodong Yu
d498bc60ce
feat: edit user properties (#1435) 2022-12-31 15:27:53 +08:00
Chell
f465fc6ce0
feat: support changing theme in antd 5 (#1430)
* feat: add global theme change function

* feat: add icons

* feat: in app theme changer

* feat: use antd built-in themes

* fix: multiple styling problem

* fix: theme init from localstorage

* feat: dark mode footer

* feat: casdoor logo color theme

* feat: select theme box icon adaptive to theme

* fix: menu bar style

* fix: language box style

* feat: translation

* feat: update translation of select theme box without reloading

* fix: mobile view

* fix: better structured select theme box

* feat: add compact icon

* fix: redundant theme fetch

* fix: redundant theme fetch

* fix: various styling problems
2022-12-29 22:30:37 +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
Chell
a71a190db5
feat: fix bug in redirectToLoginPage() (#1422) 2022-12-24 01:10:02 +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
Chell
5d1548e989
feat: fix absolute URL redirection (#1419)
* fix: redirect to absolute url

* fix: original jump
2022-12-23 11:05:15 +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
WangGuan
ae130788ec
feat: add Line support as OAuth 3rd-party login (#1413) 2022-12-21 02:25:58 +08:00
Yaodong Yu
082ae3c91e
fix: fix undefined owner bug in AdapterEditPage (#1406) 2022-12-17 21:21:39 +08:00
Gucheng Wang
c0d9969013 Add description to product 2022-12-16 23:35:30 +08:00
Gucheng Wang
1bdee13150 Fix bug in renderQrCodeModal() 2022-12-16 23:28:43 +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
Gucheng Wang
c5ef841d3f Disable isValidIdCard() 2022-12-12 01:07:31 +08:00
Gucheng Wang
d46288b591 Add renderQrCodeModal() 2022-12-12 00:42:45 +08:00
Chell
b968bf033c
fix: case insensitive country name and country abbreviation search in region selection (#1394) 2022-12-11 18:14:25 +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
a51f0d7c08
feat: init score in organization (#1388)
* feat: init score in organization

* Update OrganizationEditPage.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2022-12-10 22:27:12 +08:00
Yaodong Yu
e3c36beaf4
fix: the link button with disabled style but can click (#1390) 2022-12-10 22:14:20 +08:00
imp2002
19dce838d1
fix: fix invalid url in applications page (#1389) 2022-12-10 22:06:21 +08:00
Yaodong Yu
b41d8652f0
feat: fix showing wrong error messages (#1385) 2022-12-09 15:11:13 +08:00
imp2002
e705eecffe
feat: response with status in casbin_adapter.go (#1384)
* fix: response standardized information with status in `casbin_adapter.go`

* fix: remove redundant statements
2022-12-08 10:22:59 +08:00
Gucheng Wang
96566a626b Increase Detail field size 2022-12-07 01:53:03 +08:00
Yaodong Yu
e207fd243b
feat: fix CSS issue that login error pages are not centered (#1371) 2022-12-06 14:00:17 +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
Chell
a44a4b0300
feat: fix React incorrect usage to fix issue that verification code must be submitted twice to succeed (#1348)
* fix: synchronized user login fields saving

* fix: synchronized user login fields saving

* recover changes

* fix: save username in step 2

* fix: format
2022-12-04 20:58:07 +08:00
Chell
4b29dd8c41
fix: responsive certs page editor (#1360)
* fix: responsive editor width

* fix: format
2022-12-04 16:04:04 +08:00
Yaodong Yu
165e2e33e3
fix: disable formcss in mobile (#1359) 2022-12-04 15:53:46 +08:00
Yang Luo
d13a307ad5 Allow org admin to access GetResources() 2022-12-03 01:10:45 +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
fcda64ad7d
fix: provider sort alphabetical order (#1347) 2022-12-01 22:51:10 +08:00