560 Commits

Author SHA1 Message Date
135ddd0c93 Update the torrent state only if new data is provided 2020-04-15 12:48:29 +02:00
33a84f682d Fix momentjs deprecation warning 2020-04-15 12:46:43 +02:00
d94843be9f Group the torrents by types in the torrent list
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
By the way let's show more infos about what's being downloaded.
2020-04-13 17:38:47 +02:00
89c6372f58 Fetch the show title while fetching an episode 2020-04-13 17:38:47 +02:00
1a69cf8892 Movie the torrent progress bar in a new component 2020-04-13 17:38:47 +02:00
1a9a805c46 Move torrent list components in separate files 2020-04-13 17:38:47 +02:00
23aa53bde7 Add a pretty name to the listed torrents 2020-04-13 17:38:47 +02:00
7be65b6a9a Get the video images from the models
Return the video details embedded in the torrents

This requires the eventers to have the app env
2020-04-13 17:38:47 +02:00
101e68372d Update the new movie function 2020-04-11 10:59:45 +02:00
ed508bbf3b Fix episode refresh
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is passing
2020-04-10 18:03:53 +02:00
4206d09954 Fix upsert of torrents
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build was killed
We're missing some infos from the Torrents
We ensure that we set them for now, we'll need to edit the polochon
torrenters so that they put this info
And add a DB constraint, a torrent shouldn't be able to be created
without an imdbID
2020-04-10 17:48:34 +02:00
114f022b8d Fix empty torrents returned as array in show episodes
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
The show episodes can handle undefined values themselves.
2020-04-10 17:09:43 +02:00
83d1894a25 Fix torrent search on every keystroke
Cleanup the search results when leaving the page.
2020-04-10 17:09:43 +02:00
c9ecdac4f2 Add the torrent URL in the torrent button
This allows us to copy the link without clicking on the button.
2020-04-10 17:09:43 +02:00
3bd51765b8 Update papi and polochon to use the new torrent API 2020-04-10 17:09:43 +02:00
199d216323 Add torrent metadata
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-04-08 18:17:25 +02:00
4b26080193 Update redux state management
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Use immer with native javascript objects instead of immutablejs.
2020-04-07 18:22:26 +02:00
54bbbf84f4 Change the shows image path
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
From img/shows/ttXXXXX-1-1.png and img/shows/ttXXXXX-banner.png
To   img/shows/ttXXXXX/1-1.png and img/shows/ttXXXXX/banner.png

Rewrite things while we're here

Example of scripts to migrate from old path to new path:

dir="shows"
for file in "$dir"/*; do
        # Replace the first - by a / in order to get the new image path
        newfile=$(echo "$file" | sed 's/-/\//')
        # Delete everything after the first - in order to get the show path
        showpath=$(echo "$file" | sed 's/-.*//')
        [ ! -d "$showpath" ] && mkdir "$showpath"
        mv "$file" "$newfile"
done
2020-04-07 17:46:42 +02:00
e5b4639cab Add check of HTTP status when downloading 2020-04-07 17:45:39 +02:00
98eb833dc0 Cleanup movies handling
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Do not delete fields about a movie when we already have them
Movie has no UserID field
2020-04-06 18:20:28 +02:00
72970bd52e Cleanup episodes handling
Do not delete fields about an episode when we already have them
Update the polochon and trakttv libs
2020-04-06 18:20:14 +02:00
2af6054091 Fix the last eslint warnings
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-04-03 19:08:56 +02:00
56dbd65730 Fix infinite scroll on the poster list 2020-04-03 19:07:31 +02:00
817da07a2d Lint the js on drone builds
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-04-03 16:57:54 +02:00
af2641c317 Use redux hooks on the websocket component
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-04-03 16:49:12 +02:00
d9fae3e23a Use redux hooks on the navbar component 2020-04-03 16:49:12 +02:00
e7f96a1bd7 Use redux hooks on the auth component 2020-04-03 16:29:06 +02:00
2e83c3169f Use redux hooks on movies components 2020-04-03 16:24:00 +02:00
6ac382b659 Use redux hooks on buttons components 2020-04-03 16:19:12 +02:00
81f497170f Use redux hooks on admin components 2020-04-03 16:13:56 +02:00
6cfee5ea74 Use redux hooks on alert components 2020-04-03 16:13:56 +02:00
ea62b1c6ec Use redux hooks on notification components 2020-04-03 16:13:56 +02:00
d998d2838d Use redux hooks on shows components 2020-04-03 15:51:19 +02:00
27f5c5d558 Use redux hooks on torrent components 2020-04-03 15:51:19 +02:00
27f0b742a4 Use redux hooks on user components 2020-04-03 15:51:19 +02:00
ac0d746cc9 Use redux hooks on polochon components 2020-04-03 15:51:19 +02:00
c5336c477a Remove the custom routes for movies and shows 2020-04-03 15:51:19 +02:00
834ee8bcfc Let the show fetch its own details 2020-04-03 15:51:19 +02:00
5f7d402614 Move the fetch of the explorer options to its own component 2020-04-03 15:51:19 +02:00
937b12bb67 Update polochon
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-03 14:18:59 +02:00
91bf3f8cdb Improve GetDetails and Search
We now use the right log object with prefix and return an error on
GetDetails only if the error is Fatal
2020-04-03 14:18:50 +02:00
8a07623668 Edit show.NewWithClient
The func now takes a full polochon.Show instead of just an ImdbID, so
that it we have more than an ImdbID (a TvdbID for example), we can
transmit it to the show.Show
2020-04-03 13:48:12 +02:00
e5be15c954 Fix warnings on the show page 2020-04-02 16:50:09 +02:00
bcadc48d5a Launch prettier with the --fix option
They've changed their default settings, this changes a lot of stuff in
our code base.
2020-04-01 17:55:34 +02:00
b3acd5067a Update js dependencies 2020-04-01 17:55:34 +02:00
15f95c0d74 Don't return when the unsubscribe fails
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
This rollbacks the behaviour introduced in 09eb97b
2020-03-02 13:09:13 +01:00
1197e6ce6c Move the tokens into the models
By the way, move he sqly package in the models as well
2020-03-02 13:07:04 +01:00
8676ca4df9 Improve the way we launch the server
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-03-01 16:29:56 +01:00
09eb97b235 Remove unused stuff and check more errors
All checks were successful
continuous-integration/drone/push Build is passing
All the things fixed where reported by golangci-lint.
2020-03-01 16:20:06 +01:00
2bdfd4dc36 Fix the plot wrap when the user's screen is to small
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-02-29 12:17:54 +01:00