Commit Graph

936 Commits

Author SHA1 Message Date
KevinMidboe 698d2d6072 Created endpoints for user tasks like login, register and a test endpoint history. A test for checking that session token works as expected. 2017-09-27 16:19:02 +02:00
KevinMidboe 6ec6c7f9cb Added token, user, userRepository and userSecurity in user folder. This handles creating new users, loging in and creating a user specific token then returning it when logging in. 2017-09-27 16:15:28 +02:00
KevinMidboe 72654fd465 Added searchHistory for adding a logged in users history trace. (More like a test function of the page) 2017-09-27 16:13:39 +02:00
KevinMidboe f4aee549be Added bcrypt and jsonwebtoken to package list 2017-09-27 16:12:20 +02:00
KevinMidboe bb6dd1ad59 Added middleware for authentiaction, endpoints for a user and import for token handling. 2017-09-27 14:02:59 +02:00
KevinMidboe a14d9e5ec6 Merge pull request #34 from KevinMidboe/update/frontend_logic
Update/frontend logic
2017-09-27 14:00:29 +02:00
KevinMidboe 5ceb19f449 Merge branch 'update/frontend_logic' of github.com:kevinmidboe/seasonedShows into update/frontend_logic 2017-09-27 13:51:07 +02:00
KevinMidboe 8b5b8bb0b7 Reduced the filter values to return more results. 2017-09-27 13:49:49 +02:00
KevinMidboe 6b3fe8c46f Merge pull request #33 from KevinMidboe/update/frontend_logic
Update/frontend logic
2017-09-27 00:47:25 +02:00
KevinMidboe 98dafe56c4 Merge branch 'master' into update/frontend_logic 2017-09-27 00:45:49 +02:00
KevinMidboe 44d8dbfe0c Updated gitignore to include yarn.locks. 2017-09-27 00:30:51 +02:00
KevinMidboe 6d0a91dc93 Changed the default filter values to be multi until a filter selector is implemented. 2017-09-27 00:29:28 +02:00
KevinMidboe 8014f01766 Added stricter handling for selecting what mediaType to convert to when searching tmdb and converting to seasoned object. 2017-09-27 00:28:41 +02:00
KevinMidboe d787fba024 Changed a smellingerror (reponse -> response). Also now pass the type of the search request when converting to seasoned object. Fixed issue where number_of_items_on_page was not set to the length of the list. 2017-09-27 00:22:22 +02:00
KevinMidboe 6bd1b29d5e Changed the font size of the header, space between the search bar and result content. Also changed so that the font size in the search bar is large enough to not zoom on ios because of smaller than standard font size. 2017-09-27 00:19:19 +02:00
KevinMidboe 86c479de15 Changed so that the output is split in two idependent mediaQuery items at the second most parent. This is a lazy way to controll all elements of when resizing to a smaller screen. 2017-09-27 00:18:06 +02:00
KevinMidboe daa9a7749e Now also the ip address is passed to the sendRequest function in requestRepository so that the requesters ip address can be logged in the database. 2017-09-26 20:43:56 +02:00
KevinMidboe d47f2bf757 Added support for database operations. Now when requesting a item, it is saved to a database and sends a email from pi.midboe account. 2017-09-26 20:42:49 +02:00
KevinMidboe 6f54a61223 Removed a extra / that was in the posterURL 2017-09-26 20:41:25 +02:00
KevinMidboe 1321671840 Added infinite-scroller, notify-toast, urijs. Also burger-menu for later support for selecting discover lists. 2017-09-26 20:40:11 +02:00
KevinMidboe 1af9368a6c Updated stylesheets to reflect changes to request and movieObject pages. 2017-09-26 20:38:13 +02:00
KevinMidboe 5341e940c6 Added viewport width to header of main index.html page. 2017-09-26 20:37:24 +02:00
KevinMidboe 30226af6f6 Lots of style changes done to look neater. Now when scrolled to bottom of the page it fetches more items from the api. 2017-09-26 20:36:37 +02:00
KevinMidboe b2f9d6f5f5 Added rating and background to the class constructor. Added type variable to url when requesting a movie/show and added a notification agent. Now this page is also updated to support mobile formatting, when tilted it shows the background image instead of poster image. 2017-09-26 20:34:54 +02:00
KevinMidboe 6b4daf140a Change a grammar error 2017-09-21 16:58:44 +02:00
KevinMidboe a5d270967e Merge pull request #31 from KevinMidboe/fix/seasonedApiSearch
Fix/seasoned api search
2017-09-21 16:39:00 +02:00
KevinMidboe e281e73293 Now the type is checked and passed to convertTmdbToSeasoned if it is movie or show and not multiwq 2017-09-21 16:37:53 +02:00
KevinMidboe 743c132aef If a strict type is passed to convertTmdbToSeasoned than this is now used to set the type of objects to be made. 2017-09-21 16:37:10 +02:00
KevinMidboe b219242787 Added infinate scroll to lists also. 2017-09-21 15:04:53 +02:00
KevinMidboe 00d000b8f8 Started working in the infinate scroll so it loads the next page when visible on page. This commit was under_development bugs as of now. 2017-09-21 15:03:33 +02:00
KevinMidboe c79d5dbc6e Also rewrote the funtionality for fetching lists from tmdb. It is now done in a similar fashion as searching requests, but with its own error handling and messaging. 2017-09-21 15:01:51 +02:00
KevinMidboe 372ec1b241 Rewrote most of how api calls are made when searching for a movie and how the returning data is handled. We now have finer handling of status response from the original api call aswell as if any of the functions hit a error e.g. not hitting the server, than we have our own errors thrown. Also updated the page incrementers to updated the last api call with a higher or lower number. 2017-09-21 14:36:41 +02:00
KevinMidboe 4c2982293b Merge pull request #29 from KevinMidboe/searchRequest
Search request
2017-09-20 10:49:27 +02:00
KevinMidboe 072f0cca93 Forgot to append the tmdb endpoint to the baseurl in searchRequest 2017-09-20 10:46:10 +02:00
KevinMidboe acd0a1782d Changed the links from localhost to the correct global url 2017-09-20 10:38:10 +02:00
KevinMidboe d9dd7ec153 It is now expected to get a JSON object were the items we want to display are listed in results object within, this is now reflected in the client by iterating over data.results not just data. 2017-09-20 10:26:30 +02:00
KevinMidboe ae66e9a684 Changed variable name from movie to searchResult and now checks if the result list in the return JSON object is empty before sending a result back to client. 2017-09-20 10:25:01 +02:00
KevinMidboe 2d465d841e Before when doing a request search we had a lot of promisses and loops within one-another, now it's more split so easier to read and better error handling if something goes wrong when looking up either in plex or tmdb api. 2017-09-20 10:23:36 +02:00
KevinMidboe 72d50209a5 Rewrote the search function in tmdb to now return a JSON object with results: (all movie/show objects), number_of_items: (count of result objects), page and total page. Split up the filtering and converting of the result from tmdb api to finished seasoned objects for better readability. 2017-09-20 10:21:57 +02:00
KevinMidboe fae3fcc74c Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2017-09-12 20:15:41 +02:00
KevinMidboe 12835d4ed5 Changed the location of moveseasoned app script. 2017-09-12 20:15:20 +02:00
KevinMidboe c187ce7515 Merge pull request #26 from KevinMidboe/client_features
Now we can fetch lists for discover, popular, now playing and upcomin…
2017-09-12 14:40:46 +02:00
KevinMidboe 4fa32440af Now we can fetch lists for discover, popular, now playing and upcoming with optional tv_show and movie filter options. 2017-09-12 14:39:32 +02:00
KevinMidboe cf90616ec9 Set theme jekyll-theme-cayman 2017-09-08 20:22:54 +02:00
KevinMidboe 895d52b41a Set theme jekyll-theme-cayman 2017-09-08 20:22:53 +02:00
KevinMidboe d26f4b0531 Set theme jekyll-theme-cayman 2017-09-08 20:21:56 +02:00
KevinMidboe d347a2bbfe Merge pull request #25 from KevinMidboe/documentation
Documentation
2017-09-08 12:49:49 +02:00
KevinMidboe 8e894b3dfb Merge pull request #23 from KevinMidboe/bugfix_api/plex/playing
Bugfix api/plex/playing #21
2017-09-07 23:57:41 +02:00
KevinMidboe fa3d56c4e5 Merge pull request #22 from KevinMidboe/client_features
Client features
2017-09-07 23:56:02 +02:00
KevinMidboe eb2de340a3 Added variables for audioProfile, videoProfile, duration and container for a playback. 2017-09-07 23:52:05 +02:00