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
38a17d526d
Keep the last movie fetched URL
2017-05-19 13:01:24 +02:00
Grégoire Delattre
fcf64fb4ee
Merge branch 'torrents' into 'master'
...
Add route to list torrents of a user's polochon
See merge request !67
2017-05-18 11:32:06 +00:00
0d87b50cee
Add route to list torrents of a user's polochon
2017-05-18 13:46:22 +02:00
Grégoire Delattre
63e9d5b4e2
Merge branch 'subtitle' into 'master'
...
Add subtitles
See merge request !66
2017-05-15 11:18:42 +00:00
740da466b6
Add subtitles
2017-05-15 13:36:06 +02:00
Grégoire Delattre
6f5c3a83ea
Merge branch 'fixDeleteMovieRole' into 'master'
...
Fix role for DeleteMovie route
See merge request !65
2017-05-09 10:51:13 +00:00
6bc7ed303d
Fix role for DeleteMovie route
2017-05-09 13:08:35 +02:00
d7c1d0a63a
Merge branch 'imgURL' into 'master'
...
Add the image URL prefix in the configuration
See merge request !64
2017-05-05 11:27:49 +00: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
de11a2f2c1
Add the image URL prefix in the configuration
...
This allows us to use a custom URL for images and use a CDN for caching
2017-05-05 13:28:52 +02:00
4ae056d609
Merge branch 'names' into 'master'
...
Update the navbar names to be clearer
See merge request !63
2017-05-04 17:52:04 +00:00
17ca73ea4d
Update the navbar names to be clearer
2017-05-04 19:38:48 +02:00
Grégoire Delattre
cac92e3f62
Merge branch 'updateSubtitles' into 'master'
...
Add handlers to update subtitles
See merge request !62
2017-05-02 11:28:08 +00:00
08ffd9fab6
Add handlers to update subtitles
2017-05-01 21:55:00 +02:00
Grégoire Delattre
90b391ec0a
Merge branch 'polochonUpdate' into 'master'
...
Update to match the new polochon lib
See merge request !61
2017-04-28 19:57:17 +00:00
05495a9229
Update to match the new polochon lib
2017-04-28 16:25:48 +02:00
ba99c0c56f
Merge branch 'icon' into 'master'
...
Add favicon settings
See merge request !60
2017-04-22 16:26:39 +00:00
ccceba251b
Add favicon settings
2017-04-22 18:14:27 +02:00
806fad299d
Merge branch 'greg/dev' into 'master'
...
greg/dev
See merge request !59
2017-04-22 09:12:51 +00:00
1f0c397f0a
Add indicator for tracked content
2017-04-22 10:55:32 +02:00
094bac2471
Fix wishlist's SQL queries for the shows
2017-04-22 10:55:32 +02:00