Aleksander Machniak
4f915b5476
Fix PHP deprecation warnings when handling an invalid BODYSTRUCTURE ( #9896 )
2025-07-05 15:30:44 +02:00
Aleksander Machniak
8f34bf9e64
Fix decodeContent() call with the by-reference argument
2025-01-01 13:36:22 +01:00
Aleksander Machniak
3e57959976
Fix handling of binary mail parts (e.g. PDF) encoded with quoted-printable ( #9728 )
2025-01-01 13:34:36 +01:00
Aleksander Machniak
b206cbc87a
IMAP: Partial support for ANNOTATE-EXPERIMENT-1 extension (RFC 5257)
2024-12-11 15:03:04 +01:00
Aleksander Machniak
f3c526e6d1
Fix PHP deprecation warnings ( #9616 )
2024-09-07 08:55:05 +02:00
Aleksander Machniak
b5ed0e4946
Fix bug where imap_conn_option's 'socket' was ignored ( #9566 )
2024-08-02 12:26:04 +02:00
Aleksander Machniak
e8e0c68369
Fix decoding mail parts with multiple base64-encoded text blocks ( #9290 )
2024-06-16 12:48:35 +02:00
Aleksander Machniak
9bd13574fb
Clear IMAP capabilities on connection close
...
Fixes the state on connection close, so when you reconnect there's use
of old capabiltieis. This fixes the following scenario:
- user connects to imap and authenticates using LOGIN command,
after this capabilities may contain LOGINDISABLED
- user disconnects
- in the same request user connects again and authenticates as before
but it can't because of the wrong LOGINDISABLED state.
2024-01-08 14:01:28 +01:00
Aleksander Machniak
5d779abf82
Support (DEPTH 0) in GETMETADATA command
2024-01-05 14:44:03 +01:00
Aleksander Machniak
7950116ee1
Fix IMAP GETMETADATA command with options - RFC5464
2024-01-05 14:39:49 +01:00
Michael Voříšek
793664f568
Fix invalid phpdocs ( #9252 )
...
* fix missing return type in phpdoc
* fix "phpdoc_scalar"
* Fix phpdoc variable names typos
* fix wrong phpdoc tags
2023-12-13 19:55:05 +01:00
Aleksander Machniak
7fe57f275e
Fix duplicated Inbox folder on IMAP servers that do not use Inbox folder with all capital letters ( #9166 )
2023-10-18 19:37:19 +02:00
Aleksander Machniak
33ff28080c
Fix PHP8 warnings
2023-08-20 08:34:59 +02:00
Aleksander Machniak
74b6d29c62
Relax uuencode header regexp
2023-08-13 13:14:42 +02:00
Aleksander Machniak
9165e8d750
Fix handling of an error case in Cyrus IMAP BINARY FETCH, fallback to non-binary FETCH ( #9097 )
2023-08-13 12:28:32 +02:00
Aleksander Machniak
2ddbc019ae
Fix regression in decoding mail parts FETCHed from IMAP ( #9096 )
2023-08-13 10:56:54 +02:00
Aleksander Machniak
93a599b105
Fix handling of mail parts that are encoded with x-uuencode ( #9096 )
2023-08-13 10:53:13 +02:00
Aleksander Machniak
653475c489
Fix wrong order of a multi-folder search result when sorting by size ( #9065 )
2023-07-15 08:59:27 +02:00
Aleksander Machniak
a8124c6e76
Fix PHP error when imap_conn_options.proxy_protocol is not an array
2023-06-08 20:04:54 +02:00
Aleksander Machniak
ded36e4d16
Fix PHP 8.1 warning ( #8804 )
2022-11-28 20:53:48 +01:00
Aleksander Machniak
639d98e32c
Fix authenticating to Courier IMAP with passwords containing a '~' character ( #8772 )
2022-11-11 14:12:10 +01:00
Aleksander Machniak
0a28b4112f
- Fix various PHP 8.1 warnings ( #8628 )
2022-07-29 08:02:53 +02:00
Aleksander Machniak
39548efa2b
Fix PHP8 warnings
2022-07-09 19:08:38 +02:00
Aleksander Machniak
688320b4c6
readBytes() never returns null
2021-11-29 09:59:44 +01:00
Aleksander Machniak
74b89fffde
Improve performance of fetching mail bodies
...
Read response in 1MB chunks, instead of lines.
2021-11-29 09:30:05 +01:00
Aleksander Machniak
6f7e19b2f0
Fix fetching headers of multiple message parts at once in rcube_imap_generic::fetchMIMEHeaders() ( #8282 )
2021-11-03 08:16:52 +01:00
Aleksander Machniak
81cc8ac0e0
Purge also subfolders of Trash (and/or messages in them) on logout ( #1037 )
2021-10-09 16:55:28 +02:00
Aleksander Machniak
626332d42a
Don't use is_resource() where not needed
2021-10-02 08:40:56 +02:00
Aleksander Machniak
800832612c
Fix PHP8 warning
2021-09-22 11:38:46 +02:00
Aleksander Machniak
f2688ba492
Use ?? operator where applicable
2021-09-21 19:12:06 +02:00
Aleksander Machniak
e2187b8f2d
Fix various PHP 8.1 warnings
2021-08-27 16:52:54 +02:00
Aleksander Machniak
db2888c604
Support IMAP LITERAL- extension [RFC 7888] ( #6878 )
2021-05-29 08:52:37 +02:00
Aleksander Machniak
ed17ce58b1
Remove (incorrect) use of Return-Receipt-To header ( #8069 )
2021-05-22 09:13:42 +02:00
Thomas P
0044673e11
Add config options for subject prefixes ( #7929 )
2021-04-25 09:41:08 +02:00
Josh Soref
203f456620
Spelling ( #8001 )
2021-04-18 08:43:18 +02:00
johndoh
79af30e924
Add preauth_ident parameter ( #7863 )
2021-01-30 15:53:39 +01:00
Aleksander Machniak
5975742bcb
Fix so IMAP ID command is send only after authentication ( #7517 )
2021-01-24 09:39:25 +01:00
Aleksander Machniak
5aa0d09def
Add array_first() helper, fix some code issues
2020-12-20 09:44:17 +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
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
Thomas B
9020797d0d
Merge pull request #7425 from thomascube/pr-xoauth2
...
Add OAuth/XOauth support
2020-08-10 21:40:01 +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
Thomas Bruederli
1e6a2f4f49
Basic support for OAuth2 user login and IMAP/SMTP authentication
...
- Add "Login with XXX" button to login screen if oauth is configured
- Perform OAuth login procedure and get an access token
- Implement XOAUTH2 authentication type for IAMP and SMTP
Requires a patched and not yet released version of Net_SMTP.
2020-06-16 08:17:52 +02:00
Aleksander Machniak
f6586c7cf7
Fix PHP warning: count(): Parameter must be an array or an object... in ID command handler ( #7392 )
2020-05-19 07:57:35 +02:00
Aleksander Machniak
e84dc4c385
Fix literals handling again
2020-03-20 19:39:19 +01:00
Aleksander Machniak
2965e60c1f
Support many string literals in a "line response", deduplicate code
2020-03-20 18:53:45 +01:00