Commit Graph

368 Commits (38ea9af1e685aeb89b5823e59ccd2c8fb481162c)

Author SHA1 Message Date
alecpl 3870bec7ff - Add support for selection options from LIST-EXTENDED extension (RFC 5258)
- Don't list subscribed but non-existent folders (#1486225)
- Fix \Noselect handling performance (#1487082)
14 years ago
alecpl fa2173cefe - Fix: Use internal instead of DB cache in message_index() and thread_index() 14 years ago
alecpl a5a4bf46bd - Add basic IMAP LIST's \Noselect option support (mark unselectable folders as virtual, etc.) 14 years ago
alecpl 2b42838427 - Simplify some code, add some comments 14 years ago
alecpl 659cf14cdd - Improve performance of messages counting using ESEARCH extension (RFC4731) 14 years ago
alecpl 435c315223 - Fix decoding of e-mail address strings in message headers (#1487068) 14 years ago
alecpl a2e8cb3642 - Simplify/improve LSUB/LIST/SELECT commands handling
- Store UIDNEXT, UIDVALIDITY, UNSEEN values of selected folder
14 years ago
alecpl 854cf227ac - Use unified command identifier (AXXXX)
- Use unified methods of command execution and response parsing
14 years ago
alecpl f13baaf67c - Fix regression in rcube_imap::_threadcount() which was the reason
why mailbox_status() returned always "1" for folders with enabled threading
14 years ago
alecpl 8b6eff6e69 - Add ACL extension support into IMAP classes (RFC4314)
- Add ANNOTATEMORE extension support into IMAP classes (draft-daboo-imap-annotatemore)                                                           
- Add METADATA extension support into IMAP classes (RFC5464)
14 years ago
alecpl 8fcc3e1ad6 - Improved IMAP errors handling 14 years ago
alecpl 29983c1671 - Add caching support in id2uid and uid2id functions (#1487019), Fix get_message_cache_index
to use internal cache when only sort order changes. Both changes improves performance of 'show' action
- code cleanup/function description fixes
14 years ago
alecpl 103ddcde87 - Minimize FETCH response for messages listing (when caching is disabled) 14 years ago
alecpl 5c461bada9 - Update phpdoc (#1486958) 14 years ago
alecpl c609784656 - Use custom sorting when SORT is disabled by IMAP admin (#1486959) 14 years ago
alecpl e99991996d - Add Internationalized Domain Name (IDNA) support (#1483894) 14 years ago
alecpl eacce9b3f5 - Messages caching: performance improvements, fixed syncing, fixes related with #1486748 14 years ago
alecpl 08aa031871 - Fix wrong parameter count in fetchHeader() call 14 years ago
alecpl a8e1095eb0 - Fixed wrong function call in sync_header_index() 14 years ago
alecpl e019f2d0f2 - s/RoundCube/Roundcube/ 14 years ago
alecpl d560e78d98 - Fix: close properly IMAP connection also when user is not logged in 14 years ago
alecpl b364912fc1 - Don't log errors about empty password when connecting to IMAP server (#1487001) 14 years ago
alecpl 2aa2b332f6 - Small performance improvements 14 years ago
alecpl 272a7e5a24 - Don't use mail_header_delimiter when saving mail in IMAP 14 years ago
alecpl ecc28ce02f - Removed /i from regexp 14 years ago
alecpl 3c9d9aa943 - Improve handling of single-part messages with bogus BODYSTRUCTURE (#1486898) 14 years ago
alecpl 2537686d1d - Performance fix: Determine real mimetype of message/rfc822 part from bodystructure instead of fetched headers 14 years ago
alecpl 95fd49e4f2 - Fix message structure parsing when it lacks optional fields (#1486881) 14 years ago
alecpl e6ce0062f2 - Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings) 14 years ago
alecpl c51304ddc8 - Fix performance of threads parsing 15 years ago
alecpl 64e3e80743 - Fix some IMAP errors handling when opening the message (#1485443) 15 years ago
alecpl 6749e45ed3 - fix parsing bodystructure of messages with "Content-Type: multipart/related; type=multipart/alternative" 15 years ago
alecpl 309f49f09b - performance improvement: skip SEARCH command when mailbox is empty and SEARCH is called just after SELECT 15 years ago
alecpl ffd3e29068 - Some fixes for BADCHARSET handling in SORT/THREAD/SEARCH response 15 years ago
alecpl f22b5439f2 - Fix: don't call FETCH when THREADS returns empty result 15 years ago
alecpl d311d809d6 - Fix forwarding of messages with winmail attachments
- Remove some redundant code for winmail handling in get.inc, move tnef_decode() to rcube_message
- Fix handling of uuencoded attachments in message body (#1485839)
- Extend rc_mime_content_type() to work with string buffer
15 years ago
alecpl 6f4e7dbcb1 - Added list_mailboxes hook in rcube_imap::list_unsubscribed() (#1486668) 15 years ago
alecpl 9d5c834332 - Fix %00 character in winmail.dat attachments names (#1486738) 15 years ago
alecpl c435173eb4 - Fix handling errors of folder deletion (#1486705) 15 years ago
alecpl 677e1f26fe - Some files from /bin + spellchecking actions moved to the new 'utils' task 15 years ago
alecpl bb8012cfcd - Extend contact groups support (#1486682) 15 years ago
alecpl 488074965b - Fix check-recent action issues and performance (#1486526)
- Fix messages order after checking for recent (#1484664)
- Fix messages copying
- Reset check-recent interval after check-recent by hand
15 years ago
alecpl 16378fe3a2 - preformance fix: don't load full folders list when checking for folder
existance in sendmail.inc, use internal cache to make mailbox_exists()
  faster when called more than one time for the same folder
15 years ago
alecpl 06c116bf75 - Fix database constraint violation when opening a message (#1486696) 15 years ago
alecpl f0485adef1 - Fix folder subscription checking (#1486684)
- Fix INBOX appears (sometimes) twice in mailbox list (#1486672)
15 years ago
alecpl 175d8eed7b - fix typos 15 years ago
thomascube d062dbe18c Add class docuumentation blocks and make phpdoc work again 15 years ago
alecpl d824acaf11 - fix typo in mailbox_exists() 15 years ago
alecpl a03c98092f - fix IMAP errors on Settings/Folders (always call _id2uid() with mailbox set)
- performance: add option to not checking MAXUID in messagecount()
15 years ago
alecpl a4468298c8 - fix sorting of folders with capital letters 15 years ago
alecpl 70318e5463 - create rcube_mime_struct class on Iloha's MIME (mime.inc) basis 15 years ago
alecpl 6f31b356b2 - fix save/delete draft message with enabled threading (#1486596)
- performance improvement using UID SEARCH intead of SEARCH + FETCH
- re-fix r3445
15 years ago
alecpl 94a6c642cf - Fix imap login (#1486591) 15 years ago
alecpl 59c216f3cc - Fix bugs on unexpected IMAP connection close (#1486190, #1486270)
- Iloha's imap.inc rewritten into rcube_imap_generic class
- rcube_imap code re-formatting
15 years ago
alecpl fb7ec576ab - Added possibility to select all messages in a folder (#1484756) 15 years ago
alecpl cff88617c0 - small backend cleanup + support for operations on ALL messages in a folder 15 years ago
alecpl 18ace62791 - Set maxuid in threads mode, to prevent unnecessary list reloading on (first) check_recent 15 years ago
alecpl 3fb3792efc - Fix UNSEEN counting when threads and skip_deleted are both enabled (#1486558) 15 years ago
alecpl 02f7cb8851 - Fix rcube_imap::mailbox_exists (#1486560) 15 years ago
alecpl 9b3fdc25c1 - Implemented messages copying using drag&drop + SHIFT (#1484086) 15 years ago
alecpl 15e00bdf50 - Improved performance of folders operations (#1486525) + code cleanups 15 years ago
alecpl 1845fb6318 - Handle 'false' result from iil_C_* functions (#1486511) 15 years ago
thomascube f52c936f4d Merged devel-threads branch (r3066:3364) back into trunk 15 years ago
alecpl b579f42b55 - fixes for proper handling of email addresses with form: "user"@domain.tld 15 years ago
alecpl 5027c326e9 -remove root_ns setting as useless, should fix #1486222 15 years ago
alecpl a4f7780044 - Fix check_recent action when skip_deleted=true (#1486535) 15 years ago
alecpl f1ce5163e5 - Fix inconsistent behaviour of 'delete_always' option (#1486299) 15 years ago
thomascube a96183883d Changed signature separator when top-posting (#1486330) 15 years ago
alecpl d15d594a42 - more case sensitive matching 15 years ago
thomascube f2cdc551e7 Use private method 15 years ago
thomascube 7c9d922b96 New recent check based on UIDs 15 years ago
thomascube c8cf268b9d No more case-insensitive folder name comparisons 15 years ago
thomascube d5ffb58726 Use case sensitive check when checking for default folders (#1486346) 15 years ago
alecpl 91790e41f3 - Fix attachment excessive memory use, support messages of any size (#1484660) 15 years ago
alecpl f6b145d561 - optimise _id2uid(), prevent from array_flip() warnings 15 years ago
alecpl ac9759b6a4 - oops, last commit fix 15 years ago
alecpl b5846eed4d - Login preformance: Create default folders on first login only 15 years ago
alecpl 10eedbe75a - add file/line definitions to raise_error() calls 15 years ago
alecpl 18cdf6b155 - small code improvement in rcube_imap::mod_mailbox() 15 years ago
alecpl aa16b4af8f - Improved handling of message parts of type message/rfc822 (fixed e.g. inline images in multipart/alternative messages attached as message/rfc822) 15 years ago
alecpl 7a05909da8 - fix warning on PHP5.3 (#1486284) 15 years ago
alecpl 9a0f89d7af - don't treat content-disposition item in structure as message part 15 years ago
alecpl bc04a7ee78 - fix creating default folder when moving message and target folder doesn't exists 15 years ago
alecpl efe93ad116 - fix message cache clearing when folder is empty + small max() warning fix 15 years ago
alecpl f281242fa4 - performance: fix storing of imap_delimiter in session 15 years ago
alecpl 4f69328132 - Partially fixed "empty body" issue by showing raw body of malformed message (#1486166) 15 years ago
alecpl 170b72ab78 - fix for skip_deleted 15 years ago
alecpl 2c7296a82d - Use default_charset for bodies of messages without charset definition (#1486187) 15 years ago
alecpl ee3c580bfe - added @TODO comment 15 years ago
alecpl 38bf4253fb - Fix cache status checking + improve cache operations performance (#1486104) 15 years ago
alecpl 1cead0cbf4 - sorting by message index - added 'index_sort' option (#1485936) 15 years ago
alecpl bdab2c5faf - small code improvements 15 years ago
alecpl 59395e7e36 - Fix DB constraint violation when populating messages cache (#1486052) 15 years ago
alecpl eb4b147bad - fix cache flushing after message delete with read_when_deleted=true + some code cleanup 15 years ago
alecpl 4a63f1efaf - Fix roundcube hangs on empty inbox with bincimapd (#1486093) 15 years ago
alecpl ae7f9b3d0a - oops, my foult, remove buggy code 15 years ago
alecpl e6f4842505 - remove test code 15 years ago
alecpl f8a846c589 - simplified iil_C_(Un)Subscribe() return value 15 years ago
thomascube 80fbdaa2d9 Changed imap_connect hook according to suggestions in #1485956 15 years ago
thomascube 2a34eb9492 Add 'imap_connect' hook (#1485956) 15 years ago
alecpl 78c7947bf8 - Add rcube_imap::unset_flag (#1486017) 16 years ago
alecpl ee258ce158 - performance fix: don't check mbstring functions existence too often 16 years ago
alecpl 99a4539170 - small code improvements + possible bugs fixes 16 years ago
alecpl 5f571eb1db - few fixes for last commits 16 years ago
alecpl 0b6e9700f2 - r2734 fix: handle $split parameter for caching and for searching 16 years ago
alecpl 40dfeaddf8 - Performance improvements by use UID commands (#1485690) 16 years ago
alecpl 34ebe0ba2c - speed up adding of messages to the list after message move/delete 16 years ago
alecpl 6bfac4ced3 - make private methods really private
- rename _mod_mailbox() to mod_mailbox() and make it public
16 years ago
alecpl 41caad8b48 - fix lost argument in iil_C_FetchHeaders call (#1485941) 16 years ago
alecpl b550c2eaa5 - fix rcube_message_part cloning 16 years ago
alecpl 4e92534105 - more performance improvements of caching 16 years ago
alecpl ac622998f9 - Fix non-unicode characters caching in unicode database (#1484608) 16 years ago
alecpl b32cb21a7d - more preformance improvements of messages caching + some code refactoring 16 years ago
alecpl ad84f9c06c - performance improvements of messages caching 16 years ago
alecpl ecb9fb058d - use RCMAIL_CHARSET instead of hardcoded 'utf-8' 16 years ago
alecpl 28674a848a - fix bug in delete_mailbox when deleting many folders 16 years ago
alecpl e20e310162 - Fix messages searching on MailEnable IMAP (#1485762) 16 years ago
alecpl 2dd7ee346f - Fixed many 'skip_deleted' issues (#1485634)
- Fixed messages list sorting on servers without SORT capability
- some preformance improvements
16 years ago
alecpl 384d83adb9 - make searching aware of 'skip_deleted' 16 years ago
alecpl 0b2ce91f25 - Reviewed/fixed skip_deleted/read_when_deleted/flag_for_deletion options handling in UI 16 years ago
alecpl 977078372e - use explode() instead of deprecated in php5.3 split() 16 years ago
alecpl 6138a55f80 - fixed headers prefetching 16 years ago
alecpl a1fc8d2518 - removed unused and declared in PHP-5.3 quoted_printable_encode function (#1485879) 16 years ago
alecpl 8234b4c6bc - Support UID EXPUNGE: remove only moved/deleted messages 16 years ago
alecpl a5897a3e38 - Support UTF-7 encoding in messages (#1485832) 16 years ago
alecpl 48958e0512 - Fix Answered/Forwarded flag setting for messages from subfolders 16 years ago
alecpl 1c5be6f792 - Support UUencode content encoding (#1485839) 16 years ago
alecpl 78cdeba1a8 - last commit fix 16 years ago
alecpl 91ec0a0559 - speed up remove_message_cache() by using message uid instead of idx 16 years ago
alecpl ae1df26948 - fix \Seen flag setting with enable_caching=true (#1485843) 16 years ago
alecpl 23a2eec4d5 - ereg -> preg 16 years ago
alecpl aeed58d5af - Use UID STORE/COPY commands 16 years ago
alecpl b20bca7df2 - Fix fatal error after last commit in rcube_imap (#1485825) 16 years ago
alecpl d4d1a2505d - Fix attachment names encoding when charset isn't specified in attachment part (#1484969):
assume that the message charset or charset of the first part is better for attachment names
  than detected by roundcube
16 years ago
thomascube cc97ea0559 Merged branch devel-api (from r2208 to r2387) back into trunk (omitting some sample plugins) 16 years ago
alecpl 8b961eef04 - use extension_loaded() instead of get_loaded_extensions() 16 years ago
alecpl abb7450380 - use US-ASCII as failover also for SORT command (when used for searching) 16 years ago
alecpl ec74645d46 - Use US-ASCII as failover when Unicode searching fails (#1485762)
only US-ASCII is a must-have charset from IMAP's RFC
16 years ago
alecpl 050410f560 - Fix multiple recipients input parsing (#1485733)
- added shared rcube_explode_quoted_string() function
16 years ago
thomascube 21b160f38c Added TNEF support to decode MS Outlook (winmail.dat) attachments 16 years ago
alecpl 6e047cff29 - performance fix: don't fetch attachment headers twice when parse filename cont. values 16 years ago
alecpl 5c771cb25e - Fix MDNSent flag checking, use arbitrary keywords (asterisk) flag (#1485706) 16 years ago
alecpl 3866fd4681 - Fix large search results in non-default_imap_folders when imap_root is set (#1485703) 16 years ago
alecpl 0d57de907f - Fix large search results on server without SORT capability (#1485668) 16 years ago
alecpl bc39ad2a22 - fix r2251 16 years ago
alecpl 4f27148d40 #1485693: fix for addresses without angle brackets 16 years ago
alecpl b7c1685b2d #1484467: fix problems with backslash as imap hierarchy delimiter 16 years ago
till cbbef379a5 * bumping up copyright (happy new year ;-)) 16 years ago
alecpl c58c0aedba - Fix address names with '@' sign handling (#1485654) 16 years ago
alecpl 7a229b9e33 - Improve messages display performance 16 years ago
alecpl 922c2d923a - fix imap::set_options() 16 years ago
thomascube 230f944bf6 Allow empty strings for imap_root config parameter (was changed in r2143) to remain backward compatible but cache imap root and delimiter in session 16 years ago
alecpl 2b5c123aad #1485622: fix rcube_imap::message_index() to return always messages IDs 16 years ago
alecpl 0b5539e3dc - Fix sorting of folders with more than 2 levels (#1485569) 16 years ago
alecpl 57a92b5ada - don't convert false to array, to prevent from some warnings 16 years ago
alecpl dcf780a6bd - fix r2076: removed cache.session_id column, removed DELETEs from cache in session_gc
- trust DB server's time when "touching" cache and messages tables
16 years ago
alecpl 3e48d2eee1 - Increase speed of session destroy and garbage clean up
- Fix session timeout when DB server got clock skew (#1485490)
16 years ago
alecpl be7d3b6918 - Fix 'cache' table cleanup on session destroy (#1485516) 16 years ago
alecpl 73ba7caadb #1485573: fix part=0 handling 16 years ago
alecpl 322b79db06 - Speed up raw message body handling (call FETCH only once for the whole message insteade of twice for headers and body) 16 years ago
alecpl f1d0208380 - use memory less expensive method of searching when result is bigger than page size 16 years ago
till 250d3f76cc * fixed docblock 16 years ago
alecpl 9424cc71b3 - fix 16 years ago
alecpl e2e745fb4e - don't use SORT when SEARCH is better (sort field not specified) 16 years ago
alecpl 3d1e777b39 - fix for skip_deleted (#1485553) 16 years ago
alecpl 84b884d761 - Fix big memory consumption and speed up searching on servers without SORT capability 16 years ago
alecpl 697cc52cff - fixes for status filter
- don't call search second time if first call returns empty (array) result
16 years ago
alecpl e538b3dc7d - Added message status filter + fixes for r2046 (searching with SORT) 16 years ago
alecpl 0803fb007e - Use SORT for searching on servers with SORT capability 16 years ago
alecpl e0c9741ef5 - improve messages searching with many criterias (call one SEARCH command) 16 years ago
alecpl 8498dce502 - Fix problem with numeric folder names (#1485527) 16 years ago
svncommit c9ca6ada03 added obscure ASCII encoding aliases, added more error checking to RFC2822 date parsing 16 years ago
alecpl 28db73f7c9 - #1485468: fix attachment filename (RFC2231 related) 16 years ago
alecpl 5b4562e494 - read 'name' parameter after 'filename' and rfc2231's parameters,
Thunderbird truncate long filenames in 'name', but 'filename' contains the whole name
16 years ago
thomascube 47c9ccbf6f Also allow appending messages to inbox (if not listed) 16 years ago
alecpl 94a99c11f4 - fixed handling of apostrophes in filenames decoded according to rfc2231 16 years ago
thomascube e93e54fb26 Tiny correction of phpdoc 16 years ago
thomascube 42e328a85f Indent with spaces not tabs. Please respect our code-style when creating patches! 16 years ago
alecpl 20a25197f3 applied tensor's patch: incorrect handling of filename of second and subsequent long non-ASCII attachments 16 years ago
alecpl b62b5a0395 - removed temp write_log() 16 years ago
alecpl 81b573d98a - Reduced memory footprint when forwarding attachments (#1485345)
- Fixed endless loop in iil_C_HandlePartBody()
- rcube_message::get_part_content() speed up using 3rd argument of rcube_imap::get_message_part()
16 years ago
alecpl e5686f4a01 - Added vertical splitter for folders list resizing
- Added possibility to view all headers in message view
- Fixed splitter drag/resize on Opera (#1485170)
- debug console css fixes for IE
16 years ago
thomascube 32efb0b631 Trigger SELECT command to restore connection status after reconnect (#1485330) 16 years ago
thomascube 2e6825b2e9 Applied mime_decode patch by David Lublink 16 years ago
thomascube c505e59a6d Respect Content-Location headers in multipart/related messages (#1484946) 16 years ago
alecpl 97e9d16e30 - r1718 code cleanup 16 years ago
alecpl 5df0ad040a - Add RFC2231 header value continuations support for attachment
filenames + hack for servers that not support that feature
16 years ago
alecpl 11ef977d13 - fixed and re-enabled (RFC3501 [7.1]) CAPABILITY optional response use 16 years ago
alecpl 95987c3943 - removed PHP4 class constructors 16 years ago
alecpl f219a20fff #1485229: fixed mailboxlist sorting for folder names with upper case 17 years ago
thomascube 5b3dd412d2 Check PERMANENTFLAGS before saving MDNSent flag (#1484963, #1485163) 17 years ago
alecpl e189a6ca18 - Added flag column on messages list (#1484623) 17 years ago
thomascube c719f3c1e0 Store compose parameters in session and redirect to a unique URL 17 years ago
thomascube 1fb78c57cc Revert changes from r994 and make cram-md5 work again (#1484819) 17 years ago
alecpl d87fc29fee - don't call expunge and don't remove message row after message move
if flag_for_deletion is set to true (#1485002)
17 years ago
alecpl b541216c53 -added encoding detection for attachment names when message part hasn't got charset definition (#1484969) 17 years ago
thomascube cfe4a6baf4 Fix structure parsing and html output for multipart messages 17 years ago
alecpl 077070381f #1485106 17 years ago
thomascube 0a99895ead Fix fallback if no message strucutre is provided by the imap server 17 years ago
thomascube 70aa900cba Use internal strtolower function because mbstring is optional 17 years ago