Commit Graph

667 Commits

Author SHA1 Message Date
KevinMidboe 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
KevinMidboe 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
KevinMidboe 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
KevinMidboe b8fb718540 Added NODE_ENV environmental variable production when building. 2018-01-09 16:40:49 +01:00
KevinMidboe 21a94d88a9 Added a seperate component for the info button. 2018-01-09 16:39:16 +01:00
KevinMidboe 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
KevinMidboe 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
KevinMidboe da54ad0066 Changed import name of torrentTable to correct TorrentTable 2018-01-09 16:30:38 +01:00
KevinMidboe 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
KevinMidboe 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
KevinMidboe e64d88bfdf The stylesheet for all of requestInfo page. 2018-01-09 16:20:41 +01:00
KevinMidboe f7c6f6603b Renamed style variable to match the imported stylesheet. 2018-01-09 16:20:18 +01:00
KevinMidboe 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
KevinMidboe 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
KevinMidboe 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
KevinMidboe 976d5cf69f TorrentTable gets passed a json list of torrents and this displays it in a table view. 2018-01-02 15:30:23 +01:00
KevinMidboe 76069f4fea Added license badfge 2017-12-21 01:04:00 +01:00
KevinMidboe d92e6d8c78 Psst. Removed console logs from debug hunt. 2017-12-21 01:01:43 +01:00
KevinMidboe 601440d540 Ok. I can explain this bug. It seems commenting out teardown in resetDatabase solves our issue that travis cannot find our teardown script eventough it outputs the exact path it should be at. Will come back to this as it seems it works everywhere else. Good night. 2017-12-21 01:00:47 +01:00
KevinMidboe 7824e8be27 Merge branch 'testing' of github.com:kevinmidboe/seasonedShows into testing 2017-12-21 00:55:05 +01:00
KevinMidboe b4352ad721 Too many ; bro 2017-12-21 00:53:38 +01:00
KevinMidboe 9e160a7a91 Added build status to radme 2017-12-21 00:52:34 +01:00
KevinMidboe 2623649c5d Tried to re-add teardown and updated it to drop only tables that are in the database. Crossing fingers for a second pass. 2017-12-21 00:46:52 +01:00
KevinMidboe 908fca6dd0 Trying to remove teardown between tests. 2017-12-21 00:42:44 +01:00
KevinMidboe e6a34a0503 Back to linux. plz fix plzzzzz 2017-12-21 00:38:46 +01:00
KevinMidboe f0e8f84e12 Building with osx now 2017-12-20 23:20:49 +01:00
KevinMidboe 0459fb9312 More testing for this bug. 2017-12-20 23:18:13 +01:00
KevinMidboe 6a725e3921 Added tons of console.logs to try find out where the problem with travis not being able to read file lies. 2017-12-20 23:06:02 +01:00
KevinMidboe fb22576708 Travis is still not reading our teardown file. 2017-12-20 22:51:08 +01:00
KevinMidboe bced4e052d There was a weird thing with the file permissions so it would not be read by travis. Now it should be fixed 2017-12-20 22:42:53 +01:00
KevinMidboe 54eca33dfa Forgot to update the node version in travis config file. 2017-12-20 22:27:20 +01:00
KevinMidboe 93e43d9954 Added a template development.json file for build purposes. 2017-12-20 22:22:25 +01:00
KevinMidboe fba3845523 Now we check if the values length is 0 not the filters varaible. 2017-12-20 22:17:45 +01:00
KevinMidboe fe64af856e Fixed a old bug. 2017-12-20 22:16:57 +01:00
KevinMidboe 625717f7ad Now when checking config file if the value is blank it checks env variables for a variable defined as uppcase section + option with a separator of _. 2017-12-20 22:16:36 +01:00
KevinMidboe e4573e6808 Forgot to remove path without test scripts yet. 2017-12-20 21:13:24 +01:00
KevinMidboe e19b604a78 Our teardown sql script. 2017-12-20 21:08:35 +01:00
KevinMidboe f6c27482e4 Added script for teardown of database. 2017-12-20 21:07:33 +01:00
KevinMidboe 00ad5cf7a8 Added mocha, istanbul and supertest packages. Added coverange and test script. 2017-12-20 21:07:13 +01:00
KevinMidboe ba33552099 Merge pull request #71 from KevinMidboe/testing
Testing
2017-12-20 20:55:18 +01:00
KevinMidboe 99ddb61c37 Started by adding some system tests for the api. 2017-12-20 20:47:32 +01:00
KevinMidboe 790f5d6588 Added travis support to api. 2017-12-20 20:46:15 +01:00
KevinMidboe a51a78bc71 Merge branch 'master' of github.com:kevinmidboe/seasonedShows 2017-12-03 15:01:50 +01:00
KevinMidboe 317aa69f18 Re-added a CSS class that was removed. 2017-12-02 15:42:23 +01:00
KevinMidboe de90b48430 Update README.md 2017-12-02 15:39:02 +01:00
KevinMidboe 6011615a41 Merge pull request #68 from KevinMidboe/add-metadata-requests
Add metadata requests
2017-12-02 13:23:24 +01:00
KevinMidboe 0338e90bf7 Merge pull request #66 from KevinMidboe/styling
Styling
2017-12-02 13:19:54 +01:00
KevinMidboe cf43500c01 Merge branch 'master' into styling 2017-12-02 13:19:00 +01:00
KevinMidboe c65cdd84b7 Changed our gitignore file for the api folder. 2017-12-02 13:18:20 +01:00
KevinMidboe 7849a8ce3f Fixed syntax error. 2017-12-02 13:17:17 +01:00