Commit Graph

9363 Commits

Author SHA1 Message Date
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
Christophe Maudoux
abf27ad7ac Fix secureToken with PSGI servers 2019-09-28 19:45:07 +02:00
Christophe Maudoux
200546b2e4 Fix logger 2019-09-28 19:18:53 +02:00
Christophe Maudoux
32a0d0944a Append ZimbraPreAuth handler test (#1954) 2019-09-28 12:11:33 +02:00
Christophe Maudoux
892516d55e Typo 2019-09-28 12:10:33 +02:00
Christophe Maudoux
6329887871 Fix returned values - Propage #1954 2019-09-27 23:19:21 +02:00
Christophe Maudoux
756865c229 Typo 2019-09-27 22:29:16 +02:00
Christophe Maudoux
0f32b7db82 Set version & tidy (#1954) 2019-09-27 22:29:06 +02:00
Christophe Maudoux
9d245fe819 Fix namespace (#1954) 2019-09-27 22:09:04 +02:00
Christophe Maudoux
1d0a79ba5d Fix returned values (#1954) 2019-09-27 21:46:18 +02:00
Xavier
fb622fff64 Import malay mail translation from transifex 2019-09-27 18:23:58 +02:00
Christophe Maudoux
3e99bd5e5a Don t translate session attributes (#1952) 2019-09-26 22:06:54 +02:00