Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Create a new stream_id per presence update | Erik Johnston | 2016-02-23 | 1 | -6/+9 |
| | |||||
* | Prefix TS fields with _ts | Erik Johnston | 2016-02-18 | 1 | -11/+12 |
| | |||||
* | Initial cut | Erik Johnston | 2016-02-17 | 1 | -50/+120 |
| | |||||
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -2/+3 |
| | |||||
* | Implement a _simple_select_many_batch | Erik Johnston | 2016-01-25 | 1 | -17/+18 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Bump size of get_presence_state cache | Erik Johnston | 2015-08-18 | 1 | -1/+1 |
| | |||||
* | Remember to invalidate caches | Erik Johnston | 2015-08-17 | 1 | -2/+8 |
| | |||||
* | Implement a batched presence_handler.get_state and use it | Erik Johnston | 2015-08-17 | 1 | -2/+4 |
| | |||||
* | Add batched version of store.get_presence_state | Erik Johnston | 2015-08-17 | 1 | -1/+19 |
| | |||||
* | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -1/+2 |
| | |||||
* | Change Cache to not use *args in its interface | Erik Johnston | 2015-08-07 | 1 | -2/+2 |
| | |||||
* | Add a cache for getting the presence list for a user | Mark Haines | 2015-05-22 | 1 | -8/+27 |
| | |||||
* | Implement or_ignore flag on inserts | Erik Johnston | 2015-04-07 | 1 | -0/+1 |
| | |||||
* | Give sensible names for '_simple_...' transactions | Erik Johnston | 2015-03-20 | 1 | -0/+11 |
| | |||||
* | Tidy up _simple_... methods | Erik Johnston | 2015-03-20 | 1 | -1/+0 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | retcols is mandatory. i have no idea how this could ever have worked? | Matthew Hodgson | 2014-08-16 | 1 | -0/+1 |
| | |||||
* | An initial hack at storing presence state-change mtimes in database and ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -2/+3 |
| | | | | presenting age durations to clients/federation events | ||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+103 |