Commit Graph

602 Commits

Author SHA1 Message Date
272300249e Linted all database files. 2018-02-07 13:49:22 +01:00
fe1ad2b1ad Linted all config files. 2018-02-07 13:49:11 +01:00
444295d5d1 Updated our eslint config file. Still extends airbnb, but have changed indent rule and dropped some other rules. 2018-02-07 13:47:11 +01:00
a40d4f7cd5 Removed movie and show in replacement with a common media.js and tmdb and plex that extend this media class. 2018-02-07 13:44:26 +01:00
6fd65fdb23 Refactoring where now we can search lists and lookup movies or shows by using the new tmdbMethod function which takes the api endpoint variable and type to return the appropriate tmdbMethod name for the matching api call to tmdb. Removed a lot of the globally defined variables. 2018-02-07 13:42:46 +01:00
7e874bbc9d Now our convert scripts use our new plex and tmdb classes. Also compacted and abstracted a lot of the code here. 2018-02-07 13:39:45 +01:00
6564948af8 Split up our plex and tmdb classes into more logical files with a common media class that it extends off of. 2018-02-07 13:38:25 +01:00
af64a4e28a Removed and clean up function and formatting. 2018-02-05 22:48:41 +01:00
3c263a1ae7 Now we have brand spanking new functions for lookup and searching. The idea here is to match tmdb items to plex counterparts. 2018-02-05 22:48:00 +01:00
d8b2cef18f Removed filtering of items when searching tmdb. Also added total_results object to all return statements. 2018-02-05 22:46:10 +01:00
6f626d410d Rewrote most of this class. Now we have helper functions for getting info about items in plex. Used function is inPlex where we can input a tmdb item and it append if the item exsists in plex. 2018-02-05 22:44:57 +01:00
cfb878fa64 Fixed issue where a item would not be returned when nothing was found matching query in plex. Also moved checkId up in the request. 2018-02-05 14:55:49 +01:00
44878a295c Merge branch 'api_fixes' of github.com:kevinmidboe/seasonedShows into api_fixes 2018-02-05 14:25:25 +01:00
9b0fa88a72 Changed docstring and removed the unused port variable. 2018-02-05 14:25:13 +01:00
80582f0022 Changed so that tmdb now gets its own type, tmdbtype 2018-02-05 14:23:40 +01:00
77d7167fcb Changed so that one must not be auth to get requested elements. This might change. 2018-02-05 14:22:44 +01:00
eedfe4cf3f Changed schema to reflect changes movie title from name to title. 2018-02-05 13:48:16 +01:00
cfedd4e9c8 Added ability to check if a element is previously been requested. Also changed the schema of db to store movies poster as poster_path and background as background_path. 2018-02-05 13:47:10 +01:00
cefbb5e41c Added length of elements in return statement as total_results in api response. 2018-02-05 13:44:13 +01:00
89ec9d496b Changed the ip addres of plex server 2018-02-05 13:42:35 +01:00
bd0c7b8ab5 Now also has size of the existing file. 2018-02-05 13:41:41 +01:00
0c3ad3a95e Fixed a issue where the tmdb type was not being selected correctly. (movie/show) 2018-02-02 11:51:13 +01:00
5d0b766d3d Fixed conflict with what site should be searched. 2018-01-09 22:53:34 +01:00
8285f14bfa Merge branch 'master' of github.com:kevinmidboe/seasonedShows 2018-01-09 22:51:26 +01:00
159de6527c Now checks the return status for if it was a success or not. 2018-01-09 22:49:59 +01:00
fe020faf21 Added underline to header and align text the left. 2018-01-09 22:49:00 +01:00
9d2b904260 Changed the app search site from jackett to piratebay and added some better handling of errors, now the server does not instantly crash on a error. 2018-01-09 22:47:59 +01:00
a4146fe055 Merge branch 'master' of github.com:KevinMidboe/seasonedShows 2018-01-09 22:47:19 +01:00
fd53150054 Changed the python path to linux requirments 2018-01-09 22:46:52 +01:00
59fe9108ae Torrent table is the component that displays the response from our torrent query search. Here we can sort the table on the columns and also filter with a query. 2018-01-09 22:44:02 +01:00
0e85046751 Update README.md
Changed travis build badge to look at master instead of testing branch.
2018-01-09 17:06:16 +01:00
aa1866bbd9 Fixed merge conflict regarding version of express 2018-01-09 17:05:02 +01:00
bc0211e34f Moved eslint to devDep and updated express to 4.11 2018-01-09 17:02:03 +01:00
34a0c7f958 Merge pull request #72 from KevinMidboe/testing
Testing
2018-01-09 16:56:45 +01:00
f6bd547701 Merge branch 'master' of github.com:kevinmidboe/seasonedShows 2018-01-09 16:55:09 +01:00
e0da166406 Our request page is redesigned with a new header and search bar. It also has a better way of redrawing when the page size is changed to a mobile device. This is not very reactonic, but this file contains the intire search and request logic of the page, but this means we still have things todo :) 2018-01-09 16:53:41 +01:00
65bce27a2b Added our torrent_search repo as a submodule in our app folder. This will need to be set up automatically with build setting when the project is to be downloaded. 2018-01-09 16:49:24 +01:00
e9f6f3a656 We added a new python app for fetching torrents. The api is now changed to use the new project. IMPORTANT that a check for if jackett is set up is done, if else this is will not run correctly. 2018-01-09 16:44:10 +01:00
b8fb718540 Added NODE_ENV environmental variable production when building. 2018-01-09 16:40:49 +01:00
21a94d88a9 Added a seperate component for the info button. 2018-01-09 16:39:16 +01:00
519eba8fda Added some css for admin component that defines the styles for parent elements of imported components. 2018-01-09 16:36:24 +01:00
10ef1bfa69 This receives a response of list of torrents as props and displays them in a table view. From here we can send to download and also filter the results by query. 2018-01-09 16:33:46 +01:00
da54ad0066 Changed import name of torrentTable to correct TorrentTable 2018-01-09 16:30:38 +01:00
c8a2ea9907 This now contains the button and request function for getting torrents matching a serach query given by the name of the elment. The result is passed to the child component torrentTable which renders the result in a table view. 2018-01-09 16:28:34 +01:00
262093d196 Completely re-wrote our sidebar. Now we can filter by search and category on top and a list of all elements are displayed below in a scrollable list. Each element has a indicator showing if the item is requested, downloading or downloaded. There are several generator functions that are to be pulled out in their seperate components. 2018-01-09 16:25:52 +01:00
e64d88bfdf The stylesheet for all of requestInfo page. 2018-01-09 16:20:41 +01:00
f7c6f6603b Renamed style variable to match the imported stylesheet. 2018-01-09 16:20:18 +01:00
279b004aad We re-wrote most off the look and feel of this page. No we get a header that is generated with all the info for a requested element. This has a indicator generated by generateStatusIndicator, showing if the element is requested, downloading or downloaded. Then we have a function for generating the type icon, that is movie/show that is displayed in the header. The summary for a movie might be long so if it is over 180 chars than it is cut and a show more button is displayed. After the info on the item we import PirateSearch that takes a name input and displays a search result for that query in a table view. 2018-01-09 16:19:43 +01:00
33cb6f5f09 In admin we added a updatehandler so that a child can update this parent element. Also added our new sidebar for filtering our requested items by query and category. 2018-01-09 16:03:11 +01:00
4d99cae74c Pulled our info button out to its own component, changed the size of the poster that is fetched from tmdb from width of 300 to 185 pixels. Also some minor changes to the info displayed, no also has type listed in the object. 2018-01-09 15:52:28 +01:00