Amber Brown
|
6350bf925e
Attempt to be more performant on PyPy (#3462)
|
6 years ago |
Erik Johnston
|
926ba76e23
Replace ujson with simplejson
|
6 years ago |
Richard van der Hoff
|
6cfee09be9
Make __init__ consitstent across Store heirarchy
|
6 years ago |
Erik Johnston
|
9f26d3b75b
Deduplicate new deviceinbox rows for replication
|
7 years ago |
Erik Johnston
|
00957d1aa4
User Cursor.__iter__ instead of fetchall
|
7 years ago |
Richard van der Hoff
|
29ed09e80a
Fix assertion to stop transaction queue getting wedged
|
7 years ago |
Erik Johnston
|
64d62e41b8
Noop repated delete device inbox calls from /sync
|
7 years ago |
Erik Johnston
|
ab655dca33
Explicitly close the cursor
|
7 years ago |
Erik Johnston
|
5a32e9273e
Don't disable autocommit
|
7 years ago |
Erik Johnston
|
caddadfc5a
Change device_inbox stream index to include user
|
7 years ago |
Richard van der Hoff
|
edc6a1e4f9
Add some logging for syncing to_device events
|
7 years ago |
Erik Johnston
|
f8ee66250a
Handle sending events and device messages over federation
|
7 years ago |
Mark Haines
|
a232e06100
Fix direct to device messages recieved over federation to notify sync
|
7 years ago |
Mark Haines
|
6a6cbfcf1e
Track the max_stream_device_id in a separate table, since we delete from the inbox table
|
7 years ago |
Mark Haines
|
a1c8f268e5
Support wildcard device_ids for direct to device messages
|
7 years ago |
Mark Haines
|
31a07d2335
Add stream change caches for device messages
|
7 years ago |
Mark Haines
|
7d893beebe
Comment the add_messages storage functions
|
7 years ago |
Mark Haines
|
d4a35ada28
Send device messages over federation
|
7 years ago |
Mark Haines
|
e020834e4f
Add storage methods for federated device messages
|
7 years ago |
Mark Haines
|
f4164edb70
Move _add_messages_to_device_inbox_txn into a separate method
|
7 years ago |
Mark Haines
|
65fa37ac5e
Only return new device messages in /sync
|
7 years ago |
Mark Haines
|
a662252758
Return the current stream position from add_messages_to_device_inbox
|
7 years ago |
Mark Haines
|
1aa3e1d287
Add a replication stream for direct to device messages
|
7 years ago |
Mark Haines
|
641efb6a39
Fix the deduplication of incoming direct-to-device messages
|
7 years ago |
Mark Haines
|
e993925279
Add store-and-forward direct-to-device messaging
|
7 years ago |