Commit Graph

702 Commits (6e8fb42be7657f9d4958c02d87cff865225714d2)

Author SHA1 Message Date
Michael[tm] Smith 27c06a6e06
Drop Origin & Accept from Access-Control-Allow-Headers value (#10114) 3 years ago
Marcus 8070b893db
update black to 21.6b0 (#10197) 3 years ago
Michael Kutzner aac2c49b9b
Fix 'ip_range_whitelist' not working for federation servers (#10115) 3 years ago
Sorunome d936371b69
Implement knock feature (#6739) 4 years ago
Richard van der Hoff 1bf83a191b
Clean up the interface for injecting opentracing over HTTP (#10143) 4 years ago
Patrick Cloke c7f3fb2745
Add type hints to the federation server transport. (#10080) 4 years ago
Patrick Cloke 9e4610cc27
Correct type hints for parse_string(s)_from_args. (#10137) 4 years ago
Erik Johnston 1641c5c707 Log method and path when dropping request due to size limit (#10091) 4 years ago
Erik Johnston 84cf3e47a0
Allow response of `/send_join` to be larger. (#10093) 4 years ago
Erik Johnston 3f96dbbda7
Log method and path when dropping request due to size limit (#10091) 4 years ago
Eric Eastwood ac3e02d089
Add `parse_strings_from_args` to get `prev_events` array (#10048) 4 years ago
Erik Johnston 64887f06fc
Use ijson to parse the response to `/send_join`, reducing memory usage. (#9958) 4 years ago
Richard van der Hoff 3ff2251754
Improved validation for received requests (#9817) 4 years ago
Richard van der Hoff 59d24c5bef
pass a reactor into SynapseSite (#9874) 4 years ago
Richard van der Hoff 51a20914a8
Limit the size of HTTP responses read over federation. (#9833) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Dan Callahan 1d5f0e3529
Bump black configuration to target py36 (#9781) 4 years ago
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Patrick Cloke 48d44ab142
Record more information into structured logs. (#9654) 4 years ago
Jonathan de Jong e2b8a90897
Update mypy configuration: `no_implicit_optional = True` (#9742) 4 years ago
Patrick Cloke 01dd90b0f0
Add type hints to DictionaryCache and TTLCache. (#9442) 4 years ago
Patrick Cloke b7748d3c00
Import HomeServer from the proper module. (#9665) 4 years ago
Andrew Morgan 5b268997bd
Allow providing credentials to HTTPS_PROXY (#9657) 4 years ago
Patrick Cloke d29b71aa50
Fix remaining mypy issues due to Twisted upgrade. (#9608) 4 years ago
Patrick Cloke 55da8df078
Fix additional type hints from Twisted 21.2.0. (#9591) 4 years ago
Patrick Cloke e55bd0e110
Add tests for blacklisting reactor/agent. (#9563) 4 years ago
Erik Johnston 9cd18cc588
Retry 5xx errors in federation client (#9567) 4 years ago
Patrick Cloke 7fdc6cefb3
Fix additional type hints. (#9543) 4 years ago
Patrick Cloke 58114f8a17
Create a SynapseReactor type which incorporates the necessary reactor interfaces. (#9528) 4 years ago
Patrick Cloke 33a02f0f52
Fix additional type hints from Twisted upgrade. (#9518) 4 years ago
Patrick Cloke 16ec8c3272
(Hopefully) stop leaking file descriptors in media repo. (#9497) 4 years ago
Tim Leung ddb240293a
Add support for no_proxy and case insensitive env variables (#9372) 4 years ago
Richard van der Hoff 15090de850
SSO: redirect to public URL before setting cookies (#9436) 4 years ago
Richard van der Hoff d8e95e5452
Add support for X-Forwarded-Proto (#9472) 4 years ago
Patrick Cloke 8ec2217103
Reduce the memory usage of previewing media files. (#9421) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Marcus b0f4119b8b
Add debug logging to DNS SRV requests. (#9305) 4 years ago
Richard van der Hoff f78d07bf00
Split out a separate endpoint to complete SSO registration (#9262) 4 years ago
Richard van der Hoff a737cc2713
Implement MSC2858 support (#9183) 4 years ago
Richard van der Hoff 0cd2938bc8
Support icons for Identity Providers (#9154) 4 years ago
Patrick Cloke 2b467d0b61
Properly raise an exception when the body exceeds the max size. (#9145) 4 years ago
Patrick Cloke 74dd906041
Avoid raising the body exceeded error multiple times. (#9108) 4 years ago
Tim Leung 12702be951
Fix wrong arguments being passed to BlacklistingAgentWrapper (#9098) 4 years ago
Patrick Cloke aee8e6a95d
Reduce scope of exception handler. (#9106) 4 years ago
Marcus e385c8b473
Don't apply the IP range blacklist to proxy connections (#9084) 4 years ago
Patrick Cloke 723b19748a
Handle bad JSON data being returned from the federation API. (#9070) 4 years ago
Richard van der Hoff 2ec8ca5e60
Remove SynapseRequest.get_user_agent (#9069) 4 years ago
Patrick Cloke ff5c4da128
Add a maximum size for well-known lookups. (#8950) 4 years ago
Patrick Cloke 1619802228
Various clean-ups to the logging context code (#8935) 4 years ago
Richard van der Hoff 1821f7cc26
Fix buglet in DirectRenderJsonResource (#8897) 4 years ago