Commit Graph

152 Commits

Author SHA1 Message Date
snyk-test
eb0881f19e fix: client/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-JSYAML-173999
- https://snyk.io/vuln/SNYK-JS-JSYAML-174129
- https://snyk.io/vuln/npm:mem:20180117
2019-07-27 00:16:09 +00:00
bc4d73821d Upgraded webpack-dev-server to not have a screaming vulnerability 2019-07-27 02:05:38 +02:00
3edf7d43cb Changes reflecting update in api for naming scheme. 2018-02-05 13:57:57 +01:00
4c5384ed2e We can now sort filesizes that have a human size name and not in bytes. These values will be converted and saved as byte size. 2018-02-05 13:57:27 +01:00
2c36b7eb30 Api changed that a item has title, not name. These changes are reflected here. Also removed a console.log 2018-02-05 13:56:33 +01:00
3d2fb6e28c Api changed that a item has title, not name. These changes are reflected here. 2018-02-05 13:54:02 +01:00
952fe7220e Reflected changes in api, now we receive a results json object, not requestedItems. 2018-02-05 13:53:17 +01:00
0b42cf7f12 Because the content on the landing page felt static I added a random function to pick between the four list types. 2018-01-09 23:12:27 +01:00
4f98f2fd23 Changed the distance between the search bar and the content to be a little less and added a shadow around the search bar to make it pop a bit more. 2018-01-09 23:08:59 +01:00
0addc76126 Changed the positioning of the type icon in the header and forgot the set the style of the movie info header to the correct css element, this is fixed now. 2018-01-09 23:03:53 +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
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
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
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
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
317aa69f18 Re-added a CSS class that was removed. 2017-12-02 15:42:23 +01:00
7849a8ce3f Fixed syntax error. 2017-12-02 13:17:17 +01:00
246abd7020 Renamed the variable name for our stylesheet. 2017-12-02 13:16:57 +01:00
580cdc430f Removed a lot of unused css classes. 2017-12-02 13:15:23 +01:00
7bde2821d0 Followed with the renaming of MovieObject to now be refered to as SearchObject. Also change the loading animation for InfiniteScroll. It is the same loading animation imported as we have in torrent search. 2017-12-02 13:13:35 +01:00
45db534681 When a requested element from the sidebar is selected this is where the detailed info is displayed. Now it is possible to change the status of a item by using the dropdown. This is where piratesearch also gets the query name through props. 2017-12-02 12:17:00 +01:00
fd0a2c9d50 Renamed the exporting class name to match the file name. 2017-12-02 12:08:47 +01:00
e55067025e Renamed movieObject to searchObject, same with css. 2017-12-02 12:05:17 +01:00
187ac6317e Still a bit messy, but removed unsued sections and redid the naming schema for css items. 2017-12-02 12:01:49 +01:00
9fcc82d7cf Put both jsx and js varaibles on same line in config file. 2017-12-02 11:35:39 +01:00
c11b222ee3 Deleted unused svg image. 2017-12-02 11:35:10 +01:00
8695a553d6 Admin page is our landing page for admin panel, now it passes our api response to sidebar and info panel when we get the response back from the api. Some renaming of stylesheet variable. 2017-12-02 11:32:49 +01:00
3fe8f46dd4 Viewport changes to limit zoom in on mobile the typing in a search bar. 2017-12-02 11:31:25 +01:00
5fb1e7ba2e Sidebar is now redesigned with color indicators, filtering name by search query or filtering status by dropdown. Moved CSS to a separate stylesheet. 2017-12-02 11:20:26 +01:00
e1fed24fc0 Added a loading image to pirateSearch. Now we get feedback when waiting for response from the api. 2017-12-02 10:39:18 +01:00
8542da34cd Added a separate stylesheet for our buttons. 2017-12-02 10:37:31 +01:00
62b6f5c8ca Using react-interactive we now have hover animations for our buttons. 2017-11-28 21:02:25 +01:00
362e5f54d1 Added react-interactive package to make it easier to handle hover and focus on mobile. 2017-11-28 20:58:45 +01:00
5da57062a7 Added a gitignore for each main folder because we have python based scripts in one folder, javascript/react and javascript/node in the other. 2017-11-28 19:19:50 +01:00
be4c79ca16 Added env folder to gitignore 2017-11-28 19:10:45 +01:00
d10b974545 Changed to now use a prod and a dev webpack config. Our prod config now minifies and sets up caching for us. Package json now has build command. 2017-10-24 23:01:44 +02:00
d6c066266c Changed the box shadow and margin of result wrapper. 2017-10-23 16:12:00 +02:00
a0ce4e07fe Changed the title position of our result list. 2017-10-23 16:06:38 +02:00