horde.git
14 years agoSimple CLI test.
Gunnar Wrobel [Fri, 10 Dec 2010 05:17:44 +0000 (06:17 +0100)]
Simple CLI test.

14 years agoAdd a phpunit config file to include files for code coverage.
Gunnar Wrobel [Fri, 10 Dec 2010 05:03:57 +0000 (06:03 +0100)]
Add a phpunit config file to include files for code coverage.

14 years agoStart collecting stubs of general use in the Horde_Test package.
Gunnar Wrobel [Fri, 10 Dec 2010 05:02:16 +0000 (06:02 +0100)]
Start collecting stubs of general use in the Horde_Test package.

Added test stubs for testing command line tools (Argv, Cli). Both
classes tend to exit unconditionally in certain situations. The stubs
disable this.

14 years agoAdd optional Cli package. Add checks for optional packages.
Gunnar Wrobel [Fri, 10 Dec 2010 04:39:54 +0000 (05:39 +0100)]
Add optional Cli package. Add checks for optional packages.

14 years agoJust a rough test version of a timing utility.
Gunnar Wrobel [Thu, 9 Dec 2010 16:42:09 +0000 (17:42 +0100)]
Just a rough test version of a timing utility.

14 years agoAdd version tag to Horde_Kolab_Format. Add kolab-format script.
Gunnar Wrobel [Thu, 9 Dec 2010 10:33:05 +0000 (11:33 +0100)]
Add version tag to Horde_Kolab_Format. Add kolab-format script.

14 years agoTest the timing decorator.
Gunnar Wrobel [Thu, 9 Dec 2010 10:04:24 +0000 (11:04 +0100)]
Test the timing decorator.

14 years agoChange factory handling.
Gunnar Wrobel [Thu, 9 Dec 2010 10:02:52 +0000 (11:02 +0100)]
Change factory handling.

14 years agophpdoc
Gunnar Wrobel [Thu, 9 Dec 2010 10:02:18 +0000 (11:02 +0100)]
phpdoc

14 years agoExtract the factory and convert Horde_Kolab_Format to an interface.
Gunnar Wrobel [Thu, 9 Dec 2010 08:11:40 +0000 (09:11 +0100)]
Extract the factory and convert Horde_Kolab_Format to an interface.

14 years agoNote additional dependencies we currently have. This needs cleanup. Mark next version...
Gunnar Wrobel [Thu, 9 Dec 2010 07:32:41 +0000 (08:32 +0100)]
Note additional dependencies we currently have. This needs cleanup. Mark next version as 1.1.0.

14 years agoTODO items.
Gunnar Wrobel [Thu, 9 Dec 2010 07:31:31 +0000 (08:31 +0100)]
TODO items.

14 years agoAdd factory test.
Gunnar Wrobel [Thu, 9 Dec 2010 04:57:53 +0000 (05:57 +0100)]
Add factory test.

14 years agoFix dragdrop2
Michael M Slusarz [Fri, 10 Dec 2010 20:18:12 +0000 (13:18 -0700)]
Fix dragdrop2

Dragdrop was broken by addition of snapToParent in several ways, most
notably positioning of ghost/captions in scrollable parents.

Additionally, snapToParent incorrectly assumed that parent element would
not change - if given method in config, parent element should be
redetermined every time a drag is initiated.

snapToParent is really nothing more than a specialized case of the base
viewport handling. Rewrite to handle all positioning internally as an
absolute offset from the current cursor position. This means that
positioning is no longer reliant on the parent element and is instead
determined relative to the viewport itself, which makes things much
clearer in the code.

This means we no longer have to insert the ghosted element in the same
parent as the original element.  This is fantastic news because it means
that formatting of the ghost drag element is now completely independent
of the original element (e.g. in imp, there were some certain elements
of the original folder element we DON'T want copied over to the ghosted
element; CSS makes it trivial to duplicate the old behavior).

Optimize dragging with caption by caching positoning data until caption
text changes.

parentElement is duplicative of snapToParent option - snapToParent now
takes either a boolean or function as an argument

14 years agoNeed to check for blob_fields when returning search results too.
Michael J. Rubinsky [Sun, 12 Dec 2010 03:26:15 +0000 (22:26 -0500)]
Need to check for blob_fields when returning search results too.

Fixes activesync not being able to display contact photos sent from server.

14 years agotweak phpdoc
Michael J. Rubinsky [Sun, 12 Dec 2010 03:25:50 +0000 (22:25 -0500)]
tweak phpdoc

14 years agoexpire the listCache when a share is saved, or parent is changed.
Michael J. Rubinsky [Sun, 12 Dec 2010 00:20:01 +0000 (19:20 -0500)]
expire the listCache when a share is saved, or parent is changed.

14 years agoDo away with the ignorePerms parameter, just pass null for perms instead
Michael J. Rubinsky [Sun, 12 Dec 2010 00:18:58 +0000 (19:18 -0500)]
Do away with the ignorePerms parameter, just pass null for perms instead

14 years agofix object name
Michael J. Rubinsky [Sat, 11 Dec 2010 23:40:39 +0000 (18:40 -0500)]
fix object name

14 years agoFix scope
Michael J. Rubinsky [Sat, 11 Dec 2010 23:32:59 +0000 (18:32 -0500)]
Fix scope

14 years agoone more css tweak for twitter client.
Michael J. Rubinsky [Sat, 11 Dec 2010 02:06:34 +0000 (21:06 -0500)]
one more css tweak for twitter client.

Fixes (finally) layout issue when sending a tweet/retweet

14 years agochange classname of tab when new tweets arrive and the tab is not active, other tweaks.
Michael J. Rubinsky [Sat, 11 Dec 2010 01:52:20 +0000 (20:52 -0500)]
change classname of tab when new tweets arrive and the tab is not active, other tweaks.

14 years agoOne last ditch effort to get a good email address for looking up gravatars.
Michael J. Rubinsky [Fri, 10 Dec 2010 20:35:23 +0000 (15:35 -0500)]
One last ditch effort to get a good email address for looking up gravatars.

At least in the case of git, the email address returned isn't properly quoted
so parseAddressList() fails.

14 years agoVilma is BSD.
Jan Schneider [Fri, 10 Dec 2010 18:11:33 +0000 (19:11 +0100)]
Vilma is BSD.

14 years agoHorde_Session#unset() doesn't exist.
Jan Schneider [Fri, 10 Dec 2010 18:04:01 +0000 (19:04 +0100)]
Horde_Session#unset() doesn't exist.

14 years agobuild the same structure from js that we do in the ajax response.
Michael J. Rubinsky [Fri, 10 Dec 2010 17:41:54 +0000 (12:41 -0500)]
build the same structure from js that we do in the ajax response.

Finally fixes the annoying layout bug when tweeting/retweeting

14 years agoPHP5/H4-ify
Jan Schneider [Fri, 10 Dec 2010 17:32:25 +0000 (18:32 +0100)]
PHP5/H4-ify

14 years agoMFB
Jan Schneider [Thu, 9 Dec 2010 21:55:52 +0000 (22:55 +0100)]
MFB

14 years agoMFB
Jan Schneider [Thu, 9 Dec 2010 15:44:51 +0000 (16:44 +0100)]
MFB

14 years agoUse twitter's new id_str field from the JSON response.
Michael J. Rubinsky [Fri, 10 Dec 2010 17:25:02 +0000 (12:25 -0500)]
Use twitter's new id_str field from the JSON response.

Required since twitter moved to their "SnowFlake" id generator -
which produces 64bit unsigned integers.

14 years agoBug #9441: *Vastly* simplify dragdrop ghost positioning
Michael M Slusarz [Fri, 10 Dec 2010 17:07:24 +0000 (10:07 -0700)]
Bug #9441: *Vastly* simplify dragdrop ghost positioning

Not sure if I am missing something completely obvious, but there appears
to be no reason why we shouldn't be using clonePosition() to set the
initial position of the ghosted object.

14 years agoReadd periodExecuter for mentions tab
Michael J. Rubinsky [Fri, 10 Dec 2010 16:37:15 +0000 (11:37 -0500)]
Readd periodExecuter for mentions tab

14 years agoTweak @mentions implementation for the twitter client:
Michael J. Rubinsky [Fri, 10 Dec 2010 16:35:10 +0000 (11:35 -0500)]
Tweak @mentions implementation for the twitter client:

Add css for mentions and stream tabs
Implement fetching older mentions

14 years agoDon't include the horde css files when adding app specific files to the portal.
Michael J. Rubinsky [Fri, 10 Dec 2010 16:11:07 +0000 (11:11 -0500)]
Don't include the horde css files when adding app specific files to the portal.

This leads to the files being included multiple times.

14 years agotypo, spacing
Michael J. Rubinsky [Fri, 10 Dec 2010 14:22:11 +0000 (09:22 -0500)]
typo, spacing

15 years agoBug #9431: Fix infinite loop when prefs_init hook function recursively accessed the...
Michael M Slusarz [Thu, 9 Dec 2010 21:53:01 +0000 (14:53 -0700)]
Bug #9431: Fix infinite loop when prefs_init hook function recursively accessed the prefs object

15 years agoClean up prefs_init hook examples - make sure username is null if no authenticated...
Michael M Slusarz [Thu, 9 Dec 2010 21:39:14 +0000 (14:39 -0700)]
Clean up prefs_init hook examples - make sure username is null if no authenticated user

15 years agoBug #9441: Ghosted element may occur inside of scrollable element
Michael M Slusarz [Thu, 9 Dec 2010 19:34:44 +0000 (12:34 -0700)]
Bug #9441: Ghosted element may occur inside of scrollable element

15 years agoBug #9433: Fix updating unseen count when emptying mailbox
Michael M Slusarz [Thu, 9 Dec 2010 19:20:59 +0000 (12:20 -0700)]
Bug #9433: Fix updating unseen count when emptying mailbox

15 years agoBug #9440: tree object was never created in this method
Michael M Slusarz [Thu, 9 Dec 2010 18:27:26 +0000 (11:27 -0700)]
Bug #9440: tree object was never created in this method

15 years agoDon't need - screws up conversions of some doctypes also
Michael M Slusarz [Thu, 9 Dec 2010 00:31:05 +0000 (17:31 -0700)]
Don't need - screws up conversions of some doctypes also

15 years agoBug #9438: Be less restrictive about the input to Horde_Secret::read/write()
Gunnar Wrobel [Thu, 9 Dec 2010 17:01:48 +0000 (18:01 +0100)]
Bug #9438: Be less restrictive about the input to Horde_Secret::read/write()

I originally assumed that it makes sense to pull the is_string() check
from Crypt_Blowfish into Horde_Secret (as Crypt_Blowfish would die on
anything not a string). I overlooked however that we had a strlen()
check before delegating to Crypt_Blowfish. As strlen(null) or
strlen(false) is int(0) both can be passed into
Horde_Secret::read/write() without causing problems.

Type casting the input into a string instead of checking the type
should fix the problems.

15 years agoPopuplate hour drop downs.
Jan Schneider [Thu, 9 Dec 2010 15:03:02 +0000 (16:03 +0100)]
Popuplate hour drop downs.

15 years agoImprove quick task adding.
Jan Schneider [Thu, 9 Dec 2010 15:02:41 +0000 (16:02 +0100)]
Improve quick task adding.

15 years agoFix merge conflict.
Jan Schneider [Thu, 9 Dec 2010 15:01:41 +0000 (16:01 +0100)]
Fix merge conflict.

15 years agoOne common-header.inc to rule them (almost) all.
Jan Schneider [Thu, 9 Dec 2010 14:59:31 +0000 (15:59 +0100)]
One common-header.inc to rule them (almost) all.

15 years agoAdd _init() stub.
Jan Schneider [Thu, 9 Dec 2010 11:50:27 +0000 (12:50 +0100)]
Add _init() stub.

15 years agoUpdate menu loading.
Jan Schneider [Thu, 9 Dec 2010 11:11:52 +0000 (12:11 +0100)]
Update menu loading.

15 years agoClean this up a bit.
Jan Schneider [Thu, 9 Dec 2010 11:05:16 +0000 (12:05 +0100)]
Clean this up a bit.

15 years agoEnable gettext.
Jan Schneider [Thu, 9 Dec 2010 10:33:59 +0000 (11:33 +0100)]
Enable gettext.

15 years agoUpdate versioning.
Jan Schneider [Wed, 8 Dec 2010 19:05:47 +0000 (20:05 +0100)]
Update versioning.

15 years agoFix parse errors.
Jan Schneider [Wed, 8 Dec 2010 18:26:31 +0000 (19:26 +0100)]
Fix parse errors.

15 years agoUpdate API.
Jan Schneider [Wed, 8 Dec 2010 18:24:33 +0000 (19:24 +0100)]
Update API.

15 years agoFix variable name.
Jan Schneider [Wed, 8 Dec 2010 18:21:06 +0000 (19:21 +0100)]
Fix variable name.

15 years agoCatch exception.
Jan Schneider [Wed, 8 Dec 2010 18:17:11 +0000 (19:17 +0100)]
Catch exception.

15 years agoImplement missing methods, abstraction.
Jan Schneider [Wed, 8 Dec 2010 18:16:49 +0000 (19:16 +0100)]
Implement missing methods, abstraction.

15 years agoFix domain detection.
Jan Schneider [Wed, 8 Dec 2010 18:16:05 +0000 (19:16 +0100)]
Fix domain detection.

15 years agoFix class names.
Jan Schneider [Wed, 8 Dec 2010 18:15:01 +0000 (19:15 +0100)]
Fix class names.

15 years agoFix permission checking.
Jan Schneider [Wed, 8 Dec 2010 18:14:50 +0000 (19:14 +0100)]
Fix permission checking.

15 years agoInstantiate template object.
Jan Schneider [Wed, 8 Dec 2010 18:13:26 +0000 (19:13 +0100)]
Instantiate template object.

15 years agoFix bootstrapping.
Jan Schneider [Wed, 8 Dec 2010 18:10:15 +0000 (19:10 +0100)]
Fix bootstrapping.

15 years agoConvert to Horde_Imap_Client.
Jan Schneider [Wed, 8 Dec 2010 18:08:47 +0000 (19:08 +0100)]
Convert to Horde_Imap_Client.

15 years agoFix resetting search field.
Jan Schneider [Wed, 8 Dec 2010 14:49:45 +0000 (15:49 +0100)]
Fix resetting search field.

15 years agoFix agenda view, alignment tweaks.
Jan Schneider [Wed, 8 Dec 2010 14:38:22 +0000 (15:38 +0100)]
Fix agenda view, alignment tweaks.

15 years agoMore protection against re-loading current view. Fixes double click issues (Bug
Jan Schneider [Wed, 8 Dec 2010 14:02:51 +0000 (15:02 +0100)]
More protection against re-loading current view. Fixes double click issues (Bug
#9436).

15 years agoOnly load the next view if it's different from the current view (Bug #9436).
Jan Schneider [Wed, 8 Dec 2010 12:56:55 +0000 (13:56 +0100)]
Only load the next view if it's different from the current view (Bug #9436).

15 years agoOptionall depends on Service_Twitter.
Gunnar Wrobel [Wed, 8 Dec 2010 08:00:24 +0000 (09:00 +0100)]
Optionall depends on Service_Twitter.

15 years agoSeems to require both Oauth and Controller.
Gunnar Wrobel [Wed, 8 Dec 2010 08:00:04 +0000 (09:00 +0100)]
Seems to require both Oauth and Controller.

15 years agoCorrect package name (HttpClient -> Http).
Gunnar Wrobel [Wed, 8 Dec 2010 07:59:44 +0000 (08:59 +0100)]
Correct package name (HttpClient -> Http).

15 years agoUpdate package.xml.
Gunnar Wrobel [Wed, 8 Dec 2010 07:59:20 +0000 (08:59 +0100)]
Update package.xml.

15 years agoInitial work on displaying @mentions in twitter client.
Michael J. Rubinsky [Tue, 7 Dec 2010 18:13:49 +0000 (13:13 -0500)]
Initial work on displaying @mentions in twitter client.

Basic functionality, needs UI love.

15 years agoMove initial twitter client layout to a Horde_View
Michael J. Rubinsky [Tue, 7 Dec 2010 16:48:25 +0000 (11:48 -0500)]
Move initial twitter client layout to a Horde_View

15 years agofix variable name
Michael J. Rubinsky [Tue, 7 Dec 2010 16:41:45 +0000 (11:41 -0500)]
fix variable name

15 years agoNo need to reinstantiate this on each iteration, do it once.
Michael J. Rubinsky [Tue, 7 Dec 2010 16:31:49 +0000 (11:31 -0500)]
No need to reinstantiate this on each iteration, do it once.

15 years agoFix deleting block directly from portal screen.
Michael J. Rubinsky [Tue, 7 Dec 2010 15:51:55 +0000 (10:51 -0500)]
Fix deleting block directly from portal screen.

We can't pass the url to the Layout_Manager, or it will redirect
before we save the layout pref again.

Fixes Bug: 9421

15 years agoTicket #9425: warning about older libxml versions
Michael M Slusarz [Wed, 8 Dec 2010 00:13:00 +0000 (17:13 -0700)]
Ticket #9425: warning about older libxml versions

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