Commit Graph

2129 Commits

Author SHA1 Message Date
Aleksander Machniak
15ee34a438 Revert "Fix bug where session was destoryed with window close (#7251)"
This reverts commit 32fac136db.
2020-04-05 12:25:01 +02:00
Aleksander Machniak
4a5efe09f9 Fix bug where a special folder couldn't be created if a special-use flag is not supported (#7147) 2020-04-05 11:04:23 +02:00
Aleksander Machniak
32fac136db Fix bug where session was destoryed with window close (#7251) 2020-04-04 11:52:42 +02:00
Aleksander Machniak
e84dc4c385 Fix literals handling again 2020-03-20 19:39:19 +01:00
dessert1
e66ffae856 Fix handling keyservers configured with protocol prefix (#7295)
`|^[a-z]://|` matches only single-character protocol shortnames, to correctly exclude e.g. `hkps://` the expression should be `|^[a-z]+://|` instead.
2020-03-20 19:12:33 +01:00
Aleksander Machniak
2965e60c1f Support many string literals in a "line response", deduplicate code 2020-03-20 18:53:45 +01:00
Aleksander Machniak
f9c84e2646 Fix string literals handling in IMAP STATUS (and various other) responses (#7290) 2020-03-19 21:28:28 +01:00
Aleksander Machniak
7df358d64e Fix internal cache use in rcube_imap::get_message()
Two folders, personal and shared, can contain the same UIDs, so
we should check UID and folder name when dealing with internally
cached message.
2020-03-19 11:59:05 +01:00
Aleksander Machniak
d194b238c7 Support RFC8438: IMAP STATUS=SIZE - for faster folder size calculation (#7269) 2020-03-08 10:27:28 +01:00
Aleksander Machniak
b7410ffe89 Use mySQL charset in connection string instead of SET NAMES (#7232)
And switch to utf8mb4 as it is what we're using right now in db schema.
2020-02-23 19:29:45 +01:00
Aleksander Machniak
770d818dd9 Fix undefined variable 2020-02-17 14:31:57 +01:00
Paul J. Dorn
305c9355ee Fix using unix:///path/to/socket.file in memcached driver (#7210)
off by one when stripping the memcache (sans d) compatible AF_UNIX prefix
2020-02-06 21:55:03 +01:00
Aleksander Machniak
60c8dd2e23 Fix regression where using an absolute path to SQLite database file on Windows didn't work (#7196) 2020-01-31 16:13:28 +01:00
Aleksander Machniak
0b02e87afe Fix some strict mode warnings 2020-01-31 13:21:34 +01:00
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
Hiroshi Shirosaki
d9667295d8 Fix wordwrap with ISO-2022-JP
A message with ISO-2022-JP-MS characters currupts by wordwrap.
Use ISO-2022-JP-MS charset in wordwrap.
Add a unit test.
2019-12-03 17:35:02 +09:00
Hiroshi Shirosaki
869d1d1eaf Fix ISO-2022-JP-MS encoding convert
ISO-2022-JP-MS characters are removed by iconv on sending mail.
Use mbstring functions on sending.
Add a unit test.
2019-12-03 17:25:11 +09: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