aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/client.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-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 * 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>
* Fix 404 when having ;threadId paramChocobozzz2023-03-021-0/+8
|
* Fix CI using 127.0.0.1 for testsChocobozzz2022-12-121-9/+5
|
* Cleanup tests importsChocobozzz2022-08-171-3/+1
|
* We don't need to import mochaChocobozzz2022-08-171-1/+0
|
* Reimplement a typed omit functionChocobozzz2022-08-171-2/+2
|
* Fix lintChocobozzz2022-04-081-1/+9
|
* Remove duplicated testChocobozzz2022-04-081-17/+0
|
* Disallow unlisted video indexationChocobozzz2022-04-081-2/+59
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-171-1/+1
|
* Remove contributors list from /about/peertubeChocobozzz2021-11-121-10/+0
| | | | | Some contributors don't want to be associated to a particular peertube instance
* Stop indexing /about/peertubeChocobozzz2021-10-111-0/+10
|
* Fix client testsChocobozzz2021-09-091-1/+4
|
* Do not index remote actorsChocobozzz2021-08-051-0/+34
|
* Fix oembed for playlistsChocobozzz2021-07-271-4/+4
|
* Reorganize importsChocobozzz2021-07-201-3/+2
|
* Refactor requestsChocobozzz2021-07-201-15/+15
|
* Use an object to represent a serverChocobozzz2021-07-201-4/+4
|
* Shorter server command namesChocobozzz2021-07-201-38/+38
|
* Introduce videos commandChocobozzz2021-07-201-21/+24
|
* Introduce user commandChocobozzz2021-07-201-2/+1
|
* Introduce channels commandChocobozzz2021-07-201-2/+4
|
* Introduce playlist commandChocobozzz2021-07-201-11/+3
|
* Introduce accounts commandChocobozzz2021-07-201-3/+1
|
* Introduce config commandChocobozzz2021-07-201-29/+26
|
* Support short uuid for GET video/playlistChocobozzz2021-06-291-52/+77
|
* Support '/w/' and '/w/p/' for watch pageChocobozzz2021-05-281-86/+110
| | | | And use them as default in client
* CleanupChocobozzz2021-05-281-151/+119
| | | | | We must not expose private actor objects to clients Just make 2 GET requests on channel/accounts instead
* Merge branch 'develop' into shorter-URLs-channels-accountsChocobozzz2021-05-271-5/+23
|\
| * Inject server config in HTMLChocobozzz2021-05-141-5/+23
| |
* | Add shorter URLs for accounts and channels server-sideKimsible2021-05-051-36/+118
|/
* modify tests to support current behaviour regarding plaintext descriptionRigel Kent2021-04-131-4/+5
|
* add default trending page choice, revert comments count for hot strategyRigel Kent2021-01-281-1/+1
|
* Refactor a little bit client canonical URLChocobozzz2020-12-081-70/+78
|
* Add testsThomas Citharel2020-12-081-5/+25
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-15/+16
|
* Handle playlist oembedChocobozzz2020-08-071-158/+184
|
* Fix client testsChocobozzz2020-07-311-61/+59
|
* Don't run in parallel cli and plugin testsChocobozzz2020-07-311-2/+4
|
* Add fcbk open-graph and twitter-card metas for accounts, video-channels, ↵Kim2020-07-311-15/+166
| | | | | | | | | | | | | | | | | playlists urls (#2996) * Add open-graph and twitter-card metas to accounts and video-channels * Add open-graph and twitter-card to video-playlists watch view * Refactor meta-tags creation server-side * Add client.ts tests for account, channel and playlist tags * Correct lint forbidden spaces * Correct test regression on client.ts Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Use grid to organise settings in admin, my-accountRigel Kent2020-03-101-2/+1
|
* Move to eslintcontainChocobozzz2020-02-031-1/+1
|
* Use test wrapper exit functionChocobozzz2019-04-241-5/+4
|
* Cleanup testsChocobozzz2019-04-241-5/+3
|
* Shared utils -> extra-utilsChocobozzz2019-04-241-1/+1
| | | | Because they need dev dependencies
* Move utils to /sharedbuoyantair2018-10-291-1/+1
| | | | | | | Move utils used by /server/tools/* & /server/tests/**/* into /shared folder. Issue: #1336
* Fix testsChocobozzz2018-08-061-0/+6
|
* Add tests regarding video importChocobozzz2018-08-061-57/+12
|
* Add import http enabled configurationChocobozzz2018-08-061-0/+7
|
* Fix travis testsChocobozzz2018-07-241-1/+79
|