13dcdae676
Update and lint all go code
...
Signed-off-by: Lucas BEE <pouulet@gmail.com>
2025-04-07 14:39:20 +02:00
fa7bdc2a65
Fix panic while refreshing episode
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is passing
2021-08-30 10:34:23 -10:00
b6be9488c9
Add a page to display a movie
continuous-integration/drone/push Build is failing
2021-08-22 11:33:36 -10:00
d585a59c83
Download movie fanart and better torrent list on mobile
...
Show the thumb on wide screens and the fanart on small screens.
2021-08-22 11:33:36 -10:00
2d3e267517
Remove unused modules
2021-08-22 11:33:36 -10:00
13e5775c34
Handle embedded subtitles
2021-08-22 11:33:36 -10:00
1c0ba9871e
Remove fresh
...
This package is not maintained.
2021-08-22 11:33:36 -10:00
ec750807b6
Update the subtitles independently
2021-08-22 11:33:36 -10:00
2b2135fd43
Do not download images when already present
2020-11-22 19:51:43 +01:00
304eb40a54
Skip movies/shows that don't have imdbIDs
...
With some explorer that might be the case and it won't work properly
2020-05-08 18:39:20 +02:00
cb6618e9f1
Add the user's last seen date in the admin panel
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-04-16 17:56:22 +02:00
7f91b145eb
Cleanup the PublicDir / ImgURLPrefix stuff
2020-04-16 16:47:21 +02:00
9494cf571f
Use the new papi lib from polochon
2020-04-16 16:06:19 +02:00
89c6372f58
Fetch the show title while fetching an episode
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
4206d09954
Fix upsert of torrents
...
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
3bd51765b8
Update papi and polochon to use the new torrent API
2020-04-10 17:09:43 +02:00
199d216323
Add torrent metadata
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-04-08 18:17:25 +02:00
54bbbf84f4
Change the shows image path
...
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
...
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
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
15f95c0d74
Don't return when the unsubscribe fails
...
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
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
...
continuous-integration/drone/push Build is passing
All the things fixed where reported by golangci-lint.
2020-03-01 16:20:06 +01:00
04c3c926ff
Update files locations
...
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
7dee9e0a7c
Implement the delete user function in the backend
2020-01-07 12:52:40 +01:00
3d8b98482c
Add handlers to merge wishlist by polochon
...
Update polochon package
2019-07-31 13:34:27 +00:00
c5e90d55f3
Return info from DB after a refresh
2019-07-26 12:00:29 +00:00
89a2de2ce0
Add torrent size in backend
2019-07-26 10:48:07 +00:00
a53deebbcf
Do not return on torrentsUpdate errors
2019-07-17 13:35:53 +00:00
07823efd74
Fix deadlock in channels
...
We now close the Channels when its connection is closed so that we never
try to send events into a dead channel
Add a debug handler showing who is subscribed to what
2019-07-17 12:56:31 +00:00
f48292e8e4
Rename notifier in events
2019-07-17 12:47:03 +00:00
3b397300bc
Add the Eventers logic and handlers
2019-07-15 10:29:44 +00:00
07eefe1870
Rename backend/backend in backend/models
2019-07-15 08:29:49 +00:00
9c429ba3d4
Put user in backend
2019-07-15 08:29:49 +00:00
2ca1097b77
Better users handlers
...
Catch empty usernames or password on register
2019-07-15 08:29:49 +00:00
17ef2d8fd6
Add polochons model and handlers
2019-07-15 08:29:49 +00:00
fda1bc076a
Add user password edition as admin on all users
2019-07-15 08:27:39 +00:00
88fc8be462
Download episode thumbs
2019-06-27 14:31:33 +02:00
502bf88feb
Update asset management in webpack
...
This hashes every file and forces the browser to download updated
assets.
2019-06-26 14:08:25 +02:00
f3eeaaca0f
Stop resizing the show fanart and banner
2019-05-27 17:21:40 +02:00
2bd90e5cb5
events: Add an error channel
...
The server now sends errors to the client
2019-05-27 12:18:05 +00:00
18127fa3a0
Add WebSockets endpoint /events for torrents
2019-05-23 14:35:42 +00:00
d4e633283d
Refresh the imdb ratings in a transaction
...
https://w000t.me/c140729392
2019-05-15 13:28:52 +00:00
178375eb8d
Add polochon metadata in movies and shows
2019-05-11 15:50:50 +02:00