590 Commits

Author SHA1 Message Date
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
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
Grégoire Delattre
7edb5ffc3f Merge branch 'fixShowWishlist' into 'master'
Fix missing show and episode in show wishlist

See merge request !57
2017-04-20 11:46:24 +00:00
f0d15a778b Fix missing show and episode in show wishlist 2017-04-20 14:01:19 +02:00
a89d71f083 Merge branch 'dev/defaultExploreShowsURL' into 'master'
Change default show explore option

See merge request !56
2017-04-19 14:09:01 +00:00
10490a9d59 Change default show explore option 2017-04-19 16:21:55 +02:00
7d308927e1 Merge branch 'dev/fixWishlist' into 'master'
MoarStability

See merge request !55
2017-04-19 12:40:01 +00: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