8b33d56b59
fix(GODT-2479): Ensure messages always have a text body part
...
Proton Backend requires that all messages have at least one text/plain
or text/html body part, even if it is empty.
2023-03-14 14:29:42 +01:00
3bd39b3ea5
fix(GODT-1804): Only promote content headers if non-empty
...
When attaching public key, we take the root mime part, create a new root,
and put the old root alongside an additional public key mime part.
But when moving the root, we would copy all content headers, even empty ones.
So we’d be left with Content-Disposition: "" which would fail to parse.
2023-02-06 15:57:24 +00:00
6d0a128111
Other: Update copyright year
2023-01-02 11:09:11 +01:00
e601245f01
Other(chore): Bump major version to v3
2022-11-23 16:08:27 +01:00
39433fe707
GODT-1779: Remove go-imap
2022-11-16 12:26:08 +01:00
9d800324af
Other: Update golangci-lint to v1.50.0
2022-10-17 11:14:22 +02:00
4edf2eb92c
Other: Add v2 to module name
2022-05-31 15:54:39 +02:00
f3c69faf8b
GODT-1260: Renaming
...
* Renaming GUI, CLI, no-impact config.
* License header and documentation rebranding.
* Rename app title and vendor. Impact: manual install
* Migrating mac keychain and launch on startup.
* Fix linter and linter renaming
2022-05-18 11:23:38 +02:00
d356f306d9
Other: Change copyright year
2022-01-04 11:04:30 +01:00
a89dfc4524
Happy New Year
2021-01-04 11:55:15 +01:00
38eb9fdac7
feat(GODT-906): support rfc2047-encoded content transfer encodings
2020-12-07 13:03:49 +01:00
f9d58f4f9c
Merge branch 'release/forth' into release/danube
2020-10-21 09:07:27 +02:00
12403785af
fix: replace, don't add, transfer encoding when making body 7-bit clean
2020-10-09 13:55:37 +02:00
7874183052
fix(GODT-770): handle extraneous end-of-mail
2020-10-01 16:16:15 +02:00
51c8bceed8
Changelog and use pmmime
2020-09-24 18:19:35 +02:00
15c1d7bc24
fix: duplicate charset param
2020-09-24 14:26:45 +02:00
41ac61bbe8
fix: less spammy go-message logs
2020-09-15 09:37:29 +00:00
9b3cc9dc34
feat: convert content type in html meta tags
2020-09-11 11:41:03 +02:00
5d0e3f36b4
fix: unhandled charset in header
2020-09-11 11:41:03 +02:00
f9af17dd9b
fix: allow unknown encodings during initial parse
2020-09-11 11:41:03 +02:00
475e673b87
feat: add logging for encoding detection
2020-09-11 11:41:03 +02:00
ef2ace0afe
fix: always check charset before utf8 validity
2020-09-11 11:41:03 +02:00
642666fa59
docs: add docstrings for walker/visitor handlers/rules
2020-09-11 11:41:03 +02:00
a2cf5374b9
feat: more efficient regexp use in parser
2020-09-11 11:41:03 +02:00
6a7a77fc51
refactor: tidier encoding detection
2020-09-11 11:41:03 +02:00
f4dfadce52
feat: attach public key
2020-09-11 11:41:03 +02:00
9ba08e5edb
refactor: remove dead code
2020-09-11 11:41:03 +02:00
9821b5bbc2
feat: recreate message with parser's writer
2020-09-11 11:41:03 +02:00
5343a6fc0f
fix: fallback to detecting charset if cannot handle specified one
2020-09-11 11:41:03 +02:00
65d8b382d0
fix: panic when no params available
2020-09-11 11:41:02 +02:00
0e7e13211b
refactor: don't reconstruct mimeBody
2020-09-11 11:41:02 +02:00
7e1af9ff4e
fix: linter issues
2020-09-11 11:41:02 +02:00
a5a61c9428
feat: set attachment headers
2020-09-11 11:41:02 +02:00
ea01c155da
feat: handle foreign encodings
2020-09-11 11:41:02 +02:00
f4374a02da
refactor: tidy a bit
2020-09-11 11:41:02 +02:00
e01a523ae3
feat: pull out most things as attachments
2020-09-11 11:41:02 +02:00
c6b18b45b5
feat: better handling of multipart messages
2020-09-11 11:41:02 +02:00
a7da66ccbc
feat: enter and exit handlers
2020-09-11 11:41:02 +02:00
8bd74c5edc
feat: set mime type
2020-09-11 11:41:02 +02:00
2b36d3ab7b
feat: attach public key
2020-09-11 11:41:02 +02:00
953150cfdb
feat: add part getter
2020-09-11 11:41:02 +02:00
6ea3fc1963
feat: initial parser exposing walker/writer
2020-09-11 11:41:02 +02:00