aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins
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 ability for plugins to add metadataChocobozzz2023-03-101-0/+2
|
* Add action:video-edit.form.updated hookChocobozzz2023-03-101-0/+4
|
* Add server hooks for listing subscriptionWicklow2023-02-251-0/+4
|
* Implement signup approval in serverChocobozzz2023-01-191-0/+7
|
* feat(plugins): add p2p-media-loader options filter (#5318)kontrollanten2022-10-111-1/+4
| | | | | | | * feat(plugins): add p2p-media-loader options filter closes #5317 * remove obsolete await
* Support refusing remote commentsChocobozzz2022-09-231-1/+3
|
* Add plugin hooks/placeholder to share modalChocobozzz2022-08-112-1/+21
|
* 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 channel hooksChocobozzz2022-08-032-1/+19
|
* Add plugin hook on transcoding resolutions buildingChocobozzz2022-08-021-1/+4
|
* Add job queue hooksChocobozzz2022-08-021-1/+4
|
* hooks filter:api.my-lib.playlist-elems.get.* (#5098)kontrollanten2022-07-082-1/+6
| | | | | | | | | * hooks filter:api.my-lib.playlist-elems.get.* closes #4776 * Introduce my-library plugin scope Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix various typosluz paz2022-06-071-5/+5
| | | Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
* 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.
* Plugins can add custom instance infoboxChocobozzz2022-01-201-0/+3
|
* Handle async validatorsChocobozzz2022-01-031-1/+1
|
* Enhance plugin video fieldsChocobozzz2021-12-291-0/+7
| | | | | Add video form tab selection Add ability to display an error
* Support official pluginsChocobozzz2021-12-281-0/+2
|
* Resolve enums at compile timeChocobozzz2021-12-281-1/+1
|
* Fix type conflictChocobozzz2021-12-241-5/+5
|
* Add video caption created and deleted hookslutangar2021-12-231-0/+5
|
* Add ability for plugins to register client routesChocobozzz2021-12-103-1/+9
|
* Add upload/import/go live video attributes hooksChocobozzz2021-12-101-0/+6
|
* Add filter:api.server.stats.get.result hookChocobozzz2021-12-091-0/+3
|
* add plugin selector to about/menu elements (#4597)kontrollanten2021-12-031-1/+10
| | | | | | | | | * add plugin selector to about/menu elements closes #4586 * Update plugin selector names Co-authored-by: Chocobozzz <me@florianbigard.com>
* 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>
* Introduce plugin id selectorsChocobozzz2021-11-262-0/+2
|
* 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
|
* add ...playlist.elements.loaded hook (#4387)kontrollanten2021-10-121-0/+4
| | | | | | | | | | | | | * client: add ...playlist.elements.loaded hook closes #4385 * fix linting error * client: add playlist metadata to video-watch hooks * Prefer using a filter for playlist elements hook Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix some documentation mistakesfrankstrater2021-09-021-2/+2
|
* Update upload message filter hook nameChocobozzz2021-08-251-1/+1
|
* Alert user for low quota and video auto-block on upload page (#4336)Ms Kimsible2021-08-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | * Replace wording of instance contact * Add contact-us button to no-quota alert on upload page * Add alert for accounts with auto-blocked videos on upload page * Add alert for accounts without enough quota + refacto on upload page * Using ng-container and ng-template * Add alert for daily quota * Add hook filter for upload page alert messages * Add instance name as subtitle in contact modal * Fix eslint max-len on string * Fix missing word in quota left daily message - upload page Co-authored-by: Kimsible <kimsible@users.noreply.github.com>
* 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-252-1/+8
|
* add client hook filter:videojs.optionskontrollanten2021-06-141-1/+4
| | | | closes #4086
* Add ability to filter menu linksChocobozzz2021-06-071-1/+4
|
* Reorganize plugin modelsChocobozzz2021-05-1133-33/+40
|