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 Various alias fixes (#1934) 2021-07-21 16:53:50 +01:00
auth_fallback.go Remember parameters on registration (#2225) 2022-02-25 14:33:02 +01:00
capabilities.go Finish implementing the capabilities endpoint (#1449) 2020-09-29 10:06:59 +01:00
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 Implement ExtraPublicRoomsProvider for p2p demos (#1180) 2020-07-03 12:59:00 +01:00
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 Send events to appservice based on room membership (#1680) 2021-03-03 16:27:44 +00:00
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 Cross-signing groundwork (#1953) 2021-08-04 17:56:29 +01:00
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 - Removed double imports (#1989) 2021-09-08 17:31:03 +01:00
membership.go Refactor appservice & client API to use userapi internal (#2290) 2022-03-24 22:45:44 +01:00
memberships.go Don't send null in joined_rooms response (#1659) 2020-12-18 13:33:08 +00:00
notification.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
openid.go Implement OpenID module (#599) (#1812) 2021-04-07 13:26:20 +01:00
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 Implement /_synapse/admin/v1/register (#1911) 2021-07-09 16:52:31 +01:00
register_secret.go - Removed double imports (#1989) 2021-09-08 17:31:03 +01:00
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 Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
whoami.go Update /whoami response to match Spec v1.2 (#2201) 2022-02-18 11:28:02 +00:00