Commit Graph

104 Commits

Author SHA1 Message Date
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
Aleksander Machniak
081f3b7d52 Bring back forcing of string type for folders list items (removed unintentionally by last commit) 2014-05-22 20:38:28 +02:00
Aleksander Machniak
693612d396 Improve performance of sort_folder_list() method.
Now sorting 25k folders takes around 3 seconds.
2014-05-22 20:21:15 +02:00
Aleksander Machniak
079be2c2fb If search string cannot be converted to ASCII (result is an empty string) use the original string (#1489911) 2014-05-22 12:34:33 +02:00
Aleksander Machniak
963499a17e Plugin API: added imap_search_before hook 2014-05-15 13:54:45 +02:00
Thomas Bruederli
ab366809d5 Only refresh the affected parts of a cross-folder search set after moving/deleting/flagging 2014-04-23 14:53:29 +02:00
Thomas Bruederli
31aa080609 Further refine cross-folder searching:
- Store incomplete search results in session and re-send search requests
  to the server if returned before complete (this should avoid hitting request timeouts).
- Display full folder path on mouseover in message list
- Remove pthreads implementation stuff as this wasn't really working
2014-04-23 13:21:51 +02:00
Aleksander Machniak
ed763b2859 Plugin API: Added message_saved hook (#1489752) 2014-04-19 16:55:59 +02:00
Thomas Bruederli
26b5200322 Consider search scope (and changes) for filter searches + disable folder operation commands in multi-folder search mode (#1485234) 2014-04-18 16:39:41 +02:00
Thomas Bruederli
f97fe4ee08 Allow to search in multiple folders with rcube_imap::search_once(); always set folder property in message header struct 2014-04-14 20:35:03 +02:00