dendrite/roomserver/api
David Spenler 2defc4249d
Added /upgrade endpoint (#2307)
* Added /upgrade endpoint

* fix

* Fix lints

* More lint lifex

* Move room upgrading to the roomserver

* Remove extraneous arg

* Fix HTTP API for `PerformUpgrade`

* Reduce number of API calls in `generateInitialEvents`, preserve membership fields

* Refactor `generateInitialEvents` to preserve old state events for all but the essential room setup events

* Handle ban events in the state transfer

* Refactor and comment `createTemporaryPowerLevels`

* Only send two power levels if we needed to override the levels, preserve miscellaneous fields in the create event

* Fix copyrights

* Review comments @S7evinK

* Update sytest whitelist

* Specify empty state keys, use `EventLevel`, remove unnecessary check on state copy

* Add comment to `restrictOldRoomPowerLevels`

* Ensure canonical aliases exist before clearing

* Copy invites as well as bans

* Fix return error on `m.room.tombstone` handling in client API

* Relax checks for well-formedness of join rules, membership event etc

Co-authored-by: Alex Kursell <alex@awk.run>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Co-authored-by: kegsay <kegan@matrix.org>
2022-04-05 10:04:08 +01:00
..
alias_test.go Fix lint errors 2022-03-24 10:03:22 +00:00
alias.go Fix lint errors 2022-03-24 10:03:22 +00:00
api_trace.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00
api.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00
input.go Improve roomserver logging 2022-01-31 15:33:00 +00:00
output.go Don't send adds_state_events in roomserver output events anymore (#2258) 2022-03-07 17:17:16 +00:00
perform.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00
query.go MSC2946: Spaces Summary (round 2) (#2232) 2022-03-01 13:40:07 +00:00
wrapper.go Update Events call-sites which now don't return an error, update parsedRespState to sort (#2227) 2022-02-28 14:51:40 +00:00