2017 Commits

Author SHA1 Message Date
UsherFall
3d567c3d45 feat: update go-sms-sender to fix Twilio template error (#2395) v1.431.0 2023-10-12 01:53:31 +08:00
haiwu
440d87d70c feat: support SCIM protocol (#2393)
* 111

* feat: support scim/Users GET and POST request

* feat: support scim/Users DELETE/PATCH/PUT request

* feat: better support scim/Users PATCH request

* feat: fix scim/Users logic

* feat: gofumpt

* feat: fix bug in scim/Users

* feat: fix typo

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.430.0
2023-10-12 00:13:16 +08:00
Yaodong Yu
e4208d7fd9
feat: restrict the model of application type resource permission (#2394) 2023-10-12 00:05:53 +08:00
Yang Luo
4de716fef3 Improve UploadResource() 2023-10-11 01:27:29 +08:00
Yang Luo
070aa8a65f Show 404 error for index.html not found 2023-10-10 22:57:39 +08:00
wxy
684cbdb951
fix: replace the wrong param name willExist (#2389) v1.429.1 2023-10-10 21:47:38 +08:00
QingKai Hao
9aec69ef47 feat: stop building docker image of linux/arm64 (#2390) v1.429.0 2023-10-10 21:19:54 +08:00
Yang Luo
98411ef67b feat: remove db migrate CI 2023-10-10 19:22:41 +08:00
Yang Luo
71279f548d Show cert.Certificate empty error 2023-10-10 19:19:20 +08:00
Yang Luo
0096e47351 feat: fix 403 error in CorsFilter 2023-10-10 18:39:25 +08:00
Yang Luo
814d3f749b Fix Syncer.getKey() 2023-10-09 02:47:42 +08:00
Yang Luo
ec0f457c7f Fix syncer.updateUser() bug 2023-10-09 01:14:35 +08:00
Yang Luo
0033ae1ff1 Improve syncer code 2023-10-08 20:50:28 +08:00
Yang Luo
d06d7c5c09 Fix batch methods like AddUsersInBatch() 2023-10-08 19:33:28 +08:00
Yang Luo
23c4fd8183 Fix go-reddit v2.0.1 doesn't exist issue 2023-10-08 19:29:26 +08:00
Yang Luo
e3558894c3 Add isHostIntranet to CORS filter 2023-10-08 19:29:19 +08:00
Yang Luo
2fd2d88d20 Return 403 in filter's responseError() v1.428.0 2023-10-05 00:12:02 +08:00
Yang Luo
d0c424db0a Don't panic in AddRecord() 2023-10-05 00:11:13 +08:00
Yang Luo
6a9d1e0fe5 Add frontendBaseDir 2023-10-04 12:19:56 +08:00
Yang Luo
938e8e2699 Improve code 2023-09-30 10:49:10 +08:00
Yang Luo
620383cf33 Allow CORS for https://localhost 2023-09-30 09:11:47 +08:00
Yang Luo
de6cd380eb Set OPTIONS status in setCorsHeaders() 2023-09-30 01:13:29 +08:00
Ilya Sulimanov
7e0bce2d0f
feat: run RecordMessage() filter after API handling (#2369)
* feat: write records after exec (#2368)

* add returnOnOutput params
v1.427.0
2023-09-29 10:12:00 +08:00
Yang Luo
1461268a51 Allow redirect URL for casdoor-app 2023-09-27 22:37:57 +08:00
Yang Luo
5ec49dc883 feat: fix claims.tag and UserWithoutThirdIdp missing fields, fix for Rust SDK v1.426.0 2023-09-27 18:07:57 +08:00
Yang Luo
5c89705d9e feat: allow CORS for 127.0.0.1 v1.425.0 2023-09-27 14:10:59 +08:00
Yang Luo
06e3b8481f Improve adapter error handling 2023-09-27 01:11:58 +08:00
Yang Luo
81a8b91e3f Fix enforcer policy add and delete 2023-09-27 00:18:21 +08:00
Yang Luo
56787fab90 Improve adapter.UseSameDb 2023-09-26 23:41:09 +08:00
Yang Luo
1319216625 Add adapter.UseSameDb 2023-09-26 23:41:08 +08:00
haiwu
6fe5c44c1c
feat: support radius accounting request (#2362)
* feat: add radius server

* feat: parse org from packet

* feat: add comment

* feat: support radius accounting

* feat: change log

* feat: add copyright
v1.424.0
2023-09-26 22:48:00 +08:00
Yang Luo
981908b0b6 Fix crash in LDAP's sync: GenerateIdForNewUser() 2023-09-26 19:12:28 +08:00
Yang Luo
03a281cb5d Improve CorsFilter code 2023-09-26 14:51:38 +08:00
Yang Luo
a8e541159b Allow localhost in CorsFilter 2023-09-26 00:03:26 +08:00
Yang Luo
577bf91d25 Refactor out setCorsHeaders() 2023-09-26 00:02:31 +08:00
Yang Luo
329a6a8132 Fix get-pricing and get-plan API null error handling 2023-09-25 22:11:08 +08:00
Yang Luo
fba0866cd6 Fix error handling in StartRadiusServer() 2023-09-25 20:55:02 +08:00
UsherFall
aab6a799fe
fix: use client secret field for providers (#2355)
* feat: fix key exposure problem

* fix display bug
v1.423.1
2023-09-24 18:35:58 +08:00
haiwu
b94d06fb07
feat: add some Radius protocol code (#2351)
* feat: add radius server

* feat: parse org from packet

* feat: add comment

* Update main.go

---------

Co-authored-by: hsluoyz <hsluoyz@qq.com>
v1.423.0
2023-09-24 16:50:31 +08:00
Yang Luo
f9cc6ed064 Add groups to role 2023-09-24 10:17:18 +08:00
Yang Luo
4cc9137637 Improve permission, adapter page UI 2023-09-24 09:56:06 +08:00
Yang Luo
d145ab780c feat: fix wrong elements in getPermissionsByUser() related functions v1.422.0 2023-09-24 09:13:54 +08:00
Yang Luo
687830697e Refactor getPermissionsAndRolesByUser() related code 2023-09-24 08:08:32 +08:00
Yang Luo
111d1a5786 Use UserInfo's ID in OAuth login 2023-09-23 00:13:13 +08:00
Yang Luo
775dd9eb57 Improve email provider error handling and fix bug 2023-09-21 23:11:58 +08:00
Mario Fischer
8f6c295c40
fix: empty AzureAD tenant id (#2349) v1.421.1 2023-09-21 08:34:23 +08:00
Dmitry Buryanov
2f31e35315
feat: update casbin to 2.77.2 (#2345)
* fix: make redirect_uri really optional in logout route

* feat: update casbin to 2.77.2
v1.421.0
2023-09-20 23:37:55 +08:00
Yang Luo
b6d6aa9d04 Use GenerateIdForNewUser() in add-user API 2023-09-20 22:50:17 +08:00
Yang Luo
f40d44fa1c Refactor out GenerateIdForNewUser() 2023-09-20 22:45:00 +08:00
Dmitry Buryanov
3b2820cbe3
feat: make redirect_uri really optional in logout route (#2342) v1.420.0 2023-09-18 21:47:49 +08:00