- Nov 29, 2017
-
-
Richard van der Hoff authored
Make sure that we delete devices whenever a user is logged out due to any of the following situations: * /logout * /logout_all * change password * deactivate account (by the user or by an admin) * invalidate access token from a dynamic module Fixes #2672.
-
Richard van der Hoff authored
Non-functional refactoring to move set_password. This means that we'll be able to properly deactivate devices and access tokens without introducing a dependency loop.
-
Richard van der Hoff authored
Non-functional refactoring to move deactivate_account. This means that we'll be able to properly deactivate devices and access tokens without introducing a dependency loop.
-
Richard van der Hoff authored
Whenever an access token is invalidated, we should remove the associated pushers.
-
Richard van der Hoff authored
Clear logcontext before starting fed txn queue runner
-
Richard van der Hoff authored
Fix 500 when joining matrix-dev
-
Richard van der Hoff authored
matrix-dev has an event (`$/6ANj/9QWQyd71N6DpRQPf+SDUu11+HVMeKSpMzBCwM:zemos.net`) which has no `hashes` member. Check for missing `hashes` element in events.
-
- Nov 28, 2017
-
-
Richard van der Hoff authored
These processes take a long time compared to the request, so there is lots of "Entering|Restoring dead context" in the logs. Let's try to shut it up a bit.
-
Luke Barnard authored
Allow guest access to group APIs for reading
-
Luke Barnard authored
-
- Nov 27, 2017
-
-
Richard van der Hoff authored
Fix error on sqlite 3.7
-
Richard van der Hoff authored
Avoid retrying forever on IntegrityError
-
Richard van der Hoff authored
Fix error handling on dns lookup
-
Richard van der Hoff authored
Tiny code cleanups
-
Richard van der Hoff authored
Fix some logcontext leaks in replication resource
-
Richard van der Hoff authored
Fix OPTIONS on preview_url
-
Richard van der Hoff authored
Improve tracebacks on exceptions
-
Richard van der Hoff authored
Use failure.Failure to recover our failure, which will give us a useful stacktrace, unlike the rethrown exception.
-
Richard van der Hoff authored
-
- Nov 24, 2017
-
-
Richard van der Hoff authored
pass the right arguments to the errback handler Fixes "TypeError('eb() takes exactly 2 arguments (1 given)',)"
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This is never used; let's remove it to stop confusing things.
-
- Nov 23, 2017
-
-
Richard van der Hoff authored
The @measure_func annotations rely on the wrapped function respecting the logcontext rules. Add the necessary yields to make this work.
-
Richard van der Hoff authored
Fixes #2706
-
- Nov 22, 2017
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
so that the right thing happens on workers.
-
Richard van der Hoff authored
Try to avoid having multiple PreviewUrlResource instances
-
Richard van der Hoff authored
... to stop us doing the cache cleanup jobs on the master.
-
Richard van der Hoff authored
This avoids the scenario where we have four different PreviewUrlResources configured on a single app, each of which have their own caches and cache clearing jobs.
-
- Nov 21, 2017
-
-
Richard van der Hoff authored
* Improve documentation of workers Fixes https://github.com/matrix-org/synapse/issues/2554
-
Richard van der Hoff authored
Clean up dependency list
-
Richard van der Hoff authored
Avoid locking account_data tables for upserts
-
Matthew Hodgson authored
-
Richard van der Hoff authored
remove those that aren't used at all, and replace the ones that don't have builders with simple getters rather than dynamically-generated methods.
-
Richard van der Hoff authored
Create the url_cache index on local_media_repository as a background update, so that we can detect whether we are on sqlite or not and create a partial or complete index accordingly. To avoid running the cleanup job before we have built the index, add a bailout which will defer the cleanup if the bg updates are still running. Fixes https://github.com/matrix-org/synapse/issues/2572.
-
- Nov 19, 2017
-
-
Matthew Hodgson authored
-
- Nov 17, 2017
-
-
Richard van der Hoff authored
Avoid locking for upsert on pushers tables
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-