Michael J. Rubinsky [Tue, 21 Dec 2010 21:03:40 +0000 (16:03 -0500)]
Use a more appropriate limit here, this was probably a debugging artifact.
Michael J. Rubinsky [Tue, 21 Dec 2010 20:46:04 +0000 (15:46 -0500)]
small phpdoc tweaks while I'm poking
Jan Schneider [Tue, 21 Dec 2010 19:14:04 +0000 (20:14 +0100)]
phpdoc
Jan Schneider [Tue, 21 Dec 2010 19:13:48 +0000 (20:13 +0100)]
Fix selfUrl() result when using URL rewriting.
Jan Schneider [Tue, 21 Dec 2010 19:09:15 +0000 (20:09 +0100)]
Fix double slash in selfUrl() results.
Jan Schneider [Tue, 21 Dec 2010 19:08:45 +0000 (20:08 +0100)]
Add test for selfUrl().
Jan Schneider [Tue, 21 Dec 2010 19:06:43 +0000 (20:06 +0100)]
Fix detecting PATH_INFO if using URL rewriting.
Jan Schneider [Tue, 21 Dec 2010 19:06:04 +0000 (20:06 +0100)]
Add Horde_String::common().
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 ...
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.
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
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...
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
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
Michael M Slusarz [Tue, 21 Dec 2010 07:25:30 +0000 (00:25 -0700)]
Bug #9456: External JS should be loaded before our JS
Michael M Slusarz [Tue, 21 Dec 2010 07:25:13 +0000 (00:25 -0700)]
phpdoc
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.
Michael M Slusarz [Tue, 21 Dec 2010 02:01:06 +0000 (19:01 -0700)]
This pref no longer exists.
Michael M Slusarz [Tue, 21 Dec 2010 01:59:57 +0000 (18:59 -0700)]
disposition_send_mdn -> send_mdn
Michael M Slusarz [Tue, 21 Dec 2010 01:50:36 +0000 (18:50 -0700)]
Request #9457: Add request read receipt information to draft
Michael M Slusarz [Tue, 21 Dec 2010 01:37:57 +0000 (18:37 -0700)]
Add Horde_Mime_Mdn::MDN_HEADER
Michael M Slusarz [Tue, 21 Dec 2010 01:28:04 +0000 (18:28 -0700)]
Request #9457: Add priority information to draft
Michael M Slusarz [Tue, 21 Dec 2010 01:27:25 +0000 (18:27 -0700)]
Add missing icon
Michael J. Rubinsky [Tue, 21 Dec 2010 00:14:42 +0000 (19:14 -0500)]
phpdoc
Michael J. Rubinsky [Tue, 21 Dec 2010 00:08:28 +0000 (19:08 -0500)]
removed deprecated files
Michael J. Rubinsky [Tue, 21 Dec 2010 00:07:20 +0000 (19:07 -0500)]
removed unused code
Michael J. Rubinsky [Tue, 21 Dec 2010 00:03:23 +0000 (19:03 -0500)]
H4 style file/class names for the various forms
Michael J. Rubinsky [Mon, 20 Dec 2010 22:22:56 +0000 (17:22 -0500)]
remove old creation scripts
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
Michael M Slusarz [Mon, 20 Dec 2010 23:59:19 +0000 (16:59 -0700)]
Bug #9459: Need keys here, not values
Jan Schneider [Mon, 20 Dec 2010 23:34:56 +0000 (00:34 +0100)]
Load common-header.inc from horde.
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
Michael M Slusarz [Mon, 20 Dec 2010 19:21:51 +0000 (12:21 -0700)]
Bug #9458: Fix position determination of dragbar
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.
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
Michael M Slusarz [Mon, 20 Dec 2010 17:18:47 +0000 (10:18 -0700)]
Don't mask errors
Michael M Slusarz [Mon, 20 Dec 2010 17:18:17 +0000 (10:18 -0700)]
Fix language change on login screen
Michael M Slusarz [Mon, 20 Dec 2010 17:18:00 +0000 (10:18 -0700)]
Fix undefined variable warning
Michael M Slusarz [Mon, 20 Dec 2010 05:23:37 +0000 (22:23 -0700)]
Registry not working due to viral copy/paste error
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.
Michael M Slusarz [Fri, 17 Dec 2010 23:48:09 +0000 (16:48 -0700)]
Handle memcache servers that are not reachable
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.
Chuck Hagenbuch [Sat, 18 Dec 2010 19:21:13 +0000 (14:21 -0500)]
Horde_Icalendar throws exceptions now
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 (?)
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
Michael M Slusarz [Fri, 17 Dec 2010 19:36:38 +0000 (12:36 -0700)]
Not used
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.
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
Michael M Slusarz [Fri, 17 Dec 2010 09:11:58 +0000 (02:11 -0700)]
Have the flagCallback handle setting deleted flag when reporting spam
Michael M Slusarz [Fri, 17 Dec 2010 09:11:31 +0000 (02:11 -0700)]
Have flagEntry() accept an IMP_Indices object
Michael M Slusarz [Fri, 17 Dec 2010 08:53:02 +0000 (01:53 -0700)]
Remove unreachable code
Michael M Slusarz [Fri, 17 Dec 2010 08:39:01 +0000 (01:39 -0700)]
Fix empty mailbox message display on IE8
Michael M Slusarz [Fri, 17 Dec 2010 08:32:55 +0000 (01:32 -0700)]
Fix folder display on IE8
Michael M Slusarz [Fri, 17 Dec 2010 05:30:07 +0000 (22:30 -0700)]
m.message might be null if JSON encoding is broken
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.
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
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.
Michael J. Rubinsky [Thu, 16 Dec 2010 23:43:34 +0000 (18:43 -0500)]
remove extra parameter
Jan Schneider [Thu, 16 Dec 2010 23:16:24 +0000 (00:16 +0100)]
Add initial test for newShare()/addShare().
Jan Schneider [Thu, 16 Dec 2010 23:16:00 +0000 (00:16 +0100)]
Work around broken sqlite primary key generation.
Jan Schneider [Thu, 16 Dec 2010 23:14:46 +0000 (00:14 +0100)]
Fix typehints.
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.
Jan Schneider [Thu, 16 Dec 2010 22:12:27 +0000 (23:12 +0100)]
Horde_Share throws exceptions.
Jan Schneider [Thu, 16 Dec 2010 21:50:17 +0000 (22:50 +0100)]
Add skeleton for sql driver test.
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.