You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aerc/worker/jmap
Robin Jarry 73dc39c6ee treewide: replace uint32 uids with opaque strings
Add a new models.UID type (an alias to string). Replace all occurrences
of uint32 being used as message UID or thread UID with models.UID.

Update all workers to only expose models.UID values and deal with the
conversion internally. Only IMAP needs to convert these to uint32. All
other backends already use plain strings as message identifiers, in
which case no conversion is even needed.

The directory tree implementation needed to be heavily refactored in
order to accommodate thread UID not being usable as a list index.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Inwit <inwit@sindominio.net>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
2 months ago
..
cache jmap: fix emailKey function name 3 months ago
configure.go jmap: fix crash when opening multiple instances 1 year ago
connect.go jmap: lazily fetch identities 3 months ago
directories.go treewide: replace uint32 uids with opaque strings 2 months ago
fetch.go treewide: replace uint32 uids with opaque strings 2 months ago
jmap.go treewide: replace uint32 uids with opaque strings 2 months ago
push.go treewide: replace uint32 uids with opaque strings 2 months ago
search.go filter: allow workers to combine filter terms 9 months ago
send.go jmap: lazily fetch identities 3 months ago
set.go treewide: replace uint32 uids with opaque strings 2 months ago
state.go jmap: do not keep invalid sessions in cache 4 months ago
threads.go jmap: refactor thread fetching 3 months ago
worker.go treewide: replace uint32 uids with opaque strings 2 months ago