Commit Graph

1613 Commits

Author SHA1 Message Date
Aleksander Machniak
fe796d4040 Remove useless pass-by-reference 2020-01-31 09:58:03 +01:00
Aleksander Machniak
d340f18295 Fix display issues with mail subject that contains line-breaks (#7191) 2020-01-25 08:44:46 +01:00
Aleksander Machniak
bdf0a6539e Relaxed domain name validation for extended TLDs support (#5588) 2020-01-19 19:21:28 +01:00
Aleksander Machniak
97e6065897 Extract RFC2231 attachment name from message headers (#6729) (#6783)
* Extract RFC2231 attachment name from message headers (#6729)
* Workaround for attachments with invalid content type (e.g. PDF) (#6816)
2020-01-19 18:46:02 +01:00
Aleksander Machniak
1613f3ab4c INSERT OR REPLACE implementation (#6771)
For now with support in postgres and mysql databases.
For now used in rcube_cache, rcube_imap_cache and enigma plugin
2020-01-19 18:43:48 +01:00
Aleksander Machniak
1376b5a647 Fix bug where message parts with no Content-Disposition header and no name were not listed on attachments list (#7117) 2020-01-18 18:31:06 +01:00
Aleksander Machniak
c138567ab5 Support 'greenmail' as an imap vendor label, don't call ID when not supported 2020-01-17 15:42:12 +01:00
Aleksander Machniak
9311c49cf4 Fix unexpected error message when mail refresh involves folder auto-unsubscribe (#6923) 2020-01-12 10:29:53 +01:00
Aleksander Machniak
fded360d84 Fix so messages in threads with no root aren't displayed separately (#4999) 2020-01-06 20:33:35 +01:00
johndoh
51a9dd631f Add support for SameSite cookie attribute (req PHP >= 7.3.0) (#6772) 2020-01-05 15:53:51 +01:00
Aleksander Machniak
e8e8c31eb3 Improve namespace roots presentation (#5012) (#6789)
- Display a special icon for other users and shared namespace roots (Elastic)
- Change folders sorting so shared/other users namespaces are listed last

Fixes #5012.
2020-01-05 15:46:38 +01:00
Aleksander Machniak
31b33c0f39 Don't require config.inc.php when only config-<env>.inc.php exists 2019-12-30 13:45:38 +01:00
Aleksander Machniak
cf90c69ad7 Fix bug where 'text' attribute on body tag was ignored when displaying HTML message (#7109) 2019-12-14 17:42:55 +01:00
Aleksander Machniak
545ea62dfc Fix bug where listing tables in PostgreSQL database with db_prefix didn't work (#7093) 2019-12-13 21:04:12 +01:00
Aleksander Machniak
0aa5eca1fd Fix bug where 'skins_allowed' option didn't enforce user skin preference (#7080) 2019-12-08 11:36:45 +01:00
Aleksander Machniak
0b45c3c6b0 Fix matching multiple X-Forwarded-For addresses with 'proxy_whitelist' (#7107) 2019-12-07 09:34:15 +01:00
Aleksander Machniak
8471930652 Add 'filter' to required extensions 2019-12-01 09:52:10 +01:00
Aleksander Machniak
e3c6989494 Log X-Real-IP only when it's different than REMOTE_ADDR 2019-11-28 14:40:39 +01:00
Aleksander Machniak
2f928a516d Fix DB Write test on SQLite database ("database is locked" error) (#7064)
Also fix so SQLite DSN with a relative path to the database file works in Installer
2019-11-24 09:37:14 +01:00
Aleksander Machniak
ffeebff3f9 Fix bug where Ctype extension wasn't required in Installer and INSTALL file (#7049) 2019-11-22 14:30:49 +01:00
Aleksander Machniak
8a25ddbf53 Update changelog, CS improvements 2019-11-18 15:51:36 +01:00
Aleksander Machniak
0113ea9602 Fix tables listing routine when DSN contained a database with unsupported suffix (#7034) 2019-11-18 15:30:23 +01:00
Aleksander Machniak
110eebdd1b Fix db_prefix handling in queries with TRUNCATE TABLE <name> and UNIQUE <name> (#7013) 2019-11-18 15:30:23 +01:00
Aleksander Machniak
4b24ba1372 Fix bug where cache keys could exceed length limit specified in db schema (#7004) 2019-11-18 15:30:23 +01:00
Aleksander Machniak
508e83470c Master is 1.5-git now 2019-11-18 15:30:22 +01:00
Aleksander Machniak
3a097e6836 Fix bug where inline images could have been ignored if Content-Id header contained redundant spaces (#6980) 2019-11-18 15:30:22 +01:00
PhilW
32775f0e43 remove redundant type attrib in script tag 2019-10-19 13:54:52 +01:00
Aleksander Machniak
8bcb1e801c Switch default skin to Elastic 2019-10-19 09:52:44 +02:00
Aleksander Machniak
66fab8cdb2 CS fixes, Avoid usused variables, fixed minor bugs 2019-10-05 19:44:39 +02:00
Aleksander Machniak
20e25582e7 Fix so an error is loogged when encryption fails (#6948) 2019-10-05 13:38:30 +02:00
Aleksander Machniak
e7ebff56df PHPDoc fixes 2019-09-30 20:43:07 +02:00
Aleksander Machniak
17296b39cb Fix infinite loading message on iframe loading errors
The loading message was not stopped on "hard" errors, i.e. when
the page was blank, e.g. on 500 error.
2019-09-24 11:31:17 +02:00
Aleksander Machniak
c6de97c5a8 Redis: Improve error handling and phpredis 5.X support (#6888) 2019-09-24 10:16:17 +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
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
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
f7832a1a26 Removed 'delete_always' option (#6782) 2019-08-20 15:21:17 +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