horde.git
16 years agoWhitespace, docs, use Object.isUndefined() and Date.isBefore().
Jan Schneider [Mon, 27 Jul 2009 17:02:33 +0000 (19:02 +0200)]
Whitespace, docs, use Object.isUndefined() and Date.isBefore().

16 years agows
Jan Schneider [Mon, 27 Jul 2009 16:23:12 +0000 (18:23 +0200)]
ws

16 years agoFix url encoding.
Jan Schneider [Mon, 27 Jul 2009 12:51:38 +0000 (14:51 +0200)]
Fix url encoding.

16 years agoFix typo
Jan Schneider [Fri, 24 Jul 2009 14:07:47 +0000 (16:07 +0200)]
Fix typo

16 years agoConvert to new hooks code.
Michael M Slusarz [Mon, 27 Jul 2009 00:59:36 +0000 (18:59 -0600)]
Convert to new hooks code.

16 years agoConvert to new hooks code.
Michael M Slusarz [Mon, 27 Jul 2009 02:13:54 +0000 (20:13 -0600)]
Convert to new hooks code.

16 years agoNew hook handling code.
Michael M Slusarz [Sun, 26 Jul 2009 23:48:50 +0000 (17:48 -0600)]
New hook handling code.

16 years agoAdd system task type to logintasks - these are always run
Michael M Slusarz [Sun, 26 Jul 2009 22:24:17 +0000 (16:24 -0600)]
Add system task type to logintasks - these are always run

16 years agoAdd a once-only option for logintasks (different than first login interval)
Michael M Slusarz [Sun, 26 Jul 2009 22:22:59 +0000 (16:22 -0600)]
Add a once-only option for logintasks (different than first login interval)

16 years agoConvert to system tasks
Michael M Slusarz [Sat, 25 Jul 2009 23:59:14 +0000 (17:59 -0600)]
Convert to system tasks

16 years agoDon't need reference.
Michael M Slusarz [Sat, 25 Jul 2009 23:24:45 +0000 (17:24 -0600)]
Don't need reference.

16 years agoSome updates to lib/prefs.php to latest Horde 4 code.
Michael M Slusarz [Sat, 25 Jul 2009 23:12:52 +0000 (17:12 -0600)]
Some updates to lib/prefs.php to latest Horde 4 code.

16 years agoMove constants into IMP::.
Michael M Slusarz [Sat, 25 Jul 2009 23:03:34 +0000 (17:03 -0600)]
Move constants into IMP::.

16 years agoNeed a bit of time to allow location to take by browser.
Michael M Slusarz [Sat, 25 Jul 2009 22:35:28 +0000 (16:35 -0600)]
Need a bit of time to allow location to take by browser.

16 years agoImport nag from CVS HEAD
Michael M Slusarz [Sat, 25 Jul 2009 20:22:08 +0000 (14:22 -0600)]
Import nag from CVS HEAD

16 years agoUse horde-based prefs api script
Michael M Slusarz [Sat, 25 Jul 2009 18:15:46 +0000 (12:15 -0600)]
Use horde-based prefs api script

16 years agogetInstance() -> factory()
Michael M Slusarz [Sat, 25 Jul 2009 04:48:45 +0000 (22:48 -0600)]
getInstance() -> factory()

16 years agoFix hover effect over special folders
Michael M Slusarz [Sat, 25 Jul 2009 03:58:47 +0000 (21:58 -0600)]
Fix hover effect over special folders

16 years agoThis preference no longer exists.
Michael M Slusarz [Fri, 24 Jul 2009 21:57:51 +0000 (15:57 -0600)]
This preference no longer exists.

16 years agoUse Horde_String::truncate()
Michael M Slusarz [Fri, 24 Jul 2009 21:55:10 +0000 (15:55 -0600)]
Use Horde_String::truncate()

16 years agoMore concise, less wordy
Michael M Slusarz [Thu, 23 Jul 2009 23:01:09 +0000 (17:01 -0600)]
More concise, less wordy

16 years agoMerge from FW_3, fix warnings.
Michael J. Rubinsky [Sat, 25 Jul 2009 16:27:16 +0000 (12:27 -0400)]
Merge from FW_3, fix warnings.

16 years agofinish removing the last_file preference
Chuck Hagenbuch [Sat, 25 Jul 2009 15:50:22 +0000 (11:50 -0400)]
finish removing the last_file preference

16 years agogetInstance() -> factory()
Michael M Slusarz [Sat, 25 Jul 2009 04:46:26 +0000 (22:46 -0600)]
getInstance() -> factory()

16 years agothings can go wrong if substr converts an empty string to false
Chuck Hagenbuch [Fri, 24 Jul 2009 21:32:13 +0000 (17:32 -0400)]
things can go wrong if substr converts an empty string to false

16 years agofor now, if a repo file doesn't exist, default to 60 seconds of caching. In the futur...
Chuck Hagenbuch [Fri, 24 Jul 2009 21:31:47 +0000 (17:31 -0400)]
for now, if a repo file doesn't exist, default to 60 seconds of caching. In the future we should cache git SHA1s infinitely, since they're immutable

16 years agoremove remember_last_file preference (I thought we'd done this a while ago)
Chuck Hagenbuch [Fri, 24 Jul 2009 21:30:41 +0000 (17:30 -0400)]
remove remember_last_file preference (I thought we'd done this a while ago)

16 years agono reference
Chuck Hagenbuch [Fri, 24 Jul 2009 21:30:12 +0000 (17:30 -0400)]
no reference

16 years agodon't check permissions when filling the api cache. it can cause an infinite loop...
Chuck Hagenbuch [Fri, 24 Jul 2009 21:29:36 +0000 (17:29 -0400)]
don't check permissions when filling the api cache. it can cause an infinite loop because listApps checks permissions which means going through transparent auth, which means calling listApps...

16 years agoRevert "don't try and fetch alarms for all users when no one is logged in"
Chuck Hagenbuch [Fri, 24 Jul 2009 17:40:44 +0000 (13:40 -0400)]
Revert "don't try and fetch alarms for all users when no one is logged in"

This reverts commit c0f24e840cdb842acc337e2c26d07ed36dfef1af.

16 years ago[jan] Integrate tasks into Ajax interface (Gonçalo Queirós
Jan Schneider [Fri, 24 Jul 2009 10:06:02 +0000 (12:06 +0200)]
[jan] Integrate tasks into Ajax interface (Gonçalo Queirós
      <mail@goncaloqueiros.net>).

16 years agows
Jan Schneider [Fri, 24 Jul 2009 08:56:14 +0000 (10:56 +0200)]
ws

16 years agoImplement removeUserData API (adrieder@sbox.tugraz.at, Request #8452).
Jan Schneider [Fri, 24 Jul 2009 08:55:31 +0000 (10:55 +0200)]
Implement removeUserData API (adrieder@sbox.tugraz.at, Request #8452).

16 years agodon't try and fetch alarms for all users when no one is logged in
Chuck Hagenbuch [Fri, 24 Jul 2009 02:45:11 +0000 (22:45 -0400)]
don't try and fetch alarms for all users when no one is logged in

16 years agofix guest app access
Chuck Hagenbuch [Fri, 24 Jul 2009 02:44:47 +0000 (22:44 -0400)]
fix guest app access

16 years agoFix Kronolith's Horde_Ajax_Imple usage. (Need to call ->attach() on instances)
Michael J. Rubinsky [Thu, 23 Jul 2009 22:45:16 +0000 (18:45 -0400)]
Fix Kronolith's Horde_Ajax_Imple usage. (Need to call ->attach() on instances)

16 years agoCache the results of all twitter GET requests if a cache object is
Michael J. Rubinsky [Thu, 23 Jul 2009 21:08:08 +0000 (17:08 -0400)]
Cache the results of all twitter GET requests if a cache object is
present.

16 years agoUse print CSS media to print messages in IMP (no more popup)
Michael M Slusarz [Thu, 23 Jul 2009 20:55:00 +0000 (14:55 -0600)]
Use print CSS media to print messages in IMP (no more popup)

16 years agoFix dependencies; throw Exception on error.
Michael M Slusarz [Thu, 23 Jul 2009 20:21:40 +0000 (14:21 -0600)]
Fix dependencies; throw Exception on error.

16 years agoFix memcache locking issue.
Michael M Slusarz [Thu, 23 Jul 2009 20:18:10 +0000 (14:18 -0600)]
Fix memcache locking issue.

If you don't specify a time value to delete(), apparently memcache takes
that as expiring in 1 second - not an instantaneous expire.  Which isn't
mentioned in the documentation and is not very intuitive (delete means
delete).  This was causing slow load times on message with a lot of
attached images - the thumbnails were slow to load because the sessions
were not being marked as unlocked for at least a second, preventing the
next image from loading.

16 years agoFor now, don't hide these errors.
Michael M Slusarz [Thu, 23 Jul 2009 19:01:47 +0000 (13:01 -0600)]
For now, don't hide these errors.

16 years agoSome things that should always be initialized
Michael M Slusarz [Thu, 23 Jul 2009 18:08:58 +0000 (12:08 -0600)]
Some things that should always be initialized

16 years agovinfo hook no longer needed - use preauth hook instead
Michael M Slusarz [Thu, 23 Jul 2009 17:00:44 +0000 (11:00 -0600)]
vinfo hook no longer needed - use preauth hook instead

16 years agoDescription not necessary anymore.
Jan Schneider [Fri, 19 Jun 2009 17:34:38 +0000 (19:34 +0200)]
Description not necessary anymore.

16 years agoHorde_Auth improvements
Michael M Slusarz [Thu, 23 Jul 2009 16:49:24 +0000 (10:49 -0600)]
Horde_Auth improvements

Standardize pre/post-authenticate hooks and ensure they are called for
all authentication events.
Use transparent() authentication to authenticate to applications that
don't require any additional authentication.

16 years agoThis should properly set the userId for Kolab auth
Michael M Slusarz [Thu, 23 Jul 2009 04:35:36 +0000 (22:35 -0600)]
This should properly set the userId for Kolab auth

Do class check once in constructor.
Correctly identify that this driver does authentication.

16 years agoInitial gollem import & conversion from CVS to Horde 4.
Michael M Slusarz [Wed, 22 Jul 2009 23:42:12 +0000 (17:42 -0600)]
Initial gollem import & conversion from CVS to Horde 4.

This doesn't work yet because none of the authentication code has yet
been rewritten.

16 years agoNo longer needed (was part of login code).
Michael M Slusarz [Thu, 23 Jul 2009 00:23:49 +0000 (18:23 -0600)]
No longer needed (was part of login code).

16 years agoFix username
Michael M Slusarz [Wed, 22 Jul 2009 22:43:17 +0000 (16:43 -0600)]
Fix username

16 years agoUse stored auth credentials information for transparent() auth if the
Michael M Slusarz [Wed, 22 Jul 2009 22:09:23 +0000 (16:09 -0600)]
Use stored auth credentials information for transparent() auth if the
driver did not define new values.

16 years agophpdoc typo
Michael M Slusarz [Wed, 22 Jul 2009 22:08:48 +0000 (16:08 -0600)]
phpdoc typo

16 years agoClean up this code a bit.
Michael M Slusarz [Wed, 22 Jul 2009 22:08:35 +0000 (16:08 -0600)]
Clean up this code a bit.

16 years agoFix parameter generation for app name.
Michael M Slusarz [Wed, 22 Jul 2009 22:08:15 +0000 (16:08 -0600)]
Fix parameter generation for app name.

16 years agoRevert "Existence check"
Michael M Slusarz [Wed, 22 Jul 2009 19:29:27 +0000 (13:29 -0600)]
Revert "Existence check"

This reverts commit 9f6fe242c7f7b67d7efd8b034ec35de786f436d6.

2nd time :) But this is exactly where we don't want to do existence
checking, since there is absolutely no reason why $driver should not
exist if horde_auth is active.  We need to discover the source of the
problem here, not mask it.

16 years agoUse new Horde_Registry::pushApp() API.
Michael M Slusarz [Wed, 22 Jul 2009 19:09:04 +0000 (13:09 -0600)]
Use new Horde_Registry::pushApp() API.

16 years agoRefactor pushApp(), allowing opportunity to determine whether logintasks should be run
Michael M Slusarz [Wed, 22 Jul 2009 19:02:38 +0000 (13:02 -0600)]
Refactor pushApp(), allowing opportunity to determine whether logintasks should be run

16 years agows
Michael J. Rubinsky [Wed, 22 Jul 2009 19:01:33 +0000 (15:01 -0400)]
ws

16 years agoExistence check
Michael J. Rubinsky [Wed, 22 Jul 2009 15:40:56 +0000 (11:40 -0400)]
Existence check

16 years agoFix variable.
Jan Schneider [Wed, 22 Jul 2009 08:53:01 +0000 (10:53 +0200)]
Fix variable.

16 years agoSpecial xdebug handling is only necessary for var_dump().
Jan Schneider [Mon, 20 Jul 2009 10:35:17 +0000 (12:35 +0200)]
Special xdebug handling is only necessary for var_dump().

16 years agoFix setting the message string in the generated URL
Michael M Slusarz [Wed, 22 Jul 2009 18:32:54 +0000 (12:32 -0600)]
Fix setting the message string in the generated URL

16 years agoBe consistent with Horde_Auth as to userId usage
Michael M Slusarz [Wed, 22 Jul 2009 18:30:23 +0000 (12:30 -0600)]
Be consistent with Horde_Auth as to userId usage

16 years agoFix selected server determination
Michael M Slusarz [Wed, 22 Jul 2009 18:15:35 +0000 (12:15 -0600)]
Fix selected server determination

16 years agoFix undefined variable
Michael M Slusarz [Wed, 22 Jul 2009 18:11:25 +0000 (12:11 -0600)]
Fix undefined variable

16 years agoRevert "fix case of key 'userid' -> 'userId'"
Michael M Slusarz [Wed, 22 Jul 2009 18:09:27 +0000 (12:09 -0600)]
Revert "fix case of key 'userid' -> 'userId'"

This reverts commit 9b807ba4ab10a21692dc4d11fdfa9d6dbbad42af.

16 years agoUse auth callback to do all non-imap login related initialization
Michael M Slusarz [Wed, 22 Jul 2009 17:45:13 +0000 (11:45 -0600)]
Use auth callback to do all non-imap login related initialization

16 years agoAdd Horde_Auth_Application callback feature.
Michael M Slusarz [Wed, 22 Jul 2009 17:41:45 +0000 (11:41 -0600)]
Add Horde_Auth_Application callback feature.

Using application auth, especially if using application auth as horde
auth, there was previously a severe limitation in that the application
only had a limited environment when doing the auth.  This makes sense
because, since no user was yet logged in, there was no way to init
things such as prefs.  Best (only?) solution is to understand that
application auth only has limited environment and should be used to do
the minimum necessary to verify authentication only.  Login tasks and
the like need a full environment, so add a authentication callback hook
that will re-call the application after a full environment can be setup.

16 years agofix case of key 'userid' -> 'userId'
Michael J. Rubinsky [Wed, 22 Jul 2009 17:13:52 +0000 (13:13 -0400)]
fix case of key 'userid' -> 'userId'

16 years agorebuild the task list if unserialization fails
Chuck Hagenbuch [Wed, 22 Jul 2009 14:44:02 +0000 (10:44 -0400)]
rebuild the task list if unserialization fails

16 years agofix method name
Chuck Hagenbuch [Wed, 22 Jul 2009 13:57:28 +0000 (09:57 -0400)]
fix method name

16 years agoDon't run tasks if not authenticated
Michael M Slusarz [Wed, 22 Jul 2009 06:43:59 +0000 (00:43 -0600)]
Don't run tasks if not authenticated

16 years agoGit rid of AUTH_HANDLER declarations.
Michael M Slusarz [Wed, 22 Jul 2009 06:32:20 +0000 (00:32 -0600)]
Git rid of AUTH_HANDLER declarations.

When needed, replace with clearer/better $app_authentication variables.
While making the changes, clean up various Horde 4 conversion items.

16 years agoFix documentation
Michael M Slusarz [Wed, 22 Jul 2009 05:29:27 +0000 (23:29 -0600)]
Fix documentation

16 years agoGet rid of AUTH_HANDLER defines
Michael M Slusarz [Wed, 22 Jul 2009 05:33:04 +0000 (23:33 -0600)]
Get rid of AUTH_HANDLER defines

16 years agoFix call.
Michael M Slusarz [Wed, 22 Jul 2009 04:53:38 +0000 (22:53 -0600)]
Fix call.

16 years agoVarious auth fixes.
Michael M Slusarz [Wed, 22 Jul 2009 04:41:10 +0000 (22:41 -0600)]
Various auth fixes.

Use correct username when authenticating
Fix generation of initial URL when it is mailbox view
Use better "is currently authenticated" function
Correctly set realm'ed username as Horde username

16 years agoAdd Horde_Auth_Application::setCredential().
Michael M Slusarz [Wed, 22 Jul 2009 04:49:59 +0000 (22:49 -0600)]
Add Horde_Auth_Application::setCredential().

16 years agoUPGRADING updates.
Michael M Slusarz [Wed, 22 Jul 2009 04:40:51 +0000 (22:40 -0600)]
UPGRADING updates.

16 years agoMake 'realm' and 'preferred' less prominent, since most people
Michael M Slusarz [Wed, 22 Jul 2009 04:39:47 +0000 (22:39 -0600)]
Make 'realm' and 'preferred' less prominent, since most people
won't/shouldn't be using it.

16 years agoHandle hidden server list by selecting server at authentication time
Michael M Slusarz [Wed, 22 Jul 2009 03:09:06 +0000 (21:09 -0600)]
Handle hidden server list by selecting server at authentication time

16 years agoClean up logintasks handling
Michael M Slusarz [Wed, 22 Jul 2009 00:23:46 +0000 (18:23 -0600)]
Clean up logintasks handling

We may have to tweak this again going forward, but it will be much
elegant and we will most certainly not need all of this hackish code.

16 years agoFirst attempt at placing logintasks in the proper place.
Michael M Slusarz [Wed, 22 Jul 2009 03:49:28 +0000 (21:49 -0600)]
First attempt at placing logintasks in the proper place.

This is the only place guaranteed to run logintasks on both regular and
transparent auth. However, it may not be appropriate to run logintasks
if we are doing some kind of API call.  It might be better to simply run
all login tasks for all applications on initial login.

16 years agoFix auth with application driver (transparent auth was unnecessarily
Michael M Slusarz [Wed, 22 Jul 2009 03:39:28 +0000 (21:39 -0600)]
Fix auth with application driver (transparent auth was unnecessarily
erasing auth credentials)

16 years agoFix logic
Michael M Slusarz [Wed, 22 Jul 2009 03:05:28 +0000 (21:05 -0600)]
Fix logic

16 years agoRevert "no notice if the 'driver' key isn't set in the session"
Michael M Slusarz [Wed, 22 Jul 2009 02:59:55 +0000 (20:59 -0600)]
Revert "no notice if the 'driver' key isn't set in the session"

This reverts commit ce0b066d93b1c3ac2a3e2df4c21eb1ff81a8c508.

16 years agoAlways set auth through setAuth(), honor 'login' param to setAuth()
Michael M Slusarz [Wed, 22 Jul 2009 00:21:50 +0000 (18:21 -0600)]
Always set auth through setAuth(), honor 'login' param to setAuth()

16 years agoUpdates to PHP 5/Horde 4 coding standards.
Michael M Slusarz [Wed, 22 Jul 2009 00:21:10 +0000 (18:21 -0600)]
Updates to PHP 5/Horde 4 coding standards.

16 years agoSession naming consistent with other framework packages
Michael M Slusarz [Wed, 22 Jul 2009 00:14:42 +0000 (18:14 -0600)]
Session naming consistent with other framework packages

16 years agofirst attempt at login working without showing a server list
Chuck Hagenbuch [Wed, 22 Jul 2009 01:14:40 +0000 (21:14 -0400)]
first attempt at login working without showing a server list

16 years agofix parse error
Chuck Hagenbuch [Wed, 22 Jul 2009 01:02:44 +0000 (21:02 -0400)]
fix parse error

16 years agono notice if the 'driver' key isn't set in the session
Chuck Hagenbuch [Wed, 22 Jul 2009 01:01:51 +0000 (21:01 -0400)]
no notice if the 'driver' key isn't set in the session

16 years agoFix encoding of IDX_SEP character.
Michael M Slusarz [Tue, 21 Jul 2009 22:27:31 +0000 (16:27 -0600)]
Fix encoding of IDX_SEP character.

16 years agoConvert to new Horde_Auth:: usage.
Michael M Slusarz [Wed, 15 Jul 2009 17:04:00 +0000 (11:04 -0600)]
Convert to new Horde_Auth:: usage.

16 years agoHorde_Auth rewrite.
Michael M Slusarz [Wed, 15 Jul 2009 05:09:31 +0000 (23:09 -0600)]
Horde_Auth rewrite.

Store data in static class variable instead of globally
Add getLoginParams()
Move logout reason string and changepassword code to login page
Rework session storage of auth information.
All application-specific auth tasks should now be handled properly by
both Horde_Auth and Horde_Auth_Application
Horde_Registry::pushApp() should now do all necessary authentication and
permissions checking in a single call.

16 years agoRemove getLoginScreen().
Michael M Slusarz [Wed, 15 Jul 2009 05:12:33 +0000 (23:12 -0600)]
Remove getLoginScreen().

16 years agoFix classnames.
Michael M Slusarz [Tue, 21 Jul 2009 17:31:47 +0000 (11:31 -0600)]
Fix classnames.

16 years agoFix PATH_INFO determination for base directories on lighttpd
Michael M Slusarz [Tue, 21 Jul 2009 03:18:07 +0000 (21:18 -0600)]
Fix PATH_INFO determination for base directories on lighttpd

16 years agoextension section must come after package section.
Matt Selsky [Tue, 21 Jul 2009 17:43:26 +0000 (13:43 -0400)]
extension section must come after package section.

16 years agoAllow injecting of a Horde_Log_Logger and a Horde_Cache.
Michael J. Rubinsky [Tue, 21 Jul 2009 16:40:44 +0000 (12:40 -0400)]
Allow injecting of a Horde_Log_Logger and a Horde_Cache.

16 years agoAdd the last missing method for statuses/* - followers.
Michael J. Rubinsky [Tue, 21 Jul 2009 16:26:37 +0000 (12:26 -0400)]
Add the last missing method for statuses/* - followers.