horde.git
15 years agoAdd function to generate signed tokens.
Gunnar Wrobel [Tue, 30 Nov 2010 05:32:09 +0000 (06:32 +0100)]
Add function to generate signed tokens.

15 years agoAdd the secret parameter to the token system.
Gunnar Wrobel [Tue, 30 Nov 2010 05:05:00 +0000 (06:05 +0100)]
Add the secret parameter to the token system.

15 years agoSimplify.
Gunnar Wrobel [Tue, 30 Nov 2010 04:36:58 +0000 (05:36 +0100)]
Simplify.

15 years agoAdd a simple nonce-returning function.
Gunnar Wrobel [Tue, 30 Nov 2010 04:35:04 +0000 (05:35 +0100)]
Add a simple nonce-returning function.

I avoided Horde_Nonce for now as I got doubts whether Horde really
needs the complexity of Horde_Nonce.

15 years agoCleanup.
Gunnar Wrobel [Wed, 17 Nov 2010 16:37:34 +0000 (17:37 +0100)]
Cleanup.

15 years agoDo not let Crypt_Blowfish die on exceptions.
Gunnar Wrobel [Wed, 17 Nov 2010 16:30:50 +0000 (17:30 +0100)]
Do not let Crypt_Blowfish die on exceptions.

I'm not 100% certain this commit introduces the best way of dealing
with Crypt_Blowfish errors. As far as I can see there are four
situations that Crypt_Blowfish considers to be an error. In each of
these cases the library will unconditionally raise a PEAR error with
the mode "PEAR_ERROR_DIE". Which will unconditionally kill us.

Apparently one such situation has already been hit (commit
271ce27ceee4749c667b3d0b51be8947c915472d).

Now we are double checking input in both Horde_Secret and
Crypt_Blowfish but on the other hand we don't have to check the return
values anymore.

15 years agoAdd a test for the null padding issue.
Gunnar Wrobel [Wed, 17 Nov 2010 15:49:10 +0000 (16:49 +0100)]
Add a test for the null padding issue.

15 years agoAh, looks like Null-padding killed the tests :)
Gunnar Wrobel [Wed, 17 Nov 2010 15:35:57 +0000 (16:35 +0100)]
Ah, looks like Null-padding killed the tests :)

15 years agoUpdated package.xml and some phpdoc.
Gunnar Wrobel [Wed, 17 Nov 2010 15:30:46 +0000 (16:30 +0100)]
Updated package.xml and some phpdoc.

15 years agoA first, simple bloom filter.
Gunnar Wrobel [Wed, 17 Nov 2010 14:02:44 +0000 (15:02 +0100)]
A first, simple bloom filter.

15 years agoAdded a first hashing algorithm (for session based nonce invalidation).
Gunnar Wrobel [Mon, 15 Nov 2010 08:02:58 +0000 (09:02 +0100)]
Added a first hashing algorithm (for session based nonce invalidation).

15 years agoTimestamp validation.
Gunnar Wrobel [Wed, 3 Nov 2010 20:01:46 +0000 (21:01 +0100)]
Timestamp validation.

15 years agoStarted validation testing.
Gunnar Wrobel [Wed, 3 Nov 2010 17:51:49 +0000 (18:51 +0100)]
Started validation testing.

15 years agoConsistently use data theme A in all apps.
Jan Schneider [Tue, 30 Nov 2010 12:32:16 +0000 (13:32 +0100)]
Consistently use data theme A in all apps.

15 years agoUse dialog view for events.
Jan Schneider [Tue, 30 Nov 2010 12:31:11 +0000 (13:31 +0100)]
Use dialog view for events.

15 years agoAdd navigation between messages (of the currently loaded slice). Swipes don't work...
Jan Schneider [Tue, 30 Nov 2010 12:13:26 +0000 (13:13 +0100)]
Add navigation between messages (of the currently loaded slice). Swipes don't work well yet.

15 years agoFix generating configuration script.
Jan Schneider [Mon, 29 Nov 2010 21:35:32 +0000 (22:35 +0100)]
Fix generating configuration script.

15 years agoFix path.
Jan Schneider [Mon, 29 Nov 2010 21:15:12 +0000 (22:15 +0100)]
Fix path.

15 years agoOnly show unread messages bold. It doesn't make much sense, but the viewport data...
Jan Schneider [Mon, 29 Nov 2010 18:00:59 +0000 (19:00 +0100)]
Only show unread messages bold. It doesn't make much sense, but the viewport data returns the seen flag reversed.

15 years agoShow 'more..' entry if there are more messages in the mailbox. Doesn't do anything...
Jan Schneider [Mon, 29 Nov 2010 17:58:56 +0000 (18:58 +0100)]
Show 'more..' entry if there are more messages in the mailbox. Doesn't do anything yet.

15 years agoFinish display of notification messages. Embedded HTML doesn't work well yet.
Jan Schneider [Mon, 29 Nov 2010 17:01:26 +0000 (18:01 +0100)]
Finish display of notification messages. Embedded HTML doesn't work well yet.

15 years agoInitial content.
Jan Schneider [Mon, 29 Nov 2010 16:56:08 +0000 (17:56 +0100)]
Initial content.

15 years agoFix variable name.
Jan Schneider [Mon, 29 Nov 2010 16:12:18 +0000 (17:12 +0100)]
Fix variable name.

15 years agoAlignment of header labels.
Jan Schneider [Mon, 29 Nov 2010 15:13:37 +0000 (16:13 +0100)]
Alignment of header labels.

15 years agoTree is option for "Core" but it is mandatory for "horde"
Gunnar Wrobel [Mon, 29 Nov 2010 16:21:43 +0000 (17:21 +0100)]
Tree is option for "Core" but it is mandatory for "horde"

15 years agoFix the variable name in the error message.
Gunnar Wrobel [Mon, 29 Nov 2010 16:00:16 +0000 (17:00 +0100)]
Fix the variable name in the error message.

15 years agoMerge branch 'horde-prefs-file'
Gunnar Wrobel [Mon, 29 Nov 2010 15:50:46 +0000 (16:50 +0100)]
Merge branch 'horde-prefs-file'

15 years agoExtend testing and fix first bug.
Gunnar Wrobel [Mon, 29 Nov 2010 15:48:00 +0000 (16:48 +0100)]
Extend testing and fix first bug.

15 years agoStart test suite.
Gunnar Wrobel [Mon, 29 Nov 2010 15:41:56 +0000 (16:41 +0100)]
Start test suite.

15 years agoFix mozilla gradient definition
Chuck Hagenbuch [Mon, 29 Nov 2010 15:38:12 +0000 (10:38 -0500)]
Fix mozilla gradient definition

15 years agophpdoc
Gunnar Wrobel [Mon, 29 Nov 2010 15:36:54 +0000 (16:36 +0100)]
phpdoc

15 years agoDon't try to call js, if not passed back.
Jan Schneider [Mon, 29 Nov 2010 15:01:00 +0000 (16:01 +0100)]
Don't try to call js, if not passed back.

15 years agoAdd debug(), catch callback exceptions.
Jan Schneider [Mon, 29 Nov 2010 14:57:23 +0000 (15:57 +0100)]
Add debug(), catch callback exceptions.

15 years agoAdd a base object for common jQuery Mobile stuff.
Jan Schneider [Mon, 29 Nov 2010 14:32:19 +0000 (15:32 +0100)]
Add a base object for common jQuery Mobile stuff.

15 years agoAdapt to recent Horde_Session changes.
Gunnar Wrobel [Mon, 29 Nov 2010 05:51:40 +0000 (06:51 +0100)]
Adapt to recent Horde_Session changes.

15 years agoAdd optional dependency on Kolab_Session
Gunnar Wrobel [Mon, 29 Nov 2010 05:30:36 +0000 (06:30 +0100)]
Add optional dependency on Kolab_Session

15 years agoTypo.
Gunnar Wrobel [Mon, 29 Nov 2010 05:20:21 +0000 (06:20 +0100)]
Typo.

15 years agoAdd optional Db dependency.
Gunnar Wrobel [Mon, 29 Nov 2010 05:00:24 +0000 (06:00 +0100)]
Add optional Db dependency.

15 years agoMake recent styles more consistent in border color with existing styles, remove a...
Chuck Hagenbuch [Mon, 29 Nov 2010 03:38:05 +0000 (22:38 -0500)]
Make recent styles more consistent in border color with existing styles, remove a few unused styles

15 years agoUse the commit log partial when showing file checkouts
Chuck Hagenbuch [Mon, 29 Nov 2010 03:37:08 +0000 (22:37 -0500)]
Use the commit log partial when showing file checkouts

15 years agoLink to the patchset from the revision number - this still doesn't make perfect sense...
Chuck Hagenbuch [Mon, 29 Nov 2010 03:36:25 +0000 (22:36 -0500)]
Link to the patchset from the revision number - this still doesn't make perfect sense for VCSs other than git

15 years agoGenerate rendered checkout output before common-header.inc is included so that
Chuck Hagenbuch [Mon, 29 Nov 2010 03:21:47 +0000 (22:21 -0500)]
Generate rendered checkout output before common-header.inc is included so that
javascript and CSS is loaded correctly.

15 years agoCall highlight - we're already waiting for domload, and .all() fires on window.onload
Chuck Hagenbuch [Mon, 29 Nov 2010 03:13:22 +0000 (22:13 -0500)]
Call highlight - we're already waiting for domload, and .all() fires on window.onload

15 years agoAdd mandatory setting.
Gunnar Wrobel [Sun, 28 Nov 2010 20:42:02 +0000 (21:42 +0100)]
Add mandatory setting.

If this value is not present the startup fails with
Undefined index: max_exec_time in Registry.php  on line 345.

Or should the Registry define its own default?

15 years agoSplit subversion support files as well
Chuck Hagenbuch [Sun, 28 Nov 2010 04:02:16 +0000 (23:02 -0500)]
Split subversion support files as well

15 years agoFix access level on the SVN driver
Chuck Hagenbuch [Sun, 28 Nov 2010 03:55:16 +0000 (22:55 -0500)]
Fix access level on the SVN driver

15 years agoFix showing diffs for adding files on the first revision in the repository
Chuck Hagenbuch [Sun, 28 Nov 2010 03:54:26 +0000 (22:54 -0500)]
Fix showing diffs for adding files on the first revision in the repository

15 years agorevision_log style is deprecated
Chuck Hagenbuch [Sun, 28 Nov 2010 02:07:36 +0000 (21:07 -0500)]
revision_log style is deprecated

15 years agoRestore linebreaks that had been lost in commit messages
Chuck Hagenbuch [Sun, 28 Nov 2010 02:07:06 +0000 (21:07 -0500)]
Restore linebreaks that had been lost in commit messages

15 years agoBug #4578: Individual patchset view that includes the full diff.
Chuck Hagenbuch [Sun, 28 Nov 2010 02:04:05 +0000 (21:04 -0500)]
Bug #4578: Individual patchset view that includes the full diff.

15 years agoInclude the invalid revision in the exception
Chuck Hagenbuch [Sun, 28 Nov 2010 01:22:57 +0000 (20:22 -0500)]
Include the invalid revision in the exception

15 years agoFix some caching logic, and store information we get from dependency objects once...
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.

15 years agoexperiment with showing the pageLoading indicator
Michael J. Rubinsky [Sat, 27 Nov 2010 05:40:27 +0000 (00:40 -0500)]
experiment with showing the pageLoading indicator

15 years agoBegin checking for errors, messages, session time out etc...
Michael J. Rubinsky [Sat, 27 Nov 2010 05:35:24 +0000 (00:35 -0500)]
Begin checking for errors, messages, session time out etc...

15 years agoFix adding script files for kronolith mobile view
Michael J. Rubinsky [Sat, 27 Nov 2010 05:13:07 +0000 (00:13 -0500)]
Fix adding script files for kronolith mobile view

15 years agofixes Bug: 9394
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>
15 years agoAdd initial Jonah migration scripts
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.

15 years agoFix inconsistent cache keys (Bug #9392).
Jan Schneider [Thu, 25 Nov 2010 20:30:41 +0000 (21:30 +0100)]
Fix inconsistent cache keys (Bug #9392).

15 years agoUse personal address books first if determining the default one (Valentin Vidic,...
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).

15 years agoReturn back to production value.
Jan Schneider [Thu, 25 Nov 2010 15:11:17 +0000 (16:11 +0100)]
Return back to production value.

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.