Commit graph

807 commits

Author SHA1 Message Date
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
Alexandre Aubin
9a140ae0ad Bump version to 4.0.2~beta 2020-07-27 20:23:38 +02:00
Alexandre Aubin
074eef4a52 Update changelog for 4.0.1~alpha 2020-07-27 20:23:38 +02:00
Alexandre Aubin
90fdbf1564 Update changelog for 3.8.0.3 2020-07-27 17:56:56 +02:00
Alexandre Aubin
1142c76a59
Merge pull request #163 from SilverViper/patch-1
[fix] Invalid even more cookies
2020-07-27 16:46:51 +02:00
Alexandre Aubin
6bcf840f4d
Merge pull request #160 from YunoHost/close-conf-files
closing the files when we're done reading them
2020-07-27 15:45:23 +02:00
Alexandre Aubin
971cd1802c
Update config.lua
Co-authored-by: Kayou <pierre@kayou.io>
2020-07-27 15:44:58 +02:00
Emmanuel Counasse
1dae6e8a1e allow the user's password manager to automatically enter the password/username/new-password 2020-07-24 16:08:29 +02:00
Alexandre Aubin
514c416c68 Update changelog for 3.8.0.2 2020-06-18 16:11:55 +02:00
Alexandre Aubin
4a17d3216a
Merge pull request #168 from YunoHost/fix-custom_overlay
find recursively relative to the theme directory
2020-06-18 15:23:21 +02:00
Kay0u
b5a1d8dfed
find recursively relative to the theme directory 2020-06-18 15:20:11 +02:00
Alexandre Aubin
3b056bed76
Merge pull request #167 from YunoHost/fix-custom_overlay
fix theme loading
2020-06-18 15:01:29 +02:00