Commit Graph

39 Commits (55159c48e31129c87b55d15d203df946ca33f884)

Author SHA1 Message Date
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Will Hunt 8676d8ab2e
Filter out appservices from mau count (#8404) 4 years ago
Patrick Cloke cef00211c8
Allow for make_awaitable's return value to be re-used. (#8261) 4 years ago
Patrick Cloke a0acdfa9e9
Converts event_federation and registration databases to async/await (#8061) 4 years ago
Patrick Cloke 7f837959ea
Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 4 years ago
Erik Johnston a7bdf98d01
Rename database classes to make some sense (#8033) 4 years ago
Andrew Morgan 0188daf32c
Replace instances of reactor pumping with get_success. (#7619) 5 years ago
Richard van der Hoff f4269694ce
Optimise some references to hs.config (#7546) 5 years ago
Neil Johnson 1d66dce83e
Break down monthly active users by appservice_id (#7030) 5 years ago
Erik Johnston 756d4942f5 Move DB pool and helper functions into dedicated Database class 5 years ago
Neil Johnson a0d0ba7862
Fix MAU reaping where reserved users are specified. (#6168) 5 years ago
Richard van der Hoff 953dbb7980
Remove access-token support from RegistrationStore.register (#5642) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Amber Brown b36c82576e
Run Black on the tests again (#5170) 6 years ago
Amber Brown 7072fe3084
Fix UPSERTs on SQLite 3.24+ (#4477) 6 years ago
Neil Johnson d2f7c4e6b1
create support user (#4141) 6 years ago
Richard van der Hoff 30da50a5b8
Initialise user displayname from SAML2 data (#4272) 6 years ago
Travis Ralston 835779f7fb Add option to track MAU stats (but not limit people) (#3830) 6 years ago
Neil Johnson ea69a84bbb fix style inconsistencies 6 years ago
Neil Johnson 6105c6101f fix race condiftion in calling initialise_reserved_users 6 years ago
Neil Johnson 8decd6233d improve naming 6 years ago
Neil Johnson 0ddf486724 expose number of real reserved users 6 years ago
Neil Johnson 84a750e0c3 ensure guests never enter mau list 6 years ago
Neil Johnson 61b05727fa guest users should not be part of mau total 6 years ago
Amber Brown 77055dba92
Fix tests on postgresql (#3740) 6 years ago
Neil Johnson bcfeb44afe call reap on start up and fix under reaping bug 6 years ago
Neil Johnson 1522ed9c07 in case max_mau is less than I think 6 years ago
Amber Brown 99dd975dae
Run tests under PostgreSQL (#3423) 6 years ago
black 8b3d9b6b19 Run black. 6 years ago
Neil Johnson 885ea9c602 rename _user_last_seen_monthly_active 6 years ago
Neil Johnson e8eba2b4e3 implement reserved users for mau limits 6 years ago
Neil Johnson e10830e976 wip commit - tests failing 6 years ago
Neil Johnson 950807d93a fix caching and tests 6 years ago
Neil Johnson c4ffbecb68 fix test, update constructor call 6 years ago
Neil Johnson 165e067033 Revert "change monthly_active_users table to be a single column" 6 years ago
Neil Johnson ec716a35b2 change monthly_active_users table to be a single column 6 years ago
Neil Johnson 6ef983ce5c api into monthly_active_users table 6 years ago