|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
dbd258d9fa
|
Now also prints the requestee of a element if it is not null.
|
2017-10-23 15:49:54 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|