horde.git
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

15 years agoDon't show global options item if editing horde options
Michael M Slusarz [Sat, 4 Sep 2010 06:24:11 +0000 (00:24 -0600)]
Don't show global options item if editing horde options

15 years agoFix constant name
Michael M Slusarz [Sat, 4 Sep 2010 06:20:17 +0000 (00:20 -0600)]
Fix constant name

15 years agoMake tests run
Michael M Slusarz [Sat, 4 Sep 2010 06:11:42 +0000 (00:11 -0600)]
Make tests run

15 years agoUse Horde::addInlineJsVars()
Michael M Slusarz [Fri, 3 Sep 2010 23:19:00 +0000 (17:19 -0600)]
Use Horde::addInlineJsVars()

15 years agoAdd Horde::addInlineJsVars().
Michael M Slusarz [Fri, 3 Sep 2010 23:18:36 +0000 (17:18 -0600)]
Add Horde::addInlineJsVars().

15 years agoSome Horde:: -> self:: conversions.
Michael M Slusarz [Fri, 3 Sep 2010 23:01:31 +0000 (17:01 -0600)]
Some Horde:: -> self:: conversions.

15 years agoFix gettext string
Michael M Slusarz [Fri, 3 Sep 2010 22:44:45 +0000 (16:44 -0600)]
Fix gettext string

15 years agoNo need to add prototype.js if at least 1 other script file is added
Michael M Slusarz [Fri, 3 Sep 2010 22:02:42 +0000 (16:02 -0600)]
No need to add prototype.js if at least 1 other script file is added

15 years agoTooltips tweaks.
Michael M Slusarz [Fri, 3 Sep 2010 21:56:23 +0000 (15:56 -0600)]
Tooltips tweaks.

Automatically add JS file when calling linkTooltip().
Move tooltips JS file to horde/Core.

15 years agoIMP search fixes.
Michael M Slusarz [Fri, 3 Sep 2010 21:45:11 +0000 (15:45 -0600)]
IMP search fixes.

Fix basic search.
Fix since/equals/before searching.

15 years agophpdoc
Michael J. Rubinsky [Mon, 6 Sep 2010 18:29:30 +0000 (14:29 -0400)]
phpdoc

15 years agoEnsure this value is a string.
Michael J. Rubinsky [Mon, 6 Sep 2010 18:28:26 +0000 (14:28 -0400)]
Ensure this value is a string.

The tagger needs the local id as a string or it assumes it's a
rampage object id (which it will never be here).

15 years agocs
Michael J. Rubinsky [Mon, 6 Sep 2010 18:11:00 +0000 (14:11 -0400)]
cs

Looks like this file got ran through some formatting filter or something at some point.

15 years agoUse IPTC caption property if it's available.
Michael J. Rubinsky [Mon, 6 Sep 2010 17:23:58 +0000 (13:23 -0400)]
Use IPTC caption property if it's available.

15 years agofix parse error
Michael J. Rubinsky [Mon, 6 Sep 2010 15:10:56 +0000 (11:10 -0400)]
fix parse error

15 years agoFix unit testing.
Gunnar Wrobel [Mon, 6 Sep 2010 10:41:15 +0000 (12:41 +0200)]
Fix unit testing.

15 years agoStart using dependency injection.
Gunnar Wrobel [Mon, 6 Sep 2010 08:04:39 +0000 (10:04 +0200)]
Start using dependency injection.

15 years agoElement -> Components for the different classes.
Gunnar Wrobel [Mon, 6 Sep 2010 06:38:58 +0000 (08:38 +0200)]
Element -> Components for the different classes.

15 years agoRenamed Element to Components within the package.
Gunnar Wrobel [Mon, 6 Sep 2010 03:38:50 +0000 (05:38 +0200)]
Renamed Element to Components within the package.

15 years agoRenamed Horde_Element to components.
Gunnar Wrobel [Mon, 6 Sep 2010 02:57:26 +0000 (04:57 +0200)]
Renamed Horde_Element to components.