Commit Graph
411 Commits
Author SHA1 Message Date
Daniel Eggert b838dc2206 Pass response parser options into IMAPClientHandler.init (#789) 2025-05-06 15:30:31 +02:00
Daniel Eggert 655492302a Add MessageIdentifierSet.suffix overload (#791) 2025-05-02 08:18:36 +00:00
Daniel Eggert 1b27cae1b4 Fix client handler encoding options (#786) 2025-04-11 17:33:25 +02:00
Daniel Eggert adfb504006 Update comments / links for MESSAGELIMIT / RFC 9738 (#781) 2025-04-08 06:56:33 -04:00
Daniel Eggert a941316af3 Fix parsing of NIL for RFC 7889 APPENDLIMIT (#782) 2025-04-04 11:06:20 -07:00
Matt Diephouse 5b2a96a5ab Declare MessageIdentificationShiftWrapper to be Sendable (#778) 2025-01-06 16:23:51 -05:00
Franz Busch 2cd1c5582a [CI] Adopt GitHub Actions (#775)
* [CI] Adopt GitHub Actions

# Motivation

We want to adopt GitHub actions in all of our Swift repositories to replace our current Jenkins CI.

# Modification

This PR adopts the reusable workflows from NIO and the swiftlang organization to ensure soundness and test coverage. Additionally, this PR enables a sematic label check and adds a `release.yml` to make releasing this package easy.

# Result

Modern CI and release flow.
2024-10-30 13:24:35 +00:00
Daniel Eggert 7328a733b4 Be more lenient about spaces in RFC 2971 ID response (#774) 2024-10-24 09:43:03 -04:00
Daniel Eggert 35583d7cf9 Add helper for logging CommandStreamPart without PII and special case ID command / response (#773) 2024-09-25 09:24:29 -04:00
Matt Diephouse 7d0f2cf799 Mark final set of types as Sendable (#771) 2024-09-18 15:06:30 +02:00
Matt Diephouse c5ba683591 Mark more types as Sendable (#770) 2024-09-11 10:17:57 +02:00
Daniel Eggert 13cf165aaf Implement RFC 7889 “APPENDLIMIT” (#769) 2024-09-03 14:49:41 +02:00
Daniel Eggert 2ead8b2ac0 RFC 7377: Use RETURN (ALL) instead of RETURN () (#768) 2024-09-03 06:32:29 -04:00
Matt Diephouse bffac522bd Make types Sendable (#767) 2024-09-02 13:56:13 +02:00
Matt Diephouse b00a6bc6e1 Use let for static constants, not var (#766) 2024-08-28 17:03:09 +02:00
Daniel Eggert 2b6d728191 Fix correctly parsing incomplete, invalid BODYSTRUCTURE data (#762) 2024-07-29 10:54:53 -04:00
Matt Diephouse 49af890114 Parse PARTIAL data returned from UID SEARCH (#761) 2024-07-10 09:56:25 -04:00
Daniel Eggert 0040533b67 Add support for MESSAGELIMIT Extension (#760) 2024-06-20 09:04:10 -07:00
Massimo OlivieroandDaniel Eggert b9a6a88f92 Add support for RFC 8970 — Message Preview Generation (#751)
Co-authored-by: Daniel Eggert <deggert@apple.com>
2024-06-10 11:54:40 -07:00
Daniel Eggert 373a95435a Skip BODYSTRUCTURE data when literal size limit is exceeded (#759) 2024-06-10 09:14:08 -04:00
Daniel Eggert 342a2c695f Add support for RFC 9586 “Using and Returning UIDs Only” (aka. UIDONLY) (#758) 2024-06-10 09:55:46 +02:00
Daniel Eggert e45aa3283f Skip invalid BODYSTRUCTURE in server responses (#757) 2024-04-20 19:16:38 +02:00
Daniel Eggert 14ac21ddb9 Include actual and limit values in errors (#754) 2024-04-18 19:27:22 +02:00
Massimo Oliviero c04c4aa3f7 Fix envelope multiple addresses parsing (#752) 2024-04-18 14:18:25 +02:00
Daniel Eggert 366581ac18 Reduce size of MailboxName and MailboxPath (#755) 2024-04-18 11:59:14 +02:00
Daniel Eggert fe1e2beb15 Fix compiler warnings for Swift 5.9 (#756) 2024-04-17 07:13:17 -04:00
Daniel Eggert a11ff210f3 Add PARTIAL (RFC 9394) to Capability (#749) 2023-09-25 08:33:58 +01:00
Daniel Eggert a212ea2c40 Make calculated properties public. Follow up to #747 (#748) 2023-07-24 11:29:38 -04:00
Daniel Eggert e3989136d2 ExtendedSearchResponse convenience (#747) 2023-07-24 08:48:06 -04:00
Daniel Eggert 0d951a6d57 IMAP Paged SEARCH & FETCH Support (#746) 2023-07-21 14:22:32 -07:00
Daniel Eggert 39b1902c5d 2nd part of renaming Partial → ByteRange (#745) 2023-07-20 14:31:51 -07:00
Daniel Eggert 0ee42deabe Add SectionSpecifier.Part. isChildPart(of:) (#744) 2023-07-19 15:51:40 -07:00
Matt Diephouse 9716083dce Fix parser error with continuation responses (#742)
When the response text of a continuation response began with base64 characters, the response would be interpreted as base64. Any remaining characters would cause a parser error.

Rework the parser to only interpret the text as base64 if all of the text is base64 characters.
2023-06-14 08:08:29 -04:00
Daniel Eggert 3d871e0f6b Make generic functions that are public inlinable (#741) 2023-05-25 10:32:21 -04:00
Daniel Eggert 8851fdb73b Fix for stray + in response. (#740) 2023-05-24 09:22:53 -04:00
Daniel Eggert fc6524ab8d Allow non-ASCII values in BODYSTRUCTURE parameters (#739) 2023-04-19 18:26:48 +02:00
Daniel Eggert 89777af885 Fix parsing Gmail labels as flags (#738) 2023-04-18 14:57:40 +02:00
Daniel Eggert 01577b28be Rename Partial → ByteRange (#736) 2023-03-31 21:03:13 +02:00
Matt Diephouse cc3b72e93f Parse INTERNALDATEs without a leading digit or space (#735) 2023-03-08 16:49:13 +01:00
Daniel Eggert 35e9edb1f7 Add MessageIdentifierRange convenience (#734) 2023-02-27 14:30:42 +00:00
Daniel Eggert c25047fc0c Use enum for ExtendedSearchResponse UID vs. sequence number (#733) 2023-02-22 19:45:58 +01:00
Daniel Eggert 18dd5d5193 Call through to RangeSet for SetAlgebra where possible (#732) 2023-02-22 12:17:48 +01:00
Daniel Eggert 511d4e799d Fix parsing response codes (#730) 2023-02-19 10:10:12 +01:00
Daniel Eggert 426a884a42 Ability to create decription from Response (#726) 2023-01-25 08:50:04 +00:00
Daniel Eggert ec304298ea Add “XYMHIGHESTMODSEQ” capability (#725) 2022-12-22 15:41:16 +01:00
Daniel Eggert 728076fa44 Use pre-calculated digest when checking if name is INBOX (#724) 2022-12-09 16:41:26 +01:00
Daniel Eggert e8bb770d00 Only include CHARSET in search when there’s text (#723) 2022-12-09 15:28:23 +01:00
carolinacass cab8fef8a7 Use #fileID/#filePath instead of #file (#722)
Motivation:

Modifications:

Changed #file to #filePath or #fileID depending on situation
2022-11-03 15:50:37 +00:00
Daniel Eggert 8abe89882e Allow NIL response for a particular body section (#720) 2022-10-27 16:40:58 +02:00
Daniel Eggert 945f0d664c Remove MessageAttribute.binary (#721)
This is (already) being handled by `FetchResponse.streamingBegin` / `StreamingKind`.
2022-10-27 10:24:13 +01:00