Commit Graph

131 Commits

Author SHA1 Message Date
Andreas Zweili 454d5317d4 update the index.html 2021-07-29 19:03:32 +02:00
Andreas Zweili 870f74e74a lazy load various components 2021-07-29 18:49:19 +02:00
Andreas Zweili eddcdd1755 add an auto logout 2021-07-29 18:07:40 +02:00
Andreas Zweili b5f3c6f871 add autoLogin 2021-07-29 17:49:55 +02:00
Andreas Zweili ea6e7d1b11 refactor auth actions 2021-07-29 17:44:12 +02:00
Andreas Zweili 50b32df6aa add a global navigation guard 2021-07-29 17:26:59 +02:00
Andreas Zweili 77e7a7d93a redirect users after logging in 2021-07-29 17:20:11 +02:00
Andreas Zweili e16d5411d5 add a logout button 2021-07-29 17:11:31 +02:00
Andreas Zweili 6bc09660c0 remove unused console.logs 2021-07-29 17:11:13 +02:00
Andreas Zweili fc6df0a6b1 add a Login button to the header 2021-07-29 17:03:25 +02:00
Andreas Zweili 4754507838 add a Login button to CoachesList 2021-07-29 17:00:54 +02:00
Andreas Zweili 752117e552 remove a duplicate file 2021-07-29 16:58:27 +02:00
Andreas Zweili d3fd8b0c91 fix the frontend label 2021-07-29 16:55:51 +02:00
Andreas Zweili 2eb4651aa4 provide the auth token with limited requests 2021-07-29 16:51:48 +02:00
Andreas Zweili beb804e38c add functions for login 2021-07-28 22:58:02 +02:00
Andreas Zweili abc9fcdb52 add a default error message 2021-07-28 22:52:20 +02:00
Andreas Zweili 0d0f934a9a add error handling to the auth page 2021-07-28 22:50:43 +02:00
Andreas Zweili ba84e606c5 add the signup process 2021-07-28 22:40:49 +02:00
Andreas Zweili 87c386bbd4 add the API key as a parameter
this is actually something which should be stored in an .ENV file.
2021-07-28 22:28:52 +02:00
Andreas Zweili 0e474ead4a add an axios-auth script 2021-07-28 22:22:04 +02:00
Andreas Zweili 8e87a7ba6c add the auth module 2021-07-28 22:16:20 +02:00
Andreas Zweili e700a20ee6 add functions to the auth page 2021-07-28 22:09:43 +02:00
Andreas Zweili 8b89b0bf20 remove the import for BaseCard
this is already defined globally
2021-07-28 22:01:01 +02:00
Andreas Zweili c950513730 add an authentication page 2021-07-28 21:59:27 +02:00
Andreas Zweili b18c0f86c2 add animations to the route transitions 2021-07-28 21:20:07 +02:00
Andreas Zweili 701c596ad1 fix the route for NotFound 2021-07-28 21:18:27 +02:00
Andreas Zweili 8fd11809ed add content to the NotFound page 2021-07-28 21:18:15 +02:00
Andreas Zweili d0d3c40151 add animation to the BaseDialog 2021-07-28 20:57:45 +02:00
Andreas Zweili c5bb1139f8 only load the coaches once a minute 2021-07-28 20:51:47 +02:00
Andreas Zweili 1f361349fe fetch the requests from the backend 2021-07-28 20:26:10 +02:00
Andreas Zweili 727001eb62 remove the fake ID from the request object 2021-07-28 20:10:59 +02:00
Andreas Zweili 5c4e88edb8 remove git stuff 2021-07-28 20:08:32 +02:00
Andreas Zweili 184d7ca8a0 Merge branch 'master' of git.2li.ch:Nebucatnetzer/find_coach 2021-07-28 20:07:44 +02:00
Andreas Zweili b1b12127c4 store the requests in the backend 2021-07-28 20:07:21 +02:00
Andreas Zweili 4a30f209d8 store the requests in the backend 2021-07-28 20:03:43 +02:00
Andreas Zweili 10d9c762ed add error handling for fetching coaches 2021-07-28 17:41:06 +02:00
Andreas Zweili f259092500 add the BaseDialog component 2021-07-28 17:22:34 +02:00
Andreas Zweili 0317b58706 add the spinner to the CoachesList 2021-07-28 17:10:22 +02:00
Andreas Zweili 0f04ac7a3e add BaseSpinner 2021-07-28 17:06:34 +02:00
Andreas Zweili 2dcd26709f get the coaches from the backend 2021-07-28 17:01:33 +02:00
Andreas Zweili 4665d05bfa add an action to get coaches from firebase 2021-07-28 16:58:14 +02:00
Andreas Zweili f1ed21f3f0 move the commit into the try/catch block 2021-07-28 16:57:54 +02:00
Andreas Zweili d716c7efd0 add the backend to the register form 2021-07-28 16:36:52 +02:00
Andreas Zweili 99ec687332 add script for axios 2021-07-28 16:36:05 +02:00
Andreas Zweili dfd778e288 add axios 2021-07-28 16:12:19 +02:00
Andreas Zweili ab93dd6f6b fix the coachId on ContactCoach 2021-07-28 15:34:17 +02:00
Andreas Zweili e3d48145d3 filter requests for the reqistered coach 2021-07-28 15:33:55 +02:00
Andreas Zweili 373a1a72d6 Merge branch 'master' of git.2li.ch:Nebucatnetzer/find_coach 2021-07-28 12:13:50 +02:00
Andreas Zweili 7df4a435dd fix the request ID lookup 2021-07-27 17:17:46 +02:00
Andreas Zweili a64c172402 add RequestItem 2021-07-27 17:14:53 +02:00