Commit Graph

83 Commits

Author SHA1 Message Date
Jakub 754d80d097 feat(GODT-3193): assume text content type on attachments. 2024-03-01 15:25:37 +00:00
Jakub 63e272e270 feat(GODT-3193): preserve attachment encoding. 2024-03-01 15:25:37 +00:00
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
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
Romain Le Jeune 0303ba38e8 feat(GODT-3113): Do not render HTML for attachment. 2023-11-10 08:36:46 +00:00
Romain Le Jeune 1c385d5c9b fix(GODT-3087): Exclude attachment content-disposition part when determining... 2023-11-03 08:55:01 +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
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 34cd611a8b chore: Disable funlen linter 2023-02-06 14:29:13 +00:00
James Houlahan ce03bfbf0f GODT-1804: Preserve MIME parameters when uploading attachments 2023-01-30 20:12:41 +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
James Houlahan e601245f01 Other(chore): Bump major version to v3 2022-11-23 16:08:27 +01:00
James Houlahan ad1fb47b0d Other: Switch from liteapi to go-proton-api 2022-11-23 15:17:56 +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 a797c01943 Other: Fix create draft action
If an InReplyTo entry in the header is present, the create draft action
should be reply, otherwise we use forward.
2022-11-16 13:48:30 +01:00
Leander Beernaert 7c62312220 Other: Fix all linter errors 2022-11-16 12:26:09 +01:00
James Houlahan da1ee99c53 Other: Fix send with plus address 2022-11-16 12:26:09 +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
Jakub 7cad7bcddb GODT-1659: Convert charset only for `text/*` MIME types. 2022-08-16 16:05:42 +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 50550d42b4 GODT-213: Message Builder 2021-04-15 09:51:08 +00:00
James Houlahan 0159f24f17 fix(GODT-1010): strip angle brackets from ExternalID 2021-02-01 08:57:33 +00:00
James Houlahan 4ffa62f6ca fix: set contentID if present and not explicitly attachment 2021-01-29 15:07:48 +01:00
Michal Horejsek 3e9c4ba614 Fix move to local folder and back - remove deleted flag 2021-01-22 08:45:28 +00:00
James Houlahan dc3f61acee Launcher, app/base, sentry, update service 2021-01-15 13:22:55 +00:00
James Houlahan 014c8af560 fix: panic when no multipart/alternative children 2021-01-14 11:52:31 +01:00
Jakub a89dfc4524 Happy New Year 2021-01-04 11:55:15 +01:00
James Houlahan 25c1014ab0 fix: only set ContentID for inline attachments 2020-12-30 06:36:54 +00: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 e04196f8a0 feat: switch to public go-rfc5322 parser 2020-11-10 09:27:07 +00:00
James Houlahan 3496599723 feat: custom address/date parser based on rfc5322 abnf 2020-11-03 16:21:06 +01:00
James Houlahan 15c1d7bc24 fix: duplicate charset param 2020-09-24 14:26:45 +02:00
Michal Horejsek a89a3f6612 Convert to UTF-8 any message part which specifies charset 2020-09-24 13:58:15 +02:00
Michal Horejsek d956b04062 Parsing non-utf8 multipart/alternative message 2020-09-24 13:17:38 +02:00
James Houlahan 41ac61bbe8 fix: less spammy go-message logs 2020-09-15 09:37:29 +00:00
James Houlahan 4b7c234e78 feat: strip comments from addresses 2020-09-14 14:46:44 +02:00
James Houlahan 5bca6fc3cf chore: tidy up before merge 2020-09-14 14:19:35 +02:00
James Houlahan 9b3cc9dc34 feat: convert content type in html meta tags 2020-09-11 11:41:03 +02:00