horde.git
15 years agoBug #9431: Pass value into prefs_init hook
Michael M Slusarz [Wed, 8 Dec 2010 00:07:28 +0000 (17:07 -0700)]
Bug #9431: Pass value into prefs_init hook

Note, the function signature for prefs_init has changed.  You will need
to update your hooks.php file if currently using the prefs_init hook.

15 years agoTicket #9431: prefs_init hook given way to indicate original value should be used
Michael M Slusarz [Tue, 7 Dec 2010 23:59:26 +0000 (16:59 -0700)]
Ticket #9431: prefs_init hook given way to indicate original value should be used

15 years agoTweaks to improve ssh2 VFS performance
Ben Klang [Tue, 7 Dec 2010 22:16:26 +0000 (17:16 -0500)]
Tweaks to improve ssh2 VFS performance

15 years agoAdd user name of shared calendars as suffix. We sort by calendar name anyway.
Jan Schneider [Tue, 7 Dec 2010 20:25:30 +0000 (21:25 +0100)]
Add user name of shared calendars as suffix. We sort by calendar name anyway.

15 years agoReset search field if closing view.
Jan Schneider [Tue, 7 Dec 2010 17:19:36 +0000 (18:19 +0100)]
Reset search field if closing view.

15 years agoUpdate tests.
Jan Schneider [Tue, 7 Dec 2010 16:47:25 +0000 (17:47 +0100)]
Update tests.

15 years agoClean up exceptions and logging.
Michael J. Rubinsky [Tue, 7 Dec 2010 15:08:32 +0000 (10:08 -0500)]
Clean up exceptions and logging.

Inject Horde_Log_Logger, don't log exceptions from Horde_Db_Adapter
when running queries, since those would be logged by the adapter,
don't log queries in client code, it's logged by the adapter.

Partially relates to Bug: 9430

15 years agoExceptions should be logged at error level, not debug.
Michael J. Rubinsky [Tue, 7 Dec 2010 14:30:05 +0000 (09:30 -0500)]
Exceptions should be logged at error level, not debug.

Bug: 9430

15 years agoFix saving remote calendars.
Jan Schneider [Tue, 7 Dec 2010 15:07:54 +0000 (16:07 +0100)]
Fix saving remote calendars.

15 years agoUse templates when notifying about owner changes.
Jan Schneider [Tue, 7 Dec 2010 14:47:22 +0000 (15:47 +0100)]
Use templates when notifying about owner changes.

15 years agoFix setting headers.
Jan Schneider [Tue, 7 Dec 2010 14:46:47 +0000 (15:46 +0100)]
Fix setting headers.

15 years agoFix translation.
Jan Schneider [Tue, 7 Dec 2010 14:46:08 +0000 (15:46 +0100)]
Fix translation.

15 years agoFix various issues with changing the owner of a calendar or task list.
Jan Schneider [Tue, 7 Dec 2010 14:45:59 +0000 (15:45 +0100)]
Fix various issues with changing the owner of a calendar or task list.

15 years agoAdd Kronolith_Calendar#toHash() and Kronolith_Calendar_External_Tasks.
Jan Schneider [Tue, 7 Dec 2010 14:43:10 +0000 (15:43 +0100)]
Add Kronolith_Calendar#toHash() and Kronolith_Calendar_External_Tasks.

15 years agoFix hasPermission() call.
Jan Schneider [Tue, 7 Dec 2010 14:40:40 +0000 (15:40 +0100)]
Fix hasPermission() call.

15 years agoMark abstract methods.
Jan Schneider [Tue, 7 Dec 2010 14:34:03 +0000 (15:34 +0100)]
Mark abstract methods.

15 years agoFix typo
Michael M Slusarz [Tue, 7 Dec 2010 00:18:43 +0000 (17:18 -0700)]
Fix typo

15 years agoUpdate prototypejs to v1.7
Michael M Slusarz [Mon, 6 Dec 2010 21:28:15 +0000 (14:28 -0700)]
Update prototypejs to v1.7

15 years agoClean up event binding, use a catch-all click handler.
Michael J. Rubinsky [Mon, 6 Dec 2010 23:15:58 +0000 (18:15 -0500)]
Clean up event binding, use a catch-all click handler.

15 years agowork around jquery(mobile?) bug.
Michael J. Rubinsky [Mon, 6 Dec 2010 23:02:44 +0000 (18:02 -0500)]
work around jquery(mobile?) bug.

elt.parent() returns an empty array when there is no parent
(as would be the case when called on the activePage), use this to
determine when we can't move upwards anymore, and avoid javascript errors.

Also, remove unused variable.

15 years agoBetter way to deal with the requirement for events to be bound before jqm is loaded.
Michael J. Rubinsky [Mon, 6 Dec 2010 22:01:23 +0000 (17:01 -0500)]
Better way to deal with the requirement for events to be bound before jqm is loaded.

Mobile apps should implement an {app}_Application::mobileInitCallback() method that is
responsible for bringing in any additional javascript files and setting up event bindings
that must be done prior to jqm being initialized. At the minimum, this would include
a mobileinit handler to localize the Back and Loading text.

15 years agoFix driver when using session storage for prefs
Michael M Slusarz [Mon, 6 Dec 2010 21:10:11 +0000 (14:10 -0700)]
Fix driver when using session storage for prefs

15 years agoFix static creation in install_dev
Michael M Slusarz [Mon, 6 Dec 2010 20:03:05 +0000 (13:03 -0700)]
Fix static creation in install_dev

15 years agoinstall_dev now accepts command line arguments
Michael M Slusarz [Mon, 6 Dec 2010 19:58:28 +0000 (12:58 -0700)]
install_dev now accepts command line arguments

15 years agoProperly bind these events.
Michael J. Rubinsky [Mon, 6 Dec 2010 20:00:44 +0000 (15:00 -0500)]
Properly bind these events.

Certain events need to be bound _before_ jquery mobile initializes (mobileinit, page*, etc...)
otherwise, the event handlers won't run on first pageload. This means that we can't always use the global
common-header-mobile template for all apps.

15 years agoThis event needs to be bound _before_ jquery mobile is loaded or it never fires.
Michael J. Rubinsky [Mon, 6 Dec 2010 19:37:48 +0000 (14:37 -0500)]
This event needs to be  bound _before_ jquery mobile is loaded or it never fires.

15 years agorevert to using data-role="page" / data-theme="b" for event view.
Michael J. Rubinsky [Mon, 6 Dec 2010 18:35:48 +0000 (13:35 -0500)]
revert to using data-role="page" / data-theme="b" for event view.

Revert back to this for now, until issues with dialog views are resoloved.
In particular:

https://github.com/jquery/jquery-mobile/issues/#issue/506
https://github.com/jquery/jquery-mobile/issues/#issue/513

15 years agotypo? readd gettext output
Michael J. Rubinsky [Mon, 6 Dec 2010 18:27:25 +0000 (13:27 -0500)]
typo? readd gettext output

15 years agoKill some bugs:
Michael J. Rubinsky [Mon, 6 Dec 2010 18:18:56 +0000 (13:18 -0500)]
Kill some bugs:

* Keep track of defered calls individually by date/view/calendar hash
  (Fixes multiple defers from conflicting)
* Force creation of a closure to protectKronolithMobile.date from unintended changes
  (Fixes off by one day issue)

15 years agoFix problems with the Horde::errorHandler() call.
Gunnar Wrobel [Mon, 6 Dec 2010 07:48:39 +0000 (08:48 +0100)]
Fix problems with the Horde::errorHandler() call.

I currently get a fatal error whithin dynamic Imp (WSOD). Apparently
Horde::errorHandler() gets called during shutdown. The stack trace I
get from the error that Horde::errorHandler() tries to log looks like
this:

Stack trace:
#0 [internal function]: Horde::errorHandler('<!DOCTYPE html ...', 5)
#1 [internal function]: ob_gzhandler()
#2 {main}

While I still need to identify the source of this error I believe the
logMessage() method should always ensure it can actually log
something.

15 years agoHorde_Kolab will be removed in Horde4 so this is invalid.
Gunnar Wrobel [Mon, 6 Dec 2010 06:10:42 +0000 (07:10 +0100)]
Horde_Kolab will be removed in Horde4 so this is invalid.

Using "localhost" for now but this needs to be replaced with
the information from Kolab_Session later.

15 years agoFix transparent auth.
Gunnar Wrobel [Mon, 6 Dec 2010 05:39:05 +0000 (06:39 +0100)]
Fix transparent auth.

Setting to "null" here makes the isAuthenticated() check fail. Transparent
auth with Imp thus works once but fails on every subsequent check.

15 years agoMissed additional required dependencies.
Gunnar Wrobel [Mon, 6 Dec 2010 05:36:50 +0000 (06:36 +0100)]
Missed additional required dependencies.

15 years agoShow Gravatars for authors in the commit log partial
Chuck Hagenbuch [Mon, 6 Dec 2010 03:27:00 +0000 (22:27 -0500)]
Show Gravatars for authors in the commit log partial

15 years agoShow left/right revision at the top of each diff
Chuck Hagenbuch [Mon, 6 Dec 2010 01:21:38 +0000 (20:21 -0500)]
Show left/right revision at the top of each diff

15 years agoRequires the Imap_Client library.
Gunnar Wrobel [Sun, 5 Dec 2010 14:30:10 +0000 (15:30 +0100)]
Requires the Imap_Client library.

15 years agoTypo.
Gunnar Wrobel [Sun, 5 Dec 2010 14:29:52 +0000 (15:29 +0100)]
Typo.

15 years agoAdd line numbers to side-by-side diffs
Chuck Hagenbuch [Mon, 29 Nov 2010 02:39:57 +0000 (21:39 -0500)]
Add line numbers to side-by-side diffs

15 years agoMove dimp help text out of preview space
Michael M Slusarz [Fri, 3 Dec 2010 19:26:53 +0000 (12:26 -0700)]
Move dimp help text out of preview space

15 years agoimp INSTALL doc tweaks
Michael M Slusarz [Fri, 3 Dec 2010 18:41:11 +0000 (11:41 -0700)]
imp INSTALL doc tweaks

15 years agoFix function name.
Jan Schneider [Fri, 3 Dec 2010 18:23:47 +0000 (19:23 +0100)]
Fix function name.

15 years agoOnly try a json-encoded configuration if the env var content doesn't look like a...
Jan Schneider [Fri, 3 Dec 2010 17:40:24 +0000 (18:40 +0100)]
Only try a json-encoded configuration if the env var content doesn't look like a path.

15 years agoOutput errors from connection in all drivers. These usually are triggered by misconfi...
Jan Schneider [Fri, 3 Dec 2010 17:35:01 +0000 (18:35 +0100)]
Output errors from connection in all drivers. These usually are triggered by misconfigured test suites.

15 years agoFix old package name (Horde_Image -> Image)
Gunnar Wrobel [Fri, 3 Dec 2010 17:03:28 +0000 (18:03 +0100)]
Fix old package name (Horde_Image -> Image)

15 years agoForgot the Mime_Viewer dependency.
Gunnar Wrobel [Fri, 3 Dec 2010 16:17:31 +0000 (17:17 +0100)]
Forgot the Mime_Viewer dependency.

15 years agoGeneralize ignoring of */config/*.d/ configurations.
Gunnar Wrobel [Fri, 3 Dec 2010 15:14:16 +0000 (16:14 +0100)]
Generalize ignoring of */config/*.d/ configurations.

15 years agoAdd initial package.xml.
Gunnar Wrobel [Fri, 3 Dec 2010 15:11:15 +0000 (16:11 +0100)]
Add initial package.xml.

15 years agoThis can require VFS.
Gunnar Wrobel [Fri, 3 Dec 2010 15:10:57 +0000 (16:10 +0100)]
This can require VFS.

15 years agoRequire PHPUnit >= 3.5.0
Gunnar Wrobel [Fri, 3 Dec 2010 15:10:24 +0000 (16:10 +0100)]
Require PHPUnit >= 3.5.0

15 years agosimplify, always call clearView() from loadEvents(), fix scope
Michael J. Rubinsky [Fri, 3 Dec 2010 05:47:10 +0000 (00:47 -0500)]
simplify, always call clearView() from loadEvents(), fix scope

15 years agoOnly build the overview once. Still need to add lazy loading onscroll etc...
Michael J. Rubinsky [Fri, 3 Dec 2010 05:41:33 +0000 (00:41 -0500)]
Only build the overview once. Still need to add lazy loading onscroll etc...

15 years agoInitial go at a "overview" view, some other tweaks, simplifications, etc...
Michael J. Rubinsky [Fri, 3 Dec 2010 05:37:29 +0000 (00:37 -0500)]
Initial go at a "overview" view, some other tweaks, simplifications, etc...

For now, overview shows the upcoming 7 days of events.

15 years agoonly mark calendars as retrieved if _all_ the dates are cached
Michael J. Rubinsky [Thu, 2 Dec 2010 06:02:35 +0000 (01:02 -0500)]
only mark calendars as retrieved if _all_ the dates are cached

15 years agoRemove Horde::[get|check]RequestToken()
Michael M Slusarz [Thu, 2 Dec 2010 23:36:17 +0000 (16:36 -0700)]
Remove Horde::[get|check]RequestToken()

15 years agoFix Mime tests
Michael M Slusarz [Thu, 2 Dec 2010 23:05:18 +0000 (16:05 -0700)]
Fix Mime tests

15 years agoRevert "This should not be necessary and fails with PHPUnit <3.5.0."
Michael M Slusarz [Thu, 2 Dec 2010 23:04:24 +0000 (16:04 -0700)]
Revert "This should not be necessary and fails with PHPUnit <3.5.0."

This reverts commit 11178154ce626fbf64d1a533ac5dd42028af66bb.

This is necessary - or else I get:
Fatal error: Class 'PHPUnit_TextUI_TestRunner' not found[...]

15 years agoOnly set charset if it is not empty
Michael M Slusarz [Thu, 2 Dec 2010 20:37:05 +0000 (13:37 -0700)]
Only set charset if it is not empty

15 years agoStore headers internally in UTF-8
Michael M Slusarz [Wed, 1 Dec 2010 17:46:37 +0000 (10:46 -0700)]
Store headers internally in UTF-8

Charset conversion now occurs entirely within Horde_Mime_Headers.

15 years agoBuild multipart message when sending notifications about shared calendars.
Jan Schneider [Thu, 2 Dec 2010 18:27:33 +0000 (19:27 +0100)]
Build multipart message when sending notifications about shared calendars.

15 years agoCentralize generation of MIME messages.
Jan Schneider [Thu, 2 Dec 2010 18:25:32 +0000 (19:25 +0100)]
Centralize generation of MIME messages.

15 years agoAdd optional dependencies on Service_Twitter and Service_Facebook.
Gunnar Wrobel [Thu, 2 Dec 2010 05:58:09 +0000 (06:58 +0100)]
Add optional dependencies on Service_Twitter and Service_Facebook.

15 years agoHttp_Client -> Http
Gunnar Wrobel [Thu, 2 Dec 2010 05:57:46 +0000 (06:57 +0100)]
Http_Client -> Http

15 years agoThis is actually an optional dependency of Core, not horde.
Gunnar Wrobel [Thu, 2 Dec 2010 04:58:55 +0000 (05:58 +0100)]
This is actually an optional dependency of Core, not horde.

15 years agoDo not offer these blocks if there is no chance they'll work.
Gunnar Wrobel [Thu, 2 Dec 2010 04:58:35 +0000 (05:58 +0100)]
Do not offer these blocks if there is no chance they'll work.

15 years agoThe external feed block adds an optional dependency on Horde_Feed.
Gunnar Wrobel [Thu, 2 Dec 2010 04:02:29 +0000 (05:02 +0100)]
The external feed block adds an optional dependency on Horde_Feed.

15 years agofix variable name
Michael J. Rubinsky [Thu, 2 Dec 2010 03:49:22 +0000 (22:49 -0500)]
fix variable name

15 years agoRevert "Remove pass-by-reference."
Gunnar Wrobel [Thu, 2 Dec 2010 03:31:07 +0000 (04:31 +0100)]
Revert "Remove pass-by-reference."

This reverts commit 44a7dc1d72fee00f19765743d068b4c6f849b333.

15 years agoUpdate package.xml.
Gunnar Wrobel [Wed, 1 Dec 2010 21:08:39 +0000 (22:08 +0100)]
Update package.xml.

15 years agoAllow the drivers to rewrite the login credentials again.
Gunnar Wrobel [Wed, 1 Dec 2010 21:01:13 +0000 (22:01 +0100)]
Allow the drivers to rewrite the login credentials again.

15 years agoMust match signature of Horde_Auth_Ldap.
Gunnar Wrobel [Wed, 1 Dec 2010 21:00:31 +0000 (22:00 +0100)]
Must match signature of Horde_Auth_Ldap.

15 years agoConcatenate.
Gunnar Wrobel [Wed, 1 Dec 2010 21:00:08 +0000 (22:00 +0100)]
Concatenate.

15 years agoRemove pass-by-reference.
Gunnar Wrobel [Wed, 1 Dec 2010 20:59:51 +0000 (21:59 +0100)]
Remove pass-by-reference.

15 years agophpdoc
Gunnar Wrobel [Wed, 1 Dec 2010 20:41:41 +0000 (21:41 +0100)]
phpdoc

15 years agoReplace the Kolab tests with a simpler unit test.
Gunnar Wrobel [Wed, 1 Dec 2010 20:41:26 +0000 (21:41 +0100)]
Replace the Kolab tests with a simpler unit test.

15 years agoConvert the Horde_Auth_Passwd test to PHPUnit.
Gunnar Wrobel [Wed, 1 Dec 2010 20:17:25 +0000 (21:17 +0100)]
Convert the Horde_Auth_Passwd test to PHPUnit.

15 years agoConvert the getCryptedPassword test to PHPUnit.
Gunnar Wrobel [Wed, 1 Dec 2010 20:09:39 +0000 (21:09 +0100)]
Convert the getCryptedPassword test to PHPUnit.

15 years agoStart conversion to PHPUnit.
Gunnar Wrobel [Wed, 1 Dec 2010 16:03:05 +0000 (17:03 +0100)]
Start conversion to PHPUnit.

15 years agoFix paths.
Jan Schneider [Wed, 1 Dec 2010 17:52:52 +0000 (18:52 +0100)]
Fix paths.

15 years agoDon't add prototype.js manually.
Jan Schneider [Wed, 1 Dec 2010 17:52:36 +0000 (18:52 +0100)]
Don't add prototype.js manually.

15 years agoPass organizer to iTip view.
Jan Schneider [Wed, 1 Dec 2010 17:52:06 +0000 (18:52 +0100)]
Pass organizer to iTip view.

15 years agoFix script name.
Jan Schneider [Wed, 1 Dec 2010 17:51:45 +0000 (18:51 +0100)]
Fix script name.

15 years agoWiki code tag should default to shell script - now it displays nothing
Michael M Slusarz [Wed, 1 Dec 2010 17:28:21 +0000 (10:28 -0700)]
Wiki code tag should default to shell script - now it displays nothing

15 years agoFix icon names in syntaxhighlighter config
Michael M Slusarz [Wed, 1 Dec 2010 17:26:40 +0000 (10:26 -0700)]
Fix icon names in syntaxhighlighter config

Add 'sh' as shorthand for shell script

15 years agoAdd sh as alias for shell
Michael M Slusarz [Wed, 1 Dec 2010 17:26:32 +0000 (10:26 -0700)]
Add sh as alias for shell

15 years agoUpdate readme path
Michael M Slusarz [Wed, 1 Dec 2010 17:01:22 +0000 (10:01 -0700)]
Update readme path

15 years agoUpdate TODO.
Gunnar Wrobel [Wed, 1 Dec 2010 15:32:25 +0000 (16:32 +0100)]
Update TODO.

15 years agoFix packaging.
Gunnar Wrobel [Wed, 1 Dec 2010 15:32:15 +0000 (16:32 +0100)]
Fix packaging.

15 years agoExclude files in horde/config/*.d/
Gunnar Wrobel [Wed, 1 Dec 2010 15:31:54 +0000 (16:31 +0100)]
Exclude files in horde/config/*.d/

15 years agoComplete testing.
Gunnar Wrobel [Wed, 1 Dec 2010 15:12:57 +0000 (16:12 +0100)]
Complete testing.

15 years agoUpdate package.xml.
Gunnar Wrobel [Wed, 1 Dec 2010 14:25:17 +0000 (15:25 +0100)]
Update package.xml.

15 years agoAdd setUp and tearDown to avoid side effects. Remove useless test.
Gunnar Wrobel [Wed, 1 Dec 2010 14:18:16 +0000 (15:18 +0100)]
Add setUp and tearDown to avoid side effects. Remove useless test.

15 years agoRemove the use of Horde_Session and access the session directly. Simplify the factory.
Gunnar Wrobel [Wed, 1 Dec 2010 13:56:19 +0000 (14:56 +0100)]
Remove the use of Horde_Session and access the session directly. Simplify the factory.

15 years agoInitialize Token translations.
Jan Schneider [Wed, 1 Dec 2010 09:29:31 +0000 (10:29 +0100)]
Initialize Token translations.

15 years agoBug #9418: Header/Charset improvements/cleanups for IMP_Compose
Michael M Slusarz [Wed, 1 Dec 2010 09:05:52 +0000 (02:05 -0700)]
Bug #9418: Header/Charset improvements/cleanups for IMP_Compose

15 years agoFix resuming drafts in dimp
Michael M Slusarz [Wed, 1 Dec 2010 08:00:46 +0000 (01:00 -0700)]
Fix resuming drafts in dimp

15 years agoBug #9418: Honor chosen charset when saving drafts
Michael M Slusarz [Wed, 1 Dec 2010 07:55:27 +0000 (00:55 -0700)]
Bug #9418: Honor chosen charset when saving drafts

15 years agoMake it easier to grok horde log for PHP errors
Michael M Slusarz [Wed, 1 Dec 2010 06:40:07 +0000 (23:40 -0700)]
Make it easier to grok horde log for PHP errors

15 years ago'm' might not be set (vfolders)
Michael M Slusarz [Wed, 1 Dec 2010 06:38:35 +0000 (23:38 -0700)]
'm' might not be set (vfolders)

15 years agoAdd application/javascript MIME type to viewer config
Michael M Slusarz [Wed, 1 Dec 2010 06:26:35 +0000 (23:26 -0700)]
Add application/javascript MIME type to viewer config

Makes javascript viewing work in Chora again

15 years agoAdd link to file from commits page
Michael M Slusarz [Wed, 1 Dec 2010 06:22:04 +0000 (23:22 -0700)]
Add link to file from commits page