From a47f4c4c4649fe21dcc11ebe2f89b216541a7dea Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 4 Jul 2020 19:39:04 -0700 Subject: [PATCH] ! admin update removing and ignoring old + new things respectively --- .gitignore | 2 ++ server/src/auth.rs | 1 - server/src/main.rs | 1 - server/todo.md | 25 ------------------------- 4 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 server/todo.md diff --git a/.gitignore b/.gitignore index 1430399..794e997 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ *swp static/css/ +server/invites-manager/bin/ +server/invites-manager/lib/ \ No newline at end of file diff --git a/server/src/auth.rs b/server/src/auth.rs index 93a1080..255f33a 100644 --- a/server/src/auth.rs +++ b/server/src/auth.rs @@ -1,6 +1,5 @@ use mysql_async::{Conn, Pool}; use mysql_async::prelude::{params, Queryable}; -use std::collections::HashMap; use crate::routes; diff --git a/server/src/main.rs b/server/src/main.rs index e222398..aa7c66f 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -6,7 +6,6 @@ extern crate base64; use std::net::SocketAddr; use std::convert::Infallible; // our main dispatcher basically never fails hence why we use this use std::env; -use std::collections::HashMap; use tokio; use hyper::{ diff --git a/server/todo.md b/server/todo.md deleted file mode 100644 index 4de5ffe..0000000 --- a/server/todo.md +++ /dev/null @@ -1,25 +0,0 @@ -# Testing LULW - -frontend js needs some testing if it's to be guaranteed to work at all - - -# Creation of users - -this part we'll probably use an sql db or something that couples easily with rocket - keep the user data designi as stupid simple as possible to enforce both security by surface and haxor simplicity - -Checking for users that are online needs to happen behind an auth wall - - -# Auth - -* Modules should serve as a collection of authentication payloads and functions to verify that data from the client is correct - - -# Webpages - -Starting to think that we shouldn't even bother with this stuff tbh - -# Things to depracate - -* webpages - as they're just not important to the core utility of freechat at the moment