Commit Graph

7246 Commits

Author SHA1 Message Date
Aleksander Machniak
70d342a436 Fix language selection for spellchecker in html mode (#6915)
Also fix so the language is not reset when switching from html to plain
text and vice-versa.
2019-09-11 15:15:36 +02:00
Aleksander Machniak
5040009f9c Fix array offset access syntax with curly braces 2019-09-11 10:22:36 +02:00
Aleksander Machniak
de4a6068e6 Mention Masterminds/HTML5 in INSTALL/README 2019-09-11 09:42:45 +02:00
Aleksander Machniak
b10a0dbb7e Reset internal $skins property is set_skin() 2019-09-08 11:37:16 +02:00
Aleksander Machniak
5373f1839d Fix googiespell popup in all skins 2019-09-06 20:44:38 +02:00
Aleksander Machniak
bdd1b94d78 Fix PHP 7.4 warning: "Creating default object from empty value" 2019-09-04 09:57:41 +02:00
Aleksander Machniak
27bfd0884e Drop rcube_browser::$lang property
You should use Accept-Language header instead, as we do in other place
2019-08-31 09:40:51 +02:00
Aleksander Machniak
1a10074b85 Add Edge browser detection 2019-08-31 08:50:20 +02:00
Aleksander Machniak
f5d6a242a8 Remove useless properties from rcube_browser 2019-08-31 08:19:12 +02:00
Aleksander Machniak
0786ab8187 Update localization 2019-08-30 12:38:47 +02:00
Aleksander Machniak
4096739322 Fix including assets that exist only in minified version 2019-08-30 12:08:48 +02:00
Aleksander Machniak
21ebf3ff5a Fix bug where it was possible to bypass href URI check with data:application/xhtml+xml URIs (#6896) 2019-08-27 15:57:47 +02:00
Aleksander Machniak
63730cf842 Fix security issue where it was possible to bypass the CSS jail in HTML messages using :root pseudo-class (#6897) 2019-08-27 15:33:23 +02:00
Aleksander Machniak
057fb69bb9 Fix bug where some strict remote URIs in url() style were unintentionally blocked (#6899) 2019-08-27 14:37:17 +02:00
Aleksander Machniak
7bf868767e Fix security issue where it was possible to bypass the position:fixed CSS check in received messages (#6898) 2019-08-27 13:50:09 +02:00
Aleksander Machniak
3b4d9f3fb5 PHPDoc updates 2019-08-25 19:24:08 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
b35c9c1fdc Apply image preview centering styles only if there's an image
For cases when we display a security warning about the image attachment
the image centering styles would make the warning centered, which
we do not want.
2019-08-23 10:22:54 +02:00
Aleksander Machniak
f7832a1a26 Removed 'delete_always' option (#6782) 2019-08-20 15:21:17 +02:00
johndoh
3a40f6cd91 Add expand_all/collapse_all treelist methods (#6860)
* add expand_all()/collapse_all() treelist methods
* prevent possible race condition in rcmail.folder_collapsed()
2019-08-10 08:46:33 +02:00
Aleksander Machniak
04ff1feec3 Improve wording: record -> list entry 2019-08-09 19:58:04 +02:00
Aleksander Machniak
902c264cf0 PHPRedis 5 compat. fix in session handler 2019-08-09 16:11:49 +02:00
Jack Cherng
198585d8a0 Fix implode() wrong parameter order (#6866)
It has been deprecated in PHP 7.4.

Such as PHP deprecated:  implode(): Passing glue string after array is deprecated. Swap the parameters in /var/www/roundcubemail/program/lib/Roundcube/rcube_db.php on line 917

Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2019-08-09 16:04:51 +02:00
Sandor Takacs
adcfa53532 Redis::delete() is deprecated in phpredis 5.0.0 (#6883)
Redis::delete() is deprecated in phpredis 5.0.0
2019-08-09 16:03:47 +02:00
Jack Cherng
17d8423299 Fix PHP 7.4 deprecation: array/string curly braces access (#6884)
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2019-08-09 16:03:20 +02:00
Aleksander Machniak
9a225bd3fe Use Left/Right Arrow keys to faster move over threaded messages list (#6399)
Fixed some inconsistencies in list widget expand/collapse code.

Made the arrow keys behavior like in Thunderbird, i.e.:
- Right Arrow expands thread or selects closest child if already expanded,
- Left Arrow collapses thread or jumps to closest parent,
- Left Arrow + Ctrl selects top-most parent,
- Up/Down Arrow keys behavior didn't change.
2019-08-09 13:28:42 +02:00
Aleksander Machniak
dc5be05a5f Select all records on the current list page with CTRL + A (#6813) 2019-08-02 19:19:14 +02:00
Aleksander Machniak
7e8f9da64b Elastic: Add "Show unread messages" button to the search bar (#6587) 2019-08-02 12:38:52 +02:00
Aleksander Machniak
9b88e9e5c2 Correct vendor string for GMail is 'gimap' 2019-08-01 08:53:38 +02:00
johndoh
91398c858a Add KOI8-R to charset_selector (#6861) 2019-07-31 13:19:32 +02:00
Aleksander Machniak
a80c5569ab Added flag to disable server certificate validation via Mysql DSN argument (#6848) 2019-07-15 09:12:18 +02:00
Aleksander Machniak
786bde62f2 Fix wrong messages order after returning to a multi-folder search result (#6836) 2019-07-14 15:06:24 +02:00
Aleksander Machniak
0e4bf6fda8 Fix bug where unread count wasn't updated after moving multi-folder result (#6846) 2019-07-14 13:23:37 +02:00
Aleksander Machniak
d9e3218025 Fix bug where handling multiple messages from multi-folder search result could not work (#6845) 2019-07-14 12:54:15 +02:00
Aleksander Machniak
d39d49b7a6 Fix keyboard navigation (tabindex) on attachments list in compose 2019-07-12 14:49:48 +02:00
Aleksander Machniak
14849be400 Merge branch 'pr-elastic-attachments' of https://github.com/thomascube/roundcubemail into thomascube-pr-elastic-attachments 2019-07-12 13:52:21 +02:00
Thomas Bruederli
00a867a05f Make attachment list :empty selector work 2019-07-11 13:28:43 +02:00
Aleksander Machniak
44bdca4ab9 Enigma: Fix bug where signature verification could have been skipped for some message structures (#6838) 2019-07-10 14:01:51 +02:00
Aleksander Machniak
c1344643a1 Fix bug in miemetype name comparator
The code was removing the first matching prefix (x- or x-ms-), which
caused 'x-ms-bmp' to end up as 'ms-bmp'. It should be 'bmp'. Fixed by
reverting the order of tokens in the regexp.
2019-07-07 15:18:32 +02:00
Aleksander Machniak
bfe2bc17d7 Fix css styles leak from replied/forwarded message to the rest of the composed text (#6831)
Generally do the same with styles what we do on message preview.

This also fixes small bugs in handling styles:
- fix so <style> tag on the start of the HTML content is not ignored
- fix so body's background/bgcolor attributes are applied to the container (regression)
2019-07-07 15:08:23 +02:00
Aleksander Machniak
8f895cb17f Replace function alias: getallheaders() -> apache_request_headers() 2019-07-06 08:28:53 +02:00
Jack Cherng
20bf625733 Remove a unused variable in rcube_plugin::include_stylesheet() (#6832)
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2019-07-02 09:03:32 +02:00
Aleksander Machniak
b7b2ce7b91 Small code improvement 2019-06-30 11:19:01 +02:00
Aleksander Machniak
446ff50c57 Merge branch 'dev/display_next' of https://github.com/alecpl/roundcubemail into alecpl-dev/display_next 2019-06-30 11:04:20 +02:00
Aleksander Machniak
a991e3181c Put charset meta specification before a title tag, add page title automatically (#6811)
I.e. templates should not specify <title>
2019-06-29 15:48:51 +02:00
Aleksander Machniak
84c4d062c6 Unified and simplified keypress event handling on a list widget 2019-06-28 09:47:14 +02:00
Jack Cherng
e449f30eff Simplify jQuery DOM ready at the footer (#6825)
https://api.jquery.com/ready/#entry-longdesc

Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2019-06-27 07:50:25 +02:00
Aleksander Machniak
0869f02b7c Fix bug in converting multi-page Tiff images into Jpeg (#6824)
When using 'convert' binary we have to use -flatten argument (the same
as we do with thumbnails) otherwise it will produce multiple output files
with -0, -1, etc. suffix. This way we make sure to generate only one image
until we support multi-page Tiff properly.
2019-06-26 13:40:30 +02:00
Aleksander Machniak
2d8c396b6e Fix bug where selection of columns on messages list wasn't working 2019-06-20 10:17:44 +02:00
Aleksander Machniak
6196278869 Fix bug where title text on a treelist record (folder) could include unread count number
Add skip-content class to unreadcount elements
2019-06-19 11:09:02 +00:00