Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run tests under PostgreSQL (#3423) | Amber Brown | 2018-08-13 | 1 | -0/+5 |
| | |||||
* | wip commit - tests failing | Neil Johnson | 2018-08-03 | 1 | -20/+1 |
| | |||||
* | do mau checks based on monthly_active_users table | Neil Johnson | 2018-08-02 | 1 | -7/+8 |
| | |||||
* | insertion into monthly_active_users | Neil Johnson | 2018-08-02 | 1 | -1/+21 |
| | |||||
* | Fix some looping_call calls which were broken in #3604 | Richard van der Hoff | 2018-07-26 | 1 | -1/+1 |
| | | | | | | | | | It turns out that looping_call does check the deferred returned by its callback, and (at least in the case of client_ips), we were relying on this, and I broke it in #3604. Update run_as_background_process to return the deferred, and make sure we return it to clock.looping_call. | ||||
* | Run things as background processes | Richard van der Hoff | 2018-07-18 | 1 | -4/+11 |
| | | | | | | | | This fixes #3518, and ensures that we get useful logs and metrics for lots of things that happen in the background. (There are certainly more things that happen in the background; these are just the common ones I've found running a single-process synapse locally). | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -5/+4 |
| | |||||
* | Pass around the reactor explicitly (#3385) | Amber Brown | 2018-06-22 | 1 | -2/+4 |
| | |||||
* | replace some iteritems with six | Adrian Tschira | 2018-05-19 | 1 | -2/+4 |
| | | | | Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Generate user daily stats | Neil Johnson | 2018-04-25 | 1 | -0/+7 |
| | |||||
* | Add user_ips last seen index | Neil Johnson | 2018-03-28 | 1 | -0/+7 |
| | |||||
* | 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) | ||||
* | Merge pull request #2309 from matrix-org/erikj/user_ip_repl | Erik Johnston | 2017-07-06 | 1 | -3/+5 |
|\ | | | | | Fix up user_ip replication commands | ||||
| * | Fix up | Erik Johnston | 2017-06-27 | 1 | -3/+5 |
| | | |||||
* | | Define CACHE_SIZE_FACTOR once | Erik Johnston | 2017-07-04 | 1 | -4/+2 |
|/ | |||||
* | Fix up client ips to read from pending data | Erik Johnston | 2017-06-27 | 1 | -11/+59 |
| | |||||
* | Batch upsert user ips | Erik Johnston | 2017-06-27 | 1 | -19/+38 |
| | |||||
* | Increase size of IP cache | Erik Johnston | 2017-06-07 | 1 | -1/+6 |
| | |||||
* | Increase client_ip cache size | Erik Johnston | 2017-05-08 | 1 | -0/+1 |
| | |||||
* | Bail on where clause instead | Erik Johnston | 2017-04-11 | 1 | -3/+4 |
| | |||||
* | Don't bother with outer check for now | Erik Johnston | 2017-04-11 | 1 | -3/+0 |
| | |||||
* | Fix getting latest device IP for user with no devices | Erik Johnston | 2017-04-11 | 1 | -0/+5 |
| | |||||
* | PEP8 | Richard van der Hoff | 2016-07-22 | 1 | -1/+0 |
| | |||||
* | Create index on user_ips in the background | Richard van der Hoff | 2016-07-22 | 1 | -4/+12 |
| | | | | | | | | user_ips is kinda big, so really we want to add the index in the background once we're running. Replace the schema delta with one which will do that. I've done this in a way that's reasonably easy to reuse as there a few other indexes I need, and I don't suppose they will be the last. | ||||
* | storage/client_ips: remove some dead code | Richard van der Hoff | 2016-07-21 | 1 | -3/+0 |
| | |||||
* | Merge branch 'develop' into rav/get_devices_api | Richard van der Hoff | 2016-07-20 | 1 | -1/+2 |
|\ | | | | | | | (pick up PR #938 in the hope of fixing the UTs) | ||||
| * | Record device_id in client_ips | Richard van der Hoff | 2016-07-20 | 1 | -1/+2 |
| | | | | | | | | | | Record the device_id when we add a client ip; it's somewhat redundant as we could get it via the access_token, but it will make querying rather easier. | ||||
* | | GET /devices endpoint | Richard van der Hoff | 2016-07-20 | 1 | -0/+72 |
|/ | | | | | | | implement a GET /devices endpoint which lists all of the user's devices. It also returns the last IP where we saw that device, so there is some dancing to fish that out of the user_ips table. | ||||
* | Move insert_client_ip to a separate class | Mark Haines | 2016-06-03 | 1 | -0/+68 |