aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Correctly unload plugin pathsChocobozzz2023-06-061-1/+1
|
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Prevent uninstall error on install errorChocobozzz2023-05-171-7/+9
|
* Implement remote runner jobs in serverChocobozzz2023-05-091-1/+1
| | | | 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
|
* Implement getServerListeningConfig plugin helperChocobozzz2023-01-041-0/+4
|
* Add ability to get user from file tokenChocobozzz2022-12-201-1/+1
|
* Add ability to install alpha/beta/rc pluginChocobozzz2022-11-141-2/+2
|
* Add ability for plugins to register ws routesChocobozzz2022-10-113-7/+58
|
* Expose PeerTube socket to plugins (#5239)kontrollanten2022-10-101-1/+16
| | | | | | | | | | | * server(pluginHelpers): add socket * test(plugins): add socket cases * fixes after review * Update plugin-helpers.ts * Update plugin-helpers.ts
* Automatically rebuild native modules on ABI changeChocobozzz2022-08-032-1/+13
|
* Add job queue hooksChocobozzz2022-08-023-4/+12
|
* Fix lintChocobozzz2022-07-132-2/+2
|
* Rename video full loadingChocobozzz2022-06-281-4/+4
|
* Fix client html cache on theme updateChocobozzz2022-03-171-4/+4
|
* Add basic video editor supportChocobozzz2022-02-282-2/+2
|
* Fix plugin settings manager definitionlutangar2022-01-201-2/+3
| | | | | | | | 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.
* Upgrade redis depChocobozzz2021-12-241-1/+7
|
* Fix type conflictChocobozzz2021-12-241-7/+7
|
* Add ffprobe helperChocobozzz2021-12-161-0/+5
|
* Add videos.getFiles plugin helperChocobozzz2021-12-161-2/+53
|
* Fix commentChocobozzz2021-12-031-2/+2
|
* Fix plugin upgradeChocobozzz2021-12-031-4/+4
| | | | Correctly decache all plugin paths
* esModuleInterop to trueChocobozzz2021-08-274-4/+4
|
* Introduce generic video constant manager for pluginslutangar2021-07-162-179/+182
| | | | | Allow a plugin developer to get back constants values, and reset constants deletions or additions.
* Handle broken plugin installChocobozzz2021-06-301-11/+16
|
* Add ability to delete previously added constantsChocobozzz2021-06-151-9/+19
|
* Instance homepage support (#4007)Chocobozzz2021-05-271-2/+2
| | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
* Reorganize plugin modelsChocobozzz2021-05-114-25/+19
|
* Cleanup models directory organizationChocobozzz2021-05-111-1/+1
|
* Move transcoding files in their own directoryChocobozzz2021-05-111-1/+1
|
* Plugin user.getAuthUser is now asyncChocobozzz2021-05-051-1/+7
| | | | So we can load the full user
* Add data directory for plugins and some helpersChocobozzz2021-04-222-15/+34
|
* Allow plugins to set short translation localeChocobozzz2021-04-201-3/+6
|
* Support async onSettingsChangeChocobozzz2021-04-202-4/+4
|
* Ensure to install supported pluginsChocobozzz2021-04-123-6/+28
|
* Add server plugin helpersChocobozzz2021-04-092-2/+17
|
* Also decache configChocobozzz2021-04-091-2/+1
|
* Fix #3940: unload all children from the plugin module on updates.John Livingston2021-04-091-1/+3
|
* Refactor auth flowChocobozzz2021-03-241-1/+1
| | | | | Reimplement some node-oauth2-server methods to remove hacky code needed by our external login workflow
* Use got instead of requestChocobozzz2021-03-241-11/+15
|
* Allow plugins to load a video by idChocobozzz2021-02-111-0/+4
|
* Add plugin transcoding profile guideChocobozzz2021-01-291-0/+4
|
* Support transcoding options/encoders by pluginsChocobozzz2021-01-283-19/+107
|
* Provide express request to onLogout callChocobozzz2020-11-201-2/+10
| | | | + pluginInfo related changes
* Reorganize client shared modulesChocobozzz2020-06-233-28/+28
|
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* First implem global searchChocobozzz2020-06-101-1/+2
|