Commit Graph

405 Commits (54909304287f3c04dcfb39660be8ead57dc95440)

Author SHA1 Message Date
Chocobozzz 5490930428
Remove suppressImplicitAnyIndexErrors
It's deprecated by TS
2023-05-24 16:56:05 +02:00
Chocobozzz d0fbc9fd0a
Fix lint 2023-05-24 15:27:15 +02:00
Chocobozzz 52798aa5f2
Update angular 2023-05-23 11:27:09 +02:00
Alecks Gates cb0eda5602
Add Podcast RSS feeds (#5487)
* 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>
2023-05-22 16:00:05 +02:00
Chocobozzz 208c97e111
Always translate user role 2023-04-17 09:21:02 +02:00
Chocobozzz 230af3e7db
Add ability for plugins to alter video jsonld 2023-03-14 14:19:42 +01:00
Chocobozzz f386bab02e
Add ability for plugins to add metadata 2023-03-14 14:17:58 +01:00
Chocobozzz 3b504f6ed4
Add ability for plugins to alter video jsonld 2023-03-10 15:45:52 +01:00
Chocobozzz 4899138ec5
Add ability for plugins to add metadata 2023-03-10 15:45:52 +01:00
Chocobozzz a9816e189a
Fix hotkeys close button 2023-02-28 14:15:53 +01:00
Chocobozzz 20c21606ac
Fix hotkeys page theming 2023-02-27 15:51:07 +01:00
Chocobozzz 15825ef18d
Fix default trending algorithm in admin config 2023-02-20 10:18:05 +01:00
Chocobozzz 03902b0099
Correctly handle 502 errors 2023-02-17 10:11:15 +01:00
Chocobozzz 6a7cea1527
Fix live update of autoplay next video 2023-02-15 11:32:08 +01:00
Chocobozzz e81d45b4cb
Fix mention detection 2023-02-15 11:12:23 +01:00
Chocobozzz 98bd5e2256
Refactor login redirection/button links
Correctly handle external auth redirection in all cases
2023-02-14 11:51:44 +01:00
Chocobozzz 8ca52bcc2c
Merge branch 'release/5.0.0' into develop 2023-01-23 15:25:21 +01:00
Chocobozzz b1d8261c45
Fix auto play setting for anonymous users 2023-01-23 15:24:58 +01:00
Chocobozzz e854d57bed
Refactor row selection reset 2023-01-20 15:06:08 +01:00
Chocobozzz cd940f40cb
Support bulk registration request removal 2023-01-20 14:58:20 +01:00
Chocobozzz a4927884b2
Support mailto for custom markup 2023-01-19 14:27:59 +01:00
Chocobozzz 2570fd9c1c
Redirect to default login url on 401
Can be an external URL
2023-01-04 11:41:29 +01:00
Chocobozzz d522369bed
Prevent sending log error to server on 404 2022-12-28 15:15:44 +01:00
Chocobozzz 7dcd7d8140
Fix client lint 2022-11-15 15:16:41 +01:00
Chocobozzz 0e45e336f6
Fix HTML in account/channel description 2022-11-14 10:47:39 +01:00
Chocobozzz 9e5cf66be7
Breaking API: Consistency with role id/label 2022-10-28 16:34:08 +02:00
Chocobozzz 1c048f04a5
Fix bad date display for jobs 2022-10-25 16:08:11 +02:00
Chocobozzz 3545e72c68 Put private videos under a specific subdirectory 2022-10-24 14:48:24 +02:00
Chocobozzz 9d4c60dccc
Add ability for plugins to register ws routes 2022-10-11 11:11:04 +02:00
Chocobozzz d12b40fb96
Implement two factor in client 2022-10-07 11:06:28 +02:00
Chocobozzz 77662dae24
Add channels link in menu 2022-09-28 15:43:59 +02:00
Chocobozzz 255c00305c
Fix error messages 2022-09-23 14:41:14 +02:00
Chocobozzz f228e9f064
More precise date for jobs 2022-08-10 10:26:20 +02:00
Chocobozzz ca0f030787
Add error info on router error 2022-08-03 15:21:00 +02:00
Chocobozzz 9ca0f688e9
Add channel hooks 2022-08-03 10:39:40 +02:00
Chocobozzz 42b4063699
Add ability for client to create server logs 2022-07-18 11:37:18 +02:00
Chocobozzz 0667dbaf26
Reset table pagination on search 2022-07-12 10:19:33 +02:00
Chocobozzz c0e3d9ff90
Rename not fount page to error page 2022-07-08 10:58:05 +02:00
kontrollanten 9469783d43
feat: custom msg upon 401 response
closes #4768
2022-07-08 10:58:04 +02:00
Chocobozzz 00fe5d6136
Fix setting theme in client 2022-06-27 09:59:10 +02:00
Chocobozzz 5e93a6d142
Improve theme label 2022-06-16 14:44:14 +02:00
Chocobozzz 04c2dcfc6b
Fix login form scrolling 2022-06-15 14:36:24 +02:00
Chocobozzz 85cfe29be6
Fix socket io lazy loading 2022-06-13 13:55:05 +02:00
Chocobozzz dc1296a9ab
Better icon names 2022-06-13 11:28:20 +02:00
Chocobozzz eaa529528c
Support ICU in TS components 2022-06-08 13:40:40 +02:00
Chocobozzz 9c931cf0bb
Add missing i18n for hotkeys 2022-05-25 15:39:10 +02:00
Chocobozzz 87a0cac618
Improve admin users list table
* Fix last login sort with null values
 * Remember last selected columns
 * Display last login date by default
2022-05-24 15:29:17 +02:00
Chocobozzz 13e7c3b02a
Fix redirect users after login with external auth 2022-05-20 11:43:04 +02:00
Chocobozzz cb28bb92da
Add URL redirection support for external auth 2022-05-09 10:47:46 +02:00
Chocobozzz 2b0d17ccf4
Reduce videos sort complexity
Automatically use best sort if user is logged in and chose hot algorithm
2022-04-15 15:07:20 +02:00