0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-18 10:38:21 +02:00
synapse/synapse
Richard van der Hoff 318711e139 Set Server header in SynapseRequest
(instead of everywhere that writes a response. Or rather, the subset of places
which write responses where we haven't forgotten it).

This also means that we don't have to have the mysterious version_string
attribute in anything with a request handler.

Unfortunately it does mean that we have to pass the version string wherever we
instantiate a SynapseSite, which has been c&ped 150 times, but that is code
that ought to be cleaned up anyway really.
2018-05-10 18:50:27 +01:00
..
api Apply some limits to depth to counter abuse 2018-05-01 17:54:19 +01:00
app Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00
appservice Merge remote-tracking branch 'origin/develop' into rav/use_run_in_background 2018-04-27 14:31:23 +01:00
config Merge pull request #3085 from NotAFile/py3-config-text-mode 2018-04-30 01:00:23 +01:00
crypto Fixes #3135 - Replace _OpenSSLECCurve with crypto.get_elliptic_curve (#3157) 2018-04-30 16:21:11 +01:00
events add comment explaining attributeerror 2018-04-30 09:49:10 +02:00
federation Merge branch 'release-v0.28.1' into develop 2018-05-01 18:16:57 +01:00
groups Merge remote-tracking branch 'origin/develop' into rav/use_run_in_background 2018-04-27 14:31:23 +01:00
handlers Merge pull request #3199 from matrix-org/erikj/pagination_sync 2018-05-09 16:16:56 +01:00
http Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00
metrics Note that label values can be anything 2018-05-03 16:25:05 +01:00
module_api Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
push Merge pull request #3152 from NotAFile/py3-local-imports 2018-04-30 01:28:13 +01:00
replication make imports local 2018-04-28 13:41:41 +02:00
rest Set Server header in SynapseRequest 2018-05-10 18:50:27 +01:00
static/client
storage Merge pull request #3199 from matrix-org/erikj/pagination_sync 2018-05-09 16:16:56 +01:00
streams replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
util Merge remote-tracking branch 'origin/develop' into rav/warn_on_logcontext_fail 2018-05-03 14:59:29 +01:00
__init__.py Update __init__.py 2018-05-01 18:22:53 +01:00
event_auth.py Fix templating error with unban permission message 2018-01-07 19:52:58 -07:00
notifier.py Merge remote-tracking branch 'origin/develop' into rav/deferred_timeout 2018-04-27 14:18:00 +01:00
python_dependencies.py Miscellaneous fixes to python_dependencies 2018-05-01 18:13:54 +01:00
server.py Burminate v1auth 2018-04-30 22:20:43 +02:00
server.pyi Factor out resolve_state_groups to a separate handler 2018-02-01 12:40:04 +00:00
state.py Measure time it takes to calculate state group ID 2018-03-28 11:03:52 +01:00
types.py In DomainSpecificString, override __repr__ in addition to __str__ 2018-04-10 11:35:29 +02:00
visibility.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00