dendrite/federationapi/routing
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
..
backfill.go Configuration format v1 (#1230) 2020-08-10 14:18:04 +01:00
devices.go Use [] not null when there are no devices (#1480) 2020-10-06 11:05:15 +01:00
eventauth.go Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
events.go Fix room checks for /state and /state_ids (#1155) 2020-06-23 11:47:48 +01:00
invite.go Return the correct error codes for v6 invite JSON violations (#1440) 2020-09-24 17:16:59 +01:00
join.go KindOld (#1531) 2020-10-19 14:59:13 +01:00
keys.go Remove TLS fingerprints, improve perspective unmarshal handling (#1452) 2020-09-29 17:08:18 +01:00
leave.go KindOld (#1531) 2020-10-19 14:59:13 +01:00
missingevents.go Ignore depth in federation API (#1451) 2020-09-29 14:07:59 +01:00
profile.go Configuration format v1 (#1230) 2020-08-10 14:18:04 +01:00
publicrooms.go Remove QueryBulkStateContent from current state server (#1404) 2020-09-07 12:38:09 +01:00
query.go Configuration format v1 (#1230) 2020-08-10 14:18:04 +01:00
routing.go Initial notary support (#1436) 2020-09-22 14:40:54 +01:00
send.go KindOld (#1531) 2020-10-19 14:59:13 +01:00
send_test.go Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00
state.go Fix room checks for /state and /state_ids (#1155) 2020-06-23 11:47:48 +01:00
threepid.go KindOld (#1531) 2020-10-19 14:59:13 +01:00
version.go Version imprint (#1383) 2020-09-02 16:18:08 +01:00