horde.git
14 years agoBe able to accept either a struct or array structure passed back from xmlrpc.
Michael J. Rubinsky [Tue, 21 Dec 2010 18:54:59 +0000 (13:54 -0500)]
Be able to accept either a struct or array structure passed back from xmlrpc.

the datatype returned by xmlrpc seems to depend on the lunar cycle or sunspots, or ...

14 years agoQ: How many commits does it take to get this right?
Michael J. Rubinsky [Tue, 21 Dec 2010 17:24:28 +0000 (12:24 -0500)]
Q: How many commits does it take to get this right?
A: Apparently three

No need for the ENT_QUOTES flag here either.

14 years agoeven better, no need to pass the charset param if it's utf-8 ... thanks, Jan
Michael J. Rubinsky [Tue, 21 Dec 2010 16:52:20 +0000 (11:52 -0500)]
even better, no need to pass the charset param if it's utf-8 ... thanks, Jan

14 years agoAssuming this non-existent member should be replaced by 'UTF-8' now...
Michael J. Rubinsky [Tue, 21 Dec 2010 16:48:40 +0000 (11:48 -0500)]
Assuming this non-existent member should be replaced by 'UTF-8' now...

14 years agoactually load the tags into the story array.
Michael J Rubinsky [Tue, 21 Dec 2010 15:43:41 +0000 (10:43 -0500)]
actually load the tags into the story array.

Temp fix until moved to Content/Tagger

14 years agoFix stacked caching:
Michael J. Rubinsky [Tue, 21 Dec 2010 15:15:03 +0000 (10:15 -0500)]
Fix stacked caching:

Remove unnecessary variable assignment using outdated method name
Fix assignment of 'stack' parameter in the Stack driver

14 years agoBug #9456: External JS should be loaded before our JS
Michael M Slusarz [Tue, 21 Dec 2010 07:25:30 +0000 (00:25 -0700)]
Bug #9456: External JS should be loaded before our JS

14 years agophpdoc
Michael M Slusarz [Tue, 21 Dec 2010 07:25:13 +0000 (00:25 -0700)]
phpdoc

14 years agodisposition_request_read -> request_mdn
Michael M Slusarz [Tue, 21 Dec 2010 02:11:49 +0000 (19:11 -0700)]
disposition_request_read -> request_mdn

No need for 'allow_receipts' configuration option; admin can lock this
preference if needed.

14 years agoThis pref no longer exists.
Michael M Slusarz [Tue, 21 Dec 2010 02:01:06 +0000 (19:01 -0700)]
This pref no longer exists.

14 years agodisposition_send_mdn -> send_mdn
Michael M Slusarz [Tue, 21 Dec 2010 01:59:57 +0000 (18:59 -0700)]
disposition_send_mdn -> send_mdn

14 years agoRequest #9457: Add request read receipt information to draft
Michael M Slusarz [Tue, 21 Dec 2010 01:50:36 +0000 (18:50 -0700)]
Request #9457: Add request read receipt information to draft

14 years agoAdd Horde_Mime_Mdn::MDN_HEADER
Michael M Slusarz [Tue, 21 Dec 2010 01:37:57 +0000 (18:37 -0700)]
Add Horde_Mime_Mdn::MDN_HEADER

14 years agoRequest #9457: Add priority information to draft
Michael M Slusarz [Tue, 21 Dec 2010 01:28:04 +0000 (18:28 -0700)]
Request #9457: Add priority information to draft

14 years agoAdd missing icon
Michael M Slusarz [Tue, 21 Dec 2010 01:27:25 +0000 (18:27 -0700)]
Add missing icon

14 years agophpdoc
Michael J. Rubinsky [Tue, 21 Dec 2010 00:14:42 +0000 (19:14 -0500)]
phpdoc

14 years agoremoved deprecated files
Michael J. Rubinsky [Tue, 21 Dec 2010 00:08:28 +0000 (19:08 -0500)]
removed deprecated files

14 years agoremoved unused code
Michael J. Rubinsky [Tue, 21 Dec 2010 00:07:20 +0000 (19:07 -0500)]
removed unused code

14 years agoH4 style file/class names for the various forms
Michael J. Rubinsky [Tue, 21 Dec 2010 00:03:23 +0000 (19:03 -0500)]
H4 style file/class names for the various forms

14 years agoremove old creation scripts
Michael J. Rubinsky [Mon, 20 Dec 2010 22:22:56 +0000 (17:22 -0500)]
remove old creation scripts

14 years agoHorde 4 changes:
Michael J. Rubinsky [Mon, 20 Dec 2010 22:21:50 +0000 (17:21 -0500)]
Horde 4 changes:

php5-ify, move to Horde_Db, add migrations

14 years agoBug #9459: Need keys here, not values
Michael M Slusarz [Mon, 20 Dec 2010 23:59:19 +0000 (16:59 -0700)]
Bug #9459: Need keys here, not values

14 years agoLoad common-header.inc from horde.
Jan Schneider [Mon, 20 Dec 2010 23:34:56 +0000 (00:34 +0100)]
Load common-header.inc from horde.

14 years agoBug #9458: Adjust width based on viewport position of viewport content element
Michael M Slusarz [Mon, 20 Dec 2010 23:22:43 +0000 (16:22 -0700)]
Bug #9458: Adjust width based on viewport position of viewport content element

14 years agoBug #9458: Fix position determination of dragbar
Michael M Slusarz [Mon, 20 Dec 2010 19:21:51 +0000 (12:21 -0700)]
Bug #9458: Fix position determination of dragbar

14 years agoCleanup registry.php.dist file
Michael M Slusarz [Mon, 20 Dec 2010 18:52:37 +0000 (11:52 -0700)]
Cleanup registry.php.dist file

Format remains the same, so no need to alter current config file.  But
offers the following improvements:

Use one array to eliminate duplicative/confusing $this->applications[]
instances scattered throughout.

'status' no longer required; defaults to 'active'.

'fileroot' and 'webroot' no longer required; defaults to HORDE_BASE and
web auto-detection respectively.

Move web auto-detection into Horde_Registry.  If auto-detection doesn't
work for an admin, it makes more sense for them to just enter the proper
webroot rather than trying to tweak the detection function.
Additionally, registry.php can now be loaded multiple times in an access
- since the registry needs to be completely rebuilt for things like a
forced config change or langauge switch.  Thus, this prevents the need
for a function_exists() check.

Add optional variables to allow for definition of app fileroot/webroot
if different than Horde's.  Very useful for dev's - no need to hardcode
fileroot values for each application if using links.

14 years agoBug #9424: Need to unset apis variable - or else it won't be rebuilt
Michael M Slusarz [Mon, 20 Dec 2010 17:19:17 +0000 (10:19 -0700)]
Bug #9424: Need to unset apis variable - or else it won't be rebuilt

14 years agoDon't mask errors
Michael M Slusarz [Mon, 20 Dec 2010 17:18:47 +0000 (10:18 -0700)]
Don't mask errors

14 years agoFix language change on login screen
Michael M Slusarz [Mon, 20 Dec 2010 17:18:17 +0000 (10:18 -0700)]
Fix language change on login screen

14 years agoFix undefined variable warning
Michael M Slusarz [Mon, 20 Dec 2010 17:18:00 +0000 (10:18 -0700)]
Fix undefined variable warning

14 years agoRegistry not working due to viral copy/paste error
Michael M Slusarz [Mon, 20 Dec 2010 05:23:37 +0000 (22:23 -0700)]
Registry not working due to viral copy/paste error

14 years agoRevert "Revert "Cleanup registry caching." This caused registry methods not to be...
Michael M Slusarz [Mon, 20 Dec 2010 04:31:59 +0000 (21:31 -0700)]
Revert "Revert "Cleanup registry caching." This caused registry methods not to be visible to external applications for me, plus other problems for Jan."

This reverts commit 3be8781b0fc7bc17f52b2a65adedd0198a780e5a.

14 years agoHandle memcache servers that are not reachable
Michael M Slusarz [Fri, 17 Dec 2010 23:48:09 +0000 (16:48 -0700)]
Handle memcache servers that are not reachable

14 years agoRevert "Cleanup registry caching." This caused registry methods not to be visible...
Chuck Hagenbuch [Sun, 19 Dec 2010 18:49:40 +0000 (13:49 -0500)]
Revert "Cleanup registry caching." This caused registry methods not to be visible to external applications for me, plus other problems for Jan.

This reverts commit 27bd896e7b07de019aa8c59565ec0ed89f28f5f9.

14 years agoHorde_Icalendar throws exceptions now
Chuck Hagenbuch [Sat, 18 Dec 2010 19:21:13 +0000 (14:21 -0500)]
Horde_Icalendar throws exceptions now

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.