From 546e3414333b6739ef52adfd1eaa9cfd283a3cd6 Mon Sep 17 00:00:00 2001 From: Lorenzo Iovino Date: Sat, 17 Jun 2017 18:12:56 +0200 Subject: [PATCH] Added registration client/server --- .idea/workspace.xml | 816 ++++++++++-------- Client/src/com/texttwist/client/Main.java | 2 +- .../texttwist/client/constants/Palette.java | 3 + .../pages/{Entrypoint.java => App.java} | 10 +- .../{HomeManager.java => AuthService.java} | 17 +- .../src/com/texttwist/client/pages/Home.java | 16 +- .../client/pages/HomeController.java | 28 + .../src/com/texttwist/client/pages/Menu.java | 35 +- .../client/pages/MenuController.java | 27 + .../com/texttwist/client/pages/Register.java | 25 +- .../client/pages/RegisterController.java | 23 + .../client/pages/SessionService.java | 28 + .../src/com/texttwist/client/ui/TTButton.java | 1 + .../src/com/texttwist/client/ui/TTDialog.java | 142 +++ .../com/texttwist/client/ui/TTLabelBtn.java | 2 - Commons/src/interfaces/ITTAuth.java | 2 + Commons/src/models/TTAccount.java | 14 + .../server/components/auth/TTAuth.java | 44 +- 18 files changed, 817 insertions(+), 418 deletions(-) rename Client/src/com/texttwist/client/pages/{Entrypoint.java => App.java} (61%) rename Client/src/com/texttwist/client/pages/{HomeManager.java => AuthService.java} (65%) create mode 100644 Client/src/com/texttwist/client/pages/HomeController.java create mode 100644 Client/src/com/texttwist/client/pages/MenuController.java create mode 100644 Client/src/com/texttwist/client/pages/RegisterController.java create mode 100644 Client/src/com/texttwist/client/pages/SessionService.java create mode 100644 Client/src/com/texttwist/client/ui/TTDialog.java create mode 100644 Commons/src/models/TTAccount.java diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b0a86ec..1f31af0 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,12 +1,28 @@ - + - + + + + + + + + + + + + + + + + + - - + + - + - - + + - - + + - - - - + + + + @@ -990,15 +1060,17 @@ - + + + - - + @@ -1008,10 +1080,10 @@ - + - + @@ -1023,7 +1095,7 @@ - + @@ -1041,7 +1113,7 @@ - @@ -1050,37 +1122,6 @@