Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move storage classes into a main "data store". | Erik Johnston | 2019-10-21 | 1 | -881/+0 |
| | | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage. | ||||
* | add some logging to the rooms stats updates, to try to track down a flaky ↵ | Richard van der Hoff | 2019-10-07 | 1 | -0/+3 |
| | | | | test (#6167) | ||||
* | Correctly handle non-bool m.federate flag | Erik Johnston | 2019-09-06 | 1 | -1/+3 |
| | |||||
* | Fix and refactor room and user stats (#5971) | Erik Johnston | 2019-09-04 | 1 | -322/+714 |
| | | | Previously the stats were not being correctly populated. | ||||
* | Stop trying to fetch events with event_id=None. (#5753) | Richard van der Hoff | 2019-07-24 | 1 | -9/+11 |
| | | | | | | | `None` is not a valid event id, so queuing up a database fetch for it seems like a silly thing to do. I considered making `get_event` return `None` if `event_id is None`, but then its interaction with `allow_none` seemed uninituitive, and strong typing ftw. | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -8/+8 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -10/+24 |
| | |||||
* | Fix | Erik Johnston | 2019-06-03 | 1 | -1/+2 |
| | |||||
* | Ignore room state with null bytes in for room stats | Erik Johnston | 2019-06-03 | 1 | -0/+15 |
| | |||||
* | Add indices. Remove room_ids accidentally added | Erik Johnston | 2019-05-31 | 1 | -13/+28 |
| | | | | | | | | | | We have to do this by re-inserting a background update and recreating tables, as the tables only get created during a background update and will later be deleted. We also make sure that we remove any entries that should have been removed but weren't due to a race that has been fixed in a previous commit. | ||||
* | Move deletion from table inside txn | Erik Johnston | 2019-05-30 | 1 | -2/+5 |
| | |||||
* | Fetch membership counts all at once | Erik Johnston | 2019-05-30 | 1 | -16/+7 |
| | |||||
* | Get events all at once | Erik Johnston | 2019-05-30 | 1 | -33/+26 |
| | |||||
* | Fix logging for room stats background update | Travis Ralston | 2019-05-25 | 1 | -1/+1 |
| | |||||
* | Room Statistics (#4338) | Amber Brown | 2019-05-21 | 1 | -0/+450 |