Commit Graph

851 Commits

Author SHA1 Message Date
Chocobozzz
67eeec8b95 Add minimum bitrate limit 2021-11-10 11:04:00 +01:00
Chocobozzz
020d3d3d79 Remove resumable cache after upload success 2021-11-10 09:43:33 +01:00
Chocobozzz
51353d9a03 Refactor video views
Introduce viewers attribute for live videos
Count views for live videos
Reduce delay to see the viewer update for lives
Add ability to configure video views buffer interval and view ip
expiration
2021-11-09 15:00:31 +01:00
kontrollanten
4e29f4fe23 video: add video stranscoding_failed state 2021-11-09 15:00:21 +01:00
kontrollanten
e1ab52d7ec Add migrate-to-object-storage script (#4481)
* add migrate-to-object-storage-script

closes #4467

* add migrate-to-unique-playlist-filenames script

* fix(migrate-to-unique-playlist-filenames): update master/segments256

run updateMasterHLSPlaylist and updateSha256VODSegments after
file rename.

* Improve move to object storage scripts

* PR remarks

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-11-09 11:05:35 +01:00
Chocobozzz
df1db951c5 Support RTMPS 2021-11-05 11:38:17 +01:00
Florian CUNY
8dd754c767 Added 144p encoding (#4492)
* Added 144p encoding

Implements https://github.com/Chocobozzz/PeerTube/issues/4428

* Fixed typo in core-utils

* Increased BitPerPixel for 144p

* Disabled 144p by default in test.yaml

* Another try at fixing tests

* Fixed test in video-transcoder (api-3)

* Fixed test in video-imports (api-4)

* Fixed test in live-constraints (api-2)

* Tried to fix tests in api-3 again

* Revert "Tried to fix tests in api-3 again"

This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14.

* Fixed test in config.ts (api-2)

* Try to fix test in video-hls.ts (api-3)

* Fixed test in video-transcoder.ts (api-3)

* Fix tests

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-11-05 10:23:02 +01:00
Chocobozzz
dd6d2a7ce5 Improve advanced input filter 2021-11-03 14:23:55 +01:00
Chocobozzz
d324756edb Add ability to filter by file type 2021-11-03 11:32:41 +01:00
Chocobozzz
3c10840fa9 Add video file size info in admin videos list 2021-10-29 11:48:21 +02:00
Chocobozzz
2760b454a7 Deprecate filter video query
Introduce include and isLocal instead
2021-10-29 11:48:21 +02:00
Florian CUNY
754b6f5f41 Made the video channels limit (per user) server-wide configurable (#4491)
* Made the video channels limit (per user) server-wide configurable

Implements https://github.com/Chocobozzz/PeerTube/issues/3092

Also added a "quota bar" in the account's settings page

* Fixed lint errors

* Another pass at fixing lint errors

* Applied code suggestions

* Removed 'video channels quota'
2021-10-26 16:42:10 +02:00
Chocobozzz
605450a6f7 Fix dependency security alert 2021-10-26 16:04:09 +02:00
Rigel Kent
276250f0a3 prevent multiple post-process triggering of upload-resumable (#4175)
* prevent multiple post-process triggering of upload-resumable

* switch from 409 to 503 for upload being processed

* Improve resumable upload check

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-25 17:42:20 +02:00
Chocobozzz
d1bfbdeb20 Random listen for mocked servers 2021-10-22 14:31:38 +02:00
Chocobozzz
ab4001aade Provide origin URL to client and fix remote share 2021-10-22 14:11:58 +02:00
Chocobozzz
62549e6c98 Rewrite youtube-dl import
Use python3 binary
Allows to use a custom youtube-dl release URL
Allows to use yt-dlp (youtube-dl fork)
Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY
env variables
2021-10-22 10:25:24 +02:00
Chocobozzz
64553e8809 Add ability to filter logs by tags 2021-10-20 14:33:38 +02:00
Chocobozzz
978c87e7f5 Add channel filters for my videos/followers 2021-10-20 09:25:44 +02:00
Chocobozzz
906f46d084 Split check user params tests 2021-10-20 09:25:44 +02:00
Chocobozzz
4beda9e12a Add ability to view my followers 2021-10-20 09:25:44 +02:00
Chocobozzz
f0ab2aed3d Fix lint 2021-10-14 14:14:57 +02:00
Chocobozzz
cf0c8ee588 Fix admin edition disabling feature 2021-10-14 11:35:43 +02:00
Chocobozzz
179bfea5e0 Fix import tests 2021-10-14 09:36:55 +02:00
Chocobozzz
80dea8f4d6 Rename config key 2021-10-12 14:25:30 +02:00
kontrollanten
7399a79f73 add option to always show channel display name (#4422)
* add option to always show channel display name

closes #4040

* show avatar in video miniatures

closes #4040

* Revert "show avatar in video miniatures"

This reverts commit 79b1a84140.

* channel display name: fix review comments
2021-10-12 14:23:44 +02:00
Chocobozzz
10ef089102 Merge branch 'release/3.4.0' into develop 2021-10-12 13:50:48 +02:00
kontrollanten
c3bb04413e add ...playlist.elements.loaded hook (#4387)
* client: add ...playlist.elements.loaded hook

closes #4385

* fix linting error

* client: add playlist metadata to video-watch hooks

* Prefer using a filter for playlist elements hook

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-12 13:45:55 +02:00
Jelle Besseling
8d8a037e3f Allow configuration to be static/readonly (#4315)
* Allow configuration to be static/readonly

* Make all components disableable

* Improve disabled component styling

* Rename edits allowed field in configuration

* Fix CI
2021-10-12 13:33:44 +02:00
Chocobozzz
3c25d37aef Try to fix mock server ports 2021-10-12 13:30:41 +02:00
Chocobozzz
9f430a53be Fix bitrate tests 2021-10-12 09:18:54 +02:00
Chocobozzz
bdb1dfc176 Safer iframe creation 2021-10-11 11:13:27 +02:00
Chocobozzz
ab7b4f525b Remove unused comments 2021-10-11 09:37:26 +02:00
Chocobozzz
9da443f374 Remove unused comments 2021-10-08 11:22:22 +02:00
Chocobozzz
8de589b953 Fix tests 2021-09-09 09:55:20 +02:00
Chocobozzz
790c2837dd Fix silent 500 after resumable upload 2021-09-09 09:35:30 +02:00
Chocobozzz
fb72d2e1c2 Fix infohash with object storage 2021-09-07 15:16:26 +02:00
Chocobozzz
70430c2796 Wait mock server termination 2021-09-06 08:13:11 +02:00
Chocobozzz
fbcd44d233 Add debug messages to webtorrent tests 2021-09-02 09:55:48 +02:00
frankstrater
fbd2d42358 Fix some documentation mistakes 2021-09-02 09:33:39 +02:00
Chocobozzz
e3c9ea7226 Add peertube import test 2021-08-27 16:21:19 +02:00
Chocobozzz
41fb13c330 esModuleInterop to true 2021-08-27 15:12:22 +02:00
Chocobozzz
8f58172565 Allow accounts to skip account setup modal 2021-08-27 10:15:55 +02:00
Chocobozzz
0dce48c1e2 Custom markup container default to space between 2021-08-26 13:44:54 +02:00
Chocobozzz
706a450fe6 Fix test event leak 2021-08-26 11:11:52 +02:00
Chocobozzz
851675c559 Rename jobs list command 2021-08-26 10:01:42 +02:00
smilekison
8729a87024 Support proxies for PeerTube (#4346)
* Updated with latest code

* Updated Support proxies for PeerTube

* Support Proxies for PeerTube (Updated with change request)

* Cleanup proxy PR

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-08-25 15:08:37 +02:00
Chocobozzz
59c8902a57 Update upload message filter hook name 2021-08-25 11:41:10 +02:00
Ms Kimsible
4e1592daa4 Alert user for low quota and video auto-block on upload page (#4336)
* Replace wording of instance contact

* Add contact-us button to no-quota alert on upload page

* Add alert for accounts with auto-blocked videos on upload page

* Add alert for accounts without enough quota + refacto on upload page

* Using ng-container and ng-template

* Add alert for daily quota

* Add hook filter for upload page alert messages

* Add instance name as subtitle in contact modal

* Fix eslint max-len on  string

* Fix missing word in quota left daily message - upload page

Co-authored-by: Kimsible <kimsible@users.noreply.github.com>
2021-08-25 11:38:10 +02:00
Chocobozzz
63436fc5ea Fix uploading empty tags 2021-08-18 11:12:21 +02:00