horde.git
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

16 years agoBug #8626: Fix updating memcache tracking info on session destroy
Michael M Slusarz [Tue, 6 Oct 2009 22:13:10 +0000 (16:13 -0600)]
Bug #8626: Fix updating memcache tracking info on session destroy

16 years agoRevise Horde::addScriptFile() API
Michael M Slusarz [Tue, 6 Oct 2009 18:53:40 +0000 (12:53 -0600)]
Revise Horde::addScriptFile() API

Move addExternalScriptFile() into this function - no reason to have a
separate function for this.
Direct loading should be the default.  Loading through javascript.php is
deprecated and any remaining scripts that contain PHP code should be
rewritten ASAP.
Fix javascript loading for fckeditor - use addScriptFile() instead of
the deprecated javascript notification handler.

16 years agoFix browsing and GET.
Jan Schneider [Mon, 5 Oct 2009 17:17:42 +0000 (19:17 +0200)]
Fix browsing and GET.

16 years agoMake this actually work again; fix Horde_Xml_Element usage and more.
Jan Schneider [Mon, 5 Oct 2009 16:37:35 +0000 (18:37 +0200)]
Make this actually work again; fix Horde_Xml_Element usage and more.

16 years agoWe have to use the full tag name (including namespace) when calling
Jan Schneider [Mon, 5 Oct 2009 16:35:16 +0000 (18:35 +0200)]
We have to use the full tag name (including namespace) when calling
createElementNS() or setAttributeNS().

16 years agoAdd test for unsetting namespaced attributes.
Jan Schneider [Mon, 5 Oct 2009 16:34:03 +0000 (18:34 +0200)]
Add test for unsetting namespaced attributes.

16 years agoFix variable name.
Jan Schneider [Mon, 5 Oct 2009 16:20:14 +0000 (18:20 +0200)]
Fix variable name.

16 years agoChange method names to reflect what the actually test.
Jan Schneider [Mon, 5 Oct 2009 16:19:31 +0000 (18:19 +0200)]
Change method names to reflect what the actually test.
Add tests for element setter/getter.
Fix order of assertEquals() arguments.

16 years agoRemove references, consolidate includes
Chuck Hagenbuch [Sun, 4 Oct 2009 03:10:49 +0000 (23:10 -0400)]
Remove references, consolidate includes

16 years agoStub out gettext functions if they don't exist to avoid fatal errors in tests.
Chuck Hagenbuch [Sun, 4 Oct 2009 02:57:40 +0000 (22:57 -0400)]
Stub out gettext functions if they don't exist to avoid fatal errors in tests.

16 years agoRemove a bunch of references, a little PHP 5 style, mark tests skipped that
Chuck Hagenbuch [Sun, 4 Oct 2009 02:56:57 +0000 (22:56 -0400)]
Remove a bunch of references, a little PHP 5 style, mark tests skipped that
currently throw errors.

16 years agoskip tests that don't work because $world['auth'] doesn't exist yet
Chuck Hagenbuch [Sun, 4 Oct 2009 01:32:09 +0000 (21:32 -0400)]
skip tests that don't work because $world['auth'] doesn't exist yet

16 years agoDeclare static public.
Gunnar Wrobel [Fri, 2 Oct 2009 19:17:05 +0000 (21:17 +0200)]
Declare static public.

16 years agoHotfix structure class construction. A real fix will come later.
Gunnar Wrobel [Fri, 2 Oct 2009 19:16:08 +0000 (21:16 +0200)]
Hotfix structure class construction. A real fix will come later.

16 years agoFix the Kolab_Server factory. Accepting arbitrary class names in the factory is not...
Gunnar Wrobel [Fri, 2 Oct 2009 18:59:29 +0000 (20:59 +0200)]
Fix the Kolab_Server factory. Accepting arbitrary class names in the factory is not required.

16 years agoFix more errors when running tests in strict mode.
Gunnar Wrobel [Fri, 2 Oct 2009 18:47:32 +0000 (20:47 +0200)]
Fix more errors when running tests in strict mode.

16 years agoAdd a text that gives some background on dependency injection and provides a few...
Gunnar Wrobel [Fri, 2 Oct 2009 13:41:12 +0000 (15:41 +0200)]
Add a text that gives some background on dependency injection and provides a few examples.

16 years agoSome example of how to use Horde_Injector.
Gunnar Wrobel [Fri, 2 Oct 2009 13:40:33 +0000 (15:40 +0200)]
Some example of how to use Horde_Injector.

16 years agoPhpdoc.
Gunnar Wrobel [Fri, 2 Oct 2009 13:40:09 +0000 (15:40 +0200)]
Phpdoc.

16 years agoFix more referencing problems for the strict tests.
Gunnar Wrobel [Fri, 2 Oct 2009 09:38:47 +0000 (11:38 +0200)]
Fix more referencing problems for the strict tests.

16 years agotest_framework now takes all PHPUnit command line arguments
Chuck Hagenbuch [Fri, 2 Oct 2009 03:00:54 +0000 (23:00 -0400)]
test_framework now takes all PHPUnit command line arguments

16 years agoinitialize $changes array
Chuck Hagenbuch [Fri, 2 Oct 2009 02:41:17 +0000 (22:41 -0400)]
initialize $changes array

16 years agoThere is no $new_info variable in this function - $info looks like the only alternative.
Chuck Hagenbuch [Fri, 2 Oct 2009 02:40:03 +0000 (22:40 -0400)]
There is no $new_info variable in this function - $info looks like the only alternative.

16 years agowhitespace
Chuck Hagenbuch [Fri, 2 Oct 2009 02:39:55 +0000 (22:39 -0400)]
whitespace

16 years agoremove more references
Chuck Hagenbuch [Fri, 2 Oct 2009 02:12:15 +0000 (22:12 -0400)]
remove more references

16 years agoAvoid "only variables should be passed by reference" warnings
Chuck Hagenbuch [Fri, 2 Oct 2009 02:11:37 +0000 (22:11 -0400)]
Avoid "only variables should be passed by reference" warnings

16 years agoRemove unnecessary references
Chuck Hagenbuch [Fri, 2 Oct 2009 00:59:09 +0000 (20:59 -0400)]
Remove unnecessary references

16 years agowhitespace
Chuck Hagenbuch [Fri, 2 Oct 2009 00:45:36 +0000 (20:45 -0400)]
whitespace

16 years agosplit() is deprecated; use explode()
Chuck Hagenbuch [Fri, 2 Oct 2009 00:45:17 +0000 (20:45 -0400)]
split() is deprecated; use explode()

16 years agoDon't throw notices if the log event doesn't have a field that the filter has a
Chuck Hagenbuch [Fri, 2 Oct 2009 00:42:43 +0000 (20:42 -0400)]
Don't throw notices if the log event doesn't have a field that the filter has a
constraint for.

16 years agoAvoid calling set_magic_quotes_runtime if magic_quotes_runtime wasn't on.
Chuck Hagenbuch [Fri, 2 Oct 2009 00:42:11 +0000 (20:42 -0400)]
Avoid calling set_magic_quotes_runtime if magic_quotes_runtime wasn't on.

16 years agoremove references that cause "only variables should assgned by reference" errors
Chuck Hagenbuch [Thu, 1 Oct 2009 22:36:12 +0000 (18:36 -0400)]
remove references that cause "only variables should assgned by reference" errors

16 years agofix variable name typo
Chuck Hagenbuch [Thu, 1 Oct 2009 20:38:55 +0000 (16:38 -0400)]
fix variable name typo

16 years agoActually, use the 'headers' option to add the headers, to make it
Michael J. Rubinsky [Fri, 2 Oct 2009 00:56:58 +0000 (20:56 -0400)]
Actually, use the 'headers' option to add the headers, to make it
clearer why they can't be set before setOptions()