David Evans
8ac6696b3c
Implement encoding logging mode for redaction ( #678 )
...
Resolves #662
Command/Response Encoder can be configured using loggingMode. If turned on then user-sensitive strings won't be encoding, but any metadata will.
For example, 1 LOGIN username password becomes 1 LOGIN "" "", thereby hiding the user's information.
2022-01-26 15:50:12 -08:00
David Evans
6382eba97e
Actually use fetch modifiers ( #654 )
...
Resolves #603
We previously defined FetchModifier, but forgot to use them in the fetch command.
Now they're actually used.
2021-12-13 17:30:51 +00:00
David Evans
aa1ea1b7b3
Implement MessageIdentificationNumber for SearchReturnData ( #635 )
...
Resolves #605
SearchReturnData may contain either a UIDSet or SequenceNumber. The two have different meanings, however because they appear identical it is not possible to distinguish while parsing. To get around this we now have a MessageIdentificationNumber type from which either UIDs or SequenceNumbers can be extracted.
2021-12-06 17:47:34 +00:00
Daniel Eggert
2eec7bd240
Rename “rename” argument “params” → “parameters” ( #627 )
2021-10-13 12:26:13 +01:00
Daniel Eggert
8ef2b091ee
Change Command.examine to use SelectParameter ( #626 )
...
* Change Command.examine to use SelectParameter. Fixes #600
`SELECT` and `EXAMINE` are really two variants of the same command — they should take the same parameters.
* soundness
* Fixes
* Fixes
2021-10-13 12:01:35 +01:00
Daniel Eggert
00f8a5c862
Various cleanup of QResyncParameter. Fixes #615 ( #625 )
...
* Fix typos.
* Fix wrong types.
2021-10-12 14:58:19 +01:00
David Evans
88c224f737
Add ability to store gmail labels ( #620 )
2021-09-10 18:04:15 +01:00
David Evans
f07f6a7289
Fix up casing ( #601 )
2021-07-30 10:27:47 +01:00
David Evans
db0f559b05
Rename to startTLS ( #580 )
2021-06-08 11:34:26 +01:00
David Evans
794c94e56a
Fix typo in extendedsearch ( #576 )
...
Resolves #571
Command.extendedsearch -> Command.extendedSearch
2021-06-04 12:29:35 +01:00
David Evans
67f1d23383
Add MetadataEntryName type ( #575 )
...
* Add MetadataEntryName type
* Soundness
2021-06-04 12:26:05 +01:00
David Evans
a66eeb228b
Use SPI to remove underscored members ( #567 )
...
Resolves #556
We've talked quite a bit offline, and decided that for now @_spi is the way to go, as it avoids build system issues. The goal is to remove the number of underscored public types and fields.
2021-06-02 19:21:47 +01:00
David Evans
ff1b31f5f3
Remove superfluous underscores. ( #548 )
...
Way too many things were underscored that really didn't need to be.
2021-04-13 10:48:34 +01:00
David Evans
51f3058447
Rename authentication method and InitialClientResponse ( #545 )
...
* Rename method to mechanism
* Rename InitialClientResponse to ClientResponse
* Rename AuthKind to AuthMechanism
2021-04-12 15:22:10 +01:00
David Evans
919d6d0be4
Use KeyValues<String, String?> for ID data ( #521 )
2021-04-06 12:55:49 +01:00
David Evans
ac16a9e9b5
Rename to IMAPCalendarDay ( #524 )
2021-04-01 13:18:35 +01:00
David Evans
dfedd476e8
Default human readable to false ( #514 )
2021-03-31 14:37:56 +01:00
David Evans
94e3fb42f5
Update dependencies ( #493 )
...
* Update packages
* Run swift format
* Update
2021-03-23 17:21:41 +00:00
David Evans
80a2910e63
Implement table parser with commands example ( #437 )
...
* Performance structure
* More tests
* Add more tests
* Remove dups
* More performance test cases
* Parse it all
* Fix sanity
* Use NIO perf tooling
* Change perf target name
* New table parser
* Fix quota parsers
* Fix ID parsers
* Human readable
* Cleanup
* Soundness
* Fix tests
* Minor refactor to use suffixes
* Tests
* Make parsing table non-global
* Rebase
* Soundness
* Tests
* More tests
* Soundness
* Fix compile
* Condense
* Maybe fix
2021-03-22 09:25:17 +00:00
David Evans
a719f935b6
Use AuthenticationKind in Command.authenticate ( #491 )
...
* Make authentication kind it's own thing
* Make auth kind var non-public
* Fix compile
* Rebase
2021-03-18 11:45:35 +00:00
David Evans
81c8e9158d
Underscore EncodeBuffer ( #479 )
...
* Underscore
* Underscore everything
* Add soundness self insert
2021-03-18 11:25:05 +00:00
David Evans
3bdebc12bd
Address API review comments part 1 ( #474 )
...
* Rename Date to IMAPDate
* Rename all esearch types to extended search
* Rename Address to EmailAddress
* Rename genUrlAuth
* Rename Auth to Authorization
* Rename IServer
* Rename IUserInfo
* Soundness
2021-03-11 11:31:52 +00:00
David Evans
8feaf32520
Remove string initialisers from MailboxName ( #462 )
...
* Remove string initialisers
* Add comment
* Refactor assertion
* Readonly
* Private modified utf7
* Fix tests
* Soundness
* PR comments
* Remove isBufferValid
* PR comments
* Soundness
2021-03-05 12:16:38 +00:00
David Evans
6191061fb4
Create generic type to wrap a set or IMAP "last result" ( #463 )
...
* Define last command set type
* Replace SequenceSet
* Docs
* Soundness
* Update dates
* Rename last command set
* Cleanup
* Update docs
2021-03-04 14:45:12 +00:00
David Evans and Johannes Weiss
668ba3ac17
Refactor initial client response ( #433 )
...
* Refactor initial client response
* Fix soundness
* Bike shed
* Update Sources/NIOIMAPCore/Grammar/InitialClientResponse.swift
Co-authored-by: Johannes Weiss <johannesweiss@apple.com >
Co-authored-by: Johannes Weiss <johannesweiss@apple.com >
2021-02-11 11:52:49 +00:00
David Evans
33d6060046
Final key value refactor ( #432 )
...
* Remove a load of parameter types
* Remove NameSpaceResponseExtension
* Remove SearchModificationSequenceExtension
* Remove SearchReturnDataExtension
* Remove SearchReturnOptionExtension
* Soundness
2021-02-05 12:09:00 +00:00
David Evans
df5074856c
Remove all minor Key/Value types ( #430 )
...
* Define basic KeyValue type
* Remove TaggedExtension
* Replace Parameter
* Remove ParameterPair
* Remove EntryValue
* Remove OptionExtension
* Soudness
* Docs
* Inline
* Soundness
* PR comments
2021-02-04 11:03:41 +00:00
David Evans
60f42bb642
Fix compile (perf test error) ( #428 )
...
* Fix
* Fix sanity
2021-02-02 10:52:58 +00:00
David Evans
1fe61d3b28
Performance testing ( #415 )
...
* Performance structure
* More tests
* Add more tests
* Remove dups
* More performance test cases
* Parse it all
* Fix sanity
* Use NIO perf tooling
* Change perf target name
* Add analyse perf script
* Fix CI
* Fix on linux
* Fix license headers
* Rename
* Lowercase tests
* Remove brackets
* PR review
* Fix sanity
* Remove hasNextChunk
* Fix sanity
2021-02-01 13:32:36 +00:00