horde.git
15 years agoPoll for alarms and keep session fresh.
Jan Schneider [Thu, 25 Nov 2010 15:07:49 +0000 (16:07 +0100)]
Poll for alarms and keep session fresh.

15 years agoNo longer necessary.
Jan Schneider [Thu, 25 Nov 2010 14:13:33 +0000 (15:13 +0100)]
No longer necessary.

15 years agoUpdate package.xml.
Gunnar Wrobel [Thu, 25 Nov 2010 14:31:34 +0000 (15:31 +0100)]
Update package.xml.

15 years agoFix the .gitignore to not ignore horde/admin/config/*.
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.

15 years agoEnsure we get a decent display about the package.xml problems.
Gunnar Wrobel [Thu, 25 Nov 2010 14:24:41 +0000 (15:24 +0100)]
Ensure we get a decent display about the package.xml problems.

15 years agoUse Horde_Test for autoloading.
Gunnar Wrobel [Thu, 25 Nov 2010 14:24:06 +0000 (15:24 +0100)]
Use Horde_Test for autoloading.

15 years agoUse the current error reporting as a base.
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.

15 years agoShow portal link only in Horde. Can be added manually by configuration if necessary.
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.

15 years agoCenter align icons.
Jan Schneider [Thu, 25 Nov 2010 13:57:44 +0000 (14:57 +0100)]
Center align icons.

15 years agoPrefs UI fixes
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().

15 years agoRecursiveDirectoryIterator was expected to throw an exception
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.

15 years agoFix function call
Michael M Slusarz [Wed, 24 Nov 2010 23:29:45 +0000 (16:29 -0700)]
Fix function call

15 years agoPartial revert of 32a4f6ed963f7b08dec90285b09a3c170b7ca09f
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.

15 years agoJSON encode prefs scope object when serializing.
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().

15 years agoUse better signature for session blocks data
Michael M Slusarz [Wed, 24 Nov 2010 20:48:14 +0000 (13:48 -0700)]
Use better signature for session blocks data

15 years agoAdd mailbox name to context menu
Michael M Slusarz [Wed, 24 Nov 2010 19:23:08 +0000 (12:23 -0700)]
Add mailbox name to context menu

15 years agoRecursiveDirectoryIterator throws a fatal error if the directory doesn't exist, so...
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

15 years agoFix mailbox list generation in IMP
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.

15 years agophpdoc; fix return value
Michael M Slusarz [Wed, 24 Nov 2010 18:23:34 +0000 (11:23 -0700)]
phpdoc; fix return value

15 years agoHorde_Session does the necessary serialization; if passed an array, it will also...
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

15 years agoBug #9397: fields is never determined
Michael M Slusarz [Wed, 24 Nov 2010 16:51:40 +0000 (09:51 -0700)]
Bug #9397: fields is never determined

15 years agoFix typo
Michael M Slusarz [Wed, 24 Nov 2010 16:42:07 +0000 (09:42 -0700)]
Fix typo

15 years agoFix typo
Michael M Slusarz [Wed, 24 Nov 2010 16:35:15 +0000 (09:35 -0700)]
Fix typo

15 years agoPartial revert of 160b49be4e0fcf4f89d9cb366acba6e15a1c6758
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.

15 years agoRemove duplicate script declaration
Michael M Slusarz [Wed, 24 Nov 2010 16:10:49 +0000 (09:10 -0700)]
Remove duplicate script declaration

15 years agoImplement advance header view.
Jan Schneider [Wed, 24 Nov 2010 15:48:27 +0000 (16:48 +0100)]
Implement advance header view.

15 years agoThere's no reason to send an empty header value.
Jan Schneider [Wed, 24 Nov 2010 15:45:33 +0000 (16:45 +0100)]
There's no reason to send an empty header value.

15 years agoReset message view on load.
Jan Schneider [Wed, 24 Nov 2010 15:45:12 +0000 (16:45 +0100)]
Reset message view on load.

15 years agoTweak mailbox and message views.
Jan Schneider [Wed, 24 Nov 2010 14:52:58 +0000 (15:52 +0100)]
Tweak mailbox and message views.

15 years agoAdd style for HTML iframes.
Jan Schneider [Wed, 24 Nov 2010 14:28:23 +0000 (15:28 +0100)]
Add style for HTML iframes.

15 years agoMerge from imp.js.
Jan Schneider [Wed, 24 Nov 2010 14:28:06 +0000 (15:28 +0100)]
Merge from imp.js.

15 years agoSubject data is already HTML encoded.
Jan Schneider [Wed, 24 Nov 2010 14:27:50 +0000 (15:27 +0100)]
Subject data is already HTML encoded.

15 years agoRe-add loading horde-jquery.js.
Jan Schneider [Wed, 24 Nov 2010 14:27:12 +0000 (15:27 +0100)]
Re-add loading horde-jquery.js.

15 years agoFix adding theme files. phpdoc.
Jan Schneider [Wed, 24 Nov 2010 14:25:41 +0000 (15:25 +0100)]
Fix adding theme files. phpdoc.

15 years agoBug #9404: Fix sound listing
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).

15 years agoMake sure sound file is a wav file
Michael M Slusarz [Wed, 24 Nov 2010 15:50:44 +0000 (08:50 -0700)]
Make sure sound file is a wav file

15 years agoBug #9404: Fix flag image generation
Michael M Slusarz [Wed, 24 Nov 2010 15:35:03 +0000 (08:35 -0700)]
Bug #9404: Fix flag image generation

15 years agoUse a partial for showing log messages - this can be re-used in other places soon
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

15 years agoTry using stream_get_contents to read all data from the pipe rather than lots of...
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

15 years agoHelper methods for getting the number of added and deleted lines on a patchset withou...
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.

15 years agoWhitespace
Chuck Hagenbuch [Wed, 24 Nov 2010 15:32:23 +0000 (10:32 -0500)]
Whitespace

15 years agoMake sure $opts is an array before sorting it
Chuck Hagenbuch [Wed, 24 Nov 2010 15:29:59 +0000 (10:29 -0500)]
Make sure $opts is an array before sorting it

15 years agoFix addScriptFile() calls.
Jan Schneider [Wed, 24 Nov 2010 10:30:27 +0000 (11:30 +0100)]
Fix addScriptFile() calls.

15 years agoFix to description function
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>
15 years agoReset map.
Jan Schneider [Tue, 23 Nov 2010 18:18:28 +0000 (19:18 +0100)]
Reset map.

15 years agoFix updating coordinates.
Jan Schneider [Tue, 23 Nov 2010 18:13:49 +0000 (19:13 +0100)]
Fix updating coordinates.

15 years agoBetter error handling if cache entries can not be deleted
Michael M Slusarz [Wed, 24 Nov 2010 07:37:45 +0000 (00:37 -0700)]
Better error handling if cache entries can not be deleted

15 years agofile_exists() -> is_readable()
Michael M Slusarz [Wed, 24 Nov 2010 07:14:33 +0000 (00:14 -0700)]
file_exists() -> is_readable()

15 years agoCleanups in memcache_stats script
Michael M Slusarz [Wed, 24 Nov 2010 07:14:17 +0000 (00:14 -0700)]
Cleanups in memcache_stats script

15 years agoFix deleting user flag
Michael M Slusarz [Wed, 24 Nov 2010 07:08:49 +0000 (00:08 -0700)]
Fix deleting user flag

15 years agoCSS tweak for no messages display
Michael M Slusarz [Wed, 24 Nov 2010 06:37:44 +0000 (23:37 -0700)]
CSS tweak for no messages display

15 years agoBring back iframe resize delay
Michael M Slusarz [Tue, 23 Nov 2010 22:58:00 +0000 (15:58 -0700)]
Bring back iframe resize delay

15 years agowhitespace
Chuck Hagenbuch [Wed, 24 Nov 2010 05:03:25 +0000 (00:03 -0500)]
whitespace

15 years agoHorde_View_Base -> Horde_View
Chuck Hagenbuch [Wed, 24 Nov 2010 05:02:02 +0000 (00:02 -0500)]
Horde_View_Base -> Horde_View

15 years agoSplit single and multiple patchset views. Don't show individual files in multiple...
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.

15 years agoCatch and log exceptions in __toString() rather than causing a fatal error
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

15 years agoFix scope
Chuck Hagenbuch [Wed, 24 Nov 2010 03:41:49 +0000 (22:41 -0500)]
Fix scope

15 years agoFix some variable names and undefined variable/index warnings
Chuck Hagenbuch [Wed, 24 Nov 2010 03:39:44 +0000 (22:39 -0500)]
Fix some variable names and undefined variable/index warnings

15 years agoSuppress file access warnings
Michael M Slusarz [Tue, 23 Nov 2010 22:45:10 +0000 (15:45 -0700)]
Suppress file access warnings

15 years agoAdd command-line script to flush horde themes cache
Michael M Slusarz [Tue, 23 Nov 2010 22:34:54 +0000 (15:34 -0700)]
Add command-line script to flush horde themes cache

15 years agoNo more build
Michael M Slusarz [Tue, 23 Nov 2010 22:24:02 +0000 (15:24 -0700)]
No more build

15 years agoFix current session counting
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.

15 years agoDon't do mtime checking in Horde_Themes_Css
Michael M Slusarz [Tue, 23 Nov 2010 21:06:26 +0000 (14:06 -0700)]
Don't do mtime checking in Horde_Themes_Css

15 years agoAdd theme cache checking options.
Michael M Slusarz [Tue, 23 Nov 2010 20:55:15 +0000 (13:55 -0700)]
Add theme cache checking options.

Defaults to application version checking.

15 years agoAllow theme cache lifetime to be configured
Michael M Slusarz [Tue, 23 Nov 2010 20:37:34 +0000 (13:37 -0700)]
Allow theme cache lifetime to be configured

15 years agoMove cache invalidation to Horde_Themes_Cache
Michael M Slusarz [Tue, 23 Nov 2010 20:18:39 +0000 (13:18 -0700)]
Move cache invalidation to Horde_Themes_Cache

15 years agoHorde_Themes_Build -> Horde_Themes_Cache
Michael M Slusarz [Tue, 23 Nov 2010 18:58:35 +0000 (11:58 -0700)]
Horde_Themes_Build -> Horde_Themes_Cache

15 years agoRemove AWS stubs; we should look at integrating their official SDK
Chuck Hagenbuch [Tue, 23 Nov 2010 21:36:47 +0000 (16:36 -0500)]
Remove AWS stubs; we should look at integrating their official SDK

15 years agoAdd ability to disable theme caching
Michael M Slusarz [Tue, 23 Nov 2010 18:35:37 +0000 (11:35 -0700)]
Add ability to disable theme caching

15 years agoRemove H3 BC code
Michael M Slusarz [Tue, 23 Nov 2010 18:19:36 +0000 (11:19 -0700)]
Remove H3 BC code

15 years agoCleanup caching config options
Michael M Slusarz [Tue, 23 Nov 2010 18:18:16 +0000 (11:18 -0700)]
Cleanup caching config options

15 years agoAdd theme caching.
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.

15 years agosession data doesn't exist if session expired so logout message would never be displayed
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

15 years agoCleanup devtools directory
Michael M Slusarz [Mon, 22 Nov 2010 04:38:48 +0000 (21:38 -0700)]
Cleanup devtools directory

15 years agoUse Horde methods to output CSS/JS on new mobile pages to take advantage of caching...
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

15 years agoUse Horde_Themes_Css to output stylesheets
Michael M Slusarz [Mon, 22 Nov 2010 09:03:02 +0000 (02:03 -0700)]
Use Horde_Themes_Css to output stylesheets

15 years agoConsolidate into a single feed XSL file - accessed via Horde_Themes::getFeedXsl()
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()

15 years agoAdd getBaseStylesheetList() and addThemeStylesheet()
Michael M Slusarz [Sun, 21 Nov 2010 22:06:22 +0000 (15:06 -0700)]
Add getBaseStylesheetList() and addThemeStylesheet()

15 years agodocumentation tweaks
Michael M Slusarz [Sun, 21 Nov 2010 21:45:43 +0000 (14:45 -0700)]
documentation tweaks

15 years agosidebar_prefs isn't used
Michael M Slusarz [Sun, 21 Nov 2010 21:45:36 +0000 (14:45 -0700)]
sidebar_prefs isn't used

15 years agoMove horde icon CSS to Horde.
Michael M Slusarz [Sun, 21 Nov 2010 21:37:27 +0000 (14:37 -0700)]
Move horde icon CSS to Horde.

15 years agoMove default theme info to the default directory
Michael M Slusarz [Sun, 21 Nov 2010 21:02:06 +0000 (14:02 -0700)]
Move default theme info to the default directory

15 years agoRemove non-existant/unused themes
Michael M Slusarz [Sun, 21 Nov 2010 21:01:40 +0000 (14:01 -0700)]
Remove non-existant/unused themes

15 years agoAdd Horde_Themes::themeList()
Michael M Slusarz [Sun, 21 Nov 2010 20:52:32 +0000 (13:52 -0700)]
Add Horde_Themes::themeList()

15 years agoAdd message loading. Basic functionality is complete.
Jan Schneider [Mon, 22 Nov 2010 18:21:25 +0000 (19:21 +0100)]
Add message loading. Basic functionality is complete.

15 years agoAdd Array.numericSort().
Jan Schneider [Mon, 22 Nov 2010 18:20:09 +0000 (19:20 +0100)]
Add Array.numericSort().

15 years agoFix method name.
Jan Schneider [Mon, 22 Nov 2010 15:43:57 +0000 (16:43 +0100)]
Fix method name.

15 years agoFor now, always sort by date, and always displaye the most recent messages.
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.

15 years agoRemove redundancy from file name.
Jan Schneider [Mon, 22 Nov 2010 13:02:41 +0000 (14:02 +0100)]
Remove redundancy from file name.

15 years agoUpdate package.xml.
Gunnar Wrobel [Mon, 22 Nov 2010 04:00:55 +0000 (05:00 +0100)]
Update package.xml.

15 years agoConsolidate some code, better determination of when to (re)build the minical
Michael J. Rubinsky [Mon, 22 Nov 2010 02:52:03 +0000 (21:52 -0500)]
Consolidate some code, better determination of when to (re)build the minical

15 years agoBe consistent with using classnames and date objects
Michael J. Rubinsky [Mon, 22 Nov 2010 02:06:54 +0000 (21:06 -0500)]
Be consistent with using classnames and date objects

15 years agofurther simplify and tweak event view
Michael J. Rubinsky [Mon, 22 Nov 2010 01:06:51 +0000 (20:06 -0500)]
further simplify and tweak event view

15 years agoMake sure we have a bottom rounded element
Michael J. Rubinsky [Mon, 22 Nov 2010 00:37:25 +0000 (19:37 -0500)]
Make sure we have a bottom rounded element

15 years agoWeekday data in recursion object is given as a MASK_* constant,
Michael J. Rubinsky [Mon, 22 Nov 2010 00:31:18 +0000 (19:31 -0500)]
Weekday data in recursion object is given as a MASK_* constant,
not a DATE_* constant.

15 years agoFix off by one error, some phpdoc
Michael J. Rubinsky [Sun, 21 Nov 2010 23:40:37 +0000 (18:40 -0500)]
Fix off by one error, some phpdoc

15 years agoremove accidently added test file
Michael J. Rubinsky [Sun, 21 Nov 2010 23:40:11 +0000 (18:40 -0500)]
remove accidently added test file

15 years agoAdd ViewPort_Buffer#UIDsToRows
Michael M Slusarz [Sun, 21 Nov 2010 19:09:14 +0000 (12:09 -0700)]
Add ViewPort_Buffer#UIDsToRows

15 years agoFix selecting all rows in a viewport
Michael M Slusarz [Sun, 21 Nov 2010 19:09:02 +0000 (12:09 -0700)]
Fix selecting all rows in a viewport

15 years agocode documentation cleanups
Michael M Slusarz [Sun, 21 Nov 2010 18:30:02 +0000 (11:30 -0700)]
code documentation cleanups