Commit Graph

346 Commits

Author SHA1 Message Date
60201b1b67 Login and register pages now checks inputs for errors. throwError parameter on login and register functions allows us to receive the request object not just the decoded json. 2020-04-09 21:39:29 +02:00
a8b8603649 /login is alias of signin component. 2020-04-09 20:59:49 +02:00
e193528fe9 Routes with meta requiresAuth redirects to login page if token not set in localstorage 2020-04-09 20:58:58 +02:00
73afb34964 Logout route that clears localstorage for anything set clientside. 2020-04-09 20:53:24 +02:00
65bbc453e6 seasoned messages looks better when messages contains only title. 2020-04-09 20:27:11 +02:00
KevinMidboe
188477ab64 404 page now has button to navigate to previous page. 2020-04-09 19:58:50 +02:00
KevinMidboe
a31bfb6b39 Updated seasonedbutton to not have a wrapping div. 2020-04-09 19:55:57 +02:00
681ed69ef0 Removed padding on right side of search input and removed unused comment. 2020-02-25 13:44:48 +01:00
b771428b4d Changed placeholder for earch input 2020-02-25 13:44:31 +01:00
fc0103ee5d Change the document title prefix from request to seasoned 2020-02-25 12:12:07 +01:00
55067b81b8 Merge branch 'master' of github.com:KevinMidboe/seasoned 2020-02-25 12:09:45 +01:00
dfe2b5df09 Removed default emoji prefix of document title. 2020-02-25 12:09:13 +01:00
dc0c435163 If settings dont exist, return false for isAuthenticated. 2020-02-21 23:03:31 +01:00
9d1ac56b9a Also check localstorage for settings if not found in state. 2020-02-21 22:58:49 +01:00
fc2c3664d9 Resolved merge conflict. 2020-02-21 22:52:36 +01:00
0bd45ed777 New sidebarelement for users that are logged inn. Now they can be redirected directly to the movie in plex. 2020-02-21 22:51:39 +01:00
3912766982 Reverted active logic for seasonedButton. 2020-02-20 14:09:08 +01:00
3becce2a6c Moved isPlexAuthenticated from movie component to userModule. 2020-02-20 14:08:46 +01:00
20b8692c91 Forgot to toggle isActive when clicked. 2020-02-20 13:56:56 +01:00
14ac780aa5 Should not overwrite prop data. Copy and set to internal data attribute. 2020-02-20 13:55:04 +01:00
d836870612 Toggle active boolean to set class on buttons. 2020-02-20 13:41:39 +01:00
bc6f706e4a New mediaquery to check if hover is available then only style hover when it is. This solves sticky hover styling on mobile. 2020-02-20 13:33:08 +01:00
6ac6a9b039 Readded noselect class to description. 2020-02-20 10:41:46 +01:00
85be80d712 Removed unused code for poster image. 2020-02-20 10:41:21 +01:00
105be1e411 noselect was not the issue, bug in css-loader. 2020-02-20 00:47:55 +01:00
010830243e noselect class was preventing taps on mobile. 2020-02-20 00:25:59 +01:00
923dc46dc7 Removed setTimeout 2020-02-20 00:24:34 +01:00
f2ef5366f5 Merge pull request #48 from KevinMidboe/refactor/image-loading
Refactor/image loading
2020-02-20 00:22:14 +01:00
20380a4587 Merge branch 'master' into refactor/image-loading 2020-02-20 00:21:43 +01:00
069ef2c458 Cleaned up some css, better loading of backdrop, simplified DOM, more meta data for tvshows and added truncating of description. 2020-02-20 00:19:08 +01:00
2f430b2d8f Cleaned up some of the styling for movieslistitem. 2020-02-19 23:54:20 +01:00
f7a579a438 IntersecrionObserver checks ref intersection when mounted. 2020-02-19 23:53:51 +01:00
b9ddd998bc When type person show known for department. 2020-02-19 23:52:25 +01:00
ae59d02df2 Poster image dom simplified. 2020-02-19 23:52:03 +01:00
ec205bab0c Update .drone.yml 2020-02-07 01:19:08 +01:00
ed49d825b8 Merge pull request #44 from KevinMidboe/feature/searchFiltering
Feature/search filtering
2020-01-31 22:51:21 +01:00
a9db8be46a Removed duplicated top_rated icon. 2020-01-31 22:32:12 +01:00
1caa3c7fae Removed unsued comments and added alt tag to images 2020-01-31 22:27:45 +01:00
2ea4bffd49 Update .drone.yml 2020-01-31 22:21:49 +01:00
5ae52f59fc Merge pull request #47 from KevinMidboe/feature/lazy-loading-images
Lazy loading for list items.
2020-01-31 22:18:42 +01:00
a7e6d25d3f Lazy loading for list items.
This is somewhat inefficient because each list item has its own instance
of a intersectionObserver.
Improvements include:
- Poster has placeholder image as source from mount
- When component mounts we attach the observer
- When observerd in viewport find
  - Find the correct image height based on the placeholders height
  - Change src to dynamic poster url
2020-01-31 22:14:13 +01:00
83751a4e3e Update .drone.yml 2020-01-20 19:15:42 +01:00
0e9daab187 Removed unused raven link under body 2020-01-20 19:10:45 +01:00
4390491873 Update .drone.yml 2020-01-20 19:07:48 +01:00
d620a4cc2e Update .drone.yml 2020-01-20 19:07:00 +01:00
32669e5bef Update .drone.yml 2020-01-20 19:00:36 +01:00
6edad3991f Create .drone.yml 2020-01-20 18:59:58 +01:00
50acf0bedc Merge pull request #46 from KevinMidboe/fix/admin-from-jwt
Fix/admin from jwt
2020-01-10 23:32:43 +01:00
d4369ec7a4 JwtToken decoded to set data from jwt contents.
JwtDecode used to read data from the jwt token and set admin and
username. Resolves issue #45.
2020-01-10 23:29:34 +01:00
c16543099e JwtDecode function for reading content of jwt token. 2020-01-10 23:28:45 +01:00