- Jan 29, 2019
-
-
Erik Johnston authored
Refactor event building into EventBuilder
-
Richard van der Hoff authored
-
Erik Johnston authored
Fixup calls to `comput_event_signature`
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
I got fed up with always adding '@unittest.DEBUG' every time I needed to debug a test.
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
We currently pass FrozenEvent instead of `dict` to `compute_event_signature`, which works by accident due to `dict(event)` producing the correct result. This fixes PR #4493 commit 855a1510
-
Erik Johnston authored
Implement fallback for V2 invite API
-
Erik Johnston authored
-
Erik Johnston authored
`.user_id` is proxed to `.sender` in FrozenEvent, so this has no functional change
-
Erik Johnston authored
-
Erik Johnston authored
This is so that everything is done in one place, making it easier to change the event format based on room version
-
Erik Johnston authored
-
Amber Brown authored
-
Erik Johnston authored
Split up event validation between event and builder
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
This bug was introduced in PR #4470, commit 678a92cb
-
Amber Brown authored
* fix obvious problem :| * changelog
-
Erik Johnston authored
Refactor event signing to work on dicts
-
Richard van der Hoff authored
two reasons for this. One, it saves a bunch of boilerplate. Two, it squashes unicode to IDNA-in-a-`str` (even on python 3) in a way that it turns out we rely on to give consistent behaviour between python 2 and 3.
-
- Jan 28, 2019
-
-
Erik Johnston authored
Pass through room version to event auth
-
Erik Johnston authored
-
Erik Johnston authored
If the room version is either 1 or 2 then a server should retry failed `/v2/invite` requests with the v1 API
-
Erik Johnston authored
-
Amber Brown authored
* load cert * changelog * fix
-
Erik Johnston authored
-
Erik Johnston authored
The validator was being run on the EventBuilder objects, and so the validator only checked a subset of fields. With the upcoming EventBuilder refactor even fewer fields will be there to validate. To get around this we split the validation into those that can be run against an EventBuilder and those run against a fully fledged event.
-
Erik Johnston authored
-
Erik Johnston authored
This is in preparation for making EventBuilder format agnostic, which means event signing should be done against the event dict rather than the EventBuilder object.
-
Amber Brown authored
-
Andrew Morgan authored
Migrate direct message and tag state on room upgrade
-
Andrew Morgan authored
-
Andrew Morgan authored
-
Andrew Morgan authored
-
Aaron Raimist authored
* Remove --process-dependency-links from UPGRADE.rst Signed-off-by:
Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by:
Aaron Raimist <aaron@raim.ist>
-
Richard van der Hoff authored
Refactoring in MatrixFederationAgent
-