Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check that somethign has happend before running the selects | Mark Haines | 2016-04-27 | 1 | -0/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/develop' into ↵ | David Baker | 2016-04-07 | 1 | -2/+2 |
|\ | | | | | | | dbkr/pushers_use_event_actions | ||||
| * | Make the cache objects be per instance rather than being global | Mark Haines | 2016-04-06 | 1 | -2/+2 |
| | | |||||
* | | Send badge count pushes. | David Baker | 2016-04-07 | 1 | -3/+6 |
|/ | | | | Also fix bugs with retrying. | ||||
* | Use a stream id generator for backfilled ids | Mark Haines | 2016-04-01 | 1 | -3/+3 |
| | |||||
* | Intern all the things | Erik Johnston | 2016-03-23 | 1 | -11/+10 |
| | |||||
* | Merge pull request #489 from matrix-org/markjh/replication | Mark Haines | 2016-03-01 | 1 | -0/+16 |
|\ | | | | | Add a /replication API for extracting the updates that happened on synapse. | ||||
| * | Add a /replication API for extracting the updates that happened on | Mark Haines | 2016-03-01 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | synapse This is necessary for replicating the data in synapse to be visible to a separate service because presence and typing notifications aren't stored in a database so won't be visible to another process. This API can be used to either get the raw data by requesting the tables themselves or to just receive notifications for updates by following the streams meta-stream. Returns updates for each table requested a JSON array of arrays with a row for each row in the table. Each table is prefixed by a header row with the: name of the table, current stream_id position for the table, number of rows, number of columns and the names of the columns. This is followed by the rows that have been added to the server since the requester last asked. The API has a timeout and is hooked up to the notifier so that a slave can long poll for updates. | ||||
* | | Load the current id in the IdGenerator constructor | Mark Haines | 2016-03-01 | 1 | -2/+2 |
|/ | | | | | | | | | Rather than loading them lazily. This allows us to remove all the yield statements and spurious arguments for the get_next methods. It also allows us to replace all instances of get_next_txn with get_next since get_next no longer needs to access the db. | ||||
* | Remove unused param from get_max_token | Erik Johnston | 2016-02-18 | 1 | -3/+3 |
| | |||||
* | Invalidate get_last_receipt_event_id_for_user cache | Erik Johnston | 2016-02-09 | 1 | -0/+5 |
| | |||||
* | Don't load all ephemeral state for a room on every sync | Erik Johnston | 2016-02-09 | 1 | -0/+14 |
| | |||||
* | Cache tags and account data | Erik Johnston | 2016-01-28 | 1 | -4/+4 |
| | |||||
* | Invalidate caches properly. Remove unused arg | Erik Johnston | 2016-01-28 | 1 | -4/+6 |
| | |||||
* | PEP8 | Erik Johnston | 2016-01-27 | 1 | -2/+0 |
| | |||||
* | Add cache to room stream | Erik Johnston | 2016-01-27 | 1 | -62/+3 |
| | |||||
* | Add a Homeserver.setup method. | Erik Johnston | 2016-01-26 | 1 | -3/+5 |
| | | | | | | This is for setting up dependencies that require work on startup. This is useful for the DataStore that wants to read a bunch from the database before initiliazing. | ||||
* | peppate | David Baker | 2016-01-20 | 1 | -3/+2 |
| | |||||
* | Add storage function to get all receipts for a user. Also add some cache ↵ | David Baker | 2016-01-20 | 1 | -21/+34 |
| | | | | invalidation to the receipts storage because there wasn't any, and remove a method that was unused. | ||||
* | Add regex cache. Only caculate push actions for users that have sent read ↵ | Erik Johnston | 2016-01-19 | 1 | -1/+13 |
| | | | | receipts, and are on that server | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Rename unhelpful variable name | Erik Johnston | 2015-08-18 | 1 | -7/+2 |
| | |||||
* | Comments | Erik Johnston | 2015-08-18 | 1 | -4/+14 |
| | |||||
* | Remove unused import | Erik Johnston | 2015-08-17 | 1 | -2/+0 |
| | |||||
* | Batch _get_linearized_receipts_for_rooms | Erik Johnston | 2015-08-14 | 1 | -15/+64 |
| | |||||
* | Add metrics to the receipts cache | Erik Johnston | 2015-08-13 | 1 | -0/+6 |
| | |||||
* | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -1/+2 |
| | |||||
* | Add support for using keyword arguments with cached functions | Erik Johnston | 2015-07-27 | 1 | -3/+2 |
| | |||||
* | Up default cache size for _RoomStreamChangeCache | Matrix | 2015-07-18 | 1 | -1/+1 |
| | |||||
* | Docs | Erik Johnston | 2015-07-14 | 1 | -3/+28 |
| | |||||
* | Comments | Erik Johnston | 2015-07-13 | 1 | -0/+11 |
| | |||||
* | Handle error slightly better | Erik Johnston | 2015-07-09 | 1 | -2/+2 |
| | |||||
* | Change format of receipts to allow inclusion of data | Erik Johnston | 2015-07-09 | 1 | -19/+20 |
| | |||||
* | Add a cache to fetching of receipt streams | Erik Johnston | 2015-07-08 | 1 | -3/+89 |
| | |||||
* | Hook up receipts to v1 initialSync | Erik Johnston | 2015-07-08 | 1 | -9/+20 |
| | |||||
* | Wire together receipts and the notifer/federation | Erik Johnston | 2015-07-07 | 1 | -9/+60 |
| | |||||
* | Fix various typos | Erik Johnston | 2015-07-07 | 1 | -6/+7 |
| | |||||
* | Add basic storage functions for handling of receipts | Erik Johnston | 2015-07-01 | 1 | -0/+162 |