Commit Graph

533 Commits

Author SHA1 Message Date
de33f02aeb Temp here just to be able to add torrents. 2017-10-21 16:12:49 +02:00
7d4178a901 Now uses python2, not python3 because of libtorrent library. 2017-10-21 16:12:27 +02:00
e5b3c8a249 Changed the logging dir to be based on __file__ location. 2017-10-21 16:11:36 +02:00
1183126653 Merge pull request #48 from KevinMidboe/api_add-magnet
Api add magnet
2017-10-21 15:39:15 +02:00
dbcb316bfd Merge pull request #47 from KevinMidboe/client_search-the-bay
Client search the bay
2017-10-21 15:38:31 +02:00
b6b9c790e9 Errors. Removed a return from within a resolve and a stray { in addMagnet. 2017-10-21 15:33:40 +02:00
1425da3090 Missed to add some extra parantheses around our return statement. 2017-10-21 15:31:04 +02:00
d1d204691a Changed from GET to POST 2017-10-21 15:28:32 +02:00
5a24837163 Controller for adding magnets from post body magnet variable. 2017-10-21 15:28:13 +02:00
4c7be51a61 Added endpoint for add and now user must be authenticated for both pirate endpoints. 2017-10-21 15:27:21 +02:00
3e6fc0960c PirateRepo now has a function for calling our add magnet python script with a magnet passed from the controller. 2017-10-21 15:26:29 +02:00
3d73000e92 Displays a button that can be used to fetch search results and then each element has a magnet button to send it back. 2017-10-21 15:16:58 +02:00
71e7f46927 AdminRequestInfo is also passed listItemSelected variable 2017-10-21 15:16:15 +02:00
5d40bd8e06 Added Pirate Search component. 2017-10-21 15:15:28 +02:00
799b8731c5 Merge pull request #46 from KevinMidboe/api/update_requested
Api/update requested
2017-10-21 12:46:32 +02:00
74ea05cf17 Fixed error where the was an extra ' character. 2017-10-21 12:45:31 +02:00
db226d6c95 Now uses a input_dir variable that is can be different than the destination. 2017-10-21 12:44:45 +02:00
9b1b041ef5 Now uses ip for other plex server. 2017-10-21 12:43:43 +02:00
3223e423b2 Now uses ip for other plex server 2017-10-21 12:43:06 +02:00
99eb5512df Merge pull request #45 from KevinMidboe/app_pirate
Added our scripts needed for pirate search, these are files that need…
2017-10-21 12:40:38 +02:00
63ba10bc5a Added our scripts needed for pirate search, these are files that need to be imported from the currently in-dev project seasonedParser 2017-10-21 12:39:20 +02:00
3c039447f5 Renamed the endpoint to search. 2017-10-21 12:29:28 +02:00
a6d00714d6 Inputs a query, page and type and will search the bay for the query and return it as a json objec.t 2017-10-21 12:28:21 +02:00
67f5cef718 Now makes a async call for python script and returns the ouput of the script when finished as a json object. 2017-10-21 12:27:39 +02:00
67d343e446 Added endpoint for searching the bay 2017-10-21 10:01:16 +02:00
1f6130a53d Added pirateRepository 2017-10-21 10:00:45 +02:00
f0fb791e9d Removed unused imports 2017-10-21 10:00:13 +02:00
87babed265 Merge pull request #44 from KevinMidboe/client/admin-page
Client/admin page
2017-10-21 09:50:32 +02:00
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
ebfb61d776 Renamed admin param to request from search 2017-10-21 08:22:02 +02:00
4cdf368d2c Merge pull request #43 from KevinMidboe/client/admin_page
Client/admin page
2017-10-21 00:16:01 +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
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