aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add minimum bitrate limitChocobozzz2021-11-101-6/+21
|
* Remove resumable cache after upload successChocobozzz2021-11-101-0/+4
|
* Refactor video viewsChocobozzz2021-11-0910-134/+302
| | | | | | | | 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
* Add transcoding fail message in clientChocobozzz2021-11-093-22/+7
|
* video: add video stranscoding_failed statekontrollanten2021-11-092-2/+16
|
* Add migrate-to-object-storage script (#4481)kontrollanten2021-11-093-19/+33
| | | | | | | | | | | | | | | | | | * 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>
* Correctly close RTMPS server tooChocobozzz2021-11-051-3/+12
|
* Support RTMPSChocobozzz2021-11-052-36/+68
|
* Made the video channels limit (per user) server-wide configurable (#4491)Florian CUNY2021-10-261-0/+3
| | | | | | | | | | | | | | | * 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'
* prevent multiple post-process triggering of upload-resumable (#4175)Rigel Kent2021-10-252-1/+28
| | | | | | | | | * 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>
* Remove aws bug workaroundChocobozzz2021-10-222-15/+0
| | | | This has been fixed in https://github.com/aws/aws-sdk-js-v3/pull/2835
* Constants consistencyChocobozzz2021-10-2211-11/+11
|
* Rewrite youtube-dl importChocobozzz2021-10-222-5/+5
| | | | | | | | 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
* Add ability to search by URL with query paramsChocobozzz2021-10-201-1/+1
|
* Force live type specification in first stepChocobozzz2021-10-152-4/+4
|
* Remove old federation compatibilityChocobozzz2021-10-151-3/+0
|
* Fix lintChocobozzz2021-10-141-1/+1
|
* Fix admin edition disabling featureChocobozzz2021-10-141-1/+9
|
* Fix user subscription follows countChocobozzz2021-10-142-30/+14
|
* Fix actor follow counts calculationChocobozzz2021-10-132-10/+11
|
* Process slow followers in unicast job queueChocobozzz2021-10-137-33/+74
|
* Fix check after init scriptChocobozzz2021-10-131-1/+4
|
* Rename config keyChocobozzz2021-10-121-1/+1
|
* add option to always show channel display name (#4422)kontrollanten2021-10-121-0/+7
| | | | | | | | | | | | | | | * 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 79b1a84140857fc24f7e2233e838d012f72bc56f. * channel display name: fix review comments
* Allow configuration to be static/readonly (#4315)Jelle Besseling2021-10-121-0/+1
| | | | | | | | | | | * Allow configuration to be static/readonly * Make all components disableable * Improve disabled component styling * Rename edits allowed field in configuration * Fix CI
* Merge branch 'release/3.4.0' into developChocobozzz2021-10-112-2/+5
|\
| * Fix live bitrateChocobozzz2021-10-112-2/+5
| |
| * Fix notification on create transcoding jobChocobozzz2021-10-081-3/+3
| |
* | Fix email logger typingsChocobozzz2021-10-111-1/+1
| |
* | Remove useless conditionChocobozzz2021-10-111-1/+1
| |
* | Remove uneeded language injectionChocobozzz2021-10-111-3/+1
| | | | | | | | It's already handled by angular build
* | Fix notification on create transcoding jobChocobozzz2021-10-111-3/+3
|/
* Fix config injection with custom HTML/CSSChocobozzz2021-09-091-2/+3
|
* Fix object storage multipart uploadChocobozzz2021-09-082-1/+15
|
* Fix infohash with object storageChocobozzz2021-09-071-0/+4
|
* More robust webtorrent redundancy downloadChocobozzz2021-09-062-7/+3
| | | | | Avoid issues with inconsistencies between magnet infohash and torrent infohash, blocking webtorrent upload that will timeout
* esModuleInterop to trueChocobozzz2021-08-2740-107/+107
|
* More logs for webtorrent downloadChocobozzz2021-08-261-4/+4
|
* Better logs for redundancyChocobozzz2021-08-262-22/+43
|
* Better logs for transcodingChocobozzz2021-08-261-13/+28
|
* Remove useless asyncChocobozzz2021-08-2610-12/+12
|
* More robust optimize transcoding jobChocobozzz2021-08-181-17/+8
|
* Set ACL when uploading objectsChocobozzz2021-08-181-2/+4
|
* Optimize torrent URL updateChocobozzz2021-08-181-2/+2
|
* Remove optimize old videos scriptChocobozzz2021-08-171-1/+1
| | | | It is not compatible with HLS and I don't have time to maintain it
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-1727-341/+1141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for saving video files to object storage * Add support for custom url generation on s3 stored files Uses two config keys to support url generation that doesn't directly go to (compatible s3). Can be used to generate urls to any cache server or CDN. * Upload files to s3 concurrently and delete originals afterwards * Only publish after move to object storage is complete * Use base url instead of url template * Fix mistyped config field * Add rudenmentary way to download before transcode * Implement Chocobozzz suggestions https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-891670478 The remarks in question: Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET) I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs) https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs * Import correct function * Support multipart upload * Remove import of node 15.0 module stream/promises * Extend maximum upload job length Using the same value as for redundancy downloading seems logical * Use dynamic part size for really large uploads Also adds very small part size for local testing * Fix decreasePendingMove query * Resolve various PR comments * Move to object storage after optimize * Make upload size configurable and increase default * Prune webtorrent files that are stored in object storage * Move files after transcoding jobs * Fix federation * Add video path manager * Support move to external storage job in client * Fix live object storage tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Correctly handle large HLS files for redundancyChocobozzz2021-08-062-12/+16
|
* Improve target bitrate calculationChocobozzz2021-08-067-36/+42
|
* Limit live bitrateChocobozzz2021-08-063-27/+39
|
* Remove deprecated transcoding job namesChocobozzz2021-08-051-12/+1
|