summary refs log tree commit diff
path: root/pylint.cfg (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-28Update synapse/storage/stats.pyreivilibre1-1/+1
Co-Authored-By: Erik Johnston <erik@matrix.org>
2019-08-27Clean 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-27Fix 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-27Update `_purge_room_txn` to take account of separated stats tablesOlivier Wilkinson (reivilibre)1-1/+2
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2019-08-27Rename `room_state` table to `room_stats_state`Olivier Wilkinson (reivilibre)3-2/+5
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2019-08-27Remove obsolete `OldCollectionRequired` as old collection is obsolete.Olivier Wilkinson (reivilibre)1-6/+0
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2019-08-27Don'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-27Switch 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-27Code formatting (Black)Olivier Wilkinson (reivilibre)1-5/+5
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2019-08-27Lock 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-27Apply minor suggestions from reviewOlivier Wilkinson (reivilibre)1-4/+3
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2019-08-27Clarify `_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-27Apply suggestions from code reviewreivilibre1-2/+2
Co-Authored-By: Erik Johnston <erik@matrix.org>
2019-08-27Update 5909.miscRichard van der Hoff1-1/+1
2019-08-27Add Admin API capability to set adminship of a user (#5878)reivilibre6-0/+132
Admin API: Set adminship of a user
2019-08-27Use engine-specific delta SQL files rather than delta written in Python.Olivier Wilkinson (reivilibre)3-71/+51
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2019-08-27Code style (Black)Olivier Wilkinson (reivilibre)1-3/+1