diff --git a/src/server/setup/homePageCompiler.js b/src/server/setup/homePageCompiler.js new file mode 100644 index 0000000..e69de29 diff --git a/src/webapp/main/src/views/user/SignupView.vue b/src/webapp/main/src/views/user/SignupView.vue index a6be8d7..f6de975 100644 --- a/src/webapp/main/src/views/user/SignupView.vue +++ b/src/webapp/main/src/views/user/SignupView.vue @@ -157,6 +157,11 @@ this.$refs.notification.createNotification( 'Please provide your first and last name!', 5, 'error', 'normal' ); return; } + + if ( !this.checkEmail() ) { + this.$refs.notification.createNotification( 'This email address is not an email address', 5, 'error', 'normal' ); + return; + } let progress = this.$refs.notification.createNotification( 'Signing up...', 20, 'progress', 'normal' ); let fetchOptions = { method: 'post', @@ -166,9 +171,7 @@ 'charset': 'utf-8' } }; - console.log( 'signup initiated' ) fetch( localStorage.getItem( 'url' ) + '/user/signup', fetchOptions ).then( res => { - console.log( res ) res.text().then( status => { if ( status === 'ok' ) { this.$refs.notification.cancelNotification( progress ); diff --git a/src/webapp/setup/src/views/BasicSetupView.vue b/src/webapp/setup/src/views/BasicSetupView.vue index cfb7ec8..3ac6337 100644 --- a/src/webapp/setup/src/views/BasicSetupView.vue +++ b/src/webapp/setup/src/views/BasicSetupView.vue @@ -13,6 +13,12 @@
To make setting up the database and email accounts easier, you can enter the required values below.
You may find more infos about this part here
+ +A database is a piece of software that specializes in storing data. libreevent can use most SQL based databases as well as a custom JSON-based database. You are strongly encouraged to use a SQL based database, as they perform significantly better. Read more here diff --git a/src/webapp/setup/src/views/SetupPageView.vue b/src/webapp/setup/src/views/SetupPageView.vue index ce77872..4e84b92 100644 --- a/src/webapp/setup/src/views/SetupPageView.vue +++ b/src/webapp/setup/src/views/SetupPageView.vue @@ -15,13 +15,10 @@
You may find more infos about this part here