Commit Graph

13659 Commits (a19aa8b162edf99673bc9b0600c9ab550967b7e8)

Author SHA1 Message Date
Richard van der Hoff 176aa55fd5
add event id to logcontext when handling incoming PDUs (#10936) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Travis Ralston 8cef1ab2ac
Implement MSC3069: Guest support on whoami (#9655) 3 years ago
Richard van der Hoff 5279b9161b
Use `RoomVersion` objects (#10934) 3 years ago
Sean Quah 2be0fde3d6
Fix empty `url_cache_thumbnails/yyyy-mm-dd/` directories being left behind (#10924) 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
Hillery Shay 0f007fe009
Update utility code to handle C implementations of frozendict (#10902) 3 years ago
Richard van der Hoff 8aaa4b7b5d
Drop backwards-compatibility support for "outlier" (#10903) 3 years ago
Richard van der Hoff 2622b28c5c
Inline `_check_event_auth` for outliers (#10926) 3 years ago
Erik Johnston 37bb93d181
Fix exception responding to request that has been closed (#10932) 3 years ago
Patrick Cloke eb2c7e51c4
Clean-up type hints in server config (#10915) 3 years ago
Patrick Cloke c3ccad7785
Only do restricted join rules signature checks for room versions 8/9. (#10927) 3 years ago
Erik Johnston 3c50192d3f 1.44.0rc1 3 years ago
Erik Johnston 707d5e4e48
Encode JSON responses on a thread in C, mk2 (#10905) 3 years ago
Sean Quah f7768f62cb
Avoid storing URL cache files in storage providers (#10911) 3 years ago
Sean Quah 6c83c27107
Fix race conditions when creating media store and config directories (#10913) 3 years ago
Eric Eastwood d138187045
Document changes to schema version 61 - 64 (#10917) 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
Erik Johnston 50022cff96
Add reactor to `SynapseRequest` and fix up types. (#10868) 3 years ago
Jason Robinson fa74536384
Fix AuthBlocking check when requester is appservice (#10881) 3 years ago
David Robertson 7f3352743e
Improve typing in user_directory files (#10891) 3 years ago
Kokokokoka e704cc2a48
In `_purge_history_txn`, ensure that txn.fetchall has elements before accessing rows (#10690) 3 years ago
Callum Brown 90d9fc7505
Allow `.` and `~` chars in registration tokens (#10887) 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
Hillery Shay f78b68a96b
Treat "\u0000" as "\u0020" for the purposes of message search (message indexing) (#10820) 3 years ago
Tulir Asokan 03db6701d5
Fix invalidating OTK count cache after claim (#10875) 3 years ago
Richard van der Hoff 8f2a52766b
Ensure we mark sent knocks as outliers (#10873) 3 years ago
Patrick Cloke 6fc8be9a1b
Include more information in oEmbed previews. (#10819) 3 years ago
Sean Quah 9391de3f37
Fix /initialSync error due to unhashable `RoomStreamToken` (#10827) 3 years ago
David Robertson 724aef9a87
Opt out of cache expiry for `get_users_who_share_room_with_user` (#10826) 3 years ago
David Teller 80828eda06
Extend ModuleApi with the methods we'll need to reject spam based on …IP - resolves #10832 (#10833) 3 years ago
Richard van der Hoff 4ecf51812e
Include outlier status in `str(event)` for V2/V3 events (#10879) 3 years ago
David Robertson a2d7195e01
Track why we're evicting from caches (#10829) 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
Erik Johnston b25a494779
Add types to http.site (#10867) 3 years ago
Patrick Cloke ba7a91aea5
Refactor oEmbed previews (#10814) 3 years ago
Hillery Shay 5fca3c8ae6
Allow Synapse Admin API's Room Search to accept non-ASCII characters (#10859) 3 years ago
Eric Eastwood ee557b5375
Rename `/batch_send` query parameter from `?prev_event` to more obvious usage with `?prev_event_id` (MSC2716) (#10839) 3 years ago
David Robertson 60453315bd
Always add local users to the user directory (#10796) 3 years ago
David Robertson c4ef61136f 1.43.0 3 years ago