Aleksander Machniak
f2688ba492
Use ?? operator where applicable
2021-09-21 19:12:06 +02:00
Aleksander Machniak
63056eb803
Fix PHP8 warnings ( #8175 )
2021-09-11 08:59:15 +02:00
Aleksander Machniak
4d233b5c65
Fix strpos(): empty needle warning ( #8184 )
2021-08-29 18:27:06 +02:00
Aleksander Machniak
e2187b8f2d
Fix various PHP 8.1 warnings
2021-08-27 16:52:54 +02:00
Aleksander Machniak
6ff862d7d8
Fix a couple of PHP8 warnings ( #8175 )
2021-08-25 18:57:50 +02:00
Aleksander Machniak
9caab5f701
Fix PHP8 warnings
2021-07-16 12:57:46 +02:00
Thomas Bruederli
861be4606b
Fix phpdoc error
2021-06-21 20:56:12 +02:00
Aleksander Machniak
094ef387e9
Fix bug where plus characters in attachment filename could have been ignored ( #8074 )
2021-05-28 11:34:20 +02:00
Josh Soref
203f456620
Spelling ( #8001 )
2021-04-18 08:43:18 +02:00
Aleksander Machniak
dd6aefe1fd
Fix bug where imap_conn_options settings were ignored ( #7912 )
2021-03-04 19:14:28 +01:00
hefee
8ef57a4173
Add 'reconnect' plugin to retry IMAP connection ( #7844 )
...
* Make storage_connect hook ready to be usable for reconnect plugins.
* Add reconnect plugin to retry to login into IMAP server.
Co-authored-by: Sandro Knauß <hefee@debian.org >
2021-02-06 16:46:21 +01:00
Aleksander Machniak
17ae3693c3
PHP8 fixes + fix fatal error when refreshing compose page in forward-as-attachment state
2020-12-18 19:27:25 +01:00
Aleksander Machniak
3bbb01fe13
PHP8 fixes, regression fixes
2020-12-13 12:14:15 +01:00
Aleksander Machniak
61a5ade872
PHP8 fixes, short array syntax
2020-12-12 16:20:14 +01:00
Aleksander Machniak
8eb382b4ca
PHP8 fixes
2020-12-11 20:29:41 +01:00
Aleksander Machniak
f4ed1024dc
PHP8 fixes, CS fixes, short array syntax, tests
2020-12-02 20:15:00 +01:00
Aleksander Machniak
7e5301f636
CS fixes, short array syntax, PHP8 fixes, tests
2020-11-28 18:52:36 +01:00
Aleksander Machniak
596004beb3
More actions tests, code improvements
2020-11-07 12:54:12 +01:00
Aleksander Machniak
545a1569f1
Steps -> Actions refactoring ( #7688 )
...
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
f95212d626
PHP8: More warnings fixed
2020-10-11 15:24:30 +02:00
Aleksander Machniak
bde383d051
PHP8: Fix various issues
...
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02:00
Aleksander Machniak
a5c2b4360c
Fixes in context of undefined variables, and code style
2020-08-15 12:13:31 +02:00
Aleksander Machniak
60ccb25bd5
Fix detecting special folders on servers with both SPECIAL-USE and LIST-STATUS ( #7525 )
2020-07-31 14:36:57 +02:00
Aleksander Machniak
ef9b375ef6
Fix paging of search results on IMAP servers with no SORT capability ( #7462 )
...
And simplify some code around.
2020-07-30 13:23:37 +02:00
Aleksander Machniak
d7d7ca046f
Cache refactoring ( #6312 ) ( #6781 )
2020-07-18 13:51:47 +02:00
Aleksander Machniak
e9c592a6e8
Fix bug where subfolders of special folders could have been duplicated on folder list
2020-06-08 20:35:19 +02:00
Aleksander Machniak
4a5efe09f9
Fix bug where a special folder couldn't be created if a special-use flag is not supported ( #7147 )
2020-04-05 11:04:23 +02:00
Aleksander Machniak
7df358d64e
Fix internal cache use in rcube_imap::get_message()
...
Two folders, personal and shared, can contain the same UIDs, so
we should check UID and folder name when dealing with internally
cached message.
2020-03-19 11:59:05 +01:00
Aleksander Machniak
d194b238c7
Support RFC8438: IMAP STATUS=SIZE - for faster folder size calculation ( #7269 )
2020-03-08 10:27:28 +01:00
Aleksander Machniak
fe796d4040
Remove useless pass-by-reference
2020-01-31 09:58:03 +01:00
Aleksander Machniak
97e6065897
Extract RFC2231 attachment name from message headers ( #6729 ) ( #6783 )
...
* Extract RFC2231 attachment name from message headers (#6729 )
* Workaround for attachments with invalid content type (e.g. PDF) (#6816 )
2020-01-19 18:46:02 +01:00
Aleksander Machniak
c138567ab5
Support 'greenmail' as an imap vendor label, don't call ID when not supported
2020-01-17 15:42:12 +01:00
Aleksander Machniak
9311c49cf4
Fix unexpected error message when mail refresh involves folder auto-unsubscribe ( #6923 )
2020-01-12 10:29:53 +01:00
Aleksander Machniak
e8e8c31eb3
Improve namespace roots presentation ( #5012 ) ( #6789 )
...
- Display a special icon for other users and shared namespace roots (Elastic)
- Change folders sorting so shared/other users namespaces are listed last
Fixes #5012 .
2020-01-05 15:46:38 +01:00
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