Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace ujson with simplejson | Erik Johnston | 2018-03-15 | 1 | -6/+6 |
| | |||||
* | Make __init__ consitstent across Store heirarchy | Richard van der Hoff | 2017-11-13 | 1 | -2/+2 |
| | | | | | | Add db_conn parameters to the `__init__` methods of the *Store classes, so that they are all consistent, which makes the multiple inheritance work correctly (and so that we can later extract mixins which can be used in the slavedstores) | ||||
* | Deduplicate new deviceinbox rows for replication | Erik Johnston | 2017-04-04 | 1 | -4/+7 |
| | |||||
* | User Cursor.__iter__ instead of fetchall | Erik Johnston | 2017-03-23 | 1 | -5/+5 |
| | | | | This prevents unnecessary construction of lists | ||||
* | Fix assertion to stop transaction queue getting wedged | Richard van der Hoff | 2017-03-15 | 1 | -3/+3 |
| | | | | | | | | ... and update some docstrings to correctly reflect the types being used. get_new_device_msgs_for_remote can return a long under some circumstances, which was being stored in last_device_list_stream_id_by_dest, and was then upsetting things on the next loop. | ||||
* | Noop repated delete device inbox calls from /sync | Erik Johnston | 2017-03-10 | 1 | -1/+35 |
| | |||||
* | Explicitly close the cursor | Erik Johnston | 2017-01-10 | 1 | -0/+1 |
| | |||||
* | Don't disable autocommit | Erik Johnston | 2017-01-10 | 1 | -8/+4 |
| | |||||
* | Change device_inbox stream index to include user | Erik Johnston | 2017-01-10 | 1 | -2/+36 |
| | | | | | This makes fetching the nost recently changed users much tricker, and brings it in line with e.g. presence_stream indices. | ||||
* | Add some logging for syncing to_device events | Richard van der Hoff | 2016-12-15 | 1 | -1/+2 |
| | | | | | Attempt to track down the loss of to_device events (https://github.com/vector-im/riot-web/issues/2711 etc). | ||||
* | Handle sending events and device messages over federation | Erik Johnston | 2016-11-17 | 1 | -12/+14 |
| | |||||
* | Fix direct to device messages recieved over federation to notify sync | Mark Haines | 2016-09-12 | 1 | -0/+2 |
| | |||||
* | Track the max_stream_device_id in a separate table, since we delete from the ↵ | Mark Haines | 2016-09-09 | 1 | -2/+15 |
| | | | | inbox table | ||||
* | Support wildcard device_ids for direct to device messages | Mark Haines | 2016-09-08 | 1 | -18/+36 |
| | |||||
* | Add stream change caches for device messages | Mark Haines | 2016-09-07 | 1 | -0/+25 |
| | |||||
* | Comment the add_messages storage functions | Mark Haines | 2016-09-07 | 1 | -8/+16 |
| | |||||
* | Send device messages over federation | Mark Haines | 2016-09-06 | 1 | -11/+8 |
| | |||||
* | Add storage methods for federated device messages | Mark Haines | 2016-09-06 | 1 | -7/+132 |
| | |||||
* | Move _add_messages_to_device_inbox_txn into a separate method | Mark Haines | 2016-09-06 | 1 | -37/+32 |
| | |||||
* | Only return new device messages in /sync | Mark Haines | 2016-09-02 | 1 | -3/+5 |
| | |||||
* | Return the current stream position from add_messages_to_device_inbox | Mark Haines | 2016-08-31 | 1 | -1/+4 |
| | |||||
* | Add a replication stream for direct to device messages | Mark Haines | 2016-08-31 | 1 | -0/+39 |
| | |||||
* | Fix the deduplication of incoming direct-to-device messages | Mark Haines | 2016-08-25 | 1 | -0/+4 |
| | |||||
* | Add store-and-forward direct-to-device messaging | Mark Haines | 2016-08-25 | 1 | -0/+136 |