MatrixSynapse/synapse
Eric Eastwood 70a4317692
Track when the pulled event signature fails (#13815)
Because we're doing the recording in `_check_sigs_and_hash_for_pulled_events_and_fetch` (previously named `_check_sigs_and_hash_and_fetch`), this means we will track signature failures for `backfill`, `get_room_state`, `get_event_auth`, and `get_missing_events` (all pulled event scenarios). And we also record signature failures from `get_pdu`.

Part of https://github.com/matrix-org/synapse/issues/13700

Part of https://github.com/matrix-org/synapse/issues/13676 and https://github.com/matrix-org/synapse/issues/13356

This PR will be especially important for https://github.com/matrix-org/synapse/pull/13816 so we can avoid the costly `_get_state_ids_after_missing_prev_event` down the line when `/messages` calls backfill.
2022-10-03 14:53:29 -05:00
..
_scripts Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
api Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
app Update mypy and mypy-zope, attempt 3 (#13993) 2022-09-30 17:36:28 +01:00
appservice
config Announce that legacy metric names are deprecated, will be turned off by default in Synapse v1.71.0 and removed altogether in Synapse v1.73.0. (#14024) 2022-10-03 17:16:15 +00:00
crypto
events fix: Push notifications for invite over federation (#13719) 2022-09-28 12:31:53 +00:00
federation Track when the pulled event signature fails (#13815) 2022-10-03 14:53:29 -05:00
handlers Do not return unspecced original_event field when using the stable /relations endpoint. (#14025) 2022-10-03 16:47:15 +00:00
http Fix mypy errors with latest canonicaljson (#13905) 2022-09-26 13:30:00 +01:00
logging Update mypy and mypy-zope, attempt 3 (#13993) 2022-09-30 17:36:28 +01:00
metrics
module_api Add missing version information in the ModuleApi (#13947) 2022-09-30 12:27:21 +02:00
push Skip filtering during push if there are no push actions (#13992) 2022-09-30 17:40:33 +01:00
replication Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
res
rest Do not return unspecced original_event field when using the stable /relations endpoint. (#14025) 2022-10-03 16:47:15 +00:00
server_notices
spam_checker_api
state Prepatory work for batching events to send (#13487) 2022-09-28 10:39:03 +01:00
static
storage Clear out old rows from `event_push_actions_staging` (#14020) 2022-10-03 18:44:44 +01:00
streams
util Don't require `setuptools_rust` at runtime (#13952) 2022-09-29 20:16:08 +00:00
__init__.py Check if Rust lib needs rebuilding. (#13759) 2022-09-12 10:03:42 +00:00
event_auth.py
notifier.py
py.typed
server.py
types.py Accept & store thread IDs for receipts (implement MSC3771). (#13782) 2022-09-23 14:33:28 +00:00
visibility.py Skip filtering during push if there are no push actions (#13992) 2022-09-30 17:40:33 +01:00