dendrite/clientapi/routing
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
..
account_data.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
admin_whois.go Add account type (#2171) 2022-02-16 18:55:38 +01:00
aliases.go
auth_fallback.go Remember parameters on registration (#2225) 2022-02-25 14:33:02 +01:00
capabilities.go
createroom.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
deactivate.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
device.go Only allow device deletion from session UIA was initiated from (#2235) 2022-03-01 16:39:57 +00:00
directory_public_test.go
directory_public.go "Enable" remote room search (#2099) 2022-01-28 11:07:47 +00:00
directory.go Fix appservice username check (#2223) 2022-03-07 18:14:08 +01:00
getevent.go
joinroom.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
key_backup.go Add missing HTTP mode for userapi (#1982) 2021-12-03 17:18:35 +00:00
key_crosssigning.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
keys.go
leaveroom.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
login.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
logout.go
membership.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
memberships.go
notification.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
openid.go
password.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
peekroom.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
profile.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
pusher.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
pushrules.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
receipt.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
redaction.go Roomserver/federation input refactor (#2104) 2022-01-27 14:29:14 +00:00
register_secret_test.go
register_secret.go
register_test.go Give more time to TestSessionCleanUp tests 2022-03-03 12:37:12 +00:00
register.go Allow stored session parameters to be overwritten in the registration request (#2309) 2022-03-28 10:47:35 +01:00
room_tagging.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
routing.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00
sendevent.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00
sendtodevice.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
sendtyping.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
server_notices_test.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
server_notices.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
state.go Remote banned user is kicked and may not rejoin until unbanned (#2216) 2022-02-22 15:50:04 +00:00
threepid.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
upgrade_room.go Added /upgrade endpoint (#2307) 2022-04-05 10:04:08 +01:00
userdirectory.go User directory for nearby Pinecone peers (P2P demo) (#2311) 2022-03-28 16:25:26 +01:00
voip.go
whoami.go Update /whoami response to match Spec v1.2 (#2201) 2022-02-18 11:28:02 +00:00