Commit Graph

9374 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
55f4007870 Clear location rules array on reload (#1966) 2019-10-18 15:54:48 +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
ef5f852297 Improve debug log & typo 2019-10-15 17:36:09 +02:00
Christophe Maudoux
3c2ecfd04a Tidy (#1956) 2019-10-13 22:47:57 +02:00
Christophe Maudoux
6adbf402a0 Typo (#1956) 2019-10-13 22:38:46 +02:00
Christophe Maudoux
c312955603 Append unit test (#1956) 2019-10-13 22:30:40 +02:00
Christophe Maudoux
f188426f8b Fix custom function parameter (#1956) 2019-10-13 22:29:12 +02:00
Christophe Maudoux
4179fc871e Append unit test (#1956) 2019-10-13 18:30:43 +02:00
Christophe Maudoux
4bb6e94b3c Fix doc link (#1956) 2019-10-13 15:40:49 +02:00
Christophe Maudoux
0ca649f106 Use custom decrypt functions (#1956) 2019-10-13 15:08:32 +02:00
Christophe Maudoux
9c823b2e7f Import ServiceTokenTTL into tsv (#1974) 2019-10-11 22:12:55 +02:00
Maxime Besson
2b4defb2a9 Prevent portal from crashing when keepPdata=1 (#1893)
Since the changes introduced to fix #1893, keepPdata is expected to
contain an array of values.

When migrating from previous LLNG versions, cookies may contain
keepPdata=1, which crashes the server because 1 isn't an arrayref

This change makes LLNG consider that keepPdata=1 is not a valid value,
and replaces it with an empty arrayref when starting the login or logout
flow.
2019-10-09 17:35:48 +02:00
Maxime Besson
408a21573a Merge branch 'issue-1893' into 'v2.0'
Set issuer urldc in pdata (#1893)

See merge request lemonldap-ng/lemonldap-ng!93
2019-10-09 00:51:37 +02:00
Maxime Besson
a130cd38b9 Fix notification unit tests for parallel execution 2019-10-09 00:36:44 +02:00
Xavier
9ea62d676b Use tsv::whatToTrace instead of _whatToTrace (#1969) 2019-10-08 22:42:20 +02:00
Maxime Besson
ff9bb46301 Make notification system take pdata url into account (#1893) 2019-10-08 22:40:10 +02:00
Maxime Besson
2bce713f65 Set issuer urldc in pdata (#1893) 2019-10-08 22:40:10 +02:00
Xavier
092436259f Remove PATH_INFO hook (#1943) 2019-10-08 22:26:23 +02:00
Maxime Besson
3ee708d8ff Delay cookie restore after hooks (#1965) 2019-10-07 17:26:40 +02:00
Christophe Maudoux
3d4aebcb21 Tidy & Fix version (#1968) 2019-10-05 12:03:49 +02:00
Christophe Maudoux
91e3f413ab Improve unit test (#1968) 2019-10-05 11:59:52 +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
Christophe Maudoux
28ffd93785 Don t translate attributes (#1952) 2019-10-01 22:08:01 +02:00
Christophe Maudoux
28c34b7eea Typo (#1964) 2019-10-01 22:06:16 +02:00
Christophe Maudoux
0f61edd9de Fix implicit angular injection (#1964) 2019-10-01 21:42:46 +02:00
Christophe Maudoux
1d59339627 Update unit test (#1956) 2019-10-01 19:55:48 +02:00
Maxime Besson
474bb48aa1 Make Password::LDAP/AD check connection before use (#1909)
Also remove a mostly redundant wrapper method in Auth::LDAP
2019-10-01 19:17:31 +02:00
Maxime Besson
fa49e77495 Better logs in case of a LDAP error 2019-10-01 15:14:51 +02:00
Maxime Besson
1c08d2bd4a Add unit test for #1500 2019-10-01 14:50:22 +02:00
Maxime Besson
914a760e25 Fix Choice parameter overload in manager (#1962) 2019-10-01 14:50:22 +02:00
Clément OUDOT
a239091553 Load String::Random (#1963) 2019-10-01 14:49:41 +02:00
Christophe Maudoux
138cfe6edb Append DecryptValue plugin (#1956) 2019-09-30 22:29:49 +02:00
Christophe Maudoux
a219a51e1c Revert "Make manifest"
This reverts commit c00110ed01.
2019-09-30 22:28:55 +02:00
Christophe Maudoux
35de9fd3e8 Re-order 2019-09-30 22:27:03 +02:00
Christophe Maudoux
c00110ed01 Make manifest 2019-09-30 22:26:55 +02:00
Christophe Maudoux
b3791cc65b Typo 2019-09-30 19:10:05 +02:00
Christophe Maudoux
b505d3a475 Typo 2019-09-30 19:10:05 +02:00
Maxime Besson
e9153957da IDP selection phrasing 2019-09-30 18:55:09 +02:00
Maxime Besson
e693e5e649 Fix IDP selection rules (#1961) 2019-09-30 18:54:02 +02:00
Clément OUDOT
b86a8102a1 Fix REST config call for a configuration key (#1960) 2019-09-30 17:33:06 +02:00
Xavier Guimard
37b09f39cb Merge branch 'pdata-1785' into 'v2.0'
New keepPdata behavior

See merge request lemonldap-ng/lemonldap-ng!96
2019-09-30 15:08:15 +02:00
Xavier
461cd51e45 Try to fix #1785 without breaking pdata 2019-09-29 23:04:17 +02:00
Christophe Maudoux
7534692a87 WIP - Append AuthBasic hanlder unit test 2019-09-29 13:44:21 +02:00
Christophe Maudoux
8fbbf89d5c Improve handler unit tests 2019-09-29 13:14:20 +02:00
Christophe Maudoux
9102cc2acc Typo 2019-09-29 12:50:46 +02:00
Xavier
b6d517d3d7 Fix tests 2019-09-29 08:30:39 +02:00
Christophe Maudoux
d1d6b4f192 Append SecureToken handler unit test 2019-09-28 19:49:01 +02:00
Christophe Maudoux
b969f5b876 Typo 2019-09-28 19:45:21 +02:00