Jan Schneider [Wed, 22 Dec 2010 22:45:35 +0000 (23:45 +0100)]
Implement __sleep() correctly.
Jan Schneider [Wed, 22 Dec 2010 22:35:43 +0000 (23:35 +0100)]
Fix getShares().
Michael M Slusarz [Wed, 22 Dec 2010 18:36:36 +0000 (11:36 -0700)]
Cache imp backends.php config
Michael M Slusarz [Wed, 22 Dec 2010 18:30:50 +0000 (11:30 -0700)]
Add debug logging when loading config file
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.
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>
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.
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.
Jan Schneider [Wed, 22 Dec 2010 17:55:12 +0000 (18:55 +0100)]
Fix sounds prefs display and setting.
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().
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.
Jan Schneider [Wed, 22 Dec 2010 14:56:56 +0000 (15:56 +0100)]
Fix garbage collection.
Jan Schneider [Wed, 22 Dec 2010 14:55:37 +0000 (15:55 +0100)]
Even GC should not cause an exception.
Jan Schneider [Wed, 22 Dec 2010 14:52:01 +0000 (15:52 +0100)]
Update test to latest Alarm/Db/migration code.
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.
Jan Schneider [Wed, 22 Dec 2010 14:32:03 +0000 (15:32 +0100)]
Use correct header names. Set body charset.
Jan Schneider [Wed, 22 Dec 2010 14:23:57 +0000 (15:23 +0100)]
Fix tests.
Jan Schneider [Wed, 22 Dec 2010 14:22:56 +0000 (15:22 +0100)]
Tweak error message.
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.
Jan Schneider [Wed, 22 Dec 2010 11:02:43 +0000 (12:02 +0100)]
Return booleans.
Jan Schneider [Wed, 22 Dec 2010 10:57:43 +0000 (11:57 +0100)]
Catch PEAR_Errors.
Jan Schneider [Wed, 22 Dec 2010 10:39:15 +0000 (11:39 +0100)]
Mark methods static, fix executing query.
Jan Schneider [Wed, 22 Dec 2010 10:24:12 +0000 (11:24 +0100)]
CS, remove/fix unused variables, other stuff detected by CI.
Michael M Slusarz [Wed, 22 Dec 2010 05:50:06 +0000 (22:50 -0700)]
Bug #9461: Fix adding attachments from draft
Michael M Slusarz [Wed, 22 Dec 2010 05:49:14 +0000 (22:49 -0700)]
fix camelcase
Michael M Slusarz [Wed, 22 Dec 2010 05:22:26 +0000 (22:22 -0700)]
Tweak default highlighted color
Michael M Slusarz [Wed, 22 Dec 2010 05:21:06 +0000 (22:21 -0700)]
Fix encrpytion default value
Jan Schneider [Tue, 21 Dec 2010 23:51:11 +0000 (00:51 +0100)]
Fix _listShares() and more method incompatibilities.
Jan Schneider [Tue, 21 Dec 2010 23:33:50 +0000 (00:33 +0100)]
Simplify, phpdoc.
Jan Schneider [Tue, 21 Dec 2010 23:33:48 +0000 (00:33 +0100)]
Implement Serializable.
Jan Schneider [Tue, 21 Dec 2010 23:08:29 +0000 (00:08 +0100)]
Fix method compatibility.
Jan Schneider [Tue, 21 Dec 2010 22:37:08 +0000 (23:37 +0100)]
Fix method compatibility.
Jan Schneider [Tue, 21 Dec 2010 22:35:02 +0000 (23:35 +0100)]
Add ActiveSync dependency.
Michael M Slusarz [Tue, 21 Dec 2010 22:23:11 +0000 (15:23 -0700)]
More tweaks to language selection on login screen
Michael M Slusarz [Tue, 21 Dec 2010 22:10:38 +0000 (15:10 -0700)]
Bug #9437: Fix language selection via login screen
Jan Schneider [Tue, 21 Dec 2010 22:04:56 +0000 (23:04 +0100)]
Update file lists.
Jan Schneider [Tue, 21 Dec 2010 22:03:05 +0000 (23:03 +0100)]
Add Mime_Viewer dependency.
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.
Michael M Slusarz [Tue, 21 Dec 2010 21:21:26 +0000 (14:21 -0700)]
Fix Horde_Session usage
Michael M Slusarz [Tue, 21 Dec 2010 21:12:13 +0000 (14:12 -0700)]
Limit encryption options based on presence of personal keys
Jan Schneider [Tue, 21 Dec 2010 21:41:49 +0000 (22:41 +0100)]
Fix incompatible method signatures.
Jan Schneider [Tue, 21 Dec 2010 21:18:13 +0000 (22:18 +0100)]
Catch more edge cases with rewrite URLs.
Michael J. Rubinsky [Tue, 21 Dec 2010 21:09:25 +0000 (16:09 -0500)]
some ws, cs, logic tweaks
Michael J. Rubinsky [Tue, 21 Dec 2010 21:08:47 +0000 (16:08 -0500)]
actually *use* the sql limit clause
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.
Michael J. Rubinsky [Tue, 21 Dec 2010 20:46:04 +0000 (15:46 -0500)]
small phpdoc tweaks while I'm poking
Jan Schneider [Tue, 21 Dec 2010 19:14:04 +0000 (20:14 +0100)]
phpdoc
Jan Schneider [Tue, 21 Dec 2010 19:13:48 +0000 (20:13 +0100)]
Fix selfUrl() result when using URL rewriting.
Jan Schneider [Tue, 21 Dec 2010 19:09:15 +0000 (20:09 +0100)]
Fix double slash in selfUrl() results.
Jan Schneider [Tue, 21 Dec 2010 19:08:45 +0000 (20:08 +0100)]
Add test for selfUrl().
Jan Schneider [Tue, 21 Dec 2010 19:06:43 +0000 (20:06 +0100)]
Fix detecting PATH_INFO if using URL rewriting.
Jan Schneider [Tue, 21 Dec 2010 19:06:04 +0000 (20:06 +0100)]
Add Horde_String::common().
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 ...
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.
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
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...
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
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
Michael M Slusarz [Tue, 21 Dec 2010 07:25:30 +0000 (00:25 -0700)]
Bug #9456: External JS should be loaded before our JS
Michael M Slusarz [Tue, 21 Dec 2010 07:25:13 +0000 (00:25 -0700)]
phpdoc
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.
Michael M Slusarz [Tue, 21 Dec 2010 02:01:06 +0000 (19:01 -0700)]
This pref no longer exists.
Michael M Slusarz [Tue, 21 Dec 2010 01:59:57 +0000 (18:59 -0700)]
disposition_send_mdn -> send_mdn
Michael M Slusarz [Tue, 21 Dec 2010 01:50:36 +0000 (18:50 -0700)]
Request #9457: Add request read receipt information to draft
Michael M Slusarz [Tue, 21 Dec 2010 01:37:57 +0000 (18:37 -0700)]
Add Horde_Mime_Mdn::MDN_HEADER
Michael M Slusarz [Tue, 21 Dec 2010 01:28:04 +0000 (18:28 -0700)]
Request #9457: Add priority information to draft
Michael M Slusarz [Tue, 21 Dec 2010 01:27:25 +0000 (18:27 -0700)]
Add missing icon
Michael J. Rubinsky [Tue, 21 Dec 2010 00:14:42 +0000 (19:14 -0500)]
phpdoc
Michael J. Rubinsky [Tue, 21 Dec 2010 00:08:28 +0000 (19:08 -0500)]
removed deprecated files
Michael J. Rubinsky [Tue, 21 Dec 2010 00:07:20 +0000 (19:07 -0500)]
removed unused code
Michael J. Rubinsky [Tue, 21 Dec 2010 00:03:23 +0000 (19:03 -0500)]
H4 style file/class names for the various forms
Michael J. Rubinsky [Mon, 20 Dec 2010 22:22:56 +0000 (17:22 -0500)]
remove old creation scripts
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
Michael M Slusarz [Mon, 20 Dec 2010 23:59:19 +0000 (16:59 -0700)]
Bug #9459: Need keys here, not values
Jan Schneider [Mon, 20 Dec 2010 23:34:56 +0000 (00:34 +0100)]
Load common-header.inc from horde.
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
Michael M Slusarz [Mon, 20 Dec 2010 19:21:51 +0000 (12:21 -0700)]
Bug #9458: Fix position determination of dragbar
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.
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
Michael M Slusarz [Mon, 20 Dec 2010 17:18:47 +0000 (10:18 -0700)]
Don't mask errors
Michael M Slusarz [Mon, 20 Dec 2010 17:18:17 +0000 (10:18 -0700)]
Fix language change on login screen
Michael M Slusarz [Mon, 20 Dec 2010 17:18:00 +0000 (10:18 -0700)]
Fix undefined variable warning
Michael M Slusarz [Mon, 20 Dec 2010 05:23:37 +0000 (22:23 -0700)]
Registry not working due to viral copy/paste error
Michael M Slusarz [Mon, 20 Dec 2010 04:31:59 +0000 (21:31 -0700)]
Revert "Revert "Cleanup registry caching." This caused registry methods not to be visible to external applications for me, plus other problems for Jan."
This reverts commit
3be8781b0fc7bc17f52b2a65adedd0198a780e5a.
Michael M Slusarz [Fri, 17 Dec 2010 23:48:09 +0000 (16:48 -0700)]
Handle memcache servers that are not reachable
Chuck Hagenbuch [Sun, 19 Dec 2010 18:49:40 +0000 (13:49 -0500)]
Revert "Cleanup registry caching." This caused registry methods not to be visible to external applications for me, plus other problems for Jan.
This reverts commit
27bd896e7b07de019aa8c59565ec0ed89f28f5f9.
Chuck Hagenbuch [Sat, 18 Dec 2010 19:21:13 +0000 (14:21 -0500)]
Horde_Icalendar throws exceptions now
Michael M Slusarz [Fri, 17 Dec 2010 20:45:00 +0000 (13:45 -0700)]
Cleanup registry caching.
No need to wait until shutdown to write cache.
clearCache() -> rebuild() which does better job of regenerating
necessary data elements.
When switching languages, don't rebuild registry information until AFTER
we switch the language.
Possibly fixes Bug #9424 (?)
Michael M Slusarz [Fri, 17 Dec 2010 20:06:12 +0000 (13:06 -0700)]
API calls should no longer be throwing PEAR_Errors in H4
Michael M Slusarz [Fri, 17 Dec 2010 19:36:38 +0000 (12:36 -0700)]
Not used
Michael M Slusarz [Fri, 17 Dec 2010 19:09:31 +0000 (12:09 -0700)]
Don't cache config data in registry.
Our config files generally do not contain much (if any) conditional
code, so caching doesn't provide much/any benefit.
Michael M Slusarz [Fri, 17 Dec 2010 09:15:05 +0000 (02:15 -0700)]
Other than delete, don't flag until we get confirmation from server
Michael M Slusarz [Fri, 17 Dec 2010 09:11:58 +0000 (02:11 -0700)]
Have the flagCallback handle setting deleted flag when reporting spam
Michael M Slusarz [Fri, 17 Dec 2010 09:11:31 +0000 (02:11 -0700)]
Have flagEntry() accept an IMP_Indices object
Michael M Slusarz [Fri, 17 Dec 2010 08:53:02 +0000 (01:53 -0700)]
Remove unreachable code
Michael M Slusarz [Fri, 17 Dec 2010 08:39:01 +0000 (01:39 -0700)]
Fix empty mailbox message display on IE8
Michael M Slusarz [Fri, 17 Dec 2010 08:32:55 +0000 (01:32 -0700)]
Fix folder display on IE8
Michael M Slusarz [Fri, 17 Dec 2010 05:30:07 +0000 (22:30 -0700)]
m.message might be null if JSON encoding is broken
Michael J Rubinsky [Thu, 16 Dec 2010 23:55:33 +0000 (18:55 -0500)]
match function signature, but need a default value since names
are not supported in hierarchical driver.
Michael J Rubinsky [Thu, 16 Dec 2010 23:47:05 +0000 (18:47 -0500)]
looks like you need to specify a null default value here or Horde_Db complains