aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Move types package in packages/Chocobozzz2021-12-281-2/+2
|
* Fix types dist pathsChocobozzz2021-12-243-2/+6
|
* Don't stuck state when move transcoding job failedChocobozzz2021-12-231-1/+6
|
* Ensure we don't move live to object storageChocobozzz2021-12-171-0/+5
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-172-2/+2
|
* Optimize server eslintChocobozzz2021-12-161-2/+0
|
* Add P2P enabled/disabled in player cardChocobozzz2021-12-161-0/+3
|
* Fix some build scripts and lintChocobozzz2021-12-162-2/+4
|
* refactor(types): create dedicated folder for types package srclutangar2021-12-161-78/+0
| | | | | | fix guide examples and add types package readme refactor(tsconfig): move back base tsconfig to base directory
* feat(types): create peertube-types packagelutangar2021-12-163-1/+84
| | | | | | | | | | | | Create dedicated Typescript "types" configuration file for each "projects". Create a types folder which includes every useful ts definition: - client - server - shared Add tooling to create a proper package, extract dependencies, etc... Add CI Github task. refactor(types): publish types package in release script
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-164-4/+17
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Ability for admins to set default upload valuesChocobozzz2021-12-142-17/+3
|
* Support nn and nb localesChocobozzz2021-12-132-1/+3
|
* Add meaning to date short namesChocobozzz2021-12-131-1/+0
|
* Update translationsChocobozzz2021-12-131-2/+3
|
* Add hls to prune storage scriptChocobozzz2021-12-101-1/+9
|
* Fix torrent metadata update for hlsChocobozzz2021-12-091-1/+1
|
* Update torrent metadata on video updateChocobozzz2021-12-081-3/+3
|
* scripts/test: make MacOS compatiblekontrollanten2021-12-081-3/+3
| | | | | | | man xargs: -r Compatibility with GNU xargs. The GNU version of xargs runs the utility argument at least once, even if xargs input is empty, and it supports a -r option to inhibit this behavior. The FreeBSD version of xargs does not run the utility argument on empty input, but it supports the -r option for command-line compatibility with GNU xargs, but the -r option does nothing in the FreeBSD version of xargs.
* Don't process live in migration scriptChocobozzz2021-11-251-1/+1
|
* Launch yarn before linking to new peertube versionJocelyn Jaubert2021-11-221-3/+5
| | | | | | If yarn fails because we don't have the correct nodejs version, we want to know earlier, so that we can upgrade nodejs without having a non-working half-installed peertube instance.
* Stop killing peertube in ci scriptChocobozzz2021-11-181-2/+0
|
* Add ability to run transcoding jobsChocobozzz2021-11-181-4/+5
|
* Update xliffmergeChocobozzz2021-11-151-1/+1
|
* Update creditsChocobozzz2021-11-121-1/+4
|
* Add migrate-to-object-storage script (#4481)kontrollanten2021-11-096-12/+204
| | | | | | | | | | | | | | | | | | * 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>
* Fix transcoding job with resolutionChocobozzz2021-11-051-2/+2
|
* Remove unnecessary envChocobozzz2021-11-021-1/+1
|
* Fix "Off" player string localizationChocobozzz2021-10-211-0/+1
|
* Fix admin edition disabling featureChocobozzz2021-10-141-1/+1
|
* Fix benchmark testChocobozzz2021-10-141-1/+1
|
* Remove peertube watch and peertube replChocobozzz2021-09-101-5/+0
| | | | | I don't have time to maintain these scripts that cause some install issues/maintenance difficulties
* Fix NSFW filter and add testsChocobozzz2021-09-032-2/+10
|
* Fix hls redundancy pruningChocobozzz2021-09-021-0/+4
|
* Improve e2e workflow and add docChocobozzz2021-09-022-11/+3
|
* Migrate to webdriverioChocobozzz2021-09-011-7/+1
|
* Fix benchmark scriptChocobozzz2021-08-301-2/+2
|
* esModuleInterop to trueChocobozzz2021-08-274-9/+9
|
* Update contributor listChocobozzz2021-08-261-1/+1
|
* No need to install client dependencies for upgradeChocobozzz2021-08-261-1/+1
|
* Embed stats only when neededChocobozzz2021-08-182-1/+7
|
* Optimize torrent URL updateChocobozzz2021-08-181-3/+3
|
* Support short uuid for scriptsChocobozzz2021-08-172-6/+10
|
* Remove optimize old videos scriptChocobozzz2021-08-172-93/+0
| | | | 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-173-46/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* TypoChocobozzz2021-08-111-1/+1
|
* Try to fix openapi scriptChocobozzz2021-08-112-3/+2
|
* Improve target bitrate calculationChocobozzz2021-08-062-6/+5
|
* Refactor video links buildersChocobozzz2021-07-261-2/+1
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-263-55/+52
|