Commit Graph

57 Commits

Author SHA1 Message Date
Chocobozzz
32985a0a77
Error if importing a torrent with multiple files 2021-05-11 14:56:30 +02:00
Chocobozzz
1bcb03a100
Use a class for youtube-dl 2021-05-11 11:32:31 +02:00
Chocobozzz
a35a22797c Remove previous thumbnail if needed 2021-02-16 10:36:44 +01:00
Chocobozzz
6302d599cd Generate a name for caption files 2021-02-16 10:36:44 +01:00
Chocobozzz
e3b4c084cd
Guess if we need to generate the thumbnail for imports 2021-02-12 09:37:01 +01:00
Chocobozzz
805b8619c1
Fix (again) youtube import 2021-01-19 16:36:21 +01:00
Rigel Kent
454c20fa7c
stricter youtubedl format selectors (#3516)
* stricter youtubedl format selectors

make sure selectors avoid av1, and otherwise match as closely to the
maximum resolution enabled for transcoding

* add support for merge formats in youtubedl

* avoid vp9.2 in youtubedl to avoid any HDR

* move getEnabledResolutions, safer replace of imported extension

* add test for youtube-dl selectors
2021-01-15 15:56:56 +01:00
Chocobozzz
b49f22d8f9 Upgrade sequelize to v6 2020-12-09 11:41:22 +01:00
Rigel Kent
2d53be0267
replace numbers with typed http status codes (#3409) 2020-12-07 14:32:36 +01:00
Chocobozzz
de94ac86a2
Fix incorrect IDs in AP federation 2020-11-20 11:21:08 +01:00
Chocobozzz
1ef65f4c03 Refactor video creation 2020-11-09 15:33:04 +01:00
Chocobozzz
26d6bf6533
Split types and typings 2020-06-18 10:46:27 +02:00
Chocobozzz
faa9d434b4
Update server dependencies 2020-06-17 11:42:50 +02:00
Chocobozzz
8dc8a34ee8 Avoir some circular dependencies 2020-05-04 16:21:39 +02:00
Chocobozzz
86ad0cde9e
Add licence and language support to y-dl imports 2020-04-20 10:41:43 +02:00
Kim
b1770a0af4
Add thumbnail / preview generation from url on the fly (#2646)
* Add thumbnails generation on the fly to URL import

* Display generated preview to import first edit

* Use ternary to get type inference

* Move preview/thumbnail test just after import

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 10:28:38 +02:00
Chocobozzz
8a86e5dc4f
Use originallyPublishedAt from body on import if it exists 2020-04-17 14:35:13 +02:00
Chocobozzz
652c64165b
Fix import captions test 2020-04-15 14:15:44 +02:00
kimsible
50ad0a1c16 Add getSubs to YoutubeDL video import 2020-04-14 14:39:30 +02:00
Chocobozzz
d57d1d83c6
Support audio files import 2020-04-03 15:41:39 +02:00
Chocobozzz
a15871560f
Move to eslint 2020-02-03 08:31:02 +01:00
Chocobozzz
3155c8606c
Fix default true values when uploding videos 2019-08-28 16:03:26 +02:00
Frank Sträter
b1b7f7160b Bug fix logical and/or boolean selector 2019-08-28 12:58:47 +02:00
Chocobozzz
1ca9f7c3f7
Type toFormattedJSON 2019-08-20 19:23:10 +02:00
Chocobozzz
0283eaac2a
Cleanup model types 2019-08-20 14:53:42 +02:00
Chocobozzz
96ca24f00e
Fix tests 2019-08-20 10:22:05 +02:00
Chocobozzz
453e83ea5d
Stronger model typings 2019-08-19 17:26:35 +02:00
Chocobozzz
65af03a241
Automatically update playlist thumbnails 2019-08-01 16:54:24 +02:00
Chocobozzz
5b77537ce5 Correctly notify on auto blacklist 2019-07-24 10:58:16 +02:00
Chocobozzz
6691c52280 Add filter hooks tests 2019-07-24 10:58:16 +02:00
Chocobozzz
03371ad9d0
Fix video import if autoblacklist is enabled 2019-06-07 14:35:53 +02:00
Chocobozzz
3acc508440
Upgrade sequelize 2019-04-24 16:26:21 +02:00
Chocobozzz
1735c82572
Update sequelize 2019-04-24 16:26:20 +02:00
Chocobozzz
e8bafea35b
Create a dedicated table to track video thumbnails 2019-04-24 16:25:52 +02:00
Chocobozzz
74dc3bca2b
Don't expose constants directly in initializers/ 2019-04-11 14:26:41 +02:00
Chocobozzz
6dd9de95df
Move config in its own file 2019-04-11 13:45:39 +02:00
Josh Morel
7ccddd7b52 add quarantine videos feature (#1637)
* add quarantine videos feature

* increase Notification settings test timeout

to 20000ms. was completing 7000 locally but timing out
after 10000 on travis

* fix quarantine video test issues

-propagate misspelling
-remove skip from server/tests/client.ts

* WIP use blacklist for moderator video approval

instead of video.quarantine boolean

* finish auto-blacklist feature
2019-04-02 11:26:47 +02:00
Chocobozzz
dae86118ed
Cleanup express locals typings 2019-03-19 10:35:15 +01:00
Andrés Maldonado
4e553a41fd
Import original publication date (web UI)
Import original publication date when importing a video from YouTube in the web UI
2019-02-12 11:19:19 +01:00
Chocobozzz
88108880bb
Merge branch 'develop' into pr/1217 2019-02-11 11:52:34 +01:00
Chocobozzz
f481c4f9f3
Use move instead rename
To avoid EXDEV errors
2018-12-11 15:12:38 +01:00
Chocobozzz
14e2014acc Support additional video extensions 2018-12-11 15:11:09 +01:00
Chocobozzz
6040f87d14
Add tmp and redundancy directories 2018-12-04 16:04:15 +01:00
Lucas Declercq
7f2cfe3a79 Rename downloadingEnabled property to downloadEnabled 2018-10-08 14:45:22 +02:00
Lucas Declercq
156c50af30 Add downloadingEnabled property to video model 2018-10-06 19:17:39 +02:00
Chocobozzz
993cef4b6e
Refractor audit user identifier 2018-09-19 17:02:27 +02:00
Chocobozzz
62689b942b
Correctly migrate to fs-extra 2018-08-27 16:23:34 +02:00
Chocobozzz
3e17515e29 Add torrent tests 2018-08-08 09:30:31 +02:00
Chocobozzz
a84b8fa5cf Add import.video.torrent configuration 2018-08-08 09:30:31 +02:00
Chocobozzz
990b6a0b0c Import torrents with webtorrent 2018-08-08 09:30:31 +02:00