Commit Graph

8255 Commits

Author SHA1 Message Date
Aleksander Machniak
5e5eab3e53 Update TinyMCE to version 4.3.13 (#5309) 2016-06-09 11:14:55 +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
c76c4ed08b Workaround PHP issue by calling closelog() on script shutdown when using log_driver=syslog (#5289) 2016-06-02 20:53:42 +02:00
Aleksander Machniak
d61d33a12a Fix handling of --delete argument in moduserprefs.sh script (#5296) 2016-06-01 20:15:22 +02:00
Aleksander Machniak
f466899d8d Simplified code 2016-05-31 09:18:44 +02:00
Aleksander Machniak
7864a98f08 Fix searching by email address in contacts with multiple addresses (#5291) 2016-05-31 09:01:57 +02:00
Aleksander Machniak
6737e293bb Wash position:fixed style in HTML mail for better security (#5264) 2016-05-29 17:09:41 +02:00
Thomas Bruederli
44894414cd Avoid sending completely empty text parts for multipart/alternative messages (#5283) 2016-05-29 13:36:29 +02:00
Thomas Bruederli
f82e336ada Add licence header to cloned PublicKey.js 2016-05-29 13:07:03 +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
796bb4ccbb Update localization, add Enigma plugin localizations 2016-05-28 15:19:19 +02:00
Aleksander Machniak
ff735fb3a5 Protect INBOX folder even if protected_default_folders=false 2016-05-28 10:00:25 +02:00
Aleksander Machniak
0ce7c493a8 Fix multi-folder search issues in "this and subfolders" scope (#5282, #5259)
- Fix bug where multi-folder search could choose a wrong folder
- Fix bug where multi-folder search didn't work for unsubscribed INBOX
2016-05-28 09:31:59 +02:00
Aleksander Machniak
2b88e6cf95 Use $OUTPUT->set_env(...) instead of $OUTPUT->command('set_env', ...) 2016-05-27 11:55:38 +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
9e64dc2deb Remove application/x-tar file extension test as it might not exist in nginx config (#5253)
Use text/css instead
2016-05-20 14:36:45 +02:00
Aleksander Machniak
378d10b748 Fix bug where message list columns could be in wrong order after column drag-n-drop and list sorting 2016-05-20 11:17:21 +02:00
Aleksander Machniak
930a3ceac0 Fix bug where errors could have been not logged when per_user_logging=true 2016-05-18 19:53:51 +02:00
John Regan
3a2874c77c Remove check for multiple dots in local-part 2016-05-17 11:40:18 -05:00
John Regan
0e809364e7 Support SMTPUTF8, relax email restrictions
If the FROM/TO portions of an email use non-ASCII characters,
check that the SMTP server supports the SMTPUTF8 extension.

Additionally, change some rules for parsing email addresses to
allow for more characters. Basically, SMTPUTF8 states that
nearly any printable character is a valid character in an
email address.
2016-05-17 11:33:34 -05:00
Aleksander Machniak
f7fdf1a4de Merge pull request #5168 from piuma/patch-1
Set maxlength for email address input
2016-05-09 09:01:11 +02:00
Aleksander Machniak
3d0d5dbd0f Performance improvements in format_flowed() and unfold_flowed() 2016-05-08 14:27:56 +02:00
Aleksander Machniak
afd090672c Small performance optimization 2016-05-08 11:52:54 +02:00
Aleksander Machniak
9cd4b1bc58 Display different confirmation text when moving messages to Trash (#5220) 2016-05-08 09:31:46 +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
6652367d65 Fix XSS issue in href attribute on area tag (#5240, #5241) 2016-05-06 08:28:15 +02:00
Aleksander Machniak
4921c21cff Optimize SELECT response handling 2016-05-05 14:10:55 +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
56f9883d84 Update to jsTimezoneDetect 1.0.6 2016-05-02 17:52:44 +02:00
Aleksander Machniak
9634169647 Bump version number to 1.3-beta 2016-05-02 14:37:39 +02:00
Aleksander Machniak
bd6d7645d7 Update localization 2016-05-02 14:33:55 +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
013aaeb895 CS improvements/fixes 2016-05-01 10:56:57 +02:00
Aleksander Machniak
0eece8222b Fix autoloading of 'html' class and improve autoloader performance 2016-04-30 07:56:09 +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
Aleksander Machniak
5e406f7b7e Disable links list when converting html2text for spellchecking 2016-04-25 20:56:04 +02:00
Aleksander Machniak
1da8ffd52b Use "email" over "e-mail" consistently (#5212) 2016-04-25 08:57:52 +02:00
Aleksander Machniak
7abfe41ab7 Fix bug where getting HTML editor content could steal focus from other form controls (#5223) 2016-04-24 11:12:38 +02:00
Aleksander Machniak
7dad859ffa Fix message list multi-select/deselect issue (#5219) 2016-04-21 08:30:42 +02:00
Aleksander Machniak
52106ffd39 Fix bug where rcube_contacts::get_record() could return cached result when requested record wasn't found (#5218) 2016-04-20 20:25:23 +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
Bostjan Skufca
05c7d49a37 Autocomplete search: add id and source (addressbook) into resulting contact data array
Two reasons:
- provide it to plugin backend functions that use 'contacts_autocomplete_after' hook
- provide it to frontend

Why to frontend?
If plugin JS adds an 'autocomplete_insert' hook we need to provide it with exact
autocomplete data. Providing it with name and email address only, without pinpointing
exact origin of this autocomplete result, will severely limit learning capabilities of
potential future autocomplete implementations.
2016-04-14 02:45:21 +02:00