|
|
a0565f79d2
|
Changed name of variable element to requestElement and now the link name of a list item is generated by generateListElements and if this element is the one selected make it visually different
|
2017-10-21 09:48:13 +02:00 |
|
|
|
277105e6df
|
Our selected Request is passed through props, the prop name is now changed from display to selectedRequest.
|
2017-10-21 09:45:46 +02:00 |
|
|
|
87a2de1d0b
|
Reflects the changes to the url paramater for admin, is now names requestParam. Also the param is passed to Sidebar so that we can highlight the one selected.
|
2017-10-21 09:44:12 +02:00 |
|
|
|
5aaf0ddf84
|
Moved Admin and LoginForm to admin folder and deleted app and main in replacement for root.
|
2017-10-21 00:14:50 +02:00 |
|
|
|
39e363dbf3
|
Works together with AdminRequestInfo to display info about requested items on the admin page.
|
2017-10-21 00:12:44 +02:00 |
|
|
|
7b32dfa35a
|
Moved loginform to admin folder
|
2017-10-21 00:12:09 +02:00 |
|
|
|
cd58a830b5
|
Together with sidebar this loads the info of the selected request item on the admin page.
|
2017-10-21 00:11:53 +02:00 |
|
|
|
65c1f7ad96
|
Changed from compDidMount to WillMount so it loads before our render function.
|
2017-10-21 00:09:29 +02:00 |
|
|
|
2fd515d997
|
Fixed a bug where the json object was not being returned and fixed indentation of fetchJSON function.
|
2017-10-21 00:08:35 +02:00 |
|
|
|
4297505861
|
Moved admin to a admin folder and this is now the landing page for all that admin things we want to do. It now just displays the sidebar and adminRequestInfo for a selected item in the sidebar. Also checks if user is logged in before loading view.
|
2017-10-21 00:06:50 +02:00 |
|
|
|
e114cff32f
|
This will be handling all http requests.
|
2017-10-20 18:11:34 +02:00 |
|
|
|
cdba914758
|
Where all our button components will recide.
|
2017-10-20 18:11:15 +02:00 |
|
|
|
5f13ad202c
|
Added import of fetchJSON function in http
|
2017-10-20 18:10:53 +02:00 |
|
|
|
8fa7f7f918
|
Just added a justify content variable
|
2017-10-20 18:09:43 +02:00 |
|
|
|
b2f4151850
|
Movie object now uses http functions when submitting a post for a movie.
|
2017-10-20 18:08:31 +02:00 |
|
|
|
45a84cbf85
|
The admin page that has all the fetched elements now prints all the elements out in a grid. Tried a cool thing on how to render the dropdown for changing the status of a element, but its not working atm.
|
2017-10-20 17:20:43 +02:00 |
|
|
|
42d0b40825
|
Does not fit on this branch, but updated the key value, so it is concat of both id and index of the map function for search results. It was prev just the index, and when rapped this hits same value, which is unacceptable by react.
|
2017-10-07 14:52:49 +02:00 |
|
|
|
42749c5b64
|
Now searchRequest passes a index key to movieObject so that each div object can have a separate key.
|
2017-10-06 12:20:51 +02:00 |
|
|
|
c954bd4874
|
Added stylesheet for requestElement
|
2017-10-06 12:08:06 +02:00 |
|
|
|
dbb8eb4057
|
Added redux reducer and store for calling from the login page.
|
2017-10-06 12:07:43 +02:00 |
|
|
|
c03449b9e9
|
The login form for authentication a user.
|
2017-10-06 12:05:54 +02:00 |
|
|
|
6dd45cf89e
|
Empty header file.
|
2017-10-06 12:05:00 +02:00 |
|
|
|
3bc8c5912b
|
Loader for what pages is to be displayed based on the state of cookie: logged_in. Either displays login page or fetchrequested.
|
2017-10-06 12:04:35 +02:00 |
|
|
|
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 |
|