968 Commits

Author SHA1 Message Date
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
Gucheng Wang
4f9a13f18a fix: comment TestReadSheet() 2022-03-07 13:50:08 +08:00
Yang Luo
a4fc04474e Add NotifyPayment API. 2022-03-07 00:33:45 +08:00
Yang Luo
bf5d4eea48 Add alipay provider. 2022-03-06 22:46:02 +08:00
Yang Luo
0e40a1d922 Check application existence in login(). 2022-03-06 00:09:57 +08:00
Yang Luo
ab777c1d73 Add Conf.EnableExtraPages 2022-03-05 23:51:55 +08:00
Товарищ программист
ca0fa5fc40
fix: fix missing parameters when signup (#533) v1.27.5 2022-03-05 16:47:08 +08:00
Nekotoxin
cfbce79e32
fix: add ie support (ie >= 9) (#538)
* fix: add ie support (ie > 9)

* fix: add support for IE11

* fix: small fix

* fix: fix
v1.27.4
2022-03-05 16:32:37 +08:00
Yang Luo
efc07f0919 Improve translation. 2022-03-05 00:53:59 +08:00
fuh
a783315fa2
fix: Returns a valid userId when form.Username is empty (#523)
* fix: Returns a valid userId when form.Username is empty

* fix: format code
v1.27.3
2022-03-04 23:39:12 +08:00
Steve0x2a
1d0af9cf7b
fix: client_credentials' token miss some claims (#536)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.27.2
2022-03-04 22:57:31 +08:00
Nekotoxin
4d48517be9
fix: fix the No.0 bug(for all sign up methods) (#535) v1.27.1 2022-03-04 13:06:21 +08:00
Leon
178cf7945d
feat: improve token introspection endpoint (#534)
* feat: add introspection endpoint to oidc discovery endpoint

* fix: let introspect endpoint handle formData as spec define.

Signed-off-by: Leon <leondevlifelog@gmail.com>
v1.27.0
2022-03-04 08:54:33 +08:00
Leon
ab5af979c8
feat: add Oauth 2.0 Token Introspection(rfc7662) endpoint support (#532)
Signed-off-by: Leon <leondevlifelog@gmail.com>
v1.26.0
2022-03-03 17:48:47 +08:00
Gucheng Wang
e31aaf5657 Rename httpProxy. 2022-03-03 08:59:38 +08:00
Steve0x2a
eaf5cb66f3
fix: update authz rule list (#528)
* fix: update authz rule list

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

* fix: resolve conflicts.

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.25.2
2022-03-03 00:52:28 +08:00
Yixiang Zhao
83a6b757a4
fix: password leakage vulnerability caused by pagination (#527)
* fix: password leakage vulnerability caused by pagination

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

* fix: unsafe get-app-login response fields

Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
v1.25.1
2022-03-02 20:58:16 +08:00
Steve0x2a
2a0dcd746f
feat: add token logout endpoint (#526)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.25.0
2022-03-02 20:37:31 +08:00
Steve0x2a
22f5ad06ec
fix: Make secret optional when using PKCE (#525)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.24.1
2022-03-02 13:15:14 +08:00
Yang Luo
18aa70dfb2 Fix delete-resource authz failure. 2022-03-01 22:37:23 +08:00
Steve0x2a
697b3e4998
feat: add implicit flow support (#520)
* feat: add implicit flow support

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

* fix: idp support in implicit flow

Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.24.0
2022-03-01 19:09:59 +08:00
Steve0x2a
d48d515c36
fix: Missing extendedUser in signup webhook (#522)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
v1.23.2
2022-03-01 18:25:48 +08:00
Gucheng Wang
a5d166c35f Support language param. 2022-02-28 21:33:10 +08:00
Nekotoxin
4915963c52
fix: member No.0 bug (#516)
* fix: member No.0 bug

* Update account.go

* fix: member No.0 bug

* fix: member No.0 bug

* Update account.go
v1.23.1
2022-02-28 19:42:11 +08:00
Nekotoxin
759a1421e5
feat: add the 'karma' prop to table User (#518)
* feature: feat : add the 'karma' prop to table User

* feat: add the 'karma' prop to table User
v1.23.0
2022-02-28 16:25:09 +08:00
Gucheng Wang
c14bf9fdab Fix bug in first name, last name checking 2022-02-28 13:17:05 +08:00