mox/webmail
Mechiel Lukkien 383fe4f53a
explicitly store in a Message whether it was delivered to the rejects mailbox
soon, we can have multiple rejects mailboxes.  and checking against the
configured rejects mailbox name wasn't foolproof to begin with, because it may
have changed between delivery to the rejects mailbox and the message being
moved.

after upgrading, messages currently in rejects mailboxes don't have IsReject
set, so they don't get the special rejecs treatment when being moved. they are
removed from the rejects mailbox after some time though, and newly added
rejects will be treated correctly. so this means some existing messages wrongly
delivered to the rejects mailbox, and moved out, aren't used (for a positive
signal) for future deliveries.  saves a bit of complexity in the
implementation.  i think the tradeoff is worth it.

related to discussion in issue #50
2023-08-09 16:52:24 +02:00
..
api.go explicitly store in a Message whether it was delivered to the rejects mailbox 2023-08-09 16:52:24 +02:00
api.json explicitly store in a Message whether it was delivered to the rejects mailbox 2023-08-09 16:52:24 +02:00
api.ts explicitly store in a Message whether it was delivered to the rejects mailbox 2023-08-09 16:52:24 +02:00
api_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
eventwriter.go add webmail 2023-08-07 21:57:03 +02:00
lib.ts add webmail 2023-08-07 21:57:03 +02:00
message.go add webmail 2023-08-07 21:57:03 +02:00
msg.html add webmail 2023-08-07 21:57:03 +02:00
msg.js explicitly store in a Message whether it was delivered to the rejects mailbox 2023-08-09 16:52:24 +02:00
msg.ts add webmail 2023-08-07 21:57:03 +02:00
text.html add webmail 2023-08-07 21:57:03 +02:00
text.js explicitly store in a Message whether it was delivered to the rejects mailbox 2023-08-09 16:52:24 +02:00
text.ts add webmail 2023-08-07 21:57:03 +02:00
view.go add webmail 2023-08-07 21:57:03 +02:00
view_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
webmail.go add webmail 2023-08-07 21:57:03 +02:00
webmail.html add webmail 2023-08-07 21:57:03 +02:00
webmail.js explicitly store in a Message whether it was delivered to the rejects mailbox 2023-08-09 16:52:24 +02:00
webmail.ts in webmail, automatically mark message as nonjunk when open for 5 seconds, and prevent extraneous newlines when composing a reply to selected text 2023-08-09 09:45:54 +02:00
webmail_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00