Commit Graph

398 Commits

Author SHA1 Message Date
Christophe Maudoux
f702664409 WIP - checkUser Improve code (#1658) 2019-02-25 20:11:32 +01:00
Christophe Maudoux
f0684f6c24 WIP - checkUser use OTT (#1658) 2019-02-25 10:58:06 +01:00
Christophe Maudoux
0f04629ed1 WIP - checkUser prepare conf (#1658) 2019-02-24 22:47:39 +01:00
Christophe Maudoux
e22a2835d1 WIP - checkUser replace 'each' loop ;-) (#1658) 2019-02-24 22:31:04 +01:00
Christophe Maudoux
ba2ab0c4a2 WIP - checkUser display transmitted headers (#1658) 2019-02-24 22:10:45 +01:00
Christophe Maudoux
557539805a WIP - checkUser hide secret attributes (#1658) 2019-02-23 23:24:13 +01:00
Christophe Maudoux
30148caf2d WIP - checkUser hide secret attributes (#1658) 2019-02-23 23:02:42 +01:00
Christophe Maudoux
c3255e1ed8 WIP - checkUser prepare loop (#1658) 2019-02-23 20:39:53 +01:00
Christophe Maudoux
0c0b3dd069 WIP - checkUser test access (#1658) 2019-02-23 11:19:40 +01:00
Christophe Maudoux
697882bd45 WIP - checkUser plugin skeleton (#1658) 2019-02-23 09:35:43 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Christophe Maudoux
a994e71345 Update code (#1628) 2019-02-06 13:20:35 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Xavier Guimard
0ddcaa5dc9 Update versions 2019-02-05 18:44:38 +01:00
Christophe Maudoux
5ccb86dc77 Tidy (#1628) 2019-02-04 19:15:21 +01:00
Christophe Maudoux
6a732ba2eb Cleaning code (#1628) 2019-02-04 18:59:37 +01:00
Christophe Maudoux
8c409fc51d Fix error msg & Improve unit test (#1628) 2019-02-04 17:40:18 +01:00
Xavier Guimard
22a54210dd Merge branch 'fix-plaintext-email' into 'master'
Fix plaintext email

See merge request lemonldap-ng/lemonldap-ng!53
2019-02-01 15:37:00 +01:00
Clément OUDOT
7703b993dc Clean code that manages templates parameters (#1634, #1631) 2019-01-31 15:39:24 +01:00
Clément OUDOT
1f107db9a4 Allow to display env in password reset and register templates (#1631) 2019-01-31 14:22:38 +01:00
Maxime Besson
6890b290b1 Fix plaintext email
For the few of us who like plain text email better.

Before this commit, the mail body would not be correctly pulled from
config, and then the portal would error 500 due to MIME::Entity objects
not having an "attr" accessor, unlike the previously used MIME::Lite
objects
2019-01-30 12:06:05 +01:00
Christophe Maudoux
96b93a56c1 Partial revert rename parameters (#1605) 2019-01-24 19:45:43 +01:00
Christophe Maudoux
ce809fc80c Improve manager tree (#1616) 2019-01-19 14:27:00 +01:00
Christophe Maudoux
8029357dd3 WIP - Split mailReset plugin and SMTP parameters (#1605) 2019-01-17 19:40:31 +01:00
Christophe Maudoux
b486735d46 WIP - Split mailReset plugin and SMTP parameters (#1616) 2019-01-16 22:57:35 +01:00
Christophe Maudoux
e2ff00bbad MISTAKE - Partial revert - Restore v2.0 version 2018-12-26 22:12:25 +01:00
Christophe Maudoux
840c2f259b Improve Protractor e2e tests (#1600) 2018-12-26 21:01:53 +01:00
Clément OUDOT
7c236be247 Refresh security token when mail is not found (#1589) 2018-12-21 15:02:55 +01:00
Clément OUDOT
7d290a562d Require captcha in resend mail screen (#1589) 2018-12-21 14:59:34 +01:00
Xavier Guimard
eb1f94bcba Fix version 2018-12-21 08:17:20 +01:00
Christophe Maudoux
d3be4b00c4 Revert "Fix resendconfirmation (#1589)"
This reverts commit d576702e78
2018-12-20 09:19:27 +01:00
Christophe Maudoux
0d5287cfdc Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-12-19 22:22:53 +01:00
Christophe Maudoux
d576702e78 Fix resendconfirmation (#1589) 2018-12-19 22:22:40 +01:00
Christophe Maudoux
633db01d3a Typo (#1589) 2018-12-18 22:38:58 +01:00
Xavier Guimard
9ebc18ca5d Update version 2018-12-18 13:13:15 +01:00
Christophe Maudoux
607442a2cd Cleaning code #1587 2018-12-17 23:04:24 +01:00
Christophe Maudoux
4af167ff9b WIP - Display error if mail already exists (#1587) 2018-12-17 22:45:37 +01:00
Christophe Maudoux
e15631e32c Fix warning msg (#1587) 2018-12-17 22:01:54 +01:00
Christophe Maudoux
9f6a992390 Fix staticPrefix param 2018-12-17 21:31:38 +01:00
Christophe Maudoux
aa45cf148a Append bruteForce Protection number of allowed failed Login parameter (#1506) 2018-12-12 23:51:33 +01:00
Clément OUDOT
9861799814 Restore portalRequireOldPassword value (#1554) 2018-11-24 12:01:31 +01:00
Clément OUDOT
8552c9c5f2 tidy code (#1554) 2018-11-24 12:00:41 +01:00
Christophe Maudoux
8217c4c567 Display form again when an error occures (#1508) 2018-11-16 22:03:06 +01:00
Christophe Maudoux
0f4046ce26 perltidy (#1508) 2018-11-15 21:20:06 +01:00
Christophe Maudoux
72b42a516f Append reset password retries number parameter (#1508) 2018-11-15 21:16:46 +01:00
Christophe Maudoux
b1747a95df Display form again when an error occures (#1508) 2018-11-15 19:26:16 +01:00
Christophe Maudoux
c319ce47c3 Display form again when an error occures (#1508) 2018-11-15 19:19:20 +01:00
Clément OUDOT
584b79f30c Avoid warning if user not defined in log message (#1508) 2018-11-14 11:05:05 +01:00
Christophe Maudoux
c0a9a726f3 WIP - Display form again when an error occures (#1508) 2018-11-13 23:29:28 +01:00
Xavier Guimard
e317d180b9 Fix MailReset for DBI (#1508)
Same todo with other Password::* backends
2018-11-13 11:30:45 +01:00
Xavier Guimard
e966399cc0 Typo (#1508) 2018-11-13 08:27:53 +01:00
Xavier Guimard
61eb91b7aa Store pdata in mailToken (#1508) 2018-11-13 06:53:21 +01:00
Clément OUDOT
7690a56843 Put simple values in buil_urlencoded args (#1527) 2018-10-19 11:29:11 +02:00
Clément OUDOT
30b7ce6396 Use main logo in mails (#1515) 2018-10-17 10:43:41 +02:00
Christophe Maudoux
2178c8a2cf Append Portal main logo param (#1515) 2018-10-15 19:37:29 +02:00
Clément OUDOT
c5f9a7f95b make tidy 2018-10-12 10:04:03 +02:00
Christophe Maudoux
0f60238e7f Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-10-11 21:03:56 +02:00
Clément OUDOT
7df46ae183 Change password in mail reset when it is generated (#1508) 2018-10-10 23:13:59 +02:00
Christophe Maudoux
c2da030b95 BruteForceProtection plugin disable by default 2018-10-10 23:12:38 +02:00
Christophe Maudoux
995184b2a4 Throw warning msg if History disabled (#1506) 2018-10-09 23:12:14 +02:00
Christophe Maudoux
3401089eb5 Modify init condition - History is required (#1506) 2018-10-09 22:54:04 +02:00
Clément OUDOT
8f7875a4a1 Set RESET for mail_password templte (#1508) 2018-10-09 20:29:24 +02:00
Clément OUDOT
33ce3c9f1b Set token for confirmation screen (#1508) 2018-10-09 10:08:03 +02:00
Clément OUDOT
b33bd5a99d Allow to display mail resend confirmation screen (#1508) 2018-10-09 09:37:26 +02:00
Christophe Maudoux
fa0a78d8cd Improve code (#1510) 2018-10-07 21:32:26 +02:00
Christophe Maudoux
72df9415ef perltidy 2018-10-07 15:19:00 +02:00
Christophe Maudoux
47c1578f51 GrantSession message can contain session data (#1510) 2018-10-07 14:13:13 +02:00
Christophe Maudoux
b075aa47a6 perltidy 2018-10-07 11:40:26 +02:00
Christophe Maudoux
ff3605185d Fix error message 2018-10-06 23:09:07 +02:00
Christophe Maudoux
b2be6dca25 Improve code ;-) (#1507) 2018-10-05 19:36:56 +02:00
Christophe Maudoux
8fbdf29c8a Rename plugin (#1507) 2018-10-04 18:41:03 +02:00
Christophe Maudoux
3f780cf5cc perltidy (#1507) 2018-10-03 22:45:12 +02:00
Christophe Maudoux
0b09f7a130 Cleaning code (#1507) 2018-10-03 22:44:38 +02:00
Christophe Maudoux
a82939ee4b WIP - Append PortalForceAuthn plugin (#1507) 2018-10-03 22:22:15 +02:00
Christophe Maudoux
a6c461f7b6 WIP - Rename plugin PortalForceAuthn (#1507) 2018-10-03 21:27:09 +02:00
Christophe Maudoux
85c6ad2498 WIP - Append PortalForceReAuthn (#1507) 2018-10-03 21:07:10 +02:00
Christophe Maudoux
bcdd461f0b Improve unit test (#1510) 2018-10-02 20:29:43 +02:00
Christophe Maudoux
a1cb06cfa9 Append debug message (#1510) 2018-10-01 22:46:28 +02:00
Christophe Maudoux
e3d674cf05 Fix mistake (#1510) 2018-10-01 19:53:21 +02:00
Christophe Maudoux
78b486ee8e WIP - Fix grantSession rules creation from manager & message display (#1510) 2018-10-01 19:43:16 +02:00
Christophe Maudoux
5fca77fbbf WIP - Fix grantSession rules creation from manager (#1510) 2018-10-01 16:20:30 +02:00
Christophe Maudoux
8890aa05f7 Fix conf parameter name (#1510) 2018-10-01 15:20:41 +02:00
Christophe Maudoux
c3ccbd77c3 Cleaning code (#1506) 2018-09-30 21:16:29 +02:00
Christophe Maudoux
9387ed9778 Append unit test (#1506) 2018-09-28 23:04:03 +02:00
Christophe Maudoux
b712c80a17 Append debug msg (#1506) 2018-09-28 20:08:54 +02:00
Christophe Maudoux
d4eb025de3 Append BruteForceProtection (#1506) 2018-09-28 19:50:01 +02:00
Christophe Maudoux
1662f471bb WIP - Append brute force attack protection (#1506) 2018-09-28 00:06:17 +02:00
Xavier Guimard
86b2a89912 Enable WSDL server (fixes: #8) 2018-09-26 20:51:53 +02:00
Xavier Guimard
051b9d2114 Typo #8 2018-09-26 07:32:28 +02:00
Xavier Guimard
999569c170 Provide WSDL in 2.0 (#8)
To use it, set "wsdlServer=1" in lemonldap-ng.ini
2018-09-26 07:28:29 +02:00
Xavier Guimard
ee654609e1 #8 skeleton 2018-09-25 06:55:17 +02:00
Christophe Maudoux
f808aa93dd WIP - Return PE_WAIT msg & timer (#1506) 2018-09-23 12:52:30 +02:00
Christophe Maudoux
31a689340d Rename BruteForceProtection plugin (#1506) 2018-09-23 11:09:04 +02:00
Christophe Maudoux
587fdfe708 Append BrutForceProtection unit test (#1506) 2018-09-22 22:34:14 +02:00
Christophe Maudoux
b50dd45325 Fix typo (#1506) 2018-09-22 21:27:11 +02:00
Christophe Maudoux
c2b6196f49 Avoid compilation warning (#1506) 2018-09-22 20:37:34 +02:00
Christophe Maudoux
312e152bcc Append brutForceProtection plugin (#1506) 2018-09-22 19:26:21 +02:00
Christophe Maudoux
e7d7ef1e0a FIX logins history display (#1501) 2018-09-22 10:14:29 +02:00
Xavier Guimard
10ed38bd3a Optimize notifications (#1497) 2018-09-05 13:35:50 +02:00
Xavier Guimard
6278398060 Move "afterData" entry point before "buildCookie" and add "endAuth" entrypoint (#1497)
TODO: optimize notifications
2018-09-05 09:22:20 +02:00
Xavier Guimard
f7144908e9 Fix CDC (#1477) 2018-08-02 22:00:41 +02:00
Christophe Maudoux
90fd401c80 Merge branch 'master' into 1464 2018-07-19 23:02:48 +02:00
Xavier Guimard
d1ee05540e #1477 in progress 2018-07-19 08:38:51 +02:00
Christophe Maudoux
7dafa25145 Merge branch 'master' into 1464 2018-07-19 00:28:02 +02:00
Christophe Maudoux
7d376dc2b2 Merge branch '1464' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into 1464 2018-07-18 18:59:53 +02:00
Xavier Guimard
9bb2e5a44a Fix cookies search (#1477) 2018-07-18 15:59:03 +02:00
Christophe Maudoux
946a3d2bc8 Merge branch 'master' into 1464 2018-07-18 15:49:09 +02:00
Xavier Guimard
3f1ba3440a CDC plugin skeleton (#1477) 2018-07-18 15:44:24 +02:00
Christophe Maudoux
ded9393da4 Delete revoked consents (#1464) 2018-07-17 22:38:01 +02:00
Christophe Maudoux
cdd6aab89b WIP - Delete revoked consents (#1464) 2018-07-17 22:28:39 +02:00
Christophe Maudoux
e3197a5226 WIP - Delete revoked consents (#1464) 2018-07-17 22:17:45 +02:00
Christophe Maudoux
6a64f87ccc WIP - Delete revoked consents (#1464) 2018-07-17 21:59:07 +02:00
Christophe Maudoux
0bbcf4a6cc WIP - Delete revoked consents (#1464) 2018-07-17 21:44:13 +02:00
Christophe Maudoux
d269db6346 WIP - Delete revoked consents (#1464) 2018-07-17 21:36:51 +02:00
Christophe Maudoux
da44a7c83e perltidy (#1464) 2018-07-17 18:18:50 +02:00
Christophe Maudoux
e1917a59de Delete revoked consents (#1464) 2018-07-17 18:15:17 +02:00
Christophe Maudoux
72920d1ede Modify oidcConsents key structure (#1464) - perltidy 2018-07-16 23:00:44 +02:00
Christophe Maudoux
eff809424c Modify oidcConsents key structure (#1464) - perltidy 2018-07-16 22:56:43 +02:00
Christophe Maudoux
96912d9c27 WIP - Modify oidcConsents key structure (#1464) 2018-07-16 22:47:36 +02:00
Christophe Maudoux
949200c6a0 WIP - Modify oidcConsents key structure(#1464) 2018-07-16 22:34:11 +02:00
Christophe Maudoux
3fbf577a2f WIP - Modify oidcConsents key structure 2018-07-16 22:17:23 +02:00
Xavier Guimard
0f7b3ca71d make tidy 2018-07-05 23:00:40 +02:00
Xavier Guimard
b2620c2679 s/datas/data
datas => des données
data => les données
2018-07-05 22:56:16 +02:00
Xavier Guimard
1a6f717dfc Use pdata in Choice (#1461) 2018-07-05 22:05:24 +02:00
Xavier Guimard
b790270794 Fix issuers use of pdata (#1461) 2018-07-05 18:45:29 +02:00
Xavier Guimard
7ce1bd2d08 Trying to use pdata for issuers (#1461) 2018-07-04 22:54:09 +02:00
Xavier Guimard
8596b339e8 Use build_urlencoded everywhere (#1461) 2018-06-26 19:13:06 +02:00
Xavier Guimard
abd9d876d5 Optimizations (#1461) 2018-06-25 22:45:00 +02:00
Xavier Guimard
fa161b7b81 Bad array usage (#1431) 2018-06-21 17:22:58 +02:00
Xavier Guimard
79ff4e5e1e Improve regexp (#1431) 2018-06-21 17:15:53 +02:00
Xavier Guimard
8a0f7777dc Bad route declaration (#1431) 2018-06-21 13:52:18 +02:00
Xavier Guimard
ff0c8029db Change oidc content key for removal (#1431) 2018-06-20 21:38:26 +02:00
Xavier Guimard
7c105e2db6 Fix status for Apache (closes: #1448) 2018-06-12 21:00:10 +02:00
Xavier Guimard
33e20b55f5 Prepare UDP out for status (#1448) 2018-06-12 12:17:17 +02:00
Xavier Guimard
1a9ec21d00 Use IO::Handle methods (#1148) 2018-06-12 11:45:21 +02:00
Xavier Guimard
492296c226 Fix CDA for already authenticated users (Closes: #1446) 2018-06-11 14:03:09 +02:00
Xavier Guimard
7f7d068646 Don't reload portal if conf is already loaded 2018-06-05 23:13:18 +02:00
Xavier Guimard
b321349893 Don't filter special sessions (#1440) 2018-06-05 20:52:55 +02:00
Xavier Guimard
f7f42fac2b Fix another issue in CDA (#1440) 2018-06-04 10:59:18 +02:00
Xavier Guimard
0485c4aa06 Typo (#1440) 2018-06-04 10:09:18 +02:00
Xavier Guimard
720d3a3590 Typo (#1440) 2018-06-04 06:20:42 +02:00
Xavier Guimard
8f13be1b0d Authorize auth user to test it (#1400) 2018-05-17 06:31:26 +02:00
Xavier Guimard
18fbdf116b Typo 2018-05-15 22:06:51 +02:00
Xavier Guimard
662ef787c3 Don't build cookie here (#1400) 2018-05-15 22:05:23 +02:00
Xavier Guimard
e40d8ccc1e CheckState plugin (fixes: #1400) 2018-05-15 21:20:31 +02:00
Clément OUDOT
a83c3f738e Fix date in register message (#1404) 2018-04-03 22:59:57 +02:00
Xavier Guimard
3836391adc Fix history bugs (fixes: #1401) 2018-03-21 20:48:31 +01:00
Xavier Guimard
e4b995f6a9 Spelling errors 2018-03-15 21:20:03 +01:00
Xavier Guimard
3383a68a25 Tidy 2018-03-13 07:14:01 +01:00
Xavier Guimard
c47a7c0d4f Update POD 2018-02-19 22:07:20 +01:00