Commit Graph

292 Commits

Author SHA1 Message Date
Maxime Besson
593e48e63e Add manager test for #2237 2020-07-24 17:10:11 +02:00
Maxime Besson
51762ca85f Add config test for CAS App url presence/uniqueness (#2240)
The issuer code only looks at the host part
2020-06-17 19:14:09 +02:00
Maxime Besson
7d5d62541a Add config test for OIDCRP client id presence/uniqueness (#2240) 2020-06-17 19:14:09 +02:00
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
Xavier
a104db2f2d Clean logs 2019-07-04 07:24:50 +02:00
Xavier Guimard
c1137edba8 make tidy with perltidy-20181120 2019-07-02 20:03:40 +02:00
Christophe Maudoux
b94cbe0144 Fix default value (#1825) 2019-07-01 13:28:01 +02:00
Christophe Maudoux
9e66b0a117 Append conf test (#1825) 2019-06-30 19:28:46 +02:00
Christophe Maudoux
a1f5791e06 Merge branch '1783' into v2.0 2019-06-30 19:00:41 +02:00
Christophe Maudoux
bcbea7bee0 Update version (#1825) 2019-06-29 21:48:52 +02:00
Christophe Maudoux
3e7f87eca6 Append config. tests (#1825) 2019-06-29 21:32:31 +02:00
Christophe Maudoux
831a988516 Append conf test (#1783) 2019-06-23 22:55:10 +02:00
Xavier Guimard
65eaefa75f Tidy 2019-06-14 17:23:26 +02:00
Maxime Besson
b12992755f Preserve applicationList key names (#1521)
Previously, every configuration save from the manager would overwrite
applicationList key names to preserve their ordering.

This commit introduces a new "order" key in the JSON config instead.
2019-05-28 15:38:26 +02:00
Xavier
f3c4ea0afb Tydy 2019-05-11 20:18:43 +02:00
Christophe Maudoux
8185f335e7 Cleaning code (#1741) 2019-05-11 11:52:07 +02:00
Christophe Maudoux
c210333908 Detect delete category (#1741) 2019-05-08 22:57:15 +02:00
Xavier Guimard
23fb9f1c86 Update version (#1736) 2019-05-06 18:16:08 +02:00
Xavier Guimard
34628e68ca Fix cfgVersion (Closes: #1736) 2019-05-06 18:13:15 +02:00
Christophe Maudoux
ab95f749dc Append warning if Impersonation is enable without prefix (#1664) 2019-05-03 17:22:30 +02:00
Christophe Maudoux
a382d919ae Typo 2019-05-02 14:26:53 +02:00
Christophe Maudoux
77aeea0f85 Append SAML configuration test (#1729) 2019-05-01 21:40:16 +02:00
Christophe Maudoux
398e16c4b9 Update Zero.pm 2019-04-05 12:06:13 +02:00
Xavier Guimard
2159957c34 Update versions 2019-04-05 09:54:43 +02:00
Christophe Maudoux
b76db50022 Update zeroConf 2019-03-26 22:57:24 +01:00
Xavier Guimard
bc2bef4ff4 Please use our .perltidyrc 2019-03-07 18:22:58 +01:00
Christophe Maudoux
2c20627294 Disable Conf test (#1658) 2019-03-05 19:36:03 +01:00
Christophe Maudoux
e7ec247f0c Modify warning (#1664) 2019-03-04 23:18:48 +01:00
Christophe Maudoux
2e5b9795b3 Disable warning (#1664) 2019-03-04 23:12:52 +01:00
Christophe Maudoux
7ead696ec0 Update version 2019-03-03 22:10:33 +01:00
Christophe Maudoux
228a37c0d2 WIP - Append parameters (#1664) 2019-03-03 21:27:27 +01:00
Christophe Maudoux
7b22aecd67 Update config. test (#1632) 2019-02-16 22:40:40 +01:00
Clément OUDOT
a9342c3c59 Fix configuration save with lmConfigEditor (#1649) 2019-02-11 18:00:35 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Xavier Guimard
0ddcaa5dc9 Update versions 2019-02-05 18:44:38 +01:00
Maxime Besson
01724a95d0 Use specified port when testing SMTP conf
When saving the configuration in the manager, the SMTP test would fail
if your SMTP server is not on the standard port 25

The test now takes the port into account
2019-02-03 14:32:55 +01:00
Xavier Guimard
c60ba130b8 Replace rand() by Crypt::URandom::urandom() 2019-01-31 23:16:52 +01:00
Xavier Guimard
2b51cf0c8d Fix tsv call (#1574) 2019-01-16 11:09:52 +01:00
Xavier Guimard
3cd434eec1 Fix tsv call (#1574) 2019-01-16 11:07:22 +01:00
Xavier Guimard
2f41ad1b47 Tidy 2019-01-16 11:05:58 +01:00
Xavier Guimard
9fa203de2d Fix tsv call (#1574) 2019-01-16 11:02:58 +01:00
Xavier Guimard
2629a8a747 Fix tsv call (#1574) 2019-01-12 08:45:43 +01:00
Christophe Maudoux
507f3c0750 Fix namespace (#1574) 2019-01-12 00:00:38 +01:00
Christophe Maudoux
70289c379c Fix cookie TTL configuration (#1610) 2019-01-10 21:50:23 +01:00
Xavier Guimard
2ab385e2df Update versions 2019-01-09 13:42:30 +01:00
Christophe Maudoux
c121214721 Backport all v2.1 improvements 2018-12-30 20:02:00 +01:00
Christophe Maudoux
33a7a1b12c Append warning if Mailrest plugin is enabled without Token or Captcha (#1602) 2018-12-26 22:55:03 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Christophe Maudoux
d4dad48c48 Change order (#1582) 2018-12-16 00:15:47 +01:00
Christophe Maudoux
19eaeef32c Typo (#1582) 2018-12-15 22:32:25 +01:00
Christophe Maudoux
c58dca9c1a Append Combination Conf. tests (#1582) 2018-12-15 22:28:58 +01:00