summary refs log tree commit diff
path: root/synapse/events/validator.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't assert an event must have an event IDErik Johnston2019-01-291-2/+3
|
* Remove duplicate checksErik Johnston2019-01-291-14/+0
|
* Fix up error messagesErik Johnston2019-01-291-2/+2
|
* Fold validate into validate_newErik Johnston2019-01-291-16/+11
|
* Split up event validation between event and builderErik Johnston2019-01-281-20/+53
| | | | | | | | | 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.
* run isortAmber Brown2018-07-091-4/+4
|
* Replace some more comparisons with sixAdrian Tschira2018-05-191-2/+4
| | | | | | plus a bonus b"" string I missed last time Signed-off-by: Adrian Tschira <nota@notafile.com>
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Validate message, topic and name event contentsErik Johnston2014-12-121-0/+21
|
* Add some basic event validationErik Johnston2014-12-101-8/+21
|
* Add PEP8 newlinesErik Johnston2014-12-091-1/+1
|
* WIP for new way of managing events.Erik Johnston2014-12-031-0/+58