Jan Schneider [Mon, 27 Jul 2009 17:02:33 +0000 (19:02 +0200)]
Whitespace, docs, use Object.isUndefined() and Date.isBefore().
Jan Schneider [Mon, 27 Jul 2009 16:23:12 +0000 (18:23 +0200)]
ws
Jan Schneider [Mon, 27 Jul 2009 12:51:38 +0000 (14:51 +0200)]
Fix url encoding.
Jan Schneider [Fri, 24 Jul 2009 14:07:47 +0000 (16:07 +0200)]
Fix typo
Michael M Slusarz [Mon, 27 Jul 2009 00:59:36 +0000 (18:59 -0600)]
Convert to new hooks code.
Michael M Slusarz [Mon, 27 Jul 2009 02:13:54 +0000 (20:13 -0600)]
Convert to new hooks code.
Michael M Slusarz [Sun, 26 Jul 2009 23:48:50 +0000 (17:48 -0600)]
New hook handling code.
Michael M Slusarz [Sun, 26 Jul 2009 22:24:17 +0000 (16:24 -0600)]
Add system task type to logintasks - these are always run
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)
Michael M Slusarz [Sat, 25 Jul 2009 23:59:14 +0000 (17:59 -0600)]
Convert to system tasks
Michael M Slusarz [Sat, 25 Jul 2009 23:24:45 +0000 (17:24 -0600)]
Don't need reference.
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.
Michael M Slusarz [Sat, 25 Jul 2009 23:03:34 +0000 (17:03 -0600)]
Move constants into IMP::.
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.
Michael M Slusarz [Sat, 25 Jul 2009 20:22:08 +0000 (14:22 -0600)]
Import nag from CVS HEAD
Michael M Slusarz [Sat, 25 Jul 2009 18:15:46 +0000 (12:15 -0600)]
Use horde-based prefs api script
Michael M Slusarz [Sat, 25 Jul 2009 04:48:45 +0000 (22:48 -0600)]
getInstance() -> factory()
Michael M Slusarz [Sat, 25 Jul 2009 03:58:47 +0000 (21:58 -0600)]
Fix hover effect over special folders
Michael M Slusarz [Fri, 24 Jul 2009 21:57:51 +0000 (15:57 -0600)]
This preference no longer exists.
Michael M Slusarz [Fri, 24 Jul 2009 21:55:10 +0000 (15:55 -0600)]
Use Horde_String::truncate()
Michael M Slusarz [Thu, 23 Jul 2009 23:01:09 +0000 (17:01 -0600)]
More concise, less wordy
Michael J. Rubinsky [Sat, 25 Jul 2009 16:27:16 +0000 (12:27 -0400)]
Merge from FW_3, fix warnings.
Chuck Hagenbuch [Sat, 25 Jul 2009 15:50:22 +0000 (11:50 -0400)]
finish removing the last_file preference
Michael M Slusarz [Sat, 25 Jul 2009 04:46:26 +0000 (22:46 -0600)]
getInstance() -> factory()
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
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
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)
Chuck Hagenbuch [Fri, 24 Jul 2009 21:30:12 +0000 (17:30 -0400)]
no reference
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...
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.
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>).
Jan Schneider [Fri, 24 Jul 2009 08:56:14 +0000 (10:56 +0200)]
ws
Jan Schneider [Fri, 24 Jul 2009 08:55:31 +0000 (10:55 +0200)]
Implement removeUserData API (adrieder@sbox.tugraz.at, Request #8452).
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
Chuck Hagenbuch [Fri, 24 Jul 2009 02:44:47 +0000 (22:44 -0400)]
fix guest app access
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)
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.
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)
Michael M Slusarz [Thu, 23 Jul 2009 20:21:40 +0000 (14:21 -0600)]
Fix dependencies; throw Exception on error.
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.
Michael M Slusarz [Thu, 23 Jul 2009 19:01:47 +0000 (13:01 -0600)]
For now, don't hide these errors.
Michael M Slusarz [Thu, 23 Jul 2009 18:08:58 +0000 (12:08 -0600)]
Some things that should always be initialized
Michael M Slusarz [Thu, 23 Jul 2009 17:00:44 +0000 (11:00 -0600)]
vinfo hook no longer needed - use preauth hook instead
Jan Schneider [Fri, 19 Jun 2009 17:34:38 +0000 (19:34 +0200)]
Description not necessary anymore.
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.
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.
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.
Michael M Slusarz [Thu, 23 Jul 2009 00:23:49 +0000 (18:23 -0600)]
No longer needed (was part of login code).
Michael M Slusarz [Wed, 22 Jul 2009 22:43:17 +0000 (16:43 -0600)]
Fix username
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.
Michael M Slusarz [Wed, 22 Jul 2009 22:08:48 +0000 (16:08 -0600)]
phpdoc typo
Michael M Slusarz [Wed, 22 Jul 2009 22:08:35 +0000 (16:08 -0600)]
Clean up this code a bit.
Michael M Slusarz [Wed, 22 Jul 2009 22:08:15 +0000 (16:08 -0600)]
Fix parameter generation for app name.
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.
Michael M Slusarz [Wed, 22 Jul 2009 19:09:04 +0000 (13:09 -0600)]
Use new Horde_Registry::pushApp() API.
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
Michael J. Rubinsky [Wed, 22 Jul 2009 19:01:33 +0000 (15:01 -0400)]
ws
Michael J. Rubinsky [Wed, 22 Jul 2009 15:40:56 +0000 (11:40 -0400)]
Existence check
Jan Schneider [Wed, 22 Jul 2009 08:53:01 +0000 (10:53 +0200)]
Fix variable.
Jan Schneider [Mon, 20 Jul 2009 10:35:17 +0000 (12:35 +0200)]
Special xdebug handling is only necessary for var_dump().
Michael M Slusarz [Wed, 22 Jul 2009 18:32:54 +0000 (12:32 -0600)]
Fix setting the message string in the generated URL
Michael M Slusarz [Wed, 22 Jul 2009 18:30:23 +0000 (12:30 -0600)]
Be consistent with Horde_Auth as to userId usage
Michael M Slusarz [Wed, 22 Jul 2009 18:15:35 +0000 (12:15 -0600)]
Fix selected server determination
Michael M Slusarz [Wed, 22 Jul 2009 18:11:25 +0000 (12:11 -0600)]
Fix undefined variable
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.
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
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.
Michael J. Rubinsky [Wed, 22 Jul 2009 17:13:52 +0000 (13:13 -0400)]
fix case of key 'userid' -> 'userId'
Chuck Hagenbuch [Wed, 22 Jul 2009 14:44:02 +0000 (10:44 -0400)]
rebuild the task list if unserialization fails
Chuck Hagenbuch [Wed, 22 Jul 2009 13:57:28 +0000 (09:57 -0400)]
fix method name
Michael M Slusarz [Wed, 22 Jul 2009 06:43:59 +0000 (00:43 -0600)]
Don't run tasks if not authenticated
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.
Michael M Slusarz [Wed, 22 Jul 2009 05:29:27 +0000 (23:29 -0600)]
Fix documentation
Michael M Slusarz [Wed, 22 Jul 2009 05:33:04 +0000 (23:33 -0600)]
Get rid of AUTH_HANDLER defines
Michael M Slusarz [Wed, 22 Jul 2009 04:53:38 +0000 (22:53 -0600)]
Fix call.
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
Michael M Slusarz [Wed, 22 Jul 2009 04:49:59 +0000 (22:49 -0600)]
Add Horde_Auth_Application::setCredential().
Michael M Slusarz [Wed, 22 Jul 2009 04:40:51 +0000 (22:40 -0600)]
UPGRADING updates.
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.
Michael M Slusarz [Wed, 22 Jul 2009 03:09:06 +0000 (21:09 -0600)]
Handle hidden server list by selecting server at authentication time
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.
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.
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)
Michael M Slusarz [Wed, 22 Jul 2009 03:05:28 +0000 (21:05 -0600)]
Fix logic
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.
Michael M Slusarz [Wed, 22 Jul 2009 00:21:50 +0000 (18:21 -0600)]
Always set auth through setAuth(), honor 'login' param to setAuth()
Michael M Slusarz [Wed, 22 Jul 2009 00:21:10 +0000 (18:21 -0600)]
Updates to PHP 5/Horde 4 coding standards.
Michael M Slusarz [Wed, 22 Jul 2009 00:14:42 +0000 (18:14 -0600)]
Session naming consistent with other framework packages
Chuck Hagenbuch [Wed, 22 Jul 2009 01:14:40 +0000 (21:14 -0400)]
first attempt at login working without showing a server list
Chuck Hagenbuch [Wed, 22 Jul 2009 01:02:44 +0000 (21:02 -0400)]
fix parse error
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
Michael M Slusarz [Tue, 21 Jul 2009 22:27:31 +0000 (16:27 -0600)]
Fix encoding of IDX_SEP character.
Michael M Slusarz [Wed, 15 Jul 2009 17:04:00 +0000 (11:04 -0600)]
Convert to new Horde_Auth:: usage.
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.
Michael M Slusarz [Wed, 15 Jul 2009 05:12:33 +0000 (23:12 -0600)]
Remove getLoginScreen().
Michael M Slusarz [Tue, 21 Jul 2009 17:31:47 +0000 (11:31 -0600)]
Fix classnames.
Michael M Slusarz [Tue, 21 Jul 2009 03:18:07 +0000 (21:18 -0600)]
Fix PATH_INFO determination for base directories on lighttpd
Matt Selsky [Tue, 21 Jul 2009 17:43:26 +0000 (13:43 -0400)]
extension section must come after package section.
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.
Michael J. Rubinsky [Tue, 21 Jul 2009 16:26:37 +0000 (12:26 -0400)]
Add the last missing method for statuses/* - followers.