Commit Graph

1186 Commits

Author SHA1 Message Date
Aleksander Machniak
d305f4f0fd Separate action to mark all messages in a folder as \Seen (#5006)
with possibility to do this in all folders or in a folder and its subfolders (#5076)
2016-10-10 09:31:38 +02:00
Aleksander Machniak
638afafbd2 Make so rcmail.log() depends on devel_mode (#5193) 2016-10-04 17:19:45 +02:00
Aleksander Machniak
d85f30bec4 Archive: Don't reload messages list when it's not needed (#5225)
Archive: Add option to automatically mark archived messages as \Seen (#5142)
2016-10-02 19:43:04 +02:00
Aleksander Machniak
a8d41ac7f4 Fix some undefined variables 2016-09-08 08:48:21 +02:00
Aleksander Machniak
bfbab5bcde Fix keyboard event detection with jQuery 3.x and remove hacks for old browsers
This fixes e.g. unwanted focus on a toolbar button after closing popup
menu with mouse click on the document.
2016-09-05 11:09:24 +02:00
Aleksander Machniak
2e1675bc4a Center and scale images in attachment preview frame (#5421) 2016-09-04 18:22:53 +02:00
Aleksander Machniak
ce0c42ed8a Fix error causing empty INBOX listing in Firefox when using an URL with user:password specified (#5400) 2016-08-29 11:01:12 +02:00
Aleksander Machniak
99cb08c41c Fix so "All" messages selection is resetted on search reset (#5413) 2016-08-25 08:44:36 +02:00
Aleksander Machniak
80919e1cf5 Added Search button in quick search menus (#5312) 2016-08-24 19:16:49 +02: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
de5da687e4 Remove code for "placeholder" attribute support in old browsers 2016-08-24 10:52:34 +02:00
Aleksander Machniak
43f3c5fb2a Implement "one click" attachment upload (#5024) 2016-08-20 19:38:48 +02:00
Aleksander Machniak
eecc601601 Fix compatibility with jQuery 3.x 2016-08-15 16:38:01 +02:00
Aleksander Machniak
9e3263acbe Simplify popup dialogs creation 2016-07-31 15:25:18 +02:00
Aleksander Machniak
94eb2e5a40 Make the attachment rename input bigger (size: 50) 2016-07-30 09:46:47 +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
64763853c9 Fix javascript errors in IE on page with iframe that points to another domain 2016-07-23 08:37:38 +02:00
Aleksander Machniak
7a7a6795f0 Support WEBP images in mail messages (#5362) 2016-07-21 16:42:45 +02:00
Aleksander Machniak
1988f68660 Merge pull request #5203 from bostjan/foundation-for-customizable-contacts-autocomplete
Foundation for customizable contacts autocomplete
2016-07-21 09:53:01 +02:00
Aleksander Machniak
437aca39e0 Enigma: Import keys from key-server(s) (#5286) 2016-07-21 08:26:46 +02:00
Aleksander Machniak
8e65f618c5 Display full message subject in onmouseover on truncated subject in mail view (#5346) 2016-07-15 13:40:09 +02:00
Aleksander Machniak
352c6329cc Enigma: Search missing public keys on a key-server in mail compose (#5286) 2016-07-01 09:33:26 +02:00
Aleksander Machniak
d08bd0a51f Searching in both contacts and groups when LDAP addressbook with group_filters option is used 2016-06-20 09:02:38 +02:00
Aleksander Machniak
d0bb0a9c9d Fix subscription checkbox state on error in folder subscribe/unsubscribe action (#5243) 2016-06-08 19:27:03 +02:00
Aleksander Machniak
b9d3fb0221 Display different attachment icon on encrypted messages 2016-06-03 20:18:45 +02:00
Aleksander Machniak
bf049c80e7 Remove debug code 2016-05-29 12:38:05 +02:00
Aleksander Machniak
1a8593a315 Update changelog 2016-05-29 12:32:31 +02:00
Aleksander Machniak
db70d3e491 Merge pull request #5277 from hemio-ev/mailvelope-fixes
Fixes 'nobodywarning' on sending mailvelope mails
2016-05-29 12:26:27 +02:00
Aleksander Machniak
98c1712e29 Fix redundant keep-alive requests when session_lifetime is greater than ~20000 (#5273) 2016-05-26 10:50:20 +02:00
Michael Herold
d3c6d6570b Fixes 'nobodywarning' on sending mailvelope mails 2016-05-25 11:15:49 +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
344b0af9c6 Indicate that a collapsed thread has flagged children (#5013) 2016-05-04 13:33:01 +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
667ed37f77 Fix bug where Encrypt button appears when switching editor to HTML (#5235) 2016-05-01 16:39:10 +02:00
Aleksander Machniak
5d08d57005 Don't log ajax requests/responses, browser development tools already can show this information 2016-04-27 10:46:20 +02:00
Bostjan Skufca
12756e2297 Autocomplete: store last searched-for string into separate variable for later consumption
Reason:
Autocompleting person contacts works as expected - ksearch_value is available and passed to triggerEvent.
But with group autocomplete, ksearch_value is reset (to null) and triggerEvent call lacks necessary data.
2016-04-15 04:27:26 +02:00
Bostjan Skufca
f919e8ffa6 Autocomplete: change type from 'contact' to 'person' to sync with what is expected from LDAP.
Explanation:
Alternative would be to leave type empty, as it is when contact comes form SQL source.
But this feels overly ambiguous and may cause problems in the future.
2016-04-15 02:22:19 +02:00
Bostjan Skufca
1791c3e3d7 Autocomplete/frontend: provide functions that hook into 'autocomplete_insert' actual search and result data
Reason:
In order to enable development of sophisticated autocomplete algorithms, they will need
to process all the data relevant to autocomplete - what was the search string and which
result was the correct one.

Example to illustrate the need:
Say we are talking about these two people of interest, who are in the address book, among others:
- person 1: Bostjan Skufca <bostjan@a2o.si>
- person 2: Bostjan SkuBIC <bostjan@otherdomain.com>

Our user is used to think about the first person by the first name, "Bostjan", as he is an old friend.
The second one is a colleague at work where people call themselves mostly by surnames, "Skubic" in this case.

Without this data provided to 'autocomplete_insert', there is no way for RC to learn that when our user
enters "bos" in the To: field he thinks about person #1 (Bostjan SkuFCA), and when he starts typing "sku"
he means person #2 (Bostjan SkuBIC).
2016-04-14 02:57:21 +02:00
Aleksander Machniak
e8b6e726f6 Add message menu with viewsource and edit actions in message/rfc822 preview 2016-03-26 14:02:57 +01:00
Aleksander Machniak
d125f864ea Message/rfc822 previewer compatibility with Enigma 2016-03-25 13:41:11 +01: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
323fa20bc8 Message/rfc822 attachment preview (#5054) 2016-03-23 16:54:31 +01:00
Thomas Bruederli
4a408843b0 Protect download urls against CSRF using unique request tokens (#1490642)
Send X-Frame-Options headers with every HTTP response
2016-03-06 14:31:07 +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
c10eae0884 Fix bug where Archive/Junk buttons were not active after page jump with select=all mode (#1490647) 2016-01-27 08:47:12 +01:00
Aleksander Machniak
d08dc5bfc5 Fix so drag-n-drop of text (e.g. recipient addresses) on compose page actually works (#1490619) 2015-12-22 13:09:54 +01:00
Aleksander Machniak
c3be175ce7 Fix PDF support detection in Firefox > 19 (#1490610) 2015-12-17 15:27:17 +01:00
Thomas Bruederli
310d4939ba Tweak recently added encryption functions to not violate ECMASCRIPT3 syntax 2015-11-16 22:06:09 +01:00