From d5134d681d8f3781ca0fc7574cf13af5832cf43a Mon Sep 17 00:00:00 2001 From: Francis Veilleux-Gaboury Date: Tue, 28 Jul 2015 11:30:06 -0400 Subject: [PATCH 1/2] Update login.html Rudimentary connection to websocket.org to test the connection test --- login/login.html | 147 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 119 insertions(+), 28 deletions(-) diff --git a/login/login.html b/login/login.html index 94eedac..78ff015 100644 --- a/login/login.html +++ b/login/login.html @@ -1,32 +1,123 @@ - - Cardshifter -- Login - - - - -
- Server: - + + + Cardshifter -- Login + + + + + +

Cardshifter login

+ + Server: + +
+
+ Other Server: +
-
- Other Server: - -
-
- Username: - -
- Is secure server: - -
- - - - +
+ Username: + +
Is secure server: + +
+ Test message to server (for testing only): + +
+ + + + + + + + + + + +
+ + + + + From 37099f12043f54c460ac6e1b34b3b44ea57e8473 Mon Sep 17 00:00:00 2001 From: Francis Veilleux-Gaboury Date: Tue, 28 Jul 2015 17:49:51 -0400 Subject: [PATCH 2/2] Issue #3 - Added a rudimentary websocket connection test The connection test appears to be working correctly. I added a ping to websocket.org to test the test, and also tested against Cardshifter server running locally. Local connection raised `java.lang.ArrayIndexOutOfBoundsException` on server side, but maintained the connection until I shut down the server. --- login/login.html | 91 ++++++++++++++++++++++++++++++------------------ 1 file changed, 57 insertions(+), 34 deletions(-) diff --git a/login/login.html b/login/login.html index 78ff015..b4d73c9 100644 --- a/login/login.html +++ b/login/login.html @@ -9,64 +9,87 @@

Cardshifter login

-
- Server: - + + +
- Other Server: - + +
- Username: - -
Is secure server: - + + +
+ +
- Test message to server (for testing only): - +
- - + +
+ +
- - - - -
+ +