horde.git
16 years agoraw_params is returned from _attach(), not a parameter to pass to it, and it's option...
Michael J. Rubinsky [Sat, 31 Oct 2009 03:05:50 +0000 (23:05 -0400)]
raw_params is returned from _attach(), not a parameter to pass to it, and it's optionally returned,
so we need to check existence before accessing it.

16 years agoSkip only those tests that really rely on Net_LDAP2
Gunnar Wrobel [Fri, 30 Oct 2009 23:19:10 +0000 (00:19 +0100)]
Skip only those tests that really rely on Net_LDAP2

16 years agoContinued search implementation. Extended testing. Ensured that test requiring Net_LD...
Gunnar Wrobel [Fri, 30 Oct 2009 23:01:13 +0000 (00:01 +0100)]
Continued search implementation. Extended testing. Ensured that test requiring Net_LDAP2 are skipped.

16 years agoFix typo
Michael M Slusarz [Fri, 30 Oct 2009 22:15:09 +0000 (16:15 -0600)]
Fix typo

16 years agofunc_replace -> raw_params
Michael M Slusarz [Fri, 30 Oct 2009 22:12:45 +0000 (16:12 -0600)]
func_replace -> raw_params

16 years agoDefault to an Http response
Chuck Hagenbuch [Fri, 30 Oct 2009 00:11:29 +0000 (20:11 -0400)]
Default to an Http response

16 years agoobject instantiation style
Chuck Hagenbuch [Fri, 30 Oct 2009 00:11:04 +0000 (20:11 -0400)]
object instantiation style

16 years agoGet rid of some random stuff in the Http response class, and add more from the
Chuck Hagenbuch [Thu, 29 Oct 2009 22:41:14 +0000 (18:41 -0400)]
Get rid of some random stuff in the Http response class, and add more from the
Mad version.

16 years agofix spelling
Chuck Hagenbuch [Thu, 29 Oct 2009 22:40:42 +0000 (18:40 -0400)]
fix spelling

16 years agoUpdate to use \ as the namespace separator.
Chuck Hagenbuch [Thu, 29 Oct 2009 22:40:16 +0000 (18:40 -0400)]
Update to use \ as the namespace separator.

16 years agofunc_replace doesn't seem to be needed/used by any _attach() methods.
Michael J. Rubinsky [Thu, 29 Oct 2009 21:55:35 +0000 (17:55 -0400)]
func_replace doesn't seem to be needed/used by any _attach() methods.

16 years agoFix javascript generation when assinging to a variable
Michael J. Rubinsky [Thu, 29 Oct 2009 20:26:33 +0000 (16:26 -0400)]
Fix javascript generation when assinging to a variable

16 years agoexistence check
Michael J. Rubinsky [Thu, 29 Oct 2009 19:51:50 +0000 (15:51 -0400)]
existence check

16 years agoFix the search handler.
Gunnar Wrobel [Thu, 29 Oct 2009 15:55:37 +0000 (16:55 +0100)]
Fix the search handler.

16 years agoAdd basic test case definition.
Gunnar Wrobel [Thu, 29 Oct 2009 15:54:34 +0000 (16:54 +0100)]
Add basic test case definition.

16 years agoAdd testing for the search handler.
Gunnar Wrobel [Thu, 29 Oct 2009 15:52:58 +0000 (16:52 +0100)]
Add testing for the search handler.

16 years agoNote that this a test for bug #8546.
Jan Schneider [Thu, 29 Oct 2009 14:55:02 +0000 (15:55 +0100)]
Note that this a test for bug #8546.

16 years agoFix package name.
Jan Schneider [Thu, 29 Oct 2009 14:15:20 +0000 (15:15 +0100)]
Fix package name.

16 years agoMake those test executable individually.
Jan Schneider [Thu, 29 Oct 2009 14:02:52 +0000 (15:02 +0100)]
Make those test executable individually.

16 years agoUse calendar extension if available.
Jan Schneider [Thu, 29 Oct 2009 13:52:19 +0000 (14:52 +0100)]
Use calendar extension if available.

16 years agoAdd AutoCompleter Ajax driver.
Michael M Slusarz [Thu, 29 Oct 2009 01:27:45 +0000 (19:27 -0600)]
Add AutoCompleter Ajax driver.

16 years agoFix testing the configuration based factory.
Gunnar Wrobel [Wed, 28 Oct 2009 22:53:33 +0000 (23:53 +0100)]
Fix testing the configuration based factory.

16 years agoFix duplicate declaration.
Michael M Slusarz [Wed, 28 Oct 2009 22:18:35 +0000 (16:18 -0600)]
Fix duplicate declaration.

16 years agoBetter @return description for getEmbeddedMimeParts()
Michael M Slusarz [Wed, 28 Oct 2009 21:52:44 +0000 (15:52 -0600)]
Better @return description for getEmbeddedMimeParts()

16 years agoStrict checking
Gunnar Wrobel [Wed, 28 Oct 2009 22:18:01 +0000 (23:18 +0100)]
Strict checking

16 years agoFix path.
Gunnar Wrobel [Wed, 28 Oct 2009 21:58:54 +0000 (22:58 +0100)]
Fix path.

16 years agophpdoc, CS
Gunnar Wrobel [Wed, 28 Oct 2009 21:58:43 +0000 (22:58 +0100)]
phpdoc, CS

16 years agoAdd tests to package.xml.
Gunnar Wrobel [Wed, 28 Oct 2009 21:39:58 +0000 (22:39 +0100)]
Add tests to package.xml.

16 years agoFix the Kolab_Session factories now that the Kolab_Server factories are complete...
Gunnar Wrobel [Wed, 28 Oct 2009 21:39:42 +0000 (22:39 +0100)]
Fix the Kolab_Session factories now that the Kolab_Server factories are complete. Additional testing.

16 years agoConfiguration based factories should not require any parameters but the configuration.
Gunnar Wrobel [Wed, 28 Oct 2009 21:38:37 +0000 (22:38 +0100)]
Configuration based factories should not require any parameters but the configuration.

16 years agoFix reading stream in combine wrapper
Michael M Slusarz [Wed, 28 Oct 2009 18:45:00 +0000 (12:45 -0600)]
Fix reading stream in combine wrapper

16 years agostream_copy_to_stream() requires fstat(), so implement it here
Michael M Slusarz [Wed, 28 Oct 2009 17:54:40 +0000 (11:54 -0600)]
stream_copy_to_stream() requires fstat(), so implement it here

16 years agoCompleted the factory testing.
Gunnar Wrobel [Wed, 28 Oct 2009 08:30:24 +0000 (09:30 +0100)]
Completed the factory testing.

16 years agoWhen urlFor() is passed a named route, pass it to generate()
Chuck Hagenbuch [Wed, 28 Oct 2009 03:26:41 +0000 (23:26 -0400)]
When urlFor() is passed a named route, pass it to generate()

Includes some other changes to make this work with formatted routes, and some
updates to the tests to reflect updated assumptions.

16 years agoAdd Horde_Imap_Client_Utils::createUrl()
Michael M Slusarz [Tue, 27 Oct 2009 23:05:15 +0000 (17:05 -0600)]
Add Horde_Imap_Client_Utils::createUrl()

16 years agoAdd full IMAP URL parsing
Michael M Slusarz [Mon, 3 Aug 2009 20:27:53 +0000 (14:27 -0600)]
Add full IMAP URL parsing

16 years agoCS
Gunnar Wrobel [Tue, 27 Oct 2009 23:12:20 +0000 (00:12 +0100)]
CS

16 years agoFix the code coverage report.
Gunnar Wrobel [Tue, 27 Oct 2009 23:12:06 +0000 (00:12 +0100)]
Fix the code coverage report.

16 years agoStart splitting the factory into separate classes. Added some tests for that.
Gunnar Wrobel [Tue, 27 Oct 2009 23:11:27 +0000 (00:11 +0100)]
Start splitting the factory into separate classes. Added some tests for that.

16 years agoRemove xinha driver
Michael M Slusarz [Tue, 27 Oct 2009 01:57:23 +0000 (19:57 -0600)]
Remove xinha driver

16 years agoMerge branch 'combine'
Michael M Slusarz [Mon, 26 Oct 2009 18:33:41 +0000 (12:33 -0600)]
Merge branch 'combine'

16 years agoAdd Horde_Stream_Wrapper_Combine::
Michael M Slusarz [Sat, 24 Oct 2009 23:56:44 +0000 (17:56 -0600)]
Add Horde_Stream_Wrapper_Combine::

16 years agoFix the search call.
Gunnar Wrobel [Mon, 26 Oct 2009 18:16:39 +0000 (19:16 +0100)]
Fix the search call.

16 years agoMerge branch 'refactor-Kolab_Session'
Gunnar Wrobel [Mon, 26 Oct 2009 17:57:42 +0000 (18:57 +0100)]
Merge branch 'refactor-Kolab_Session'

16 years agoRefactoring and testing of Kolab_Session largely complete. The connection with Kolab_...
Gunnar Wrobel [Mon, 26 Oct 2009 17:55:05 +0000 (18:55 +0100)]
Refactoring and testing of Kolab_Session largely complete. The connection with Kolab_Server still needs some fixes on the side of Kolab_Server.

16 years agoThis package relies on Horde_Support_StringStream::.
Michael M Slusarz [Mon, 26 Oct 2009 15:46:24 +0000 (09:46 -0600)]
This package relies on Horde_Support_StringStream::.

16 years agoMFB: Small cleanups.
Jan Schneider [Mon, 26 Oct 2009 12:10:54 +0000 (13:10 +0100)]
MFB: Small cleanups.

16 years agoAdd Ckeditor RTE driver.
Michael M Slusarz [Sat, 24 Oct 2009 23:56:05 +0000 (17:56 -0600)]
Add Ckeditor RTE driver.

16 years agodoc fixes; no need to load prototype.js here
Michael M Slusarz [Sat, 24 Oct 2009 12:47:43 +0000 (06:47 -0600)]
doc fixes; no need to load prototype.js here

16 years agoThese should be Horde_Http_Exception objects, not Horde_Http_Client_Exception
Michael J. Rubinsky [Sat, 24 Oct 2009 16:33:38 +0000 (12:33 -0400)]
These should be Horde_Http_Exception objects, not Horde_Http_Client_Exception

16 years agoMerge branch 'master' into refactor-Kolab_Session
Gunnar Wrobel [Fri, 23 Oct 2009 17:10:08 +0000 (19:10 +0200)]
Merge branch 'master' into refactor-Kolab_Session

16 years agoSupport SORT=DISPLAY extension
Michael M Slusarz [Thu, 22 Oct 2009 20:18:07 +0000 (14:18 -0600)]
Support SORT=DISPLAY extension

16 years agoFix for moved base class. These inter-package dependencies were a bad idea and I...
Gunnar Wrobel [Thu, 22 Oct 2009 10:24:13 +0000 (12:24 +0200)]
Fix for moved base class. These inter-package dependencies were a bad idea and I need to remove them.

16 years agoRefactored the mock driver into a mock LDAP connection to adapt it to
Gunnar Wrobel [Thu, 22 Oct 2009 10:19:00 +0000 (12:19 +0200)]
Refactored the mock driver into a mock LDAP connection to adapt it to
the new structure. Fixed the server factory. Fixed some of the unit
tests.

16 years agoAdded Horde_Notification::replace()
Michael M Slusarz [Wed, 21 Oct 2009 19:37:37 +0000 (13:37 -0600)]
Added Horde_Notification::replace()

16 years agoRefactor Kolab_Session. No testing yet.
Gunnar Wrobel [Wed, 21 Oct 2009 12:02:53 +0000 (14:02 +0200)]
Refactor Kolab_Session. No testing yet.

16 years agoRemove this parameter - it is too dimp-specific
Michael M Slusarz [Wed, 21 Oct 2009 08:18:56 +0000 (02:18 -0600)]
Remove this parameter - it is too dimp-specific

16 years agoRemove \r from debug output
Michael M Slusarz [Wed, 21 Oct 2009 04:43:36 +0000 (22:43 -0600)]
Remove \r from debug output

16 years agoMerge branch 'Kolab_Server_Refactoring'
Gunnar Wrobel [Tue, 20 Oct 2009 07:58:45 +0000 (09:58 +0200)]
Merge branch 'Kolab_Server_Refactoring'

16 years agoBasic refactoring of Kolab_Server completed. Many tests still need fixing and some...
Gunnar Wrobel [Tue, 20 Oct 2009 07:49:57 +0000 (09:49 +0200)]
Basic refactoring of Kolab_Server completed. Many tests still need fixing and some classes need to be completed too.

16 years agoUpdate to new SpellChecker js code
Michael M Slusarz [Mon, 19 Oct 2009 18:50:52 +0000 (12:50 -0600)]
Update to new SpellChecker js code

16 years agoBug #8652: Fix method call
Michael M Slusarz [Mon, 19 Oct 2009 16:09:57 +0000 (10:09 -0600)]
Bug #8652: Fix method call

16 years agoBug #8651: Fix class name
Michael M Slusarz [Mon, 19 Oct 2009 15:57:01 +0000 (09:57 -0600)]
Bug #8651: Fix class name

16 years agoUse Horde_String.
Jan Schneider [Mon, 19 Oct 2009 08:22:06 +0000 (10:22 +0200)]
Use Horde_String.

16 years agoAdd all script to the same onload block, if possible
Michael M Slusarz [Mon, 19 Oct 2009 03:33:55 +0000 (21:33 -0600)]
Add all script to the same onload block, if possible

16 years agoTweak a few php 5 things and make sure driver names are ucfirst
Chuck Hagenbuch [Mon, 19 Oct 2009 01:23:23 +0000 (21:23 -0400)]
Tweak a few php 5 things and make sure driver names are ucfirst

16 years agoIgnore '.' in the include_path for the purposes of Horde_Autoloader.
Chuck Hagenbuch [Sat, 17 Oct 2009 02:10:05 +0000 (22:10 -0400)]
Ignore '.' in the include_path for the purposes of Horde_Autoloader.

16 years agoA few style/spelling tweaks
Chuck Hagenbuch [Fri, 16 Oct 2009 22:22:46 +0000 (18:22 -0400)]
A few style/spelling tweaks

16 years agoAdd missing array key
Michael M Slusarz [Fri, 16 Oct 2009 11:54:15 +0000 (05:54 -0600)]
Add missing array key

16 years agoLogout on read error
Michael M Slusarz [Fri, 16 Oct 2009 09:21:54 +0000 (03:21 -0600)]
Logout on read error

16 years agoSilence errors on bad stream
Michael M Slusarz [Fri, 16 Oct 2009 09:08:25 +0000 (03:08 -0600)]
Silence errors on bad stream

16 years agoDon't include files using a relative path; always run through the include_path
Chuck Hagenbuch [Thu, 15 Oct 2009 17:59:58 +0000 (13:59 -0400)]
Don't include files using a relative path; always run through the include_path
explicitly trying absolute paths.

This avoids PHP checking the local directory for a file even if '.' isn't in the
include_path. Also, we now use realpath() directly instead of
Horde_Util::realPath(). This both reduces dependencies, and it removes invalid
paths from the include_path. The generic realPath() has its use, but here we're
dealing with real files on the filesystem.

16 years agoXSS filter: support multiple CDATA blocks
Michael M Slusarz [Thu, 15 Oct 2009 12:29:53 +0000 (06:29 -0600)]
XSS filter: support multiple CDATA blocks

16 years agoHorde_Auth_Application improvements.
Michael M Slusarz [Thu, 15 Oct 2009 11:37:58 +0000 (05:37 -0600)]
Horde_Auth_Application improvements.

Add getCredential().
Pass auth instance to application's transparent handler.

16 years agoLoad all required classes.
Jan Schneider [Thu, 15 Oct 2009 11:54:33 +0000 (13:54 +0200)]
Load all required classes.

16 years agoMFB: Fix tests.
Jan Schneider [Sun, 11 Oct 2009 16:37:26 +0000 (18:37 +0200)]
MFB: Fix tests.

16 years agoPass info to preauth hook to indicate the current auth method
Michael M Slusarz [Thu, 15 Oct 2009 10:12:38 +0000 (04:12 -0600)]
Pass info to preauth hook to indicate the current auth method

16 years agoFix function name in doc comment
Chuck Hagenbuch [Thu, 15 Oct 2009 01:37:43 +0000 (21:37 -0400)]
Fix function name in doc comment

16 years agoAdd missing toLabelTag() method
Chuck Hagenbuch [Thu, 15 Oct 2009 01:37:33 +0000 (21:37 -0400)]
Add missing toLabelTag() method

16 years agoFix case where caching might not be available
Michael M Slusarz [Wed, 14 Oct 2009 18:14:32 +0000 (12:14 -0600)]
Fix case where caching might not be available

16 years agoImprovements to Horde_Auth::.
Michael M Slusarz [Wed, 14 Oct 2009 10:44:57 +0000 (04:44 -0600)]
Improvements to Horde_Auth::.

* Replaced Horde_Auth::addHook() and Horde_Auth::removeHook() with
  Horde_Auth::convertUsername().
* Add ability to retrieve app-specific credentials via
  Horde_Auth::getCredential().
* Add Horde_Auth::getOriginalAuth().

16 years agoCsstidy fixes
Michael M Slusarz [Tue, 13 Oct 2009 16:44:36 +0000 (10:44 -0600)]
Csstidy fixes

Most important, allow multiple declarations of a property within a
single CSS declaration.  Allows us to take advantage of CSS hacks
without splitting CSS files into 8 different versions based on browser
type.
While here, start cleaning these files up (i.e. disable
logging, since it is not used anywhere and is just wasting memory).
This can be cleaned up more - there are definitely things going on in
here that are eating up memory, for example.

16 years agoCorrectly deal with CSS strings that begin with '-'.
Michael M Slusarz [Tue, 13 Oct 2009 15:46:58 +0000 (09:46 -0600)]
Correctly deal with CSS strings that begin with '-'.

16 years agoOptimize these assignments (saves 12K in code)
Michael M Slusarz [Tue, 13 Oct 2009 12:00:17 +0000 (06:00 -0600)]
Optimize these assignments (saves 12K in code)

16 years agoOne take on a simple module implementation. Not sure I'm sticking with this yet.
Chuck Hagenbuch [Tue, 13 Oct 2009 03:05:28 +0000 (23:05 -0400)]
One take on a simple module implementation. Not sure I'm sticking with this yet.

16 years agoVerify in a test that StringStream doesn't duplicate the string being streamed in...
Chuck Hagenbuch [Tue, 13 Oct 2009 03:04:14 +0000 (23:04 -0400)]
Verify in a test that StringStream doesn't duplicate the string being streamed in memory.

16 years agoBug #4299: Fix dimming signatures when mixed with quoted text
Michael M Slusarz [Tue, 13 Oct 2009 00:45:50 +0000 (18:45 -0600)]
Bug #4299: Fix dimming signatures when mixed with quoted text

16 years agoRe-add missing quantifier limiter.
Michael M Slusarz [Tue, 13 Oct 2009 00:45:15 +0000 (18:45 -0600)]
Re-add missing quantifier limiter.

16 years agoThis becomes much more useful when you assign it to something
Michael M Slusarz [Mon, 12 Oct 2009 15:19:08 +0000 (09:19 -0600)]
This becomes much more useful when you assign it to something

16 years agoIntermediate step in refactoring Kolab_Server.
Gunnar Wrobel [Sat, 10 Oct 2009 21:12:06 +0000 (23:12 +0200)]
Intermediate step in refactoring Kolab_Server.

16 years agoThe write/close should be done in the destructor
Michael M Slusarz [Thu, 8 Oct 2009 22:23:15 +0000 (16:23 -0600)]
The write/close should be done in the destructor

16 years agoDestructor fixes.
Michael M Slusarz [Thu, 8 Oct 2009 21:41:24 +0000 (15:41 -0600)]
Destructor fixes.

Destructors have no access to the session - need to do these tasks in a
function registered via register_shutdown_function().

16 years agoFix potential session writing issue
Michael M Slusarz [Thu, 8 Oct 2009 21:44:29 +0000 (15:44 -0600)]
Fix potential session writing issue

This allegedly was needed as of 5.0.5, but I first started to see the
undesirable behavior as of 5.2.10/5.3.

16 years agoFix ignoring CDATA when doing regexp searching
Michael M Slusarz [Thu, 8 Oct 2009 19:53:52 +0000 (13:53 -0600)]
Fix ignoring CDATA when doing regexp searching

Strip out the CDATA, store it, and replace it when finished with the
various preg_match() calls.

16 years agoBug #8555: Linewrap q-p data
Michael M Slusarz [Thu, 8 Oct 2009 16:41:52 +0000 (10:41 -0600)]
Bug #8555: Linewrap q-p data

16 years agoRegex tweak
Michael M Slusarz [Wed, 7 Oct 2009 18:30:02 +0000 (12:30 -0600)]
Regex tweak

16 years agoFor base (ID = 0) parts, any subpart is a body part
Michael M Slusarz [Wed, 7 Oct 2009 17:51:57 +0000 (11:51 -0600)]
For base (ID = 0) parts, any subpart is a body part

16 years agoNeed to group this expression to avoid undefined index warnings.
Michael J. Rubinsky [Wed, 7 Oct 2009 13:30:44 +0000 (09:30 -0400)]
Need to group this expression to avoid undefined index warnings.

16 years agoBetter error handling for S/MIME certs
Michael M Slusarz [Wed, 7 Oct 2009 04:17:40 +0000 (22:17 -0600)]
Better error handling for S/MIME certs

16 years agoDon't double encode ampersands
Michael M Slusarz [Wed, 7 Oct 2009 03:21:09 +0000 (21:21 -0600)]
Don't double encode ampersands