Commit Graph

113 Commits

Author SHA1 Message Date
Brendan Braybrook
4574870adc fix: unknown content-disposition type should be treated as attachment (#6002) 2017-10-19 08:38:43 +02:00
Aleksander Machniak
117c150b2f Fix bug where mail search could return empty result on servers without SORT capability (#5973) 2017-10-02 17:49:14 +02:00
Lukas Erlacher
130f0cde3e Add host to IMAP login error
This simplifies debugging authentication failures in multi-host setups.
2017-09-21 11:28:42 +10:00
Aleksander Machniak
fc1a0a1f65 Fix bug where messages count was not updated after delete when imap_cache is set (#5872) 2017-07-20 13:27:40 +02:00
Aleksander Machniak
76adb49454 Support for IMAP folders that cannot contain both folders and messages (#5057) 2017-07-14 13:39:49 +02:00
Aleksander Machniak
5804ef8aa2 Fix folders list sorting on Windows - if php-intl is available (#5732) 2017-05-08 10:37:06 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
81f67a4de2 Don't use each() deprecated in PHP 7.2 2017-02-06 15:46:18 +01:00
Aleksander Machniak
b8f9ba7d47 Fix bug where deleting folders with subfolders could fail in some cases (#5466) 2016-10-14 08:48:19 +02:00
Aleksander Machniak
8a51607671 Fix regression where creation of default folders wasn't functioning without prefix (#5460) 2016-10-05 17:36:33 +02:00
Aleksander Machniak
195dc11855 Support host-specific imap_conn_options/smtp_conn_options/managesieve_conn_options (#5136) 2016-09-30 18:02:23 +02:00
Aleksander Machniak
c1c0a0d815 Implemented rcube::sleep() method for disconnecting all external connection in long-running/sleeping scripts 2016-09-21 11:20:43 -04:00
Aleksander Machniak
f92052fd73 Fix so when moving to Trash we make sure the folder exists (#5192) 2016-09-05 10:18:00 +02:00
Aleksander Machniak
32e5a6bbcf Fix bug where folder creation could fail if personal namespace contained more than one entry (#5403)
+ small code improvements
2016-08-26 09:25:24 +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
344b0af9c6 Indicate that a collapsed thread has flagged children (#5013) 2016-05-04 13:33:01 +02:00
Aleksander Machniak
6f2c007d1b CS fixes: Replace use of "bool ? true : false" with just "bool" 2016-04-02 13:02:55 +02:00
Aleksander Machniak
5c253dd59e Fix so SPECIAL-USE assignments are forced only until user sets special folders (#4782)
The old behaviour where SPECIAL-USE has always a prio can be bringed back
by setting lock_special_folders=false and adding it to dont_override.
2016-04-02 09:09:43 +02:00
Aleksander Machniak
6521c20768 Add INBOX to the list of folders only if no filter and no prefix was specified 2015-12-22 12:01:47 +01:00
Aleksander Machniak
454b0b1ca9 Remove deprecated rcmail and rcube_imap methods 2015-11-05 09:17:28 +01:00
Aleksander Machniak
a03233ceba CS fixes 2015-10-07 09:14:18 +02:00
Aleksander Machniak
b813011902 Remove unused property 2015-10-02 13:34:46 +02:00
Aleksander Machniak
85f4209074 Code improvements: CS fixes, improved internal cache cleanup on folder selection, removed redundant cache 2015-10-02 10:56:35 +02:00
Aleksander Machniak
aada285660 Simplify change_subscription() code, removed unused vars 2015-10-02 10:12:53 +02:00
Aleksander Machniak
fef8537adb Improved multi-folder search performance on sort order change or list page change
by proper index serialization and skipped redundant sorting
2015-09-11 15:12:20 +02:00
Aleksander Machniak
427ab2f393 Optimize folder_size() on Cyrus IMAP by using special folder annotation (#1490514) 2015-09-02 15:17:44 +02:00
Aleksander Machniak
5eb9c70b60 Added method to determine IMAP server vendor, for future use 2015-09-02 13:49:13 +02:00
Aleksander Machniak
4ceff8f353 Make optional hidding of folders with name starting with a dot - imap_skip_hidden_folders (#1490468) 2015-08-30 11:36:06 +02:00
Aleksander Machniak
0868c2e841 Make sure list page is never set to 0 (#1490458)
This should fix the issue where after message move wrong message was
added to the list and the list counter was invalid.
2015-08-06 09:25:15 +02:00
Aleksander Machniak
c21f95f626 Fix bug where new messages weren't added to the list in search mode 2015-07-31 11:20:50 +02:00
Aleksander Machniak
6c7be218f7 Revert create_folder() behaviour change where the method didn't fail if folder already existed.
This should not be the default behaviour. It could likely
become an optional functionality, however we should keep the method simple.
2015-07-31 08:35:01 +02:00
Aleksander Machniak
9d78c68cbf Fix so imap folder attribute comparisons are case-insensitive (#1490466)
+ make in_array_nocase() much faster for ASCII strings
2015-07-29 20:38:21 +02:00
Aleksander Machniak
f7427f151e Get rid of Mail_mimeDecode package dependency (#1490416) 2015-06-27 15:05:17 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
9af8e22b8e Plugin API: added message_part_body hook, fixes around message structure handling by plugins 2015-03-08 10:51:19 +01:00
Aleksander Machniak
e8fc8d303a Fix handling of GETANNOTATION errors - return NULL on error as documented 2015-02-02 16:08:18 +01:00
Thomas Bruederli
fb3ccf2e09 Don't override argument variable when collecting results 2014-09-09 09:37:50 +02:00
Aleksander Machniak
c489cc1479 Fix call to a member function get_compressed() on a non-object 2014-09-08 17:21:54 +02:00
Aleksander Machniak
334bc97927 Fix merging folder annotations for folders with numeric names (only digits) 2014-09-03 11:24:15 +02:00
Aleksander Machniak
fb5e2fb96f Don't fail when trying to create and subscribe a folder that already exists 2014-08-18 10:46:18 -04:00
Thomas Bruederli
f954922c03 - Implemented 'storage_connected' API hook after successful IMAP login (#1490025)
- Added config option 'imap_log_session' to enable Roundcube <-> IMAP session ID logging
- Added config option 'log_session_id' to control the lengh of the session identifer in logs
2014-08-07 17:04:05 +02:00
Aleksander Machniak
5b592d17ef Remove redundant folder check when using search set 2014-07-30 10:49:18 -04:00
Aleksander Machniak
e0492d213b Fix "Illegal offset type" error (#1489985) 2014-07-14 08:56:59 +02:00
Aleksander Machniak
6fa1a0da1f Extend get_quota() so it's possible to specify GETQUOTAROOT folder and return full quota info (including all roots and types, e.g. MESSAGE) - for future use 2014-06-24 19:16:18 +02:00
Aleksander Machniak
109bcce470 Add config option to specify IMAP connection socket parameters - imap_conn_options (#1489948) 2014-06-16 14:13:58 +02:00
Aleksander Machniak
354c7d3c6c Fix folders sorting in case when special folders are subfolders of INBOX 2014-06-04 10:44:26 +02:00
Aleksander Machniak
35c135bce1 Change private method to protected 2014-06-01 18:54:30 +02:00
Aleksander Machniak
a62cc30cb4 Small code improvements 2014-05-28 10:58:47 +02:00
Aleksander Machniak
20ef295ba8 Fix UTF7-IMAP encoding detection (fixes folders list sorting) 2014-05-28 09:05:52 +02:00
Aleksander Machniak
ccf5a4f18d Silence PHP Warning: strtolower() expects parameter 1 to be string 2014-05-25 12:55:38 +02:00