Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move storage classes into a main "data store". | Erik Johnston | 2019-10-21 | 1 | -457/+0 |
| | | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage. | ||||
* | Replace IN usage with helper funcs | Erik Johnston | 2019-10-10 | 1 | -7/+7 |
| | |||||
* | Move deviceinbox's bg updates to a dedicated store | Brendan Abolivier | 2019-10-07 | 1 | -15/+22 |
| | |||||
* | Opentrace device lists (#5853) | Jorik Schellekens | 2019-09-03 | 1 | -0/+21 |
| | | | Trace device list changes. | ||||
* | Remove unnecessary parentheses around return statements (#5931) | Andrew Morgan | 2019-08-30 | 1 | -2/+2 |
| | | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :) | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -5/+5 |
| | |||||
* | Fix bug sending federation transactions with lots of EDUs | Erik Johnston | 2019-06-10 | 1 | -0/+4 |
| | | | | | | If we try and send a transaction with lots of EDUs and we run out of space, we call get_new_device_msgs_for_remote with a limit of 0, which then failed. | ||||
* | Limit the number of EDUs in transactions to 100 as expected by receiver (#5138) | Quentin Dufour | 2019-05-09 | 1 | -1/+1 |
| | | | Fixes #3951. | ||||
* | Run black on the rest of the storage module (#4996) | Amber Brown | 2019-04-03 | 1 | -39/+24 |
| | |||||
* | Fixup slave stores | Erik Johnston | 2019-03-04 | 1 | -161/+163 |
| | |||||
* | Port storage/ to Python 3 (#3725) | Amber Brown | 2018-08-31 | 1 | -1/+1 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -2/+1 |
| | |||||
* | Attempt to be more performant on PyPy (#3462) | Amber Brown | 2018-06-28 | 1 | -6/+7 |
| | |||||
* | 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 |