horde.git
17 years agonits
Michael M Slusarz [Wed, 19 Nov 2008 03:54:46 +0000 (20:54 -0700)]
nits

17 years agoMake sure all EOL chars have been stripped.
Michael M Slusarz [Wed, 19 Nov 2008 03:54:27 +0000 (20:54 -0700)]
Make sure all EOL chars have been stripped.

17 years agoRemove unused functions.
Michael M Slusarz [Wed, 19 Nov 2008 03:30:25 +0000 (20:30 -0700)]
Remove unused functions.

17 years agophpdoc
Michael M Slusarz [Wed, 19 Nov 2008 03:29:21 +0000 (20:29 -0700)]
phpdoc

17 years agocleanups.
Michael M Slusarz [Wed, 19 Nov 2008 03:29:09 +0000 (20:29 -0700)]
cleanups.

17 years agoFirst wave of changes to IMP_Compose to make it work again
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

17 years agoUse features provided by other libs.
Michael M Slusarz [Tue, 18 Nov 2008 22:38:57 +0000 (15:38 -0700)]
Use features provided by other libs.

17 years agoUse exception logging callback.
Michael M Slusarz [Tue, 18 Nov 2008 22:38:39 +0000 (15:38 -0700)]
Use exception logging callback.

17 years agoAdd findBody()
Michael M Slusarz [Tue, 18 Nov 2008 21:44:52 +0000 (14:44 -0700)]
Add findBody()

17 years agoUse Horde_Crypt to instantiate.
Michael M Slusarz [Tue, 18 Nov 2008 21:11:55 +0000 (14:11 -0700)]
Use Horde_Crypt to instantiate.

17 years agoReturn success status for remove/alter.
Michael M Slusarz [Tue, 18 Nov 2008 21:11:07 +0000 (14:11 -0700)]
Return success status for remove/alter.

17 years agoUse Horde_Crypt to instantiate. Remove todo.
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.

17 years agoViewing encrypted parts works now.
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.

17 years agoUse Horde_Crypt to instantiate.
Michael M Slusarz [Tue, 18 Nov 2008 21:00:33 +0000 (14:00 -0700)]
Use Horde_Crypt to instantiate.

17 years agoUse new embeddedMimeParts() return format.
Michael M Slusarz [Tue, 18 Nov 2008 20:58:45 +0000 (13:58 -0700)]
Use new embeddedMimeParts() return format.

17 years agoFix alterPart() and removePart().
Michael M Slusarz [Tue, 18 Nov 2008 20:58:20 +0000 (13:58 -0700)]
Fix alterPart() and removePart().

17 years agoChange output for this function.
Michael M Slusarz [Tue, 18 Nov 2008 20:15:27 +0000 (13:15 -0700)]
Change output for this function.

Matches render() better.

17 years agoAdd option to return Mime_Part object instead.
Michael M Slusarz [Tue, 18 Nov 2008 20:14:55 +0000 (13:14 -0700)]
Add option to return Mime_Part object instead.

17 years agoFix getEmbeddedMimeParts(). Simplify.
Michael M Slusarz [Tue, 18 Nov 2008 18:52:07 +0000 (11:52 -0700)]
Fix getEmbeddedMimeParts(). Simplify.

17 years agoPGP: implement Viewing keys and signed parts.
Michael M Slusarz [Tue, 18 Nov 2008 08:27:44 +0000 (01:27 -0700)]
PGP: implement Viewing keys and signed parts.

17 years agoNow that the imap client lib is fixed, don't need these.
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.

17 years agoAdd mimeheaders option to getBodyPart().
Michael M Slusarz [Tue, 18 Nov 2008 07:26:22 +0000 (00:26 -0700)]
Add mimeheaders option to getBodyPart().

17 years agoBetter defaults for Driver functions.
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.

17 years agoRename to match new Horde_Crypt API
Michael M Slusarz [Sun, 16 Nov 2008 22:58:38 +0000 (15:58 -0700)]
Rename to match new Horde_Crypt API

17 years agophpdoc - document correct default value
Michael M Slusarz [Sun, 16 Nov 2008 22:57:30 +0000 (15:57 -0700)]
phpdoc - document correct default value

17 years agoFix typos.
Michael M Slusarz [Sun, 16 Nov 2008 22:57:13 +0000 (15:57 -0700)]
Fix typos.

17 years agofix list() weirdness (might be a PHP 5 thing).
Michael M Slusarz [Sun, 16 Nov 2008 22:56:43 +0000 (15:56 -0700)]
fix list() weirdness (might be a PHP 5 thing).

17 years agoFixes.
Michael M Slusarz [Sun, 16 Nov 2008 22:11:29 +0000 (15:11 -0700)]
Fixes.

17 years agoFix paths
Michael M Slusarz [Sun, 16 Nov 2008 21:09:31 +0000 (14:09 -0700)]
Fix paths

17 years agoMove Horde_Crypt from CVS.
Michael M Slusarz [Sun, 16 Nov 2008 21:05:55 +0000 (14:05 -0700)]
Move Horde_Crypt from CVS.

Due to Horde_Mime changes.

17 years agoAdd capability variable.
Michael M Slusarz [Sun, 16 Nov 2008 17:55:52 +0000 (10:55 -0700)]
Add capability variable.

17 years agows
Michael M Slusarz [Sun, 16 Nov 2008 17:50:37 +0000 (10:50 -0700)]
ws

17 years agoNeed to recurse since new Parts may also contain embedded parts.
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.

17 years agoDon't show attachments header if there are no attachments.
Michael M Slusarz [Fri, 14 Nov 2008 23:31:50 +0000 (16:31 -0700)]
Don't show attachments header if there are no attachments.

17 years agoUpdate partial Viewer.
Michael M Slusarz [Fri, 14 Nov 2008 23:26:10 +0000 (16:26 -0700)]
Update partial Viewer.

The first working embedded parts Viewer. Yay!

17 years agoIMP_Contents improvements.
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().

17 years agoFix function name.
Michael M Slusarz [Fri, 14 Nov 2008 23:23:43 +0000 (16:23 -0700)]
Fix function name.

17 years agoFix undefined variable.
Michael M Slusarz [Fri, 14 Nov 2008 23:23:26 +0000 (16:23 -0700)]
Fix undefined variable.

17 years agoAllow contents to be set in parseMessage().
Michael M Slusarz [Fri, 14 Nov 2008 23:23:08 +0000 (16:23 -0700)]
Allow contents to be set in parseMessage().

17 years agonormalize all locale parts to be ucfirst
Chuck Hagenbuch [Sun, 16 Nov 2008 05:06:48 +0000 (00:06 -0500)]
normalize all locale parts to be ucfirst

17 years agoMerge branch 'master' of chuck@dev.horde.org:/horde/git/horde-hatchery
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

17 years agoadd scribd service to the hatchery
Chuck Hagenbuch [Sat, 15 Nov 2008 17:23:46 +0000 (12:23 -0500)]
add scribd service to the hatchery

17 years agoMerge from HEAD (Request #4664).
Michael M Slusarz [Fri, 14 Nov 2008 22:11:04 +0000 (15:11 -0700)]
Merge from HEAD (Request #4664).

17 years agoUpdate quota drivers.
Michael M Slusarz [Fri, 14 Nov 2008 22:10:44 +0000 (15:10 -0700)]
Update quota drivers.

17 years agoOutput status message if no inline parts.
Michael M Slusarz [Fri, 14 Nov 2008 20:39:43 +0000 (13:39 -0700)]
Output status message if no inline parts.

17 years agoMake this a bit more noticable.
Michael M Slusarz [Fri, 14 Nov 2008 20:39:12 +0000 (13:39 -0700)]
Make this a bit more noticable.

17 years agoClean up URL passing; fix image conversion.
Michael M Slusarz [Fri, 14 Nov 2008 19:46:45 +0000 (12:46 -0700)]
Clean up URL passing; fix image conversion.

17 years agoFix full rendering.
Michael M Slusarz [Fri, 14 Nov 2008 19:46:27 +0000 (12:46 -0700)]
Fix full rendering.

17 years agoShow link to download file if it can not be viewed inline.
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.

17 years agoDon't move browser scrollbar on click.
Michael M Slusarz [Fri, 14 Nov 2008 19:45:26 +0000 (12:45 -0700)]
Don't move browser scrollbar on click.

17 years agoReplace attachment_display pref with parts_display
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.

17 years agophpdoc
Michael M Slusarz [Fri, 14 Nov 2008 19:43:19 +0000 (12:43 -0700)]
phpdoc

17 years agoThis won't be needed.
Michael M Slusarz [Fri, 14 Nov 2008 07:42:48 +0000 (00:42 -0700)]
This won't be needed.

17 years agoFix undefined variable.
Michael M Slusarz [Fri, 14 Nov 2008 07:35:41 +0000 (00:35 -0700)]
Fix undefined variable.

17 years agoDon't display status information in popup.
Michael M Slusarz [Fri, 14 Nov 2008 07:33:29 +0000 (00:33 -0700)]
Don't display status information in popup.

17 years agoFix javascript code for displaying images.
Michael M Slusarz [Fri, 14 Nov 2008 07:30:23 +0000 (00:30 -0700)]
Fix javascript code for displaying images.

17 years agoMake sure we finish rendering before outputting contents.
Michael M Slusarz [Fri, 14 Nov 2008 07:29:32 +0000 (00:29 -0700)]
Make sure we finish rendering before outputting contents.

17 years agoImprove recognition of viewable message ID.
Michael M Slusarz [Fri, 14 Nov 2008 07:29:00 +0000 (00:29 -0700)]
Improve recognition of viewable message ID.

17 years agophpdoc
Michael M Slusarz [Fri, 14 Nov 2008 07:27:24 +0000 (00:27 -0700)]
phpdoc

17 years agoTweak the status parameters a bit.
Michael M Slusarz [Fri, 14 Nov 2008 07:25:07 +0000 (00:25 -0700)]
Tweak the status parameters a bit.

17 years agoDon't output empty header info.
Michael M Slusarz [Fri, 14 Nov 2008 07:24:47 +0000 (00:24 -0700)]
Don't output empty header info.

17 years agoWe've already isolated the keys from this array.
Michael M Slusarz [Fri, 14 Nov 2008 06:41:18 +0000 (23:41 -0700)]
We've already isolated the keys from this array.

17 years agoFix base ID determination.
Michael M Slusarz [Fri, 14 Nov 2008 06:36:45 +0000 (23:36 -0700)]
Fix base ID determination.

17 years agoUpdate status Viewer.
Michael M Slusarz [Thu, 13 Nov 2008 20:10:29 +0000 (13:10 -0700)]
Update status Viewer.

17 years agoTweaks.
Michael M Slusarz [Thu, 13 Nov 2008 20:10:20 +0000 (13:10 -0700)]
Tweaks.

17 years agoFix determination of related start MIME part.
Michael M Slusarz [Thu, 13 Nov 2008 19:16:07 +0000 (12:16 -0700)]
Fix determination of related start MIME part.

17 years agoMuch better determination of "base" alternative part.
Michael M Slusarz [Thu, 13 Nov 2008 19:15:37 +0000 (12:15 -0700)]
Much better determination of "base" alternative part.

17 years agoMore improvements to mimeIdArithmetic().
Michael M Slusarz [Thu, 13 Nov 2008 19:15:14 +0000 (12:15 -0700)]
More improvements to mimeIdArithmetic().

17 years agoMore fixes.
Michael M Slusarz [Thu, 13 Nov 2008 07:24:06 +0000 (00:24 -0700)]
More fixes.

17 years agoFix some bugs.
Michael M Slusarz [Thu, 13 Nov 2008 07:15:00 +0000 (00:15 -0700)]
Fix some bugs.

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.