Commit Graph

312 Commits

Author SHA1 Message Date
Xavier Guimard
e174ff4732 FastCGI portal 2013-10-21 21:24:03 +00:00
Xavier Guimard
1fc09658d8 Missing constants in @EXPORT 2013-10-21 18:55:48 +00:00
Xavier Guimard
0829a57f2e Use UTF-8 encoding in all Perl files 2013-10-19 16:34:20 +00:00
Xavier Guimard
c90552a9a6 Tidy 2013-10-19 04:33:16 +00:00
Xavier Guimard
912bb86071 Move Apache::Session::Browseable dependency to Common 2013-10-19 04:29:41 +00:00
Xavier Guimard
a9c201476f Correct bug introduced by r2981, authenticate() must not call AuthSSL::authenticate() 2013-10-18 04:44:11 +00:00
Xavier Guimard
2b5de50614 Modify r2981 changes: now authenticate() launch extractFormInfo() if auth isn't done 2013-10-18 04:42:56 +00:00
Xavier Guimard
f29d3b563e s/utf8/utf-8/ in HTTP headers
Closes: #626
2013-10-17 19:21:45 +00:00
Clément Oudot
827f9a1154 Use the correct form in BrowserID js (#584) 2013-10-15 09:58:37 +00:00
Clément Oudot
b8d4429843 Sub getDisplayType must be in the module to work with AuthChoice (#623) 2013-10-14 13:10:22 +00:00
Xavier Guimard
954a9fe5d5 Modify authenticate() to be sure that SSL authentication has been done
See: http://mail.ow2.org/wws/arc/lemonldap-ng-dev/2013-10/msg00018.html
2013-10-14 09:46:07 +00:00
Xavier Guimard
a20fd97a14 Move Regexp::Assemble dependency from Common to Portal since it's used only there 2013-10-13 14:22:54 +00:00
Xavier Guimard
fb39a20563 Add WebID logo 2013-10-13 14:16:12 +00:00
Xavier Guimard
6423852f90 Add Web::ID in dependencies 2013-10-13 13:54:48 +00:00
Xavier Guimard
316589f044 Remove "experimental module" comment 2013-10-13 13:48:44 +00:00
Xavier Guimard
61e68ae5d8 UserDBWebID seems to be finished 2013-10-13 12:33:24 +00:00
Xavier Guimard
d7b33f9e8f AuthWebID seems to be ready... 2013-10-13 12:15:54 +00:00
Xavier Guimard
ffda037c52 Use user* methods instead of lmLog for user actions (can be put in syslog) 2013-10-13 12:15:01 +00:00
Xavier Guimard
01ae2b697d Split tests: certificate can exist without having wanted attribute 2013-10-13 12:13:48 +00:00
Xavier Guimard
cf0bb9d98d Update Manifest 2013-10-13 06:45:41 +00:00
Xavier Guimard
f349e998a0 Add POD 2013-10-13 06:44:56 +00:00
Xavier Guimard
8873d7ee23 WebID in progress (host white list, more checks,...) 2013-10-13 06:42:28 +00:00
Xavier Guimard
68ee3ec21a UserDBWebID skeleton 2013-10-13 06:40:45 +00:00
Xavier Guimard
5c1973d225 AuthWebID skeleton 2013-10-12 11:45:55 +00:00
Xavier Guimard
da41295b76 More comments 2013-10-11 18:59:18 +00:00
Clément Oudot
4d03b75951 Catch Facebook error_code to avoid infinite redirection loop (#619) 2013-10-11 12:21:18 +00:00
Clément Oudot
58912e335c Add URL in AuthChoice, to post form on another vhost (#291) 2013-10-11 09:01:54 +00:00
Xavier Guimard
e14824c57f make tidy 2013-10-09 19:37:51 +00:00
Clément Oudot
6b3ddd92ef TODO or not TODO, that's the question (#LEMONDAP-584) 2013-10-08 14:23:02 +00:00
Clément Oudot
e0b2a25cab Hide some attributes in logs and in session explorer (#612) 2013-10-08 14:16:46 +00:00
Clément Oudot
812bd51554 Change bad credentials error (#LEMONDAP-584) 2013-10-08 14:15:17 +00:00
Xavier Guimard
d4210f0fe8 In french: "boulette"... 2013-10-08 10:30:14 +00:00
Xavier Guimard
092bed086e Clean ua() usage 2013-10-08 04:59:24 +00:00
Xavier Guimard
bb4e4668e5 Centralize LWP::UserAgent in one file. 2013-10-08 04:35:38 +00:00
Xavier Guimard
5354fc3361 Add basic tests for Google 2013-10-06 19:14:28 +00:00
Xavier Guimard
6363a29b66 Add basic tests for Facebook 2013-10-06 19:08:06 +00:00
Xavier Guimard
34966cdc76 Update META.yml 2013-10-05 16:11:40 +00:00
Xavier Guimard
258d3f0afa Insert Net::Facebook::Oauth2 in dependencies 2013-10-05 16:11:19 +00:00
Xavier Guimard
9b37852c41 Update MANIFEST 2013-10-05 16:07:05 +00:00
Xavier Guimard
d83c429df1 Little cosmetic change 2013-10-05 16:05:37 +00:00
Xavier Guimard
f560331059 Facebook auth and userDB modules may work fine now 2013-10-05 16:00:10 +00:00
Xavier Guimard
be083d33e3 auth module may contains parameters 2013-10-05 15:59:18 +00:00
Xavier Guimard
1c35cedc0a Add inheritance comments for Doxygen doc 2013-10-05 15:55:06 +00:00
Xavier Guimard
d0d0b49af6 Add Facebook.png img 2013-10-05 15:53:52 +00:00
Xavier Guimard
065c34d609 Set user to Facebook username 2013-10-05 12:59:55 +00:00
Xavier Guimard
f5049773c7 AuthFacebook in progress:
* works fine for authentication
 * TODO: build $self->{user} and get datas
2013-10-05 05:54:07 +00:00
Xavier Guimard
5ca5345f6e Starting #619 2013-10-03 19:56:02 +00:00
Xavier Guimard
d29b24e589 Clean AuthGoogle 2013-10-03 19:55:14 +00:00
Clément Oudot
1935000579 Manage vhost aliases (#558) 2013-10-03 09:09:47 +00:00
Clément Oudot
cf2d6822c7 Change version of UserDBGoogle module (#615) 2013-10-03 08:28:41 +00:00
Xavier Guimard
0909f6cf2f Move regexps into Common 2013-10-03 04:18:16 +00:00
Xavier Guimard
ea6f91e656 Force redirection to avoid displaying OpenID datas 2013-10-02 19:45:33 +00:00
Xavier Guimard
8869b04cde May close the bug revealed in LEMONLDAP-615#comment-01-oct-13 2013-10-02 11:42:57 +00:00
Clément Oudot
b7af9ae92c Ignore error when loading SAML module in AuthChoice (#618) 2013-10-01 12:50:48 +00:00
Xavier Guimard
ebcb10fe69 Add Google icon 2013-10-01 04:25:12 +00:00
Clément Oudot
9758223da8 For BrowserID (#584):
* Add autologin parameter
* Add a form in standard mode (not Choice) for display type logo
* Use POST instead of REDIRECT to keep all hidden fields
* Fix warning in unit test
2013-09-30 14:37:15 +00:00
Clément Oudot
699c858796 Change Google display type to logo (#615) 2013-09-30 14:33:38 +00:00
Clément Oudot
11c035c5f3 Fix some javascript code (#603) 2013-09-30 14:00:38 +00:00
Clément Oudot
3d7d1bfae5 Specify getDisplayType subroutine in AuthAD to work with AuthChoice (#409) 2013-09-30 08:38:24 +00:00
Xavier Guimard
0f437d0f86 Remove Google form 2013-09-29 19:21:03 +00:00
Xavier Guimard
21a330d11c Update Portal/MANIFEST 2013-09-29 19:14:44 +00:00
Xavier Guimard
059641f7a8 Store session datas directly + comments 2013-09-29 18:09:38 +00:00
Xavier Guimard
ba6e7667da Remove Google form, automatic now 2013-09-29 18:08:21 +00:00
Xavier Guimard
106de86477 Just for aesthetical 2013-09-29 18:06:54 +00:00
Xavier Guimard
187bbe9efa Little regexp change 2013-09-29 16:43:15 +00:00
Xavier Guimard
41105ae772 Implement persistent cache for already shared datas (AuthGoogle) 2013-09-29 16:26:41 +00:00
Xavier Guimard
93e026b1ad Add UserDBGoogle 2013-09-29 07:09:32 +00:00
Xavier Guimard
bb3c9bfac1 Correct errors in Google form 2013-09-28 06:17:12 +00:00
Xavier Guimard
f1a1c5e036 Update $VERSION 2013-09-28 05:41:37 +00:00
Xavier Guimard
3536cd091a Insert AuthGoogle into portal skins 2013-09-28 05:38:39 +00:00
Clément Oudot
a731fbf66c Manage reset at next logon message from AD (#513, #LEMONLDAP-409) 2013-09-27 22:22:27 +00:00
Xavier Guimard
5a6054c396 Starting LEMONLDAP-615: Add AuthGoogle module 2013-09-27 19:34:31 +00:00
Clément Oudot
21b4747b30 Fix test to work with old version of File::Temp (#611) 2013-08-27 07:06:04 +00:00
Clément Oudot
dd0629f0a1 Load session content in error page to apply skin rules if needed (#605) 2013-08-23 13:34:37 +00:00
Clément Oudot
e628c703f5 Fix loading of alternate config file (#608) 2013-08-23 12:59:03 +00:00
Clément Oudot
e33ee53afc Create a getSkin() method to share skin rules in all portal pages (#605) 2013-08-20 13:36:06 +00:00
Clément Oudot
ec35b64736 Update ENV variable for each request in Safe jail (#597) 2013-07-25 13:13:48 +00:00
Xavier Guimard
6447bce9bd Missing space after ":" 2013-07-22 02:40:57 +00:00
Clément Oudot
37756c3be2 Store BrowserID verification answer in session (#584) 2013-07-21 18:53:02 +00:00
Clément Oudot
ec0d1a61f0 Give reason in log when assertion verification fails (#584) 2013-07-21 18:35:02 +00:00
Clément Oudot
d3a53e199a Possibility to customize BrowserID login window (#584) 2013-07-20 09:07:19 +00:00
Clément Oudot
5d6239587b Move assertion resolution in extractFormInfo to pass found user to a userDB module (#584) 2013-07-20 08:35:13 +00:00
Clément Oudot
d0d5b560be Patch portal.js for compatibility with IE8 (#603) 2013-07-18 11:04:15 +00:00
Clément Oudot
d3c53c2235 First implementation of BrowserID authentication module (#584) 2013-07-17 13:46:59 +00:00
Xavier Guimard
53e8d74758 make tidy 2013-07-17 06:32:29 +00:00
Xavier Guimard
67720c4aa2 Add LWP::Protocol::https in recommended dependencies
Closes: #532
2013-07-07 12:03:21 +00:00
Xavier Guimard
bf701fefbd Portal does not depend on Handler, it has only to be suggested 2013-06-30 20:24:26 +00:00
Sandro Cazzaniga
201b609e7d make tidy 2013-06-28 09:13:00 +00:00
Clément Oudot
6bd108f780 Force password reset for AD (#513) 2013-06-02 22:00:33 +00:00
Clément Oudot
15d520c304 Manage default value for mailLDAPFilter (#513) 2013-06-02 21:53:11 +00:00
Clément Oudot
35530d93f8 Add Unicode::String dependency (#513) 2013-06-01 13:48:43 +00:00
Clément Oudot
c8f8e78546 Modify password for Active Directory (#513) 2013-06-01 13:40:29 +00:00
Sandro Cazzaniga
da268cff7f make the error message in case of bad load of Lasso module a bit more readable 2013-05-31 06:16:26 +00:00
Sandro Cazzaniga
11c55bd0a0 Add _Webform.pm into the test as there's some captcha methods in it 2013-05-30 19:00:22 +00:00
Sandro Cazzaniga
7462ff467d make tidy 2013-05-30 14:41:02 +00:00
François-Xavier Deltombe
063692540c Slight changes in captcha error messages (#217) 2013-05-23 19:33:07 +00:00
François-Xavier Deltombe
17e6f7eeb2 Test that macros and groups are computed in alphabumeric order (#596) 2013-05-23 19:07:48 +00:00
François-Xavier Deltombe
3c81802f3c Continuation of commit r2833 (#596)
so that a group rule may involve another, previously computed group
2013-05-21 09:34:01 +00:00
François-Xavier Deltombe
3909d708d1 Compute macros and local groups in alphabetical order (#596) 2013-05-21 08:18:03 +00:00
Clément Oudot
355dcff030 make tidy 2013-04-28 14:46:18 +00:00