aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Remove low timeoutsChocobozzz2023-05-223-9/+0
| | | | Default timeout is 30s
* Fix missing wait jobsChocobozzz2023-05-191-1/+1
|
* Fix testChocobozzz2023-05-151-1/+5
|
* Add runner server testsChocobozzz2023-05-091-1/+1
|
* Fix testsChocobozzz2023-03-271-1/+1
|
* Add filter:html.client.json-ld.result hookChocobozzz2023-03-241-0/+21
|
* Fix flaky testsChocobozzz2023-03-171-1/+1
|
* Merge branch 'release/5.1.0' into developChocobozzz2023-03-161-0/+24
|\
| * Add video AP hooksChocobozzz2023-03-161-0/+24
| |
| * Fix testsChocobozzz2023-03-101-1/+3
| |
| * Add test on AP hooksChocobozzz2023-03-101-0/+17
| |
* | Fix testsChocobozzz2023-03-101-1/+3
| |
* | Add test on AP hooksChocobozzz2023-03-101-0/+17
| |
* | Hotfix/filter subscription videos (#5665)Wicklow2023-03-021-4/+4
|/ | | | | | | | | * Fix filters on subscription videos * Add tests to common video filters * Improve reliability when skipping subscrition path * Better parameters for skipping subscription videos
* Add server hooks for listing subscriptionWicklow2023-02-251-0/+17
|
* Add signup approval API testsChocobozzz2023-01-192-7/+44
|
* Merge branch 'feature/SO035' into developChocobozzz2023-01-092-3/+73
|\
| * External auth can update user on loginChocobozzz2023-01-042-2/+66
| |
| * External auth can set more user fieldsChocobozzz2023-01-041-1/+7
| | | | | | | | videoQuota, videoQuotaDaily, adminFlags
* | Implement getServerListeningConfig plugin helperChocobozzz2023-01-041-0/+12
|/
* Add ability to get user from file tokenChocobozzz2022-12-201-17/+30
|
* Fix CI using 127.0.0.1 for testsChocobozzz2022-12-121-6/+6
|
* Increase test timeoutChocobozzz2022-11-031-1/+1
|
* Breaking API: Consistency with role id/labelChocobozzz2022-10-282-7/+7
|
* Put private videos under a specific subdirectoryChocobozzz2022-10-242-15/+27
|
* Add ability for plugins to register ws routesChocobozzz2022-10-112-0/+71
|
* Expose PeerTube socket to plugins (#5239)kontrollanten2022-10-101-0/+27
| | | | | | | | | | | * server(pluginHelpers): add socket * test(plugins): add socket cases * fixes after review * Update plugin-helpers.ts * Update plugin-helpers.ts
* Support refusing remote commentsChocobozzz2022-09-231-163/+220
|
* Cleanup tests importsChocobozzz2022-08-174-12/+4
|
* We don't need to import mochaChocobozzz2022-08-1712-12/+0
|
* Fix resolution to transcode hook nameChocobozzz2022-08-091-1/+1
|
* Add notification plugin hookChocobozzz2022-08-031-2/+9
|
* Add channel server hooksChocobozzz2022-08-032-1/+56
|
* Suffix external auth username on conflictChocobozzz2022-08-031-5/+34
|
* Fix testsChocobozzz2022-08-021-0/+1
|
* Add plugin hook on transcoding resolutions buildingChocobozzz2022-08-021-0/+13
|
* Add job queue hooksChocobozzz2022-08-022-0/+68
|
* Fix lintChocobozzz2022-07-131-2/+2
|
* Support video views/viewers stats in serverChocobozzz2022-04-152-3/+3
| | | | | | | | | | * 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
* add filter:api.video-playlist.videos.list.* hookskontrollanten2022-02-281-1/+33
| | | | closes #4775
* Add basic video editor supportChocobozzz2022-02-282-12/+6
|
* Add video caption created and deleted hookslutangar2021-12-231-0/+14
|
* Move test functions outside extra-utilsChocobozzz2021-12-175-9/+10
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-1712-12/+12
|
* Add ffprobe helperChocobozzz2021-12-161-0/+17
|
* Add videos.getFiles plugin helperChocobozzz2021-12-161-1/+51
|
* Fix testsChocobozzz2021-12-161-1/+1
|
* fix plugin storage return value when storing a Json arraylutangar2021-12-161-1/+5
|
* Add upload/import/go live video attributes hooksChocobozzz2021-12-101-0/+59
|