MatrixSynapse/changelog.d
David Robertson 510d4b06e7
Handle malformed values of `notification.room` in power level events (#14942)
* Better test for bad values in power levels events

The previous test only checked that Synapse didn't raise an exception,
but didn't check that we had correctly interpreted the value of the
dodgy power level.

It also conflated two things: bad room notification levels, and bad user
levels. There _is_ logic for converting the latter to integers, but we
should test it separately.

* Check we ignore types that don't convert to int

* Handle `None` values in `notifications.room`

* Changelog

* Also test that bad values are rejected by event auth

* Docstring

* linter scripttttttttt
2023-01-30 21:29:30 +00:00
..
.gitignore
14823.feature Implement MSC3952: Intentional mentions (#14823) 2023-01-27 10:16:21 -05:00
14866.bugfix Fix paginating /relations with a live token (#14866) 2023-01-26 13:24:15 -05:00
14879.misc Add missing type hints in tests (#14879) 2023-01-26 14:45:24 -05:00
14880.bugfix
14886.misc Fix type hints in typing edu unit tests (#14886) 2023-01-26 10:15:50 +00:00
14887.misc
14904.misc
14916.misc
14920.misc
14922.misc Use StrCollection in place of Collection[str] in (most) handlers code. (#14922) 2023-01-26 12:31:58 -05:00
14927.misc Use an enum for direction. (#14927) 2023-01-27 07:27:55 -05:00
14935.misc Bump ijson from 3.1.4 to 3.2.0.post0 (#14935) 2023-01-30 10:31:05 +00:00
14936.misc Bump types-pyyaml from 6.0.12.2 to 6.0.12.3 (#14936) 2023-01-30 10:32:15 +00:00
14937.misc Bump types-jsonschema from 4.17.0.2 to 4.17.0.3 (#14937) 2023-01-30 10:32:27 +00:00
14938.misc Bump types-pillow from 9.4.0.3 to 9.4.0.5 (#14938) 2023-01-30 10:32:51 +00:00
14942.bugfix Handle malformed values of `notification.room` in power level events (#14942) 2023-01-30 21:29:30 +00:00