Commit Graph

1973 Commits

Author SHA1 Message Date
Christophe Maudoux
a41b5fb945 Fix OTT & minor improvements (#1658) 2019-03-02 11:45:59 +01:00
Christophe Maudoux
a4af486181 Typo (#1658) 2019-03-01 21:46:05 +01:00
Christophe Maudoux
0cd3c12503 Fix error (#1658) 2019-03-01 14:07:26 +01:00
Christophe Maudoux
81a37e5bcc Dispatching attributes (#1658) 2019-03-01 12:36:37 +01:00
Christophe Maudoux
4fe1473f9a Check access rules (#1658) 2019-02-28 21:59:59 +01:00
Maxime Besson
4a2fecaa7a Save Urldc when using SAML Discovery
Fixes #1543
2019-02-28 17:51:50 +01:00
Clément OUDOT
d8a8832f4c Restore old login history (#1656) 2019-02-28 17:40:15 +01:00
Clément OUDOT
b3f917ac5a Improve log in updateSession (#1656) 2019-02-28 16:51:16 +01:00
dcoutadeur
3af15b139e fix id_token validity not correctly evaluated #1662 2019-02-28 09:56:21 +01:00
Clément OUDOT
59d163c663 Merge branch 'v2.0' 2019-02-28 08:52:48 +01:00
Maxime Besson
12d2db35a9 Add new URLs for SP-only or IDP-only SAML metadata
This commit adds two new URLs:

/saml/metadata/idp : IDP-only metadata
/saml/metadata/sp : SP-only metadata

/saml/metadata keeps providing metadata for all SAML services
2019-02-27 18:14:30 +01:00
Christophe Maudoux
36200c32c5 Improve display (#1658) 2019-02-26 20:05:44 +01:00
Christophe Maudoux
cc99cec73a Improve code (#1658) 2019-02-26 20:05:44 +01:00
Christophe Maudoux
212be23313 Improve checkUser display (#1658) 2019-02-26 20:05:44 +01:00
Christophe Maudoux
70a5c645d8 Improve checkUser display (#1658) 2019-02-25 23:34:58 +01:00
Christophe Maudoux
3f9957ee6c Fix log msg (#1658) 2019-02-25 22:25:25 +01:00
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
Christophe Maudoux
00fae442e9 Update version (#1595) 2019-02-21 16:33:12 +01:00
Christophe Maudoux
b57a0788c2 Check JSON structure (#1595) 2019-02-21 16:25:02 +01:00
Christophe Maudoux
9fafa1d8d5 Override msg with local json files (#1595) 2019-02-20 23:22:56 +01:00
Christophe Maudoux
28caeea3c2 Partial revert (#1595) 2019-02-19 20:10:41 +01:00
Christophe Maudoux
62167a41f1 Load Portal despite translation file does not exist (#1595) 2019-02-19 17:27:28 +01:00
Christophe Maudoux
063c0f0d1b Partial revert - Modify Portal side is more consistent (#1653) 2019-02-18 20:39:47 +01:00
Christophe Maudoux
9679a67163 Tidy (#1632) 2019-02-16 22:42:08 +01:00
Christophe Maudoux
7802cbcc71 Optionaly let Ext2F module handle code generation (#1632) 2019-02-16 21:59:53 +01:00
Christophe Maudoux
90ddec7ce0 WIP - Optionaly let Ext2F module handle code generation (#1632) 2019-02-14 22:43:38 +01:00
Christophe Maudoux
60e80fe1b1 Improve code (#1629) 2019-02-14 22:41:58 +01:00
Christophe Maudoux
0690a0c7ab Improve code (#1625) 2019-02-14 22:12:40 +01:00
Xavier Guimard
4e0113ddd6 Merge branch 'v2.0' 2019-02-13 22:36:01 +01:00
Christophe Maudoux
9274c54f20 Disable Portal cache (#1651) 2019-02-13 22:35:23 +01:00
Xavier Guimard
5862481956 Set master version to 2.1.0 2019-02-12 18:21:38 +01:00
Xavier Guimard
3069887a52 Call PasswordDB::LDAP if unauth user requests changing password (#1639) 2019-02-11 15:40:27 +01:00
Clément OUDOT
ad10dc539d Use ldapAuthnLevel and dbiAuthnLevel in portal (#1648) 2019-02-11 11:55:51 +01:00
Christophe Maudoux
46f2beb10a Typo & perltidy (#1629) 2019-02-10 22:47:56 +01:00
Christophe Maudoux
b777007ff6 Override msg by reading a file (#1595) 2019-02-09 22:38:13 +01:00
Christophe Maudoux
94574f2f19 Override msg by reading a file (#1595) 2019-02-09 20:48:46 +01:00
Clément OUDOT
5f800003fd Add security token when forcing password reset (#1639) 2019-02-08 10:46:06 +01:00
Christophe Maudoux
29c4a44975 Update version (#1625) 2019-02-07 17:22:14 +01:00
Christophe Maudoux
8b995f55bf Restore OpenID activation global rule & Improve unit test (#1625) 2019-02-07 17:21:14 +01:00
Christophe Maudoux
b1048043e9 Restore GET activation global rule & Improve unit test (#1625) 2019-02-07 17:16:29 +01:00
Xavier Guimard
c7b4eb5051 tidy with new conf 2019-02-07 09:27:56 +01:00
Christophe Maudoux
9cfef329ee Append PE_ERROR constants (#1625) 2019-02-06 23:10:43 +01:00
Christophe Maudoux
5055b18087 Restore OIDC activation global rule (#1625) & Improve unit test 2019-02-06 23:10:10 +01:00
Christophe Maudoux
b36db9706e Restore SAML activation global rule (#1625) 2019-02-06 22:55:23 +01:00
Christophe Maudoux
f8144bc108 Typo (#1625) 2019-02-06 22:54:15 +01:00
Christophe Maudoux
007a5432f9 Restore CAS activation global rule (#1625) 2019-02-06 22:16:34 +01:00
Xavier Guimard
58fc9c2fad Update versions 2019-02-06 19:30:57 +01:00
Clément OUDOT
0fe2fc1d37 Bypass error screen for LDAP password reset (#1639) 2019-02-06 18:33:42 +01:00
Clément OUDOT
121e2542ae Do not disconnect from LDAP if password modification fails (#1644) 2019-02-06 18:00:59 +01:00
Xavier Guimard
747ee78dfd Improve authenticate() rejection (#1639) 2019-02-06 15:36:45 +01:00
Christophe Maudoux
931458ad9b Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-06 13:20:41 +01:00
Christophe Maudoux
a994e71345 Update code (#1628) 2019-02-06 13:20:35 +01:00
Clément OUDOT
8b76218025 Fix error message for ppolicy (#1639) 2019-02-06 11:39:37 +01:00
Christophe Maudoux
70994bd7db Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-05 23:37:46 +01:00
Christophe Maudoux
24e58fafc9 Improve unit test (#1637) 2019-02-05 23:32:55 +01:00
Xavier Guimard
5886cbe2a0 Tidy 2019-02-05 23:12:17 +01:00
Xavier Guimard
e2b026b7c8 Fix versions 2019-02-05 23:06:18 +01:00
Christophe Maudoux
21206099ce Append display options for SAML IDP (#1637) 2019-02-05 22:39:09 +01:00
Xavier Guimard
0528f78dad Merge branch 'v2.0' 2019-02-05 19:09:42 +01:00
Xavier Guimard
f8942d156d Override templateDir before calling sendHtml (fixes: #1642) 2019-02-05 19:04:06 +01:00
Xavier Guimard
24ef6d3905 Revert "Override templateDir before calling sendHtml (#1642)"
This reverts commit 0466bf2784.
2019-02-05 19:00:01 +01:00
Clément OUDOT
c77783eb2f Merge branch 'v2.0' 2019-02-05 18:46:40 +01:00
Clément OUDOT
0466bf2784 Override templateDir before calling sendHtml (#1642) 2019-02-05 18:46:14 +01:00
Xavier Guimard
0ddcaa5dc9 Update versions 2019-02-05 18:44:38 +01:00
Clément OUDOT
8ca60a9238 Do not set portal background in CSS if no value is configured (#1643) 2019-02-05 18:39:43 +01:00
Xavier Guimard
4934eb92f8 Merge branch 'v2.0' 2019-02-05 11:28:32 +01:00
Clément OUDOT
cb33dba014 Fix AD attributes read (#1639) 2019-02-05 10:43:17 +01:00
Clément OUDOT
93d52bce27 Update module version (#1639) 2019-02-05 10:42:48 +01:00
Clément OUDOT
3d5969f9d6 Fix AD attributes read (#1639) 2019-02-05 10:42:07 +01:00
Christophe Maudoux
b39e6ce99f WIP - Append relative parameters (#1637) 2019-02-04 23:13:54 +01:00
Christophe Maudoux
37cb923422 Fix error msg (#1628) 2019-02-04 19:15:58 +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
Christophe Maudoux
9fa7f58c76 Cleaning code (#1636) 2019-02-04 17:38:14 +01:00
Christophe Maudoux
b70d8ea673 Revert "Catch error msg if Id doesn t exist (#1628)"
This reverts commit 8b9c47d6eb
2019-02-04 13:02:29 +01:00
Christophe Maudoux
8b9c47d6eb Catch error msg if Id doesn t exist (#1628) 2019-02-04 12:58:30 +01:00
Xavier Guimard
c5a3687040 Merge remote-tracking branch 'max/fix-redir' into v2.0 2019-02-03 22:48:43 +01:00
Christophe Maudoux
fcac69fe7a Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-03 20:05:40 +01:00
Christophe Maudoux
153084118f Fix SSL/Kerberos Auth with Choice & Improve unit tests (#1636) 2019-02-03 20:05:28 +01:00
Christophe Maudoux
d70d7e11a9 Fix warning mgs 2019-02-03 20:05:14 +01:00
Maxime Besson
f35a7c305a Add Mail second factor plugin 2019-02-03 14:46:40 +01:00
Maxime Besson
faa748f68f Add Mail second factor plugin 2019-02-03 14:43:44 +01:00
Christophe Maudoux
3021e998a7 Fix SSL/Kerberos Auth with Choice (#1636) 2019-02-03 00:17:53 +01:00
Christophe Maudoux
9987d28ac3 Fix SSL/Kerberos Auth with Choice & Improve unit tests (#1636) 2019-02-02 21:31:37 +01:00
Christophe Maudoux
dba550b6a9 Fix SSL/Kerberos Auth with Choice (#1636) 2019-02-02 19:06:18 +01:00
Christophe Maudoux
7fb6923fda Delete unused constant 2019-02-02 19:04:59 +01:00
Christophe Maudoux
f648bddcc6 Improve code (#1636) 2019-02-02 17:34:44 +01:00
Clément OUDOT
ed7eeeba88 Use an option to decode group searched value (#1601) 2019-02-02 15:54:30 +01:00
Clément OUDOT
0fc2e92136 Use an option to decode group searched value (#1601) 2019-02-02 10:48:55 +01:00
Christophe Maudoux
e7a9bd0652 Merge branch 'v2.0' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng into v2.0 2019-02-02 00:00:53 +01:00
Christophe Maudoux
832d7d87c8 Fix AuthSSL with Choice (#1636) 2019-02-01 23:54:20 +01:00
Christophe Maudoux
30200f130d Fix AuthSSL with Choice (#1636) 2019-02-01 23:41:58 +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
Xavier Guimard
c77317fef7 Update versions 2019-01-31 23:20:57 +01:00
Xavier Guimard
c60ba130b8 Replace rand() by Crypt::URandom::urandom() 2019-01-31 23:16:52 +01:00
Clément OUDOT
b63dd14746 Update module version (#1634) 2019-01-31 15:40:54 +01:00
Clément OUDOT
059d5320cb Clean code that manages templates parameters (#1634, #1631) 2019-01-31 15:38:58 +01:00
Clément OUDOT
d7c252d554 Allow to display env in password reset and register templates (#1631) 2019-01-31 14:22:15 +01:00
Clément OUDOT
efb7f667c4 Allow to display env in main templates (#1631) 2019-01-31 14:05:24 +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
a69d19c2c0 Cleaning useless code 2019-01-23 22:47:42 +01:00
Christophe Maudoux
4ec3255989 Fix version 2019-01-22 22:08:43 +01:00
Christophe Maudoux
7b14c74077 perltidy (#1622) 2019-01-22 20:57:22 +01:00
Christophe Maudoux
6f7defef18 Display delete button only if allowed (#1622) 2019-01-22 20:55:57 +01:00
Christophe Maudoux
1de19778fe Display delete button only if allowed (#1622) 2019-01-22 19:31:37 +01:00
Christophe Maudoux
f2e481d693 Display delete button only if allowed (#1622) 2019-01-21 21:31:41 +01:00
Christophe Maudoux
33ebe9178b Split mailReset plugin and SMTP parameters (#1616) 2019-01-19 17:08:15 +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
Clément OUDOT
3c3b8eccb7 Remove utf8 decode for menu (#1614) 2019-01-15 22:42:42 +01:00
Xavier Guimard
2ab385e2df Update versions 2019-01-09 13:42:30 +01:00
Christophe Maudoux
0a906243e5 Improve code 2019-01-06 22:28:25 +01:00
Christophe Maudoux
49655091a6 Fix lang for Ubuntu 2018-12-30 16:47:59 +01:00
Christophe Maudoux
c3bc80688e Revert "Fix AuthGPG for frenchies ;-)"
This reverts commit 245913da50
2018-12-26 23:22:25 +01:00
Christophe Maudoux
245913da50 Fix AuthGPG for frenchies ;-) 2018-12-26 23:16:14 +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
Xavier Guimard
54539e97d9 Add aroundSub entrypoint 2018-12-21 16:07:28 +01:00
Xavier Guimard
06431d71f5 New endpoint: afterSub 2018-12-21 16:07:28 +01:00
Xavier Guimard
1e3ab69be3 Add minimal Auth::GPG 2018-12-21 16:07:28 +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
Clément OUDOT
1a2de167d1 Reject invalid OIDC scopes (#1599) 2018-12-21 14:32:01 +01:00
Xavier Guimard
c6ff9dcf0b Display error if a plugin sets it (#595) 2018-12-21 11:26:11 +01:00
Xavier Guimard
eb1f94bcba Fix version 2018-12-21 08:17:20 +01:00
Clément OUDOT
2a138ced29 Downgrade DN when searching groups (#1573) 2018-12-20 17:56:10 +01:00
Christophe Maudoux
d3be4b00c4 Revert "Fix resendconfirmation (#1589)"
This reverts commit d576702e78
2018-12-20 09:19:27 +01:00
Xavier Guimard
76927ef053 Move TROVER into sendHtml() (#1586) 2018-12-19 23:28:40 +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
8da5cd17c7 Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng 2018-12-17 21:31:45 +01:00
Christophe Maudoux
9f6a992390 Fix staticPrefix param 2018-12-17 21:31:38 +01:00
Xavier Guimard
3cd14656f5 Add "all" trOver in mails (Fixes: #1586) 2018-12-17 21:09:24 +01:00