1114 Commits

Author SHA1 Message Date
longxu0509
3f623570fd
feat: fix incorrect Casdoor version in system info page (#1631)
* feat: add sync module to bi-sync mysql

* feat: fix the delay problem

* feat: fix go mod

* feat: fix the varchar(100) parse error

* fix: fix go.mod space inconsistency

* fix: fix go.mod space inconsistency

* fix: use sql builder instead of concatenation

* fix: remove serverId

* fix: fix file is not `gofumpt`-ed (gofumpt) error

* feat: add mysql bi-sync

* feat: fix some data inconsistency problems

* feat: add function atuo get server uuid

* fix: encapsulate the struct to optimize the code

* fix: fix incorrect Casdoor version in system info page

* fix: fix incorrect root path

* Update sysytem_test.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-03-09 13:28:23 +08:00
Yaodong Yu
a5dfe54a33
feat: fix LDAP page crash (#1630) 2023-03-08 21:31:55 +08:00
陈温鹏
7c4a6fea02
fix: add "sure to delete" to i18n (#1627)
* add "Sure to delete" to i18n(#1569)

* fix: add sure to delete to i18n
2023-03-07 22:38:48 +08:00
wht
ed052b0e6a
feat: add support for SUBMAIL sms (#1621)
* feat: add support for SUBMAIL sms

* fix: add SUBMAIL SMS icon
2023-03-06 21:23:45 +08:00
Gucheng Wang
9d55238cef Fix code issue 2023-03-06 00:33:26 +08:00
Yaodong Yu
8427d63872
feat: fix empty value of countryCode for signup (#1620) 2023-03-05 21:52:40 +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
f8bc87eb4e Fix i18n error 2023-03-04 00:13:29 +08:00
Gucheng Wang
3e6ef9e666 Fix forget page i18n 2023-03-03 23:55:48 +08:00
Gucheng Wang
ef3d323f63 Improve SMS code 2023-03-03 22:44:22 +08:00
wht
aad9201b24
feat: add SMS test feature (#1606)
* feat: add SMS test

* fix: Add missing translation

* fix: Delete redundant information

* fix: remove unnecessary field

* Update sms.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-03-03 22:15:02 +08:00
Gucheng Wang
ca1b5feb78 Improve default captcha UI 2023-03-02 22:04:37 +08:00
Gucheng Wang
e50c832ff9 Fix login width 2023-03-02 20:49:13 +08:00
Yaodong Yu
8696b08db2
fix: empty countryCode of current account causes crash (#1603)
* fix: empty countryCode of current account cause crush

* Update UserEditPage.js

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-03-01 22:09:48 +08:00
Yaodong Yu
e21087aa50
feat: refactor reset password api and forgetPage.js (#1601) 2023-03-01 15:57:42 +08:00
Yaodong Yu
afd3c4ed25
fix: fix bug form country code init error (#1591) 2023-02-27 22:07:28 +08:00
Yaodong Yu
5caceb4ae2
feat: fix bug that signup country code is undefined (#1590)
* feat: fix signup country code is undefined

* refactor: valid phone number in CN
2023-02-27 20:10:59 +08:00
Gucheng Wang
f5672357e6 fix resetting phone bug 2023-02-25 15:46:54 +08:00
Gucheng Wang
181e7c8c7d Refactor out getCountryCodeOption() 2023-02-25 15:25:47 +08:00
Gucheng Wang
36c5a9d09b Sort country list 2023-02-25 15:08:08 +08:00
Gucheng Wang
9acb3c499e Can search country code 2023-02-25 14:57:23 +08:00
Gucheng Wang
0e9a3b0f30 don't update provider in preview 2023-02-25 12:31:08 +08:00
Gucheng Wang
d104a292e7 fix normal user phone edit control 2023-02-25 11:47:34 +08:00
Gucheng Wang
8fbd5b1a74 disable demo prompt for get-organizations API 2023-02-25 11:01:48 +08:00
Gucheng Wang
f5a05ac534 improve application homepage 2023-02-25 10:50:50 +08:00
Gucheng Wang
05fade1d05 fix role list link error 2023-02-25 09:39:19 +08:00
Gucheng Wang
44ec854465 Refactor getClientIdLabel() and getClientSecretLabel() 2023-02-23 17:57:46 +08:00
imp2002
26e87b0d98
feat: fix compatibility with lower version browsers like Chrome 87 (#1578) 2023-02-22 20:57:57 +08:00
Gucheng Wang
ace8e9da06 Refactor getAppIdRow() 2023-02-22 12:10:55 +08:00
github-actions[bot]
11f55a474c
refactor: New Crowdin translations (#1440)
* refactor: New Crowdin translations by Github Action

* refactor: New Crowdin Backend translations by Github Action

---------

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-02-18 23:46:44 +08:00
Yang Luo
4806e76cf6 Fix demo mode default login 2023-02-18 23:43:22 +08:00
Yang Luo
edbd3d4018 Add i18n banner 2023-02-18 18:09:43 +08:00
Yang Luo
3f0a741e6c Improve i18n languages 2023-02-18 17:35:36 +08:00
Yang Luo
3ae81716b9 Fix getLdaps() GET 2023-02-18 16:27:47 +08:00
Yang Luo
3a70f4e788 Add Setting.isResponseDenied() 2023-02-18 16:21:12 +08:00
Yang Luo
842d4865b2 Fix router error message's i18n 2023-02-18 16:11:23 +08:00
imp2002
19fb7273bb
fix: detect access denied by response message for demo mode (#1565)
fix: detect access denied by response message for demo mode
2023-02-18 12:12:54 +08:00
Yaodong Yu
f2f962b893
fix: refactor functions and code (#1559) 2023-02-18 09:31:58 +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
Yang Luo
4605938f8e Refactor FetchFilter.js code 2023-02-16 22:50:08 +08:00
imp2002
14fa914e6f
feat: add IsDemoMode for frontend (#1555)
* feat: add `IsDemoMode` for frontend

* fix: add i18n

* fix: support autologin and go same page

* fix: use i18n for button text
2023-02-16 20:36:30 +08:00
Yaodong Yu
e877045671
feat: fix CAS login crash bug (#1549) 2023-02-14 16:52:15 +08:00
Yaodong Yu
950a274b23
fix: region don't display in userEditPage (#1544) 2023-02-12 18:56:56 +08:00
hsluoyz
8b8c866fd2
feat: replace gomail and disable the Email username check for Mailtrap (#1538) 2023-02-11 15:59:23 +08:00
imp2002
04567babf8
feat: fix click MenuItem blank part invalid bug (#1535) 2023-02-10 18:11:15 +08:00
LilithHC
943aa61869
feat: add provider icons and menus (#1522)
* fix: add provider icons(email and captcha) and menus

* fix: add provider icons and menus
2023-02-06 20:28:40 +08:00
WangGuan
8698f4111a
feat: add all remaining Goth providers to Casdoor OAuth login (#1484)
* feat: add Amazon support as OAuth 3rd-party login

* refactor: comebine the same URLs

* refactor: use hyper component to create login button

* feat: add all remaining Goth providers to Casdoor OAuth login

* refactor: remove redundant props

* fix: check provider auth url and params
2023-02-04 12:20:18 +08:00
jakiuncle
fdccb8b22b
feat: Test whether the page can be accessed (#1517)
* feat: add new line

* feat: Test whether the page can be accessed

* feat: Change the e2e order

* feat: add Test Retries

* feat: change yarn.lock

* feat: add new line
2023-02-03 19:59:28 +08:00
Yaodong Yu
19e7d0b0bd
refactor: improve code reuse rate (#1515) 2023-02-02 16:43:51 +08:00
Yaodong Yu
b34e16b145
fix: table do not have unique key (#1512) 2023-02-02 13:53:18 +08:00