Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'develop' into rei/room_stats_separated | Olivier Wilkinson (reivilibre) | 2019-08-14 | 1 | -23/+25 |
|\ | |||||
| * | 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 |
| | | |||||
* | | Clarify docstrings in `storage.stats` | Olivier Wilkinson (reivilibre) | 2019-08-14 | 1 | -12/+18 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Linting | Olivier Wilkinson (reivilibre) | 2019-08-13 | 1 | -3/+1 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Remove clean-up handler and replace with no-op as not currently needed. | Olivier Wilkinson (reivilibre) | 2019-08-13 | 1 | -13/+5 |
| | | | | | | | | | | | | needed. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Remove obsolete function | Olivier Wilkinson (reivilibre) | 2019-08-13 | 1 | -15/+0 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Fix issue with not selecting a needed column | Olivier Wilkinson (reivilibre) | 2019-08-13 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Add SQLite support by working around missing syntax | Olivier Wilkinson (reivilibre) | 2019-08-13 | 1 | -7/+15 |
| | | |||||
* | | Docstrings in `storage.stats`. | Olivier Wilkinson (reivilibre) | 2019-08-12 | 1 | -22/+154 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Move back to `defer.inlineCallbacks` from `async` as it makes stats | Olivier Wilkinson (reivilibre) | 2019-08-09 | 1 | -12/+19 |
| | | | | | | | | | | | | unergonomic if we move to `async` from the bottom-up. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Remove obsolete functions for updating stats absolutely. | Olivier Wilkinson (reivilibre) | 2019-08-08 | 1 | -15/+0 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Introduce `get_room_state`; a way to get state for a single room | Olivier Wilkinson (reivilibre) | 2019-08-08 | 1 | -0/+14 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Fix tests | Olivier Wilkinson (reivilibre) | 2019-08-08 | 1 | -9/+47 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Introduce `total_events` tracking and rework statistics tracking. | Olivier Wilkinson (reivilibre) | 2019-08-08 | 1 | -169/+603 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Track more stats positions | Olivier Wilkinson (reivilibre) | 2019-08-08 | 1 | -11/+48 |
| | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | | Use `threading.Lock` to prevent concurrent incremental position updates | Olivier Wilkinson (reivilibre) | 2019-08-08 | 1 | -0/+4 |
|/ | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | 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 |