[cvs] commit: framework/Net_IMSP/IMSP Auth.php Book.php
framework/Net_IMSP/IMSP/Auth cram_md5.php plaintext.php
framework/Net_IMSP IMSP.php package.xml turba/lib/Driver imsp.php
turba/config sources.php.dist
Chuck Hagenbuch
chuck at horde.org
Tue Mar 9 11:32:10 PST 2004
chuck 2004/03/09 11:32:10 PST
Modified files:
Net_IMSP/IMSP Auth.php Book.php
Net_IMSP/IMSP/Auth cram_md5.php plaintext.php
Net_IMSP IMSP.php package.xml
lib/Driver imsp.php
config sources.php.dist
Log:
From Michael Rubinsky <mike at theupstairsroom.com>
More updates for the Net_IMSP stuff...
In framework/Net_IMSP:
- new file: IMSP_Utils.php - provides a place for supporting functions. Right now,
contains only a getAllBooks() method which returns the name of all the addressbooks the
user has at least read access to. It returns the information in an array structured like
the cfgSources[] array in turba. Also sets the 'readonly' parameter according to the
server's acl for the addressbook.
- implemented factory/singleton patterns throughout.
- more improvements to error handling and code cleanup.
In turba:
- Added the ability to dynamically load all addressbooks the user has access to. Any
addressbooks on the server that the user has access to will dynamically be added to the
cfgSources array. The 'readonly' property will be automatically set based on the users
rights on each addressbook. There still needs to be at least one imsp entry in the
cfgSources array, and it should be for the users primary addressbook.
- Moved the code to determine if we will use the 'alternate' login credentials to
sources.php since it made more sense to put it there...
- Improved/more graceful error handling and notification messages as well as some more
code cleanup.
Revision Changes Path
1.6 +81 -29 framework/Net_IMSP/IMSP.php
1.5 +42 -20 framework/Net_IMSP/IMSP/Auth.php
1.4 +21 -12 framework/Net_IMSP/IMSP/Auth/cram_md5.php
1.4 +12 -10 framework/Net_IMSP/IMSP/Auth/plaintext.php
1.7 +81 -62 framework/Net_IMSP/IMSP/Book.php
1.2 +3 -2 framework/Net_IMSP/package.xml
1.75 +52 -37 turba/config/sources.php.dist
1.7 +5 -17 turba/lib/Driver/imsp.php
Chora Links:
http://cvs.horde.org/diff.php/framework/Net_IMSP/IMSP.php?r1=1.5&r2=1.6&ty=u
http://cvs.horde.org/diff.php/framework/Net_IMSP/IMSP/Auth.php?r1=1.4&r2=1.5&ty=u
http://cvs.horde.org/diff.php/framework/Net_IMSP/IMSP/Auth/cram_md5.php?r1=1.3&r2=1.4&ty=u
http://cvs.horde.org/diff.php/framework/Net_IMSP/IMSP/Auth/plaintext.php?r1=1.3&r2=1.4&ty=u
http://cvs.horde.org/diff.php/framework/Net_IMSP/IMSP/Book.php?r1=1.6&r2=1.7&ty=u
http://cvs.horde.org/diff.php/framework/Net_IMSP/package.xml?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/turba/config/sources.php.dist?r1=1.74&r2=1.75&ty=u
http://cvs.horde.org/diff.php/turba/lib/Driver/imsp.php?r1=1.6&r2=1.7&ty=u
More information about the cvs
mailing list