|
|
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 |
|
|
|
d9f432a8de
|
Our new router, which is being directly loaded from index.js
|
2017-10-21 00:11:24 +02:00 |
|
|
|
2a09f67248
|
Now index.js uses root instead of app component.
|
2017-10-21 00:10:51 +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 |
|
|
|
5bd1041deb
|
Merge pull request #42 from KevinMidboe/client/update_requested
Client/update requested
|
2017-10-20 18:13:30 +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 |
|
|
|
d9a22f506e
|
When posting a request, the type is also added to the database.
|
2017-10-06 15:38:22 +02:00 |
|
|
|
307a8352a3
|
Now takes both id and type because there is two different sets of id pools, and need to select the corrent one.
|
2017-10-06 15:37:09 +02:00 |
|
|
|
3c372aab92
|
Added returnstatement to updateRequestedById and fixed the sql query.
|
2017-10-06 15:19:08 +02:00 |
|
|
|
650c2603e4
|
Changed the input path of requestRepo
|
2017-10-06 15:16:45 +02:00 |
|
|
|
fb479e7a37
|
Renamed function in requestRepo to updateRequestedById
|
2017-10-06 15:14:31 +02:00 |
|
|
|
ac38dacedd
|
Changed database table name.
|
2017-10-06 15:04:50 +02:00 |
|
|
|
f54bd0f743
|
Added a function for updating the status from a given id in requests database.
|
2017-10-06 15:04:18 +02:00 |
|
|
|
61c242b5eb
|
Passes the id from request parameter and status we want to change to from the request body.
|
2017-10-06 15:03:47 +02:00 |
|
|
|
51d446f378
|
Added endpoint for updating a requested item.
|
2017-10-06 15:02:44 +02:00 |
|
|
|
9b6e7af3ee
|
Merge pull request #41 from KevinMidboe/client/admin
Client/admin
|
2017-10-06 12:28:05 +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 |
|
|
|
2e47324005
|
Merge pull request #40 from KevinMidboe/fix/api
Fix/api
|
2017-10-06 12:15:08 +02:00 |
|
|
|
f8ff71bcff
|
Removed a no longer used ip address for allowed origins.
|
2017-10-06 12:14:05 +02:00 |
|
|
|
7e27e19a0d
|
Added more strict header allowence and was a error where endpoints for user was not using router, but app.
|
2017-10-06 12:12:21 +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 |
|
|
|
bd74e1dee1
|
The first thing the index does is to load the app file in a hashrouter object and send it to the element with id root.
|
2017-10-06 12:03:16 +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 |
|
|
|
927352e9ae
|
Added react-redux, react-router and other redux packages.
|
2017-10-06 11:59:16 +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 |
|
|
|
5e50d52344
|
Now gitignore is working for new prefs.
|
2017-10-04 14:25:05 +02:00 |
|
|
|
26c1bda3df
|
Now when calling moveSeason python script, the python version used is python3.
|
2017-10-04 14:18:42 +02:00 |
|
|
|
da83b73732
|
Added a parent_input that can be used for constructing the move path to a different path than the destination path. Also moved from using os.move to shutil.move for cross filesystem support. Also removed owner renaming.
|
2017-10-04 14:07:23 +02:00 |
|
|
|
d9d8d6ab58
|
Merge pull request #39 from KevinMidboe/feature/api_request
Feature/api request
|
2017-10-03 16:28:39 +02:00 |
|
|
|
5fbedeb4b2
|
Misspelled User-Agent, when should have been user-agent.
|
2017-10-03 16:26:03 +02:00 |
|
|
|
455bf565b2
|
Moved the ? marker in the sql query to the end of the statement.
|
2017-10-03 16:19:55 +02:00 |
|
|
|
a819a4bbf3
|
Now passes the user agent that is making the post request (requesting content) so it can be saved in the db.
|
2017-10-03 16:11:15 +02:00 |
|
|
|
f50e0b2a59
|
Added user_agent to be passed to and saved in db when a request is made.
|
2017-10-03 16:10:27 +02:00 |
|
|
|
9d2c7c4c2f
|
Added variable for status for database request query.
|
2017-10-03 16:01:28 +02:00 |
|
|
|
8908e36e89
|
Merge branch 'master' of github.com:KevinMidboe/seasonedShows
|
2017-09-27 21:55:33 +02:00 |
|