Commit Graph

256 Commits

Author SHA1 Message Date
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
Christophe Maudoux
aecbf41d0d Fix conf reloadUrls warning 2018-12-01 16:06:34 +01:00
Christophe Maudoux
204614fd63 Avoid warning when saving 2018-11-30 22:06:30 +01:00
Clément OUDOT
1ab7826767 Simplify first reload URL configuration (#1560) 2018-11-29 18:48:53 +01:00
Xavier Guimard
11857d9f8a make tidy 2018-11-26 14:40:21 +01:00
Christophe Maudoux
9234585b66 Improve AngularJS recursive limit (#1546) 2018-11-20 12:41:51 +01:00
Christophe Maudoux
724ada48ce Append config. test (#1508) 2018-11-16 22:55:53 +01:00
Christophe Maudoux
b03cf2d601 Append Config. tests (#1509) 2018-11-03 22:54:48 +01:00
Christophe Maudoux
748d25cafc Append BruteForceProtection configuration test (#1506) 2018-10-12 22:30:23 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
6f3caea85f Append bruteForce Manager Config. test (#1506) 2018-10-09 23:24:24 +02:00
Christophe Maudoux
797a16cb24 Append bruteForce test (#1506) 2018-10-09 23:13:03 +02:00
Xavier Guimard
1ef8c05908 Add "over" feature to choice (#1500) 2018-10-08 16:57:24 +02:00
Xavier Guimard
62d5c7836c make tidy 2018-09-02 17:31:58 +02:00
Christophe Maudoux
26942c642d Improve conf tests 2018-08-31 23:58:27 +02:00
Christophe Maudoux
59550d3a5a Improve CSRF token test 2018-08-31 23:49:25 +02:00
Christophe Maudoux
338abbbc5f Improve sfRequired test 2018-08-31 23:47:36 +02:00
Christophe Maudoux
ba260c1a6d Typo 2018-08-25 11:52:40 +02:00
Christophe Maudoux
6e071350c2 Improve conf test 2018-08-25 11:52:23 +02:00
Christophe Maudoux
7736528299 Modify conf tests code structure 2018-08-19 00:10:27 +02:00
Christophe Maudoux
5d22e8dd12 Append 2F params tests 2018-08-18 23:14:09 +02:00
Xavier Guimard
e9f6168ff0 Detect changes in app categories (#1479) 2018-08-16 07:34:30 +02:00
Christophe Maudoux
8b94550e79 perltidy (#1486) 2018-08-07 20:31:21 +02:00
Christophe Maudoux
82fe52eb2d Fix return condition to pass unit tests (#1486) 2018-08-07 20:29:44 +02:00
Christophe Maudoux
4d47aa87a0 Check if VerifyURL is set when REST2F is enabled (#1486) 2018-08-07 18:06:36 +02:00
Christophe Maudoux
d46f40cf40 Warning instead of error in conf tests 2018-07-31 21:25:31 +02:00
Christophe Maudoux
b9082a198f Fix comment 2018-07-31 21:12:22 +02:00
Christophe Maudoux
9f6da3d90b typo 2018-07-31 21:05:03 +02:00
Christophe Maudoux
cb4275d5be Append Yubikey module dependency test 2018-07-31 20:34:50 +02:00
Christophe Maudoux
9c5997486f Modify test & cookieExpiration value type (#1485) 2018-07-30 19:18:06 +02:00
Christophe Maudoux
ad73673f86 Fix cookie TTL warning (#1485) 2018-07-27 20:48:30 +02:00
Christophe Maudoux
f8045327b6 perltidy (#1485) 2018-07-26 20:52:35 +02:00
Christophe Maudoux
226b64cde0 Append cookie TTL warning (#1485) 2018-07-26 20:49:57 +02:00
Xavier Guimard
7c2fbe8d2b Fix formTimeout test 2018-07-14 07:31:59 +02:00
Christophe Maudoux
63a286f225 Fix conf test 2018-07-13 20:55:18 +02:00
Xavier Guimard
f4e591ed02 Fix new tests 2018-07-11 22:33:50 +02:00
Xavier Guimard
553826de04 Typo 2018-07-11 08:24:01 +02:00