Commit Graph

99 Commits

Author SHA1 Message Date
ed1d0f3c39 App.jsx now loads the header and the main script that holds our routes. 2017-10-06 12:01:30 +02:00
0b79c8679d This is the landing page for viewing all requested items. One must be authenticated through the admin page, and requests need the token variable in browser storage. The returned data can be filtered and sorted. 2017-10-06 12:00:51 +02:00
5b110b9d82 This is the main router for index page, routes to searchRequest and admin pages. 2017-10-06 11:57:22 +02:00
1633be1276 Added 404 page when a request does not match any routes. 2017-10-06 11:56:22 +02:00
6d5c1e8d6d File that holds functions for retriveing and saving cookie data. 2017-10-06 11:55:20 +02:00
2bacc54687 Added a check for the type and then change the info link to end with either movie or tv. 2017-09-27 20:41:49 +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
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
1af9368a6c Updated stylesheets to reflect changes to request and movieObject pages. 2017-09-26 20:38:13 +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
072f0cca93 Forgot to append the tmdb endpoint to the baseurl in searchRequest 2017-09-20 10:46:10 +02:00
acd0a1782d Changed the links from localhost to the correct global url 2017-09-20 10:38:10 +02:00
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
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
2b7f9551bf Moved styles from serachRequest to a seapate file in ./styles 2017-09-03 17:34:45 +02:00
6a4e2bc2ab Moved all styling to a separate file in ./style 2017-09-03 17:29:51 +02:00
850452db78 Removed unnesessary this.id when calling function, this is already a object, don't need to pass itself. 2017-09-03 17:07:53 +02:00
e33e7d8dc7 Removed unsued imports. 2017-09-02 23:15:30 +02:00
72c4a43d2e Also has a lot of inline css, but not the search type buttons have function, but not feedback. 2017-09-02 16:30:42 +02:00
d77a4c6d9e Now it is a little messy with lots of css inline, but will clean and comment. Has now a working UI, needs more 404 handling of items. 2017-09-02 16:30:02 +02:00
e33840f1db Commented out unused elements. 2017-09-02 16:03:43 +02:00
5706c02a5d Updated much of the surrounding styling for the request page, still need to ble cleaned. 2017-08-31 13:14:57 +02:00
ee019f5674 Now with new styling, still need to do cleanup, but added a big bulk of the grutt. 2017-08-31 13:13:50 +02:00
9265b469c4 Added style to the elements of the html elements 2017-08-05 17:06:26 +02:00
c892755759 Created function for creating a HTML object that is returned to the caller. 2017-08-05 17:05:15 +02:00
d2c456305a Added style to background and main object 2017-08-05 17:04:44 +02:00
fbf49e4cd9 Updated to use sqlite3 instead of sqlite in api 2017-07-29 13:21:25 +02:00
a6af5e8c5d Now returns just id of the movie when clicked button. 2017-07-16 13:45:42 +02:00
f2cc05307b Added TODO 2017-07-16 11:18:14 +02:00
90546755cc Rewrote much of the fetching of media items for the rendered request page. 2017-07-16 11:11:43 +02:00
Kevin Midbøe
c97ab972ef Changed movieObject ot pass full object, not just it's id when clicked 2017-07-16 10:51:02 +02:00
b358c61efb Had a bug that when searched and empty return it tried to map the empty array. Now we check for the contents of the response before we map the items. 2017-07-01 08:29:49 +02:00
27edd29bd2 Started adding features for submitting a request to server 2017-06-04 00:07:23 +02:00
9d29482857 Added overview of requested movie to be printed. 2017-06-03 13:12:10 +02:00
21c40e9b34 Created a function that can be called for updating the mediaList, saving lines! 2017-06-03 11:13:57 +02:00
244f606133 Changed the way html for the object is created, but need to do this with React native functions. Also added a few functions that will be for requesting items. 2017-06-03 11:12:28 +02:00
47269ebc70 Class for creating a object that can easily be called for the html implicit to the object type 2017-06-02 19:37:58 +02:00
30dd05ebf3 Now the search request updates based on the input in the text field. Super simple, need better handling and styling. 2017-06-02 19:37:08 +02:00
4f2a69f32d Removed a unused log 2017-06-02 19:36:18 +02:00
545152c888 Start of request, now just prints what is written in text field and reads keypress enter 2017-06-02 14:35:43 +02:00
bd3ceb7b6d Added component for getting input for requestSearch. 2017-06-02 14:29:19 +02:00
7c055bd9d1 Created a function for deciding what to return based on the object it computes. 2017-06-02 13:50:42 +02:00
f548dba7e1 Setup of yarn and package.json. Also added first page which queries api for info 2017-06-02 12:04:43 +02:00