Commit graph

24 commits

Author SHA1 Message Date
Alexandre Aubin
d6d775f0dc Uuuuh how was it even supposed to work eh 2023-11-28 19:14:19 +01:00
Alexandre Aubin
8d2acdd174 Fix the boring case where the cookie secret doesnt exist yet 2023-10-06 14:44:05 +02:00
Alexandre Aubin
a3d54635e0 Prevent epic crash when domain_portal_urls or permissions are not defined in the conf 2023-10-03 19:58:55 +02:00
Alexandre Aubin
24b7630d3c epic refactoring: refactor the 'portal url' logic, we shall now have a dict mapping domains to portal urls (which is anyway imposed by cookie management unless we reintroduce complex cross-domain authentication...) 2023-07-15 21:27:40 +02:00
Alexandre Aubin
02952d0202 Moar epic refactoring ... merge 'helpers.lua' inside 'access.lua' to reduce complexity ... 2023-07-15 19:51:31 +02:00
Alexandre Aubin
df094ea0e3 Cleanup unused stuff 2023-07-13 16:41:17 +02:00
Alexandre Aubin
ea0bc8a89c portalapi: propagate changes on the new API, decrypt the AES256-encrypted password found in user cookie to be able to construct the basic auth headers 2023-07-11 22:41:09 +02:00
Alexandre Aubin
d0dba1fd2e Epic refactoring for new portal API etc 2021-12-26 17:01:56 +01: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
a11d8f0d87 Move identification of relevant permission from helpers.lua to access.lua 2020-09-20 17:58:26 +02:00
Kay0u
63587ad67a
Update language on each request 2020-09-07 10:34:16 +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
971cd1802c
Update config.lua
Co-authored-by: Kayou <pierre@kayou.io>
2020-07-27 15:44:58 +02:00
Kay0u
400f88e6ca
fix the redirect loop \o/ 2020-05-21 21:51:55 +02:00
Kay0u
0b9f50246c
closing the files when we're done reading them 2020-03-29 19:39:25 +02:00
Alexandre Aubin
1eb322df17 Many tweaks in log system + implement many log messages in low-level functions 2019-10-03 20:42:01 +02:00
Lukas Fülling
d33cd97556 Add theming support, add vapor theme 2019-02-21 18:12:24 +01:00
Y
db9059a55c let the admin decide how passwords are handled 2017-09-16 19:22:47 +02:00
Y
6b6fd09f34 portal_path must end with / 2017-09-16 18:51:57 +02:00
opi
bf24cf5e50 [enh] Use consistent coding convention for function prototype. 2016-04-30 12:40:59 +02:00
kload
32b730c11f [fix] Load modules as proper modules + typo 2015-02-15 13:09:15 +01:00
kload
35e69a1bf2 [fix] Separate files properly 2015-02-12 12:08:52 +01:00
kload
84015149b9 [enh] Separate configuration file loading to a new file and document it 2015-02-02 00:05:09 +01:00