Chuck Hagenbuch [Sun, 28 Nov 2010 01:22:57 +0000 (20:22 -0500)]
Include the invalid revision in the exception
Chuck Hagenbuch [Sat, 27 Nov 2010 04:24:49 +0000 (23:24 -0500)]
Fix some caching logic, and store information we get from dependency objects once, rather than having to re-fetch it when a cached Log object is retrieved.
Michael J. Rubinsky [Sat, 27 Nov 2010 05:40:27 +0000 (00:40 -0500)]
experiment with showing the pageLoading indicator
Michael J. Rubinsky [Sat, 27 Nov 2010 05:35:24 +0000 (00:35 -0500)]
Begin checking for errors, messages, session time out etc...
Michael J. Rubinsky [Sat, 27 Nov 2010 05:13:07 +0000 (00:13 -0500)]
Fix adding script files for kronolith mobile view
Ian Roth [Wed, 17 Nov 2010 22:19:24 +0000 (17:19 -0500)]
fixes Bug: 9394
Signed-off-by: Michael J. Rubinsky <mrubinsk@horde.org>
Ian Roth [Sat, 27 Nov 2010 03:55:13 +0000 (22:55 -0500)]
Add initial Jonah migration scripts
Signed-off-by: Michael J. Rubinsky <mrubinsk@horde.org>
Bug: 9393
Does not include the migration for the tagger changes, since the tagger code still needs work.
Jan Schneider [Thu, 25 Nov 2010 20:30:41 +0000 (21:30 +0100)]
Fix inconsistent cache keys (Bug #9392).
Jan Schneider [Thu, 25 Nov 2010 20:26:34 +0000 (21:26 +0100)]
Use personal address books first if determining the default one (Valentin Vidic, Request #9367).
Jan Schneider [Thu, 25 Nov 2010 15:11:17 +0000 (16:11 +0100)]
Return back to production value.
Jan Schneider [Thu, 25 Nov 2010 15:07:49 +0000 (16:07 +0100)]
Poll for alarms and keep session fresh.
Jan Schneider [Thu, 25 Nov 2010 14:13:33 +0000 (15:13 +0100)]
No longer necessary.
Gunnar Wrobel [Thu, 25 Nov 2010 14:31:34 +0000 (15:31 +0100)]
Update package.xml.
Gunnar Wrobel [Thu, 25 Nov 2010 14:31:23 +0000 (15:31 +0100)]
Fix the .gitignore to not ignore horde/admin/config/*.
Components was not picking up these files for the package.xml.
Gunnar Wrobel [Thu, 25 Nov 2010 14:24:41 +0000 (15:24 +0100)]
Ensure we get a decent display about the package.xml problems.
Gunnar Wrobel [Thu, 25 Nov 2010 14:24:06 +0000 (15:24 +0100)]
Use Horde_Test for autoloading.
Gunnar Wrobel [Thu, 25 Nov 2010 14:23:44 +0000 (15:23 +0100)]
Use the current error reporting as a base.
Otherwise we get E_DEPRECATED activated during autoloading even it was
removed before.
Jan Schneider [Thu, 25 Nov 2010 13:58:44 +0000 (14:58 +0100)]
Show portal link only in Horde. Can be added manually by configuration if necessary.
Jan Schneider [Thu, 25 Nov 2010 13:57:44 +0000 (14:57 +0100)]
Center align icons.
Michael M Slusarz [Thu, 25 Nov 2010 05:26:39 +0000 (22:26 -0700)]
Prefs UI fixes
Remove prefsEnum() call; replace with prefsGroup() call
prefsInit() is designed for tasks that need to run once on the page.
This is where all suppressGroups handling should go.
Next, prefsGroups() is used to determine the list of prefs that need to
be updated. However, after prefs are updated, suppressed prefs may
change so we need to run prefsGroups() again to get the updated list of
suppressed prefs for display.
prefsEnum() becomes redundant because it can be handled in either
prefsInit() or prefsGroups().
Michael M Slusarz [Thu, 25 Nov 2010 03:37:52 +0000 (20:37 -0700)]
RecursiveDirectoryIterator was expected to throw an exception
But in hindsight that doesn't make sense. So catch the exception and
skip processing if caught.
Michael M Slusarz [Wed, 24 Nov 2010 23:29:45 +0000 (16:29 -0700)]
Fix function call
Michael M Slusarz [Wed, 24 Nov 2010 22:42:24 +0000 (15:42 -0700)]
Partial revert of
32a4f6ed963f7b08dec90285b09a3c170b7ca09f
The last internal recursive call to the function will most likely not be
an array - so we can't typehint.
Michael M Slusarz [Wed, 24 Nov 2010 21:44:16 +0000 (14:44 -0700)]
JSON encode prefs scope object when serializing.
Another advantage of requiring UTF-8 input to prefs - JSON encoding
provides ~12% storage advantage (in my limited testing) over serialize().
Michael M Slusarz [Wed, 24 Nov 2010 20:48:14 +0000 (13:48 -0700)]
Use better signature for session blocks data
Michael M Slusarz [Wed, 24 Nov 2010 19:23:08 +0000 (12:23 -0700)]
Add mailbox name to context menu
Chuck Hagenbuch [Thu, 25 Nov 2010 02:38:27 +0000 (21:38 -0500)]
RecursiveDirectoryIterator throws a fatal error if the directory doesn't exist, so check first
Michael M Slusarz [Wed, 24 Nov 2010 18:50:23 +0000 (11:50 -0700)]
Fix mailbox list generation in IMP
In [M]IMP message mode, we want to use a cached version of the mailbox
list in order to prevent wild index swings when deleting messages.
However, we also need to make sure that we correctly rebuild the mailbox
once we return to the mailbox view since things may have changed in the
meantime.
Michael M Slusarz [Wed, 24 Nov 2010 18:23:34 +0000 (11:23 -0700)]
phpdoc; fix return value
Michael M Slusarz [Wed, 24 Nov 2010 17:53:48 +0000 (10:53 -0700)]
Horde_Session does the necessary serialization; if passed an array, it will also compress it
Michael M Slusarz [Wed, 24 Nov 2010 16:51:40 +0000 (09:51 -0700)]
Bug #9397: fields is never determined
Michael M Slusarz [Wed, 24 Nov 2010 16:42:07 +0000 (09:42 -0700)]
Fix typo
Michael M Slusarz [Wed, 24 Nov 2010 16:35:15 +0000 (09:35 -0700)]
Fix typo
Michael M Slusarz [Wed, 24 Nov 2010 16:12:24 +0000 (09:12 -0700)]
Partial revert of
160b49be4e0fcf4f89d9cb366acba6e15a1c6758
We want filenames stored in _cssThemeFiles to prevent duplicates.
Michael M Slusarz [Wed, 24 Nov 2010 16:10:49 +0000 (09:10 -0700)]
Remove duplicate script declaration
Jan Schneider [Wed, 24 Nov 2010 15:48:27 +0000 (16:48 +0100)]
Implement advance header view.
Jan Schneider [Wed, 24 Nov 2010 15:45:33 +0000 (16:45 +0100)]
There's no reason to send an empty header value.
Jan Schneider [Wed, 24 Nov 2010 15:45:12 +0000 (16:45 +0100)]
Reset message view on load.
Jan Schneider [Wed, 24 Nov 2010 14:52:58 +0000 (15:52 +0100)]
Tweak mailbox and message views.
Jan Schneider [Wed, 24 Nov 2010 14:28:23 +0000 (15:28 +0100)]
Add style for HTML iframes.
Jan Schneider [Wed, 24 Nov 2010 14:28:06 +0000 (15:28 +0100)]
Merge from imp.js.
Jan Schneider [Wed, 24 Nov 2010 14:27:50 +0000 (15:27 +0100)]
Subject data is already HTML encoded.
Jan Schneider [Wed, 24 Nov 2010 14:27:12 +0000 (15:27 +0100)]
Re-add loading horde-jquery.js.
Jan Schneider [Wed, 24 Nov 2010 14:25:41 +0000 (15:25 +0100)]
Fix adding theme files. phpdoc.
Michael M Slusarz [Wed, 24 Nov 2010 15:54:22 +0000 (08:54 -0700)]
Bug #9404: Fix sound listing
This changes the serialized cache format so you will need to run:
horde/bin/themes --expirecache
(Not going to bother with internal cache invalidation until themes code
stabilizes).
Michael M Slusarz [Wed, 24 Nov 2010 15:50:44 +0000 (08:50 -0700)]
Make sure sound file is a wav file
Michael M Slusarz [Wed, 24 Nov 2010 15:35:03 +0000 (08:35 -0700)]
Bug #9404: Fix flag image generation
Chuck Hagenbuch [Wed, 24 Nov 2010 15:37:42 +0000 (10:37 -0500)]
Use a partial for showing log messages - this can be re-used in other places soon
Chuck Hagenbuch [Wed, 24 Nov 2010 15:35:30 +0000 (10:35 -0500)]
Try using stream_get_contents to read all data from the pipe rather than lots of fgets() calls
Chuck Hagenbuch [Wed, 24 Nov 2010 15:32:49 +0000 (10:32 -0500)]
Helper methods for getting the number of added and deleted lines on a patchset without having to know the internals of the patchset object.
Chuck Hagenbuch [Wed, 24 Nov 2010 15:32:23 +0000 (10:32 -0500)]
Whitespace
Chuck Hagenbuch [Wed, 24 Nov 2010 15:29:59 +0000 (10:29 -0500)]
Make sure $opts is an array before sorting it
Jan Schneider [Wed, 24 Nov 2010 10:30:27 +0000 (11:30 +0100)]
Fix addScriptFile() calls.
Carlos Timóteo [Tue, 23 Nov 2010 17:00:37 +0000 (17:00 +0000)]
Fix to description function
Signed-off-by: Jan Schneider <jan@horde.org>
Jan Schneider [Tue, 23 Nov 2010 18:18:28 +0000 (19:18 +0100)]
Reset map.
Jan Schneider [Tue, 23 Nov 2010 18:13:49 +0000 (19:13 +0100)]
Fix updating coordinates.
Michael M Slusarz [Wed, 24 Nov 2010 07:37:45 +0000 (00:37 -0700)]
Better error handling if cache entries can not be deleted
Michael M Slusarz [Wed, 24 Nov 2010 07:14:33 +0000 (00:14 -0700)]
file_exists() -> is_readable()
Michael M Slusarz [Wed, 24 Nov 2010 07:14:17 +0000 (00:14 -0700)]
Cleanups in memcache_stats script
Michael M Slusarz [Wed, 24 Nov 2010 07:08:49 +0000 (00:08 -0700)]
Fix deleting user flag
Michael M Slusarz [Wed, 24 Nov 2010 06:37:44 +0000 (23:37 -0700)]
CSS tweak for no messages display
Michael M Slusarz [Tue, 23 Nov 2010 22:58:00 +0000 (15:58 -0700)]
Bring back iframe resize delay
Chuck Hagenbuch [Wed, 24 Nov 2010 05:03:25 +0000 (00:03 -0500)]
whitespace
Chuck Hagenbuch [Wed, 24 Nov 2010 05:02:02 +0000 (00:02 -0500)]
Horde_View_Base -> Horde_View
Chuck Hagenbuch [Wed, 24 Nov 2010 05:01:11 +0000 (00:01 -0500)]
Split single and multiple patchset views. Don't show individual files in multiple patchset views.
Chuck Hagenbuch [Wed, 24 Nov 2010 04:47:21 +0000 (23:47 -0500)]
Catch and log exceptions in __toString() rather than causing a fatal error
Chuck Hagenbuch [Wed, 24 Nov 2010 03:41:49 +0000 (22:41 -0500)]
Fix scope
Chuck Hagenbuch [Wed, 24 Nov 2010 03:39:44 +0000 (22:39 -0500)]
Fix some variable names and undefined variable/index warnings
Michael M Slusarz [Tue, 23 Nov 2010 22:45:10 +0000 (15:45 -0700)]
Suppress file access warnings
Michael M Slusarz [Tue, 23 Nov 2010 22:34:54 +0000 (15:34 -0700)]
Add command-line script to flush horde themes cache
Michael M Slusarz [Tue, 23 Nov 2010 22:24:02 +0000 (15:24 -0700)]
No more build
Michael M Slusarz [Tue, 23 Nov 2010 22:13:40 +0000 (15:13 -0700)]
Fix current session counting
Instead of trying to manually parse PHP session serialization format,
use the session_decode() function to do the heavy lifting for us. We
need to do some session gymnastics to make this work properly
(session_decode() will overwrite the current session data), but it
works.
Michael M Slusarz [Tue, 23 Nov 2010 21:06:26 +0000 (14:06 -0700)]
Don't do mtime checking in Horde_Themes_Css
Michael M Slusarz [Tue, 23 Nov 2010 20:55:15 +0000 (13:55 -0700)]
Add theme cache checking options.
Defaults to application version checking.
Michael M Slusarz [Tue, 23 Nov 2010 20:37:34 +0000 (13:37 -0700)]
Allow theme cache lifetime to be configured
Michael M Slusarz [Tue, 23 Nov 2010 20:18:39 +0000 (13:18 -0700)]
Move cache invalidation to Horde_Themes_Cache
Michael M Slusarz [Tue, 23 Nov 2010 18:58:35 +0000 (11:58 -0700)]
Horde_Themes_Build -> Horde_Themes_Cache
Chuck Hagenbuch [Tue, 23 Nov 2010 21:36:47 +0000 (16:36 -0500)]
Remove AWS stubs; we should look at integrating their official SDK
Michael M Slusarz [Tue, 23 Nov 2010 18:35:37 +0000 (11:35 -0700)]
Add ability to disable theme caching
Michael M Slusarz [Tue, 23 Nov 2010 18:19:36 +0000 (11:19 -0700)]
Remove H3 BC code
Michael M Slusarz [Tue, 23 Nov 2010 18:18:16 +0000 (11:18 -0700)]
Cleanup caching config options
Michael M Slusarz [Tue, 23 Nov 2010 05:20:11 +0000 (22:20 -0700)]
Add theme caching.
Themes are only cached if Horde_Cache is configured.
TODO: Config option to disable this (and configurable lifetime)
Script in horde/bin that will flush cache
Debug logging
Right now, themes are cached for 1 day and will be invalidated if the
app's (or horde's) version number changes.
Michael M Slusarz [Mon, 22 Nov 2010 08:13:54 +0000 (01:13 -0700)]
session data doesn't exist if session expired so logout message would never be displayed
Michael M Slusarz [Mon, 22 Nov 2010 04:38:48 +0000 (21:38 -0700)]
Cleanup devtools directory
Michael M Slusarz [Mon, 22 Nov 2010 09:03:42 +0000 (02:03 -0700)]
Use Horde methods to output CSS/JS on new mobile pages to take advantage of caching/compression
Michael M Slusarz [Mon, 22 Nov 2010 09:03:02 +0000 (02:03 -0700)]
Use Horde_Themes_Css to output stylesheets
Michael M Slusarz [Mon, 22 Nov 2010 01:53:03 +0000 (18:53 -0700)]
Consolidate into a single feed XSL file - accessed via Horde_Themes::getFeedXsl()
Michael M Slusarz [Sun, 21 Nov 2010 22:06:22 +0000 (15:06 -0700)]
Add getBaseStylesheetList() and addThemeStylesheet()
Michael M Slusarz [Sun, 21 Nov 2010 21:45:43 +0000 (14:45 -0700)]
documentation tweaks
Michael M Slusarz [Sun, 21 Nov 2010 21:45:36 +0000 (14:45 -0700)]
sidebar_prefs isn't used
Michael M Slusarz [Sun, 21 Nov 2010 21:37:27 +0000 (14:37 -0700)]
Move horde icon CSS to Horde.
Michael M Slusarz [Sun, 21 Nov 2010 21:02:06 +0000 (14:02 -0700)]
Move default theme info to the default directory
Michael M Slusarz [Sun, 21 Nov 2010 21:01:40 +0000 (14:01 -0700)]
Remove non-existant/unused themes
Michael M Slusarz [Sun, 21 Nov 2010 20:52:32 +0000 (13:52 -0700)]
Add Horde_Themes::themeList()
Jan Schneider [Mon, 22 Nov 2010 18:21:25 +0000 (19:21 +0100)]
Add message loading. Basic functionality is complete.
Jan Schneider [Mon, 22 Nov 2010 18:20:09 +0000 (19:20 +0100)]
Add Array.numericSort().
Jan Schneider [Mon, 22 Nov 2010 15:43:57 +0000 (16:43 +0100)]
Fix method name.
Jan Schneider [Mon, 22 Nov 2010 13:09:54 +0000 (14:09 +0100)]
For now, always sort by date, and always displaye the most recent messages.
Jan Schneider [Mon, 22 Nov 2010 13:02:41 +0000 (14:02 +0100)]
Remove redundancy from file name.
Gunnar Wrobel [Mon, 22 Nov 2010 04:00:55 +0000 (05:00 +0100)]
Update package.xml.