943 Commits

Author SHA1 Message Date
Yi Zhan
29aa379fb2
fix: qq idp missing username (#636)
* fix: qq idp missing username

Signed-off-by: Steve0x2a <stevesough@gmail.com>

* fix: api uses the latest fields

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.34.1
2022-04-01 11:46:33 +08:00
Gucheng Wang
7a95b9c1d5 Init DB only when necessary. 2022-03-31 12:28:45 +08:00
Yixiang Zhao
0fc0ba0c76
feat: support global admin to modify the email and phone of other users (#633)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.34.0
2022-03-30 20:27:23 +08:00
Minh Ha
24459d852e
fix: comparing hashed password with plain text password during password grant (#627)
* fix: use object.CheckPassword for password grant

* Apply suggestions from code review

fix: remove log per change request
v1.33.4
2022-03-30 00:37:38 +08:00
蔡点点
e3f5bf93b2
fix: adjust the password check logic for ldap user (#597)
* fix: the password check logic for ldap user.
LDAP user should only use the ldap connection to check the password.

* fix: code format
v1.33.3
2022-03-28 17:19:58 +08:00
Yi Zhan
879ca6a488
fix: refresh_token api return old token (#623)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.33.2
2022-03-27 23:10:05 +08:00
Yang Luo
544cd40a08 Disable the new syncer by default. 2022-03-27 23:06:52 +08:00
Yang Luo
99f7883c7d Fix null bug in getCountryRegionData(). 2022-03-27 16:03:25 +08:00
Yang Luo
88b0fb6e52 Add getPrice(). 2022-03-26 16:42:25 +08:00
Yi Zhan
fa9b49e25b
fix: some idp error messages return unclear (#620)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.33.1
2022-03-26 15:15:56 +08:00
Yi Zhan
cd76e9372e
feat: delete the old token when refreshing token (#617)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.33.0
2022-03-24 19:58:12 +08:00
chenghonour
04b9e05244
fix: WeComInternalIdProvider GetUserInfo method could not get the correct user id (#616) v1.32.4 2022-03-24 17:53:05 +08:00
Sagilio
a78b2de7b2
fix: panic when not select one provider (#614)
Signed-off-by: Sagilio <Sagilio@outlook.com>
v1.32.3
2022-03-24 12:15:10 +08:00
Ryao
d0952ae908
fix: docker-compose up can't work on linux (#606) v1.32.2 2022-03-22 18:43:02 +08:00
Nekotoxin
ade64693e4
fix: support lower go version(1.15) (#599)
* fix: support lower go version(1.15)

* fix: support lower go version(1.15)

* fix: support lower go version(1.15)
v1.32.1
2022-03-21 21:55:16 +08:00
Товарищ программист
5f8924ed4e
feat: support overriding configuration with env (#590) v1.32.0 2022-03-20 23:21:09 +08:00
github-actions[bot]
1a6d98d029
refactor: New Crowdin translations by Github Action (#592)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
v1.31.0
2022-03-20 22:30:29 +08:00
Yixiang Zhao
447dd1c534
feat: update the uploaded user field and provide demo xlsx file (#596)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-20 22:28:22 +08:00
Yixiang Zhao
86b5d72e5d
fix: concatChar assignment logic (#595)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.30.5
2022-03-20 11:54:14 +08:00
Yixiang Zhao
6bc4e646e5
fix: oAuthParams may not exist (#594)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.30.4
2022-03-20 10:33:50 +08:00
Yang Luo
0841eb5c30 Fix !skipCi directive. 2022-03-19 23:15:19 +08:00
github-actions[bot]
4015c221f7
refactor: New Crowdin translations by Github Action (#588)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-03-19 22:01:20 +08:00
Yixiang Zhao
dcd6328498
fix: callback url param missing (#583)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.30.3
2022-03-19 20:01:44 +08:00
Yi Zhan
8080927890
fix: redirect for non-built-in app logout (#587)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.30.2
2022-03-19 19:50:05 +08:00
Yang Luo
a95c5b05a9 Remove GitHub provider hacking code. 2022-03-19 19:43:54 +08:00
Yixiang Zhao
865a65d399
fix: fix the params problem in code signin (#577)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.30.1
2022-03-18 20:12:29 +08:00
Yi Zhan
e8b9c67671
feat: add casdoor as itself idp support (#578)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.30.0
2022-03-18 18:28:46 +08:00
Nekotoxin
e5ff49f7a7
fix: UI bug after switching to English (#570) v1.29.2 2022-03-15 21:02:54 +08:00
Yixiang Zhao
9f7924a6e0
fix: mask email and phone number on the backend (#563)
* fix: mask email and phone number on the backend

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

* fix: login with masked email or phone

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

* fix: improve regex

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.29.1
2022-03-15 12:54:57 +08:00
Ghost Lee
377e200837
fix: repair the problem that AutoSigninFilter middleware doesn't recognize the access_token request parameter (#569)
AutoSigninFilter method only checks for `accessToken` request parameters or `Authorization` request header, doesn't recognize `access_token` request parameters, now added, use `utils.GetMaxLenStr()` method to get the maximum length characters
2022-03-15 12:52:44 +08:00
Nekotoxin
93a76de044
fix: fix compile error in low go version (#568) 2022-03-15 12:49:12 +08:00
Yixiang Zhao
35bef969fd
feat: support Huawei Cloud SMS (#565)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.29.0
2022-03-14 20:49:03 +08:00
Yang Luo
4dca3bd3f7 Add Notify() to payment provider. 2022-03-14 02:56:04 +08:00
Yang Luo
5de417ecf7 Add gc provider. 2022-03-14 00:32:36 +08:00
Yang Luo
bf24594fb4 Make resource name longer. 2022-03-13 21:20:00 +08:00
Yang Luo
4a87b4790e Avoid panic in AddUsers(). 2022-03-13 20:53:05 +08:00
Yang Luo
fde8c4b5f6 Fix NotifyPayment(). 2022-03-13 19:57:23 +08:00
Yang Luo
55a84644e1 Add PaymentResultPage. 2022-03-13 18:05:16 +08:00
Yang Luo
ca87dd7dea Add returnUrl to product. 2022-03-13 16:25:54 +08:00
Yang Luo
32af4a766e Add GetUserPayments() API. 2022-03-13 14:56:21 +08:00
Yang Luo
4d035bf66d Add tags to organization. 2022-03-13 00:35:49 +08:00
Yang Luo
743dcc9725 Fix translation. 2022-03-12 23:37:58 +08:00
Yixiang Zhao
d43d7d1ae9
feat: support master password for ldap user (#561)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.28.0
2022-03-12 21:06:38 +08:00
Yang Luo
c906f1e5d2 Add user and state to payment pages. 2022-03-12 20:03:58 +08:00
Gucheng Wang
37a26e2a91 Fix delete-resource authz check. 2022-03-11 11:27:52 +08:00
leoshine
e7018e3de4
docs: add a tip to create db for the first time (#550)
* add a tip to create db schema ahead of time

* add a tip to create db schema ahead of time

* docs: add a tip to create db schema ahead of time
2022-03-10 11:03:52 +08:00
halozhy
3a64e4dcd8
docs: add a tip to create db schema ahead of time (#547) 2022-03-10 09:58:00 +08:00
Gucheng Wang
380cdc5f7e fix: The top-right logout button sometimes disappears for small screen size (#544) v1.27.6 2022-03-08 21:14:04 +08:00
Gucheng Wang
3602d9b9a7 fix: improve error messages 2022-03-07 15:16:09 +08:00
Yixiang Zhao
8a9cc2eb8f
fix: change client_secret in refresh_token API as optional (#540)
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
2022-03-07 13:52:51 +08:00