forked-synapse/changelog.d
Richard van der Hoff 428174f902
Split event_auth.check into two parts (#10940)
Broadly, the existing `event_auth.check` function has two parts:
 * a validation section: checks that the event isn't too big, that it has the rught signatures, etc. 
   This bit is independent of the rest of the state in the room, and so need only be done once 
   for each event.
 * an auth section: ensures that the event is allowed, given the rest of the state in the room.
   This gets done multiple times, against various sets of room state, because it forms part of
   the state res algorithm.

Currently, this is implemented with `do_sig_check` and `do_size_check` parameters, but I think
that makes everything hard to follow. Instead, we split the function in two and call each part
separately where it is needed.
2021-09-29 18:59:15 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
9655.feature Implement MSC3069: Guest support on whoami (#9655) 2021-09-29 11:32:45 +01:00
10877.feature Ensure (room_id, next_batch_id) is unique to avoid cross-talk/conflicts between batches (MSC2716) (#10877) 2021-09-28 21:23:16 -05:00
10902.misc Update utility code to handle C implementations of frozendict (#10902) 2021-09-28 09:13:23 -07:00
10903.misc Drop backwards-compatibility support for "outlier" (#10903) 2021-09-28 15:25:36 +01:00
10915.misc Clean-up type hints in server config (#10915) 2021-09-28 09:24:40 -04:00
10916.misc Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
10924.bugfix Fix empty url_cache_thumbnails/yyyy-mm-dd/ directories being left behind (#10924) 2021-09-29 10:24:37 +01:00
10926.misc Inline _check_event_auth for outliers (#10926) 2021-09-28 15:25:07 +01:00
10927.bugfix Only do restricted join rules signature checks for room versions 8/9. (#10927) 2021-09-28 08:44:19 -04:00
10934.misc Use RoomVersion objects (#10934) 2021-09-29 10:57:10 +01:00
10936.misc add event id to logcontext when handling incoming PDUs (#10936) 2021-09-29 11:59:43 +01:00
10940.misc Split event_auth.check into two parts (#10940) 2021-09-29 18:59:15 +01:00