Commit Graph

1398 Commits

Author SHA1 Message Date
Clément Oudot
39e416a6ea Configuration of sessions cache in Manager (#671) 2014-06-10 08:59:59 +00:00
Clément Oudot
dbfbde2e9f make tidy 2014-06-08 10:04:50 +00:00
Clément Oudot
3cdae47735 Add Digest::SHA dependency (#695) 2014-06-08 09:37:49 +00:00
Clément Oudot
87237108f8 Use SHA256 by default for sessions identifier (#695) 2014-06-08 09:29:53 +00:00
Clément Oudot
4d4689b806 Possibility to use an alternate Generate module for sessions (#695) 2014-06-08 09:20:58 +00:00
Clément Oudot
f5e3019ff1 Manage carriage return in crypted values (#709) 2014-06-06 15:36:22 +00:00
Clément Oudot
50b80020da Port memory leak fix to 1.4 branch (#708) 2014-06-06 10:04:14 +00:00
Xavier Guimard
c96e281fee Avoid potential circular references 2014-06-05 18:05:55 +00:00
Clément Oudot
2533539072 Manage UPDATE/INSERT in RDBI/CDBI configuration backends to be compatible with CLI (#694) 2014-06-03 16:00:20 +00:00
Clément Oudot
2e9033d28b Add a button on login page to register page (#26) 2014-05-30 12:21:53 +00:00
Clément Oudot
a0c7f5f939 Default values for register parameters (#26) 2014-05-29 07:49:02 +00:00
Clément Oudot
9b10d96341 Fix unit tests after introducing RegisterDB (#26) 2014-05-29 07:38:50 +00:00
Clément Oudot
8644533093 Adapt some default values to portal URL after change in r3329 (#686) 2014-05-22 07:50:54 +00:00
Xavier Guimard
3539f1c965 Bad portal URL (missing "/") 2014-05-11 20:02:43 +00:00
Clément Oudot
0a0545c8f3 Fix unit test by using LLNG_DEFAULTCONFFILE env 2014-05-01 21:27:07 +00:00
Clément Oudot
43a36aba3c Declare local session storage in attributes (#671) 2014-04-25 08:19:37 +00:00
Clément Oudot
0d58aab979 Redefine Handler cache in .ini (#671) 2014-04-25 08:18:16 +00:00
Clément Oudot
a42f455ccc Manager and CLI can now start with an empty configuration (#LEMONDAP-702) 2014-04-22 13:26:06 +00:00
Clément Oudot
d28a7bb217 Update versions to 1.4.0 2014-04-17 15:20:28 +00:00
Clément Oudot
c331f96cc6 Add method updateCache in Common::Session (#671) 2014-04-15 14:03:17 +00:00
François-Xavier Deltombe
dd11694c76 RDBI config storage database handle autocommit set to off
at writing a new config, to on else (#698)
2014-04-04 15:15:14 +00:00
François-Xavier Deltombe
1d74e88fcb Fix bugs around config storage lock (#699) 2014-04-04 14:20:43 +00:00
Clément Oudot
5a5cbe127a Manage setId option in Common Session module (#671, #LEMONLDAP-673) 2014-02-25 21:49:29 +00:00
Clément Oudot
4c775917da Create a Common Session module to manage session like a Mouse object, using Common Apache::Session as backend (#671, #LEMONLDAP-673) 2014-02-24 17:21:41 +00:00
Clément Oudot
a24fef3a29 Remove minified js and css files (#689) 2014-02-24 10:10:11 +00:00
Clément Oudot
f713840aac Manage cache in Common::Apache::Session::Store (#671) 2014-02-21 17:04:56 +00:00
Clément Oudot
c1cb7316d1 Create a Store object for Common::Apache::Session in order to manage cache directly (#671) 2014-02-21 16:38:57 +00:00
Clément Oudot
bfed8be207 Move vhost options in subattributes (#686) 2014-02-19 16:53:36 +00:00
Clément Oudot
ab4dfe1100 Manage exported variables for OpenID (#636) 2014-02-19 15:10:21 +00:00
Clément Oudot
68dda1b256 Manage exported variables for Facebook (#636) 2014-02-19 14:57:47 +00:00
Clément Oudot
580d88cbc7 Manage exported variables for Google (#636) 2014-02-19 13:56:35 +00:00
Clément Oudot
49bae05c40 Manage exported variables for Slave (#636) 2014-02-18 16:52:31 +00:00
Clément Oudot
c4f277c8c8 Manage exported variables for WebID (#636) 2014-02-18 16:34:08 +00:00
Clément Oudot
cb67ac1e61 Manage exported variables for DBI (#636) 2014-02-18 15:17:09 +00:00
Clément Oudot
cb6df779be Manage exported variables for LDAP (#636) 2014-02-18 14:53:07 +00:00
Clément Oudot
b691acdff8 Update META.yml 2014-02-18 13:57:21 +00:00
Clément Oudot
33c06ef9a0 Mouse is now required for Common 2014-02-18 13:56:55 +00:00
Clément Oudot
0967177f0e Default values in Manager managed in Common (#686) 2014-02-18 13:54:39 +00:00
Clément Oudot
7d06c150a0 Work on default values in Manager (#686) 2014-02-15 13:44:39 +00:00
Clément Oudot
18b337723d Default values for Portal all managed in Common (#686) 2014-02-14 09:00:12 +00:00
Clément Oudot
2630d09d72 Work on default values for Portal (#686) 2014-02-14 08:26:25 +00:00
Clément Oudot
25be47b266 Create a Mouse object to define configuration attributes and their default values (#686) 2014-02-13 11:26:43 +00:00
Clément Oudot
f7bcf5b711 Manage exported variables for Demo backend (#636) 2014-02-11 17:15:05 +00:00
Clément Oudot
1143ceb805 Update version in CGI.pm (#684) 2014-02-07 08:22:47 +00:00
Xavier Guimard
bbab81968e Really fix #665
Closes: #665
2014-02-07 06:14:42 +00:00
Clément Oudot
c9c483b04b make tidy 2014-01-17 22:42:21 +00:00
Xavier Guimard
ebd2240d3d Use $level when set in Common::CGI::userlog()
Closes: #665
2013-12-30 11:07:17 +00:00
Clément Oudot
d07de65d9a Add PID in syslog messages (#660) 2013-12-10 10:54:59 +00:00
Sandro Cazzaniga
19fc68d927 make tidy for new lemonldap-ng-cli 2013-11-26 09:19:28 +00:00
Xavier Guimard
53b66996e3 Propagate #637 in 1.3 branch and in META files 2013-11-03 20:52:15 +00:00
Xavier Guimard
b1f42935be Add XML::Simple in build dependencies
Closes: #637
2013-11-03 17:49:03 +00:00
Clément Oudot
b6cf706217 Preparation for release 1.3.0 2013-11-02 11:03:25 +00:00
Clément Oudot
47315dd476 Add JSONFile in documentation of lemonldap-ng.ini (#621) 2013-11-02 10:36:27 +00:00
Clément Oudot
8898ef351c Update MANIFEST (#604) 2013-10-27 11:36:02 +00:00
Xavier Guimard
f207134d51 Another FastCGI utf8 hook... 2013-10-27 07:11:34 +00:00
Clément Oudot
3106100c5d Possibility to autoconfigure LDAP notification backend from LDAP configuration backend (#457) 2013-10-22 16:26:20 +00:00
Xavier Guimard
fdb545ca69 Add "useLocalConf" parameter for the portal to increase performances
Closes: #628
2013-10-22 12:02:44 +00:00
Xavier Guimard
0fa68c790f Replace "fast" keyword by "fastcgi" 2013-10-22 04:39:40 +00:00
Xavier Guimard
e174ff4732 FastCGI portal 2013-10-21 21:24:03 +00:00
Xavier Guimard
0829a57f2e Use UTF-8 encoding in all Perl files 2013-10-19 16:34:20 +00:00
Xavier Guimard
912bb86071 Move Apache::Session::Browseable dependency to Common 2013-10-19 04:29:41 +00:00
Xavier Guimard
f29d3b563e s/utf8/utf-8/ in HTTP headers
Closes: #626
2013-10-17 19:21:45 +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
6423852f90 Add Web::ID in dependencies 2013-10-13 13:54:48 +00:00
Xavier Guimard
8b56492342 Remove debug line 2013-10-13 12:32:36 +00:00
Xavier Guimard
e14824c57f make tidy 2013-10-09 19:37:51 +00:00
David COUTADEUR
e64053a224 Adding LDAP backend for notification
references: #457
2013-10-09 14:53:11 +00:00
Xavier Guimard
13266e8930 New conf storage: JSONFile, just for fun 2013-10-09 04:05:57 +00:00
Xavier Guimard
34966cdc76 Update META.yml 2013-10-05 16:11:40 +00:00
Xavier Guimard
0909f6cf2f Move regexps into Common 2013-10-03 04:18:16 +00:00
Clément Oudot
a724dc783f Manage error when LDAP connection is no available in LDAP configuration backend (#607) 2013-08-20 14:17:59 +00:00
Xavier Guimard
53e8d74758 make tidy 2013-07-17 06:32:29 +00:00
Xavier Guimard
8bfd7925ce Securize SQL queries 2013-07-12 07:58:46 +00:00
Xavier Guimard
1fbedb00e7 Securise SQL queries (not fully tested, must not be propagated to branch 1.2 !) 2013-07-12 07:54:35 +00:00
Xavier Guimard
67720c4aa2 Add LWP::Protocol::https in recommended dependencies
Closes: #532
2013-07-07 12:03:21 +00:00
Xavier Guimard
a23a8482cd Create searchOnExpr() sub for Apache::Session::* browsing (related to #598) 2013-07-03 19:31:04 +00:00
Sandro Cazzaniga
201b609e7d make tidy 2013-06-28 09:13:00 +00:00
Sandro Cazzaniga
7462ff467d make tidy 2013-05-30 14:41:02 +00:00
Clément Oudot
0ec77fde48 Do not stack messages when configuration load is OK (#590) 2013-04-19 08:24:35 +00:00
Clément Oudot
7b8f67038c Import lemonldap-ng-cli into Manager module (#588) 2013-03-07 17:37:22 +00:00
Sandro Cazzaniga
5e36b3bc0d Remove unless #TODO as there is no need to lock database with PostgreSQL and other
transactional databases since we use a transaction.
2013-03-07 12:29:59 +00:00
Clément Oudot
38781620e0 Remove STDERR output from Conf/LDAP.pm (#589) 2013-03-06 13:17:18 +00:00
Sandro Cazzaniga
ab662554b7 make tidy 2013-02-17 22:25:26 +00:00
Xavier Guimard
9d834f5d34 Add Sandro Cazzaniga in copyrights 2013-02-07 12:46:54 +00:00
Xavier Guimard
f0edd1a339 Add copyright in README 2013-02-07 06:27:34 +00:00
Xavier Guimard
28762a1b8a Update and simplify CPAN README 2013-02-07 05:45:53 +00:00
Xavier Guimard
6f68349fce Update Changes and report trunk copyright changes into 1.2 2013-01-31 06:23:14 +00:00
Xavier Guimard
c132bc3e1d Update authors, bug-report, copyright and license 2013-01-31 05:33:10 +00:00
Xavier Guimard
225cd848d1 Add Net::LDAP in build dependencies 2013-01-25 20:50:41 +00:00
Xavier Guimard
aa2bea6740 Update Common dependencies:
* mv HTML::Template, HTTP::Message, Net::LDAP, XML::Simple, XML::LibXML to "recommends"
 * remove XML::LibXSLT
 * Add Apache::Session
 * Move Test::Pod in BUILD_REQUIRES
2013-01-25 20:36:21 +00:00
Clément Oudot
3d8841bb7f Clean HTTP::Headers, HTTP::Request and HTTP::Message dependency (#581) 2013-01-25 15:42:02 +00:00
Clément Oudot
f95efcac5a Clean File::Basename dependency (#581) 2013-01-25 15:10:38 +00:00
Clément Oudot
efc5363a4c Clean Crypt::OpenSSL::Bignum dependency (#581) 2013-01-25 14:09:29 +00:00
Clément Oudot
13446072d0 Skin rules in trunk (#578) 2013-01-16 15:43:24 +00:00
Clément Oudot
33a2f08a0a Update Makefile.PL modules to launch all tests on CPAN tester platform (#565) 2013-01-11 14:46:05 +00:00
Clément Oudot
c490cfa874 Convert old option useXForwardedForIP into trustedProxies (#559) 2013-01-10 10:40:19 +00:00
Clément Oudot
7cb912a595 Update of lemonldap-ng-common/META.yml after 'make cpan' command 2013-01-08 11:13:31 +00:00
François-Xavier Deltombe
27bbde63b6 Replace useXForwardedFor option with trustedProxies (#559) 2013-01-03 18:28:55 +00:00
François-Xavier Deltombe
2e9f6088b6 Dependencies to XML::* modules updated (#366) 2013-01-02 16:32:04 +00:00
Xavier Guimard
e1d67778d4 Change licenCe by licenSe 2012-11-30 12:15:05 +00:00
Clément Oudot
d8b2a46d0c Manage UTF-8 values for LDAP configuration backedn (#316) 2012-11-21 13:16:32 +00:00
François-Xavier Deltombe
be2a999f77 Update $VERSION in Common/crypto.pm (#512) 2012-11-05 14:36:47 +00:00
François-Xavier Deltombe
c7f5aa7fff Cipher key's size is free (it had to be 16 bytes long) (Lemonldap-512) 2012-11-05 13:36:32 +00:00
Clément Oudot
ea916ecdce Manage corrupted file sessions (#557) 2012-10-30 15:22:36 +00:00
Clément Oudot
853f61f752 Restore trunk versions of main modules 2012-10-16 12:00:38 +00:00
Xavier Guimard
b8bd611ccb Same files must not have different version number 2012-10-15 04:12:21 +00:00
Clément Oudot
9ed795fe17 Update Makefile.PL with correct versions, add dependency on SOAP::Lite for Handler (#539) 2012-10-01 07:58:53 +00:00
Clément Oudot
290a4ce0e8 Fix deleteNotification web service with DBI backend (#537) 2012-09-25 15:09:31 +00:00
Sandro Cazzaniga
0bf0f9579c revert a commit because it warns during the tests 2012-09-21 08:16:24 +00:00
Sandro Cazzaniga
299ded8657 delete doublon 2012-09-21 08:02:26 +00:00
Clément Oudot
424221249f Fix extract_lang subroutine for Android devices (#530) 2012-09-12 16:02:19 +00:00
Clément Oudot
b12d691fbc Add AuthBasic Handler in default installation (#519) 2012-09-10 10:34:28 +00:00
Sandro Cazzaniga
8e2a057193 Fix deleteNotification webservice in trunk 2012-09-08 10:55:55 +00:00
Clément Oudot
3780671816 Tidy notification code (#511) 2012-08-31 12:31:11 +00:00
Sandro Cazzaniga
8418a0a293 Fix notification SOAP webservice (coudot) 2012-08-31 10:43:01 +00:00
Sandro Cazzaniga
ebde8b126e Fix notification's purge 2012-08-31 10:06:48 +00:00
Clément Oudot
bc27d95a5c Fix notification delete SOAP service (#511) 2012-08-31 09:36:33 +00:00
Sandro Cazzaniga
21f9b5793d - deleteNotification webservice only deals with the given user uid, now. 2012-08-30 07:29:17 +00:00
Sandro Cazzaniga
511713bbed * [LEMONLDAP-511] Add a new webservice for deleting notifications 2012-08-28 06:45:12 +00:00
Sandro Cazzaniga
fc63c4035e - Fix a small typo that broke auth on the portal when notifications are enabled 2012-08-22 09:48:02 +00:00
Sandro Cazzaniga
35ee630780 * [LEMONLDAP-507] Warn the user when the create a fake safe jail 2012-08-20 08:19:37 +00:00
Sandro Cazzaniga
5852128cd5 make tidy on trunk/ 2012-08-14 12:01:10 +00:00
Sandro Cazzaniga
1f983ae96b Test::Pod is required to make tests on POD files 2012-08-13 13:07:47 +00:00
François-Xavier Deltombe
203b4f5d9c Remove session cache default namespace from code also in purgeLocalCache
+ udpate comments (Lemonldap-499)
2012-08-13 10:53:29 +00:00
François-Xavier Deltombe
d455e5fd6b Repair purgeLocalCache + improve default cache conf (Lemonldap-499) 2012-08-13 10:01:59 +00:00
François-Xavier Deltombe
94ea52a4af Add data reVHost in config only for portal (Lemonldap-500) 2012-08-09 18:42:40 +00:00
Sandro Cazzaniga
1da7f7c33f * [LEMONLDAP-498] Fix use of transactions in DBI config storage 2012-08-09 11:48:17 +00:00
Sandro Cazzaniga
f116372b37 Now it's Lemonldap::NG::Common::Notification 2012-07-26 09:05:06 +00:00
Xavier Guimard
0d54c80fcc Make tidy 2012-07-26 02:47:27 +00:00
Sandro Cazzaniga
d6ab796359 Proper new Lemonldap::NG::Common::Notification 2012-07-19 14:17:32 +00:00
Sandro Cazzaniga
8cff113ce5 Fix a dummy and invisible typo (Unrecognized character \\xC2; marked by <-- HERE after , %$all };<-- HERE near column 52 at /usr/local/share/perl/5.14.2/Lemonldap/NG/Common/Notification.pm line 83) 2012-07-19 10:28:20 +00:00
Sandro Cazzaniga
213c80888a * [LEMONLDAP-366] Replace notifications in Common 2012-07-12 21:04:06 +00:00
Sandro Cazzaniga
accc413b23 update version after changes 2012-07-11 13:34:58 +00:00
Sandro Cazzaniga
a0b680e8c7 - use closedir to close directory, not just close (which is for filehandle) 2012-07-11 13:33:12 +00:00
Clément Oudot
208b9f0f07 Manage quotes in migration script (#488) 2012-07-03 14:11:38 +00:00
Clément Oudot
4d88d44dc8 Fix ini options in migration script (#487) 2012-07-03 12:38:59 +00:00
Sandro Cazzaniga
482c3c80bc [# LEMONLDAP-483] Remove all defined() on array or hash (deprecated) 2012-06-26 12:02:31 +00:00
Sandro Cazzaniga
516ca5a0bf [*LEMONLDAP-481] Fix a dummy typo that breaks --latest option 2012-06-26 07:07:07 +00:00
Clément Oudot
96a605b286 Set version 1.3.0 in trunk 2012-06-20 07:54:00 +00:00
Clément Oudot
17730308ba Update META.yml after make cpan 2012-06-17 18:27:49 +00:00
François-Xavier Deltombe
64f26a226a Portal's and manager's CGI scripts runnable in shell (Lemonldap-476) 2012-06-13 18:43:27 +00:00
François-Xavier Deltombe
21617d55e6 Changes in script buildPortalWSDL (Lemonldap-473) 2012-06-12 15:46:18 +00:00
François-Xavier Deltombe
39bfd92a73 Repair SOAP service for error requests (Lemonldap-465) 2012-05-24 16:10:15 +00:00
Clément Oudot
ff86ca2a1a Possibility to set custom template parameters (#449) 2012-03-09 12:41:17 +00:00
Clément Oudot
979d1abe62 Tidy all the code (make tidy) 2012-02-29 13:19:57 +00:00
Clément Oudot
56581a13fc Reorganize files - work in progress (#444) 2012-02-28 22:52:36 +00:00
Clément Oudot
2e15849978 Reorganize files - work in progress (#444) 2012-02-28 22:48:43 +00:00
Clément Oudot
db1b53b05b Reorganize files - work in progress (#444) 2012-02-28 22:48:20 +00:00