aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update server dependenciesChocobozzz2023-05-224-5/+5
|
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-226-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* More robust quota checkChocobozzz2023-05-223-10/+10
| | | | Avoid concurrency issues with permanent lives
* Fix testsChocobozzz2023-05-221-0/+2
|
* Force stop remote live transcodingChocobozzz2023-05-225-1/+12
|
* Lock when removing video filesChocobozzz2023-05-221-16/+40
|
* Use saveInTransactionWithRetries helperChocobozzz2023-05-191-21/+5
|
* Remove wait before publishing master playlistChocobozzz2023-05-191-12/+0
| | | | It doesn't seem necessary
* Correctly fix s3 live syncChocobozzz2023-05-191-1/+3
|
* More robust chunk handlerChocobozzz2023-05-191-1/+1
|
* Wait master playlist generationChocobozzz2023-05-191-7/+12
|
* Avoid uploading empty master fileChocobozzz2023-05-191-1/+8
|
* Avoid aborting completing jobsChocobozzz2023-05-191-7/+6
|
* Don't run ffmpeg twice for livesChocobozzz2023-05-191-2/+0
|
* Fix peertube runner concurrencyChocobozzz2023-05-191-0/+4
|
* Force ffmpeg to exit on abortChocobozzz2023-05-171-2/+12
|
* Fix testsChocobozzz2023-05-171-1/+2
|
* Prevent uninstall error on install errorChocobozzz2023-05-171-7/+9
|
* Increase last runner contact updateChocobozzz2023-05-171-1/+1
|
* Use atomic renameChocobozzz2023-05-162-4/+4
|
* Provide public RTMP URL to runnersChocobozzz2023-05-165-25/+55
|
* Force live stream terminationChocobozzz2023-05-151-1/+4
|
* Don't save the session twiceChocobozzz2023-05-151-0/+3
|
* Atomic live segment file writeChocobozzz2023-05-151-3/+11
|
* Fix reset sequelize instanceChocobozzz2023-05-112-5/+5
|
* Prevent invalid end watch section warningsChocobozzz2023-05-101-1/+6
|
* Fix S3 live syncChocobozzz2023-05-104-30/+72
| | | | Ensure TS chunks referenced in M3U8 playlist are already uploaded on S3
* Fix #5744: Missing plugins-global.css + missing async (#5746)John Livingston2023-05-101-2/+15
| | | | | | | | | | | * Fix #5744: Missing plugins-global.css + missing async * Modifications required by Chocobozzz. * Styling --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
* feat(server): add redis sentinel support (#5593)kontrollanten2023-05-101-4/+20
| | | | | | | | | | | * feat(server): add redis sentinel support closes #5141 * Styling --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
* Reload the video after waiting for the files lockChocobozzz2023-05-096-3/+13
|
* Fix audio transcoding copyChocobozzz2023-05-091-50/+1
|
* Prefer video studio instead of video editionChocobozzz2023-05-097-169/+30
| | | | Clearer and easier to find in the project
* Support studio transcoding in peertube runnerChocobozzz2023-05-0917-124/+326
|
* Add TMP persistent directoryChocobozzz2023-05-092-43/+70
| | | | To store files that must be preserved between peertube restarts
* Enable external plugins to test the PRChocobozzz2023-05-093-27/+42
|
* Fix import video file lockChocobozzz2023-05-097-9/+19
|
* Fix next video state after optimize/audio mergeChocobozzz2023-05-094-26/+38
|
* Implement remote runner jobs in serverChocobozzz2023-05-0954-1014/+2902
| | | | Move ffmpeg functions to @shared
* Fix unregister default valueChocobozzz2023-05-051-1/+1
|
* Don't call plugin register/unregister methodsChocobozzz2023-05-051-9/+25
|
* Prevent crash on plugin ws errorChocobozzz2023-04-171-1/+9
|
* Remove invalid jsonld propertyChocobozzz2023-04-111-1/+0
|
* feature/ability to disable video history by default (#5728)Wicklow2023-04-071-0/+2
| | | | | | | | | | | | | * draft: ability to disable video history by default * Update configuration and add tests * Updated code based on review comments * Add tests on registration and video quota * Remove required video quotas in query * Fix tests
* Feature/Add replay privacy (#5692)Wicklow2023-03-312-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | * Add replay settings feature * Fix replay settings behaviour * Fix tests * Fix tests * Fix tests * Update openapi doc and fix tests * Add tests and fix code * Models correction * Add migration and update controller and middleware * Add check params tests * Fix video live middleware * Updated code based on review comments
* Add filter:html.client.json-ld.result hookChocobozzz2023-03-241-11/+17
|
* Add video AP hooksChocobozzz2023-03-162-0/+6
|
* Add test on AP hooksChocobozzz2023-03-101-1/+1
|
* Add ability for plugins to alter video jsonldChocobozzz2023-03-104-10/+14
|
* Add ability to disable http duration OTEL metricsChocobozzz2023-02-271-1/+3
|
* Fix #5614: do not log bearerToken.John Livingston2023-02-171-1/+1
|