Commit Graph

37 Commits

Author SHA1 Message Date
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 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 4754507838 add a Login button to CoachesList 2021-07-29 17:00:54 +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 ba84e606c5 add the signup process 2021-07-28 22:40:49 +02:00
Andreas Zweili 8e87a7ba6c add the auth module 2021-07-28 22:16:20 +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 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 e3d48145d3 filter requests for the reqistered coach 2021-07-28 15:33:55 +02:00
Andreas Zweili 0b748e92cf add getters for requests 2021-07-27 11:41:01 +02:00
Andreas Zweili ab3dddb0fb correct the name for contactCoach 2021-07-27 11:28:02 +02:00
Andreas Zweili ff0bdcf93b fix the import for requestsModule 2021-07-27 11:26:01 +02:00
Andreas Zweili 4278d0e149 import the actions 2021-07-27 11:20:43 +02:00
Andreas Zweili f3a4c1c686 add Vuex actions for ContactCoach 2021-07-27 11:18:56 +02:00
Andreas Zweili aece4bba6a add isCoach getter 2021-06-29 22:10:43 +02:00
Andreas Zweili bdc654c30a use the userId in the coaches action 2021-06-29 22:05:56 +02:00
Andreas Zweili 2de4dd1a5c add a rootGetter for the userId 2021-06-29 22:05:42 +02:00
Andreas Zweili e3ab95bad6 add a hardcoded id to store 2021-06-29 22:02:56 +02:00
Andreas Zweili fe81f36728 replace the coachId with a hardcoded value 2021-06-29 22:02:20 +02:00
Andreas Zweili 95103ddf69 name the hourlyRate correctly 2021-06-29 21:58:27 +02:00
Andreas Zweili abf6109d91 store registered coaches in the store 2021-06-29 21:55:19 +02:00
Andreas Zweili 3b73e59587 add coach getters 2021-06-27 18:20:56 +02:00
Andreas Zweili 9d969994dd add dummy coaches 2021-06-27 17:45:50 +02:00
Andreas Zweili 384eae12ba add a coaches store 2021-06-27 17:44:38 +02:00