smolchange

reer
This commit is contained in:
Malloc of Kuzkycyziklistan 2017-09-04 23:24:40 -05:00
parent 4a9bc104dc
commit 4c6ba9a572
6 changed files with 14 additions and 5 deletions

View file

@ -1,6 +1,6 @@
// feature checking trashcode (c) obrado 1989 // feature checking trashcode (c) obrado 1989
window.onload = function() { window.addEventListener("load", function() {
var support = { var support = {
anim: true, anim: true,
canvas: true, canvas: true,
@ -57,4 +57,4 @@ window.onload = function() {
} }
Entrypoint.start(); Entrypoint.start();
} });

View file

@ -8,7 +8,7 @@ var register_button;
var login; var login;
var register; var register;
var create; var create;
window.onload = function () { window.addEventListener("load", function () {
// Define var's for transition; // Define var's for transition;
login_header = document.getElementById("loginstration-header"); login_header = document.getElementById("loginstration-header");
@ -19,7 +19,7 @@ window.onload = function () {
create = document.getElementById("register-button-submit"); create = document.getElementById("register-button-submit");
register_button.addEventListener("click" , prepareRegister); register_button.addEventListener("click" , prepareRegister);
create.addEventListener("click" , prepareLogin); create.addEventListener("click" , prepareLogin);
}; });
function prepareRegister(){ function prepareRegister(){
login_header.classList.remove("displayYes"); login_header.classList.remove("displayYes");

View file

@ -102,6 +102,7 @@ body {
height:25px; height:25px;
font-size: 20px; font-size: 20px;
background: #000; background: #000;
margin-bottom:25px;
padding:10px; padding:10px;
} }
@ -113,6 +114,7 @@ body {
font-size: 20px; font-size: 20px;
background: #000; background: #000;
padding:10px; padding:10px;
margin-bottom:25px;
border: 1px solid white; border: 1px solid white;
} }
@ -150,6 +152,7 @@ body {
width: 300px; width: 300px;
height:25px; height:25px;
font-size: 20px; font-size: 20px;
margin-bottom:25px;
background: #000; background: #000;
padding:10px; padding:10px;
border: 1px solid white; border: 1px solid white;
@ -161,6 +164,7 @@ body {
color: yellow; color: yellow;
width: 300px; width: 300px;
height:25px; height:25px;
margin-bottom:25px;
font-size: 20px; font-size: 20px;
background: #000; background: #000;
padding:10px; padding:10px;
@ -174,6 +178,7 @@ body {
font-size: 20px; font-size: 20px;
background: #000; background: #000;
padding:10px; padding:10px;
margin-bottom:25px;
border: 1px solid white; border: 1px solid white;
} }

View file

@ -13,6 +13,9 @@ namespace SockScape.DAL {
[Required, MaxLength(16)] [Required, MaxLength(16)]
public string Username { get; set; } public string Username { get; set; }
[Required, MaxLength(256)]
public string Email { get; set; }
[Required] [Required]
public byte[] Password { get; set; } public byte[] Password { get; set; }

View file

@ -45,7 +45,7 @@ namespace Kneesocks {
while(Started) { while(Started) {
if(Socket.Pending()) { if(Socket.Pending()) {
var templatedConnection = new T() { var templatedConnection = new T {
Server = this Server = this
}; };
templatedConnection.Initialize(Socket.AcceptTcpClient()); templatedConnection.Initialize(Socket.AcceptTcpClient());

View file

@ -11,6 +11,7 @@ namespace SockScape {
class MasterConnection : Connection { class MasterConnection : Connection {
private Key Key; private Key Key;
public Cipher Encryptor { get; private set; } public Cipher Encryptor { get; private set; }
protected override void OnOpen() { protected override void OnOpen() {
Key = new Key(); Key = new Key();