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
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
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
0d87b50cee
Add route to list torrents of a user's polochon
2017-05-18 13:46:22 +02:00
740da466b6
Add subtitles
2017-05-15 13:36:06 +02:00
6bc7ed303d
Fix role for DeleteMovie route
2017-05-09 13:08:35 +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
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
17ca73ea4d
Update the navbar names to be clearer
2017-05-04 19:38:48 +02:00
08ffd9fab6
Add handlers to update subtitles
2017-05-01 21:55:00 +02:00
05495a9229
Update to match the new polochon lib
2017-04-28 16:25: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
094bac2471
Fix wishlist's SQL queries for the shows
2017-04-22 10:55:32 +02:00
e6aad2614e
Merge branch 'greg/dev' into 'master'
...
Greg/dev
See merge request !58
2017-04-22 08:22:31 +00: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
f0d15a778b
Fix missing show and episode in show wishlist
2017-04-20 14:01:19 +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