165 Commits

Author SHA1 Message Date
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
385e8e514b Use polochon config to initialize modules 2017-04-07 21:34:51 +00:00
4a497b024e Add wishlist pages in navbar 2017-03-22 13:16:14 +00:00
f042987d10 Add routes to show explorer's options 2017-03-22 10:03:26 +00:00
7f7da8d097 Structs from db doesn't need to be exposed 2017-03-22 10:02:59 +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
8f9ec25808 Massive rewrite
https://w000t.me/a479573ac6
2017-03-20 14:35:40 +00:00
63aa470bf8 Create backend implementing Detailer and Torrenter
This Detailer and Torrenter will fetch information from the database
2017-02-20 12:30:18 +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
7fe76d6433 Don't return an error if no torrents are found for an episode 2017-02-01 13:58:40 +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
eb7f5c88bf Fix mobile list view 2017-01-31 17:08:09 +01:00