synapse/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 Fix a bug in the send_local_online_presence_to module API (#14880) 2023-01-25 21:34:37 +00:00
14886.misc Fix type hints in typing edu unit tests (#14886) 2023-01-26 10:15:50 +00:00
14887.misc Fix type hints in knocking tests. (#14887) 2023-01-25 14:38:20 -05:00
14904.misc Add missing type hints for tests.events. (#14904) 2023-01-25 15:14:03 -05:00
14916.misc Document how to handle Dependabot pull requests. (#14916) 2023-01-25 14:49:37 -05:00
14920.misc Fix typo in release script (#14920) 2023-01-26 13:27:27 +00:00
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