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

17 years agoClean up images Driver to new API.
Michael M Slusarz [Tue, 11 Nov 2008 07:38:55 +0000 (00:38 -0700)]
Clean up images Driver to new API.

17 years agoHorde_Browser:: is an optional dependency.
Michael M Slusarz [Tue, 11 Nov 2008 07:38:26 +0000 (00:38 -0700)]
Horde_Browser:: is an optional dependency.

17 years agoMore rendering fixes/improvements.
Michael M Slusarz [Tue, 11 Nov 2008 05:47:12 +0000 (22:47 -0700)]
More rendering fixes/improvements.

multipart/alternative driver now works on basic messages. Be more
liberal about what an 'attachment' is for now. Determination of what
should be shown inline ultimately rests with view code, not base
IMP_Contents library code. Also, it is necessary to determine the
rendered data before we can create the list of attachments (since the
attachments may already be displayed in the body).

17 years agoFix html driver to work for now.
Michael M Slusarz [Tue, 11 Nov 2008 05:45:58 +0000 (22:45 -0700)]
Fix html driver to work for now.

17 years agoAdd a 'ids' output to render().
Michael M Slusarz [Tue, 11 Nov 2008 05:44:21 +0000 (22:44 -0700)]
Add a 'ids' output to render().

This parameter indicates the list of MIME IDs that this viewer's render
output was responsible for.

17 years agoFix function declarations.
Michael M Slusarz [Tue, 11 Nov 2008 05:44:04 +0000 (22:44 -0700)]
Fix function declarations.

17 years agoMessage display tweaking.
Michael M Slusarz [Tue, 11 Nov 2008 03:42:57 +0000 (20:42 -0700)]
Message display tweaking.

IMP 5 now can successfully display simple messages containing text/plain
and text/html data.  Playing around with the formatting a bit, but my
desire is to *always* show the Mime part summary for every part we can
display inline and *never* show inline parts in the attachment list.
This is important because there is no other way to
strip/download/display in a new window the parts that are shown inline.
This goes back to the way we used to display things long ago (IMP 3),
but that is probably the better way to do this. However, this has much
work that can be done to it - for now, just need to be able to display
the parts so I can continue implementing other things.

17 years agoFix several typos.
Michael M Slusarz [Tue, 11 Nov 2008 03:42:31 +0000 (20:42 -0700)]
Fix several typos.

17 years agoPhpdoc; first crack at _buildMessage().
Michael M Slusarz [Tue, 11 Nov 2008 00:11:45 +0000 (17:11 -0700)]
Phpdoc; first crack at _buildMessage().

First attempt at writing the code that will rebuild a Horde_Mime_Message
object with all embedded parts expanded. This is more of a placeholder
than anything else since I probably won't get to PGP and S/MIME
rendering for awhile.

17 years agoPhpdoc; use is_null().
Michael M Slusarz [Tue, 11 Nov 2008 00:04:48 +0000 (17:04 -0700)]
Phpdoc; use is_null().

17 years agoUse new Horde_Mime_Viewer API.
Michael M Slusarz [Mon, 10 Nov 2008 23:42:05 +0000 (16:42 -0700)]
Use new Horde_Mime_Viewer API.

17 years agoMore API tweaking.
Michael M Slusarz [Mon, 10 Nov 2008 23:38:33 +0000 (16:38 -0700)]
More API tweaking.

Add the ability to get embedded parts. Phpdoc. Have render() deal with
setting all necessary default return values.

17 years agoAdd Horde_Mime::mimeIdArithmetic().
Michael M Slusarz [Mon, 10 Nov 2008 22:56:06 +0000 (15:56 -0700)]
Add Horde_Mime::mimeIdArithmetic().

17 years agoReworking Driver API some more.
Michael M Slusarz [Mon, 10 Nov 2008 22:12:22 +0000 (15:12 -0700)]
Reworking Driver API some more.

17 years agoMore MIME->Mime conversions
Michael M Slusarz [Mon, 10 Nov 2008 22:12:07 +0000 (15:12 -0700)]
More MIME->Mime conversions

17 years agoMore MIME->Mime fixes. More work on render API.
Michael M Slusarz [Mon, 10 Nov 2008 21:46:37 +0000 (14:46 -0700)]
More MIME->Mime fixes. More work on render API.

Rendering API is starting to solidify. Give calling code full control
over the information to parse. Determine inline/info rendering status
when obtaining summary information.

17 years agoRemove CVS header tags.
Michael M Slusarz [Mon, 10 Nov 2008 19:51:36 +0000 (12:51 -0700)]
Remove CVS header tags.