horde.git
14 years agoRevert "alarm_params needs to be a BLOB to store serialized Horde_Mime_Part objects."
Jan Schneider [Thu, 23 Dec 2010 16:51:18 +0000 (17:51 +0100)]
Revert "alarm_params needs to be a BLOB to store serialized Horde_Mime_Part objects."

This reverts commit f3c72fc3a9018da169bc32610c33b5367b8d43bc.

14 years agoGet last_query from split drivers.
Jan Schneider [Thu, 23 Dec 2010 16:37:21 +0000 (17:37 +0100)]
Get last_query from split drivers.

14 years agoNo need to return anything.
Jan Schneider [Thu, 23 Dec 2010 16:19:43 +0000 (17:19 +0100)]
No need to return anything.

14 years agoCatch existing base table.
Jan Schneider [Thu, 23 Dec 2010 16:19:24 +0000 (17:19 +0100)]
Catch existing base table.

14 years agoalarm_params needs to be a BLOB to store serialized Horde_Mime_Part objects.
Jan Schneider [Thu, 23 Dec 2010 16:18:55 +0000 (17:18 +0100)]
alarm_params needs to be a BLOB to store serialized Horde_Mime_Part objects.

14 years agoRemove a few references.
Jan Schneider [Thu, 23 Dec 2010 13:53:38 +0000 (14:53 +0100)]
Remove a few references.

14 years agows
Michael J. Rubinsky [Thu, 23 Dec 2010 15:30:31 +0000 (10:30 -0500)]
ws

14 years agohonor install_framework --pkg parameter
Gonçalo Queirós [Thu, 23 Dec 2010 00:16:32 +0000 (00:16 +0000)]
honor install_framework --pkg parameter

Signed-off-by: Jan Schneider <jan@horde.org>
Bug: #9452

14 years agoImplement file locking for our file-based session handler
Michael M Slusarz [Thu, 23 Dec 2010 10:25:01 +0000 (03:25 -0700)]
Implement file locking for our file-based session handler

14 years agows
Michael M Slusarz [Thu, 23 Dec 2010 09:22:17 +0000 (02:22 -0700)]
ws

14 years agoUse Horde::[start|end]Buffer()
Michael M Slusarz [Thu, 23 Dec 2010 09:11:17 +0000 (02:11 -0700)]
Use Horde::[start|end]Buffer()

14 years agoBug #9466: Fix clearing session for certain logout types
Michael M Slusarz [Thu, 23 Dec 2010 08:46:46 +0000 (01:46 -0700)]
Bug #9466: Fix clearing session for certain logout types

The first time through login.php after logout, the session will still
exist (even though is_auth might be false). This is the check we need to
perform to ensure that the user is properly logged out.

14 years agoRemove stray semicolon
Michael M Slusarz [Thu, 23 Dec 2010 08:38:18 +0000 (01:38 -0700)]
Remove stray semicolon

14 years agoBug #9437: Last fallback should be nlsconfig default language
Michael M Slusarz [Wed, 22 Dec 2010 21:14:37 +0000 (14:14 -0700)]
Bug #9437: Last fallback should be nlsconfig default language

14 years agoAdd last_query property.
Jan Schneider [Wed, 22 Dec 2010 22:49:39 +0000 (23:49 +0100)]
Add last_query property.

14 years agoFinish 90% of unit tests.
Jan Schneider [Wed, 22 Dec 2010 22:47:54 +0000 (23:47 +0100)]
Finish 90% of unit tests.

14 years agoFix method name.
Jan Schneider [Wed, 22 Dec 2010 22:45:55 +0000 (23:45 +0100)]
Fix method name.

14 years agoImplement __sleep() correctly.
Jan Schneider [Wed, 22 Dec 2010 22:45:35 +0000 (23:45 +0100)]
Implement __sleep() correctly.

14 years agoFix getShares().
Jan Schneider [Wed, 22 Dec 2010 22:35:43 +0000 (23:35 +0100)]
Fix getShares().

14 years agoCache imp backends.php config
Michael M Slusarz [Wed, 22 Dec 2010 18:36:36 +0000 (11:36 -0700)]
Cache imp backends.php config

14 years agoAdd debug logging when loading config file
Michael M Slusarz [Wed, 22 Dec 2010 18:30:50 +0000 (11:30 -0700)]
Add debug logging when loading config file

14 years agoHorde::logMessage() tweaks
Michael M Slusarz [Wed, 22 Dec 2010 18:22:20 +0000 (11:22 -0700)]
Horde::logMessage() tweaks

Don't try to log until we have the basic framework initialized.

Don't throw Exception if logMessage() was called before framework was
initialized; ignore instead.

14 years agoBug #9464: Display MDN check message
Gonçalo Queirós [Wed, 22 Dec 2010 17:12:52 +0000 (17:12 +0000)]
Bug #9464: Display MDN check message

Signed-off-by: Michael M Slusarz <slusarz@curecanti.org>
14 years agoAdd on-demand loading of nlsconfig data.
Michael M Slusarz [Wed, 22 Dec 2010 08:38:37 +0000 (01:38 -0700)]
Add on-demand loading of nlsconfig data.

Move nlsconfig manipulation code inside of this new object.

Cache nlsconfig info about the current language - only need to load
nls.php config file now if manipulating an entire config entry.

14 years agoTicket #9437: Tweak preferred language selection.
Michael M Slusarz [Wed, 22 Dec 2010 09:33:42 +0000 (02:33 -0700)]
Ticket #9437: Tweak preferred language selection.

I *think* this should be the behavior (precedence-wise):

Pre-auth
--------

Prefs will most likely be unavailable or default language is empty.
Language will be set based on language drop-down on login refresh (if
language switching allowed)
Session language is used (pre-auth session will have language set if the
login screen has been reloaded)
System-wide default used (nls config)
Finally, browser detection.

Post-auth
---------

Value in user's prefs will ALWAYS control (regardless of login screen
language selection)
Language from login screen will be used (if language switching allowed)
On initial login session is new/clean; language info unavailable here
On subsequent login, this contains the session language (code will
ALWAYS stop here after user is authenticated)
System-wide default used (nls config)
Finally, browser detection.

14 years agoFix sounds prefs display and setting.
Jan Schneider [Wed, 22 Dec 2010 17:55:12 +0000 (18:55 +0100)]
Fix sounds prefs display and setting.

14 years agoThis check is broken. It's probably meant to check $this->_name, but this is
Jan Schneider [Wed, 22 Dec 2010 17:49:50 +0000 (18:49 +0100)]
This check is broken. It's probably meant to check $this->_name, but this is
the wrong place for the check anyway, because it's already too late if we have
Sound object. And we already to the wav check in soundList().

14 years agoThe session key must include the user name.
Jan Schneider [Wed, 22 Dec 2010 15:25:23 +0000 (16:25 +0100)]
The session key must include the user name.

 We are accessing other users' preferences during a session.

14 years agoFix garbage collection.
Jan Schneider [Wed, 22 Dec 2010 14:56:56 +0000 (15:56 +0100)]
Fix garbage collection.

14 years agoEven GC should not cause an exception.
Jan Schneider [Wed, 22 Dec 2010 14:55:37 +0000 (15:55 +0100)]
Even GC should not cause an exception.

14 years agoUpdate test to latest Alarm/Db/migration code.
Jan Schneider [Wed, 22 Dec 2010 14:52:01 +0000 (15:52 +0100)]
Update test to latest Alarm/Db/migration code.

14 years agoThe original charset parameter is still required for converting from/to backend.
Jan Schneider [Wed, 22 Dec 2010 14:44:10 +0000 (15:44 +0100)]
The original charset parameter is still required for converting from/to backend.

14 years agoUse correct header names. Set body charset.
Jan Schneider [Wed, 22 Dec 2010 14:32:03 +0000 (15:32 +0100)]
Use correct header names. Set body charset.

14 years agoFix tests.
Jan Schneider [Wed, 22 Dec 2010 14:23:57 +0000 (15:23 +0100)]
Fix tests.

14 years agoTweak error message.
Jan Schneider [Wed, 22 Dec 2010 14:22:56 +0000 (15:22 +0100)]
Tweak error message.

14 years agoSave all arguments that we used to instantiate the registry so that we can
Jan Schneider [Wed, 22 Dec 2010 13:57:56 +0000 (14:57 +0100)]
Save all arguments that we used to instantiate the registry so that we can
re-use them later. Use the inital 'authentication' parameter when setting
'check_perms' during registry calls.

14 years agoReturn booleans.
Jan Schneider [Wed, 22 Dec 2010 11:02:43 +0000 (12:02 +0100)]
Return booleans.

14 years agoCatch PEAR_Errors.
Jan Schneider [Wed, 22 Dec 2010 10:57:43 +0000 (11:57 +0100)]
Catch PEAR_Errors.

14 years agoMark methods static, fix executing query.
Jan Schneider [Wed, 22 Dec 2010 10:39:15 +0000 (11:39 +0100)]
Mark methods static, fix executing query.

14 years agoCS, remove/fix unused variables, other stuff detected by CI.
Jan Schneider [Wed, 22 Dec 2010 10:24:12 +0000 (11:24 +0100)]
CS, remove/fix unused variables, other stuff detected by CI.

14 years agoBug #9461: Fix adding attachments from draft
Michael M Slusarz [Wed, 22 Dec 2010 05:50:06 +0000 (22:50 -0700)]
Bug #9461: Fix adding attachments from draft

14 years agofix camelcase
Michael M Slusarz [Wed, 22 Dec 2010 05:49:14 +0000 (22:49 -0700)]
fix camelcase

14 years agoTweak default highlighted color
Michael M Slusarz [Wed, 22 Dec 2010 05:22:26 +0000 (22:22 -0700)]
Tweak default highlighted color

14 years agoFix encrpytion default value
Michael M Slusarz [Wed, 22 Dec 2010 05:21:06 +0000 (22:21 -0700)]
Fix encrpytion default value

14 years agoFix _listShares() and more method incompatibilities.
Jan Schneider [Tue, 21 Dec 2010 23:51:11 +0000 (00:51 +0100)]
Fix _listShares() and more method incompatibilities.

14 years agoSimplify, phpdoc.
Jan Schneider [Tue, 21 Dec 2010 23:33:50 +0000 (00:33 +0100)]
Simplify, phpdoc.

14 years agoImplement Serializable.
Jan Schneider [Tue, 21 Dec 2010 23:33:48 +0000 (00:33 +0100)]
Implement Serializable.

14 years agoFix method compatibility.
Jan Schneider [Tue, 21 Dec 2010 23:08:29 +0000 (00:08 +0100)]
Fix method compatibility.

14 years agoFix method compatibility.
Jan Schneider [Tue, 21 Dec 2010 22:37:08 +0000 (23:37 +0100)]
Fix method compatibility.

14 years agoAdd ActiveSync dependency.
Jan Schneider [Tue, 21 Dec 2010 22:35:02 +0000 (23:35 +0100)]
Add ActiveSync dependency.

14 years agoMore tweaks to language selection on login screen
Michael M Slusarz [Tue, 21 Dec 2010 22:23:11 +0000 (15:23 -0700)]
More tweaks to language selection on login screen

14 years agoBug #9437: Fix language selection via login screen
Michael M Slusarz [Tue, 21 Dec 2010 22:10:38 +0000 (15:10 -0700)]
Bug #9437: Fix language selection via login screen

14 years agoUpdate file lists.
Jan Schneider [Tue, 21 Dec 2010 22:04:56 +0000 (23:04 +0100)]
Update file lists.

14 years agoAdd Mime_Viewer dependency.
Jan Schneider [Tue, 21 Dec 2010 22:03:05 +0000 (23:03 +0100)]
Add Mime_Viewer dependency.

14 years agoBug #9426: Fix S/Mime signing
Michael M Slusarz [Tue, 21 Dec 2010 21:50:50 +0000 (14:50 -0700)]
Bug #9426: Fix S/Mime signing

Workaround broken openssl_pkcs7_sign() - it outputs both \r\n and \n in
the same string.

14 years agoFix Horde_Session usage
Michael M Slusarz [Tue, 21 Dec 2010 21:21:26 +0000 (14:21 -0700)]
Fix Horde_Session usage

14 years agoLimit encryption options based on presence of personal keys
Michael M Slusarz [Tue, 21 Dec 2010 21:12:13 +0000 (14:12 -0700)]
Limit encryption options based on presence of personal keys

14 years agoFix incompatible method signatures.
Jan Schneider [Tue, 21 Dec 2010 21:41:49 +0000 (22:41 +0100)]
Fix incompatible method signatures.

14 years agoCatch more edge cases with rewrite URLs.
Jan Schneider [Tue, 21 Dec 2010 21:18:13 +0000 (22:18 +0100)]
Catch more edge cases with rewrite URLs.

14 years agosome ws, cs, logic tweaks
Michael J. Rubinsky [Tue, 21 Dec 2010 21:09:25 +0000 (16:09 -0500)]
some ws, cs, logic tweaks

14 years agoactually *use* the sql limit clause
Michael J. Rubinsky [Tue, 21 Dec 2010 21:08:47 +0000 (16:08 -0500)]
actually *use* the sql limit clause

14 years agoUse a more appropriate limit here, this was probably a debugging artifact.
Michael J. Rubinsky [Tue, 21 Dec 2010 21:03:40 +0000 (16:03 -0500)]
Use a more appropriate limit here, this was probably a debugging artifact.

14 years agosmall phpdoc tweaks while I'm poking
Michael J. Rubinsky [Tue, 21 Dec 2010 20:46:04 +0000 (15:46 -0500)]
small phpdoc tweaks while I'm poking

14 years agophpdoc
Jan Schneider [Tue, 21 Dec 2010 19:14:04 +0000 (20:14 +0100)]
phpdoc

14 years agoFix selfUrl() result when using URL rewriting.
Jan Schneider [Tue, 21 Dec 2010 19:13:48 +0000 (20:13 +0100)]
Fix selfUrl() result when using URL rewriting.

14 years agoFix double slash in selfUrl() results.
Jan Schneider [Tue, 21 Dec 2010 19:09:15 +0000 (20:09 +0100)]
Fix double slash in selfUrl() results.

14 years agoAdd test for selfUrl().
Jan Schneider [Tue, 21 Dec 2010 19:08:45 +0000 (20:08 +0100)]
Add test for selfUrl().

14 years agoFix detecting PATH_INFO if using URL rewriting.
Jan Schneider [Tue, 21 Dec 2010 19:06:43 +0000 (20:06 +0100)]
Fix detecting PATH_INFO if using URL rewriting.

14 years agoAdd Horde_String::common().
Jan Schneider [Tue, 21 Dec 2010 19:06:04 +0000 (20:06 +0100)]
Add Horde_String::common().

14 years agoBe able to accept either a struct or array structure passed back from xmlrpc.
Michael J. Rubinsky [Tue, 21 Dec 2010 18:54:59 +0000 (13:54 -0500)]
Be able to accept either a struct or array structure passed back from xmlrpc.

the datatype returned by xmlrpc seems to depend on the lunar cycle or sunspots, or ...

14 years agoQ: How many commits does it take to get this right?
Michael J. Rubinsky [Tue, 21 Dec 2010 17:24:28 +0000 (12:24 -0500)]
Q: How many commits does it take to get this right?
A: Apparently three

No need for the ENT_QUOTES flag here either.

14 years agoeven better, no need to pass the charset param if it's utf-8 ... thanks, Jan
Michael J. Rubinsky [Tue, 21 Dec 2010 16:52:20 +0000 (11:52 -0500)]
even better, no need to pass the charset param if it's utf-8 ... thanks, Jan

14 years agoAssuming this non-existent member should be replaced by 'UTF-8' now...
Michael J. Rubinsky [Tue, 21 Dec 2010 16:48:40 +0000 (11:48 -0500)]
Assuming this non-existent member should be replaced by 'UTF-8' now...

14 years agoactually load the tags into the story array.
Michael J Rubinsky [Tue, 21 Dec 2010 15:43:41 +0000 (10:43 -0500)]
actually load the tags into the story array.

Temp fix until moved to Content/Tagger

14 years agoFix stacked caching:
Michael J. Rubinsky [Tue, 21 Dec 2010 15:15:03 +0000 (10:15 -0500)]
Fix stacked caching:

Remove unnecessary variable assignment using outdated method name
Fix assignment of 'stack' parameter in the Stack driver

14 years agoBug #9456: External JS should be loaded before our JS
Michael M Slusarz [Tue, 21 Dec 2010 07:25:30 +0000 (00:25 -0700)]
Bug #9456: External JS should be loaded before our JS

14 years agophpdoc
Michael M Slusarz [Tue, 21 Dec 2010 07:25:13 +0000 (00:25 -0700)]
phpdoc

14 years agodisposition_request_read -> request_mdn
Michael M Slusarz [Tue, 21 Dec 2010 02:11:49 +0000 (19:11 -0700)]
disposition_request_read -> request_mdn

No need for 'allow_receipts' configuration option; admin can lock this
preference if needed.

14 years agoThis pref no longer exists.
Michael M Slusarz [Tue, 21 Dec 2010 02:01:06 +0000 (19:01 -0700)]
This pref no longer exists.

14 years agodisposition_send_mdn -> send_mdn
Michael M Slusarz [Tue, 21 Dec 2010 01:59:57 +0000 (18:59 -0700)]
disposition_send_mdn -> send_mdn

14 years agoRequest #9457: Add request read receipt information to draft
Michael M Slusarz [Tue, 21 Dec 2010 01:50:36 +0000 (18:50 -0700)]
Request #9457: Add request read receipt information to draft

14 years agoAdd Horde_Mime_Mdn::MDN_HEADER
Michael M Slusarz [Tue, 21 Dec 2010 01:37:57 +0000 (18:37 -0700)]
Add Horde_Mime_Mdn::MDN_HEADER

14 years agoRequest #9457: Add priority information to draft
Michael M Slusarz [Tue, 21 Dec 2010 01:28:04 +0000 (18:28 -0700)]
Request #9457: Add priority information to draft

14 years agoAdd missing icon
Michael M Slusarz [Tue, 21 Dec 2010 01:27:25 +0000 (18:27 -0700)]
Add missing icon

14 years agophpdoc
Michael J. Rubinsky [Tue, 21 Dec 2010 00:14:42 +0000 (19:14 -0500)]
phpdoc

14 years agoremoved deprecated files
Michael J. Rubinsky [Tue, 21 Dec 2010 00:08:28 +0000 (19:08 -0500)]
removed deprecated files

14 years agoremoved unused code
Michael J. Rubinsky [Tue, 21 Dec 2010 00:07:20 +0000 (19:07 -0500)]
removed unused code

14 years agoH4 style file/class names for the various forms
Michael J. Rubinsky [Tue, 21 Dec 2010 00:03:23 +0000 (19:03 -0500)]
H4 style file/class names for the various forms

14 years agoremove old creation scripts
Michael J. Rubinsky [Mon, 20 Dec 2010 22:22:56 +0000 (17:22 -0500)]
remove old creation scripts

14 years agoHorde 4 changes:
Michael J. Rubinsky [Mon, 20 Dec 2010 22:21:50 +0000 (17:21 -0500)]
Horde 4 changes:

php5-ify, move to Horde_Db, add migrations

14 years agoBug #9459: Need keys here, not values
Michael M Slusarz [Mon, 20 Dec 2010 23:59:19 +0000 (16:59 -0700)]
Bug #9459: Need keys here, not values

14 years agoLoad common-header.inc from horde.
Jan Schneider [Mon, 20 Dec 2010 23:34:56 +0000 (00:34 +0100)]
Load common-header.inc from horde.

14 years agoBug #9458: Adjust width based on viewport position of viewport content element
Michael M Slusarz [Mon, 20 Dec 2010 23:22:43 +0000 (16:22 -0700)]
Bug #9458: Adjust width based on viewport position of viewport content element

14 years agoBug #9458: Fix position determination of dragbar
Michael M Slusarz [Mon, 20 Dec 2010 19:21:51 +0000 (12:21 -0700)]
Bug #9458: Fix position determination of dragbar

14 years agoCleanup registry.php.dist file
Michael M Slusarz [Mon, 20 Dec 2010 18:52:37 +0000 (11:52 -0700)]
Cleanup registry.php.dist file

Format remains the same, so no need to alter current config file.  But
offers the following improvements:

Use one array to eliminate duplicative/confusing $this->applications[]
instances scattered throughout.

'status' no longer required; defaults to 'active'.

'fileroot' and 'webroot' no longer required; defaults to HORDE_BASE and
web auto-detection respectively.

Move web auto-detection into Horde_Registry.  If auto-detection doesn't
work for an admin, it makes more sense for them to just enter the proper
webroot rather than trying to tweak the detection function.
Additionally, registry.php can now be loaded multiple times in an access
- since the registry needs to be completely rebuilt for things like a
forced config change or langauge switch.  Thus, this prevents the need
for a function_exists() check.

Add optional variables to allow for definition of app fileroot/webroot
if different than Horde's.  Very useful for dev's - no need to hardcode
fileroot values for each application if using links.

14 years agoBug #9424: Need to unset apis variable - or else it won't be rebuilt
Michael M Slusarz [Mon, 20 Dec 2010 17:19:17 +0000 (10:19 -0700)]
Bug #9424: Need to unset apis variable - or else it won't be rebuilt

14 years agoDon't mask errors
Michael M Slusarz [Mon, 20 Dec 2010 17:18:47 +0000 (10:18 -0700)]
Don't mask errors

14 years agoFix language change on login screen
Michael M Slusarz [Mon, 20 Dec 2010 17:18:17 +0000 (10:18 -0700)]
Fix language change on login screen

14 years agoFix undefined variable warning
Michael M Slusarz [Mon, 20 Dec 2010 17:18:00 +0000 (10:18 -0700)]
Fix undefined variable warning

14 years agoRegistry not working due to viral copy/paste error
Michael M Slusarz [Mon, 20 Dec 2010 05:23:37 +0000 (22:23 -0700)]
Registry not working due to viral copy/paste error