horde.git
14 years agoCleanup registry caching.
Michael M Slusarz [Fri, 17 Dec 2010 20:45:00 +0000 (13:45 -0700)]
Cleanup registry caching.

No need to wait until shutdown to write cache.

clearCache() -> rebuild() which does better job of regenerating
necessary data elements.

When switching languages, don't rebuild registry information until AFTER
we switch the language.

Possibly fixes Bug #9424 (?)

14 years agoAPI calls should no longer be throwing PEAR_Errors in H4
Michael M Slusarz [Fri, 17 Dec 2010 20:06:12 +0000 (13:06 -0700)]
API calls should no longer be throwing PEAR_Errors in H4

14 years agoNot used
Michael M Slusarz [Fri, 17 Dec 2010 19:36:38 +0000 (12:36 -0700)]
Not used

14 years agoDon't cache config data in registry.
Michael M Slusarz [Fri, 17 Dec 2010 19:09:31 +0000 (12:09 -0700)]
Don't cache config data in registry.

Our config files generally do not contain much (if any) conditional
code, so caching doesn't provide much/any benefit.

14 years agoOther than delete, don't flag until we get confirmation from server
Michael M Slusarz [Fri, 17 Dec 2010 09:15:05 +0000 (02:15 -0700)]
Other than delete, don't flag until we get confirmation from server

14 years agoHave the flagCallback handle setting deleted flag when reporting spam
Michael M Slusarz [Fri, 17 Dec 2010 09:11:58 +0000 (02:11 -0700)]
Have the flagCallback handle setting deleted flag when reporting spam

14 years agoHave flagEntry() accept an IMP_Indices object
Michael M Slusarz [Fri, 17 Dec 2010 09:11:31 +0000 (02:11 -0700)]
Have flagEntry() accept an IMP_Indices object

14 years agoRemove unreachable code
Michael M Slusarz [Fri, 17 Dec 2010 08:53:02 +0000 (01:53 -0700)]
Remove unreachable code

14 years agoFix empty mailbox message display on IE8
Michael M Slusarz [Fri, 17 Dec 2010 08:39:01 +0000 (01:39 -0700)]
Fix empty mailbox message display on IE8

14 years agoFix folder display on IE8
Michael M Slusarz [Fri, 17 Dec 2010 08:32:55 +0000 (01:32 -0700)]
Fix folder display on IE8

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.