aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Don't write youtube-dl stdout in logChocobozzz2021-10-251-1/+1
| | | | It's too big
* Remove sync call in loggerChocobozzz2021-10-221-4/+0
| | | | Winston already does it
* Add peertube short link import testChocobozzz2021-10-221-2/+2
|
* Rewrite youtube-dl importChocobozzz2021-10-226-396/+497
| | | | | | | | 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
|
* Fix youtube-dl update with proxyChocobozzz2021-10-152-4/+7
|
* Fix requests timeoutChocobozzz2021-10-131-4/+1
|
* Merge branch 'release/3.4.0' into developChocobozzz2021-10-121-1/+4
|\
| * Don't use min FPS, throw insteadChocobozzz2021-10-121-1/+4
| | | | | | | | Avoir creating a big output from a very low FPS input file
| * Remove unused commentsChocobozzz2021-10-081-1/+0
| |
* | Fix email logger typingsChocobozzz2021-10-111-3/+3
| |
* | Fix multiple \n in md to plain textChocobozzz2021-10-111-1/+1
| |
* | Remove unused commentsChocobozzz2021-10-111-1/+0
|/
* Fix silent 500 after resumable uploadChocobozzz2021-09-091-8/+1
|
* Don't force youtube-dl hostChocobozzz2021-09-081-1/+1
|
* Remove unused timeout optionChocobozzz2021-09-071-2/+0
|
* More robust webtorrent redundancy downloadChocobozzz2021-09-061-3/+3
| | | | | Avoid issues with inconsistencies between magnet infohash and torrent infohash, blocking webtorrent upload that will timeout
* forceConsistentCasingInFileNames to trueChocobozzz2021-08-301-2/+3
|
* esModuleInterop to trueChocobozzz2021-08-2715-103/+104
|
* Allow accounts to skip account setup modalChocobozzz2021-08-271-7/+2
|
* Don't throw when there is no errorChocobozzz2021-08-261-1/+3
|
* Remove too much log for webtorrent downloadChocobozzz2021-08-261-1/+1
|
* More logs for webtorrent downloadChocobozzz2021-08-261-1/+8
|
* Remove useless asyncChocobozzz2021-08-261-1/+1
|
* Support proxies for PeerTube (#4346)smilekison2021-08-252-2/+44
| | | | | | | | | | | * 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>
* Remove useless conditionChocobozzz2021-08-181-6/+2
|
* Optimize torrent URL updateChocobozzz2021-08-181-13/+48
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Improve target bitrate calculationChocobozzz2021-08-062-18/+33
|
* Limit live bitrateChocobozzz2021-08-062-9/+25
|
* Fix backend channel name validator consistencyChocobozzz2021-08-051-2/+9
|
* Log ffmpeg commandChocobozzz2021-07-291-1/+5
|
* Refactor search query optionsChocobozzz2021-07-291-0/+74
|
* Search channels against handles and not namesChocobozzz2021-07-291-0/+5
|
* Add ability to search by uuids/actor namesChocobozzz2021-07-281-0/+10
|
* Filter host for channels and playlists searchChocobozzz2021-07-281-29/+2
|
* Refactor video links buildersChocobozzz2021-07-261-1/+22
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-263-13/+38
|
* Add ability for instances to follow any actorChocobozzz2021-07-212-3/+18
|
* Refactor requestsChocobozzz2021-07-203-3/+3
|
* Introduce debug commandChocobozzz2021-07-201-5/+5
|
* Fix youtube-dl import for peertube videosChocobozzz2021-07-161-1/+1
|
* Use dns cache for requestsChocobozzz2021-07-021-0/+1
| | | | Prevent blocking issues in uv thread pool
* Support short uuid for GET video/playlistChocobozzz2021-06-293-38/+82
|
* Upgrade server dependenciesChocobozzz2021-06-251-3/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-2/+5
|
* Use a global request timeoutChocobozzz2021-06-151-1/+7
|
* Use raw SQL for most of video queriesChocobozzz2021-06-111-1/+1
|
* Fetch directly all video attributes for get APIChocobozzz2021-06-111-1/+1
|
* Cache refresh actor promiseChocobozzz2021-06-091-0/+21
|