aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix run committed transationChocobozzz2021-06-091-1/+3
|
* Try to speed up AP update transactionChocobozzz2021-06-081-8/+17
|
* Fix buildChocobozzz2021-06-081-1/+1
|
* Fix toEvenChocobozzz2021-06-082-5/+3
|
* Fix "height not divisible by 2" ffmpeg errorChocobozzz2021-06-082-6/+26
|
* Fix video upload with a capitalized extChocobozzz2021-06-083-35/+64
|
* Move middleware utils in middlewaresChocobozzz2021-06-0315-671/+8
| | | | helpers modules should not import models
* Refactor server errors handlerChocobozzz2021-06-021-31/+1
|
* Add tags to logs in AP videosChocobozzz2021-06-021-1/+4
|
* correct error codes and backward compatRigel Kent2021-06-021-9/+9
|
* refactor deprecated body-parser usageRigel Kent2021-06-021-2/+2
|
* refactor API errors to standard error formatRigel Kent2021-06-0211-80/+106
|
* CleanupChocobozzz2021-05-282-21/+9
| | | | | We must not expose private actor objects to clients Just make 2 GET requests on channel/accounts instead
* Merge branch 'develop' into shorter-URLs-channels-accountsChocobozzz2021-05-2716-342/+379
|\
| * Instance homepage support (#4007)Chocobozzz2021-05-271-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
| * Fix duplicate ffmpeg preset option for liveChocobozzz2021-05-251-1/+0
| |