mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
7f1b7198a8
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. |
||
---|---|---|
.. | ||
append_test.go | ||
authenticate_test.go | ||
condstore_test.go | ||
copy_test.go | ||
create_test.go | ||
delete_test.go | ||
error.go | ||
expunge_test.go | ||
fetch.go | ||
fetch_test.go | ||
fuzz_test.go | ||
idle_test.go | ||
list.go | ||
list_test.go | ||
lsub_test.go | ||
move_test.go | ||
pack.go | ||
parse.go | ||
prefixconn.go | ||
protocol.go | ||
protocol_test.go | ||
rename_test.go | ||
search.go | ||
search_test.go | ||
selectexamine_test.go | ||
server.go | ||
server_test.go | ||
starttls_test.go | ||
status_test.go | ||
store_test.go | ||
subscribe_test.go | ||
unselect_test.go | ||
unsubscribe_test.go | ||
utf7.go | ||
utf7_test.go |