horde.git
15 years agoConvert Horde auth session code to Horde_Session
Michael M Slusarz [Mon, 11 Oct 2010 04:15:27 +0000 (22:15 -0600)]
Convert Horde auth session code to Horde_Session

15 years agoVarious Horde_Session conversions in horde/Core.
Michael M Slusarz [Mon, 11 Oct 2010 03:35:13 +0000 (21:35 -0600)]
Various Horde_Session conversions in horde/Core.

15 years agoConvert Horde_Notification override to Horde_Session
Michael M Slusarz [Mon, 11 Oct 2010 03:27:27 +0000 (21:27 -0600)]
Convert Horde_Notification override to Horde_Session

15 years agoUse Horde_Session storage instead of Horde_Cache_Session
Michael M Slusarz [Sun, 10 Oct 2010 19:42:33 +0000 (13:42 -0600)]
Use Horde_Session storage instead of Horde_Cache_Session

15 years agoAllow ability to search session subkeys.
Michael M Slusarz [Mon, 11 Oct 2010 03:59:02 +0000 (21:59 -0600)]
Allow ability to search session subkeys.

We store values with key & subkey together to save on storage/serialization
costs. To retrieve array like output, simply need to call
$session['app:name/'] - returns an array with subkeys as keys and session
values as values.

Ticket #8023

15 years agoRemove horde/SessionObjects and replace with Horde_Session use
Michael M Slusarz [Tue, 12 Oct 2010 19:49:18 +0000 (13:49 -0600)]
Remove horde/SessionObjects and replace with Horde_Session use

NOTE: Did not change Kolab_Session usage because I have little/no idea
what is going on in there (injecting may be good for some things, but
things, but it does make it MUCH more difficult to try and track the code.
Granted, some of this may be simply that I am not familiar with the
Kolab code, however...)

Ticket #8023

15 years agoFix typo.
Michael M Slusarz [Tue, 12 Oct 2010 19:25:13 +0000 (13:25 -0600)]
Fix typo.

15 years agoThis method doesn't exist anymore.
Jan Schneider [Tue, 12 Oct 2010 16:59:46 +0000 (18:59 +0200)]
This method doesn't exist anymore.

15 years agoUse Horde_Test.
Jan Schneider [Tue, 12 Oct 2010 16:36:38 +0000 (18:36 +0200)]
Use Horde_Test.

15 years agoCall parent ctor.
Jan Schneider [Tue, 5 Oct 2010 01:06:07 +0000 (03:06 +0200)]
Call parent ctor.

15 years agoCleanup, remove static usage.
Jan Schneider [Tue, 12 Oct 2010 13:38:39 +0000 (15:38 +0200)]
Cleanup, remove static usage.

15 years agoFix parse error.
Jan Schneider [Mon, 11 Oct 2010 23:12:24 +0000 (01:12 +0200)]
Fix parse error.

15 years agoCleanup
Jan Schneider [Mon, 11 Oct 2010 20:23:22 +0000 (22:23 +0200)]
Cleanup

15 years agoDrop Net_SMS.
Jan Schneider [Mon, 11 Oct 2010 13:58:46 +0000 (15:58 +0200)]
Drop Net_SMS.

15 years agoMFB
Jan Schneider [Sun, 10 Oct 2010 21:31:26 +0000 (23:31 +0200)]
MFB

15 years agoFix trean redirect script - Horde::externalUrl() doesn't return a Horde_Url object.
Chuck Hagenbuch [Mon, 11 Oct 2010 13:53:33 +0000 (09:53 -0400)]
Fix trean redirect script - Horde::externalUrl() doesn't return a Horde_Url object.

15 years agoRemove Imode browser class
Chuck Hagenbuch [Mon, 11 Oct 2010 02:29:51 +0000 (22:29 -0400)]
Remove Imode browser class

15 years agoEnsure that the files array is initialized
Michael J. Rubinsky [Mon, 11 Oct 2010 00:40:42 +0000 (20:40 -0400)]
Ensure that the files array is initialized

15 years ago$ob might not exist at all here
Michael J. Rubinsky [Sun, 10 Oct 2010 23:21:22 +0000 (19:21 -0400)]
$ob might not exist at all here

15 years agoHotfix for fixing URL generation on dev.horde.org.
Michael J. Rubinsky [Sun, 10 Oct 2010 20:25:28 +0000 (16:25 -0400)]
Hotfix for fixing URL generation on dev.horde.org.

Commit 043b05f09f66a78566fb broke url generation when an app's webroot
is an absolute url like e.g., http://git.horde.org on simon.

This can probably be tweaked a bit later, but this fixes the immediate issue.

15 years agoFix various issues with new SessionHandler code
Michael J. Rubinsky [Sun, 10 Oct 2010 16:18:38 +0000 (12:18 -0400)]
Fix various issues with new SessionHandler code

Classes extend Horde_SessionHandler, not Horde_SessionHandler_Base
Need to add the factory binder for Horde_SessionHandler
Request a Horde_SessionHandler, not a Horde_Core_Factory_* when requesting/creating the sessionhandler

15 years agoNeed to skip authentication checks here, the application should be responsible for...
Michael J. Rubinsky [Sun, 10 Oct 2010 15:54:19 +0000 (11:54 -0400)]
Need to skip authentication checks here, the application should be responsible for checking.

If 'horde' itself does not give guest read access, then even if another application does grant access,
downloading files would be denied. Fix that.

Bug: 9294

15 years agoFix viral error, column name(s) for indexes are passed as an array.
Michael J. Rubinsky [Sun, 10 Oct 2010 15:53:23 +0000 (11:53 -0400)]
Fix viral error, column name(s) for indexes are passed as an array.

15 years agofix column type, these were integers, not bigints
Michael J. Rubinsky [Sat, 9 Oct 2010 19:53:38 +0000 (15:53 -0400)]
fix column type, these were integers, not bigints

15 years agoFix column types for ansel migration.
Michael J. Rubinsky [Sat, 9 Oct 2010 19:48:12 +0000 (15:48 -0400)]
Fix column types for ansel migration.

These were signed integers in fw_3, migrate them to unsigned integers except
the share_id since we specify the share_id that key images belong to via negative ids,
use bigint here.

15 years agotwo more places to use a hash instead of property access, instance might contain...
Michael J. Rubinsky [Sat, 9 Oct 2010 14:24:52 +0000 (10:24 -0400)]
two more places to use a hash instead of property access, instance might contain special characters

15 years agoMove binders to factories in ansel
Michael J. Rubinsky [Sat, 9 Oct 2010 14:02:15 +0000 (10:02 -0400)]
Move binders to factories in ansel

15 years agoUse the Horde:: token checking methods
Michael M Slusarz [Sat, 9 Oct 2010 07:30:07 +0000 (01:30 -0600)]
Use the Horde:: token checking methods

15 years agoHorde_Form: H4 fixes
Michael M Slusarz [Sat, 9 Oct 2010 07:24:48 +0000 (01:24 -0600)]
Horde_Form: H4 fixes

Form still has a bunch of things that need to be converted.

15 years agoStart moving some framework stuff to Horde_Session.
Michael M Slusarz [Fri, 8 Oct 2010 22:55:33 +0000 (16:55 -0600)]
Start moving some framework stuff to Horde_Session.

15 years agoDon't authenticate to non-applications
Michael M Slusarz [Sat, 9 Oct 2010 07:00:19 +0000 (01:00 -0600)]
Don't authenticate to non-applications

15 years agoNo need to store credentials for app if it is the same as the base horde credentials
Michael M Slusarz [Fri, 8 Oct 2010 23:30:32 +0000 (17:30 -0600)]
No need to store credentials for app if it is the same as the base horde credentials

15 years agoRemove horde/Core dependency in Horde_Browser
Michael M Slusarz [Fri, 8 Oct 2010 22:55:18 +0000 (16:55 -0600)]
Remove horde/Core dependency in Horde_Browser

15 years agoRemove PEAR dependency in horde/Browser
Michael M Slusarz [Fri, 8 Oct 2010 22:53:44 +0000 (16:53 -0600)]
Remove PEAR dependency in horde/Browser

15 years agoH4 coding style
Michael M Slusarz [Fri, 8 Oct 2010 22:53:26 +0000 (16:53 -0600)]
H4 coding style

15 years agophpdoc
Michael M Slusarz [Fri, 8 Oct 2010 22:53:07 +0000 (16:53 -0600)]
phpdoc

15 years agoReduce the size/complexity of the factories definition array.
Michael M Slusarz [Fri, 8 Oct 2010 22:35:51 +0000 (16:35 -0600)]
Reduce the size/complexity of the factories definition array.

15 years agoConvert IMP to the new Horde_Session API
Michael M Slusarz [Fri, 8 Oct 2010 21:23:15 +0000 (15:23 -0600)]
Convert IMP to the new Horde_Session API

15 years agoTicket #8023: Add transparent lzf compression to Horde_Session.
Michael M Slusarz [Fri, 8 Oct 2010 21:34:12 +0000 (15:34 -0600)]
Ticket #8023: Add transparent lzf compression to Horde_Session.

Only compress arrays and objects at this time.

15 years agoTicket #8023: Add ArrayAccess implementation to Horde_Session.
Michael M Slusarz [Fri, 8 Oct 2010 21:21:52 +0000 (15:21 -0600)]
Ticket #8023: Add ArrayAccess implementation to Horde_Session.

This is the new API for accessing session variables.  What previously
looked like:
$_SESSION['app']['foo']

Now looks like:
$GLOBALS['session']['app:foo']

15 years agoFix object call
Michael M Slusarz [Fri, 8 Oct 2010 21:55:07 +0000 (15:55 -0600)]
Fix object call

15 years agoSESSION->imp->user does not exist anymore
Michael M Slusarz [Fri, 8 Oct 2010 21:00:58 +0000 (15:00 -0600)]
SESSION->imp->user does not exist anymore

15 years agoFix converting all-day events to SIF-E.
Jan Schneider [Fri, 8 Oct 2010 16:51:34 +0000 (18:51 +0200)]
Fix converting all-day events to SIF-E.

15 years agoFix parse error.
Jan Schneider [Fri, 8 Oct 2010 16:06:53 +0000 (18:06 +0200)]
Fix parse error.

15 years agoThe base version of this viewer shouldn't be making Horde:: calls.
Chuck Hagenbuch [Fri, 8 Oct 2010 01:52:33 +0000 (21:52 -0400)]
The base version of this viewer shouldn't be making Horde:: calls.

15 years agoNo need to figure the code type out, setup the autoloader.
Michael J. Rubinsky [Fri, 8 Oct 2010 00:48:34 +0000 (20:48 -0400)]
No need to figure the code type out, setup the autoloader.

15 years agoadd ckeditor plugin for syntaxhighlighter blocks, and intial Jonah support.
Michael J. Rubinsky [Thu, 7 Oct 2010 23:41:28 +0000 (19:41 -0400)]
add ckeditor plugin for syntaxhighlighter blocks, and intial Jonah support.

Need to figure out a clean way of getting the code type from the jonah story,
thinking of using a regex for the <pre brush="php"> elements. For now, hard code
php only.

15 years agowrap the entire property name, not just the instance value.
Michael J. Rubinsky [Thu, 7 Oct 2010 22:40:00 +0000 (18:40 -0400)]
wrap the entire property name, not just the instance value.

15 years agoNeed to access this as a hash, the instance value might contain a special character
Michael J. Rubinsky [Thu, 7 Oct 2010 22:37:11 +0000 (18:37 -0400)]
Need to access this as a hash, the instance value might contain a special character

15 years agoRemove extra layer, create the Horde_Core_Auth_Signup object directly in the factory.
Michael J. Rubinsky [Thu, 7 Oct 2010 22:19:23 +0000 (18:19 -0400)]
Remove extra layer, create the Horde_Core_Auth_Signup object directly in the factory.

15 years ago...and finally, remove the last binder. Move AuthSignup to use a factory binder.
Michael J. Rubinsky [Thu, 7 Oct 2010 22:07:47 +0000 (18:07 -0400)]
...and finally, remove the last binder. Move AuthSignup to use a factory binder.

15 years agoUse Horde_Core_Factory_Auth directly, change name of factory method to create()
Michael J. Rubinsky [Thu, 7 Oct 2010 21:54:05 +0000 (17:54 -0400)]
Use Horde_Core_Factory_Auth directly, change name of factory method to create()

15 years agoUse Horde_Core_Factory_Vfs directly
Michael J. Rubinsky [Thu, 7 Oct 2010 21:47:23 +0000 (17:47 -0400)]
Use Horde_Core_Factory_Vfs directly

15 years agoAccess Horde_Core_Factory_Tree directly
Michael J. Rubinsky [Thu, 7 Oct 2010 21:34:32 +0000 (17:34 -0400)]
Access Horde_Core_Factory_Tree directly

15 years agoUse Horde_Core_Factory_TextFilter directly instead of going through an unnesessary...
Michael J. Rubinsky [Thu, 7 Oct 2010 21:30:10 +0000 (17:30 -0400)]
Use Horde_Core_Factory_TextFilter directly instead of going through an unnesessary binder

15 years agoUse a factory binder for Horde_Template
Michael J. Rubinsky [Thu, 7 Oct 2010 21:19:19 +0000 (17:19 -0400)]
Use a factory binder for Horde_Template

15 years agoRemove unnesessary binder, ask for the Horde_Core_Factory_Share object directly
Michael J. Rubinsky [Thu, 7 Oct 2010 21:14:22 +0000 (17:14 -0400)]
Remove unnesessary binder, ask for the Horde_Core_Factory_Share object directly

15 years agoPartially revert "All data passed around in Horde internally should be UTF-8."
Michael M Slusarz [Thu, 7 Oct 2010 21:07:59 +0000 (15:07 -0600)]
Partially revert "All data passed around in Horde internally should be UTF-8."

This partially reverts commit e60da622060274282dd92c2d41c4c0dce4724dd6.

Horde_Text_Filter is not part of Horde the application - so there is no
guarantee that text is in UTF-8.  In fact, much of the usefulness of
this package is it does the necessary charset conversion as needed.

Example: for Horde_Mime_Part objects created from message data, the text
may be in a different charset than UTF-8.  This is perfectly fine -
unnecessary charset conversion may just be a waste of time.

This fixes incorrect character display in IMP (at least for the few
messages I have tested so far).

15 years agoFixes for recent factory changes.
Michael M Slusarz [Thu, 7 Oct 2010 17:04:58 +0000 (11:04 -0600)]
Fixes for recent factory changes.

15 years agoBug #8023: Initial creation of Horde_Session.
Michael M Slusarz [Thu, 7 Oct 2010 17:02:49 +0000 (11:02 -0600)]
Bug #8023: Initial creation of Horde_Session.

Does nothing more than move code out of Horde_Registry.

15 years agoUse Horde_Core_Factory_MimeViewer directly
Michael J. Rubinsky [Thu, 7 Oct 2010 18:57:31 +0000 (14:57 -0400)]
Use Horde_Core_Factory_MimeViewer directly

15 years agoFix method name
Michael J. Rubinsky [Thu, 7 Oct 2010 18:56:55 +0000 (14:56 -0400)]
Fix method name

15 years agoRevert 449ed347e3b8e21c4853bb20bb8af1a20f4b910d, at least for now.
Michael J. Rubinsky [Thu, 7 Oct 2010 18:50:08 +0000 (14:50 -0400)]
Revert 449ed347e3b8e21c4853bb20bb8af1a20f4b910d, at least for now.

This change broke the source code highlighter, revert for now.

15 years agoFix check for existing wicked page
Michael J. Rubinsky [Thu, 7 Oct 2010 18:28:29 +0000 (14:28 -0400)]
Fix check for existing wicked page

15 years agofinally found it, auto_increment -> autoincrement
Michael J. Rubinsky [Thu, 7 Oct 2010 18:14:48 +0000 (14:14 -0400)]
finally found it, auto_increment -> autoincrement

15 years ago*sigh* correctly fix key generation.
Michael J. Rubinsky [Thu, 7 Oct 2010 17:56:59 +0000 (13:56 -0400)]
*sigh* correctly fix key generation.

Time for a break, me thinks :)

15 years agoMore places to fix primary key generation
Michael J. Rubinsky [Thu, 7 Oct 2010 17:54:11 +0000 (13:54 -0400)]
More places to fix primary key generation

15 years agoFix primary key generation for wicked
Michael J. Rubinsky [Thu, 7 Oct 2010 17:47:54 +0000 (13:47 -0400)]
Fix primary key generation for wicked

15 years agoTrack changes to identity factory
Michael J. Rubinsky [Thu, 7 Oct 2010 17:40:07 +0000 (13:40 -0400)]
Track changes to identity factory

15 years agoUse factory binder for Horde_Routes_Mapper, though I don't see this used anywhere...
Michael J. Rubinsky [Thu, 7 Oct 2010 17:18:42 +0000 (13:18 -0400)]
Use factory binder for Horde_Routes_Mapper, though I don't see this used anywhere in code yet.

15 years agoUse a factory binder for Horde_Mail, not a binder
Michael J. Rubinsky [Thu, 7 Oct 2010 17:09:19 +0000 (13:09 -0400)]
Use a factory binder for Horde_Mail, not a binder

15 years agoMove logger binder to a factory binder
Michael J. Rubinsky [Thu, 7 Oct 2010 17:06:35 +0000 (13:06 -0400)]
Move logger binder to a factory binder

15 years agoRemove non-existent binder
Michael J. Rubinsky [Thu, 7 Oct 2010 17:34:37 +0000 (13:34 -0400)]
Remove non-existent binder

15 years agoUse Horde_Core_Factory_Identity directly, change name of factory method
Michael J. Rubinsky [Thu, 7 Oct 2010 16:48:56 +0000 (12:48 -0400)]
Use Horde_Core_Factory_Identity directly, change name of factory method

15 years agoAsk for Horde_Core_Factory_Http_Client directly, change factory method to create()
Michael J. Rubinsky [Thu, 7 Oct 2010 16:38:19 +0000 (12:38 -0400)]
Ask for Horde_Core_Factory_Http_Client directly, change factory method to create()

15 years agoUse a factory binder for History
Michael J. Rubinsky [Thu, 7 Oct 2010 16:31:26 +0000 (12:31 -0400)]
Use a factory binder for History

15 years agoConvert all IMP binders to factories.
Michael M Slusarz [Thu, 7 Oct 2010 08:25:02 +0000 (02:25 -0600)]
Convert all IMP binders to factories.

15 years agochangelog updates from CVS HEAD
Michael M Slusarz [Thu, 7 Oct 2010 07:31:00 +0000 (01:31 -0600)]
changelog updates from CVS HEAD

15 years agoFix more paths from po/ to locale/.
Jan Schneider [Thu, 7 Oct 2010 16:42:06 +0000 (18:42 +0200)]
Fix more paths from po/ to locale/.

15 years agoNo access key.
Jan Schneider [Thu, 7 Oct 2010 10:10:39 +0000 (12:10 +0200)]
No access key.

15 years agoAdd missing factory bindings for Horde_Group, update package.xml
Michael J. Rubinsky [Thu, 7 Oct 2010 16:26:55 +0000 (12:26 -0400)]
Add missing factory bindings for Horde_Group, update package.xml

15 years agoFix constant names, cannot type hint scalers
Michael J. Rubinsky [Thu, 7 Oct 2010 16:19:56 +0000 (12:19 -0400)]
Fix constant names, cannot type hint scalers

15 years agoUse Horde_Core_Factory_DbPear directly, change factory method to create()
Michael J. Rubinsky [Thu, 7 Oct 2010 16:05:42 +0000 (12:05 -0400)]
Use Horde_Core_Factory_DbPear directly, change factory method to create()

15 years agoMove Horde_Db_Adapter binder to a factory, change factory method to create()
Michael J. Rubinsky [Thu, 7 Oct 2010 15:58:14 +0000 (11:58 -0400)]
Move Horde_Db_Adapter binder to a factory, change factory method to create()

15 years agoRequest Horde_Core_Factory_Db directly, remove binder and change factory method to...
Michael J. Rubinsky [Thu, 7 Oct 2010 15:41:14 +0000 (11:41 -0400)]
Request Horde_Core_Factory_Db directly, remove binder and change factory method to create()

15 years agoRequest Horde_Core_Factory_Data directly, remove binder.
Michael J. Rubinsky [Thu, 7 Oct 2010 15:11:10 +0000 (11:11 -0400)]
Request Horde_Core_Factory_Data directly, remove binder.

15 years agoparse error
Michael J. Rubinsky [Thu, 7 Oct 2010 15:10:13 +0000 (11:10 -0400)]
parse error

15 years agoAsk for Horde_Core_Factory_Crypt directly, change factory method to create()
Michael J. Rubinsky [Thu, 7 Oct 2010 15:01:39 +0000 (11:01 -0400)]
Ask for Horde_Core_Factory_Crypt directly, change factory method to create()

I can't remember from our discussions if we are still using factory methods
in the individual libraries (assuming no horde-specific config in them). For
now, retain the use of Horde_Crypt::factory().

15 years agoHorde_Core_Binder_Token -> Horde_Core_Factory_Token
Michael J. Rubinsky [Thu, 7 Oct 2010 14:33:01 +0000 (10:33 -0400)]
Horde_Core_Binder_Token -> Horde_Core_Factory_Token

15 years agoIngo migrations, remove legacy sql upgrade and creation scripts.
Michael J. Rubinsky [Thu, 7 Oct 2010 14:20:53 +0000 (10:20 -0400)]
Ingo migrations, remove legacy sql upgrade and creation scripts.

15 years agofix user_uid column name
Michael J. Rubinsky [Thu, 7 Oct 2010 14:20:11 +0000 (10:20 -0400)]
fix user_uid column name

15 years agofix reading/saving flags when editing/creating a new rule
Michael J. Rubinsky [Thu, 7 Oct 2010 14:19:34 +0000 (10:19 -0400)]
fix reading/saving flags when editing/creating a new rule

15 years agofix user_uid column name
Michael J. Rubinsky [Thu, 7 Oct 2010 13:53:42 +0000 (09:53 -0400)]
fix user_uid column name

15 years agoBug #9293: Fix some imp redirection issues when viewing page from wrong view type
Michael M Slusarz [Thu, 7 Oct 2010 07:04:06 +0000 (01:04 -0600)]
Bug #9293: Fix some imp redirection issues when viewing page from wrong view type

15 years agoBug #9261: Allow SystemTasks to be skipped
Michael M Slusarz [Thu, 7 Oct 2010 06:38:20 +0000 (00:38 -0600)]
Bug #9261: Allow SystemTasks to be skipped

If a system task requires auth, skip it until the user is authenticated.

For bin/run_task, if a task is skipped output a warning message.
Currently, no UI exists for allowing authentication from the command
line.

15 years agoRemove URL parameter dependency from Horde_LoginTasks
Michael M Slusarz [Thu, 7 Oct 2010 06:19:30 +0000 (00:19 -0600)]
Remove URL parameter dependency from Horde_LoginTasks

15 years agoImplement Countable and Iterator interfaces for Horde_Variables::.
Michael M Slusarz [Thu, 7 Oct 2010 06:07:55 +0000 (00:07 -0600)]
Implement Countable and Iterator interfaces for Horde_Variables::.

15 years agotweaks
Michael M Slusarz [Wed, 6 Oct 2010 20:59:47 +0000 (14:59 -0600)]
tweaks

15 years agoRemove LoginTasks binder - use direct factory instead.
Michael M Slusarz [Wed, 6 Oct 2010 20:52:02 +0000 (14:52 -0600)]
Remove LoginTasks binder - use direct factory instead.

Factory does the necessary base Horde authentication check.

15 years agoRemove Horde_LoginTasks_Backend::isAuthenticated()
Michael M Slusarz [Wed, 6 Oct 2010 20:42:07 +0000 (14:42 -0600)]
Remove Horde_LoginTasks_Backend::isAuthenticated()