545 Commits

Author SHA1 Message Date
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
a147766118 Fix icons path in index.html
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-02-28 14:42:50 +01:00
86acc89215 Fix the react warnings 2020-02-28 13:52:54 +01:00
224eec48c0 Update the source map configuration 2020-02-28 13:52:33 +01:00
69115c7318 Fix most of the linter's errors/warnings
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-02-27 13:33:45 +01:00
a1922b2c75 Use prettier on all the js files 2020-02-27 11:12:51 +01:00
051c973d88 Update the eslint configuration 2020-02-27 11:12:51 +01:00
05abcbf6fe Update js dependencies 2020-02-26 23:28:39 +01:00
276e0e9591 Use alpine as the docker base image
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-02-26 16:32:46 +01:00
40241a0ac3 Fix some security issues found by npm
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-02-26 14:46:11 +01:00
04c3c926ff Update files locations
All checks were successful
continuous-integration/drone/push Build is passing
* use npm instead of yarn
* group frontend stuff
* group backend stuff
2020-02-26 14:38:33 +01:00
ced691c230 Update the CI versions of go and alpine
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-26 13:20:52 +01:00
a7b1351aba Update polochon to fix the downloader config
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-01-31 13:39:10 +01:00
be8e1db87a Update polochon to get the new tpb module
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-01-31 11:11:10 +01:00
aa6059b1c7 Allow the admins to delete users
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-01-07 13:04:32 +01:00
7dee9e0a7c Implement the delete user function in the backend 2020-01-07 12:52:40 +01:00