horde.git
15 years agophpdoc
Michael M Slusarz [Thu, 9 Sep 2010 20:15:31 +0000 (14:15 -0600)]
phpdoc

15 years agoAdd Horde::menu()
Michael M Slusarz [Thu, 9 Sep 2010 17:59:33 +0000 (11:59 -0600)]
Add Horde::menu()

Add Horde_Registry_Application#menu(), which replaces
Horde_Registry_Application#prefsMenu(), and can now be used by any
application call, not just prefs.

If an application does not extend the menubar, all that is needed for
menu creation is to define app-specific menu elements in menu() and then
call 'echo Horde::menu()' within the app.

15 years agophpdoc
Michael M Slusarz [Thu, 9 Sep 2010 17:30:56 +0000 (11:30 -0600)]
phpdoc

15 years agocleanups
Michael M Slusarz [Thu, 9 Sep 2010 17:00:00 +0000 (11:00 -0600)]
cleanups

15 years agoCleanup some Application file code.
Michael M Slusarz [Thu, 9 Sep 2010 16:57:39 +0000 (10:57 -0600)]
Cleanup some Application file code.

15 years agoIgnore .bak files.
Jan Schneider [Thu, 9 Sep 2010 18:48:20 +0000 (20:48 +0200)]
Ignore .bak files.

15 years agoOptions/Settings -> Preferences
Jan Schneider [Thu, 9 Sep 2010 18:47:50 +0000 (20:47 +0200)]
Options/Settings -> Preferences

15 years agoFix paths.
Jan Schneider [Thu, 9 Sep 2010 16:25:58 +0000 (18:25 +0200)]
Fix paths.

15 years agoSetup -> Configuration
Jan Schneider [Thu, 9 Sep 2010 16:25:19 +0000 (18:25 +0200)]
Setup -> Configuration

15 years agoConsolidate on backends.php for backend configuration files.
Jan Schneider [Thu, 9 Sep 2010 15:50:20 +0000 (17:50 +0200)]
Consolidate on backends.php for backend configuration files.

15 years agoRemove BC warning.
Jan Schneider [Thu, 9 Sep 2010 14:34:30 +0000 (16:34 +0200)]
Remove BC warning.

15 years agoLink all apps if none specified.
Jan Schneider [Thu, 9 Sep 2010 13:08:07 +0000 (15:08 +0200)]
Link all apps if none specified.

15 years agoSince we always log now if we call a hook, there's no point anymore in
Jan Schneider [Wed, 8 Sep 2010 22:18:41 +0000 (00:18 +0200)]
Since we always log now if we call a hook, there's no point anymore in
logging when we don't. This was confusing a lot of people anyway.

15 years agoMerge from IMP: Improved error handling if server sends back totally invalid response...
Jan Schneider [Wed, 8 Sep 2010 17:13:15 +0000 (19:13 +0200)]
Merge from IMP: Improved error handling if server sends back totally invalid response (e.g. 500 code)

15 years agoConvert to UTF-8.
Jan Schneider [Sat, 4 Sep 2010 11:56:49 +0000 (13:56 +0200)]
Convert to UTF-8.

15 years agoFix var_export() call. We should really track down why these errors are not
Jan Schneider [Thu, 26 Aug 2010 16:45:36 +0000 (18:45 +0200)]
Fix var_export() call. We should really track down why these errors are not
displayed instead.

15 years agofix display of gallery grouping 'mini' tiles.
Michael J. Rubinsky [Thu, 9 Sep 2010 14:37:57 +0000 (10:37 -0400)]
fix display of gallery grouping 'mini' tiles.

Fixes issue that caused more then 4 mini tiles to be displayed.

15 years agoMore thorough checks for when we need to reset/remove a key image.
Michael J. Rubinsky [Thu, 9 Sep 2010 14:27:26 +0000 (10:27 -0400)]
More thorough checks for when we need to reset/remove a key image.

15 years agoAllow wrapping output of addInlineJSVars() with an onload handler.
Michael J. Rubinsky [Thu, 9 Sep 2010 13:53:54 +0000 (09:53 -0400)]
Allow wrapping output of addInlineJSVars() with an onload handler.

Some values won't be defined before other script files are loaded, make
sure we allow for that.

15 years agoNeed to be in Normal view_mode to accurately get a count of subgalleries.
Michael J. Rubinsky [Wed, 8 Sep 2010 23:22:36 +0000 (19:22 -0400)]
Need to be in Normal view_mode to accurately get a count of subgalleries.

Fixes a bug that would cause subgalleries to become inaccessable in certain
conditions

15 years agoNeed to be in Normal view_mode to accurately get a count of subgalleries.
Michael J. Rubinsky [Wed, 8 Sep 2010 23:22:36 +0000 (19:22 -0400)]
Need to be in Normal view_mode to accurately get a count of subgalleries.

Fixes a bug that would cause subgalleries to become inaccessable in certain
conditions

15 years agoPDO::FETCH_KEY_PAIR is only available since PHP 5.2.3
Michael J. Rubinsky [Wed, 8 Sep 2010 23:12:58 +0000 (19:12 -0400)]
PDO::FETCH_KEY_PAIR is only available since PHP 5.2.3

Bug: 9223

15 years agoperms() API call cleanups
Michael M Slusarz [Wed, 8 Sep 2010 22:05:00 +0000 (16:05 -0600)]
perms() API call cleanups

No need to cache - this is done already in the Perms class.

15 years agosimplify
Michael J. Rubinsky [Wed, 8 Sep 2010 21:30:02 +0000 (17:30 -0400)]
simplify

15 years agoDon't show escaped characters in rename dialog
Michael M Slusarz [Wed, 8 Sep 2010 21:26:08 +0000 (15:26 -0600)]
Don't show escaped characters in rename dialog

15 years agoDon't double encode mailbox names
Michael M Slusarz [Wed, 8 Sep 2010 20:37:40 +0000 (14:37 -0600)]
Don't double encode mailbox names

15 years agoFolder names may be urlencoded.
Michael M Slusarz [Wed, 8 Sep 2010 20:37:21 +0000 (14:37 -0600)]
Folder names may be urlencoded.

15 years agoCatch exceptions
Michael J. Rubinsky [Wed, 8 Sep 2010 21:06:23 +0000 (17:06 -0400)]
Catch exceptions

15 years agoCatch exceptions from Horde_Db
Michael J. Rubinsky [Wed, 8 Sep 2010 20:59:06 +0000 (16:59 -0400)]
Catch exceptions from Horde_Db

15 years agoUse transfer encoding in MIME part if specifically set
Michael M Slusarz [Wed, 8 Sep 2010 18:56:29 +0000 (12:56 -0600)]
Use transfer encoding in MIME part if specifically set

For types other than multipart (which is always 7bit) and text (which is
handled separately), use the transfer encoding given if it is different
than the default.

15 years agoAll of this data, although in application/* sections, is 7bit
Michael M Slusarz [Wed, 8 Sep 2010 18:29:22 +0000 (12:29 -0600)]
All of this data, although in application/* sections, is 7bit

15 years agophpdoc
Michael M Slusarz [Wed, 8 Sep 2010 18:18:35 +0000 (12:18 -0600)]
phpdoc

15 years agoFix undefined error
Michael M Slusarz [Wed, 8 Sep 2010 17:53:39 +0000 (11:53 -0600)]
Fix undefined error

15 years agoBFN
Michael J. Rubinsky [Wed, 8 Sep 2010 17:38:39 +0000 (13:38 -0400)]
BFN

15 years agoBug #9239: Make sure instance is a tree object
Michael M Slusarz [Wed, 8 Sep 2010 17:19:47 +0000 (11:19 -0600)]
Bug #9239: Make sure instance is a tree object

15 years agoBug #9238: We shouldn't add prefs that are locked on Horde.
Rui Carneiro [Wed, 8 Sep 2010 11:45:10 +0000 (12:45 +0100)]
Bug #9238: We shouldn't add prefs that are locked on Horde.

15 years agoFor size display, always round up to display at least '1 KB'
Michael M Slusarz [Wed, 8 Sep 2010 08:11:35 +0000 (02:11 -0600)]
For size display, always round up to display at least '1 KB'

15 years agoMore concise way of saying this
Michael M Slusarz [Wed, 8 Sep 2010 08:07:32 +0000 (02:07 -0600)]
More concise way of saying this

15 years agoTitle setting tweaks.
Michael M Slusarz [Wed, 8 Sep 2010 05:59:52 +0000 (23:59 -0600)]
Title setting tweaks.

Don't use escaped mailbox name for window title - since it is not HTML
code, it doesn't need to be escaped.
Don't continually defer setTitle() if mailbox does not exist on remote
server.

15 years agoBug #9240: properly escape elements in dimp.
Michael M Slusarz [Wed, 8 Sep 2010 05:58:21 +0000 (23:58 -0600)]
Bug #9240: properly escape elements in dimp.

Escape mailbox label since it is directly inserted into page in the
message list title bar.
Escape growler message because it may include user submitted input.

15 years agoBetter error message
Michael M Slusarz [Wed, 8 Sep 2010 05:57:40 +0000 (23:57 -0600)]
Better error message

15 years agoAdded MAILBOX_NOOPEN Exception error code
Michael M Slusarz [Wed, 8 Sep 2010 05:40:05 +0000 (23:40 -0600)]
Added MAILBOX_NOOPEN Exception error code

15 years agoCatch a click on folder while in it to add Hash info
Michael M Slusarz [Wed, 8 Sep 2010 05:17:28 +0000 (23:17 -0600)]
Catch a click on folder while in it to add Hash info

15 years agoInitial work in getting Gollem to work again.
Michael M Slusarz [Wed, 8 Sep 2010 02:17:53 +0000 (20:17 -0600)]
Initial work in getting Gollem to work again.

15 years agoNo need to have separate menu and sidebar cache.
Michael M Slusarz [Wed, 8 Sep 2010 02:38:04 +0000 (20:38 -0600)]
No need to have separate menu and sidebar cache.

15 years agoNo reason this must be English.
Michael M Slusarz [Wed, 8 Sep 2010 02:19:31 +0000 (20:19 -0600)]
No reason this must be English.

15 years agomimp/dimp probably doesn't mean anything for most people.
Michael M Slusarz [Wed, 8 Sep 2010 02:05:22 +0000 (20:05 -0600)]
mimp/dimp probably doesn't mean anything for most people.

15 years agoRemove apps that don't exist in git
Michael M Slusarz [Wed, 8 Sep 2010 01:58:42 +0000 (19:58 -0600)]
Remove apps that don't exist in git

15 years agonowrap -> raw; we don't want code wrapped in observe blocks either
Michael M Slusarz [Tue, 7 Sep 2010 23:48:04 +0000 (17:48 -0600)]
nowrap -> raw; we don't want code wrapped in observe blocks either

15 years agoRename Dimp.baseWindow to DimpCore.base
Michael M Slusarz [Tue, 7 Sep 2010 23:28:10 +0000 (17:28 -0600)]
Rename Dimp.baseWindow to DimpCore.base

15 years agoTrailer generation now controlled entirely by 'trailer' hook
Michael M Slusarz [Tue, 7 Sep 2010 23:11:29 +0000 (17:11 -0600)]
Trailer generation now controlled entirely by 'trailer' hook

15 years agoRemove imp/config/header.php config file
Michael M Slusarz [Tue, 7 Sep 2010 22:55:22 +0000 (16:55 -0600)]
Remove imp/config/header.php config file

15 years agoThis calls the injector, not the registry.
Michael M Slusarz [Tue, 7 Sep 2010 22:54:09 +0000 (16:54 -0600)]
This calls the injector, not the registry.

15 years agoFix function signature
Michael M Slusarz [Tue, 7 Sep 2010 21:10:54 +0000 (15:10 -0600)]
Fix function signature

15 years agoShort circuit if indices list is empty
Michael M Slusarz [Tue, 7 Sep 2010 21:09:32 +0000 (15:09 -0600)]
Short circuit if indices list is empty

15 years agoGet down to a 23-char id. Discard the more_entropy from uniqid since it just comes...
Chuck Hagenbuch [Tue, 7 Sep 2010 21:20:53 +0000 (17:20 -0400)]
Get down to a 23-char id. Discard the more_entropy from uniqid since it just comes from the LCG; use mt_rand() instead. In addition, add some bits based on the hostname to help with uniqueness across hosts.

15 years agoBug #9233: Menu goto js was triggering for any calendar click
Michael M Slusarz [Tue, 7 Sep 2010 19:41:13 +0000 (13:41 -0600)]
Bug #9233: Menu goto js was triggering for any calendar click

15 years agoFix typo
Michael M Slusarz [Tue, 7 Sep 2010 19:29:43 +0000 (13:29 -0600)]
Fix typo

15 years agoDIMP.baseWindow might be undefined.
Michael M Slusarz [Tue, 7 Sep 2010 18:39:45 +0000 (12:39 -0600)]
DIMP.baseWindow might be undefined.

15 years agoMake this load on dom:loaded like everything else.
Michael M Slusarz [Tue, 7 Sep 2010 18:38:56 +0000 (12:38 -0600)]
Make this load on dom:loaded like everything else.

15 years agoBug #9236: Honor disable option
Michael M Slusarz [Tue, 7 Sep 2010 18:27:56 +0000 (12:27 -0600)]
Bug #9236: Honor disable option

15 years agoBug #9234: Remove bad semicolon
Michael M Slusarz [Tue, 7 Sep 2010 18:13:24 +0000 (12:13 -0600)]
Bug #9234: Remove bad semicolon

15 years agoTicket #7422: Test out session close/reopen for potentially long operations
Michael M Slusarz [Tue, 7 Sep 2010 08:26:38 +0000 (02:26 -0600)]
Ticket #7422: Test out session close/reopen for potentially long operations

15 years agostyle
Michael M Slusarz [Tue, 7 Sep 2010 08:26:15 +0000 (02:26 -0600)]
style

15 years agoBug #8695: Fix broken internal anchors in HTML data in Mozilla
Michael M Slusarz [Tue, 7 Sep 2010 08:15:30 +0000 (02:15 -0600)]
Bug #8695: Fix broken internal anchors in HTML data in Mozilla

15 years agoFix typo
Michael M Slusarz [Tue, 7 Sep 2010 08:05:54 +0000 (02:05 -0600)]
Fix typo

15 years agoMore appropriate exception
Michael M Slusarz [Tue, 7 Sep 2010 07:28:27 +0000 (01:28 -0600)]
More appropriate exception

15 years agoOnly save the IMAP object once per session
Michael M Slusarz [Tue, 7 Sep 2010 07:24:58 +0000 (01:24 -0600)]
Only save the IMAP object once per session

15 years agoBetter logging framework for imap client lib
Michael M Slusarz [Tue, 7 Sep 2010 06:50:14 +0000 (00:50 -0600)]
Better logging framework for imap client lib

Instead of using static variable, define a logger for each client object
instance, and ensure that this logger will survive serialization.

15 years agoBetter way of handling encryption key in imap client lib
Michael M Slusarz [Tue, 7 Sep 2010 06:30:36 +0000 (00:30 -0600)]
Better way of handling encryption key in imap client lib

This method doesn't require us to explicitly set encryption key when
unserializing the object.

15 years agostyle
Michael M Slusarz [Tue, 7 Sep 2010 06:14:29 +0000 (00:14 -0600)]
style

15 years agoCatch IMAP caching init errors
Michael M Slusarz [Tue, 7 Sep 2010 06:12:16 +0000 (00:12 -0600)]
Catch IMAP caching init errors

15 years agoClean up handling default parameters
Michael M Slusarz [Tue, 7 Sep 2010 06:10:10 +0000 (00:10 -0600)]
Clean up handling default parameters

15 years agoDon't do isOpen check when collapsing
Michael M Slusarz [Tue, 7 Sep 2010 05:43:11 +0000 (23:43 -0600)]
Don't do isOpen check when collapsing

15 years agoFix showing unsubscribed folders in dimp.
Michael M Slusarz [Tue, 7 Sep 2010 05:41:29 +0000 (23:41 -0600)]
Fix showing unsubscribed folders in dimp.

15 years agoFix Bug #9041
Michael M Slusarz [Tue, 7 Sep 2010 05:04:40 +0000 (23:04 -0600)]
Fix Bug #9041

Correctly determine folder diff when folder contains unsubscribed
mailboxes, which are not visible in the current mode.

15 years agoFix renaming mailboxes
Michael M Slusarz [Tue, 7 Sep 2010 03:44:01 +0000 (21:44 -0600)]
Fix renaming mailboxes

15 years agoFix undefined object error.
Michael M Slusarz [Tue, 7 Sep 2010 03:43:28 +0000 (21:43 -0600)]
Fix undefined object error.

15 years agoDon't toggle nodes with no children.
Michael M Slusarz [Tue, 7 Sep 2010 03:43:12 +0000 (21:43 -0600)]
Don't toggle nodes with no children.

15 years agoBug #9224: Don't output two slashes in a row
Michael M Slusarz [Tue, 7 Sep 2010 03:12:07 +0000 (21:12 -0600)]
Bug #9224: Don't output two slashes in a row

15 years agoFix javascript vars on login page.
Michael M Slusarz [Mon, 6 Sep 2010 23:53:19 +0000 (17:53 -0600)]
Fix javascript vars on login page.

15 years agoEncapsulate all search data within IMP_Search
Michael M Slusarz [Mon, 6 Sep 2010 23:33:52 +0000 (17:33 -0600)]
Encapsulate all search data within IMP_Search

15 years agoDon't use static variable for virtual folder list
Michael M Slusarz [Mon, 6 Sep 2010 22:29:08 +0000 (16:29 -0600)]
Don't use static variable for virtual folder list

15 years agoNo need for these variables to be member variables.
Michael M Slusarz [Mon, 6 Sep 2010 22:08:12 +0000 (16:08 -0600)]
No need for these variables to be member variables.

Saves a bit of space in a serialized representation.

15 years agoMore places to use Horde_Support_Randomid
Michael M Slusarz [Mon, 6 Sep 2010 22:01:40 +0000 (16:01 -0600)]
More places to use Horde_Support_Randomid

15 years agoIf we don't want to explicitly add prototype if other scripts are
Michael J. Rubinsky [Tue, 7 Sep 2010 00:08:09 +0000 (20:08 -0400)]
If we don't want to explicitly add prototype if other scripts are
added, then we need to assume that if the other script is requesting
a full url, then prototype should be a full url as well.

15 years agoFix parse error
Michael J. Rubinsky [Mon, 6 Sep 2010 23:35:05 +0000 (19:35 -0400)]
Fix parse error

Bug: 9230

15 years agocs, some leftover php4 -> php5 conversion
Michael J. Rubinsky [Mon, 6 Sep 2010 18:54:36 +0000 (14:54 -0400)]
cs, some leftover php4 -> php5 conversion

15 years agoHave Horde_Log_Logger implement Serializable
Michael M Slusarz [Mon, 6 Sep 2010 20:31:02 +0000 (14:31 -0600)]
Have Horde_Log_Logger implement Serializable

15 years agoHave Horde_Memcache implement Serializable
Michael M Slusarz [Mon, 6 Sep 2010 20:17:06 +0000 (14:17 -0600)]
Have Horde_Memcache implement Serializable

15 years agoH4 phpdoc and formatting cleanups
Michael M Slusarz [Mon, 6 Sep 2010 19:36:52 +0000 (13:36 -0600)]
H4 phpdoc and formatting cleanups

15 years agoImplement Serializable for Horde_Imap_Client_DateTime
Michael M Slusarz [Mon, 6 Sep 2010 03:01:44 +0000 (21:01 -0600)]
Implement Serializable for Horde_Imap_Client_DateTime

15 years agoMake encryptKey a object parameter, not a globally static property
Michael M Slusarz [Sat, 4 Sep 2010 08:19:37 +0000 (02:19 -0600)]
Make encryptKey a object parameter, not a globally static property

15 years agoCatch bad Imap client unserializations
Michael M Slusarz [Sat, 4 Sep 2010 08:16:28 +0000 (02:16 -0600)]
Catch bad Imap client unserializations

15 years agoThis is a programming error, not a run-time error
Michael M Slusarz [Sat, 4 Sep 2010 08:16:03 +0000 (02:16 -0600)]
This is a programming error, not a run-time error

15 years agoHave Horde_Imap_Client_Base implement Serializable
Michael M Slusarz [Sat, 4 Sep 2010 08:03:57 +0000 (02:03 -0600)]
Have Horde_Imap_Client_Base implement Serializable

Provides a more compact way of storing serialized data.
Reduces complexity as child functions do not need to extend the
serialization-related methods.
Implement versioning in order to invalidate cache when upgrading in
future.

15 years agoRemove token data from memory when finished with it
Michael M Slusarz [Sat, 4 Sep 2010 07:33:53 +0000 (01:33 -0600)]
Remove token data from memory when finished with it

15 years agoAlways leave password encrypted in Imap object
Michael M Slusarz [Sat, 4 Sep 2010 07:16:59 +0000 (01:16 -0600)]
Always leave password encrypted in Imap object

15 years agoHave IMP_Imap_Tree implement Serializable
Michael M Slusarz [Sat, 4 Sep 2010 07:06:34 +0000 (01:06 -0600)]
Have IMP_Imap_Tree implement Serializable

Slightly more compact way of storing serialized data.  Also, implement
versioning in order to invalidate cache when upgrading in future.

15 years agoCode cleanups/phpdoc
Michael M Slusarz [Sat, 4 Sep 2010 06:35:21 +0000 (00:35 -0600)]
Code cleanups/phpdoc