aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/miscs
Commit message (Collapse)AuthorAgeFilesLines
* Optimize torrent URL updateChocobozzz2021-08-181-0/+7
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-172-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-061-0/+14
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-261-3/+4
|
* Reorganize importsChocobozzz2021-07-201-1/+1
|
* Refactor requestsChocobozzz2021-07-201-2/+2
|
* Centralize test URLsChocobozzz2021-07-201-0/+32
|
* Use an object to represent a serverChocobozzz2021-07-202-4/+4
|
* Shorter server command namesChocobozzz2021-07-202-2/+2
|
* Introduce videos commandChocobozzz2021-07-201-1/+15
|
* Introduce server commandsChocobozzz2021-07-208-180/+190
|
* Introduce sql commandChocobozzz2021-07-204-169/+143
|
* Correctly export misc filesChocobozzz2021-07-202-64/+3
|
* Use consistent marginsChocobozzz2021-07-011-1/+1
|
* Fix hooks definitionChocobozzz2021-07-011-3/+10
|
* Faster ci using compiled ts filesChocobozzz2021-06-152-49/+17
|
* Add size info in db for actor imagesChocobozzz2021-04-081-0/+6
|
* Refactor auth flowChocobozzz2021-03-241-0/+9
| | | | | Reimplement some node-oauth2-server methods to remove hacky code needed by our external login workflow
* Add new plugin/peertube version notifsChocobozzz2021-03-241-2/+11
|
* Add ability to cleanup remote AP interactionsChocobozzz2021-03-031-1/+38
|
* Update server dependenciesChocobozzz2021-02-031-2/+3
|
* Save logs on ci failureChocobozzz2020-12-141-0/+5
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-1/+2
|
* Add logs to fixture generationsChocobozzz2020-12-011-0/+3
|
* Add live transcoding bit rate testsChocobozzz2020-11-251-4/+4
|
* Do not transcode to an higher bitrateChocobozzz2020-11-201-1/+8
| | | | Thanks bkil https://github.com/bkil
* Add fixtures cache to github actionsChocobozzz2020-08-241-2/+2
|
* Remove unused gitlab ci env variablesChocobozzz2020-08-242-3/+1
|
* Don't rely on youtube for testsChocobozzz2020-07-311-4/+11
| | | | | Use another import URL when possible, and disable import tests when we want to do a youtube import test
* Update server dependenciesChocobozzz2020-06-171-3/+3
|
* space optimizations for `node_modules` and client stats removalRigel Kent2020-06-101-4/+4
| | | | | | | - replace sharp with lighter jimp alternative - remove stats in builds fixes #2807
* Update server dependenciesChocobozzz2020-04-011-2/+2
|
* Move to eslintcontainChocobozzz2020-02-032-10/+12
|
* Fix transcodingChocobozzz2020-01-291-1/+1
|
* Add tests for video downscale framerate matchingRigel Kent2020-01-291-1/+24
|
* Cleanup server fixmeChocobozzz2020-01-281-1/+0
|
* Add avatar to prune scriptChocobozzz2019-08-091-0/+5
|
* Automatically remove bad followingsChocobozzz2019-08-061-0/+9
|
* Improve nginx client images cacheChocobozzz2019-07-291-1/+5
|
* Add gitlab ci supportChocobozzz2019-07-292-6/+7
|
* Add plugin API testsChocobozzz2019-07-241-0/+10
|
* WIP plugins: move plugin CLI in peertube scriptChocobozzz2019-07-241-1/+4
| | | | Install/uninstall/list plugins remotely
* Add more CLI testsChocobozzz2019-06-131-2/+6
|
* All API tests in parallelChocobozzz2019-05-151-17/+18
|
* Use test wrapper exit functionChocobozzz2019-04-242-5/+9
|
* Upgrade sequelizeChocobozzz2019-04-241-1/+0
|
* Update sequelizeChocobozzz2019-04-241-8/+9
|
* Shared utils -> extra-utilsChocobozzz2019-04-245-0/+286
Because they need dev dependencies