Commit graph

714 commits

Author SHA1 Message Date
Alexandre Aubin
cc4cabd205
Merge pull request #182 from YunoHost/remove-SSOwAuthRedirect
remove SSOwAuthRedirect
2021-04-08 15:32:44 +02:00
Kay0u
24e7755e8a
remove SSOwAuthRedirect 2021-04-08 10:58:36 +02:00
Alexandre Aubin
547e15157b Update changelog for 4.2 2021-03-25 01:17:09 +01:00
Kay0u
81abda2f4e
4.1.3 2021-01-20 01:57:38 +01:00
Kayou
25866ed99b
Merge pull request #179 from YunoHost/match-beginning-of-url-permissions
match the beginning of url permissions
2021-01-20 01:38:57 +01:00
Kay0u
384889ae11
match the beginning of url permissions 2021-01-20 01:28:08 +01:00
Alexandre Aubin
63a9c9bada Update changelog for 4.1.2 2021-01-08 03:16:53 +01:00
Alexandre Aubin
7c572d559a
Merge pull request #178 from YunoHost/update-the-doc
Update the sso doc with the new permissions system
2021-01-06 18:20:39 +01:00
Kay0u
dfd1072b15
Update the sso doc with the new permissions system 2020-12-30 14:34:31 +01:00
Alexandre Aubin
95f35d55a5 Update changelog for 4.1.1.1 2020-12-27 14:06:45 +01:00
Alexandre Aubin
8a215984e4
Merge pull request #177 from YunoHost/fix-auth-header-regression
parse auth header at the end
2020-12-27 13:58:11 +01:00
Kay0u
6c4c1ca54d
Revert my stuff, just change the name of header to Proxy-Authorization + set is_logged_in to false by default 2020-12-24 17:49:24 +01:00
Kay0u
73c5524518
is_logged_in is false at the beginning of the refresh function 2020-12-24 10:20:29 +01:00
Kay0u
50db509330
revert: set "Authorization" headers not Proxy 2020-12-23 18:39:54 +01:00
Kay0u
0ff5cc6af7
Authorization -> Proxy-Authorization 2020-12-23 18:13:34 +01:00
Kay0u
a756462e6c
parse auth header at the end 2020-12-23 15:20:55 +01:00
Alexandre Aubin
75cecb9a7a Update changelog for 4.1.1 2020-12-19 01:56:23 +01:00
Alexandre Aubin
0704973f59
Merge pull request #176 from titoko/patch-2
feat(security): don't set header if auth_header false
2020-12-18 18:31:57 +01:00
Titoko
1747da0571 Update access.lua 2020-12-17 20:12:22 +01:00
Kay0u
fec1e4cd3b
update default config 2020-12-17 16:47:31 +01:00
Alexandre Aubin
072e24c622
Merge pull request #175 from titoko/patch-1
fix(Authorization): Skipped Autorization Header that are not Basic
2020-12-15 22:10:43 +01:00
titoko
2ca6847d4d
Update helpers.lua 2020-12-13 12:05:27 +01:00
titoko
a0129b437e
fix(Authorization): Skipped Autorization Header that are not Basic 2020-12-12 14:23:46 +01:00
Kay0u
708136da46
Update changelog for 4.1.0 2020-12-03 16:22:48 +01:00
Kayou
c10db038a5
Merge pull request #174 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2020-12-02 22:20:55 +01:00
Miloš Kroulík
fd8055a96a Translated using Weblate (Czech)
Currently translated at 21.2% (10 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/cs/
2020-11-20 00:36:19 +00:00
Miloš Kroulík
56669d37f9 Added translation using Weblate (Czech) 2020-11-18 19:54:51 +00:00
Alexandre Aubin
9141bf3f51 Merge tag 'debian/4.0.5' into dev 2020-10-31 14:21:02 +01:00
Alexandre Aubin
ec2d13439f Update changelog for 4.0.5 2020-10-31 13:58:37 +01:00
Alexandre Aubin
a7cdf10ec5 Restore ngx logging used by fail2ban to detect failed logging attempt 2020-10-31 13:56:13 +01:00
Alexandre Aubin
6a7a9d668e Restore ngx logging used by fail2ban to detect failed logging attempt 2020-10-31 13:53:19 +01:00
Alexandre Aubin
229939dfbc
Merge pull request #173 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2020-10-30 15:01:52 +01:00
Éric Gaspar
721777e299 Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2020-10-30 13:52:53 +00:00
Alexandre Aubin
c72b51b717
Merge pull request #161 from YunoHost/permission_protection
[WIP] Rework permissions
2020-10-30 14:52:43 +01:00
Alexandre Aubin
c97372ee97
Merge pull request #172 from YunoHost/moar_refactoring
Moar refactoring (on top of permission rework)
2020-09-24 20:22:32 +02:00
Alexandre Aubin
ed6fa1aa49 Add a small helper to check if an element is in a table ... in turn fixing a bug related to calling has_access 2020-09-21 14:42:26 +02:00
Alexandre Aubin
06f1f30226
Update access.lua
Co-authored-by: Kayou <pierre@kayou.io>
2020-09-21 14:40:37 +02:00
Alexandre Aubin
41ed91bbcb Misc cosmetics / debug tweaks 2020-09-20 18:00:49 +02:00
Alexandre Aubin
dcbf66d4e4 Rework/simplify code that effectively apply the permission 2020-09-20 18:00:37 +02:00
Alexandre Aubin
a11d8f0d87 Move identification of relevant permission from helpers.lua to access.lua 2020-09-20 17:58:26 +02:00
Alexandre Aubin
abc38bbffe Move handling of login through HTTP headers to is_logged_in helper 2020-09-20 17:53:18 +02:00
Alexandre Aubin
b2b9b9c8e3 Refactor/move handling of portal assets 2020-09-20 17:47:24 +02:00
Alexandre Aubin
ebcd75c1f9 Update changelog for 4.0.4.1 2020-09-07 18:58:50 +02:00
Alexandre Aubin
15a2211026
Merge pull request #171 from YunoHost/fix-language
Update language on each request
2020-09-07 18:56:30 +02:00
Kay0u
63587ad67a
Update language on each request 2020-09-07 10:34:16 +02:00
Alexandre Aubin
5bb7de6954 Update changelog for 4.0.4 2020-09-04 14:44:27 +02:00
Alexandre Aubin
4ab4d684a6
Merge pull request #170 from YunoHost/Reload-only-if-file-changed
Reload the conf only if files has been modified
2020-09-03 16:17:11 +02:00
Kay0u
1ca22508fc
Reload the conf only if files has been modified 2020-09-02 13:03:00 +02:00
Kay0u
41ac2e5bf8
Merge remote-tracking branch 'origin/dev' into permission_protection 2020-09-01 20:56:20 +02:00
Alexandre Aubin
3f362be371 Update changelog for 4.0.3 2020-07-29 17:06:41 +02:00