Commit Graph

3967 Commits (b0460936c8e31a2e0d160d4bba69223036ae26fe)

Author SHA1 Message Date
David Robertson 370bca32e6
Don't drop user dir deltas when server leaves room (#10982) 3 years ago
Eric Eastwood 392863fbf1
Fix logic flaw preventing tracking of MSC2716 events in existing room versions (#10962) 3 years ago
Richard van der Hoff 787af4a106
Host `cache_joined_hosts_for_event` to caller (#10986) 3 years ago
Richard van der Hoff d099535deb
`_update_auth_events_and_context_for_auth`: add some comments (#10987) 3 years ago
Richard van der Hoff cb88ed912b
`_check_event_auth`: move event validation earlier (#10988) 3 years ago
Hillery Shay eda8c88b84
Add functionality to remove deactivated users from the monthly_active_users table (#10947) 3 years ago
David Robertson f7b034a24b
Consistently exclude from user_directory (#10960) 3 years ago
Patrick Cloke a0f48ee89d
Use direct references for configuration variables (part 7). (#10959) 3 years ago
Patrick Cloke 32072dcdac Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Patrick Cloke 9e5a429c8b
Clean-up registration tests (#10945) 3 years ago
Patrick Cloke d1bf5f7c9d
Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
David Robertson 29364145b2
Pass str to twisted's IReactorTCP (#10895) 3 years ago
Eric Eastwood c4bf48ee6f Fix event context for outliers in important MSC2716 spot (#10938) 3 years ago
reivilibre a03ed5e6ae
Fix issue causing sending presence to ASes to fail (due to incomplete type annotations) (#10944) 3 years ago
Richard van der Hoff 428174f902
Split `event_auth.check` into two parts (#10940) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Richard van der Hoff 5279b9161b
Use `RoomVersion` objects (#10934) 3 years ago
Eric Eastwood 9fd057b8c5
Ensure `(room_id, next_batch_id)` is unique to avoid cross-talk/conflicts between batches (MSC2716) (#10877) 3 years ago
Richard van der Hoff 2622b28c5c
Inline `_check_event_auth` for outliers (#10926) 3 years ago
Patrick Cloke eb2c7e51c4
Clean-up type hints in server config (#10915) 3 years ago
Brendan Abolivier b10257e879
Add a spamchecker callback to allow or deny room creation based on invites (#10898) 3 years ago
Richard van der Hoff 0420d4e6a5
Stop trying to auth/persist events whose auth events we do not have. (#10907) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
Richard van der Hoff 85551b7a85
Factor out common code for persisting fetched auth events (#10896) 3 years ago
Richard van der Hoff 261c9763c4
Simplify `_auth_and_persist_fetched_events` (#10901) 3 years ago
Richard van der Hoff a7304adc7d
Factor out `_get_remote_auth_chain_for_event` from `_update_auth_events_and_context_for_auth` (#10884) 3 years ago
Patrick Cloke 47854c71e9
Use direct references for configuration variables (part 4). (#10893) 3 years ago
David Robertson dcfd864970
Fix reactivated users not being added to the user directory (#10782) 3 years ago
Patrick Cloke e584534403
Use direct references for some configuration variables (part 3) (#10885) 3 years ago
Andrew Morgan aa2c027792
Remove unnecessary parentheses around tuples returned from methods (#10889) 3 years ago
Richard van der Hoff 26f2bfedbf
Factor out a separate `EventContext.for_outlier` (#10883) 3 years ago
Richard van der Hoff 8f2a52766b
Ensure we mark sent knocks as outliers (#10873) 3 years ago
Eric Eastwood 51e2db3598
Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint (#10838) 3 years ago
Patrick Cloke 4054dfa409
Add type hints for event streams. (#10856) 3 years ago
David Robertson 60453315bd
Always add local users to the user directory (#10796) 3 years ago
Aaron Raimist 6a751ff5e0
Allow sending a membership event to unban a user (#10807) 3 years ago
Patrick Cloke b3590614da
Require type hints in the handlers module. (#10831) 3 years ago
Erik Johnston 9a6f4a684f
Cleanup opentracing logging for syncs (#10828) 3 years ago
Patrick Cloke 8c7a531e27
Use direct references for some configuration variables (part 2) (#10812) 3 years ago
David Robertson 319b8b6bef
Name the type of token in "Invalid token" messages (#10815) 3 years ago
Patrick Cloke 01c88a09cd
Use direct references for some configuration variables (#10798) 3 years ago
reivilibre 524b8ead77
Add types to synapse.util. (#10601) 3 years ago
Patrick Cloke 63f28e4a0c
Handle room upgrades for spaces (#10774) 3 years ago
David Robertson 318162f5de
Easy refactors of the user directory (#10789) 3 years ago
AndrewFerr 0c0da36a68
Ask consent on SSO registration with default mxid (#10733) 3 years ago
Sean 273b6861f2
Remove unstable MSC2858 API, including `experimental.msc2858_enabled` config option (#10693) 3 years ago
Richard van der Hoff abedf7d77f
Get rid of `_auth_and_persist_event` (#10781) 3 years ago
Patrick Cloke 0288e6033b
Add a constant for m.federate. (#10775) 3 years ago
Richard van der Hoff aacdce8fc0
Add some assertions about outliers (#10773) 3 years ago
Richard van der Hoff 5724883ac2
Persist auth events before the events that rely on them (#10771) 3 years ago