12 Commits

Author SHA1 Message Date
255aa83453 Update the user reducer from switch to map 2017-06-02 21:12:20 +02:00
06517be48b Update the user store to be immutable 2017-06-02 14:39:07 +02:00
e71c5bfb84 Add subtitles in frontend
Update backend to match polochon
2017-05-29 14:15:52 +02:00
764b11a93f Allow login using cookies
This is necessary for requests that can't be controlled with axios, like
subtitles in <video> tags
2017-05-21 14:51:55 +02:00
76b2859d88 Improve the login function
If a token is in the localStorage of the browser we now assume that the
user is already logged in. If that's no the case, he will be redirected
to the login page.
2017-05-20 00:45:16 +02:00
fbbf74a559 Add user edit and user signup 2016-11-17 01:16:45 +01:00
b819f988f4 Add a generic request function with promises 2016-11-16 22:43:00 +01:00
408c2fca75 Make Axios ready to receive the server responses 2016-11-16 21:52:06 +01:00
6bfcfa14b9 Add user logout and user login error handling 2016-11-16 01:54:01 +01:00
3701917869 Add user authentication 2016-11-15 23:39:45 +01:00
1bb5433b0d Add username in navbar 2016-11-15 22:42:14 +01:00
0ed8759bab Add user store and login actions 2016-11-15 20:21:45 +01:00