horde.git
16 years agoFigured out why I was getting errors; include PHPUnit/Framework.php
Chuck Hagenbuch [Tue, 29 Sep 2009 13:27:05 +0000 (09:27 -0400)]
Figured out why I was getting errors; include PHPUnit/Framework.php

16 years agoFix paths to KolabScenarioTest.php and KolabTest.php
Matt Selsky [Tue, 29 Sep 2009 08:00:59 +0000 (04:00 -0400)]
Fix paths to KolabScenarioTest.php and KolabTest.php

16 years agoAdd a test suite to Horde_History. It does the db testing based on
Gunnar Wrobel [Tue, 29 Sep 2009 05:53:12 +0000 (07:53 +0200)]
Add a test suite to Horde_History. It does the db testing based on
sqlite which is suboptimal but I want a decent code coverage before
working on the package.

I will add a mock driver now and at a later timepoint there might be a
Kolab specific driver.

Once the mock driver is available the db testing will be turned off.

16 years agoTweak ZIP display a bit
Michael M Slusarz [Mon, 28 Sep 2009 05:40:19 +0000 (23:40 -0600)]
Tweak ZIP display a bit

16 years agouse class constants here as well
Michael J. Rubinsky [Mon, 28 Sep 2009 20:29:17 +0000 (16:29 -0400)]
use class constants here as well

16 years agoUse exceptions from Horde_Lock
Michael J. Rubinsky [Mon, 28 Sep 2009 20:20:56 +0000 (16:20 -0400)]
Use exceptions from Horde_Lock

16 years agoUse Exceptions
Michael J. Rubinsky [Mon, 28 Sep 2009 20:08:07 +0000 (16:08 -0400)]
Use Exceptions

16 years agoFix classname in unit tests. Please run these when changing the Db package!
Chuck Hagenbuch [Mon, 28 Sep 2009 19:20:08 +0000 (15:20 -0400)]
Fix classname in unit tests. Please run these when changing the Db package!

16 years agoRework the Constraint filter to take a coupler (an And constraint or an Or
Chuck Hagenbuch [Mon, 28 Sep 2009 18:54:06 +0000 (14:54 -0400)]
Rework the Constraint filter to take a coupler (an And constraint or an Or
constraint) as the default when adding multiple constraints to a field.

16 years agoRename Horde_Constraint_Compound to Horde_Constraint_Coupler
Chuck Hagenbuch [Mon, 28 Sep 2009 18:46:19 +0000 (14:46 -0400)]
Rename Horde_Constraint_Compound to Horde_Constraint_Coupler

16 years agoremove bad method declaration
Chuck Hagenbuch [Mon, 28 Sep 2009 18:33:43 +0000 (14:33 -0400)]
remove bad method declaration

16 years agoRevert "add constraint coupler to separate object creation from logic classes"
Chuck Hagenbuch [Mon, 28 Sep 2009 18:28:42 +0000 (14:28 -0400)]
Revert "add constraint coupler to separate object creation from logic classes"

This reverts commit 360abb926cba981e5aa2eba66129a7815004ef1a.

16 years agoUse addConstraint() in the compound constraint constructor
Chuck Hagenbuch [Mon, 28 Sep 2009 18:26:43 +0000 (14:26 -0400)]
Use addConstraint() in the compound constraint constructor
Collapse compound constraints of the same type

16 years agoAdd Horde_Lock to git.
Michael J. Rubinsky [Mon, 28 Sep 2009 17:56:29 +0000 (13:56 -0400)]
Add Horde_Lock to git.

16 years agoSet the include_path to include the default lib/ directory when running tests
Chuck Hagenbuch [Mon, 28 Sep 2009 15:54:23 +0000 (11:54 -0400)]
Set the include_path to include the default lib/ directory when running tests

16 years agoChange test helper method name to avoid conflicts with PHPUnit's throwException method
Chuck Hagenbuch [Mon, 28 Sep 2009 15:44:03 +0000 (11:44 -0400)]
Change test helper method name to avoid conflicts with PHPUnit's throwException method

16 years agoRemove references (&) that throw E_DEPRECATED errors
Chuck Hagenbuch [Mon, 28 Sep 2009 15:40:44 +0000 (11:40 -0400)]
Remove references (&) that throw E_DEPRECATED errors

16 years agoFix tests.
Jan Schneider [Fri, 25 Sep 2009 16:17:24 +0000 (18:17 +0200)]
Fix tests.

16 years agoAllow to load test suite dependencies from test suites in other packages. In addition...
Gunnar Wrobel [Mon, 28 Sep 2009 09:18:58 +0000 (11:18 +0200)]
Allow to load test suite dependencies from test suites in other packages. In addition fix the test suites so that they can be loaded again. The tests themselves still need some cleanup.

16 years agoWe should only be matching url:script inside of HTML tags
Michael M Slusarz [Mon, 28 Sep 2009 05:10:54 +0000 (23:10 -0600)]
We should only be matching url:script inside of HTML tags

Ticket #8592

16 years agoFix path.
Michael M Slusarz [Mon, 28 Sep 2009 05:10:44 +0000 (23:10 -0600)]
Fix path.

16 years agoOnly deal with base tags when viewing inline
Michael M Slusarz [Mon, 28 Sep 2009 04:17:00 +0000 (22:17 -0600)]
Only deal with base tags when viewing inline

16 years agoDon't strip style attributes if not viewing inline
Michael M Slusarz [Sun, 27 Sep 2009 17:44:58 +0000 (11:44 -0600)]
Don't strip style attributes if not viewing inline

16 years agoAdd the headers array to the Curl request
Michael J. Rubinsky [Sun, 27 Sep 2009 17:11:30 +0000 (13:11 -0400)]
Add the headers array to the Curl request

16 years agofix Curl requests defaulting to POST instead of GET (and otherwise ignoring the
Chuck Hagenbuch [Sun, 27 Sep 2009 16:25:10 +0000 (12:25 -0400)]
fix Curl requests defaulting to POST instead of GET (and otherwise ignoring the
request method)

16 years agoMove automatic request object generation to a factory method
Chuck Hagenbuch [Sun, 27 Sep 2009 16:24:20 +0000 (12:24 -0400)]
Move automatic request object generation to a factory method

16 years agoadd constraint coupler to separate object creation from logic classes
James Pepin [Sun, 27 Sep 2009 02:30:14 +0000 (22:30 -0400)]
add constraint coupler to separate object creation from logic classes

16 years agoreturn $this from add* methods to allow method chaining
James Pepin [Sun, 27 Sep 2009 01:29:14 +0000 (21:29 -0400)]
return $this from add* methods to allow method chaining

16 years agoAdd a Constraint-based log filter
Chuck Hagenbuch [Sat, 26 Sep 2009 03:39:17 +0000 (23:39 -0400)]
Add a Constraint-based log filter

16 years agoadd new Horde_Constraint package for building up constraint sets
Chuck Hagenbuch [Sat, 26 Sep 2009 03:15:35 +0000 (23:15 -0400)]
add new Horde_Constraint package for building up constraint sets

16 years agoautoload PHPUnit classes
Chuck Hagenbuch [Sat, 26 Sep 2009 03:39:57 +0000 (23:39 -0400)]
autoload PHPUnit classes

16 years agoFix .gitignore to only ignore lib/ and libs/ directories, and only the top-level...
Chuck Hagenbuch [Fri, 25 Sep 2009 20:15:21 +0000 (16:15 -0400)]
Fix .gitignore to only ignore lib/ and libs/ directories, and only the top-level ones.

16 years agoFirst attempt at optional caching of Horde_Routes generated mappings (Request #8563).
Chuck Hagenbuch [Fri, 25 Sep 2009 20:07:52 +0000 (16:07 -0400)]
First attempt at optional caching of Horde_Routes generated mappings (Request #8563).

16 years agouse bin/ as a consistent dir name
Chuck Hagenbuch [Fri, 25 Sep 2009 20:07:24 +0000 (16:07 -0400)]
use bin/ as a consistent dir name

16 years agomake this a working phpunit test
Chuck Hagenbuch [Fri, 25 Sep 2009 17:50:32 +0000 (13:50 -0400)]
make this a working phpunit test

16 years agoautoload phpunit classes
Chuck Hagenbuch [Fri, 25 Sep 2009 17:50:22 +0000 (13:50 -0400)]
autoload phpunit classes

16 years agoUse include_once in these autoload stub functions for safety.
Chuck Hagenbuch [Fri, 25 Sep 2009 17:31:03 +0000 (13:31 -0400)]
Use include_once in these autoload stub functions for safety.

16 years agotweak hasLevel() and use it in addLevel()
Chuck Hagenbuch [Fri, 25 Sep 2009 17:12:07 +0000 (13:12 -0400)]
tweak hasLevel() and use it in addLevel()

16 years agoMove phishing highlighting CSS into driver (needed since output might be in an IFRAME...
Michael M Slusarz [Fri, 25 Sep 2009 17:10:08 +0000 (11:10 -0600)]
Move phishing highlighting CSS into driver (needed since output might be in an IFRAME; Add 'phishing' parameter

16 years agoMake arguments optional (Bug #8601).
Jan Schneider [Fri, 25 Sep 2009 14:18:50 +0000 (16:18 +0200)]
Make arguments optional (Bug #8601).

16 years agoWe might have a connection already, use the parent method.
Jan Schneider [Fri, 25 Sep 2009 14:11:52 +0000 (16:11 +0200)]
We might have a connection already, use the parent method.

16 years agoUse the more complete toString() output if available.
Jan Schneider [Mon, 21 Sep 2009 12:43:19 +0000 (14:43 +0200)]
Use the more complete toString() output if available.

16 years agoFix retrieving languages.
Jan Schneider [Thu, 17 Sep 2009 12:03:25 +0000 (14:03 +0200)]
Fix retrieving languages.

16 years agoMFB: 1.22.10.20
Matt Selsky [Fri, 25 Sep 2009 08:05:30 +0000 (04:05 -0400)]
MFB: 1.22.10.20

Fix SQL syntax.

Bug: 8600
Submitted by: moreda@allenta.com

16 years agofix for bug where magic bind method would not work if binder class had dependencies.
Bob McKee [Thu, 24 Sep 2009 20:09:03 +0000 (16:09 -0400)]
fix for bug where magic bind method would not work if binder class had dependencies.

16 years agoadd hasLevel() for checking for an existing log level
Chuck Hagenbuch [Thu, 24 Sep 2009 15:06:49 +0000 (11:06 -0400)]
add hasLevel() for checking for an existing log level

16 years agoConvert the package and the testsuite to using Horde_Injector.
Gunnar Wrobel [Thu, 24 Sep 2009 08:01:51 +0000 (10:01 +0200)]
Convert the package and the testsuite to using Horde_Injector.

16 years agofirst shot at moving build tools into the git framework.
Chuck Hagenbuch [Thu, 24 Sep 2009 02:54:06 +0000 (22:54 -0400)]
first shot at moving build tools into the git framework.

I intend to make these consistent across horde and horde-hatchery, so that
people don't need to pull CVS just to symlink a framework setup. Naming and
organizational suggestions are welcome. This also renames a few scripts, makes
lib/ the default (instead of libs/) for H4, and standardizes the test runner as
a script instead of a weird psuedo-class.

16 years ago- Move some random environment modification functionality out of the request
Chuck Hagenbuch [Wed, 23 Sep 2009 21:47:37 +0000 (17:47 -0400)]
- Move some random environment modification functionality out of the request
  base class
- Remove random unused locale code from the controller base class
- Various tweaks to the base request/response objects
- Add some tweaks to the Cli request/response objects for easier CLI handling

16 years agoAdd a method for getting an SplFileObject pointing to a Horde_Support_StringStream
Chuck Hagenbuch [Wed, 23 Sep 2009 20:32:07 +0000 (16:32 -0400)]
Add a method for getting an SplFileObject pointing to a Horde_Support_StringStream

16 years agoFix ZIP constant names.
Matt Selsky [Wed, 23 Sep 2009 08:13:20 +0000 (04:13 -0400)]
Fix ZIP constant names.

16 years agoSplit phishing detection in separate functions
Michael M Slusarz [Wed, 23 Sep 2009 04:56:50 +0000 (22:56 -0600)]
Split phishing detection in separate functions

16 years agoRevert to older, more colorful, non-line-chopping PHP highlighting
Chuck Hagenbuch [Tue, 22 Sep 2009 21:31:07 +0000 (17:31 -0400)]
Revert to older, more colorful, non-line-chopping PHP highlighting

16 years agoBug #8596: Horde 4 updates
Michael M Slusarz [Tue, 22 Sep 2009 17:00:02 +0000 (11:00 -0600)]
Bug #8596: Horde 4 updates

16 years agoAdd the real maintainers now that they have dev accounts.
Chuck Hagenbuch [Mon, 21 Sep 2009 18:23:28 +0000 (14:23 -0400)]
Add the real maintainers now that they have dev accounts.

16 years agoOne more typo
Chuck Hagenbuch [Mon, 21 Sep 2009 13:34:28 +0000 (09:34 -0400)]
One more typo

16 years agotypos
Gunnar Wrobel [Mon, 21 Sep 2009 10:06:50 +0000 (12:06 +0200)]
typos

16 years agoremove static-only Horde_Db class (should replace with dependency injection)
Chuck Hagenbuch [Mon, 21 Sep 2009 04:12:39 +0000 (00:12 -0400)]
remove static-only Horde_Db class (should replace with dependency injection)

16 years agofix path
Chuck Hagenbuch [Mon, 21 Sep 2009 04:11:48 +0000 (00:11 -0400)]
fix path

16 years agomore repeatable autoload setup for tests
Chuck Hagenbuch [Mon, 21 Sep 2009 04:11:37 +0000 (00:11 -0400)]
more repeatable autoload setup for tests

16 years agoInitial Horde_Injector dependency injection container, contributed by Blue State...
Chuck Hagenbuch [Mon, 21 Sep 2009 04:08:45 +0000 (00:08 -0400)]
Initial Horde_Injector dependency injection container, contributed by Blue State Digital.

16 years agoshorthand for mocking a class with a private constructor
Chuck Hagenbuch [Mon, 21 Sep 2009 03:42:51 +0000 (23:42 -0400)]
shorthand for mocking a class with a private constructor

16 years agoRestructure for DI.
Gunnar Wrobel [Sun, 20 Sep 2009 11:40:40 +0000 (13:40 +0200)]
Restructure for DI.

16 years agoFix OR IMAP searches
Michael M Slusarz [Thu, 17 Sep 2009 21:08:25 +0000 (15:08 -0600)]
Fix OR IMAP searches

16 years agoRemove the multiple-response functionality from mock requests. Instead, we
Chuck Hagenbuch [Thu, 17 Sep 2009 19:33:41 +0000 (15:33 -0400)]
Remove the multiple-response functionality from mock requests. Instead, we
should use multiple paired mock request/response pairs.

16 years agoAdd workaround for WITHIN search extension for servers which don't support it
Michael M Slusarz [Wed, 16 Sep 2009 17:31:51 +0000 (11:31 -0600)]
Add workaround for WITHIN search extension for servers which don't support it

16 years agoUpdate some RFC references
Michael M Slusarz [Wed, 16 Sep 2009 17:31:20 +0000 (11:31 -0600)]
Update some RFC references

16 years agoSwitch to Horde_Provider and start restructuring the driver part.
Gunnar Wrobel [Wed, 16 Sep 2009 13:12:18 +0000 (15:12 +0200)]
Switch to Horde_Provider and start restructuring the driver part.

16 years agoPHP doesn't like compex assignments to constants
Michael M Slusarz [Wed, 16 Sep 2009 04:06:59 +0000 (22:06 -0600)]
PHP doesn't like compex assignments to constants

16 years agoFix docs
Michael M Slusarz [Tue, 15 Sep 2009 02:01:57 +0000 (20:01 -0600)]
Fix docs

16 years agoMFB: Try a few optimizations.
Jan Schneider [Tue, 15 Sep 2009 21:04:58 +0000 (23:04 +0200)]
MFB: Try a few optimizations.

16 years agoBasic skeleton for Sabre backends. Not sure if those should go under the Sabre/ or...
Jan Schneider [Tue, 15 Sep 2009 12:55:04 +0000 (14:55 +0200)]
Basic skeleton for Sabre backends. Not sure if those should go under the Sabre/ or the Horde/ namespace.

16 years agoPlural.
Jan Schneider [Mon, 14 Sep 2009 17:14:54 +0000 (19:14 +0200)]
Plural.

16 years agoMerge branch 'http-client-adapters'
Chuck Hagenbuch [Tue, 15 Sep 2009 03:41:03 +0000 (23:41 -0400)]
Merge branch 'http-client-adapters'

16 years agoadd Horde_Support as a dependency
Chuck Hagenbuch [Tue, 15 Sep 2009 03:40:21 +0000 (23:40 -0400)]
add Horde_Support as a dependency

16 years agomake Stream_Wrapper a required dependency since StringWrapper won't work without it
Chuck Hagenbuch [Tue, 15 Sep 2009 03:40:03 +0000 (23:40 -0400)]
make Stream_Wrapper a required dependency since StringWrapper won't work without it

16 years agopecl_http, cURL, and fopen requests all work for the basics now
Chuck Hagenbuch [Tue, 15 Sep 2009 03:38:30 +0000 (23:38 -0400)]
pecl_http, cURL, and fopen requests all work for the basics now

16 years agousing streams with curl is broken in PHP 5.3.0
Chuck Hagenbuch [Tue, 15 Sep 2009 02:48:14 +0000 (22:48 -0400)]
using streams with curl is broken in PHP 5.3.0

16 years agoinclude the abstract send() method
Chuck Hagenbuch [Tue, 15 Sep 2009 02:47:41 +0000 (22:47 -0400)]
include the abstract send() method

16 years agonew usage pattern for requests
Chuck Hagenbuch [Tue, 15 Sep 2009 02:47:18 +0000 (22:47 -0400)]
new usage pattern for requests

16 years agostart adding response objects
Chuck Hagenbuch [Tue, 15 Sep 2009 02:47:00 +0000 (22:47 -0400)]
start adding response objects

16 years agoAdd Horde_Support_StringStream and the supporting Horde_Stream_Wrapper_String class
Chuck Hagenbuch [Tue, 15 Sep 2009 02:45:27 +0000 (22:45 -0400)]
Add Horde_Support_StringStream and the supporting Horde_Stream_Wrapper_String class

Provides a way to treat a string variable as a stream without duplicating it or
using global scope.

16 years agoNeed to change the variable name here too
Michael J. Rubinsky [Mon, 14 Sep 2009 15:46:23 +0000 (11:46 -0400)]
Need to change the variable name here too

16 years agoDon't overwrite the array of $links we obtain from freshmeat in this loop.
Michael J. Rubinsky [Mon, 14 Sep 2009 15:39:58 +0000 (11:39 -0400)]
Don't overwrite the array of $links we obtain from freshmeat in this loop.

16 years agoCatch 201 and empty urls response when creating urls.
Jan Schneider [Mon, 14 Sep 2009 13:08:17 +0000 (15:08 +0200)]
Catch 201 and empty urls response when creating urls.

16 years agoFix variable typo.
Jan Schneider [Mon, 14 Sep 2009 13:00:34 +0000 (15:00 +0200)]
Fix variable typo.

16 years agoFix json structure when updating urls.
Jan Schneider [Mon, 14 Sep 2009 12:51:46 +0000 (14:51 +0200)]
Fix json structure when updating urls.
Add urls if they don't exist.

16 years agoAvoid fatal error.
Jan Schneider [Mon, 14 Sep 2009 12:10:20 +0000 (14:10 +0200)]
Avoid fatal error.

16 years agoUntil we have a working HTTP client that doesn't consider 201 as an error
Jan Schneider [Mon, 14 Sep 2009 10:45:15 +0000 (12:45 +0200)]
Until we have a working HTTP client that doesn't consider 201 as an error
response, work around it.

16 years agoConvert 'horde' even if only searching for the queue id.
Jan Schneider [Mon, 14 Sep 2009 10:38:36 +0000 (12:38 +0200)]
Convert 'horde' even if only searching for the queue id.

16 years agoThis got to be a post.
Jan Schneider [Mon, 14 Sep 2009 10:25:38 +0000 (12:25 +0200)]
This got to be a post.

16 years agoFix Rpc calls.
Jan Schneider [Mon, 14 Sep 2009 08:10:12 +0000 (10:10 +0200)]
Fix Rpc calls.

16 years agoFix constant usage.
Jan Schneider [Mon, 14 Sep 2009 08:00:15 +0000 (10:00 +0200)]
Fix constant usage.

16 years agoFix casing and detection of security releases.
Jan Schneider [Mon, 14 Sep 2009 07:53:28 +0000 (09:53 +0200)]
Fix casing and detection of security releases.

16 years agoThe function getAllParams() does not exist for request objects. I
Gunnar Wrobel [Fri, 11 Sep 2009 20:37:44 +0000 (22:37 +0200)]
The function getAllParams() does not exist for request objects. I
can't find a reference in CVS where this method name has been changed
but I assume it is meant to be getParameters().

16 years agoFix escaping title (tooltip) text
Michael M Slusarz [Tue, 8 Sep 2009 21:55:03 +0000 (15:55 -0600)]
Fix escaping title (tooltip) text

16 years agoRevert "The encode filter doesn't use this parameter (it probably should)"
Michael M Slusarz [Tue, 8 Sep 2009 21:32:36 +0000 (15:32 -0600)]
Revert "The encode filter doesn't use this parameter (it probably should)"

This reverts commit 6fea0fc8cd5aebbde1e28a3775242ee913a90a34.

According to Jan, PHP really does use this param even though it is not
documented.

16 years agoFix the routing for the required actions.
Gunnar Wrobel [Fri, 11 Sep 2009 15:49:49 +0000 (17:49 +0200)]
Fix the routing for the required actions.

16 years agoStarted converting the Kolab Free/Busy application into a Horde MVC
Gunnar Wrobel [Fri, 11 Sep 2009 09:50:16 +0000 (11:50 +0200)]
Started converting the Kolab Free/Busy application into a Horde MVC
based webapp. Also began to remove the use of singletons in order to
facilitate unit testing the system. Horde_Kolab_FreeBusy now serves as
Registry/ServiceLocator to the various services required.

16 years agoadd an initial Horde_View_Json object that takes the variables assigned to it and...
Chuck Hagenbuch [Thu, 10 Sep 2009 03:24:47 +0000 (23:24 -0400)]
add an initial Horde_View_Json object that takes the variables assigned to it and returns a JSON object when rendered