Commit Graph

51 Commits

Author SHA1 Message Date
Romain Le Jeune 773a230d14 fix(GODT-3176): assume inline if content id is present. 2024-01-18 16:45:08 +00:00
Jakub b8ae5be58c fix(GODT-3188): Happy new year. 2024-01-02 15:06:05 +01:00
Romain LE JEUNE 9efaf9184c
fix(GODT-3151): Only modify HTML Meta content if UTF-8 charset override is needed. 2023-12-04 11:45:47 +01:00
Leander Beernaert bf89d548d3 fix(GODT-2576): Correctly handle Forwarded messages from Thunderbird
Thunderbird uses `In-Reply-To` with `X-Forwarded-Message-Id` to signal
to the SMTP server that it is forwarding a message.
2023-11-16 16:17:54 +01:00
Romain Le Jeune 83bbdbd63e feat(GODT-3113): Only force UTF-8 charset for HTML part when needed. 2023-11-10 12:50:15 +00:00
Leander Beernaert 96773f3225 fix(GODT-2887): Inline images with Apple Mail
Fix sending of inline images with Apple Mail when not using rich text.
2023-11-02 14:18:28 +00:00
Romain Le Jeune 5c7e4e04f9 fix(GODT-2966): Allow permissive parsing of MediaType parameters for import. 2023-10-09 15:14:51 +00:00
Xavier Michelon b51d85e768 chore: upgraded golangci-lint v1.52.2 and fixed all issues. 2023-05-05 07:57:22 +02:00
Romain Le Jeune 543c35041d fix(GODT-2464): Filter attachment name from content-type parameter to not send it twice to the API. 2023-05-02 07:13:21 +00:00
Leander Beernaert 4f49c87bc6 chore: Replace go-rfc5322 with gluon's rfc5322 parser
Bumps Gluon version in order to get the fixes from
https://github.com/ProtonMail/gluon/pull/327.
2023-03-17 16:23:36 +01:00
Leander Beernaert 02ca6428b5 fix(GODT-2407): Replace invalid email addresses with emtpy for new Drafts 2023-03-17 13:25:42 +01:00
James Houlahan 60b1c4d8f7 GODT-2177: Use correct attachment disposition when content ID is set 2023-01-24 16:31:14 +01:00
Leander Beernaert 6d0a128111 Other: Update copyright year 2023-01-02 11:09:11 +01:00
Romain LE JEUNE 842c9c8ecd
GODT-1556: Add unit test for in-reply-to header without references. 2022-12-01 08:27:10 +01:00
Romain LE JEUNE f355cb4d38
GODT-1804: Add parsing ics attachment test. 2022-11-30 12:32:05 +01:00
James Houlahan e601245f01 Other(chore): Bump major version to v3 2022-11-23 16:08:27 +01:00
James Houlahan 555453bc1a GODT-2142: Also permit split by comma in References header 2022-11-22 19:08:03 +01:00
James Houlahan ba9368426c GODT-1650: Send extras 2022-11-16 12:26:09 +01:00
James Houlahan 39433fe707 GODT-1779: Remove go-imap 2022-11-16 12:26:08 +01:00
Leander Beernaert 9d800324af Other: Update golangci-lint to v1.50.0 2022-10-17 11:14:22 +02:00
James Houlahan 4edf2eb92c Other: Add v2 to module name 2022-05-31 15:54:39 +02:00
Jakub 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
Jakub d356f306d9 Other: Change copyright year 2022-01-04 11:04:30 +01:00
Jakub 63780b7b8d GODT-1234 Set attachment name 'message.eml' for `message/rfc822` attachments. 2021-07-19 14:40:55 +02:00
Michal Horejsek ee961ae4a8 GODT-1141 Use attachment name from content type if not specified in content disposition 2021-04-23 07:18:41 +00:00
James Houlahan dc3f61acee Launcher, app/base, sentry, update service 2021-01-15 13:22:55 +00:00
Michal Horejsek a2cf1b6022 Fix parsing messages with long lines in header and long header split to multiple lines 2021-01-06 13:52:38 +01:00
Jakub a89dfc4524 Happy New Year 2021-01-04 11:55:15 +01:00
Michal Horejsek 7b112fc448 Prefer From header instead of MAIL FROM address 2020-12-22 12:46:01 +00:00
James Houlahan 38eb9fdac7 feat(GODT-906): support rfc2047-encoded content transfer encodings 2020-12-07 13:03:49 +01:00
James Houlahan 3496599723 feat: custom address/date parser based on rfc5322 abnf 2020-11-03 16:21:06 +01:00
James Houlahan 7874183052 fix(GODT-770): handle extraneous end-of-mail 2020-10-01 16:16:15 +02:00
Michal Horejsek e02c7c7f06 Parsing message with empty address as '<>' 2020-09-24 15:37:21 +02:00
James Houlahan 15c1d7bc24 fix: duplicate charset param 2020-09-24 14:26:45 +02:00
Michal Horejsek d956b04062 Parsing non-utf8 multipart/alternative message 2020-09-24 13:17:38 +02:00
Michal Horejsek ef1671d4ab Parsing message with empty CC 2020-09-24 12:23:31 +02:00
James Houlahan 4b7c234e78 feat: strip comments from addresses 2020-09-14 14:46:44 +02:00
James Houlahan 9b3cc9dc34 feat: convert content type in html meta tags 2020-09-11 11:41:03 +02:00
James Houlahan 5d0e3f36b4 fix: unhandled charset in header 2020-09-11 11:41:03 +02:00
James Houlahan 4ab8f7d6b5 fix: pubkey should not be collected as attachment 2020-09-11 11:41:03 +02:00
James Houlahan 6a7a77fc51 refactor: tidier encoding detection 2020-09-11 11:41:03 +02:00
James Houlahan f4dfadce52 feat: attach public key 2020-09-11 11:41:03 +02:00
James Houlahan 9821b5bbc2 feat: recreate message with parser's writer 2020-09-11 11:41:03 +02:00
James Houlahan 0e7e13211b refactor: don't reconstruct mimeBody 2020-09-11 11:41:02 +02:00
James Houlahan c6b18b45b5 feat: better handling of multipart messages 2020-09-11 11:41:02 +02:00
James Houlahan 2b36d3ab7b feat: attach public key 2020-09-11 11:41:02 +02:00
James Houlahan 45b863f931 feat: parse most header values 2020-09-11 11:41:02 +02:00
James Houlahan 10e384f4df test: add tests for parsing mime message with bad 2231 filename 2020-07-03 09:19:18 +02:00
James Houlahan e43033b42b feat: revert back to quoted-printable 2020-05-29 12:21:48 +00:00
James Houlahan e5d63edb62 test: add message.Parse tests 2020-05-29 12:21:48 +00:00