-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commits on Nov 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 079e995 - Browse repository at this point
Copy the full SHA 079e995View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1f5fa7 - Browse repository at this point
Copy the full SHA f1f5fa7View commit details -
Update the event auth rules for knocking
Hopefully most of these changes are explained through the added comments and error messages. The changes are also described conceptually in the MSC: https://github.com/Sorunome/matrix-doc/blob/soru/knock/proposals/2403-knock.md#join-rules
Configuration menu - View commit details
-
Copy full SHA for b81617e - Browse repository at this point
Copy the full SHA b81617eView commit details -
Add CS /_matrix/client/r0/knock/{roomIdOrAlias} endpoint
We're ditching the usual idea of having two endpoints for each membership-related endpoint as per the MSC. Thus knocking only gets the more powerful variant (the one that supports room aliases as well as IDs. The reason is also optional. The other small change is just to ensure displaynames get added to the content of this particular membership event.
Configuration menu - View commit details
-
Copy full SHA for 25a341d - Browse repository at this point
Copy the full SHA 25a341dView commit details -
Add room_knock_state_types config option
This option serves the same purpose as the existing room_invite_state_types option, which defines what state events are sent over to a user that is invited to a room. This information is necessary for the user - who isn't in the room yet - to get some metadata about the room in order to display it in a pretty fashion in the user's pending-invites list. It includes information such as the room's name, avatar, topic, canonical alias, room encryption state etc. as well as the invite membership event which the invited user's homeserver can reference. This new option is the exact same, but is sent by a homeserver in the room to the knocker during the knock process. This option will actually be utilised in a later commit.
Configuration menu - View commit details
-
Copy full SHA for 66e263b - Browse repository at this point
Copy the full SHA 66e263bView commit details -
Federation: make_knock and send_knock implementations
Most of this is explained in the linked MSC (and don't miss the sequence diagram in the MSC comments), but roughly knocking takes inspiration from room joins and room invites. This commit is the room join stuff. First the knocking homeserver POSTs to the make_knock endpoint on another homeserver. The other homeserver will send back a knock event that is valid for the knocking user and the room that they are knocking on. The knocking homeserver will sign the event and send it back, before the other homeserver takes that event and then sends it into the room on the knocking homeserver's behalf. It's worth noting that the accepting/rejecting knocks all happen over existing room invite/leave flows. A homeserver rescinding its knock as well is also just sending a leave. Once the event has been inserted into the room, the homeserver that's in the room will send back a 200 and an empty JSON dict to confirm everything went well to the knocker. In a future commit, this dict will instead be filled with some stripped state events from the room which the knocking homeserver will pass back to the knocking user. And yes, the logging statements in this commit are intentional. They're consistent with the rest of the file :)
Configuration menu - View commit details
-
Copy full SHA for 50998c7 - Browse repository at this point
Copy the full SHA 50998c7View commit details -
Send stripped state events back to the knocking homeserver
Here we finally send the stripped state events back to the knocking homeserver, which then ingests and stores those events. A future commit will actually start sending those events down /sync to the relevant user.
Configuration menu - View commit details
-
Copy full SHA for eea7db9 - Browse repository at this point
Copy the full SHA eea7db9View commit details -
Extend sync to inform clients about the progress of their knocks
So we've got federation so that homeservers can communicate knocking information between them - but how does that information actually get down to the client? The client knows that it knocked successfully from a 200 in its original request, but what else does it need? This commit adds a new "knock" section to /sync (in addition to "invite", "join", and "leave") all help give the client the information it needs. The new "knock" section is used for sending down the stripped state events we collected earlier. The client will use these to display the room and its metadata in a little "pending knocks" section or similar. This is all this commit adds. If the user's knock has been accepted or rejected, they will receive that information in the "join" or "leave" sections of /sync. Most of this code is just cribbing off the invite and join sync code yet again, with some minor differences. For instance, we don't need to exclude knock events from sync if the sender is in your ignore list, as you are the only ones that can send knocks for yourself. The structure of the "knock" dict in sync is modeled after "invite", as clients also receive stripped state in that. The structure can be viewed in the linked MSC.
Configuration menu - View commit details
-
Copy full SHA for 41f5490 - Browse repository at this point
Copy the full SHA 41f5490View commit details -
Auto-add displaynames to knock events if they're missing
Tiny commit to just bring knocking up to feature parity.
Configuration menu - View commit details
-
Copy full SHA for 8e443dd - Browse repository at this point
Copy the full SHA 8e443ddView commit details -
Add some handy db methods for knocking
This just adds some database methods that we'll need to use when implementing rescinding of knocks of clients. They are equivalent to their invite-related counterparts.
Configuration menu - View commit details
-
Copy full SHA for 082f04b - Browse repository at this point
Copy the full SHA 082f04bView commit details -
Implement locally rescinding a federated knock
As mentioned in the MSC, a user can rescind (take back) a knock while it is pending by sending a leave event to the room. This will set their membership to leave instead of knock. Now, this functionality already worked before this commit for rooms that the homeserver was already in. What didn't work was: * Rescinding a knock over federation to a room with active homeservers * Rescinding a knock over federation to a room with inactive homeservers This commit addresses the second bullet point, and leaves the first bullet point as a TODO (as it is an edge case an not immediately obvious how it would be done). What this commit does is crib off the same functionality as locally rejecting an invite. That occurs when we are unable to contact the homeserver that originally sent us an invite. Instead an out-of-band leave membership event will be generated and sent to clients locally. The same is happening here. You can mostly ignore the new generate_local_out_of_band_membership methods, those are just some structural bits to allow us to call that method from RoomMemberHandler. The real meat of this commit is moving about and adding some logic in `update_membership_locked`, specifically for when we're updating a user's membership to "leave". There was already some code in there to check whether the room to send the leave to was a room the homeserver is not currently a part of. In that case, we'd remote reject the knock. This commit just extends that to also rescind knocks if the user's membership in the room is currently "knock". We skip the remote attempt for now and go straight to generating a local leave membership event.
Configuration menu - View commit details
-
Copy full SHA for e46ceb1 - Browse repository at this point
Copy the full SHA e46ceb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56cde8b - Browse repository at this point
Copy the full SHA 56cde8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0ac8c - Browse repository at this point
Copy the full SHA 8e0ac8cView commit details
Commits on Nov 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 392b315 - Browse repository at this point
Copy the full SHA 392b315View commit details -
Configuration menu - View commit details
-
Copy full SHA for 665e863 - Browse repository at this point
Copy the full SHA 665e863View commit details -
Configuration menu - View commit details
-
Copy full SHA for f08a20b - Browse repository at this point
Copy the full SHA f08a20bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8fa8fa - Browse repository at this point
Copy the full SHA f8fa8faView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa66525 - Browse repository at this point
Copy the full SHA aa66525View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4960c8 - Browse repository at this point
Copy the full SHA d4960c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51f6c5d - Browse repository at this point
Copy the full SHA 51f6c5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98f96ec - Browse repository at this point
Copy the full SHA 98f96ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9560d0a - Browse repository at this point
Copy the full SHA 9560d0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e427bd2 - Browse repository at this point
Copy the full SHA e427bd2View commit details -
Apply suggestions from code review
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8cec504 - Browse repository at this point
Copy the full SHA 8cec504View commit details
Commits on Nov 24, 2020
-
Fix locally rescinding knocks on worker setups
Turns out there was some extra boilerplate around replication that is necessary to rescind knocks on worker setups. Workers need to call out to the master process to help remotely accept/reject invites, and the same is true for accepting/rescinding knocks. This commit adds replication client functions and handlers for remote_knock and remote_rescind_knock. As part of this, I turned generate_local_out_of_band_leave back into a private function. It was originally being called by RoomMemberHandler.update_membership_locked as it was simply a shortcut to generating a local leave event (aka rescinding a knock locally, but not informing any other servers about it). This shortcut was temporary while actually remote rescinding is left as a TODO. Instead of setting up all the boilerplate code for generate_local_out_of_band_leave, only to later replace it with remote_rescind_knock (which would call generate_local_out_of_band_leave if it failed to rescind a knock remotely), we just set up replication for remote_rescind_knock now. In the future, remote_rescind_knock will do more than just immediately giving up and rescinding the knock locally.
Configuration menu - View commit details
-
Copy full SHA for 162677b - Browse repository at this point
Copy the full SHA 162677bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b36862 - Browse repository at this point
Copy the full SHA 4b36862View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebc683a - Browse repository at this point
Copy the full SHA ebc683aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a630222 - Browse repository at this point
Copy the full SHA a630222View commit details -
Create and user parse_list_from_args, add docstring and types to pars…
…e_string_from_args
Configuration menu - View commit details
-
Copy full SHA for a34be45 - Browse repository at this point
Copy the full SHA a34be45View commit details -
Remove knock unstable_features
Clients can tell if knocking is available by checking for the presence of a room version containing knocking in /_matrix/client/r0/capabilities.
Configuration menu - View commit details
-
Copy full SHA for 9090465 - Browse repository at this point
Copy the full SHA 9090465View commit details -
Optimise retrieving previous invite or knock event during membership …
…update. It was pointed out that the method in RoomMemberHandler.update_membership_locked for retrieving the previous invite or knock event was overly complex. We already knew the ID of the room, yet got a list of all rooms that the user has been invited to/knocked on from the database. We then filtered that list, and extracted some metadata from it that allowed us to get the invite/knock event ID. This was quite ineffecient, and I've updated both methods to simply get the current state of the room given the room ID, extract the latest m.room.member event for the user, and check that it has invite/knock membership. There's still some inefficiency between pulling out the knock event, passing the event ID to remote_rescind_knock, to which remote_rescind_knock then pulls the associated event out of the database again - however I think this is necessary given that we may need to call remote_rescind_knock over replication, where passing an event ID is easier than a serialised event. It also more closely resembles remote_reject_invite's function signature.
Configuration menu - View commit details
-
Copy full SHA for ad929c3 - Browse repository at this point
Copy the full SHA ad929c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42ecc28 - Browse repository at this point
Copy the full SHA 42ecc28View commit details -
Update endpoint to use unstable prefix
I assume the same does not need to happen to replication endpoints as they are not client or federation facing.
Configuration menu - View commit details
-
Copy full SHA for 7f65f01 - Browse repository at this point
Copy the full SHA 7f65f01View commit details -
Update synapse/http/servlet.py
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a49cd83 - Browse repository at this point
Copy the full SHA a49cd83View commit details -
Apply suggestions from code review
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c097c52 - Browse repository at this point
Copy the full SHA c097c52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9337536 - Browse repository at this point
Copy the full SHA 9337536View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab934b4 - Browse repository at this point
Copy the full SHA ab934b4View commit details -
Remove config option room_knock_state_types
We introduced this option in this PR to mirror room_knock_invite_types, but ended up questioning the worth of both, and ultimately decided that neither were very useful. Context: https://github.com/matrix-org/synapse/pull/6739/files#r527027645 and matrix-org#8807
Configuration menu - View commit details
-
Copy full SHA for 16da425 - Browse repository at this point
Copy the full SHA 16da425View commit details -
Configuration menu - View commit details
-
Copy full SHA for acdfd4b - Browse repository at this point
Copy the full SHA acdfd4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for afe242c - Browse repository at this point
Copy the full SHA afe242cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f3c188 - Browse repository at this point
Copy the full SHA 7f3c188View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d3365e - Browse repository at this point
Copy the full SHA 5d3365eView commit details -
Add Matrix.org Foundation copyright to synapse/handlers/stats.py
This file had a minor edit to update the wording.
Configuration menu - View commit details
-
Copy full SHA for 72d16b0 - Browse repository at this point
Copy the full SHA 72d16b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fb055c - Browse repository at this point
Copy the full SHA 3fb055cView commit details
Commits on Nov 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 13b8e4a - Browse repository at this point
Copy the full SHA 13b8e4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e43e63 - Browse repository at this point
Copy the full SHA 8e43e63View commit details -
Speed up remote invite rejection database call (matrix-org#8815)
This is another PR that grew out of matrix-org#6739. The existing code for checking whether a user is currently invited to a room when they want to leave the room looks like the following: https://github.com/matrix-org/synapse/blob/f737368a26bb9eea401fcc3a5bdd7e0b59e91f09/synapse/handlers/room_member.py#L518-L540 It calls `get_invite_for_local_user_in_room`, which will actually query *all* rooms the user has been invited to, before iterating over them and matching via the room ID. It will then return a tuple of a lot of information which we pull the event ID out of. I need to do a similar check for knocking, but this code wasn't very efficient. I then tried to write a different implementation using `StateHandler.get_current_state` but this actually didn't work as we haven't *joined* the room yet - we've only been invited to it. That means that only certain tables in Synapse have our desired `invite` membership state. One of those tables is `local_current_membership`. So I wrote a store method that just queries that table instead
Configuration menu - View commit details
-
Copy full SHA for 8604861 - Browse repository at this point
Copy the full SHA 8604861View commit details
Commits on Nov 26, 2020
-
Use get_local_current_membership_for_user_in_room for knock code
Additionally clean up the logic of this invite/knock code a bit, and it was originally a little tricky to follow the flow.
Configuration menu - View commit details
-
Copy full SHA for 280eed3 - Browse repository at this point
Copy the full SHA 280eed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2cec48 - Browse repository at this point
Copy the full SHA d2cec48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50354ef - Browse repository at this point
Copy the full SHA 50354efView commit details -
Revert "Remove unnecessary arguments from knocking _serialize_payload…
… functions" This reverts commit 3fb055c. It was found that these arguments are necessary and nice to keep around following a discussion in matrix-org#8809.
Configuration menu - View commit details
-
Copy full SHA for 7c09796 - Browse repository at this point
Copy the full SHA 7c09796View commit details
Commits on Nov 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 510da34 - Browse repository at this point
Copy the full SHA 510da34View commit details -
Configuration menu - View commit details
-
Copy full SHA for d73ea0c - Browse repository at this point
Copy the full SHA d73ea0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1f4b62 - Browse repository at this point
Copy the full SHA c1f4b62View commit details
Commits on Nov 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 338861f - Browse repository at this point
Copy the full SHA 338861fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c4bdb0 - Browse repository at this point
Copy the full SHA 0c4bdb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d394eb9 - Browse repository at this point
Copy the full SHA d394eb9View commit details
Commits on Dec 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f62e2d - Browse repository at this point
Copy the full SHA 0f62e2dView commit details -
make sure to include stripped state events for local knocks as well!
The type change was necessary as DEFAULT_ROOM_STATE_TYPES is actually a list of str.
Configuration menu - View commit details
-
Copy full SHA for 60466b8 - Browse repository at this point
Copy the full SHA 60466b8View commit details -
This specifically tests the stripped state events that come down /sync, as at the current stage in the MSC the exact types to send are not fixed. There's also a tiny type fix included in a nearby test.
Configuration menu - View commit details
-
Copy full SHA for aaa6c88 - Browse repository at this point
Copy the full SHA aaa6c88View commit details
Commits on Dec 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fa66189 - Browse repository at this point
Copy the full SHA fa66189View commit details -
Configuration menu - View commit details
-
Copy full SHA for 220ec91 - Browse repository at this point
Copy the full SHA 220ec91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 328a274 - Browse repository at this point
Copy the full SHA 328a274View commit details
Commits on Dec 3, 2020
-
shorthand being on has no effect if the path starts with /_matrix
Configuration menu - View commit details
-
Copy full SHA for 06aa174 - Browse repository at this point
Copy the full SHA 06aa174View commit details -
Add tests for federated stripped room state. test only some room stat…
…e included The changes included here cover a few things: * A new testcase was added that performs federated make_knock and send_knock calls, checking that all expected stripped room state is included in the response to send_knock. * Abstracting the stripped room state checks from SyncKnockTestCase into generic functions that have been moved into FederationKnockingTestCase. We then import these into SyncKnockTestCase instead. * Two functions were created. One that sends the test state into a room, and another that takes that test state + the stripped state events received while knocking and compares them. * The abstracted function for checking state now also checks that not all state in the room is given to the knocker. For instance, we probably don't want to give widget URLs to someone knocking on a room before we've accepted them! Thus we include a "secret state event" in the room and check that the knocker does not receive it. When writing the federation tests it took quite a while for me to figure out how to get a homeserver to accept calls from another homeserver that didn't exist. To do so, I ended up mocking out the event signature and auth checking. These checks aren't relavent to this test, and are instead checked by those in Complement.
Configuration menu - View commit details
-
Copy full SHA for 8dcc9f8 - Browse repository at this point
Copy the full SHA 8dcc9f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51db6d3 - Browse repository at this point
Copy the full SHA 51db6d3View commit details -
Apply suggestions from code review
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 48bd084 - Browse repository at this point
Copy the full SHA 48bd084View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65c0478 - Browse repository at this point
Copy the full SHA 65c0478View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0353288 - Browse repository at this point
Copy the full SHA 0353288View commit details -
Replace instances of KNOCK_UNSTABLE_IDENTIFIER being used for members…
…hip and room versions
Configuration menu - View commit details
-
Copy full SHA for c9a5eb7 - Browse repository at this point
Copy the full SHA c9a5eb7View commit details -
Use a mixin instead of passing 'self' in to static methods
Unfortunately the diff here came out a lot more awful than I would've liked, but really we're just moving these two methods into a mixin class and then using that instead of the two methods separately. I also ensured that the top-level SECRET_STATE_EVENT_TYPE was used instead of creating an identical variable.
Configuration menu - View commit details
-
Copy full SHA for a718381 - Browse repository at this point
Copy the full SHA a718381View commit details -
Move KnockingStrippedStateEventHelperMixin to the top of test_knocking
Kept this change in a separate commit in order to not make the last commit's diff even more confusing.
Configuration menu - View commit details
-
Copy full SHA for fb90611 - Browse repository at this point
Copy the full SHA fb90611View commit details -
Configuration menu - View commit details
-
Copy full SHA for c074132 - Browse repository at this point
Copy the full SHA c074132View commit details
Commits on Dec 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e1ddbe2 - Browse repository at this point
Copy the full SHA e1ddbe2View commit details
Commits on Dec 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4047067 - Browse repository at this point
Copy the full SHA 4047067View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbcf963 - Browse repository at this point
Copy the full SHA fbcf963View commit details -
Configuration menu - View commit details
-
Copy full SHA for abff213 - Browse repository at this point
Copy the full SHA abff213View commit details -
Remove unnecessary homeserver setup steps
I thought these were necessary but apparently not so. They were originally cribbed from the federation catchip unit tests, and apparently not necessary for ours. I suppose because we do not hit the federation ratelimit, and the auth bypassing done via mocks in the test itself is already sufficient.
Configuration menu - View commit details
-
Copy full SHA for 5362b49 - Browse repository at this point
Copy the full SHA 5362b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 671ed9b - Browse repository at this point
Copy the full SHA 671ed9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69a820e - Browse repository at this point
Copy the full SHA 69a820eView commit details -
Fix FederationKnockingTestCase so that it no longer overrides event_a…
…uth.check for all tests We needed to disable event_auth checking for this test. However, the method in which we were doing so was disabling event_auth.check across all tests. Thus after this test ran, other unit tests failed in weird and wonderful ways. Take a different approach which acts on the homeserver created for this test, rather than mocking a file directly.
Configuration menu - View commit details
-
Copy full SHA for 6bdf465 - Browse repository at this point
Copy the full SHA 6bdf465View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b4ca64 - Browse repository at this point
Copy the full SHA 8b4ca64View commit details
Commits on Jan 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 604a4f9 - Browse repository at this point
Copy the full SHA 604a4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dffb77 - Browse repository at this point
Copy the full SHA 3dffb77View commit details
Commits on Jan 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 785c7d0 - Browse repository at this point
Copy the full SHA 785c7d0View commit details
Commits on Jan 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8cf92f6 - Browse repository at this point
Copy the full SHA 8cf92f6View commit details
Commits on Feb 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5c220df - Browse repository at this point
Copy the full SHA 5c220dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91802c2 - Browse repository at this point
Copy the full SHA 91802c2View commit details
Commits on Feb 17, 2021
-
Send a ver query parameter for make_knock
This informs the remote server of the room versions we support. If the room we're trying to knock on has a version that is not one of our supported room versions, the remote server will return an unsupported room version error. Noticed in matrix-org/matrix-spec-proposals#2403 (comment)
Configuration menu - View commit details
-
Copy full SHA for 474a38b - Browse repository at this point
Copy the full SHA 474a38bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c34de4c - Browse repository at this point
Copy the full SHA c34de4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e444e - Browse repository at this point
Copy the full SHA 09e444eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1475f2b - Browse repository at this point
Copy the full SHA 1475f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4250f50 - Browse repository at this point
Copy the full SHA 4250f50View commit details -
Configuration menu - View commit details
-
Copy full SHA for c05b150 - Browse repository at this point
Copy the full SHA c05b150View commit details
Commits on Feb 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b055a30 - Browse repository at this point
Copy the full SHA b055a30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44b5026 - Browse repository at this point
Copy the full SHA 44b5026View commit details
Commits on Mar 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5c6aee7 - Browse repository at this point
Copy the full SHA 5c6aee7View commit details
Commits on Apr 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d778460 - Browse repository at this point
Copy the full SHA d778460View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37a674d - Browse repository at this point
Copy the full SHA 37a674dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c72538 - Browse repository at this point
Copy the full SHA 6c72538View commit details -
Configuration menu - View commit details
-
Copy full SHA for 024230c - Browse repository at this point
Copy the full SHA 024230cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7f250a - Browse repository at this point
Copy the full SHA e7f250aView commit details
Commits on Apr 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e23cdf7 - Browse repository at this point
Copy the full SHA e23cdf7View commit details
Commits on Jun 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 44ce919 - Browse repository at this point
Copy the full SHA 44ce919View commit details -
Add m.room.create as an expected event type to stripped state
We added m.room.create as one of the state event types to return by default in matrix-org#9448 in order to allow inspecting the 'type' of a room (which is stored in the create event) without first needing to join a room.
Configuration menu - View commit details
-
Copy full SHA for c838fd4 - Browse repository at this point
Copy the full SHA c838fd4View commit details
Commits on Jun 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cfccaf4 - Browse repository at this point
Copy the full SHA cfccaf4View commit details -
Fix test after do_auth function rename
do_auth was renamed to _check_event_auth in matrix-org#9800.
Configuration menu - View commit details
-
Copy full SHA for 98367ba - Browse repository at this point
Copy the full SHA 98367baView commit details
Commits on Jun 8, 2021
-
Apply suggestions from code review
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ebcdd0d - Browse repository at this point
Copy the full SHA ebcdd0dView commit details -
Apply suggestions from code review
I blame the above mess on the github outage o:) Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 662fe98 - Browse repository at this point
Copy the full SHA 662fe98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7932671 - Browse repository at this point
Copy the full SHA 7932671View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d27f53 - Browse repository at this point
Copy the full SHA 5d27f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1462f - Browse repository at this point
Copy the full SHA 4d1462fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56d84e5 - Browse repository at this point
Copy the full SHA 56d84e5View commit details -
Remove room_stats_historical database alteration
room_stats_historical doesn't appear to be ever read from. See matrix-org#9602.
Configuration menu - View commit details
-
Copy full SHA for 2fa4274 - Browse repository at this point
Copy the full SHA 2fa4274View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d1b132 - Browse repository at this point
Copy the full SHA 3d1b132View commit details -
check_sigs_and_hashes -> check_sigs_and_hash
another renamed method
Configuration menu - View commit details
-
Copy full SHA for 8f24db5 - Browse repository at this point
Copy the full SHA 8f24db5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01457e6 - Browse repository at this point
Copy the full SHA 01457e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1576f23 - Browse repository at this point
Copy the full SHA 1576f23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 813fc24 - Browse repository at this point
Copy the full SHA 813fc24View commit details -
Room version checks for knocking-related actions
This commit adds checks for the room version in: * Building client and federation servlets * Building membership events * Attempting to knock on a room over federation * In the event auth rules themselves
Configuration menu - View commit details
-
Copy full SHA for bea438e - Browse repository at this point
Copy the full SHA bea438eView commit details
Commits on Jun 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 277e952 - Browse repository at this point
Copy the full SHA 277e952View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f73e32 - Browse repository at this point
Copy the full SHA 2f73e32View commit details -
Remove try/except on KeyError for query parameter parsing
This was no longer needed after switching to parse_strings_from_args.
Configuration menu - View commit details
-
Copy full SHA for 1db05ad - Browse repository at this point
Copy the full SHA 1db05adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c034ef - Browse repository at this point
Copy the full SHA 9c034efView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2bd345 - Browse repository at this point
Copy the full SHA a2bd345View commit details -
Add knocked_members column back to room_stats_historical
This table's usefulness is debatable (see matrix-org#9602), but is currently used by both the codebase and tests. Thus for now I'm leaving it in, but it may well be removed in a future PR.
Configuration menu - View commit details
-
Copy full SHA for 0294248 - Browse repository at this point
Copy the full SHA 0294248View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5788b8 - Browse repository at this point
Copy the full SHA c5788b8View commit details -
Ensure we check that we currently support the desired room version du…
…ring make_knock We may not if we create a knock room when knocking is enabled, then disabling knocking. We don't want to allow knocks in that case.
Configuration menu - View commit details
-
Copy full SHA for 15c23c4 - Browse repository at this point
Copy the full SHA 15c23c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for da85886 - Browse repository at this point
Copy the full SHA da85886View commit details