Update/frontend logic #30 #33

Merged
KevinMidboe merged 19 commits from update/frontend_logic into master 2017-09-26 22:47:26 +00:00

19 Commits

Author SHA1 Message Date
98dafe56c4 Merge branch 'master' into update/frontend_logic 2017-09-27 00:45:49 +02:00
44d8dbfe0c Updated gitignore to include yarn.locks. 2017-09-27 00:30:51 +02:00
6d0a91dc93 Changed the default filter values to be multi until a filter selector is implemented. 2017-09-27 00:29:28 +02:00
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
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
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
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
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
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
6f54a61223 Removed a extra / that was in the posterURL 2017-09-26 20:41:25 +02:00
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
1af9368a6c Updated stylesheets to reflect changes to request and movieObject pages. 2017-09-26 20:38:13 +02:00
5341e940c6 Added viewport width to header of main index.html page. 2017-09-26 20:37:24 +02:00
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
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
b219242787 Added infinate scroll to lists also. 2017-09-21 15:04:53 +02:00
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
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
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