Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-08-28 | Code formatting (Black) github/rei/rss_inc2 rei/rss_inc2 | Olivier Wilkinson (reivilibre) | 1 | -1/+3 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-28 | Update synapse/storage/stats.py | reivilibre | 1 | -1/+1 | |
Co-Authored-By: Erik Johnston <erik@matrix.org> | |||||
2019-08-27 | Clean up code with improved naming and hoist around functions. | Olivier Wilkinson (reivilibre) | 1 | -79/+91 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Use `DeferredLock` instead of `threading.Lock` | Olivier Wilkinson (reivilibre) | 2 | -4/+6 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Fix logic error. | Olivier Wilkinson (reivilibre) | 1 | -1/+2 | |
`absolute_fields` being None shouldn't preclude completion of a current stats row. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Fix logic error. | Olivier Wilkinson (reivilibre) | 1 | -1/+2 | |
`absolute_fields` being None shouldn't preclude completion of a current stats row. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Invalidate `get_earliest_token_for_stats` cache as required. | Olivier Wilkinson (reivilibre) | 1 | -0/+1 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | For user stats, handle other membership transitions properly. | Olivier Wilkinson (reivilibre) | 2 | -7/+3 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Update `_purge_room_txn` to take account of separated stats tables | Olivier Wilkinson (reivilibre) | 1 | -1/+2 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Rename `room_state` table to `room_stats_state` | Olivier Wilkinson (reivilibre) | 3 | -2/+5 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Remove obsolete `OldCollectionRequired` as old collection is obsolete. | Olivier Wilkinson (reivilibre) | 1 | -6/+0 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | For user stats, handle other membership transitions properly. | Olivier Wilkinson (reivilibre) | 1 | -12/+16 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | No-op if no membership change and thus simplify verbose dict updates. | Olivier Wilkinson (reivilibre) | 1 | -28/+14 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Adapt to stats now working in milliseconds | Olivier Wilkinson (reivilibre) | 1 | -1/+1 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Don't include the room & user stats docs in this PR. | Olivier Wilkinson (reivilibre) | 1 | -146/+0 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Switch to milliseconds in room/user stats for consistency. | Olivier Wilkinson (reivilibre) | 3 | -10/+8 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Code formatting (Black) | Olivier Wilkinson (reivilibre) | 1 | -5/+5 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Lock tables in upsert fall-backs. | Olivier Wilkinson (reivilibre) | 1 | -0/+2 | |
Should not be too much of a performance concern as this code won't be hit on Postgres, which large deployments should be using. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Apply minor suggestions from review | Olivier Wilkinson (reivilibre) | 1 | -4/+3 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Clarify `_update_stats_delta_txn` by adding code comments and kwargs. | Olivier Wilkinson (reivilibre) | 1 | -16/+18 | |
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | |||||
2019-08-27 | Apply suggestions from code review | reivilibre | 1 | -2/+2 | |
Co-Authored-By: Erik Johnston <erik@matrix.org> | |||||
2019-08-27 | Update 5909.misc | Richard van der Hoff | 1 | -1/+1 | |
2019-08-27 | Add Admin API capability to set adminship of a user (#5878) | reivilibre | 6 | -0/+132 | |
Admin API: Set adminship of |