Jan Schneider [Thu, 16 Dec 2010 21:27:20 +0000 (22:27 +0100)]
Move methods.
Jan Schneider [Thu, 16 Dec 2010 21:25:09 +0000 (22:25 +0100)]
Remove references.
Jan Schneider [Thu, 16 Dec 2010 21:19:03 +0000 (22:19 +0100)]
Make methods abstract.
Jan Schneider [Thu, 16 Dec 2010 21:04:57 +0000 (22:04 +0100)]
Small cleanups.
Jan Schneider [Thu, 16 Dec 2010 21:01:07 +0000 (22:01 +0100)]
Remove unneeded logging methods.
Jan Schneider [Thu, 16 Dec 2010 20:59:23 +0000 (21:59 +0100)]
Make Horde_Share_Base abstract.
Jan Schneider [Thu, 16 Dec 2010 18:15:17 +0000 (19:15 +0100)]
Horde_Share -> Horde_Share_Base.
Jan Schneider [Thu, 16 Dec 2010 16:11:26 +0000 (17:11 +0100)]
Drop domain keys. The same can be done by domain permissions.
Jan Schneider [Thu, 16 Dec 2010 16:09:25 +0000 (17:09 +0100)]
Update test.
Jan Schneider [Thu, 16 Dec 2010 14:05:15 +0000 (15:05 +0100)]
Remove stray comment parts.
Michael M Slusarz [Thu, 16 Dec 2010 22:26:08 +0000 (15:26 -0700)]
Ticket #9454: Add example hook for setting search_fields pref
Michael M Slusarz [Thu, 16 Dec 2010 22:20:46 +0000 (15:20 -0700)]
Bug #9453: Fix highlighting escaped symbols in autocomplete
Michael M Slusarz [Thu, 16 Dec 2010 22:20:24 +0000 (15:20 -0700)]
style/doc
Michael M Slusarz [Wed, 15 Dec 2010 23:30:53 +0000 (16:30 -0700)]
Rewrite IMAP flags handling/display code
Rewrite to match recent search rewrite. Biggest benefit: removes a large
amount of logic from the preferences file (and, thus, wasted storage in
the session).
Move all flags to separate objects, and use these objects to interact
with the various flag quirks.
This commit does make a fairly significant UI change: you no longer mark
a message as 'Unseen', you unmark it as 'Seen'. Not quite as intuitive
to me, but this is the way the IMAP specs define it and the way that
other MUAs (e.g. Thunderbird) show to user. But at the internal level it
allows us to get rid of the 'inverse' flagging.
Fix bug: Allow filtering of ALL IMAP flags in dimp, not just user settable
ones.
fullmessage-dimp.js -> message-dimp.js
For those upgrading that have custom flags you don't want to lose, this
script is what I used to convert. YMMV.
<?php
require_once dirname(__FILE__) . '/lib/Application.php';
Horde_Registry::appInit('imp', array('authentication' => 'none'));
$registry->setAuth(***USERNAME***, array());
$msgflags = array_merge(
json_decode($prefs->getValue('msgflags_user'), true),
json_decode($prefs->getValue('msgflags'), true)
);
$out = array();
foreach ($msgflags as $key => $val) {
if ($val['t'] == 'imapp') {
$out[] = new IMP_Flag_User($val['l'], $key, $val['b']);
}
}
$prefs->setValue('msgflags', serialize($out));
$prefs->remove('msgflags_user');
Michael M Slusarz [Thu, 16 Dec 2010 17:20:11 +0000 (10:20 -0700)]
Make colorpicker work with abbreviated hex values
Michael M Slusarz [Thu, 16 Dec 2010 17:13:10 +0000 (10:13 -0700)]
Fix function name
Michael M Slusarz [Wed, 15 Dec 2010 18:23:35 +0000 (11:23 -0700)]
Fix tree display in mimp
Michael M Slusarz [Tue, 14 Dec 2010 22:30:15 +0000 (15:30 -0700)]
Make sure HEAD exists before appending to it
Gunnar Wrobel [Thu, 16 Dec 2010 14:32:08 +0000 (15:32 +0100)]
Base64 encode token strings to allow them to contain newlines.
The initial timestamp that was recently added to the tokens may
match the binary representation of a newline which kills the file
based token driver (which is line oriented).
Should fix the flaky token test.
Jan Schneider [Thu, 16 Dec 2010 14:00:18 +0000 (15:00 +0100)]
Move timeout parameter to base class, phpdoc.
Jan Schneider [Thu, 16 Dec 2010 13:37:46 +0000 (14:37 +0100)]
Array keys are casted to integers if they look like numbers (WTF?). If a hash
happens to be a number, ksort() fails because integers are always sorted after
strings. Add a string to the hash key to make sure it's never casted to an
integer.
Jan Schneider [Thu, 16 Dec 2010 13:32:05 +0000 (14:32 +0100)]
Simplify, add autoloader.
Jan Schneider [Mon, 13 Dec 2010 22:38:18 +0000 (23:38 +0100)]
Add debug switch to log all queries.
Jan Schneider [Mon, 13 Dec 2010 18:33:40 +0000 (19:33 +0100)]
Convert to migrations.
Jan Schneider [Mon, 13 Dec 2010 18:02:42 +0000 (19:02 +0100)]
Fix class names.
Jan Schneider [Mon, 13 Dec 2010 17:45:57 +0000 (18:45 +0100)]
Use Horde_Exception_Pear::catchError().
Jan Schneider [Mon, 13 Dec 2010 17:44:07 +0000 (18:44 +0100)]
Fix method name.
Jan Schneider [Mon, 13 Dec 2010 17:43:51 +0000 (18:43 +0100)]
Allow to provide additional details with exceptions. For now include PEAR_Error's userinfo.
Jan Schneider [Mon, 13 Dec 2010 17:42:50 +0000 (18:42 +0100)]
Correctly report functions in the trace.
Jan Schneider [Mon, 13 Dec 2010 17:12:01 +0000 (18:12 +0100)]
Show full error trace on CLI too. CLI scripts can only be run by administrators
anyway.
Jan Schneider [Mon, 13 Dec 2010 16:58:40 +0000 (17:58 +0100)]
Catch HookNotSet.
Jan Schneider [Mon, 13 Dec 2010 16:53:47 +0000 (17:53 +0100)]
Fix editing domains.
Jan Schneider [Mon, 13 Dec 2010 16:49:39 +0000 (17:49 +0100)]
Remove redundant menu tags.
Jan Schneider [Mon, 13 Dec 2010 16:33:38 +0000 (17:33 +0100)]
MFB: Add Andras.
Gunnar Wrobel [Thu, 16 Dec 2010 07:03:46 +0000 (08:03 +0100)]
Switch to modules.
Gunnar Wrobel [Thu, 16 Dec 2010 04:33:04 +0000 (05:33 +0100)]
Move unnecessary layer.
Gunnar Wrobel [Wed, 15 Dec 2010 20:14:11 +0000 (21:14 +0100)]
Finish the module provider and complete the module definition.
Gunnar Wrobel [Wed, 15 Dec 2010 15:42:39 +0000 (16:42 +0100)]
Allow collecting usage descriptions from each module.
Gunnar Wrobel [Wed, 15 Dec 2010 13:32:07 +0000 (14:32 +0100)]
Add the modules handler.
Gunnar Wrobel [Wed, 15 Dec 2010 08:22:38 +0000 (09:22 +0100)]
Start extracting the modular approach from the components package so that I can use the same method for Kolab_Cli.
Gunnar Wrobel [Wed, 15 Dec 2010 06:01:19 +0000 (07:01 +0100)]
GPL
Jan Schneider [Wed, 15 Dec 2010 22:46:19 +0000 (22:46 +0000)]
Fix running test.php on a bootstrapped Horde installation.
Jan Schneider [Wed, 15 Dec 2010 22:45:48 +0000 (22:45 +0000)]
Don't show DataTree sidebar entry if DataTree is disabled.
Jan Schneider [Wed, 15 Dec 2010 22:45:12 +0000 (22:45 +0000)]
This setting is not required.
Jan Schneider [Wed, 15 Dec 2010 22:43:01 +0000 (22:43 +0000)]
We use Net_DNS2 now.
Gunnar Wrobel [Wed, 15 Dec 2010 05:48:09 +0000 (06:48 +0100)]
Extract the cli into a separate package.
Gunnar Wrobel [Tue, 14 Dec 2010 17:25:42 +0000 (18:25 +0100)]
Make all backends work with the listMailboxes() method. Add todos.
Gunnar Wrobel [Tue, 14 Dec 2010 15:44:20 +0000 (16:44 +0100)]
A basic set of options to get other backends than the mock implementation working.
Gunnar Wrobel [Tue, 14 Dec 2010 15:36:52 +0000 (16:36 +0100)]
Rough draft of listing folders on the command line.
Gunnar Wrobel [Tue, 14 Dec 2010 09:51:36 +0000 (10:51 +0100)]
Start adding a factory.
Gunnar Wrobel [Tue, 14 Dec 2010 08:51:19 +0000 (09:51 +0100)]
Start extracting the core storage handler.
Gunnar Wrobel [Tue, 14 Dec 2010 08:50:55 +0000 (09:50 +0100)]
Remove group parameter.
How did I get the idea to add the group handler here? Sometime I hate my logic.
Gunnar Wrobel [Tue, 14 Dec 2010 07:58:34 +0000 (08:58 +0100)]
Match signatures of Horde_Group_Mock methods to Horde_Group.
Gunnar Wrobel [Tue, 14 Dec 2010 07:58:01 +0000 (08:58 +0100)]
Add some options to the cli interface. No implementation yet. Fix unit tests.
Gunnar Wrobel [Tue, 14 Dec 2010 04:43:18 +0000 (05:43 +0100)]
Add required libxml extension and update TODO.
Gunnar Wrobel [Tue, 14 Dec 2010 04:38:29 +0000 (05:38 +0100)]
Add basic Cli interface.
Gunnar Wrobel [Tue, 14 Dec 2010 04:18:32 +0000 (05:18 +0100)]
Fix class name.
Gunnar Wrobel [Tue, 14 Dec 2010 04:18:14 +0000 (05:18 +0100)]
Update autoloading.
Gunnar Wrobel [Tue, 14 Dec 2010 04:17:59 +0000 (05:17 +0100)]
Move to standard layout.
Michael M Slusarz [Tue, 14 Dec 2010 05:19:28 +0000 (22:19 -0700)]
Bug #9447: Translate mailbox names in search query text
Michael M Slusarz [Tue, 14 Dec 2010 05:15:20 +0000 (22:15 -0700)]
Bug #9444: Existence check
Gunnar Wrobel [Mon, 13 Dec 2010 16:16:54 +0000 (17:16 +0100)]
Match signatures.
No clue why the Date tests would suddenly fail as there was no commit in either Date or iCalendar for quite a while. Maybe it happened as I updated php-hudson-tools. Anyway matching the signatures seems the right thing to do.
Gunnar Wrobel [Mon, 13 Dec 2010 09:52:38 +0000 (10:52 +0100)]
Update todos.
Gunnar Wrobel [Mon, 13 Dec 2010 09:52:28 +0000 (10:52 +0100)]
Remove dependencies no longer required.
Gunnar Wrobel [Mon, 13 Dec 2010 09:52:05 +0000 (10:52 +0100)]
Unused test.
Gunnar Wrobel [Mon, 13 Dec 2010 09:29:50 +0000 (10:29 +0100)]
Caching the parser is not a good idea.
Gunnar Wrobel [Fri, 10 Dec 2010 15:11:00 +0000 (16:11 +0100)]
Extract the initial parsing stage for the XML handling.
Gunnar Wrobel [Fri, 10 Dec 2010 07:46:43 +0000 (08:46 +0100)]
Remove obsolete factory function. Add DOMDocument parameters. phpdoc.
Gunnar Wrobel [Fri, 10 Dec 2010 05:17:44 +0000 (06:17 +0100)]
Simple CLI test.
Gunnar Wrobel [Fri, 10 Dec 2010 05:03:57 +0000 (06:03 +0100)]
Add a phpunit config file to include files for code coverage.
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.
Gunnar Wrobel [Fri, 10 Dec 2010 04:39:54 +0000 (05:39 +0100)]
Add optional Cli package. Add checks for optional packages.
Gunnar Wrobel [Thu, 9 Dec 2010 16:42:09 +0000 (17:42 +0100)]
Just a rough test version of a timing utility.
Gunnar Wrobel [Thu, 9 Dec 2010 10:33:05 +0000 (11:33 +0100)]
Add version tag to Horde_Kolab_Format. Add kolab-format script.
Gunnar Wrobel [Thu, 9 Dec 2010 10:04:24 +0000 (11:04 +0100)]
Test the timing decorator.
Gunnar Wrobel [Thu, 9 Dec 2010 10:02:52 +0000 (11:02 +0100)]
Change factory handling.
Gunnar Wrobel [Thu, 9 Dec 2010 10:02:18 +0000 (11:02 +0100)]
phpdoc
Gunnar Wrobel [Thu, 9 Dec 2010 08:11:40 +0000 (09:11 +0100)]
Extract the factory and convert Horde_Kolab_Format to an interface.
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.
Gunnar Wrobel [Thu, 9 Dec 2010 07:31:31 +0000 (08:31 +0100)]
TODO items.
Gunnar Wrobel [Thu, 9 Dec 2010 04:57:53 +0000 (05:57 +0100)]
Add factory test.
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
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.
Michael J. Rubinsky [Sun, 12 Dec 2010 03:25:50 +0000 (22:25 -0500)]
tweak phpdoc
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.
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
Michael J. Rubinsky [Sat, 11 Dec 2010 23:40:39 +0000 (18:40 -0500)]
fix object name
Michael J. Rubinsky [Sat, 11 Dec 2010 23:32:59 +0000 (18:32 -0500)]
Fix scope
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
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.
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.
Jan Schneider [Fri, 10 Dec 2010 18:11:33 +0000 (19:11 +0100)]
Vilma is BSD.
Jan Schneider [Fri, 10 Dec 2010 18:04:01 +0000 (19:04 +0100)]
Horde_Session#unset() doesn't exist.
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
Jan Schneider [Fri, 10 Dec 2010 17:32:25 +0000 (18:32 +0100)]
PHP5/H4-ify
Jan Schneider [Thu, 9 Dec 2010 21:55:52 +0000 (22:55 +0100)]
MFB
Jan Schneider [Thu, 9 Dec 2010 15:44:51 +0000 (16:44 +0100)]
MFB
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.
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.
Michael J. Rubinsky [Fri, 10 Dec 2010 16:37:15 +0000 (11:37 -0500)]
Readd periodExecuter for mentions tab