Commit Graph

43 Commits

Author SHA1 Message Date
8109831c07 GODT-35: Finish all details and make tests pass 2021-04-30 05:41:39 +02:00
2284e9ede1 GODT-35: New pmapi client and manager using resty 2021-04-30 05:34:36 +02:00
8ccaac8090 GODT-1056 Check encrypted size of the message before upload 2021-04-29 12:40:29 +00:00
22a6fcd87f Other: add debug message dump when sending 2021-02-23 10:38:15 +00:00
fa3829cbfe feat: compute size before upload 2021-01-29 14:48:09 +00:00
0679b99a65 feat: reject messages which are too large 2021-01-29 14:48:09 +00:00
62a64cde61 Merge release/golden-gate into devel 2021-01-27 11:06:10 +01:00
6ef2bb254d Tests and final touches 2021-01-22 11:33:49 +01:00
b3a64892fe Fix sending error due to mixed case in sender address 2021-01-22 10:30:31 +01:00
a89dfc4524 Happy New Year 2021-01-04 11:55:15 +01:00
7b112fc448 Prefer From header instead of MAIL FROM address 2020-12-22 12:46:01 +00:00
635e51f32f Upgrade to latest go-smtp 2020-11-27 09:23:18 +01:00
945bdf4c60 Custom types for flags and encrypted outside test 2020-11-20 13:39:13 +00:00
152046bf97 refactor smtp sending
* [x] move package creation logic to `pmapi.SendMessageReq`
* [ ] write test of package creation logic
    * [x] internal
    * [x] plain
    * [x] external encrypted
    * [ ] signature ???
    * [x] attachments
2020-11-20 13:39:13 +00:00
a21bb130e1 Append duplicate of emails with References 2020-10-14 10:11:49 +02:00
dd70b30f76 fix: don't use full pk fingerprint, only use first 8 chars 2020-09-11 11:41:03 +02:00
da751a38e3 fix: public key names and content types 2020-09-11 11:41:03 +02:00
f622ecf678 feat: logging throughout parser 2020-09-11 11:41:03 +02:00
9821b5bbc2 feat: recreate message with parser's writer 2020-09-11 11:41:03 +02:00
caff73d06c docs: add HELP about 7bit filter 2020-09-11 11:41:03 +02:00
0e7e13211b refactor: don't reconstruct mimeBody 2020-09-11 11:41:02 +02:00
2b36d3ab7b feat: attach public key 2020-09-11 11:41:02 +02:00
45b863f931 feat: parse most header values 2020-09-11 11:41:02 +02:00
dd2264da6f fix: notify of unencrypted recipient 2020-09-11 09:08:19 +00:00
bb1d27a5be Do not ignore errors 2020-09-03 14:36:12 +02:00
56f4f3d017 fix: better error handling when message is still in send queue 2020-08-19 15:25:38 +02:00
f5617ced3f fix (GODT-597): duplicate send when draft creation takes a long time 2020-08-18 13:40:56 +00:00
35b37c7097 fix (GODT-597): duplicate send when draft creation takes a long time 2020-08-18 13:40:56 +00:00
77c6ba381e fix: mime type 2020-08-18 09:14:46 +00:00
145da7ffa5 refactor: pass mailSettings in to avoid extra call 2020-08-18 09:14:46 +00:00
61a841ced7 refactor: builder pattern for generateSendingInfo 2020-08-18 09:14:46 +00:00
36ef9f20ae feat: use confirmer in smtp 2020-07-24 13:04:29 +00:00
ed7a0dc9b3 fix: don't assume contact keys are armored 2020-07-14 16:43:06 +02:00
c19bb0fa97 feat: migrate to gopenpgp v2 2020-06-16 07:34:46 +00:00
2919d1a3c0 fix: properly find parent id 2020-05-28 06:53:00 +00:00
cb8a15a9fd fix: crash when removing account while messages are being returned 2020-05-25 08:29:42 +00:00
4e2ab9b389 Validate recipient emails in send before asking for their public keys 2020-05-21 07:26:34 +00:00
a7b9572e6b Fix reference parsing 2020-05-11 14:48:12 +00:00
70fca64a36 Pop-out messageID format into constants 2020-05-11 14:48:12 +00:00
2639f7333e Simplify references parsing 2020-05-11 14:48:12 +00:00
23f492705b fix: better draft detection for parentID 2020-04-30 09:20:03 +00:00
f269be4291 refactor: make pmapi.Client the interface 2020-04-21 08:36:38 +00:00
17f4d6097a We build too many walls and not enough bridges 2020-04-08 12:59:16 +02:00