summary refs log tree commit diff
path: root/scripts-dev/tail-synapse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-12-30Check missing fields in event_from_pdu_jsonRichard van der Hoff1-0/+7
Return a 400 rather than a 500 when somebody messes up their send_join
2017-12-30Factor out `event_from_pdu_json`Richard van der Hoff3-37/+44
turns out we have two copies of this, and neither needs to be an instance method
2017-12-30federation_server: clean up importsRichard van der Hoff1-14/+11
2017-12-30federation_client: clean up importsRichard van der Hoff1-13/+10
2017-12-20Better logging when login can't find a 3pidRichard van der Hoff1-4/+10
2017-12-18Implement listen_tcp method in remaining workersSilke10-192/+155
Signed-off-by: Silke <silke@slxh.eu>
2017-12-18Remove logger argument and do not catch replication listenerSilke2-24/+18
Signed-off-by: Silke <silke@slxh.eu>
2017-12-17Add methods for listening on multiple addressesSilke Hofstra2-51/+90
Add listen_tcp and listen_ssl which implement Twisted's reactor.listenTCP and reactor.listenSSL for multiple addresses. Signed-off-by: Silke Hofstra <silke@slxh.eu>
2017-12-17Allow binds to both :: and 0.0.0.0Silke Hofstra2-42/+61
Binding on 0.0.0.0 when :: is specified in the bind_addresses is now allowed. This causes a warning explaining the behaviour. Configuration changed to match. See #2232 Signed-off-by: Silke Hofstra <silke@slxh.eu>
2017-12-17Adapt the default config to bind on IPv6.Willem Mulder1-8/+9
Most deployments are on Linux (or Mac OS), so this would actually bind on both IPv4 and IPv6. Resolves #1886. Signed-off-by: Willem Mulder <willemmaster@hotmail.com>
2017-12-07Copy dict in update_membership tooErik Johnston1-0/+4
2017-12-05fix StoreError syntaxMatthew Hodgson1-1/+1
2017-12-05Fix error when deleting devicesRichard van der Hoff1-1/+1
This was introduced in d7ea8c4 / PR #2728
2017-12-05support custom login types for validating usersRichard van der Hoff1-24/+57
Wire the custom login type support from password providers into the UI-auth user-validation flows.
2017-12-05Factor out a validate_user_via_ui_auth methodRichard van der Hoff3-74/+102
Collect together all the places that validate a logged-in user via UI auth.
2017-12-05Refactor UI auth implementationRichard van der Hoff7-48/+103
Instead of returning False when auth is incomplete, throw an exception which can be caught with a wrapper.
2017-12-04speed up the rate of initial spam for usersMatthew Hodgson1-11