Commit Graph

454 Commits

Author SHA1 Message Date
Aleksander Machniak
cd7ca6014f Describe html editor textarea with data-html-editor attribute 2017-09-20 21:30:58 +02:00
Aleksander Machniak
0d57714713 Don't reset classes of the textarea in HTML mode, just append 'mce_editor' class 2017-09-20 10:35:17 +02:00
Aleksander Machniak
58cae2ae5b Better workaround for history issues
Before we used history.back() in mail compose to workaround
history issues related to hidden iframe use. This again stopped
working as we switched to about:blank instead of blank.gif href.
A better solution is to detach the iframe after use and re-append
again when needed.
2017-07-13 13:51:26 +02:00
Aleksander Machniak
1b2d3c0ac2 Email Resent (Bounce) feature (#4985) 2017-07-12 11:56:41 +02:00
Aleksander Machniak
4b2f2b6b3b Use about:blank instead of blank.gif for empty iframes 2017-07-05 13:58:53 +02:00
Aleksander Machniak
84a79ee8db Move common mail composing/sending code to new rcmail_sendmail class
This is needed to make simpler an implementation of e.g.
- Mail Bounce feature (#4985),
- Direct Draft sending (#4998),
- Fast reply from mail preview (#5129).
2017-07-05 13:18:08 +02:00
Aleksander Machniak
86a4d78369 Merge branch 'dev-elastic' 2017-07-02 16:47:54 +02:00
Aleksander Machniak
6dee73a0ec Support both comma and semicolon as recipient separator, drop recipients_separator option (#5092) 2017-06-26 16:32:57 +02:00
Aleksander Machniak
fe2f553688 Add option to not indent quoted text on top-posting reply (#5105)
by setting reply_mode = 2
2017-05-29 09:42:54 +02:00
Aleksander Machniak
9858c2a294 Merge branch 'master' into dev-elastic 2017-05-14 13:32:35 +02:00
Aleksander Machniak
ef141e73fa Support adding compose form elements outside of the form by noform=true 2017-04-27 17:16:18 +02:00
Aleksander Machniak
67b575aa4f Add composeFormHead object for templates to return form tag with hidden inputs 2017-04-14 12:05:15 +02:00
Aleksander Machniak
d430903f6b Support contentEditable elements for autocomplete 2017-04-09 16:23:02 +02:00
dfukagaw28
89a4134064 Add support for DelSp=Yes messages (#5702) 2017-03-22 08:30:36 +01:00
Aleksander Machniak
dfd19206a4 sizeof() -> count() 2017-02-06 13:49:29 +01:00
Aleksander Machniak
b26dcb64c3 Code simplification 2016-11-12 15:20:57 +01:00
Aleksander Machniak
2dbbaf7739 Warn about too many disclosed recipients in composed email [max_disclosed_recipients] (#5132)
Allow to omit a subject when sending an email (#5068)
2016-11-06 09:39:16 +01:00
Aleksander Machniak
873e0353cf Use smart-upload-button for messages and contact photos upload
Unified interface with rcmail::upload_form().
2016-08-24 12:54:30 +02:00
Aleksander Machniak
c88a88fb0b Rewrite smart upload button to work in IE (#5410) 2016-08-23 20:54:18 +02:00
Aleksander Machniak
820d614c79 Fix missing </form> tag 2016-08-23 15:45:59 +02:00
Aleksander Machniak
43f3c5fb2a Implement "one click" attachment upload (#5024) 2016-08-20 19:38:48 +02:00
Aleksander Machniak
505efff5c4 Fix bug where blocked.gif couldn't be attached to reply/forward with insecure content 2016-08-12 11:30:09 +02:00
Aleksander Machniak
ebc2f5dc7d Add possibility to rename attachments in mail compose (#4996)
... and fix some small issues related to the new compose attachment menu feature
2016-07-30 09:05:49 +02:00
Aleksander Machniak
8a13615e9e Add possibility to preview and download attachments in mail compose (#5053) 2016-07-28 19:08:19 +02:00
Aleksander Machniak
87cf0a3fb1 Use minified publickey.js (with cache-buster) when available (#5254) 2016-05-22 08:19:27 +02:00
Aleksander Machniak
9796cd2063 Merge branch 'dev-rfc822-preview'
Conflicts:
	CHANGELOG
	program/steps/mail/show.inc
2016-05-02 18:01:18 +02:00
Aleksander Machniak
013aaeb895 CS improvements/fixes 2016-05-01 10:56:57 +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
b0a8e36930 Fix handling of body parameter in mail compose request 2016-02-24 11:18:09 +01:00
Aleksander Machniak
d686b57c72 Fix bug where contacts widget in compose could be incorrectly initialized with treelist widget (T998)
Fix typo in command name (list-adresses -> list-addresses)
2016-02-12 09:34:59 +01:00
Aleksander Machniak
be346095a0 Fix handling of message/rfc822 attachments on replies and forwards (#1490607) 2015-12-17 09:12:06 +01:00
Aleksander Machniak
8271597836 Use ternary operator where applicable 2015-11-16 09:11:47 +01:00
Aleksander Machniak
bb1ed2740d Display attachment size in compose (#1484774) 2015-10-09 10:53:52 +02:00
Aleksander Machniak
d560916065 Added possibility to drag-n-drop attachments from mail preview to compose window 2015-10-08 16:55:43 +02:00
Aleksander Machniak
82dcbb7488 Fix various issues in Mailvelope integration (#1490533) 2015-09-20 17:45:53 +02:00
Thomas Bruederli
f7f75ff7d1 Unify detection of pgp/mime message part 2015-09-10 21:56:40 +02:00
Thomas Bruederli
f189d72943 Merged branch 'dev-mailvelope' 2015-09-10 21:27:58 +02:00
Aleksander Machniak
399a2d68b6 Make optional adding of standard signature separator - sig_separator (#1487768) 2015-09-03 09:28:17 +02:00
Aleksander Machniak
c4daf3f14f Fix regression in converting signatures to text, fixed PHP warning in html2text() call 2015-08-30 18:41:13 +02:00
Aleksander Machniak
6ca1e6add1 Add option to enable HTML editor always, except when replying to plain text messages (#1489365) 2015-08-29 15:08:50 +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
8297ea1dcf Fix handling of plus character in mailto: links (#1490510) 2015-08-28 09:02:39 +02:00
Aleksander Machniak
60ab554003 Remove common subject prefixes Re:, Re[x]:, Re-x: on reply (#1490497) 2015-08-18 19:51:21 +02:00
Aleksander Machniak
d5f6d655da Workaround TinyMCE issue with <p>&nbsp;</p> sequence (#1490463) 2015-08-01 17:11:03 +02:00
Thomas Bruederli
2965a981b7 Allow to search and import missing PGP pubkeys from keyservers using Publickey.js 2015-07-31 22:04:08 +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
8bed5e0151 Fix regression where compose editor mode was set incorrectly 2015-07-19 11:06:48 +02:00
Aleksander Machniak
19246792c6 Fix so *-request@ addresses in Sender: header are also ignored on reply-all (#1490452) 2015-07-18 16:17:18 +02:00
Aleksander Machniak
56a4e1512c Fix a mistake in last small refactoring which broke identity selection 2015-06-22 09:55:43 +02:00
Aleksander Machniak
1414e3b6f8 Small refactoring to make some code testable 2015-06-20 14:27:44 +02:00