Commit Graph

137 Commits (68350bd38543dc366d287f2ac06a519dc103a916)

Author SHA1 Message Date
Aleksander Machniak 5eb9c70b60 Added method to determine IMAP server vendor, for future use 9 years ago
Aleksander Machniak 4ceff8f353 Make optional hidding of folders with name starting with a dot - imap_skip_hidden_folders (#1490468) 9 years ago
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.
9 years ago
Aleksander Machniak c21f95f626 Fix bug where new messages weren't added to the list in search mode 9 years ago
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.
9 years ago
Aleksander Machniak 9d78c68cbf Fix so imap folder attribute comparisons are case-insensitive (#1490466)
+ make in_array_nocase() much faster for ASCII strings
9 years ago
Aleksander Machniak f7427f151e Get rid of Mail_mimeDecode package dependency (#1490416) 10 years ago
Aleksander Machniak a958748947 CS fixes 10 years ago
Aleksander Machniak 9af8e22b8e Plugin API: added message_part_body hook, fixes around message structure handling by plugins 10 years ago
Aleksander Machniak e8fc8d303a Fix handling of GETANNOTATION errors - return NULL on error as documented 10 years ago
Thomas Bruederli fb3ccf2e09 Don't override argument variable when collecting results 10 years ago
Aleksander Machniak c489cc1479 Fix call to a member function get_compressed() on a non-object 10 years ago
Aleksander Machniak 334bc97927 Fix merging folder annotations for folders with numeric names (only digits) 10 years ago
Aleksander Machniak fb5e2fb96f Don't fail when trying to create and subscribe a folder that already exists 10 years ago
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
10 years ago
Aleksander Machniak 5b592d17ef Remove redundant folder check when using search set 10 years ago
Aleksander Machniak e0492d213b Fix "Illegal offset type" error (#1489985) 10 years ago
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 11 years ago
Aleksander Machniak 109bcce470 Add config option to specify IMAP connection socket parameters - imap_conn_options (#1489948) 11 years ago
Aleksander Machniak 354c7d3c6c Fix folders sorting in case when special folders are subfolders of INBOX 11 years ago
Aleksander Machniak 35c135bce1 Change private method to protected 11 years ago
Aleksander Machniak a62cc30cb4 Small code improvements 11 years ago
Aleksander Machniak 20ef295ba8 Fix UTF7-IMAP encoding detection (fixes folders list sorting) 11 years ago
Aleksander Machniak ccf5a4f18d Silence PHP Warning: strtolower() expects parameter 1 to be string 11 years ago
Aleksander Machniak 081f3b7d52 Bring back forcing of string type for folders list items (removed unintentionally by last commit) 11 years ago
Aleksander Machniak 693612d396 Improve performance of sort_folder_list() method.
Now sorting 25k folders takes around 3 seconds.
11 years ago
Aleksander Machniak 079be2c2fb If search string cannot be converted to ASCII (result is an empty string) use the original string (#1489911) 11 years ago
Aleksander Machniak 963499a17e Plugin API: added imap_search_before hook 11 years ago
Thomas Bruederli ab366809d5 Only refresh the affected parts of a cross-folder search set after moving/deleting/flagging 11 years ago
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
11 years ago
Aleksander Machniak ed763b2859 Plugin API: Added message_saved hook (#1489752) 11 years ago
Thomas Bruederli 26b5200322 Consider search scope (and changes) for filter searches + disable folder operation commands in multi-folder search mode (#1485234) 11 years ago
Thomas Bruederli f97fe4ee08 Allow to search in multiple folders with rcube_imap::search_once(); always set folder property in message header struct 11 years ago
Thomas Bruederli 188247894f Make multi-folder message identifiers work with folders containing commas 11 years ago
Thomas Bruederli 94e797c1fb Consider sort order in UID sort mode of multi-folder search results 11 years ago
Thomas Bruederli 1d1fdcbf8c Fix splitting message identifiers into UID and folder values 11 years ago
Thomas Bruederli 1883048720 Optimize header fetching of multi-folder searches with natural (UID) sorting 11 years ago
Thomas Bruederli e8cb51669a More fixes for multi-folder search (#1485234) 11 years ago
Thomas Bruederli 66536974fe Merge branch 'dev-multi-folder-search' 11 years ago
Aleksander Machniak dc0b500e78 Removed redundant default_folders config option (#1489737)
Implemented IMAP SPECIAL-USE extension support [RFC6154] (#1487830)
11 years ago
Thomas Bruederli 1d6082c5e2 Fix thread/list mode update and display 11 years ago
Thomas Bruederli 9202e93b75 Fix slicing of returned search result headers 11 years ago
Thomas Bruederli 1bbf8c4886 - Make search scope selectable in UI
- Disable thread mode when searching over multiple folders
- Encode UID values for HTML message row identifiers
11 years ago
Thomas Bruederli ff3eb83492 Handle combined UID-folder identifiers in rcube_imap class 11 years ago
Thomas Bruederli 2c33c7e38b Make message pagenav (prev/next) work with sorted multi-folder search results 11 years ago
Thomas Bruederli 2baeac116a Fix sorting and paging in cross-folder searches 11 years ago
Thomas Bruederli b6e24c6946 Minor improvements to threaded searching 11 years ago
Thomas 566747af00 First attempt to search in multiple folders; do it multi-threaded using pthreads if available 11 years ago
Thomas 628706acdc Prepare message list to display IMAP folder 11 years ago
Aleksander Machniak 4957530dec Fix an obvious mistake in search_once() casing wrong result when called
with empty 2nd argument (which also is not what should happen, should we return error?)
11 years ago
Aleksander Machniak ac0fc383fd Fix so message flags modified by another client are applied on the list on refresh (#1485186) 11 years ago
Aleksander Machniak 54029ea959 Fix broken text/* attachments when forwarding/editing a message (#1489426) 11 years ago
Aleksander Machniak 38bf401cf8 Fix performance of listing writeable folders (#1489451) 11 years ago
Aleksander Machniak 978ff8794f Make sort_folder_list() public 11 years ago
Aleksander Machniak aceb0149b8 Add possibility to programmatically set cache mode, so it is possible
to cache only indexes/threads but not messages
11 years ago
Aleksander Machniak 21601b4deb Make cached message size limit configurable - messages_cache_threshold (#1489317) 11 years ago
Aleksander Machniak 05da1577aa Fix setting of Junk and NonJunk flags by markasjunk plugin (#1489285)
Added possibility to register flag mappings by a plugin.
11 years ago
Aleksander Machniak ae853367ed Fix downloading binary files with (wrong) text/* content-type (#1489267) 11 years ago
Aleksander Machniak bd28469302 Simplified logic of finding non-existent but subscribed folders. Should be more reliable and (might be) faster now. 12 years ago
Aleksander Machniak 049ba0aed2 Fix message list sort with THREADS=REFS and sort column other than "None" or "Sent date" 12 years ago
Aleksander Machniak d4a2ea1d87 Fix messages list sorting with THREAD=REFS 12 years ago
Aleksander Machniak 855c85377d Performance improvement for searching in threaded mode. We can use
cached index now. Some other small improvements.
12 years ago
Aleksander Machniak f255dd787c Fix error when searching in threaded mode 12 years ago
Aleksander Machniak d764723142 Improve IMAP APPEND handling so it can read message (parts) from file pointer(s)
and make it less memory consuming
12 years ago
Aleksander Machniak 603e048f73 Fix thread cache syncronization/validation (#1489028) 12 years ago
Aleksander Machniak 918a6a6e0e Fix default sorting of threaded list when THREAD=REFS isn't supported.
The result need to be re-sorted even if sort column is not set. This fixes
the issue when new messages aren't displayed on top of the list.
12 years ago
Aleksander Machniak f3b55ee8e8 Do not reset messages count in set_folder() 12 years ago
Aleksander Machniak 545559307e Make sure to use threads result cached in-memory for correct folder 12 years ago
Aleksander Machniak 60b6d7c389 Fix database cache expunge issues (#1489149) - added 'expires' column 12 years ago
Aleksander Machniak 61ccdfcfbb Add imap_cache_ttl option to configure TTL of imap_cache 12 years ago
Aleksander Machniak 67ac6e354a Rename message_cache_lifetime to messages_cache_ttl option for naming consistency 12 years ago
Aleksander Machniak 00cb22cf92 Expunge all cache instances in shutdown 12 years ago
Aleksander Machniak 3725cfb245 Avoid uninitialized/unused variables 12 years ago
Aleksander Machniak c027ba7709 Fix bugs caught by static analysis 12 years ago
Aleksander Machniak 99edf8699a Fix possible header duplicates when using additional headers (#1489033) 12 years ago
Aleksander Machniak 6e8f2a7448 Notify about a new mail only if it's UNSEEN (#1388965) 12 years ago
Aleksander Machniak d9dc320a40 Support IMAP MOVE extension [RFC 6851] 12 years ago
Aleksander Machniak 726297e5f8 Add workaround for invalid message charset detection by IMAP servers (#1488968) 12 years ago
Aleksander Machniak d2534c63f2 Cleanup, remove file paths from doc 12 years ago
Aleksander Machniak 5aed9a9a37 Merge branch 'master' of github.com:roundcube/roundcubemail 12 years ago
Aleksander Machniak 5b15700d11 Rename hook imap_connect to storage_connect 12 years ago
Aleksander Machniak 0435f40999 Add EXISTS mode to count() method - return number of all messages in a folder,
event if skip_deleted is enabled and/or search is active.
12 years ago
Aleksander Machniak 4f1c887eaa Add support for IMAP BINARY (RFC3516) 12 years ago
Thomas Bruederli dff2c713fb Add argument to fetch message parts only partially. Can be used for content mimetype detection without loading the entire file 12 years ago
Aleksander Machniak 3ff8cc2bc8 RCMAIL_VERSION -> RCUBE_VERSION 12 years ago
Aleksander Machniak d0edbfb33d Fix cache (in)validation after setting \Deleted flag 12 years ago
Aleksander Machniak ba6f21caeb Framework files moved to lib/Roundcube 12 years ago