- Mar 13, 2018
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
I added yields when calling user_left_room, but they shouldn't matter on the master process as they always return None anyway.
-
Erik Johnston authored
The intention here is to split the class into the bits that can be done on workers and the bits that have to be done on the master. In future there will also be a class that can be run on the worker, which will delegate work to the master when necessary.
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Make RoomMemberHandler functions private that can be
-
Erik Johnston authored
extra_users is actually a list of UserIDs
-
Erik Johnston authored
Refactor get_or_register_3pid_guest
-
Erik Johnston authored
RoomMembershipRestServlet doesn't handle /forget
-
Erik Johnston authored
Due to the order we register the REST handlers `/forget` was handled by the correct handler.
-
Erik Johnston authored
-
Richard van der Hoff authored
Add Measure block for persist_events
-
Erik Johnston authored
Move property setting from ReplicationLayer to base classes
-
Erik Johnston authored
Split out edu/query registration to a separate class
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
This seems like a useful thing to measure.
-
- Mar 12, 2018
-
-
Richard van der Hoff authored
Add transactional API to history purge
-
Richard van der Hoff authored
Make the purge request return quickly, and allow scripts to poll for updates.
-
Richard van der Hoff authored
Queuing up purges doesn't sound like a good thing.
-
Richard van der Hoff authored
Factor run_in_background out from preserve_fn
-
Richard van der Hoff authored
Add a metric which increments when a request is received
-
- Mar 09, 2018
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
It's useful to know when there are peaks in incoming requests - which isn't quite the same as there being peaks in outgoing responses, due to the time taken to handle requests.
-
Richard van der Hoff authored
rephrase the OPTIONS and unrecognised request handling so that they look similar to the common flow.
-
- Mar 08, 2018
-
-
Richard van der Hoff authored
It annoys me that we create temporary function objects when there's really no need for it. Let's factor the gubbins out of preserve_fn and start using it.
-
- Mar 07, 2018
-
-
Erik Johnston authored
Fix race in sync when joining room
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
The race happens when the user joins a room at the same time as doing a sync. We fetch the current token and then get the rooms the user is in. If the join happens after the current token, but before we get the rooms we end up sending down a partial room entry in the sync. This is fixed by looking at the stream ordering of the membership returned by get_rooms_for_user, and handling the case when that stream ordering is after the current token.
-
- Mar 06, 2018
-
-
Richard van der Hoff authored
use bcrypt.checkpw
-
Richard van der Hoff authored
Implement purge_history by timestamp
-
Erik Johnston authored
Remove ability for AS users to call /events and /sync
-