horde.git
15 years agoMove tree image generation to its own function
Michael M Slusarz [Thu, 19 Aug 2010 22:34:24 +0000 (16:34 -0600)]
Move tree image generation to its own function

15 years agoSome cleanups in Horde_Tree_Html.
Michael M Slusarz [Fri, 20 Aug 2010 16:12:40 +0000 (10:12 -0600)]
Some cleanups in Horde_Tree_Html.

15 years agoDon't use alternate text for tree line images
Michael M Slusarz [Thu, 19 Aug 2010 22:20:41 +0000 (16:20 -0600)]
Don't use alternate text for tree line images

15 years agoFix poll information on mimp folders page
Michael M Slusarz [Thu, 19 Aug 2010 22:13:02 +0000 (16:13 -0600)]
Fix poll information on mimp folders page

15 years agoDon't repeat help link on folders page
Michael M Slusarz [Thu, 19 Aug 2010 21:34:58 +0000 (15:34 -0600)]
Don't repeat help link on folders page

15 years agoImplement Countable for IMP_Mailbox::.
Michael M Slusarz [Thu, 19 Aug 2010 21:17:03 +0000 (15:17 -0600)]
Implement Countable for IMP_Mailbox::.

Remove unused getMailboxName() function.

15 years agoRemove remainders out of po/ directories.
Jan Schneider [Fri, 20 Aug 2010 15:36:45 +0000 (17:36 +0200)]
Remove remainders out of po/ directories.

15 years agoConvert to new directory layout.
Jan Schneider [Fri, 20 Aug 2010 14:51:23 +0000 (16:51 +0200)]
Convert to new directory layout.

15 years agoMove .pot files too.
Jan Schneider [Fri, 20 Aug 2010 13:06:03 +0000 (15:06 +0200)]
Move .pot files too.

15 years agoMove all .po files into the locale/ directories which is more standard and saves...
Jan Schneider [Thu, 19 Aug 2010 15:05:52 +0000 (17:05 +0200)]
Move all .po files into the locale/ directories which is more standard and saves us a directory.

15 years agoDon't trigger an exception if there are just no images
Chuck Hagenbuch [Fri, 20 Aug 2010 04:49:54 +0000 (00:49 -0400)]
Don't trigger an exception if there are just no images

15 years agoDon't perform any string operations on the variable when we assume it's the decimal...
Michael J. Rubinsky [Fri, 20 Aug 2010 00:41:04 +0000 (20:41 -0400)]
Don't perform any string operations on the variable when we assume it's the decimal value.

Just cast it outright, don't trim() or replace the ordinal indicators if present, the
cast operation will do that for us, and as a bonus, won't corrupt the value if it's in
a locale that doesn't use a decimal point for a decimal seperator.

Bug: 9180

15 years agoFix off by one error
Michael J. Rubinsky [Thu, 19 Aug 2010 22:09:35 +0000 (18:09 -0400)]
Fix off by one error

Bug: 9188
Submitted By: gavin (dot) mccullagh (at) gcd (dot) ie

15 years agoFix js documentation
Michael M Slusarz [Thu, 19 Aug 2010 20:57:45 +0000 (14:57 -0600)]
Fix js documentation

15 years agoBug #9186: ViewPort - assign random DOM IDs for rows.
Michael M Slusarz [Thu, 19 Aug 2010 20:29:59 +0000 (14:29 -0600)]
Bug #9186: ViewPort - assign random DOM IDs for rows.

Don't use mailbox/UID information - there could potentially be issues
with bad characters, exceedingly long mailbox names, etc.

The recent mailbox encoding changes had broken message access for any
mailbox that had null characters (e.g. virtual folders, search results)

15 years agoBug #9187: Fix charset issues when doing Html2text compose conversion.
Michael M Slusarz [Thu, 19 Aug 2010 18:22:12 +0000 (12:22 -0600)]
Bug #9187: Fix charset issues when doing Html2text compose conversion.

15 years agoBug #9187: Add callback parameter to the Html2text filter.
Michael M Slusarz [Thu, 19 Aug 2010 18:21:45 +0000 (12:21 -0600)]
Bug #9187: Add callback parameter to the Html2text filter.

15 years agoMore Html2text fixes
Michael M Slusarz [Thu, 19 Aug 2010 17:59:33 +0000 (11:59 -0600)]
More Html2text fixes

Use proper charset for html_entity_encode() and charset conversion.
Fallback to strip_tags() if DOM extension is not available.

15 years agoDo better job of handling charsets with DOM parsing
Michael M Slusarz [Thu, 19 Aug 2010 17:22:40 +0000 (11:22 -0600)]
Do better job of handling charsets with DOM parsing

15 years agoFix passing db objects to VFS driver
Michael M Slusarz [Thu, 19 Aug 2010 18:32:07 +0000 (12:32 -0600)]
Fix passing db objects to VFS driver

15 years agoBug #9187: Use same DOM loading technique that we use for XSS filter
Michael M Slusarz [Thu, 19 Aug 2010 17:07:14 +0000 (11:07 -0600)]
Bug #9187: Use same DOM loading technique that we use for XSS filter

15 years agoBug #9187: Fix variable typo.
Michael M Slusarz [Thu, 19 Aug 2010 16:48:53 +0000 (10:48 -0600)]
Bug #9187: Fix variable typo.

15 years agoOptimize horde tree javascript
Michael M Slusarz [Wed, 11 Aug 2010 21:45:35 +0000 (15:45 -0600)]
Optimize horde tree javascript

Use prototypejs element creation/alteration methods rather than hackish
array/join method.

15 years agoSmall Horde_Tree:: cleanups.
Michael M Slusarz [Wed, 18 Aug 2010 23:01:53 +0000 (17:01 -0600)]
Small Horde_Tree:: cleanups.

Slightly less verbose variable names.
Implement Countable interface.

15 years agoMore cleanup of the IMP tree folders block.
Michael M Slusarz [Wed, 18 Aug 2010 19:57:46 +0000 (13:57 -0600)]
More cleanup of the IMP tree folders block.

15 years agoMove tree-related images to base horde CSS file.
Michael M Slusarz [Wed, 18 Aug 2010 19:33:56 +0000 (13:33 -0600)]
Move tree-related images to base horde CSS file.

15 years agoquestion marks cause problems for NTFS drives
Michael J. Rubinsky [Wed, 18 Aug 2010 23:12:32 +0000 (19:12 -0400)]
question marks cause problems for NTFS drives

15 years agofix parse error
Michael J. Rubinsky [Wed, 18 Aug 2010 21:47:20 +0000 (17:47 -0400)]
fix parse error

15 years agoUpdate translation.
Jan Schneider [Wed, 18 Aug 2010 20:07:55 +0000 (22:07 +0200)]
Update translation.

15 years agoCan't have a tag nested inside of a gettext tag
Michael M Slusarz [Wed, 18 Aug 2010 19:30:26 +0000 (13:30 -0600)]
Can't have a tag nested inside of a gettext tag

15 years agoRemove icondir parameter from Horde_Tree::
Michael M Slusarz [Wed, 18 Aug 2010 19:22:26 +0000 (13:22 -0600)]
Remove icondir parameter from Horde_Tree::

15 years ago2 more places to convert an encoded form mailbox name
Michael M Slusarz [Wed, 18 Aug 2010 19:26:08 +0000 (13:26 -0600)]
2 more places to convert an encoded form mailbox name

15 years agoReset textdomain if popping app (Bug #9124).
Jan Schneider [Wed, 18 Aug 2010 17:52:01 +0000 (19:52 +0200)]
Reset textdomain if popping app (Bug #9124).

15 years agoConvert all translations to UTF-8.
Jan Schneider [Wed, 18 Aug 2010 14:23:59 +0000 (16:23 +0200)]
Convert all translations to UTF-8.

15 years agoFix spelling, tweak wording, improve translatability.
Jan Schneider [Wed, 18 Aug 2010 14:03:14 +0000 (16:03 +0200)]
Fix spelling, tweak wording, improve translatability.

15 years agoUpdated
Jan Schneider [Wed, 18 Aug 2010 14:01:23 +0000 (16:01 +0200)]
Updated

15 years agoUpdate de_DE translation.
Jan Schneider [Wed, 18 Aug 2010 14:00:49 +0000 (16:00 +0200)]
Update de_DE translation.

15 years agoFix variable name and labels. Still doesn't work though.
Jan Schneider [Wed, 18 Aug 2010 12:17:45 +0000 (14:17 +0200)]
Fix variable name and labels. Still doesn't work though.

15 years agoFix URLs.
Jan Schneider [Wed, 18 Aug 2010 10:41:48 +0000 (12:41 +0200)]
Fix URLs.

15 years agoFix displaying form if only one address book is available.
Jan Schneider [Wed, 18 Aug 2010 10:35:11 +0000 (12:35 +0200)]
Fix displaying form if only one address book is available.

15 years agoCompare the keys, not the values (which are objects).
Jan Schneider [Wed, 18 Aug 2010 09:39:30 +0000 (11:39 +0200)]
Compare the keys, not the values (which are objects).

15 years agosmall optimization
Michael M Slusarz [Wed, 18 Aug 2010 07:52:55 +0000 (01:52 -0600)]
small optimization

15 years agoImplement Countable interface for IMP_Indices::
Michael M Slusarz [Wed, 18 Aug 2010 07:45:31 +0000 (01:45 -0600)]
Implement Countable interface for IMP_Indices::

15 years agoConvert to using Horde_Variables
Michael M Slusarz [Wed, 18 Aug 2010 01:08:27 +0000 (19:08 -0600)]
Convert to using Horde_Variables

15 years agoDon't overwrite the new queue with the ticket's previous queue.
Michael J. Rubinsky [Tue, 17 Aug 2010 21:03:34 +0000 (17:03 -0400)]
Don't overwrite the new queue with the ticket's previous queue.

15 years agoMake IMP_Imap_Tree implement ArrayAccess
Michael M Slusarz [Tue, 17 Aug 2010 18:43:55 +0000 (12:43 -0600)]
Make IMP_Imap_Tree implement ArrayAccess

Get rid of element() and get() functions - simply use array access to
grab an individual mailbox element.

15 years agoGit rid of IMP_Imap_Tree::FLIST_ELT mask option
Michael M Slusarz [Tue, 17 Aug 2010 18:11:29 +0000 (12:11 -0600)]
Git rid of IMP_Imap_Tree::FLIST_ELT mask option

15 years agoRemove unused variable.
Michael M Slusarz [Tue, 17 Aug 2010 17:47:49 +0000 (11:47 -0600)]
Remove unused variable.

15 years agoClean up some typos
Michael M Slusarz [Tue, 17 Aug 2010 16:31:07 +0000 (10:31 -0600)]
Clean up some typos

15 years agoMerge branch 'master' of chuck@dev.horde.org:/horde/git/horde
Chuck Hagenbuch [Tue, 17 Aug 2010 15:51:57 +0000 (11:51 -0400)]
Merge branch 'master' of chuck@dev.horde.org:/horde/git/horde

15 years agoMFB: Return image count.
Michael J. Rubinsky [Tue, 17 Aug 2010 15:23:43 +0000 (11:23 -0400)]
MFB: Return image count.

Bug: 9181

15 years agoFix compendium path.
Jan Schneider [Tue, 17 Aug 2010 15:05:51 +0000 (17:05 +0200)]
Fix compendium path.

15 years agoTweaks.
Jan Schneider [Tue, 17 Aug 2010 15:05:38 +0000 (17:05 +0200)]
Tweaks.

15 years agoRemove frameset left-overs.
Jan Schneider [Tue, 17 Aug 2010 08:48:36 +0000 (10:48 +0200)]
Remove frameset left-overs.

15 years agoNo more target.
Jan Schneider [Tue, 17 Aug 2010 08:44:11 +0000 (10:44 +0200)]
No more target.

15 years agoFix deleting cache and event DIVs when deleting calendars.
Jan Schneider [Tue, 17 Aug 2010 12:34:58 +0000 (14:34 +0200)]
Fix deleting cache and event DIVs when deleting calendars.

15 years agoCreate event cache for current view when adding a new calendar.
Jan Schneider [Tue, 17 Aug 2010 12:27:07 +0000 (14:27 +0200)]
Create event cache for current view when adding a new calendar.

15 years agoFix escaping null characters in mailbox names.
Michael M Slusarz [Tue, 17 Aug 2010 05:32:22 +0000 (23:32 -0600)]
Fix escaping null characters in mailbox names.

The null character can not be used in form elements. However, we use the
null character in mailbox names to indicate mailboxes/elements that do
not live on the IMAP server - necessary because null is the only
character technically not allowed for IMAP mailboxes.  So we need to
manually call IMP::formMbox() when creating forms to escape mailbox
names (and then when reading forms to unescape the names - but most of
the time this will be done automatically by
IMP::setCurrentMailboxInfo()).

15 years agoFix display of container elements in search folder tree.
Michael M Slusarz [Tue, 17 Aug 2010 06:55:00 +0000 (00:55 -0600)]
Fix display of container elements in search folder tree.

15 years agoGit rid of no_newmail_popup parameter.
Michael M Slusarz [Tue, 17 Aug 2010 06:35:27 +0000 (00:35 -0600)]
Git rid of no_newmail_popup parameter.

Instead, track whether newmail popup is needed exclusively on the
mailbox.php page.

15 years agoFix IMP_Indices::next() with multiple mailboxes
Michael M Slusarz [Tue, 17 Aug 2010 06:25:55 +0000 (00:25 -0600)]
Fix IMP_Indices::next() with multiple mailboxes

15 years agoAdd DimpBase.setHash().
Michael M Slusarz [Tue, 17 Aug 2010 05:32:11 +0000 (23:32 -0600)]
Add DimpBase.setHash().

15 years agoDon't need target param anymore now that frames are gone
Michael M Slusarz [Tue, 17 Aug 2010 04:33:45 +0000 (22:33 -0600)]
Don't need target param anymore now that frames are gone

15 years agoSmall optimization
Michael M Slusarz [Tue, 17 Aug 2010 04:29:46 +0000 (22:29 -0600)]
Small optimization

15 years agoFix popup compose links in HTML data in IMP
Michael M Slusarz [Tue, 17 Aug 2010 04:21:04 +0000 (22:21 -0600)]
Fix popup compose links in HTML data in IMP

...and here is where we can't use popup links that depend on
Horde.popup - since this script file is not loaded in the IFRAME.

15 years agoReplace $view parameter with $simplejs
Michael M Slusarz [Tue, 17 Aug 2010 04:19:09 +0000 (22:19 -0600)]
Replace $view parameter with $simplejs

We always use the current session view for $view. But we may need to
generate popup compose links without using exterior javascript files
(e.g. popup.js).

15 years agoAllow a callback function to be defined for this filter.
Michael M Slusarz [Tue, 17 Aug 2010 04:18:53 +0000 (22:18 -0600)]
Allow a callback function to be defined for this filter.

15 years agoAdd IMP_Imap_Tree_Element::.
Michael M Slusarz [Wed, 11 Aug 2010 18:37:53 +0000 (12:37 -0600)]
Add IMP_Imap_Tree_Element::.

Since we don't need all information every time we access mailbox element
information, this adds substantial overhead.  Instead, convert the
return from IMP_Imap_Tree#element() to a IMP_Imap_Tree_Element object
which does most of the necessary overhead only when the data is actually
accessed.

Clean up some things while doing this.  Namely, IMP_Imap_Tree#build()
is essentially duplicative of the more flexible
IMP_Imap_Tree#listFolders() so ax the former.

15 years agoAnother place to change the css class name
Michael J. Rubinsky [Mon, 16 Aug 2010 23:00:45 +0000 (19:00 -0400)]
Another place to change the css class name

15 years agofix object name
Michael J. Rubinsky [Mon, 16 Aug 2010 22:35:55 +0000 (18:35 -0400)]
fix object name

15 years agoMFB: Speed up browsing of long books by more than a magnitude.
Jan Schneider [Mon, 16 Aug 2010 22:12:01 +0000 (00:12 +0200)]
MFB: Speed up browsing of long books by more than a magnitude.

15 years agoMFB: We only show name columns if no columns have been specified in the prefs. So...
Jan Schneider [Mon, 16 Aug 2010 22:08:44 +0000 (00:08 +0200)]
MFB: We only show name columns if no columns have been specified in the prefs. So only retrieve the name column.

15 years agoRemove superfluous entries/tags.
Jan Schneider [Mon, 16 Aug 2010 21:57:12 +0000 (23:57 +0200)]
Remove superfluous entries/tags.

15 years agoFix undefined variable.
Jan Schneider [Mon, 16 Aug 2010 21:56:49 +0000 (23:56 +0200)]
Fix undefined variable.

15 years agoUpdate de_DE help file.
Jan Schneider [Mon, 16 Aug 2010 21:55:44 +0000 (23:55 +0200)]
Update de_DE help file.

15 years agoMFB: Not sure if this is always correct, but more correct than using UTF-8
Jan Schneider [Mon, 16 Aug 2010 16:43:39 +0000 (18:43 +0200)]
MFB: Not sure if this is always correct, but more correct than using UTF-8
descriptions.

15 years agoAvoid undefined variable.
Jan Schneider [Mon, 16 Aug 2010 15:01:10 +0000 (17:01 +0200)]
Avoid undefined variable.

15 years agoFix SMIL viewing
Michael M Slusarz [Mon, 16 Aug 2010 08:20:23 +0000 (02:20 -0600)]
Fix SMIL viewing

15 years agoTweak display of compressed file information
Michael M Slusarz [Mon, 16 Aug 2010 07:46:19 +0000 (01:46 -0600)]
Tweak display of compressed file information

15 years agoFix display of zip attachment name
Michael M Slusarz [Mon, 16 Aug 2010 07:42:55 +0000 (01:42 -0600)]
Fix display of zip attachment name

15 years agoMore MIME types for C source files
Michael M Slusarz [Mon, 16 Aug 2010 07:08:14 +0000 (01:08 -0600)]
More MIME types for C source files

15 years agoMFB: Don't show download as zip link if we can't actually do it.
Michael J. Rubinsky [Mon, 16 Aug 2010 18:07:10 +0000 (14:07 -0400)]
MFB: Don't show download as zip link if we can't actually do it.

Bug: 9178

15 years agouse the same style when constructing the tweet dynamically as well
Michael J. Rubinsky [Mon, 16 Aug 2010 17:31:13 +0000 (13:31 -0400)]
use the same style when constructing the tweet dynamically as well

15 years agofix css class name
Michael J. Rubinsky [Mon, 16 Aug 2010 17:25:03 +0000 (13:25 -0400)]
fix css class name

15 years agoTweak facebook block style
Michael J. Rubinsky [Mon, 16 Aug 2010 17:23:01 +0000 (13:23 -0400)]
Tweak facebook block style

15 years agoexistence checking, avoid undefined index errors
Michael J. Rubinsky [Mon, 16 Aug 2010 16:48:13 +0000 (12:48 -0400)]
existence checking, avoid undefined index errors

15 years agohorde namespace the fb* css classes
Michael J. Rubinsky [Mon, 16 Aug 2010 16:42:25 +0000 (12:42 -0400)]
horde namespace the fb* css classes

15 years agouse consistent elelment naming
Michael J. Rubinsky [Mon, 16 Aug 2010 16:07:06 +0000 (12:07 -0400)]
use consistent elelment naming

15 years agoNeed to pass the block's instanceid to the twitter client.
Michael J. Rubinsky [Mon, 16 Aug 2010 15:59:38 +0000 (11:59 -0400)]
Need to pass the block's instanceid to the twitter client.

Need to know which twitter client we are updating. Some misc H4
tweaks as well.

15 years agoUpdate help file.
Jan Schneider [Mon, 16 Aug 2010 14:58:26 +0000 (16:58 +0200)]
Update help file.

15 years agoConvert help file management to PHP 5.
Jan Schneider [Mon, 16 Aug 2010 14:58:00 +0000 (16:58 +0200)]
Convert help file management to PHP 5.

15 years agoUpdate help file.
Jan Schneider [Mon, 16 Aug 2010 14:06:56 +0000 (16:06 +0200)]
Update help file.

15 years agoremove erroneously added file
Michael J. Rubinsky [Sun, 15 Aug 2010 19:38:56 +0000 (15:38 -0400)]
remove erroneously added file

15 years agoFix various issues with package.xml parsing
Michael J. Rubinsky [Sun, 15 Aug 2010 19:35:18 +0000 (15:35 -0400)]
Fix various issues with package.xml parsing

15 years agoRemove extra install tag for Core/Autoloader
Michael J. Rubinsky [Sun, 15 Aug 2010 19:19:31 +0000 (15:19 -0400)]
Remove extra install tag for Core/Autoloader

15 years agouse the variable since we have it already
Michael J. Rubinsky [Sun, 15 Aug 2010 18:29:41 +0000 (14:29 -0400)]
use the variable since we have it already

15 years agoOne more place we need the hotfix
Michael J. Rubinsky [Sun, 15 Aug 2010 18:28:17 +0000 (14:28 -0400)]
One more place we need the hotfix

15 years agoHotfix for issue that prevents form submissions due to sessions being cleared.
Michael J. Rubinsky [Sun, 15 Aug 2010 18:05:12 +0000 (14:05 -0400)]
Hotfix for issue that prevents form submissions due to sessions being cleared.

If submitting a form as guest, the secret tokens and captchas etc... are cleared from the session
during the check for transparent authentication.  Assume that if this form is submitted, the user
was already authenticated (or did not require authentication).

As mentioned, this is a hotfix meant to get bugs.horde.org working again for guests.
There is probably a more appropriate way to fix this, but I cannot think of any other fixes that do not
open up other security holes.

15 years agofix scope
Michael J. Rubinsky [Sun, 15 Aug 2010 16:18:28 +0000 (12:18 -0400)]
fix scope

15 years agoeh, simplify...
Michael Rubinsky [Sun, 15 Aug 2010 15:34:16 +0000 (15:34 +0000)]
eh, simplify...