summary refs log tree commit diff
path: root/tests/test_event_auth.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-10before fulfilling a group invite,check if user is already joined/invited (#3436)Michael Telatynski2-4/+17
Fixes vector-im/riot-web#5645
2019-10-10send 404 as http-status when filter-id is unknown to the server (#2380)krombel4-23/+33
This fixed the weirdness of 400 vs 404 as http status code in the case the filter id is not known by the server. As e.g. matrix-js-sdk expects 404 to catch this situation this leads to unwanted behaviour.
2019-10-10Add snapcraft packaging information (#6084)James3-0/+24
2019-10-10Fix races in room stats (and other) updates. (#6187)Richard van der Hoff7-25/+63
Hopefully this will fix the occasional failures we were seeing in the room directory. The problem was that events are not necessarily persisted (and `current_state_delta_stream` updated) in the same order as their stream_id. So for instance current_state_delta 9 might be persisted *before* current_state_delta 8. Then, when the room stats saw stream_id 9, it assumed it had done everything up to 9, and never came back to do stream_id 8. We can solve this easily by only processing up to the stream_id where we know all events have been persisted.
2019-10-10Rewrite the user_filter migration again (#6184)Richard van der Hoff2-26/+33
you can't plausibly ALTER TABLE in sqlite, so we create the new table with the right schema to start with.
2019-10-10Move tag/push rules room upgrade checking ealier (#6155)Andrew Morgan2-18/+45
It turns out that _local_membership_update doesn't run when you join a new, remote room. It only runs if you're joining a room that your server already knows about. This would explain #4703 and #5295 and why the transfer would work in testing and some rooms, but not others. This would especially hit single-user homeservers. The check has been moved to right after the room has been joined, and works much more reliably. (Though it may still be a bit awkward of a place).
2019-10-10Refactor HomeserverConfig so it can be typechecked (#6137)Amber Brown37-94/+415
2019-10-09Update changelog.d/6185.bugfixErik Johnston1-1/+1