synapse/changelog.d
Richard van der Hoff a7304adc7d
Factor out _get_remote_auth_chain_for_event from _update_auth_events_and_context_for_auth (#10884)
* Reload auth events from db after fetching and persisting

In `_update_auth_events_and_context_for_auth`, when we fetch the remote auth
tree and persist the returned events: load the missing events from the database
rather than using the copies we got from the remote server.

This is mostly in preparation for additional refactors, but does have an
advantage in that if we later get around to checking the rejected status, we'll
be able to make use of it.

* Factor out `_get_remote_auth_chain_for_event` from `_update_auth_events_and_context_for_auth`

* changelog
2021-09-23 17:34:33 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
10659.misc GHA: reintroduce an env var for $GITHUB_HEAD_REF (#10659) 2021-09-20 17:35:16 +01:00
10776.feature Verify ?chunk_id actually corresponds to an insertion event that exists (MSC2716) (#10776) 2021-09-15 09:34:30 +01:00
10777.misc Split out /batch_send meta events to their own fields (MSC2716) (#10777) 2021-09-15 09:30:58 +01:00
10782.bugfix Fix reactivated users not being added to the user directory (#10782) 2021-09-23 12:02:13 +00:00
10785.misc Add missing type hints to non-client REST servlets. (#10817) 2021-09-15 08:45:32 -04:00
10796.misc Always add local users to the user directory (#10796) 2021-09-21 12:02:34 +00:00
10807.bugfix Allow sending a membership event to unban a user (#10807) 2021-09-21 10:23:34 +00:00
10810.bugfix Prevent logging context going missing on federation request timeout (#10810) 2021-09-14 13:01:30 +01:00
10812.misc Use direct references for some configuration variables (part 2) (#10812) 2021-09-15 08:34:52 -04:00
10814.feature Refactor oEmbed previews (#10814) 2021-09-21 16:09:57 +00:00
10815.misc Name the type of token in "Invalid token" messages (#10815) 2021-09-14 11:25:05 +01:00
10816.misc Make StateFilter frozen so we can hash it (#10816) 2021-09-14 16:35:53 +01:00
10817.misc Add missing type hints to non-client REST servlets. (#10817) 2021-09-15 08:45:32 -04:00
10819.feature Include more information in oEmbed previews. (#10819) 2021-09-22 09:45:20 -04:00
10820.misc Treat "\u0000" as "\u0020" for the purposes of message search (message indexing) (#10820) 2021-09-22 08:25:26 -07:00
10823.misc Add type hints to state database module. (#10823) 2021-09-15 09:54:13 -04:00
10826.misc Opt out of cache expiry for get_users_who_share_room_with_user (#10826) 2021-09-22 14:21:58 +01:00
10827.bugfix Fix /initialSync error due to unhashable RoomStreamToken (#10827) 2021-09-22 14:43:26 +01:00
10829.misc Track why we're evicting from caches (#10829) 2021-09-22 10:59:52 +01:00
10831.misc Require type hints in the handlers module. (#10831) 2021-09-20 08:56:23 -04:00
10833.misc Extend ModuleApi with the methods we'll need to reject spam based on …IP - resolves #10832 (#10833) 2021-09-22 13:09:43 +00:00
10834.misc Create a constant for a small png image in tests. (#10834) 2021-09-16 12:01:14 -04:00
10835.misc Test that state events sent by modules correctly end up in the room's state (#10835) 2021-09-21 17:40:20 +02:00
10838.misc Rename MSC2716 things from chunk to batch to match /batch_send endpoint (#10838) 2021-09-21 15:06:28 -05:00
10839.misc Rename /batch_send query parameter from ?prev_event to more obvious usage with ?prev_event_id (MSC2716) (#10839) 2021-09-21 14:10:01 +01:00
10843.bugfix Fix remove_stale_pushers job on SQLite. (#10843) 2021-09-20 10:26:13 +01:00
10845.doc Fix #10837 by adding JSON encoding/decoding to the Module API example… (#10845) 2021-09-17 18:04:37 +01:00
10856.misc Add type hints for event streams. (#10856) 2021-09-21 13:34:26 -04:00
10859.bugfix Allow Synapse Admin API's Room Search to accept non-ASCII characters (#10859) 2021-09-21 08:04:35 -07:00
10865.doc Add documentation for experimental feature flags. (#10865) 2021-09-22 13:41:42 +00:00
10867.misc Add types to http.site (#10867) 2021-09-21 16:41:27 +00:00
10869.doc Clear our destination directories before copying files to GitHub pages. (#10869) 2021-09-21 16:32:46 +00:00
10873.bugfix Ensure we mark sent knocks as outliers (#10873) 2021-09-22 15:20:18 +01:00
10875.bugfix Fix invalidating OTK count cache after claim (#10875) 2021-09-22 15:31:05 +01:00
10879.misc Include outlier status in str(event) for V2/V3 events (#10879) 2021-09-22 12:30:59 +01:00
10880.misc Break down cache expiry reasons in grafana (#10880) 2021-09-23 14:45:32 +01:00
10883.misc Factor out a separate EventContext.for_outlier (#10883) 2021-09-22 17:58:57 +01:00
10884.misc Factor out _get_remote_auth_chain_for_event from _update_auth_events_and_context_for_auth (#10884) 2021-09-23 17:34:33 +01:00
10885.misc Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
10889.misc Remove unnecessary parentheses around tuples returned from methods (#10889) 2021-09-23 11:59:07 +01:00
10893.misc Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00