471 Commits

Author SHA1 Message Date
255aa83453 Update the user reducer from switch to map 2017-06-02 21:12:20 +02:00
99fbe22d6d Update the torrent reducer from switch to map 2017-06-02 21:08:26 +02:00
7014b3933d Update the show reducer from switch to map 2017-06-02 21:06:03 +02:00
e286f5d2da Update the alert reducer from switch to map
Switch to immutable while we're here
2017-06-02 20:58:38 +02:00
b61be889dd Update the movie reducer from switch to map 2017-06-02 20:54:41 +02:00
77625b382f Add dev dependencies for the linter 2017-06-02 20:54:40 +02:00
91aea923d2 Use the immutable subtitles in the player 2017-06-02 15:02:47 +02:00
06517be48b Update the user store to be immutable 2017-06-02 14:39:07 +02:00
d0d3f63012 Remove react-redux-form 2017-06-02 13:57:17 +02:00
9e5ae81f4e Update the shows store to be immutable 2017-06-02 13:49:58 +02:00
80db4383a3 Update the movie store to be immutable 2017-06-02 13:49:31 +02:00
697997c0ae Merge branch 'splitShowStore' into 'master'
Split show store

See merge request !75
2017-05-31 12:43:34 +00:00
dd3ab77f2c Make the show store immutable 2017-05-31 13:55:03 +02:00
Grégoire Delattre
1ccda506fa Merge branch 'removeTorrent' into 'master'
Add remove torrent feature

See merge request !74
2017-05-30 12:41:45 +00:00
7a7a5ea93c Add remove torrent feature 2017-05-30 14:38:40 +02:00
33137e0035 Split the store of the show 2017-05-30 13:08:42 +02:00
e53306686f Merge branch 'subtitles' into 'master'
Fix show buttons layout

See merge request !73
2017-05-29 12:56:06 +00:00
82cfab3c11 Fix show buttons layout 2017-05-29 15:10:21 +02:00
Grégoire Delattre
12e43b4397 Merge branch 'subtitles' into 'master'
Add subtitles in the front end

See merge request !72
2017-05-29 12:49:06 +00:00
e71c5bfb84 Add subtitles in frontend
Update backend to match polochon
2017-05-29 14:15:52 +02:00
e85554fbaa Merge branch 'cleanup' into 'master'
Cleanup

See merge request !71
2017-05-26 10:26:46 +00: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
d16c2742ee Add immutable as dependency 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
5cdae9f334 Merge branch 'browser_streaming' into 'master'
Browser streaming

See merge request !70
2017-05-22 08:10:26 +00: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
1c7421b182 Add srt to vvt converter in the backend
The HTML5 videos can only ready subtitles in the VVT format, let's
convert the srt files on the fly to make the browser happy
2017-05-21 13:31:34 +02:00
a22c57e4e5 Merge branch 'torrents' into 'master'
Add torrent page

See merge request !69
2017-05-20 14:26:10 +00:00
27ca75c1ab Add torrent page 2017-05-20 16:22:45 +02:00
9779027d1b Merge branch 'updateAuthAndFetchingLogic' into 'master'
Update auth and fetching logic

See merge request !68
2017-05-20 10:35:48 +00: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