horde.git
17 years agoSome fixes.
Michael M Slusarz [Thu, 13 Nov 2008 07:01:53 +0000 (00:01 -0700)]
Some fixes.

17 years agoUpdate appledouble Viewer for the new render/IMP code.
Michael M Slusarz [Thu, 13 Nov 2008 06:35:09 +0000 (23:35 -0700)]
Update appledouble Viewer for the new render/IMP code.

17 years agorenderMIMEPart() now takes a constant mask value.
Michael M Slusarz [Thu, 13 Nov 2008 06:34:51 +0000 (23:34 -0700)]
renderMIMEPart() now takes a constant mask value.

17 years agoGetting late - fix this typo.
Michael M Slusarz [Thu, 13 Nov 2008 06:00:39 +0000 (23:00 -0700)]
Getting late - fix this typo.

17 years agoCorrectly use mimeIdArithmetic().
Michael M Slusarz [Thu, 13 Nov 2008 05:59:54 +0000 (22:59 -0700)]
Correctly use mimeIdArithmetic().

17 years agoAdd a MIME type to the downloads list.
Michael M Slusarz [Thu, 13 Nov 2008 05:59:26 +0000 (22:59 -0700)]
Add a MIME type to the downloads list.

17 years agoFell into the trap again where ('#' == '#.0').
Michael M Slusarz [Thu, 13 Nov 2008 05:58:48 +0000 (22:58 -0700)]
Fell into the trap again where ('#' == '#.0').

17 years agoDeal with the funky message/rfc822 naming.
Michael M Slusarz [Thu, 13 Nov 2008 05:58:10 +0000 (22:58 -0700)]
Deal with the funky message/rfc822 naming.

17 years agoFix MDN to work with new render() output format.
Michael M Slusarz [Thu, 13 Nov 2008 05:33:04 +0000 (22:33 -0700)]
Fix MDN to work with new render() output format.

17 years agoFix displaying other inline parts under the alt part.
Michael M Slusarz [Thu, 13 Nov 2008 05:32:43 +0000 (22:32 -0700)]
Fix displaying other inline parts under the alt part.

17 years agoFix some typos.
Michael M Slusarz [Thu, 13 Nov 2008 05:32:30 +0000 (22:32 -0700)]
Fix some typos.

17 years agoMake the related Viewer work with the newer code.
Michael M Slusarz [Thu, 13 Nov 2008 05:07:51 +0000 (22:07 -0700)]
Make the related Viewer work with the newer code.

17 years agoGet this information from the current MIME part.
Michael M Slusarz [Thu, 13 Nov 2008 05:07:25 +0000 (22:07 -0700)]
Get this information from the current MIME part.

17 years agoYay! A totally working alternative Viewer!
Michael M Slusarz [Thu, 13 Nov 2008 04:53:19 +0000 (21:53 -0700)]
Yay! A totally working alternative Viewer!

That doesn't warp space/time in an effort to display subparts correctly!

17 years agoPlay around with this function a bit more.
Michael M Slusarz [Thu, 13 Nov 2008 04:53:03 +0000 (21:53 -0700)]
Play around with this function a bit more.

17 years agoTrack some IMP_Contents changes.
Michael M Slusarz [Thu, 13 Nov 2008 04:52:24 +0000 (21:52 -0700)]
Track some IMP_Contents changes.

17 years agoFix _renderInline() return.
Michael M Slusarz [Thu, 13 Nov 2008 03:34:34 +0000 (20:34 -0700)]
Fix _renderInline() return.

17 years agoFix _renderInfo() return.
Michael M Slusarz [Thu, 13 Nov 2008 03:34:17 +0000 (20:34 -0700)]
Fix _renderInfo() return.

17 years agoMove name information inside first part.
Michael M Slusarz [Thu, 13 Nov 2008 03:33:51 +0000 (20:33 -0700)]
Move name information inside first part.

17 years agoUse new rendering code.
Michael M Slusarz [Thu, 13 Nov 2008 03:21:22 +0000 (20:21 -0700)]
Use new rendering code.

getSummary() now only returns a single part info. It is the job of the
calling code to plan the UI output and step through the message
accordingly. This should (eventually) prevent us from having to create
Horde_Mime_Viewer objects for every part of the message, and should be a
bit more memory friendly (since we are only dealing with a part at a
time.

17 years agoUpdate to new render() return format.
Michael M Slusarz [Wed, 12 Nov 2008 23:56:29 +0000 (16:56 -0700)]
Update to new render() return format.

17 years agoTweak output from render().
Michael M Slusarz [Wed, 12 Nov 2008 23:41:52 +0000 (16:41 -0700)]
Tweak output from render().

Return data by ID - allows us to chain MIME drivers. Also, always return
all information by default, for ease of handling the return value
further down the chain.

17 years agoAllow 'mode' to be passed into view.php.
Michael M Slusarz [Wed, 12 Nov 2008 23:40:42 +0000 (16:40 -0700)]
Allow 'mode' to be passed into view.php.

17 years agonotification -> mdn; update the Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 21:47:59 +0000 (14:47 -0700)]
notification -> mdn; update the Viewer.

17 years agoUse canDisplayInline().
Michael M Slusarz [Wed, 12 Nov 2008 21:45:16 +0000 (14:45 -0700)]
Use canDisplayInline().

17 years agoTrack Horde_Mime_Viewer changes; add canDisplayInline().
Michael M Slusarz [Wed, 12 Nov 2008 21:44:10 +0000 (14:44 -0700)]
Track Horde_Mime_Viewer changes; add canDisplayInline().

17 years agoRequire (again) a Horde_Mime_Part object when creating
Michael M Slusarz [Wed, 12 Nov 2008 21:39:51 +0000 (14:39 -0700)]
Require (again) a Horde_Mime_Part object when creating

Bite the bullet and required the Horde_Mime_Part object when creating a
Horde_Mime_Viewer instance. Especially for embedded parts, or for
multiparts that may have to recursively look through the subparts, the
information stored in the MIME part may be needed for things like
determining whether a driver can display a part with the given mode.

17 years agoFix mimeIdArithmetic().
Michael M Slusarz [Wed, 12 Nov 2008 20:59:08 +0000 (13:59 -0700)]
Fix mimeIdArithmetic().

17 years agoUpdate report Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 20:58:51 +0000 (13:58 -0700)]
Update report Viewer.

17 years agoAdd smil description; some other tweaks.
Michael M Slusarz [Wed, 12 Nov 2008 18:52:11 +0000 (11:52 -0700)]
Add smil description; some other tweaks.

17 years agoThis value might be 0 - use isset() instead.
Michael M Slusarz [Wed, 12 Nov 2008 18:51:54 +0000 (11:51 -0700)]
This value might be 0 - use isset() instead.

17 years agoUpdate wordperfect Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:51:40 +0000 (11:51 -0700)]
Update wordperfect Viewer.

17 years agoUpdate webcpp Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:51:27 +0000 (11:51 -0700)]
Update webcpp Viewer.

17 years agoUpdate vcard Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:51:14 +0000 (11:51 -0700)]
Update vcard Viewer.

17 years agoUpdate TNEF Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:51:00 +0000 (11:51 -0700)]
Update TNEF Viewer.

17 years agoUpdate srchighlite Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:50:38 +0000 (11:50 -0700)]
Update srchighlite Viewer.

17 years agoUpdate smil Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:50:23 +0000 (11:50 -0700)]
Update smil Viewer.

17 years agoUpdate RTF Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:50:05 +0000 (11:50 -0700)]
Update RTF Viewer.

17 years agoUpdate RPM viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:49:51 +0000 (11:49 -0700)]
Update RPM viewer.

17 years agoUpdate richtext Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:49:37 +0000 (11:49 -0700)]
Update richtext Viewer.

17 years agoUpdate openoffice Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:49:20 +0000 (11:49 -0700)]
Update openoffice Viewer.

17 years agoUpdate mspowerpoint Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:49:05 +0000 (11:49 -0700)]
Update mspowerpoint Viewer.

17 years agoUse file_get_contents().
Michael M Slusarz [Wed, 12 Nov 2008 18:48:51 +0000 (11:48 -0700)]
Use file_get_contents().

17 years agoUpdate debian Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 18:47:50 +0000 (11:47 -0700)]
Update debian Viewer.

17 years agoFix return value.
Michael M Slusarz [Wed, 12 Nov 2008 18:47:31 +0000 (11:47 -0700)]
Fix return value.

17 years agoMake sure to pass along any params to other Viewers
Michael M Slusarz [Wed, 12 Nov 2008 06:57:04 +0000 (23:57 -0700)]
Make sure to pass along any params to other Viewers

17 years agoForward any parameters passed to this Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 06:53:08 +0000 (23:53 -0700)]
Forward any parameters passed to this Viewer.

17 years agoFix address book search and status reporting
Michael M Slusarz [Wed, 12 Nov 2008 06:52:34 +0000 (23:52 -0700)]
Fix address book search and status reporting

Still need to work on unblock image related activities.

17 years agoMake sure we include ID of this part.
Michael M Slusarz [Wed, 12 Nov 2008 06:51:35 +0000 (23:51 -0700)]
Make sure we include ID of this part.

17 years agoAllow a modified name to be passed from a renderer
Michael M Slusarz [Wed, 12 Nov 2008 06:17:17 +0000 (23:17 -0700)]
Allow a modified name to be passed from a renderer

17 years agoUpdate zip Viewers.
Michael M Slusarz [Wed, 12 Nov 2008 06:14:56 +0000 (23:14 -0700)]
Update zip Viewers.

17 years agoFix key name.
Michael M Slusarz [Wed, 12 Nov 2008 06:14:35 +0000 (23:14 -0700)]
Fix key name.

17 years agoDetermine fallback filename.
Michael M Slusarz [Wed, 12 Nov 2008 06:14:14 +0000 (23:14 -0700)]
Determine fallback filename.

17 years agoNo need for external status message anymore.
Michael M Slusarz [Wed, 12 Nov 2008 05:39:49 +0000 (22:39 -0700)]
No need for external status message anymore.

17 years agoUpdate tgz Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 05:38:35 +0000 (22:38 -0700)]
Update tgz Viewer.

17 years agoFix some factory/singleton usage.
Michael M Slusarz [Wed, 12 Nov 2008 05:38:24 +0000 (22:38 -0700)]
Fix some factory/singleton usage.

17 years agoFinish implementing Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 05:23:23 +0000 (22:23 -0700)]
Finish implementing Viewer.

17 years agoUpdate rar Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 05:18:48 +0000 (22:18 -0700)]
Update rar Viewer.

17 years agoUpdate plain Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 04:52:57 +0000 (21:52 -0700)]
Update plain Viewer.

17 years agophpdoc
Michael M Slusarz [Wed, 12 Nov 2008 04:49:41 +0000 (21:49 -0700)]
phpdoc

17 years agoUpdate CSS Viewer
Michael M Slusarz [Wed, 12 Nov 2008 04:49:20 +0000 (21:49 -0700)]
Update CSS Viewer

17 years agoUpdate audio Driver.
Michael M Slusarz [Wed, 12 Nov 2008 04:49:10 +0000 (21:49 -0700)]
Update audio Driver.

17 years agoFix status rendering in alternative parts.
Michael M Slusarz [Wed, 12 Nov 2008 04:37:14 +0000 (21:37 -0700)]
Fix status rendering in alternative parts.

17 years agoMake the max size of image viewable inline configurable
Michael M Slusarz [Wed, 12 Nov 2008 04:36:43 +0000 (21:36 -0700)]
Make the max size of image viewable inline configurable

17 years agoUpdate source Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 04:36:17 +0000 (21:36 -0700)]
Update source Viewer.

17 years agoUpdate php Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 04:36:02 +0000 (21:36 -0700)]
Update php Viewer.

17 years agoUpdate enscript code Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 04:35:41 +0000 (21:35 -0700)]
Update enscript code Viewer.

17 years agoUpdate MSWord Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 04:01:58 +0000 (21:01 -0700)]
Update MSWord Viewer.

17 years agoFix display
Michael M Slusarz [Wed, 12 Nov 2008 01:59:08 +0000 (18:59 -0700)]
Fix display

17 years agoSanity checking.
Michael M Slusarz [Wed, 12 Nov 2008 01:58:21 +0000 (18:58 -0700)]
Sanity checking.

Since it is technically possible to pass in MIME IDs through URL
params, we need to sanity check when stripping parts.

17 years agoDon't allow stripping of message/rfc822 parts.
Michael M Slusarz [Wed, 12 Nov 2008 01:52:30 +0000 (18:52 -0700)]
Don't allow stripping of message/rfc822 parts.

17 years agoUpdate msexcel Viewer.
Michael M Slusarz [Wed, 12 Nov 2008 01:52:11 +0000 (18:52 -0700)]
Update msexcel Viewer.

17 years agoRemove alternative_display pref.
Michael M Slusarz [Wed, 12 Nov 2008 00:18:26 +0000 (17:18 -0700)]
Remove alternative_display pref.

With the ability to view all parts, there is no reason to have a status
message listing other alternative parts.

17 years agoFix comparison.
Michael M Slusarz [Tue, 11 Nov 2008 23:55:04 +0000 (16:55 -0700)]
Fix comparison.

17 years agoUpdated appledouble Viewer.
Michael M Slusarz [Tue, 11 Nov 2008 23:38:11 +0000 (16:38 -0700)]
Updated appledouble Viewer.

17 years agoUse same table structure to display status msgs.
Michael M Slusarz [Tue, 11 Nov 2008 23:37:56 +0000 (16:37 -0700)]
Use same table structure to display status msgs.

17 years agoTweak status display.
Michael M Slusarz [Tue, 11 Nov 2008 23:37:45 +0000 (16:37 -0700)]
Tweak status display.

17 years agoFix typo
Michael M Slusarz [Tue, 11 Nov 2008 23:37:35 +0000 (16:37 -0700)]
Fix typo

17 years agoUpdate enriched Viewer.
Michael M Slusarz [Tue, 11 Nov 2008 22:46:25 +0000 (15:46 -0700)]
Update enriched Viewer.

17 years agoUpdate enriched Viewer.
Michael M Slusarz [Tue, 11 Nov 2008 22:46:09 +0000 (15:46 -0700)]
Update enriched Viewer.

17 years agoRework download all/strip all links
Michael M Slusarz [Tue, 11 Nov 2008 22:01:30 +0000 (15:01 -0700)]
Rework download all/strip all links

Move Download All and Strip All links to a separate message action
dropdown since they are not used very often (it also makes the screen
look cleaner). Also add the ability to switch between attachment view
(currently the default) and view all parts (which, for most users, is
normally not useful but every once awhile - especially during
development - it is very useful to be able to view the entire structure
of a message).

17 years agoStatus reporting updates.
Michael M Slusarz [Tue, 11 Nov 2008 20:06:20 +0000 (13:06 -0700)]
Status reporting updates.

17 years agoConvert charset if viewing inline.
Michael M Slusarz [Tue, 11 Nov 2008 20:06:05 +0000 (13:06 -0700)]
Convert charset if viewing inline.

17 years agoOutput status messages.
Michael M Slusarz [Tue, 11 Nov 2008 20:04:57 +0000 (13:04 -0700)]
Output status messages.

17 years agoUpdate PDF viewer.
Michael M Slusarz [Tue, 11 Nov 2008 20:04:40 +0000 (13:04 -0700)]
Update PDF viewer.

17 years agoCheck for UTF-8 browsers when viewing text inline
Michael M Slusarz [Tue, 11 Nov 2008 20:03:33 +0000 (13:03 -0700)]
Check for UTF-8 browsers when viewing text inline

17 years agoUpdate PDF viewer.
Michael M Slusarz [Tue, 11 Nov 2008 19:42:21 +0000 (12:42 -0700)]
Update PDF viewer.

17 years agoFix status text output.
Michael M Slusarz [Tue, 11 Nov 2008 19:42:04 +0000 (12:42 -0700)]
Fix status text output.

17 years agoOnly skip part if inline, not info
Michael M Slusarz [Tue, 11 Nov 2008 18:59:52 +0000 (11:59 -0700)]
Only skip part if inline, not info

Also, disable another status related thing for now.

17 years agoIMP specific RFC 822 viewer no longer needed.
Michael M Slusarz [Tue, 11 Nov 2008 12:00:41 +0000 (05:00 -0700)]
IMP specific RFC 822 viewer no longer needed.

17 years agoUpdated RFC 822 viewer.
Michael M Slusarz [Tue, 11 Nov 2008 11:59:02 +0000 (04:59 -0700)]
Updated RFC 822 viewer.

17 years agoFix MIME ID assignment for embedded RFC 822 parts
Michael M Slusarz [Tue, 11 Nov 2008 11:57:35 +0000 (04:57 -0700)]
Fix MIME ID assignment for embedded RFC 822 parts

Also, all decoding should be done before passing into Horde_Mime_Part.
This makes sense - we should only do encoding in places where we might
be working with encoded data (i.e. message parsing).

17 years agoFix some decoding issues.
Michael M Slusarz [Tue, 11 Nov 2008 11:57:20 +0000 (04:57 -0700)]
Fix some decoding issues.

17 years agomultipart/related now working (with HTML msgs)
Michael M Slusarz [Tue, 11 Nov 2008 09:01:13 +0000 (02:01 -0700)]
multipart/related now working (with HTML msgs)

17 years agoAllow user-defined params to Viewer.
Michael M Slusarz [Tue, 11 Nov 2008 08:58:59 +0000 (01:58 -0700)]
Allow user-defined params to Viewer.

Also, a better algorithm to determine whether we can view a part in a
popup window.

17 years agoThese function no longer needed.
Michael M Slusarz [Tue, 11 Nov 2008 08:58:20 +0000 (01:58 -0700)]
These function no longer needed.

17 years agoUpdate images driver.
Michael M Slusarz [Tue, 11 Nov 2008 08:03:21 +0000 (01:03 -0700)]
Update images driver.

image/* parts are now viewing correctly (only tested on popup window so
far).

17 years agoHide status messages; better attachment list display
Michael M Slusarz [Tue, 11 Nov 2008 08:02:42 +0000 (01:02 -0700)]
Hide status messages; better attachment list display

17 years agoSmall fix to display properly (for now)
Michael M Slusarz [Tue, 11 Nov 2008 08:02:23 +0000 (01:02 -0700)]
Small fix to display properly (for now)

17 years agoNits; expand API a bit.
Michael M Slusarz [Tue, 11 Nov 2008 07:39:20 +0000 (00:39 -0700)]
Nits; expand API a bit.