dendrite/clientapi/routing
Neil Alexander 38bed30b41
Restrict username length properly (#2676)
This fixes #2674 by fixing the username check to comply with the [spec appendices](https://spec.matrix.org/v1.3/appendices/#user-identifiers):

> The length of a user ID, including the @ sigil and the domain, MUST NOT exceed 255 characters.
2022-08-26 09:56:41 +01:00
..
account_data.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
admin.go Use /admin/v1/register in create-account (#2484) 2022-08-12 12:00:07 +01:00
admin_whois.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
aliases.go Handle state before, send history visibility in output (#2532) 2022-06-13 15:11:10 +01:00
auth_fallback.go Remember parameters on registration (#2225) 2022-02-25 14:33:02 +01:00
capabilities.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
createroom.go Use is_direct flag from /createRoom, update stripped state (#2644) 2022-08-16 11:55:06 +01:00
deactivate.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
device.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
directory.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
directory_public.go Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
directory_public_test.go Implement ExtraPublicRoomsProvider for p2p demos (#1180) 2020-07-03 12:59:00 +01:00
getevent.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
joinroom.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
key_backup.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
key_crosssigning.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
keys.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
leaveroom.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
login.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
logout.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
membership.go Add RoomExists flag to QueryMembershipForUser (#2450) 2022-05-11 11:29:23 +01:00
memberships.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
notification.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
openid.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
password.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
peekroom.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
presence.go Simplify presence stringification (should help with vector-im/element-android#5712) 2022-04-07 10:10:28 +01:00
profile.go Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00
pusher.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
pushrules.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
receipt.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
redaction.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
register.go Restrict username length properly (#2676) 2022-08-26 09:56:41 +01:00
register_secret.go - Removed double imports (#1989) 2021-09-08 17:31:03 +01:00
register_secret_test.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
register_test.go Give more time to TestSessionCleanUp tests 2022-03-03 12:37:12 +00:00
room_tagging.go Make the User API responsible for sending account data output events (#2592) 2022-07-25 17:30:07 +01:00
routing.go Restrict username length properly (#2676) 2022-08-26 09:56:41 +01:00
sendevent.go Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
sendtodevice.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
sendtyping.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
server_notices.go Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00
server_notices_test.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
state.go Add RoomExists flag to QueryMembershipForUser (#2450) 2022-05-11 11:29:23 +01:00
threepid.go Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
upgrade_room.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
userdirectory.go Show/hide users in user directory (#2637) 2022-08-12 13:33:31 +02:00
voip.go Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
whoami.go Update /whoami response to match Spec v1.2 (#2201) 2022-02-18 11:28:02 +00:00