Cable-Desktop/js
lilia 006653ed8e DB/Index Redux
This change removes the timestamp field from messages and conversations
in favor of multiple semantically named timestamp fields: sent_at,
received_at on messages; active_at on conversations. This requires/lets
us rethink and improve our indexing scheme thusly:

The inbox index on conversations will order entries by the
conversation.active_at property, which should only appear on
conversations destined for the inbox.

The receipt index will use the message.sent_at property, for effecient
lookup of outgoing messages by timestamp, for use in processing delivery
receipts.

The group index on conversation.members is multi-entry, meaning that
looking up any phone number in this index will efficiently yield all
groups the number belongs to.

The conversation index lets us scan messages in a single conversation,
in the order they were received (or the reverse order). It is a compound
index on [conversationId, received_at].
2014-12-19 17:39:40 -08:00
..
models DB/Index Redux 2014-12-19 17:39:40 -08:00
storage Move storage objects to their own files 2014-10-28 22:47:48 -07:00
views DB/Index Redux 2014-12-19 17:39:40 -08:00
api.js Move Base64 functions to their own file 2014-12-03 00:42:55 -08:00
background.js Handle incoming identity key changes 2014-12-19 17:30:09 -08:00
chromium.js DRY up registration event callbacks 2014-12-19 14:02:52 -08:00
components.js Support for lower-level queries on indexedDB 2014-12-18 19:45:53 -08:00
crypto.js Fixup curve25519 module 2014-11-09 15:30:37 -08:00
curve25519_compiled.js Fixup curve25519 module 2014-11-09 15:30:37 -08:00
database.js DB/Index Redux 2014-12-19 17:39:40 -08:00
errors.js Rewrite ReplayableErrors 2014-12-18 20:00:14 -08:00
helpers.js Handle incoming identity key changes 2014-12-19 17:30:09 -08:00
index.js Get rid of Layout global 2014-11-24 19:25:03 -08:00
libphonenumber-util.js Move phonenumbery utils to libphonenumber object 2014-10-13 22:49:39 -07:00
nativeclient.js Fixup curve25519 module 2014-11-09 15:30:37 -08:00
options.js Namespace registration helpers 2014-11-13 15:53:56 -08:00
protobufs.js New websocket protocol 2014-11-14 17:48:57 -08:00
protocol.js Handle incoming identity key changes 2014-12-19 17:30:09 -08:00
sendmessage.js Rewrite ReplayableErrors 2014-12-18 20:00:14 -08:00
storage.js Move storage objects to their own files 2014-10-28 22:47:48 -07:00
stringview.js Add stringview license info and script tags 2014-12-03 01:36:10 -08:00
webcrypto.js Simplify webcrypto type conversion 2014-11-09 21:52:36 -08:00
websocket-resources.js WebSocket-Resources / websocket refactor 2014-11-29 11:43:30 -08:00
websocket.js Keepalive endpoint 2014-12-10 23:48:26 -08:00