aboutsummaryrefslogtreecommitdiffhomepage
path: root/yarn.lock
Commit message (Collapse)AuthorAgeFilesLines
* Fix atom feed with science and technology categoryChocobozzz2023-09-011-4/+4
|
* Migrate server to ESMChocobozzz2023-08-111-384/+694
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sorry for the very big commit that may lead to git log issues and merge conflicts, but it's a major step forward: * Server can be faster at startup because imports() are async and we can easily lazy import big modules * Angular doesn't seem to support ES import (with .js extension), so we had to correctly organize peertube into a monorepo: * Use yarn workspace feature * Use typescript reference projects for dependencies * Shared projects have been moved into "packages", each one is now a node module (with a dedicated package.json/tsconfig.json) * server/tools have been moved into apps/ and is now a dedicated app bundled and published on NPM so users don't have to build peertube cli tools manually * server/tests have been moved into packages/ so we don't compile them every time we want to run the server * Use isolatedModule option: * Had to move from const enum to const (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums) * Had to explictely specify "type" imports when used in decorators * Prefer tsx (that uses esbuild under the hood) instead of ts-node to load typescript files (tests with mocha or scripts): * To reduce test complexity as esbuild doesn't support decorator metadata, we only test server files that do not import server models * We still build tests files into js files for a faster CI * Remove unmaintained peertube CLI import script * Removed some barrels to speed up execution (less imports)
* Correctly download files from S3Chocobozzz2023-06-291-0/+139
| | | | Use pre signed URLs to inject content disposition header
* Update server dependenciesChocobozzz2023-05-221-1916/+2040
|
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial test implementation of Podcast RSS This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option. I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort. * Update to pfeed-podcast 1.2.2 * Initial test implementation of Podcast RSS This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option. I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort. * Update to pfeed-podcast 1.2.2 * Initial test implementation of Podcast RSS This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option. I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort. * Update to pfeed-podcast 1.2.2 * Add correct feed image to RSS channel * Prefer HLS videos for podcast RSS Remove video/stream titles, add optional height attribute to podcast RSS * Prefix podcast RSS images with root server URL * Add optional video query support to include captions * Add transcripts & person images to podcast RSS feed * Prefer webseed/webtorrent files over HLS fragmented mp4s * Experimentally adding podcast fields to basic config page * Add validation for new basic config fields * Don't include "content" in podcast feed, use full description for "description" * Initial test implementation of Podcast RSS This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option. I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort. * Update to pfeed-podcast 1.2.2 * Add correct feed image to RSS channel * Prefer HLS videos for podcast RSS Remove video/stream titles, add optional height attribute to podcast RSS * Prefix podcast RSS images with root server URL * Add optional video query support to include captions * Add transcripts & person images to podcast RSS feed * Prefer webseed/webtorrent files over HLS fragmented mp4s * Experimentally adding podcast fields to basic config page * Add validation for new basic config fields * Don't include "content" in podcast feed, use full description for "description" * Add medium/socialInteract to podcast RSS feeds. Use HTML for description * Change base production image to bullseye, install prosody in image * Add liveItem and trackers to Podcast RSS feeds Remove height from alternateEnclosure, replaced with title. * Clear Podcast RSS feed cache when live streams start/end * Upgrade to Node 16 * Refactor clearCacheRoute to use ApiCache * Remove unnecessary type hint * Update dockerfile to node 16, install python-is-python2 * Use new file paths for captions/playlists * Fix legacy videos in RSS after migration to object storage * Improve method of identifying non-fragmented mp4s in podcast RSS feeds * Don't include fragmented MP4s in podcast RSS feeds * Add experimental support for podcast:categories on the podcast RSS item * Fix undefined category when no videos exist Allows for empty feeds to exist (important for feeds that might only go live) * Add support for podcast:locked -- user has to opt in to show their email * Use comma for podcast:categories delimiter * Make cache clearing async * Fix merge, temporarily test with pfeed-podcast * Syntax changes * Add EXT_MIMETYPE constants for captions * Update & fix tests, fix enclosure mimetypes, remove admin email * Add test for podacst:socialInteract * Add filters hooks for podcast customTags * Remove showdown, updated to pfeed-podcast 6.1.2 * Add 'action:api.live-video.state.updated' hook * Avoid assigning undefined category to podcast feeds * Remove nvmrc * Remove comment * Remove unused podcast config * Remove more unused podcast config * Fix MChannelAccountDefault type hint missed in merge * Remove extra line * Re-add newline in config * Fix lint errors for isEmailPublic * Fix thumbnails in podcast feeds * Requested changes based on review * Provide podcast rss 2.0 only on video channels * Misc cleanup for a less messy PR * Lint fixes * Remove pfeed-podcast * Add peertube version to new hooks * Don't use query include, remove TODO * Remove film medium hack * Clear podcast rss cache before video/channel update hooks * Clear podcast rss cache before video uploaded/deleted hooks * Refactor podcast feed cache clearing * Set correct person name from video channel * Styling * Fix tests --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
* Upgrade sequelize dependencyChocobozzz2023-02-271-16/+16
|
* Improve image test comparisonChocobozzz2023-02-241-0/+12
|
* Fix CIChocobozzz2023-02-171-6/+1
|
* Update bullmqChocobozzz2023-02-161-12/+6
| | | | Requires redis >= 6.2
* Update server dependenciesChocobozzz2023-02-161-1774/+2020
|
* Fix types buildChocobozzz2023-01-091-4/+4
| | | | | We use server tsc to build client types so it causes issues with client typescript version
* Fix buildChocobozzz2023-01-091-4/+4
|
* Update socket ioChocobozzz2022-11-281-16/+16
|
* Upgrade server dependenciesChocobozzz2022-11-151-1465/+1549
|
* refactor(server): redis > ioredis (#5371)kontrollanten2022-11-141-58/+7
| | | | | | | | | | | | | | | | | | | * refactor(server): redis > ioredis * refactor(JobQueue): reuse redis connection builder * fix(redisio) * fix(redis): setValue * feat(redis): showFriendlyErrorStack * feat(redis): auto pipelining https://github.com/luin/ioredis/blob/308017a6b9429c16b074e03e70f5524499476fa9/README.md#autopipelining * dont use autopipelining for bullmq * ioredis events
* Use private ACL for private videos in s3Chocobozzz2022-10-241-564/+593
|
* Put private videos under a specific subdirectoryChocobozzz2022-10-241-6/+8
|
* Support two factor authentication in backendChocobozzz2022-10-071-0/+12
|
* Update server dependenciesChocobozzz2022-09-091-1229/+1176
|
* Add playback metric endpoint sent to OTELChocobozzz2022-08-161-50/+30
|
* Move to bullmqChocobozzz2022-08-091-43/+16
|
* Remove uneeded asyncChocobozzz2022-08-021-6/+1
|
* Add ability to delete a specific video fileChocobozzz2022-08-011-0/+13
|
* Add more tracingChocobozzz2022-07-281-1/+10
|
* Upgrade server dependenciesChocobozzz2022-07-271-361/+508
|
* Fix lintChocobozzz2022-07-131-1/+30
|
* Upgrade server dependenciesChocobozzz2022-07-131-927/+893
|
* Add compat with openssl 3Chocobozzz2022-07-121-52/+6
|
* Introduce experimental telemetryChocobozzz2022-07-061-6/+307
|
* Upgrade oauth2-serverChocobozzz2022-06-281-22/+21
|
* Introduce worker threads to process remote imagesChocobozzz2022-06-241-2/+40
|
* Upgrade server dependenciesChocobozzz2022-06-211-1743/+1714
|
* Upgrade vulnerable dependenciesChocobozzz2022-06-211-54/+177
|
* Fix video upload with some characters in filenameChocobozzz2022-05-171-4/+4
|
* Upgrade http signatureChocobozzz2022-05-101-4/+4
| | | | | To support hs2019 implementation of other federated softwaare that use rsa256 instead of rsa512
* Add use proxy for s3 (#4973)Chocobozzz2022-05-091-0/+41
| | | | | | | | | | | | | * Fix object storage to be accessible via proxy * fix lint * Use hpagent * Fix lint * Fix PR Co-authored-by: noellabo <noel.yoshiba@gmail.com>
* object-storage: @aws-sdk/lib-storage for multipart (#4903)kontrollanten2022-04-191-6/+37
| | | | | | | | | | | | | | | | | * object-storage: @aws-sdk/lib-storage for multipart * gitignore: add .DS_Store * test(object-storage): remove only * test(object-storage/multipart): generate video * fix lint issue * test(obj-storage/video): ensure file size * Styling Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix 2 hours limit on uploadsChocobozzz2022-04-191-4/+4
|
* Upgrade server dependenciesChocobozzz2022-04-151-217/+218
|
* Support video views/viewers stats in serverChocobozzz2022-04-151-0/+18
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Upgrade server dependenciesChocobozzz2022-04-081-1007/+1080
|
* Update server dependenciesChocobozzz2022-03-211-1041/+1114
|
* Upgrade lru-cacheChocobozzz2022-02-101-1/+6
| | | | The bug has been fixed on their side
* Fix broken depChocobozzz2022-02-091-10/+5
|
* Update server dependenciesChocobozzz2022-02-091-904/+935
|
* Fix xml feed validityChocobozzz2022-02-091-4/+4
|
* Move to peertube feed forkChocobozzz2022-02-071-14/+15
|
* Remove fixed workaroundChocobozzz2022-01-211-17/+12
|
* Upgrade minor dependenciesChocobozzz2022-01-181-658/+691
|
* Upgrade uploadx dependencyChocobozzz2022-01-181-4/+4
|