dendrite/roomserver/internal/perform
S7evinK eccd0d2c1b
Implement forgetting about rooms (#1572)
* Add basic storage methods

* Add internal api handler

* Add check for forgotten room

* Add /rooms/{roomID}/forget endpoint

* Add missing rsAPI method

* Remove unused parameters

* Add passing tests

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Add missing file

* Add postgres migration

* Add sqlite migration

* Use Forgetter to forget room

* Remove empty line

* Update HTTP status codes

It looks like the spec calls for these to be 400, rather than 403: https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-rooms-roomid-forget

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-11-05 10:19:23 +00:00
..
perform_backfill.go Optimise servers to backfill from (#1485) 2020-10-06 18:09:02 +01:00
perform_forget.go Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00
perform_invite.go Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00
perform_join.go Fetch missing auth events, implement QueryMissingAuthPrevEvents, try other servers in room for /event and /get_missing_events (#1450) 2020-09-29 13:40:29 +01:00
perform_leave.go Implement rejected events (#1426) 2020-09-16 13:00:52 +01:00
perform_peek.go Peeking via MSC2753 (#1370) 2020-09-10 14:39:18 +01:00
perform_publish.go Add Queryer and Inputer and factor out more RSAPI stuff (#1382) 2020-09-02 17:13:15 +01:00