horde.git
14 years agom.message might be null if JSON encoding is broken
Michael M Slusarz [Fri, 17 Dec 2010 05:30:07 +0000 (22:30 -0700)]
m.message might be null if JSON encoding is broken

14 years agomatch function signature, but need a default value since names
Michael J Rubinsky [Thu, 16 Dec 2010 23:55:33 +0000 (18:55 -0500)]
match function signature, but need a default value since names
are not supported in hierarchical driver.

14 years agolooks like you need to specify a null default value here or Horde_Db complains
Michael J Rubinsky [Thu, 16 Dec 2010 23:47:05 +0000 (18:47 -0500)]
looks like you need to specify a null default value here or Horde_Db complains

14 years agoIf we include a full url, output prototype with a full url as well.
Michael J. Rubinsky [Thu, 16 Dec 2010 23:44:08 +0000 (18:44 -0500)]
If we include a full url, output prototype with a full url as well.

explicitly including prototype withOUT a full url breaks all kinds of stuff
with API rendering and external site embedding.

14 years agoremove extra parameter
Michael J. Rubinsky [Thu, 16 Dec 2010 23:43:34 +0000 (18:43 -0500)]
remove extra parameter

14 years agoAdd initial test for newShare()/addShare().
Jan Schneider [Thu, 16 Dec 2010 23:16:24 +0000 (00:16 +0100)]
Add initial test for newShare()/addShare().

14 years agoWork around broken sqlite primary key generation.
Jan Schneider [Thu, 16 Dec 2010 23:16:00 +0000 (00:16 +0100)]
Work around broken sqlite primary key generation.

14 years agoFix typehints.
Jan Schneider [Thu, 16 Dec 2010 23:14:46 +0000 (00:14 +0100)]
Fix typehints.

14 years agoTest autoincrements. Add a test for how we currently add primary keys in the
Jan Schneider [Thu, 16 Dec 2010 23:09:02 +0000 (00:09 +0100)]
Test autoincrements.  Add a test for how we currently add primary keys in the
migration scripts, that fail though.

14 years agoHorde_Share throws exceptions.
Jan Schneider [Thu, 16 Dec 2010 22:12:27 +0000 (23:12 +0100)]
Horde_Share throws exceptions.

14 years agoAdd skeleton for sql driver test.
Jan Schneider [Thu, 16 Dec 2010 21:50:17 +0000 (22:50 +0100)]
Add skeleton for sql driver test.

14 years agoMove methods.
Jan Schneider [Thu, 16 Dec 2010 21:27:20 +0000 (22:27 +0100)]
Move methods.

14 years agoRemove references.
Jan Schneider [Thu, 16 Dec 2010 21:25:09 +0000 (22:25 +0100)]
Remove references.

14 years agoMake methods abstract.
Jan Schneider [Thu, 16 Dec 2010 21:19:03 +0000 (22:19 +0100)]
Make methods abstract.

14 years agoSmall cleanups.
Jan Schneider [Thu, 16 Dec 2010 21:04:57 +0000 (22:04 +0100)]
Small cleanups.

14 years agoRemove unneeded logging methods.
Jan Schneider [Thu, 16 Dec 2010 21:01:07 +0000 (22:01 +0100)]
Remove unneeded logging methods.

14 years agoMake Horde_Share_Base abstract.
Jan Schneider [Thu, 16 Dec 2010 20:59:23 +0000 (21:59 +0100)]
Make Horde_Share_Base abstract.

14 years agoHorde_Share -> Horde_Share_Base.
Jan Schneider [Thu, 16 Dec 2010 18:15:17 +0000 (19:15 +0100)]
Horde_Share -> Horde_Share_Base.

14 years agoDrop domain keys. The same can be done by domain permissions.
Jan Schneider [Thu, 16 Dec 2010 16:11:26 +0000 (17:11 +0100)]
Drop domain keys. The same can be done by domain permissions.

14 years agoUpdate test.
Jan Schneider [Thu, 16 Dec 2010 16:09:25 +0000 (17:09 +0100)]
Update test.

14 years agoRemove stray comment parts.
Jan Schneider [Thu, 16 Dec 2010 14:05:15 +0000 (15:05 +0100)]
Remove stray comment parts.

14 years agoTicket #9454: Add example hook for setting search_fields pref
Michael M Slusarz [Thu, 16 Dec 2010 22:26:08 +0000 (15:26 -0700)]
Ticket #9454: Add example hook for setting search_fields pref

14 years agoBug #9453: Fix highlighting escaped symbols in autocomplete
Michael M Slusarz [Thu, 16 Dec 2010 22:20:46 +0000 (15:20 -0700)]
Bug #9453: Fix highlighting escaped symbols in autocomplete

14 years agostyle/doc
Michael M Slusarz [Thu, 16 Dec 2010 22:20:24 +0000 (15:20 -0700)]
style/doc

14 years agoRewrite IMAP flags handling/display code
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');

14 years agoMake colorpicker work with abbreviated hex values
Michael M Slusarz [Thu, 16 Dec 2010 17:20:11 +0000 (10:20 -0700)]
Make colorpicker work with abbreviated hex values

14 years agoFix function name
Michael M Slusarz [Thu, 16 Dec 2010 17:13:10 +0000 (10:13 -0700)]
Fix function name

14 years agoFix tree display in mimp
Michael M Slusarz [Wed, 15 Dec 2010 18:23:35 +0000 (11:23 -0700)]
Fix tree display in mimp

14 years agoMake sure HEAD exists before appending to it
Michael M Slusarz [Tue, 14 Dec 2010 22:30:15 +0000 (15:30 -0700)]
Make sure HEAD exists before appending to it

14 years agoBase64 encode token strings to allow them to contain newlines.
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.

14 years agoMove timeout parameter to base class, phpdoc.
Jan Schneider [Thu, 16 Dec 2010 14:00:18 +0000 (15:00 +0100)]
Move timeout parameter to base class, phpdoc.

14 years agoArray keys are casted to integers if they look like numbers (WTF?). If a hash
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.

14 years agoSimplify, add autoloader.
Jan Schneider [Thu, 16 Dec 2010 13:32:05 +0000 (14:32 +0100)]
Simplify, add autoloader.

14 years agoAdd debug switch to log all queries.
Jan Schneider [Mon, 13 Dec 2010 22:38:18 +0000 (23:38 +0100)]
Add debug switch to log all queries.

14 years agoConvert to migrations.
Jan Schneider [Mon, 13 Dec 2010 18:33:40 +0000 (19:33 +0100)]
Convert to migrations.

14 years agoFix class names.
Jan Schneider [Mon, 13 Dec 2010 18:02:42 +0000 (19:02 +0100)]
Fix class names.

14 years agoUse Horde_Exception_Pear::catchError().
Jan Schneider [Mon, 13 Dec 2010 17:45:57 +0000 (18:45 +0100)]
Use Horde_Exception_Pear::catchError().

14 years agoFix method name.
Jan Schneider [Mon, 13 Dec 2010 17:44:07 +0000 (18:44 +0100)]
Fix method name.

14 years agoAllow to provide additional details with exceptions. For now include PEAR_Error's...
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.

14 years agoCorrectly report functions in the trace.
Jan Schneider [Mon, 13 Dec 2010 17:42:50 +0000 (18:42 +0100)]
Correctly report functions in the trace.

14 years agoShow full error trace on CLI too. CLI scripts can only be run by administrators
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.

14 years agoCatch HookNotSet.
Jan Schneider [Mon, 13 Dec 2010 16:58:40 +0000 (17:58 +0100)]
Catch HookNotSet.

14 years agoFix editing domains.
Jan Schneider [Mon, 13 Dec 2010 16:53:47 +0000 (17:53 +0100)]
Fix editing domains.

14 years agoRemove redundant menu tags.
Jan Schneider [Mon, 13 Dec 2010 16:49:39 +0000 (17:49 +0100)]
Remove redundant menu tags.

14 years agoMFB: Add Andras.
Jan Schneider [Mon, 13 Dec 2010 16:33:38 +0000 (17:33 +0100)]
MFB: Add Andras.

14 years agoSwitch to modules.
Gunnar Wrobel [Thu, 16 Dec 2010 07:03:46 +0000 (08:03 +0100)]
Switch to modules.

14 years agoMove unnecessary layer.
Gunnar Wrobel [Thu, 16 Dec 2010 04:33:04 +0000 (05:33 +0100)]
Move unnecessary layer.

14 years agoFinish the module provider and complete the module definition.
Gunnar Wrobel [Wed, 15 Dec 2010 20:14:11 +0000 (21:14 +0100)]
Finish the module provider and complete the module definition.

14 years agoAllow collecting usage descriptions from each module.
Gunnar Wrobel [Wed, 15 Dec 2010 15:42:39 +0000 (16:42 +0100)]
Allow collecting usage descriptions from each module.

14 years agoAdd the modules handler.
Gunnar Wrobel [Wed, 15 Dec 2010 13:32:07 +0000 (14:32 +0100)]
Add the modules handler.

14 years agoStart extracting the modular approach from the components package so that I can use...
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.

14 years agoGPL
Gunnar Wrobel [Wed, 15 Dec 2010 06:01:19 +0000 (07:01 +0100)]
GPL

14 years agoFix running test.php on a bootstrapped Horde installation.
Jan Schneider [Wed, 15 Dec 2010 22:46:19 +0000 (22:46 +0000)]
Fix running test.php on a bootstrapped Horde installation.

14 years agoDon't show DataTree sidebar entry if DataTree is disabled.
Jan Schneider [Wed, 15 Dec 2010 22:45:48 +0000 (22:45 +0000)]
Don't show DataTree sidebar entry if DataTree is disabled.

14 years agoThis setting is not required.
Jan Schneider [Wed, 15 Dec 2010 22:45:12 +0000 (22:45 +0000)]
This setting is not required.

14 years agoWe use Net_DNS2 now.
Jan Schneider [Wed, 15 Dec 2010 22:43:01 +0000 (22:43 +0000)]
We use Net_DNS2 now.

14 years agoExtract the cli into a separate package.
Gunnar Wrobel [Wed, 15 Dec 2010 05:48:09 +0000 (06:48 +0100)]
Extract the cli into a separate package.

14 years agoMake all backends work with the listMailboxes() method. Add todos.
Gunnar Wrobel [Tue, 14 Dec 2010 17:25:42 +0000 (18:25 +0100)]
Make all backends work with the listMailboxes() method. Add todos.

14 years agoA basic set of options to get other backends than the mock implementation working.
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.

14 years agoRough draft of listing folders on the command line.
Gunnar Wrobel [Tue, 14 Dec 2010 15:36:52 +0000 (16:36 +0100)]
Rough draft of listing folders on the command line.

14 years agoStart adding a factory.
Gunnar Wrobel [Tue, 14 Dec 2010 09:51:36 +0000 (10:51 +0100)]
Start adding a factory.

14 years agoStart extracting the core storage handler.
Gunnar Wrobel [Tue, 14 Dec 2010 08:51:19 +0000 (09:51 +0100)]
Start extracting the core storage handler.

14 years agoRemove group parameter.
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.

14 years agoMatch signatures of Horde_Group_Mock methods to Horde_Group.
Gunnar Wrobel [Tue, 14 Dec 2010 07:58:34 +0000 (08:58 +0100)]
Match signatures of Horde_Group_Mock methods to Horde_Group.

14 years agoAdd some options to the cli interface. No implementation yet. Fix unit tests.
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.

14 years agoAdd required libxml extension and update TODO.
Gunnar Wrobel [Tue, 14 Dec 2010 04:43:18 +0000 (05:43 +0100)]
Add required libxml extension and update TODO.

14 years agoAdd basic Cli interface.
Gunnar Wrobel [Tue, 14 Dec 2010 04:38:29 +0000 (05:38 +0100)]
Add basic Cli interface.

14 years agoFix class name.
Gunnar Wrobel [Tue, 14 Dec 2010 04:18:32 +0000 (05:18 +0100)]
Fix class name.

14 years agoUpdate autoloading.
Gunnar Wrobel [Tue, 14 Dec 2010 04:18:14 +0000 (05:18 +0100)]
Update autoloading.

14 years agoMove to standard layout.
Gunnar Wrobel [Tue, 14 Dec 2010 04:17:59 +0000 (05:17 +0100)]
Move to standard layout.

14 years agoBug #9447: Translate mailbox names in search query text
Michael M Slusarz [Tue, 14 Dec 2010 05:19:28 +0000 (22:19 -0700)]
Bug #9447: Translate mailbox names in search query text

14 years agoBug #9444: Existence check
Michael M Slusarz [Tue, 14 Dec 2010 05:15:20 +0000 (22:15 -0700)]
Bug #9444: Existence check

14 years agoMatch signatures.
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.

14 years agoUpdate todos.
Gunnar Wrobel [Mon, 13 Dec 2010 09:52:38 +0000 (10:52 +0100)]
Update todos.

14 years agoRemove dependencies no longer required.
Gunnar Wrobel [Mon, 13 Dec 2010 09:52:28 +0000 (10:52 +0100)]
Remove dependencies no longer required.

14 years agoUnused test.
Gunnar Wrobel [Mon, 13 Dec 2010 09:52:05 +0000 (10:52 +0100)]
Unused test.

14 years agoCaching the parser is not a good idea.
Gunnar Wrobel [Mon, 13 Dec 2010 09:29:50 +0000 (10:29 +0100)]
Caching the parser is not a good idea.

14 years agoExtract the initial parsing stage for the XML handling.
Gunnar Wrobel [Fri, 10 Dec 2010 15:11:00 +0000 (16:11 +0100)]
Extract the initial parsing stage for the XML handling.

14 years agoRemove obsolete factory function. Add DOMDocument parameters. phpdoc.
Gunnar Wrobel [Fri, 10 Dec 2010 07:46:43 +0000 (08:46 +0100)]
Remove obsolete factory function. Add DOMDocument parameters. phpdoc.

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