From 54ad1fbed9b8348edc6399c48da1d441641553bd Mon Sep 17 00:00:00 2001 From: timokoesters Date: Fri, 26 Jun 2020 16:15:18 +0200 Subject: [PATCH] fix: CI --- src/client_server.rs | 3 --- src/database/users.rs | 5 ----- sytest/sytest-whitelist | 12 ------------ 3 files changed, 20 deletions(-) diff --git a/src/client_server.rs b/src/client_server.rs index 6a9ac772..49692a20 100644 --- a/src/client_server.rs +++ b/src/client_server.rs @@ -707,8 +707,6 @@ pub fn upload_keys_route( if db.users.get_device_keys(user_id, device_id)?.is_none() { db.users .add_device_keys(user_id, device_id, device_keys, &db.globals)?; - } else { - println!("Key from {} was skipped: {:?}", user_id, device_keys); } } @@ -3125,4 +3123,3 @@ pub fn options_route( ) -> ConduitResult { Ok(send_event_to_device::Response.into()) } - diff --git a/src/database/users.rs b/src/database/users.rs index 6f905377..9f4eb406 100644 --- a/src/database/users.rs +++ b/src/database/users.rs @@ -472,11 +472,6 @@ impl Users { sender_id: &UserId, globals: &super::globals::Globals, ) -> Result<()> { - println!( - "Adding signatures on {}'s {} by {}: {}->{}", - target_id, key_id, sender_id, signature.0, signature.1 - ); - let mut key = target_id.to_string().as_bytes().to_vec(); key.push(0xff); key.extend_from_slice(key_id.to_string().as_bytes()); diff --git a/sytest/sytest-whitelist b/sytest/sytest-whitelist index a77c546f..3642c44e 100644 --- a/sytest/sytest-whitelist +++ b/sytest/sytest-whitelist @@ -1,4 +1,3 @@ -# Register endpoints implemented GET /register yields a set of flows POST /register can create a user POST /register downcases capitals in usernames @@ -17,14 +16,12 @@ POST /register rejects registration of usernames with '£' POST /register rejects registration of usernames with 'é' POST /register rejects registration of usernames with '\n' POST /register rejects registration of usernames with ''' -# Login endpoints implemented GET /login yields a set of flows POST /login can log in as a user POST /login returns the same device_id as that in the request POST /login can log in as a user with just the local part of the id POST /login as non-existing user is rejected POST /login wrong password is rejected -# Room creation endpoints implemented POST /createRoom makes a private room POST /createRoom makes a private room with invites GET /rooms/:room_id/state/m.room.member/:user_id fetches my membership @@ -49,15 +46,6 @@ Can read configuration endpoint AS cannot create users outside its own namespace Changing the actions of an unknown default rule fails with 404 Changing the actions of an unknown rule fails with 404 -Trying to add push rule with invalid scope fails with 400 -Trying to add push rule with invalid template fails with 400 -Trying to add push rule with rule_id with slashes fails with 400 -Trying to add push rule with override rule without conditions fails with 400 -Trying to add push rule with underride rule without conditions fails with 400 -Trying to add push rule with condition without kind fails with 400 -Trying to add push rule with content rule without pattern fails with 400 -Trying to add push rule with no actions fails with 400 -Trying to add push rule with invalid action fails with 400 Trying to get push rules with unknown rule_id fails with 404 GET /events with non-numeric 'limit' GET /events with negative 'limit'