Commit Graph

262 Commits

Author SHA1 Message Date
Aleksander Machniak
062d95503e Fix bug where Message-ID domain part was tied to username instead of current identity (#5385) 2016-08-09 09:17:26 +02:00
Aleksander Machniak
ee895a2c96 Remove PHP mail() support, smtp_server is required now (#5340) 2016-07-15 15:24:45 +02:00
Aleksander Machniak
930e363e55 Fix handling of 'mailto' and 'error' arguments in message_before_send hook (#5347) 2016-07-15 13:12:42 +02:00
Aleksander Machniak
0ae4001121 Don't create multipart/alternative messages with empty text/plain part (#5283) 2016-06-28 09:24:14 +02:00
Thomas Bruederli
44894414cd Avoid sending completely empty text parts for multipart/alternative messages (#5283) 2016-05-29 13:36:29 +02:00
Aleksander Machniak
6d1337e1df Fix regression where setting Answered/Forwarded flag didn't work when sending an email 2016-05-06 09:03:07 +02:00
Aleksander Machniak
ce3105c58f Reply/Reply-All/Forward/Change-format buttons for message/rfc822 preview 2016-03-24 17:07:31 +01:00
Aleksander Machniak
8271597836 Use ternary operator where applicable 2015-11-16 09:11:47 +01:00
Aleksander Machniak
4cd087ea2e Fixed mailvelope-generated messages structure (required Mail_Mime-1.10.0) 2015-09-13 14:50:16 +02:00
Aleksander Machniak
e250f00d90 Fix PHP warnings when sending mailvelope-encrypted mail 2015-09-13 09:55:59 +02:00
Thomas Bruederli
f189d72943 Merged branch 'dev-mailvelope' 2015-09-10 21:27:58 +02:00
Aleksander Machniak
fdbb1c95ea Fix missing HTTP_X_FORWARDED_FOR address in generated Received header 2015-09-06 19:59:55 +02:00
Aleksander Machniak
a63f14ec40 Emoticons-related code refactoring
- Emoticons: All emoticons-related functionality is handled by the plugin now
- Emoticons: Added option to switch on/off emoticons in compose editor (#1485732)
- Emoticons: Added option to switch on/off emoticons in plain text messages
- Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook
- Plugin API: Added html2text hook
2015-08-29 07:52:57 +02:00
Aleksander Machniak
d5f6d655da Workaround TinyMCE issue with <p>&nbsp;</p> sequence (#1490463) 2015-08-01 17:11:03 +02:00
Aleksander Machniak
4b72a1f498 Fix error when using back button after sending an email (#1490009) 2015-07-31 18:48:17 +02:00
Aleksander Machniak
8b0d817919 Fix draft removal after a message is sent and storing sent message is disabled (#1490467) 2015-07-29 19:41:16 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Thomas Bruederli
40d152cfdc Make encrypted pgp/mime message composition work 2015-06-01 12:53:32 +02:00
Aleksander Machniak
0a4e0921d3 Plugin API: Added message_ready hook - the last chance to modify Mail_Mime object before saving or sending the message 2015-03-31 16:07:51 +02:00
Aleksander Machniak
f02fe3c344 Remove redundant encoding of message subject with mb_encode_mimeheader() (#1490295) 2015-03-04 12:28:33 -05:00
Aleksander Machniak
b59b72cc30 Fix "Non-static method PEAR::isError() should not be called statically" errors (#1490281) 2015-02-26 18:04:03 +01:00
Aleksander Machniak
97ee4c40c1 Don't sent the message again in saveonly mode 2015-02-25 08:23:55 -05:00
Aleksander Machniak
c5c8e73351 Improved handling of storage errors after message is sent
After sending a message it is stored in Sent folder, this operation
may fail, e.g. because of "over quota" error. In such a case we'll
not close the compose window, but display the error and, if user clicks
Send/Save button, we'll display a dialog informing about the situation and
providing an option to try the save operation again.
2015-02-25 08:07:11 -05:00
Aleksander Machniak
216b31dd99 Fix so "over quota" errors are displayed also in message compose page
This also fixes over quota responses on cyrus imap which uses "Over quota" string and no error identifier.
2015-02-25 05:24:05 -05:00
Aleksander Machniak
d67071f228 Fix saving/sending emoticon images when assets_dir is set (Kolab #4608) 2015-02-18 08:47:08 -05:00
Aleksander Machniak
9ed6d46df7 Fix refreshing of drafts list when sending a message which was saved in meantime (#1490238) 2015-02-15 14:43:58 +01:00
Aleksander Machniak
5d42a9353b Fix bug where drafts list wasn't refreshed after draft message was sent from another window (#1490238) 2015-01-22 10:19:51 +01:00
Aleksander Machniak
f6502176f8 Hide MDN and DSN options in compose if disabled by admin (#1490221) 2015-01-09 11:25:53 +01:00
Aleksander Machniak
10f133bae8 Fix bug where sent message was saved in Sent folder even if disabled by user (#1490208) 2015-01-03 14:41:13 +01:00
Aleksander Machniak
a16cf3bb7c Replace all attachment-image URIs with CID URIs, not only src and poster attributes (#1490132) 2014-11-09 16:02:03 +01:00
Aleksander Machniak
0d96720f25 Fixed typo 2014-10-31 18:30:54 +01:00
Aleksander Machniak
d165d11012 Fix so attachment charset is set in headers of forward/draft message (#1490109) 2014-10-22 15:44:39 +02:00
Aleksander Machniak
e1b8f44e3f Fix invalid Content-Type header when send_format_flowed=false (#1489992) 2014-08-05 13:07:53 +02:00
Aleksander Machniak
10bf6b58ce Fix so address format errors are ignored when saving a draft (#1489954) 2014-06-20 10:52:40 +02:00
Aleksander Machniak
c5bfe69e21 Improved video support, all tinymce related resources moved to program/js/tinymce/roundcube dir 2014-06-04 18:42:57 +02:00
Aleksander Machniak
646b64107a Implemented Text Editor widget that integrates all operations on
textareas including HTML editor and spellchecking
2014-05-30 08:32:06 +02:00
Aleksander Machniak
731d190fec Merge branch 'tinymce4'
Conflicts:
	program/js/app.js
	program/js/editor.js
	program/js/tiny_mce/tiny_mce.js
	program/steps/utils/spell_html.inc
2014-05-28 15:52:30 +02:00
Aleksander Machniak
f56e70bd04 TinyMCE4: Fix spellchecker resume 2014-05-28 15:19:49 +02:00
Aleksander Machniak
eda92ed4c0 Improved display of plain text messages and text to HTML conversion (#1488937)
Now instead of <pre> we use <div class="pre"> styled with monospace
font. We replace whitespace characters with non-breaking spaces where
needed. I.e. plain text is always unwrappable, until it uses format=flowed,
in such a case only flowed paragraphs are wrappable.

Also conversion of text to HTML in compose editor was modified in the same way.
2014-05-11 11:03:45 +02:00
Aleksander Machniak
89d6ce6846 Update to TinyMCE 4.x 2014-05-01 11:48:29 +02:00
Aleksander Machniak
65ac8302e4 Fix missing Mail-Followup-To header in sent mail (#1489829) 2014-04-23 20:00:04 +02:00
Thomas Bruederli
0456f728ee Make UID extraction function globally availbale (for plugins) 2014-04-07 17:30:12 +02:00
Thomas Bruederli
e8cb51669a More fixes for multi-folder search (#1485234) 2014-04-07 16:24:37 +02:00
Aleksander Machniak
03de1329ef Fix invalid X-Draft-Info on forwarded message draft (#1489587) 2014-02-11 09:06:53 +01:00
Aleksander Machniak
6fa5b437a4 Update to TinyMCE 4.x 2014-01-20 18:46:28 +01:00
Aleksander Machniak
14bd927c71 Extracting inline image data into attachments also if data type is not set 2014-01-12 09:26:02 +01:00
Aleksander Machniak
f5d2eef55c More CS fixes, replace global $CONFIG usage with $RCMAIL->config->get() 2013-12-31 13:58:29 +01:00
Aleksander Machniak
0f16a0353c CS fixes 2013-12-29 17:17:53 +01:00
Aleksander Machniak
10936fef64 Don't alter Message-ID of a draft when sending (#1489409) 2013-12-29 11:57:39 +01:00
Aleksander Machniak
6b2b2eca5f Remove deprecated functions (these listed in bc.php file) usage 2013-12-22 14:12:15 +01:00