summary refs log tree commit diff
path: root/synapse/appservice/api.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-11-28Allow guest access to group APIs for readingLuke Barnard1-11/+11
2017-11-27Improve tracebacks on exceptionsRichard van der Hoff1-3/+9
Use failure.Failure to recover our failure, which will give us a useful stacktrace, unlike the rethrown exception.
2017-11-27Avoid retrying forever on IntegrityErrorRichard van der Hoff1-0/+7
2017-11-24Fix error handling on dns lookupRichard van der Hoff1-2/+4
pass the right arguments to the errback handler Fixes "TypeError('eb() takes exactly 2 arguments (1 given)',)"
2017-11-24Add a comment which might save some confusionRichard van der Hoff1-0/+1
2017-11-24Remove dead sync_callbackRichard van der Hoff1-2/+0
This is never used; let's remove it to stop confusing things.
2017-11-23Fix some logcontext leaks in replication resourceRichard van der Hoff1-2/+4
The @measure_func annotations rely on the wrapped function respecting the logcontext rules. Add the necessary yields to make this work.
2017-11-23Fix OPTIONS on preview_urlRichard van der Hoff1-1/+5
Fixes #2706
2017-11-22fix sql failsRichard van der Hoff1-1/+1
2017-11-22Check database in has_completed_background_updatesRichard van der Hoff3-12/+33
so that the right thing happens on workers.
2017-11-22Add config option to disable media_repo on main synapseRichard van der Hoff4-9/+30
... to stop us doing the cache cleanup jobs on the master.
2017-11-22Build MediaRepositoryResource as a homeserver dependencyRichard van der Hoff4-5/+19
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.
2017-11-21Improve documentation of workersRichard van der Hoff1-21/+133
Fixes https://github.com/matrix-org/synapse/issues/2554
2017-11-21sanity checksMatthew Hodgson1-1/+4
2017-11-21Clean up dependency listRichard van der Hoff1-16/+15
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.
2017-11-21Fix error on sqlite 3.7Richard van der Hoff5-8/+59
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.
2017-11-19