Commit Graph

206 Commits

Author SHA1 Message Date
Xavier Guimard
703b3d64b0 New feature : convertConfig 2009-12-15 16:31:13 +00:00
Xavier Guimard
5b2363b959 perltidy 2009-12-11 21:17:06 +00:00
Xavier Guimard
b301a5b5c8 New manager 2009-12-11 18:17:00 +00:00
Xavier Guimard
dd66b4c31c Bugs correction reported to 0.9.4 2009-12-07 21:17:06 +00:00
Clément Oudot
65387caebe Do not use allowempty flag in Config::IniFiles (close bug #314539) 2009-12-04 09:44:37 +00:00
Clément Oudot
f8fb163523 Add unit test for LDAP configuration backend 2009-12-03 11:27:48 +00:00
Clément Oudot
b32ff75a4f Little corrections for a clean make && make test 2009-12-03 10:18:49 +00:00
Xavier Guimard
061994cfcc Debian tests 2009-12-03 10:08:33 +00:00
Clément Oudot
4c1574e034 Merge apply.conf in lemonldap-ng.ini 2009-12-03 09:56:45 +00:00
Clément Oudot
0ea44c2389 Merge storage.conf and localconf.ini in lemonldap-ng.ini 2009-12-02 15:08:35 +00:00
Clément Oudot
acbc7a677c Correct warning for Lemonldap::NG::Common in make test 2009-12-02 09:01:17 +00:00
Clément Oudot
70522969f3 Add possibility to use a local configuration file (localconf.ini) to override configuration parameters 2009-11-30 16:46:14 +00:00
Xavier Guimard
a9d4ed04bb searchOn was not running 2009-11-26 16:33:31 +00:00
Clément Oudot
2471c79c1a Use Serializer in LDAP config backend 2009-11-17 16:17:49 +00:00
Xavier Guimard
912768cb35 * double declaration in Common/Conf/*.pm
* Debian compat upgrade
2009-11-01 13:13:39 +00:00
Xavier Guimard
7a04829a08 New portal parameters : singleIP and singleSession 2009-10-21 12:43:13 +00:00
Xavier Guimard
7553d5b95c Serialization moved to conf modules (to be able to use another serialization) 2009-10-20 13:20:53 +00:00
Xavier Guimard
cd60098695 * Apache-1.3 is not supported in all Debian architectures
* CGI must not require Sys::Syslog to be installed
2009-10-19 16:16:07 +00:00
Xavier Guimard
6f56bea189 Perl Author update 2009-10-17 08:16:14 +00:00
Xavier Guimard
b5dc7730f2 Perl dependencies update 2009-10-17 08:06:41 +00:00
Xavier Guimard
def1d50780 Closes #314192 2009-10-11 11:28:25 +00:00
Xavier Guimard
bf6230c5ac VERSION 0.9.4.1 2009-10-11 08:13:50 +00:00
Xavier Guimard
48ac5bd591 * New authentication scheme : Relay (queries by SOAP another portal)
* syslog facility was not taken in account
* Missing HTTP::Headers dependency
* lmConfigEditor must not display reVHosts and cipher which are calculated by Conf.pm
* bad Apache security in Debian configuration files
2009-09-23 12:42:34 +00:00
Xavier Guimard
9e3b55b9ac Apache::Session::LDAP was unusable with Session Explorer 2009-08-25 13:29:26 +00:00
Xavier Guimard
444e093004 Bugs :
* Crypto was usable only with 16xn characters
 * Menu was not able to filter embedded <application>
Google page speed :
 * optimize images
 * set size
2009-08-20 14:19:40 +00:00
Xavier Guimard
f573c2f571 VERSION conflicts for CPAN 2009-06-29 12:04:43 +00:00
Xavier Guimard
e5f83c5ba0 * Perl documentation update
* Makefiles update
2009-06-29 10:12:29 +00:00
Xavier Guimard
bfed9a789c Documentation update 2009-06-29 09:42:44 +00:00
Xavier Guimard
4d57fead9d Now SOAP config access works... 2009-06-24 15:07:36 +00:00
Xavier Guimard
affdc1f5bc SOAP configuration access :
* Missing SOAP fonction for config access in Portal/_SOAP.pm (lastCfg)
* Common/Conf/SOAP.pm now reports SOAP errors
* Common/Conf.pm reports an error when lastCfg returns 0
* SOAP namespace error in Common/Conf/SOAP.pm

Other :
* error in logout_sso default value (Handler/Simple.pm)
* bad returned value when configuration was missing in Handler/SharedConf.pm
2009-06-23 20:36:44 +00:00
Clément Oudot
198bcf70bc Get the timezone of the user and correct checkLogonHours function 2009-06-22 10:01:58 +00:00
Clément Oudot
7c5d3dd7a4 Force unbind in LDAP configuration backend 2009-06-15 15:16:12 +00:00
Xavier Guimard
e55a4868d3 Beginning 0.9.4 publication works : version update 2009-06-08 16:29:13 +00:00
Xavier Guimard
ba73dad7ec Missing files in MANIFEST 2009-05-16 10:19:30 +00:00
Clément Oudot
a3d65bf25f LEMONLDAP::NG : Typo for SafeLib test file 2009-05-14 08:33:06 +00:00
Xavier Guimard
cb494c36d5 Logs as PerlLogHandler in handler and little things 2009-05-06 05:38:20 +00:00
Xavier Guimard
7b1fc1a6a9 New manager in progress... 2009-04-26 12:47:55 +00:00
Xavier Guimard
9a3bf5489e Closes: #313627 2009-04-22 17:12:39 +00:00
Xavier Guimard
eb3e9126c5 LDAP schema missing in MANIFEST 2009-04-22 05:48:08 +00:00
Clément Oudot
1348922b42 LEMONLDAP::NG : typo in doxygen 2009-04-21 13:25:54 +00:00
Clément Oudot
eebac0ee3e LEMONLDAP::NG : checkLogonHours and checkDate in Safelib, and correct bug #313624 2009-04-21 13:24:38 +00:00
Clément Oudot
f2651d6202 LEMONLDAP::NG : OpenLDAP schema 2009-04-21 13:19:59 +00:00
Xavier Guimard
61866f20d6 Support for Apache::Session::LDAP and little things 2009-04-18 20:08:36 +00:00
Xavier Guimard
7ac6d25eaf * NoCache option for getConf()
* sort problem + perltidy in Conf/LDAP
2009-04-18 07:04:07 +00:00
Xavier Guimard
051f61b288 Since CGI stores now parameters at the root of the object, param is now redefined in Common/CGI.pm to secure those parameters 2009-04-11 11:16:44 +00:00
Xavier Guimard
294e35cbeb Error with PPolicy + CleanupHandler not launched 2009-04-11 06:13:28 +00:00
Clément Oudot
67c921f62a LEMONLDAP::NG : correct little bug in LDAP config backend, and add examples of LDAP configuration backend 2009-04-06 10:11:05 +00:00
Clément Oudot
d51cf49d21 LemonLDAP::NG : first support for LDAP configuration backend 2009-04-06 09:37:27 +00:00
Xavier Guimard
740ad09f9f Safelib + LDAPFilter parameter 2009-04-05 08:12:16 +00:00
Xavier Guimard
73fa979c65 'CustomSOAPServices' target in portal 2009-04-04 07:36:42 +00:00
Xavier Guimard
8bc0d20afa * Portal can now been used as 'proxy' for SOAP session storage.
* Session explorer works now with SOAP session storage (very low performances)
2009-04-03 16:17:57 +00:00
Xavier Guimard
21d3ab4ebd Trying to implement get_key_from_all_sessions for Lemonldap::NG::Common::Apache::Session::SOAP 2009-03-20 12:03:15 +00:00
Xavier Guimard
a4dbbf2ccd POD 2009-03-03 06:21:52 +00:00
Xavier Guimard
859be3923f * Doxygen doc update
* More tests
* perltidy on tests
2009-02-25 18:10:07 +00:00
Xavier Guimard
6307a00750 Lot of work on Portal SOAP services. Now 5 functions are exported:
* getAttributes(cookieValue)
 * getConfig()
 * getCookies(user,password)
 * error(code,language)
 * newNotification(xml)

WSDL is up to date but getConfig is not documented since it's a Lemonldap::NG internal service.
2009-02-24 17:53:59 +00:00
Xavier Guimard
20764ad812 New authentication and userDB backend : "Remote" can be used to check authentication from a remote Lemonldap::NG portal using CDA 2009-02-23 17:35:38 +00:00
Xavier Guimard
ee3fc975e0 More tests 2009-02-22 12:10:49 +00:00
Xavier Guimard
75f8ca4876 Typo 2009-02-19 09:35:29 +00:00
Xavier Guimard
07446ed429 More tests 2009-02-19 09:34:09 +00:00
Xavier Guimard
9fdea7384f make cpan updates META.yml 2009-02-19 08:26:22 +00:00
Xavier Guimard
553058998f Doxygen comments update 2009-02-17 15:22:42 +00:00
Xavier Guimard
ffb5ee8e33 Doxygen filter modification to show authentication process methods 2009-02-17 14:56:38 +00:00
Xavier Guimard
b6cdee5d2a Now userNotice and userError are customizable like subs called by _subProcess 2009-02-15 11:30:25 +00:00
Xavier Guimard
415d23b6e4 User actions are now registered with 3 functions :
* log        : normal access to the portal
 * userNotice : authentications, logout,...
 * userError  : bad password,...

A new parameter 'syslog => "auth"' can be set to log userNotice and userError via syslog
2009-02-15 08:53:44 +00:00
Xavier Guimard
0c18700f65 * cleaning code :
* session have not to be recover in Menu since it's done before bu the portal
* accounting in CGIs (ModPerl::Registry context only) :
  * used by portal to inform Apache
2009-02-14 08:55:19 +00:00
Xavier Guimard
19e59af4cd log & debug method lmLog() for CGIs 2009-02-12 19:48:53 +00:00
Xavier Guimard
7c1ff1d938 Versions update 2009-02-10 17:28:27 +00:00
Xavier Guimard
ab1b201e71 * AuthBasic now use SOAP request to create the new session
* perltidy
2009-02-10 11:10:12 +00:00
Xavier Guimard
b275ee2ac8 LEMONLDAP::NG : WSDL is now clean 2009-02-08 17:12:42 +00:00
Xavier Guimard
fbdb9ccb22 LEMONLDAP::NG : * Version is missing in SOAPServer.pm
* perltidy on Portal/Simple.pm
2009-02-08 07:59:46 +00:00
Xavier Guimard
0d7ecc689d LEMONLDAP::NG : missing files 2009-02-07 16:39:23 +00:00
Xavier Guimard
1800497815 LEMONLDAP::NG : propagation of 0.9.3.4 changes 2009-02-05 17:05:18 +00:00
Xavier Guimard
a25e10b040 LEMONLDAP::NG : * documentation modification
* SOAP service to update notification database
2009-02-03 09:36:13 +00:00
Xavier Guimard
85d765a002 LEMONLDAP::NG : WSDL for portal + dependency of Crypt::Rijndael in Debian 2009-02-01 15:38:06 +00:00
Xavier Guimard
4a271a8225 LEMONLDAP::NG : Doxygen in progress 2009-01-31 07:30:59 +00:00
Xavier Guimard
21f5808cdf LEMONLDAP::NG : Notification system is running now (for file storage only). TODO: Soapservice to accept notifications 2009-01-30 15:26:34 +00:00
Xavier Guimard
2540bb36f0 LEMONLDAP::NG : * new feature in devel : notification system
* now, there is a shared key that can be use to crypt datas
                  (used in notification to hide cookie value)
2009-01-28 17:37:10 +00:00
Xavier Guimard
bfab1a6e3b LEMONLDAP::NG Doxygen in progress 2008-12-31 15:10:02 +00:00
Xavier Guimard
4b57751fe8 LEMONLDAP::NG : ** READY FOR 0.9.3 **
- Better Makefile
2008-12-31 10:39:39 +00:00
Xavier Guimard
62b02d49fd LEMONLDAP::NG : Doxygen documentation in progress 2008-12-30 09:37:56 +00:00
Xavier Guimard
bf6450df17 LEMONLDAP::NG : Split CGI and SOAP functions 2008-12-28 11:12:29 +00:00
Xavier Guimard
b5b2279117 LEMONLDAP::NG : SOAP::Lite dependency in Common 2008-12-28 09:06:58 +00:00
Xavier Guimard
09f1a45cab LEONLDAP::NG : Better tests for Lemonldap::NG::Common 2008-12-26 16:13:36 +00:00
Xavier Guimard
e4a7734f23 LEMONLDAP::NG : dependencies 2008-12-25 08:21:30 +00:00
Xavier Guimard
03fda7186f LEMONLDAP::NG : little change 2008-12-25 08:06:21 +00:00
Xavier Guimard
44cc396a83 LEMONLDAP::NG : Few things... 2008-12-24 14:35:49 +00:00
Xavier Guimard
2449e92c2d LEMONLDAP::NG : A site in the protected domain is accepted in $portal->{urldc} even if the site is not declared in the manager 2008-12-24 09:12:53 +00:00
Xavier Guimard
8e6c8de591 LEMONLDAP::NG : I think version 0.9.3 is ready... 2008-12-24 08:32:11 +00:00
Xavier Guimard
aeefee4ec4 LEMONLDAP::NG : Debian installation in progress 2008-12-24 07:22:42 +00:00
Xavier Guimard
5ba1178057 LEMONLDAP::NG : New Makefile in progress. Debian install is broken for now. 2008-12-22 17:49:36 +00:00
Xavier Guimard
b9ba2337e4 LEMONLDAP::NG : now the portal can be called by browser or by SOAP 2008-12-07 14:12:36 +00:00
Xavier Guimard
ae392f0276 LEMONLDAP::NG : SOAP Service in progress... 2008-12-07 11:47:38 +00:00
Xavier Guimard
53dc4bbbf4 LEMONLDAP::NG : * To avoid XSS, 3 controls :
1) url must be base64 encoded
                  2) urldc is serialized on 1 line ("s/[\r\n]//sg")
                  3) urldc must not contains '"`\0<
                * Common/CGI can now intercept SOAP requests
2008-12-07 09:02:44 +00:00
Xavier Guimard
789a39df97 LEMONLDAP::NG : * Support for Apache::Session::PHP (for Manager/Session and purgeCentralCache)
* better cache control for Common::CGI.pm::header_public()
                * bug with the manager introduced previously
2008-12-05 16:30:27 +00:00
Xavier Guimard
5bbe35cedc LEMONLDAP::NG : To help Doxygen, we have to use "use base" instead of @ISA when possible 2008-12-04 13:53:05 +00:00
Xavier Guimard
24a14caeda LEMONLDAP::NG : * Security fix : redirections in portal must be in protected sites
* perltidy in Manager/Sessions.pm
                * Doxygen in progress...
2008-12-03 16:05:27 +00:00
Xavier Guimard
6dc275710c LEMONLDAP::NG : * avoid a little warning in tests
* Manager/Sessions.pm and purgeCentralCache now use the same Apache::Session get_key_from_all_sessions() function
2008-12-01 17:21:34 +00:00
Xavier Guimard
9b46d1fba0 LEMONLDAP::NG : * Portal/Menu.pm depends from XML::LibXML
* Links in Debian examples installation
2008-11-26 07:40:42 +00:00
Xavier Guimard
a72eebdd81 LEMONLDAP::NG : Notification system skeleton 2008-11-24 06:57:18 +00:00
Xavier Guimard
5926aed0e7 LEMONLDAP::NG : COMMIT in DBI.pm and pb in make test 2008-11-22 18:09:57 +00:00
Xavier Guimard
2725f06fd3 LEMONLDAP::NG : * Handler/SharedConf.pm is more simple now since it use the new Conf.pm capabilities
* CGIs now use abort() instead of die
                * debug system in COnf.pm (set "LogLevel debug" in Apache)
2008-11-21 17:51:52 +00:00
Xavier Guimard
63f196078b LEMONLDAP::NG : die replaced by $self->abort in CGIs 2008-11-21 07:27:08 +00:00
Xavier Guimard
eea294ce3b LEMONLDAP::NG : Manager/Base.pm becomes Common/CGI.pm 2008-11-20 06:53:44 +00:00
Xavier Guimard
c9fc66bbef LEMONLDAP::NG : Conf.pm now can use local cache. If "localStorage" is set in "configStorage" :
* getConf acts as a "must-revalidate" proxy for the configuration (get numConf
                   from globalCache and give local conf if ti's the same number
                 * if "local=>1" is set when calling getConf, globalConfiguration number is not
                   checked and it returns local config

                Handler/SharedConf will so be simplified
2008-11-19 17:49:46 +00:00
Xavier Guimard
45670f3d21 LEMONLDAP::NG : bless was not safe in Conf.pm 2008-11-19 11:25:35 +00:00
Xavier Guimard
cae4cbade0 LEMONLDAP::NG : New module Lemonldap::NG::Common. It contains Conf.pm and Cie 2008-11-17 16:59:56 +00:00