aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add version commentChocobozzz2023-05-051-0/+1
|
* Add filter:html.client.json-ld.result hookChocobozzz2023-03-241-0/+2
|
* Add video AP hooksChocobozzz2023-03-161-2/+6
|
* Add test on AP hooksChocobozzz2023-03-101-1/+1
|
* Add ability for plugins to alter video jsonldChocobozzz2023-03-101-1/+7
|
* Add server hooks for listing subscriptionWicklow2023-02-251-0/+4
|
* Implement signup approval in serverChocobozzz2023-01-191-0/+7
|
* Support refusing remote commentsChocobozzz2022-09-231-1/+3
|
* Fix resolution to transcode hook nameChocobozzz2022-08-091-2/+2
|
* Add notification plugin hookChocobozzz2022-08-031-0/+3
|
* Add channel server hooksChocobozzz2022-08-031-0/+14
|
* Add plugin hook on transcoding resolutions buildingChocobozzz2022-08-021-1/+4
|
* Add job queue hooksChocobozzz2022-08-021-1/+4
|
* add filter:api.video-playlist.videos.list.* hookskontrollanten2022-02-281-0/+5
| | | | closes #4775
* Fix plugin settings manager definitionlutangar2022-01-202-5/+15
| | | | | | | | This mainly fix the `onSettingsChange` argument typing. I'm not 100% sure the setting `value` can be a boolean though. But this is how it was typed before so I just made it consistent. Feel free to change - or suggest change - to the type names / location.
* Add video caption created and deleted hookslutangar2021-12-231-0/+5
|
* Add upload/import/go live video attributes hooksChocobozzz2021-12-101-0/+6
|
* Add filter:api.server.stats.get.result hookChocobozzz2021-12-091-0/+3
|
* CLI: plugins install command accept a --plugin-version parameter. (#4599)John Livingston2021-12-031-0/+1
| | | | | | | | | | | * CLI: plugins install command accept a --plugin-version parameter. * Unit tests for plugins install --plugin-version. * Fix linting. * Styling Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add `req` and `res` as controllers hooks parameterslutangar2021-11-251-0/+2
| | | | | Hooks prefixed by `action:api` now give access the original express req and res. Checkout guide.md for possible usage.
* Add ability to run transcoding jobsChocobozzz2021-11-181-1/+1
|
* Fix some documentation mistakesfrankstrater2021-09-021-2/+2
|
* Cleanup shared models importsChocobozzz2021-07-285-5/+5
|
* Add new filter hooks to /overviews/videosMichael Williams2021-07-211-0/+4
| | | | | | This change adds new filter hooks `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.params` to /overviews/videos. The motivation is to make a plugin to [use `originallyPublishedAt` in all places where `publishedAt` is used](https://github.com/ahdinosaur/peertube-plugin-originally-published-at).
* Introduce generic video constant manager for pluginslutangar2021-07-166-12/+51
| | | | | Allow a plugin developer to get back constants values, and reset constants deletions or additions.
* Add video-playlist-element.created hook (#4196)kontrollanten2021-06-281-1/+4
| | | | | | | | | | | | | | | | | | | * add playlists.videos.list.params/results hooks closes #4192 * Revert "add playlists.videos.list.params/results hooks" This reverts commit ebd822ca0b769d88dbc5ae0062b286238cbced92. * add video-playlist-element.created hook closes #4192 * test: add playlist-element.created * Fix tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add ability to search playlistsChocobozzz2021-06-251-0/+4
|
* Reorganize plugin modelsChocobozzz2021-05-1120-0/+252