Michael M Slusarz [Wed, 19 Nov 2008 08:10:57 +0000 (01:10 -0700)]
Don't need gettext here.
Michael M Slusarz [Wed, 19 Nov 2008 08:10:42 +0000 (01:10 -0700)]
Fix function call.
Michael M Slusarz [Wed, 19 Nov 2008 05:26:50 +0000 (22:26 -0700)]
Currently, can't do anything with gzip only data.
TODO: implement IMP zip-like driver to allow browsing/downloading of
both gzip files and tar files.
Michael M Slusarz [Wed, 19 Nov 2008 05:26:39 +0000 (22:26 -0700)]
Sanity checking.
Michael M Slusarz [Wed, 19 Nov 2008 05:09:24 +0000 (22:09 -0700)]
More correct check.
Michael M Slusarz [Wed, 19 Nov 2008 04:44:18 +0000 (21:44 -0700)]
phpdoc
Michael M Slusarz [Wed, 19 Nov 2008 04:43:41 +0000 (21:43 -0700)]
Convert to PHP 5 style.
Michael M Slusarz [Wed, 19 Nov 2008 03:55:30 +0000 (20:55 -0700)]
Parse PGP armor data using embdedded functions. Kewl.
Michael M Slusarz [Wed, 19 Nov 2008 03:54:46 +0000 (20:54 -0700)]
nits
Michael M Slusarz [Wed, 19 Nov 2008 03:54:27 +0000 (20:54 -0700)]
Make sure all EOL chars have been stripped.
Michael M Slusarz [Wed, 19 Nov 2008 03:30:25 +0000 (20:30 -0700)]
Remove unused functions.
Michael M Slusarz [Wed, 19 Nov 2008 03:29:21 +0000 (20:29 -0700)]
phpdoc
Michael M Slusarz [Wed, 19 Nov 2008 03:29:09 +0000 (20:29 -0700)]
cleanups.
Michael M Slusarz [Wed, 19 Nov 2008 01:53:38 +0000 (18:53 -0700)]
First wave of changes to IMP_Compose to make it work again
Michael M Slusarz [Tue, 18 Nov 2008 22:38:57 +0000 (15:38 -0700)]
Use features provided by other libs.
Michael M Slusarz [Tue, 18 Nov 2008 22:38:39 +0000 (15:38 -0700)]
Use exception logging callback.
Michael M Slusarz [Tue, 18 Nov 2008 21:44:52 +0000 (14:44 -0700)]
Add findBody()
Michael M Slusarz [Tue, 18 Nov 2008 21:11:55 +0000 (14:11 -0700)]
Use Horde_Crypt to instantiate.
Michael M Slusarz [Tue, 18 Nov 2008 21:11:07 +0000 (14:11 -0700)]
Return success status for remove/alter.
Michael M Slusarz [Tue, 18 Nov 2008 21:01:58 +0000 (14:01 -0700)]
Use Horde_Crypt to instantiate. Remove todo.
Not sure if works yet, but there is no reason technically why encrypted
body text parts won't appear in reply/forward messages anymore.
Michael M Slusarz [Tue, 18 Nov 2008 21:01:04 +0000 (14:01 -0700)]
Viewing encrypted parts works now.
Only tested with simple text/plain parts, but we can now access embedded
encrypted parts by using pseudo-MIME IDs instead of requiring the data
to be cached. Big step.
Michael M Slusarz [Tue, 18 Nov 2008 21:00:33 +0000 (14:00 -0700)]
Use Horde_Crypt to instantiate.
Michael M Slusarz [Tue, 18 Nov 2008 20:58:45 +0000 (13:58 -0700)]
Use new embeddedMimeParts() return format.
Michael M Slusarz [Tue, 18 Nov 2008 20:58:20 +0000 (13:58 -0700)]
Fix alterPart() and removePart().
Michael M Slusarz [Tue, 18 Nov 2008 20:15:27 +0000 (13:15 -0700)]
Change output for this function.
Matches render() better.
Michael M Slusarz [Tue, 18 Nov 2008 20:14:55 +0000 (13:14 -0700)]
Add option to return Mime_Part object instead.
Michael M Slusarz [Tue, 18 Nov 2008 18:52:07 +0000 (11:52 -0700)]
Fix getEmbeddedMimeParts(). Simplify.
Michael M Slusarz [Tue, 18 Nov 2008 08:27:44 +0000 (01:27 -0700)]
PGP: implement Viewing keys and signed parts.
Michael M Slusarz [Tue, 18 Nov 2008 08:17:18 +0000 (01:17 -0700)]
Now that the imap client lib is fixed, don't need these.
Michael M Slusarz [Tue, 18 Nov 2008 07:26:22 +0000 (00:26 -0700)]
Add mimeheaders option to getBodyPart().
Michael M Slusarz [Sun, 16 Nov 2008 23:55:04 +0000 (16:55 -0700)]
Better defaults for Driver functions.
Allows easier extending by sub-drivers.
Convert security Viewer to new API.
Michael M Slusarz [Sun, 16 Nov 2008 22:58:38 +0000 (15:58 -0700)]
Rename to match new Horde_Crypt API
Michael M Slusarz [Sun, 16 Nov 2008 22:57:30 +0000 (15:57 -0700)]
phpdoc - document correct default value
Michael M Slusarz [Sun, 16 Nov 2008 22:57:13 +0000 (15:57 -0700)]
Fix typos.
Michael M Slusarz [Sun, 16 Nov 2008 22:56:43 +0000 (15:56 -0700)]
fix list() weirdness (might be a PHP 5 thing).
Michael M Slusarz [Sun, 16 Nov 2008 22:11:29 +0000 (15:11 -0700)]
Fixes.
Michael M Slusarz [Sun, 16 Nov 2008 21:09:31 +0000 (14:09 -0700)]
Fix paths
Michael M Slusarz [Sun, 16 Nov 2008 21:05:55 +0000 (14:05 -0700)]
Move Horde_Crypt from CVS.
Due to Horde_Mime changes.
Michael M Slusarz [Sun, 16 Nov 2008 17:55:52 +0000 (10:55 -0700)]
Add capability variable.
Michael M Slusarz [Sun, 16 Nov 2008 17:50:37 +0000 (10:50 -0700)]
ws
Michael M Slusarz [Fri, 14 Nov 2008 23:59:36 +0000 (16:59 -0700)]
Need to recurse since new Parts may also contain embedded parts.
Michael M Slusarz [Fri, 14 Nov 2008 23:31:50 +0000 (16:31 -0700)]
Don't show attachments header if there are no attachments.
Michael M Slusarz [Fri, 14 Nov 2008 23:26:10 +0000 (16:26 -0700)]
Update partial Viewer.
The first working embedded parts Viewer. Yay!
Michael M Slusarz [Fri, 14 Nov 2008 23:24:25 +0000 (16:24 -0700)]
IMP_Contents improvements.
Allow MIME Part to be specified to render().
Make sure message is built before calling render().
Catch if embedded part replaces base message.
getMessageIndex() -> getIndex().
getMessageMailbox() -> getMailbox().
Michael M Slusarz [Fri, 14 Nov 2008 23:23:43 +0000 (16:23 -0700)]
Fix function name.
Michael M Slusarz [Fri, 14 Nov 2008 23:23:26 +0000 (16:23 -0700)]
Fix undefined variable.
Michael M Slusarz [Fri, 14 Nov 2008 23:23:08 +0000 (16:23 -0700)]
Allow contents to be set in parseMessage().
Chuck Hagenbuch [Sun, 16 Nov 2008 05:06:48 +0000 (00:06 -0500)]
normalize all locale parts to be ucfirst
Chuck Hagenbuch [Sat, 15 Nov 2008 17:24:38 +0000 (12:24 -0500)]
Merge branch 'master' of chuck@dev.horde.org:/horde/git/horde-hatchery
Chuck Hagenbuch [Sat, 15 Nov 2008 17:23:46 +0000 (12:23 -0500)]
add scribd service to the hatchery
Michael M Slusarz [Fri, 14 Nov 2008 22:11:04 +0000 (15:11 -0700)]
Merge from HEAD (Request #4664).
Michael M Slusarz [Fri, 14 Nov 2008 22:10:44 +0000 (15:10 -0700)]
Update quota drivers.
Michael M Slusarz [Fri, 14 Nov 2008 20:39:43 +0000 (13:39 -0700)]
Output status message if no inline parts.
Michael M Slusarz [Fri, 14 Nov 2008 20:39:12 +0000 (13:39 -0700)]
Make this a bit more noticable.
Michael M Slusarz [Fri, 14 Nov 2008 19:46:45 +0000 (12:46 -0700)]
Clean up URL passing; fix image conversion.
Michael M Slusarz [Fri, 14 Nov 2008 19:46:27 +0000 (12:46 -0700)]
Fix full rendering.
Michael M Slusarz [Fri, 14 Nov 2008 19:45:52 +0000 (12:45 -0700)]
Show link to download file if it can not be viewed inline.
Michael M Slusarz [Fri, 14 Nov 2008 19:45:26 +0000 (12:45 -0700)]
Don't move browser scrollbar on click.
Michael M Slusarz [Fri, 14 Nov 2008 19:44:26 +0000 (12:44 -0700)]
Replace attachment_display pref with parts_display
Gives the option to choose between showing all parts by default, only
attachments, or no parts. All inline parts remain always displayed.
Michael M Slusarz [Fri, 14 Nov 2008 19:43:19 +0000 (12:43 -0700)]
phpdoc
Michael M Slusarz [Fri, 14 Nov 2008 07:42:48 +0000 (00:42 -0700)]
This won't be needed.
Michael M Slusarz [Fri, 14 Nov 2008 07:35:41 +0000 (00:35 -0700)]
Fix undefined variable.
Michael M Slusarz [Fri, 14 Nov 2008 07:33:29 +0000 (00:33 -0700)]
Don't display status information in popup.
Michael M Slusarz [Fri, 14 Nov 2008 07:30:23 +0000 (00:30 -0700)]
Fix javascript code for displaying images.
Michael M Slusarz [Fri, 14 Nov 2008 07:29:32 +0000 (00:29 -0700)]
Make sure we finish rendering before outputting contents.
Michael M Slusarz [Fri, 14 Nov 2008 07:29:00 +0000 (00:29 -0700)]
Improve recognition of viewable message ID.
Michael M Slusarz [Fri, 14 Nov 2008 07:27:24 +0000 (00:27 -0700)]
phpdoc
Michael M Slusarz [Fri, 14 Nov 2008 07:25:07 +0000 (00:25 -0700)]
Tweak the status parameters a bit.
Michael M Slusarz [Fri, 14 Nov 2008 07:24:47 +0000 (00:24 -0700)]
Don't output empty header info.
Michael M Slusarz [Fri, 14 Nov 2008 06:41:18 +0000 (23:41 -0700)]
We've already isolated the keys from this array.
Michael M Slusarz [Fri, 14 Nov 2008 06:36:45 +0000 (23:36 -0700)]
Fix base ID determination.
Michael M Slusarz [Thu, 13 Nov 2008 20:10:29 +0000 (13:10 -0700)]
Update status Viewer.
Michael M Slusarz [Thu, 13 Nov 2008 20:10:20 +0000 (13:10 -0700)]
Tweaks.
Michael M Slusarz [Thu, 13 Nov 2008 19:16:07 +0000 (12:16 -0700)]
Fix determination of related start MIME part.
Michael M Slusarz [Thu, 13 Nov 2008 19:15:37 +0000 (12:15 -0700)]
Much better determination of "base" alternative part.
Michael M Slusarz [Thu, 13 Nov 2008 19:15:14 +0000 (12:15 -0700)]
More improvements to mimeIdArithmetic().
Michael M Slusarz [Thu, 13 Nov 2008 07:24:06 +0000 (00:24 -0700)]
More fixes.
Michael M Slusarz [Thu, 13 Nov 2008 07:15:00 +0000 (00:15 -0700)]
Fix some bugs.
Michael M Slusarz [Thu, 13 Nov 2008 07:01:53 +0000 (00:01 -0700)]
Some fixes.
Michael M Slusarz [Thu, 13 Nov 2008 06:35:09 +0000 (23:35 -0700)]
Update appledouble Viewer for the new render/IMP code.
Michael M Slusarz [Thu, 13 Nov 2008 06:34:51 +0000 (23:34 -0700)]
renderMIMEPart() now takes a constant mask value.
Michael M Slusarz [Thu, 13 Nov 2008 06:00:39 +0000 (23:00 -0700)]
Getting late - fix this typo.
Michael M Slusarz [Thu, 13 Nov 2008 05:59:54 +0000 (22:59 -0700)]
Correctly use mimeIdArithmetic().
Michael M Slusarz [Thu, 13 Nov 2008 05:59:26 +0000 (22:59 -0700)]
Add a MIME type to the downloads list.
Michael M Slusarz [Thu, 13 Nov 2008 05:58:48 +0000 (22:58 -0700)]
Fell into the trap again where ('#' == '#.0').
Michael M Slusarz [Thu, 13 Nov 2008 05:58:10 +0000 (22:58 -0700)]
Deal with the funky message/rfc822 naming.
Michael M Slusarz [Thu, 13 Nov 2008 05:33:04 +0000 (22:33 -0700)]
Fix MDN to work with new render() output format.
Michael M Slusarz [Thu, 13 Nov 2008 05:32:43 +0000 (22:32 -0700)]
Fix displaying other inline parts under the alt part.
Michael M Slusarz [Thu, 13 Nov 2008 05:32:30 +0000 (22:32 -0700)]
Fix some typos.
Michael M Slusarz [Thu, 13 Nov 2008 05:07:51 +0000 (22:07 -0700)]
Make the related Viewer work with the newer code.
Michael M Slusarz [Thu, 13 Nov 2008 05:07:25 +0000 (22:07 -0700)]
Get this information from the current MIME part.
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!
Michael M Slusarz [Thu, 13 Nov 2008 04:53:03 +0000 (21:53 -0700)]
Play around with this function a bit more.
Michael M Slusarz [Thu, 13 Nov 2008 04:52:24 +0000 (21:52 -0700)]
Track some IMP_Contents changes.
Michael M Slusarz [Thu, 13 Nov 2008 03:34:34 +0000 (20:34 -0700)]
Fix _renderInline() return.
Michael M Slusarz [Thu, 13 Nov 2008 03:34:17 +0000 (20:34 -0700)]
Fix _renderInfo() return.
Michael M Slusarz [Thu, 13 Nov 2008 03:33:51 +0000 (20:33 -0700)]
Move name information inside first part.
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.
Michael M Slusarz [Wed, 12 Nov 2008 23:56:29 +0000 (16:56 -0700)]
Update to new render() return format.
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.