mox/store
Mechiel Lukkien 7f1b7198a8
add condstore & qresync imap extensions
for conditional storing and quick resynchronisation (not sure if mail clients are actually using it that).

each message now has a "modseq". it is increased for each change. with
condstore, imap clients can request changes since a certain modseq. that
already allows quickly finding changes since a previous connection. condstore
also allows storing (e.g. setting new message flags) only when the modseq of a
message hasn't changed.

qresync should make it fast for clients to get a full list of changed messages
for a mailbox, including removals.

we now also keep basic metadata of messages that have been removed (expunged).
just enough (uid, modseq) to tell client that the messages have been removed.
this does mean we have to be careful when querying messages from the database.
we must now often filter the expunged messages out.

we also keep "createseq", the modseq when a message was created. this will be
useful for the jmap implementation.
2023-07-24 21:25:50 +02:00
..
account.go add condstore & qresync imap extensions 2023-07-24 21:25:50 +02:00
account_test.go move "link or copy" functionality to moxio 2023-07-23 12:15:29 +02:00
export.go update to latest bstore (with support for an index on a []string: Message.DKIMDomains), and cyclic data types (to be used for Message.Part soon); also adds a context.Context to database operations. 2023-05-22 14:40:36 +02:00
export_test.go move "link or copy" functionality to moxio 2023-07-23 12:15:29 +02:00
import.go implement storing non-system/well-known flags (keywords) for messages and mailboxes, with imap 2023-06-24 00:24:43 +02:00
import_test.go add funtionality to import zip/tgz with maildirs/mboxes to account page 2023-02-16 09:57:27 +01:00
msgreader.go mox! 2023-01-30 14:27:06 +01:00
msgreader_test.go mox! 2023-01-30 14:27:06 +01:00
state.go add condstore & qresync imap extensions 2023-07-24 21:25:50 +02:00
tmp.go move "link or copy" functionality to moxio 2023-07-23 12:15:29 +02:00
train.go update to latest bstore (with support for an index on a []string: Message.DKIMDomains), and cyclic data types (to be used for Message.Part soon); also adds a context.Context to database operations. 2023-05-22 14:40:36 +02:00
validation.go mox! 2023-01-30 14:27:06 +01:00