lemonldap-ng merge requestshttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests2023-12-14T16:18:00Zhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/402allow logout_app + logout_app_sso in Nginx2023-12-14T16:18:00Zdcoutadeur dcoutadeurallow logout_app + logout_app_sso in NginxFixes #3044Fixes #30442.18.0dcoutadeur dcoutadeurdcoutadeur dcoutadeurhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/335add extended functions to test IP ranges2023-04-11T13:46:46ZMaxime Bessonadd extended functions to test IP rangesThis PR fixes #2903 by providing two new functions
* ipInNetwork:
```
ipInNetwork($ENV{REMOTE_ADDR}, '127.0.0.0/8')
ipInNetwork($ENV{REMOTE_ADDR}, '10.0.0.0/8', '192.168.0.0/16')
```
* inNetwork (same but implicitely tests REM...This PR fixes #2903 by providing two new functions
* ipInNetwork:
```
ipInNetwork($ENV{REMOTE_ADDR}, '127.0.0.0/8')
ipInNetwork($ENV{REMOTE_ADDR}, '10.0.0.0/8', '192.168.0.0/16')
```
* inNetwork (same but implicitely tests REMOTE_ADDR):
```
inNetwork('127.0.0.0/8')
inNetwork('10.0.0.0/8', '192.168.0.0/16')
```
New dependency: [Net::CIDR](https://metacpan.org/pod/Net::CIDR) (found in Debian and EPEL)
works in Safe Jail
maybe we should deprecate isInNet6 ?2.17.0Maxime BessonMaxime Bessonhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/334Update AuthBasic2023-03-27T08:57:16ZYaddUpdate AuthBasic2.16.1Maxime BessonMaxime Bessonhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/325Append a regexp to hide session attributes2023-03-04T23:09:29ZChristophe Maudouxchrmdx@gmail.comAppend a regexp to hide session attributesClose #2878Close #28782.17.0Christophe Maudouxchrmdx@gmail.comChristophe Maudouxchrmdx@gmail.comhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/316Add option to use CDA together with DevOps handler2023-01-30T11:04:23ZJan BaierAdd option to use CDA together with DevOps handlerTo extend the possibilities to have SSO as Service, one would need to be able to handle applications served outside the portal main domain. For that, the DevOps handler needs to be able to use CDA mechanism to set cookies accordingly.To extend the possibilities to have SSO as Service, one would need to be able to handle applications served outside the portal main domain. For that, the DevOps handler needs to be able to use CDA mechanism to set cookies accordingly.2.0.16https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/317Add documentation for DevOpsCDA handler2023-01-30T11:02:55ZJan BaierAdd documentation for DevOpsCDA handlerHandler added in lemonldap-ng/lemonldap-ng!316Handler added in lemonldap-ng/lemonldap-ng!3162.0.16https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/313Use RegExp to define ServiceToken scope (#2849)2023-01-25T12:23:14ZChristophe Maudouxchrmdx@gmail.comUse RegExp to define ServiceToken scope (#2849)Extend ServiceToken scope by using regexpExtend ServiceToken scope by using regexp2.0.16Christophe Maudouxchrmdx@gmail.comChristophe Maudouxchrmdx@gmail.comhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/296Add Traefik support (#2805)2023-01-25T10:54:43ZYaddAdd Traefik support (#2805)Todo: test & docTodo: test & doc2.0.16YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/259Add new liblemonldap-ng-ssoaas-apache-client-perl package (#2739)2022-07-13T16:09:43ZYaddAdd new liblemonldap-ng-ssoaas-apache-client-perl package (#2739)2.0.15Clément OUDOTClément OUDOThttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/273Variables placeholder in configuration2022-07-01T14:12:22ZYaddVariables placeholder in configurationAccept environment variables placeholder in configuration (Closes: #2491)Accept environment variables placeholder in configuration (Closes: #2491)2.0.15Clément OUDOTClément OUDOThttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/241Append redirection params (#2685)2022-02-01T22:13:48ZChristophe Maudouxchrmdx@gmail.comAppend redirection params (#2685)Append env variables to allow dev team to set redirection parametersAppend env variables to allow dev team to set redirection parameters2.0.14YaddYaddhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/232Transmit handler local config to handler psgi server init (#2632)2022-01-20T14:17:06ZMaxime BessonTransmit handler local config to handler psgi server init (#2632)Proposed fix for #2632
I changed $self->{protection} to $args->{protection} in Handler::Lib::PSGI init because $self->{*} is no longer set from args since Common::PSGI init runs later now.Proposed fix for #2632
I changed $self->{protection} to $args->{protection} in Handler::Lib::PSGI init because $self->{*} is no longer set from args since Common::PSGI init runs later now.2.0.14Maxime BessonMaxime Bessonhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/237Harmonize regex2021-11-17T08:54:51ZChristophe Maudouxchrmdx@gmail.comHarmonize regexBe more consistent with custom functions & plugins declarationBe more consistent with custom functions & plugins declaration2.0.14Christophe Maudouxchrmdx@gmail.comChristophe Maudouxchrmdx@gmail.comhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/230Append an option in Manager to define RULES_URL param (#2627)2021-10-02T06:34:41ZChristophe Maudouxchrmdx@gmail.comAppend an option in Manager to define RULES_URL param (#2627)This option is usefull to avoid adding uwsgi/fastCGI_param RULES_URL directive for each DevOps Block Server/Virtual Host.This option is usefull to avoid adding uwsgi/fastCGI_param RULES_URL directive for each DevOps Block Server/Virtual Host.2.0.14Christophe Maudouxchrmdx@gmail.comChristophe Maudouxchrmdx@gmail.comhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/223Fix 2618 - Take into account RULES_URL param with DevOps handler2021-09-30T15:07:40ZChristophe Maudouxchrmdx@gmail.comFix 2618 - Take into account RULES_URL param with DevOps handler2.0.14Christophe Maudouxchrmdx@gmail.comChristophe Maudouxchrmdx@gmail.comhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/21425642021-08-20T16:07:40ZChristophe Maudouxchrmdx@gmail.com2564Append option to define register and done email body.
Fix #2564Append option to define register and done email body.
Fix #25642.0.13Clément OUDOTClément OUDOThttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/213Fix Safe jail error reporting2021-07-26T16:00:03ZMaxime BessonFix Safe jail error reporting2.0.13Maxime BessonMaxime Bessonhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/17023812020-11-16T16:22:26ZChristophe Maudouxchrmdx@gmail.com2381Be able to overwrite customToTrace with a custom functionBe able to overwrite customToTrace with a custom function2.0.10Christophe Maudouxchrmdx@gmail.comChristophe Maudouxchrmdx@gmail.comhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/139Change OAuth2 handler behavior to conform to RFC2020-05-04T13:57:37ZMaxime BessonChange OAuth2 handler behavior to conform to RFCThis changes existing behavior, but makes it compliant with RFC6750This changes existing behavior, but makes it compliant with RFC67502.0.8https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/merge_requests/107New skip() function in rules2019-12-10T15:06:22ZYaddNew skip() function in rulesThis MR adds the `skip()` function that can be added in a rule to have the benefit of "skip" keyword inside a rule. Example:
```perl
$env->{REMOTE_ADDR} =~ /^192\.168\.42\./ ? skip : 1
```This MR adds the `skip()` function that can be added in a rule to have the benefit of "skip" keyword inside a rule. Example:
```perl
$env->{REMOTE_ADDR} =~ /^192\.168\.42\./ ? skip : 1
```2.0.7