dendrite/roomserver/internal/perform
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
..
perform_backfill.go Try federation when backfill fails to find events in the database (#2113) 2022-01-27 15:52:32 +00:00
perform_forget.go Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00
perform_inbound_peek.go Roomserver/federation input refactor (#2104) 2022-01-27 14:29:14 +00:00
perform_invite.go Various bug fixes and tweaks around invites and membership 2022-03-17 17:05:21 +00:00
perform_join.go Return ErrRoomNoExists if insufficient state is available for a buildEvent to succeed when joining a room (#2210) 2022-02-21 16:22:29 +00:00
perform_leave.go Update database when rejecting federated invite (#2300) 2022-03-24 22:13:19 +01:00
perform_peek.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
perform_publish.go Add Queryer and Inputer and factor out more RSAPI stuff (#1382) 2020-09-02 17:13:15 +01:00
perform_unpeek.go Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
perform_upgrade.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00