Commit Graph

131 Commits

Author SHA1 Message Date
Aleksander Machniak
4cc20eef72 Fix bug where cache keys could exceed length limit specified in db schema (#7004) 2019-11-10 08:56:11 +01:00
Aleksander Machniak
c1c534d67c Fix bug where inline images could have been ignored if Content-Id header contained redundant spaces (#6980) 2019-10-21 16:59:50 +02:00
Aleksander Machniak
66fab8cdb2 CS fixes, Avoid usused variables, fixed minor bugs 2019-10-05 19:44:39 +02:00
Aleksander Machniak
e7ebff56df PHPDoc fixes 2019-09-30 20:43:07 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
f7832a1a26 Removed 'delete_always' option (#6782) 2019-08-20 15:21:17 +02:00
Aleksander Machniak
9b88e9e5c2 Correct vendor string for GMail is 'gimap' 2019-08-01 08:53:38 +02:00
Aleksander Machniak
786bde62f2 Fix wrong messages order after returning to a multi-folder search result (#6836) 2019-07-14 15:06:24 +02:00
Aleksander Machniak
44bdca4ab9 Enigma: Fix bug where signature verification could have been skipped for some message structures (#6838) 2019-07-10 14:01:51 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
711e46a018 Force HIGHESTMODSEQ use on dovecot
This may fix some messages cache issues. Dovecot does not return
HIGHESTMODSEQ nor NOMODSEQ metadata on SELECT until it is "forced"
to switch to "permanent mod-seq mode". It can be done either by
ENABLE QRESYNC/CONDSTORE or by requesting the metadata explicitely
on SELECT/STATUS. We'll use STATUS for that.
2019-04-11 15:53:50 +02:00
Aleksander Machniak
82974289b9 Fix typo 2019-01-24 10:41:20 +01:00
Aleksander Machniak
d3c65d752b Remove useless "return null;" at the end of function block 2018-12-27 11:03:47 +01:00
Aleksander Machniak
fd7d7faabd Improve checking folder delete rights according to RFC 4314 2018-06-12 09:48:12 +02:00
Aleksander Machniak
58e514970e Add option to hide folders in share/other-user namespace or outside of the personal namespace root (#5073) 2018-06-11 18:10:17 +00:00
Aleksander Machniak
12b1b54792 Fix bug where after "mark all folders as read" action message counters were not reset (#6307)
also fixed one PHP 7.2 warning
2018-05-26 09:08:08 +02:00
Aleksander Machniak
1247a8dd7d Fix bug where some forbidden characters on Cyrus-IMAP were not prevented from use in folder names 2018-05-08 12:20:11 +02:00
Aleksander Machniak
6bfebc5e32 Add sanity check when auto-unsubscribing non-existing folders 2018-03-01 21:01:01 +01:00
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