Commit Graph

239 Commits

Author SHA1 Message Date
Xavier Guimard
ee6fd758f1 fix cfgAuthor when manager is protected by webserver (#2209) 2020-05-15 14:21:57 +02:00
Xavier Guimard
9b2ac6488a Use REMOTE_USER environment variable to set cfgAuthor if exists (#2209) 2020-05-15 09:57:17 +02:00
Xavier Guimard
fcaa959219 Add X-Real-IP in cfgAuthorIP if exists (#2195) 2020-05-12 17:02:59 +02:00
Xavier Guimard
3385fc3ae2 Register X-Forwarded-For value in cfgAuthorIP when available (fixes: #2195) 2020-05-12 15:58:41 +02:00
Maxime Besson
a9b1b6bc1d configuration parser: check metadata/vhost options for syntax (#2166) 2020-04-22 11:41:36 +02:00
Maxime Besson
4bcb391121 Add an easy way to set level of additional second factors (#2149) 2020-04-15 17:20:27 +02:00
Christophe Maudoux
557fa3f74c Try to fix #1740 2020-04-12 16:50:30 +02:00
Christophe Maudoux
ab1601745b Improve code (#1455) 2020-04-05 12:19:05 +02:00
Christophe Maudoux
9858b94482 Update Tests.pm 2020-04-04 01:21:40 +02:00
Christophe Maudoux
5e0ffe84af Typo (#2133) 2020-04-03 14:36:48 +02:00
Christophe Maudoux
1f16458d2e Append Manager test (#2133) 2020-04-03 14:33:22 +02:00
Christophe Maudoux
a7a2a425a5 Better fix to avoid side effects and Jail warning (#2126 & #1717) 2020-03-28 14:25:42 +01:00
Christophe Maudoux
52e36797e5 Update version 2020-03-03 17:50:11 +01:00
Christophe Maudoux
1922650218 Fix Zero conf (#2036) 2020-03-03 17:42:46 +01:00
Maxime Besson
e016b315bf Add manager test for RSA usage in OIDC without a key (#2105) 2020-02-24 16:28:38 +01:00
Christophe Maudoux
57b546d112 Fix lmConfigEditor logger error (#2059) 2020-02-16 12:58:12 +01:00
Clément OUDOT
9ea79511d3 Fix test on issuersTimeout option in Manager (#2092) 2020-02-14 09:42:48 +01:00
Xavier Guimard
663a7759f8 Merge branch 'manager-plugins' into 'v2.0'
Change Manager framework to plugins

See merge request lemonldap-ng/lemonldap-ng!124
2020-02-04 21:04:21 +01:00
Maxime Besson
a5c97cd745 ConfigParser: return parsing errors in global message (#1902) 2020-01-29 08:44:09 +01:00
Xavier Guimard
09d929b1ff Change Manager framework to plugins 2020-01-28 15:32:30 +01:00
Clément OUDOT
3b84d0a003 Filter order parameter to avoid error on HASH ref (#2072) 2020-01-22 17:24:37 +01:00
Christophe Maudoux
d7c2b36d15 Don t load bruteForceProtection plugin without persistent storage 2020-01-14 19:01:37 +01:00
Christophe Maudoux
0dd6b28616 Fix logger with CLI & Test type (#2059) 2020-01-12 22:19:54 +01:00
Christophe Maudoux
609db2ec11 Append conf tests (#1605) 2020-01-05 21:50:33 +01:00
Christophe Maudoux
2954ea2abc Disable compactConf by default & Update unit tests (#2046) 2019-12-22 13:06:10 +01:00
Clément OUDOT
17e77d90b6 Test if redirect URI in an OIDC RP is defined before saving configuration (#2040) 2019-12-20 11:31:48 +01:00
Maxime Besson
bbef316754 Add manager UI for per-service macros (#2042) 2019-12-16 17:26:35 +01:00
Maxime Besson
eda33e647c Add a manager test for #2007 2019-12-13 14:10:25 +01:00
Christophe Maudoux
ea3337574c Append conf manager test (#2012) 2019-11-17 22:36:52 +01:00
Christophe Maudoux
836add81c0 Parse conf (#1988) 2019-10-27 17:17:58 +01:00
Christophe Maudoux
ef08306906 Merge branch 'v2.0' into 1988 2019-10-26 22:58:37 +02:00
Christophe Maudoux
5eaf00601e WIP 2019-10-26 21:40:19 +02:00
Christophe Maudoux
8903874b98 WIP - Append option & update langs 2019-10-26 12:43:27 +02:00
Maxime Besson
b25470f818 Fix handling of empty or invalid choice overloads (#1962) 2019-10-18 18:04:29 +02:00
Maxime Besson
dccf1b2ce4 Fix _whatToTrace default OIDC value
_oidc_OP is the OIDC provider that authenticated us, oidcConnectedRP is
(if relevant) the RP we are coming from
2019-10-17 22:50:25 +02:00
Christophe Maudoux
3d4aebcb21 Tidy & Fix version (#1968) 2019-10-05 12:03:49 +02:00
Christophe Maudoux
ee6d67e4fd Better fix - Don t load localConf twice (#1968) 2019-10-05 11:54:55 +02:00
Christophe Maudoux
c43ed2b5ca Fix skip conf tests (#1968) 2019-10-02 22:05:31 +02:00
Maxime Besson
914a760e25 Fix Choice parameter overload in manager (#1962) 2019-10-01 14:50:22 +02:00
Xavier
b332a07dc9 Spelling error 2019-09-24 19:24:39 +02:00
Clément OUDOT
28b5cc0e31 Force lower case in initial value of _whatToTrace macro (#1869) 2019-09-18 21:19:53 +02:00
Xavier
e50e7d09d1 Update version of (really) modified files 2019-09-12 21:56:49 +02:00
Christophe Maudoux
750d0e1c70 Improve conf test (#1916) 2019-09-03 22:52:07 +02:00
Christophe Maudoux
8c2613ca72 Update version (#1904) 2019-09-01 22:37:53 +02:00
Christophe Maudoux
1166d5442c Explain removed keys (#1904) 2019-09-01 21:40:44 +02:00
Christophe Maudoux
c00b16363b Detect CAS/OIDC conf. changes (#1889) 2019-08-25 18:10:45 +02:00
Xavier Guimard
c928189779 Better manager regexps 2019-08-12 15:34:48 +02:00
Maxime Besson
c1afdbefac Add labels and logos to all 2F providers (#1873) 2019-08-01 17:27:14 +02:00
Maxime Besson
d82f776df8 Allow multi instanciation of 2F modules (#1860)
This commit adds a manager interface to declare multiple instances of a
single 2F module, in a manner similar to Combination.

An additional portal code reads the `sfExtra` variable to load the
declared modules.

An empty rules means the module will be always active.
2019-07-22 19:30:37 +02:00
Christophe Maudoux
3ddc92d4f3 Update conf. test (#1825) 2019-07-05 23:09:23 +02:00