[dev] Net_IMSP and turba patches
Michael Rubinsky
mike at theupstairsroom.com
Tue Mar 9 07:59:04 PST 2004
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.
Thanks!
Mike
--
Michael Rubinsky
TheUpstairsRoom Consulting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Net_IMSP.patch
Type: application/octet-stream
Size: 21158 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040309/7842a978/Net_IMSP-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sources.patch
Type: application/octet-stream
Size: 2676 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040309/7842a978/sources-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: turbaimsp.patch
Type: application/octet-stream
Size: 1126 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040309/7842a978/turbaimsp-0001.obj
More information about the dev
mailing list