aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/feeds
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-112/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* 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
* Prefer displaying channel in rss feedsChocobozzz2022-12-201-4/+4
|
* Prevent concurrency issues when sending m3u8 fileChocobozzz2022-10-241-1/+1
|
* Put private videos under a specific subdirectoryChocobozzz2022-10-241-1/+1
|
* server: use account/channel avatar in RSS feeds (#5325)Alberto Mardegan2022-10-111-0/+10
| | | | | | | | | * server: use account/channel avatar in RSS feeds Fixes: #5320 * Styling Co-authored-by: Chocobozzz <me@florianbigard.com>
* Correctly fix feeds testsChocobozzz2022-08-171-0/+2
|
* Fix feeds testsChocobozzz2022-08-171-1/+2
|
* Cleanup tests importsChocobozzz2022-08-171-3/+1
|
* We don't need to import mochaChocobozzz2022-08-171-1/+0
|
* Use single quotes in server/ and update eslint rulesFlorent2022-08-081-1/+1
|
* Fix broken feeds with published liveChocobozzz2022-06-271-41/+41
|
* Fix feed with live streamChocobozzz2022-06-271-0/+39
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * client: remove unused file * refactor(client/my-actor-avatar): size from input Read size from component input instead of scss, to make it possible to use smaller avatar images when implemented. * implement avatar miniatures close #4560 * fix(test): max file size * fix(search-index): normalize res acc to avatarMini * refactor avatars to an array * client/search: resize channel avatar to 120 * refactor(client/videos): remove unused function * client(actor-avatar): set default size * fix tests and avatars full result When findOne is used only an array containting one avatar is returned. * update migration version and version notations * server/search: harmonize normalizing * Cleanup avatar miniature PR Co-authored-by: Chocobozzz <me@florianbigard.com>
* Move to peertube feed forkChocobozzz2022-02-071-4/+5
|
* Convert markdown to html/plain text for feedsChocobozzz2022-01-311-2/+2
|
* Upgrade fast xml parser depChocobozzz2021-12-241-3/+4
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-171-1/+1
|
* esModuleInterop to trueChocobozzz2021-08-271-3/+3
|
* Move apicache in peertubeChocobozzz2021-07-221-3/+37
| | | | Allow us to upgrade to node 16
* Reorganize importsChocobozzz2021-07-201-3/+2
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Use an object to represent a serverChocobozzz2021-07-201-7/+7
|
* Shorter server command namesChocobozzz2021-07-201-55/+55
|
* Introduce videos commandChocobozzz2021-07-201-14/+10
|
* Introduce user commandChocobozzz2021-07-201-21/+10
|
* Introduce login commandChocobozzz2021-07-201-3/+2
|
* Introduce comments commandChocobozzz2021-07-201-5/+4
|
* Introduce subscriptions commandChocobozzz2021-07-201-13/+11
|
* Introduce blocklist commandChocobozzz2021-07-201-17/+12
|
* Introduce feed commandChocobozzz2021-07-201-62/+60
|
* Remove libxmljs in favour of pure JS implemChocobozzz2021-04-061-7/+10
|
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-081-3/+14
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* Fix migration and testChocobozzz2020-11-251-18/+35
|
* refactor scoped token serviceRigel Kent2020-11-251-4/+4
|
* allow private syndication feeds via a user feedTokenRigel Kent2020-11-251-1/+90
|
* Fix RSS feed when HLS only is enabledChocobozzz2020-08-241-3/+33
|
* Block comments from muted accounts/serversChocobozzz2020-05-291-6/+35
| | | | | | | | | | | | Add better control for users of comments displayed on their videos: * Do not forward comments from muted remote accounts/servers (muted by the current server or by the video owner) * Do not list threads and hide replies (with their children) of accounts/servers muted by the video owner * Hide from RSS comments of muted accounts/servers by video owners Use case: * Try to limit spam propagation in the federation * Add ability for users to automatically hide comments on their videos from undesirable accounts/servers (the comment section belongs to videomakers, so they choose what's posted there)
* Fix comments feed with musted accountsChocobozzz2020-05-061-0/+12
|
* Don't leak unlisted videos in comments feedChocobozzz2020-04-211-1/+11
|
* Move to eslintcontainChocobozzz2020-02-031-29/+29
|
* Remove unused actor uuid fieldChocobozzz2019-05-311-38/+38
|
* Use test wrapper exit functionChocobozzz2019-04-241-2/+3
|
* Cleanup testsChocobozzz2019-04-241-6/+1
|
* Shared utils -> extra-utilsChocobozzz2019-04-241-3/+3
| | | | Because they need dev dependencies
* Add user adminFlagsChocobozzz2019-04-151-1/+1
|
* Move utils to /sharedbuoyantair2018-10-291-3/+3
| | | | | | | Move utils used by /server/tools/* & /server/tests/**/* into /shared folder. Issue: #1336
* Fix feeds with channel filterChocobozzz2018-09-131-11/+110
|
* Correctly migrate to fs-extraChocobozzz2018-08-271-1/+0
|
* Add refresh video on searchChocobozzz2018-08-271-0/+1
|