123 Commits

Author SHA1 Message Date
7a7a5ea93c Add remove torrent feature 2017-05-30 14:38:40 +02:00
82cfab3c11 Fix show buttons layout 2017-05-29 15:10:21 +02:00
e71c5bfb84 Add subtitles in frontend
Update backend to match polochon
2017-05-29 14:15:52 +02:00
9ba4af9d7d Split actions to separate file
Only use the necessary actions for each component
2017-05-23 22:07:19 +02:00
1d1e239709 Only map the required props/funcs to the show list view 2017-05-23 21:16:10 +02:00
3a93433703 Only map the required props/funcs to the movie list view 2017-05-23 21:12:23 +02:00
1abea1e0c2 Only map the required props/funcs to the show view 2017-05-23 20:16:29 +02:00
c8b65f8da9 Use an immutable store for torrents 2017-05-22 14:26:40 +02:00
7ff88c531f Update the navbar to a pure component 2017-05-22 14:26:40 +02:00
94468167cb Remove the global state containing everything 2017-05-22 14:26:40 +02:00
e3849d5fd3 Remove the torrents store from the global scope 2017-05-22 14:26:39 +02:00
20c37e39ca Move the routes into a separate file 2017-05-22 14:26:39 +02:00
d350b499f2 Cleanup the alerts props
Only give the props needed
2017-05-22 14:26:39 +02:00
908f930081 Improve performance while rendering the navbar
Only re-render the navbar if needed
2017-05-22 14:26:39 +02:00
638fc971b2 Better redirections while logged in
* If the user is already logged in and tries to go to /users/login,
redirect him to the default page
* Add check on the /users/edit page, it was not secure
2017-05-21 16:12:50 +02:00
316a850eec Stop polling for torrents if the user logged out 2017-05-21 14:52:14 +02:00
7ccfce9136 Fix the manifest location 2017-05-21 14:52:02 +02:00
764b11a93f Allow login using cookies
This is necessary for requests that can't be controlled with axios, like
subtitles in <video> tags
2017-05-21 14:51:55 +02:00
eb9e609c02 Remove react-player to use standard <video> tags
react-player does not support subtitles, the standard <video> tag does
2017-05-21 13:35:04 +02:00
27ca75c1ab Add torrent page 2017-05-20 16:22:45 +02:00
15ec1bbecd Fix empty result while having items in store
Let's initialise the state of the component will the actual number of
items instead of 0
2017-05-20 02:04:58 +02:00
c42687ddd5 Remove the search from the redux-store
Let's use uncontrolled component, this will be much more simple to read
and understand
2017-05-20 01:24:05 +02:00
6c5d5e11fd Reset the filter after fetching 2017-05-20 00:45:23 +02:00
76b2859d88 Improve the login function
If a token is in the localStorage of the browser we now assume that the
user is already logged in. If that's no the case, he will be redirected
to the login page.
2017-05-20 00:45:16 +02:00
614d1ab11e Keep the last shows fetched URL 2017-05-20 00:08:07 +02:00
fce19bf3d8 Re-fetch the last fetched URL after deleting a movie
This keeps the store consistent with the backend
2017-05-19 23:56:39 +02:00
c1bd0bd3bc Update routes and auth
* Use the onEnter hook of the router to fetch data
* Remove the plugin to check if the user is authenticated, this is now
done by the onEnter function of the router
* Update the backend to search using GET queries
* Cleanup the (now useless) code in the components to fetch the datas
2017-05-19 23:06:20 +02:00
38a17d526d Keep the last movie fetched URL 2017-05-19 13:01:24 +02:00
740da466b6 Add subtitles 2017-05-15 13:36:06 +02:00
215bb09c2e Allow non admin users to delete movies
The security is ensured by the token, not by the status of the user
2017-05-05 13:40:26 +02:00
17ca73ea4d Update the navbar names to be clearer 2017-05-04 19:38:48 +02:00
ccceba251b Add favicon settings 2017-04-22 18:14:27 +02:00
1f0c397f0a Add indicator for tracked content 2017-04-22 10:55:32 +02:00
247908b1ba Fix state not updating properly in the list view 2017-04-21 17:44:48 +02:00
a1c9604db9 Fix show wishlist view 2017-04-21 13:25:42 +02:00
10490a9d59 Change default show explore option 2017-04-19 16:21:55 +02:00
a44cdd3a42 Update explore view to a more stable version
* no more state
* loading is in the posters module, not the whole page
2017-04-19 14:44:08 +02:00
fa73dc09c2 Simplify the search module 2017-04-19 13:41:34 +02:00
ed46bdcf5e Double check props before exploring movies / shows 2017-04-18 14:32:40 +02:00
52281675d0 Prettify the explorer options 2017-04-14 23:01:40 +02:00
b8e55ec498 Update formating of detailed infos 2017-04-14 22:53:02 +02:00
04ef01995e Add explore options 2017-04-14 22:36:35 +02:00
2811c4fa16 Don't display the movies/shows menu if not logged 2017-04-07 23:46:04 +02:00
4a497b024e Add wishlist pages in navbar 2017-03-22 13:16:14 +00:00
334b4be47e Fix SQL connection not getting closed
Fix small bug in js as id field is not being returned anymore
2017-03-21 13:56:54 +00:00
d17bd6b030 Add button to stream episodes 2017-02-02 00:16:43 +01:00
6b2abcf1e8 Add streaming buttons for movies 2017-02-02 00:16:43 +01:00
a6052828ab Add error handling to disable episode refresh icon 2017-02-01 14:35:42 +01:00
425bfdc8d3 Add button to get episode details / torrents 2017-02-01 13:29:15 +01:00
dcde20f170 Add button to refresh the show details 2017-01-31 20:43:41 +01:00