conduit/tests/sytest/sytest-whitelist

129 lines
5.9 KiB
Text
Raw Normal View History

/joined_members return joined members
/joined_rooms returns only joined rooms
3pid invite join valid signature but revoked keys are rejected
3pid invite join valid signature but unreachable ID server are rejected
3pid invite join with wrong but valid signature are rejected
AS cannot create users outside its own namespace
After deactivating account, can't log in with an email
2020-07-27 09:19:14 +03:00
Alias creators can delete alias with no ops
Alias creators can delete canonical alias with no ops
Alternative server names do not cause a routing loop
Both GET and PUT work
Can add account data
Can add tag
Can create filter
2020-07-27 09:19:14 +03:00
Can delete canonical alias
Can invite users to invite-only rooms
Can list tags for a room
Can logout all devices
2020-07-27 09:19:14 +03:00
Can logout current device
2020-08-24 11:45:57 +03:00
Can re-join room if re-invited
Can read configuration endpoint
2020-07-27 09:19:14 +03:00
Can recv a device message using /sync
Can recv device messages until they are acknowledged
Can remove tag
Can send a message directly to a device using PUT /sendToDevice
2020-07-27 09:19:14 +03:00
Can send a to-device message to two users which both receive it using /sync
Can send messages with a wildcard device id
Can send messages with a wildcard device id to two devices
Can sync
Can upload with ASCII file name
Can upload with Unicode file name
Can upload without a file name
Changing the actions of an unknown default rule fails with 404
Changing the actions of an unknown rule fails with 404
Checking local federation server
2020-07-27 09:19:14 +03:00
Current state appears in timeline in private history
Current state appears in timeline in private history with many messages before
Deleted tags appear in an incremental v2 /sync
Deleting a non-existent alias should return a 404
Device messages wake up /sync
2020-08-25 14:24:38 +03:00
Device messages with the same txn_id are deduplicated
2020-07-27 09:19:14 +03:00
Events come down the correct room
GET /device/{deviceId}
GET /device/{deviceId} gives a 404 for unknown devices
GET /devices
GET /events with negative 'limit'
GET /events with non-numeric 'limit'
GET /events with non-numeric 'timeout'
GET /joined_rooms lists newly-created room
GET /login yields a set of flows
GET /media/r0/download can fetch the value again
2020-07-27 09:19:14 +03:00
GET /profile/:user_id/avatar_url publicly accessible
GET /profile/:user_id/displayname publicly accessible
GET /publicRooms lists newly-created room
2020-05-06 16:36:44 +03:00
GET /register yields a set of flows
GET /rooms/:room_id/state fetches entire room state
GET /rooms/:room_id/state/m.room.member/:user_id fetches my membership
Getting push rules doesn't corrupt the cache SYN-390
2020-07-27 09:19:14 +03:00
Newly updated tags appear in an incremental v2 /sync
POST /createRoom makes a private room
POST /createRoom makes a private room with invites
POST /join/:room_id can join a room
POST /login as non-existing user is rejected
POST /login can log in as a user
POST /login can log in as a user with just the local part of the id
POST /login returns the same device_id as that in the request
POST /login wrong password is rejected
POST /media/r0/upload can create an upload
2020-05-06 16:36:44 +03:00
POST /register can create a user
POST /register downcases capitals in usernames
POST /register rejects registration of usernames with '!'
POST /register rejects registration of usernames with '"'
POST /register rejects registration of usernames with '''
2020-05-06 16:36:44 +03:00
POST /register rejects registration of usernames with ':'
POST /register rejects registration of usernames with '?'
POST /register rejects registration of usernames with '@'
POST /register rejects registration of usernames with '['
POST /register rejects registration of usernames with '\'
POST /register rejects registration of usernames with '\n'
2020-05-06 16:36:44 +03:00
POST /register rejects registration of usernames with ']'
POST /register rejects registration of usernames with '{'
POST /register rejects registration of usernames with '|'
POST /register rejects registration of usernames with '}'
POST /register rejects registration of usernames with '£'
POST /register rejects registration of usernames with 'é'
POST /register returns the same device_id as that in the request
POST /rooms/:room_id/ban can ban a user
POST /rooms/:room_id/invite can send an invite
2020-05-06 16:36:44 +03:00
POST /rooms/:room_id/join can join a room
POST /rooms/:room_id/leave can leave a room
2020-07-27 09:19:14 +03:00
POST /rooms/:room_id/state/m.room.name sets name
POST /rooms/:room_id/state/m.room.topic sets topic
2020-08-06 14:21:53 +03:00
POST /rooms/:room_id/upgrade can upgrade a room version
POSTed media can be thumbnailed
PUT /device/{deviceId} gives a 404 for unknown devices
PUT /device/{deviceId} updates device fields
PUT /directory/room/:room_alias creates alias
2020-07-27 09:19:14 +03:00
PUT /profile/:user_id/avatar_url sets my avatar
PUT /profile/:user_id/displayname sets my name
2020-05-06 16:36:44 +03:00
PUT /rooms/:room_id/state/m.room.power_levels can set levels
PUT power_levels should not explode if the old power levels were empty
2020-07-27 09:19:14 +03:00
Push rules come down in an initial /sync
Read markers appear in incremental v2 /sync
Read markers appear in initial v2 /sync
Read markers can be updated
Regular users can add and delete aliases in the default room configuration
Room creation reports m.room.create to myself
Room creation reports m.room.member to myself
Rooms a user is invited to appear in an incremental sync
Rooms a user is invited to appear in an initial sync
Setting room topic reports m.room.topic to myself
2020-05-06 16:36:44 +03:00
Should reject keys claiming to belong to a different user
2020-07-27 09:19:14 +03:00
Tags appear in an initial v2 /sync
2020-05-06 16:36:44 +03:00
Trying to get push rules with unknown rule_id fails with 404
2020-07-27 09:19:14 +03:00
Typing events appear in gapped sync
Typing events appear in incremental sync
Typing events appear in initial sync
Uninvited users cannot join the room
2020-06-03 15:16:56 +03:00
User appears in user directory
User directory correctly update on display name change
2020-06-03 15:16:56 +03:00
User in dir while user still shares private rooms
User in shared private room does appear in user directory
2020-07-27 09:19:14 +03:00
User is offline if they set_presence=offline in their sync
Users with sufficient power-level can delete other's aliases
Version responds 200 OK with valid structure
2020-07-28 23:21:57 +03:00
We should see our own leave event when rejecting an invite, even if history_visibility is restricted (riot-web/3462)
2020-07-27 09:19:14 +03:00
Wildcard device messages wake up /sync
query for user with no keys returns empty key dict