aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-channel.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 SQL queryChocobozzz2023-05-121-2/+2
|
* Set actor preferred name case insensitiveChocobozzz2023-05-111-8/+11
|
* Add ability for plugins to alter video jsonldChocobozzz2023-03-101-2/+2
|
* Refactor model utilsChocobozzz2023-01-101-3/+9
|
* Fix local channel statsChocobozzz2022-12-211-19/+18
|
* Don't inject untrusted inputChocobozzz2022-11-151-2/+2
| | | | | Even if it's already checked in middlewares It's better to have safe modals too
* Added "total views" in the my channels list (#5007)Florian CUNY2022-05-311-0/+13
| | | | | | | | | | | | | | | | | * Added "total views" in the my channels list Implements https://github.com/Chocobozzz/PeerTube/issues/4331 * Fix lint * applied suggested change * updated openAPI spec for the use "withStats" when getting video channels * applied code change * removed GROUP BY in query * Fixed test
* Fix channels creation creation limit countChocobozzz2022-03-211-1/+1
|
* Fix channels list countChocobozzz2022-03-211-13/+13
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-82/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 typescript utils in its own directoryChocobozzz2021-12-161-2/+3
|
* Made the video channels limit (per user) server-wide configurable (#4491)Florian CUNY2021-10-261-2/+3
| | | | | | | | | | | | | | | * Made the video channels limit (per user) server-wide configurable Implements https://github.com/Chocobozzz/PeerTube/issues/3092 Also added a "quota bar" in the account's settings page * Fixed lint errors * Another pass at fixing lint errors * Applied code suggestions * Removed 'video channels quota'
* Split check user params testsChocobozzz2021-10-201-2/+0
|
* Add ability to view my followersChocobozzz2021-10-201-2/+22
|
* Fix channel search with complete handleChocobozzz2021-10-111-1/+1
|
* Migrate to webdriverioChocobozzz2021-09-011-1/+1
|
* Fix backend channel name validator consistencyChocobozzz2021-08-051-2/+2
|
* Refactor options in modelsChocobozzz2021-07-291-29/+23
|
* Search channels against handles and not namesChocobozzz2021-07-291-9/+27
|
* Add ability to search by uuids/actor namesChocobozzz2021-07-281-28/+48
|
* Filter host for channels and playlists searchChocobozzz2021-07-281-15/+44
|
* Fix hooks definitionChocobozzz2021-07-011-2/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-2/+2
|
* Fix missing transactionsChocobozzz2021-06-151-2/+2
|
* Stricter models typingChocobozzz2021-05-121-1/+2
|
* Cleanup models directory organizationChocobozzz2021-05-111-3/+3
|
* Update channel updatedAt when uploading a videoChocobozzz2021-05-101-1/+7
|
* Fix remote actor creation dateChocobozzz2021-05-071-2/+0
|
* add channel and playlist stats to server stats endpoint (#3747)Rigel Kent2021-04-121-1/+42
| | | | | | | * add channel and playlist stats to nodeinfo * add tests for active video channels stats * fix tests for active channel stats
* Add banner testsChocobozzz2021-04-081-1/+8
|
* Add banners supportChocobozzz2021-04-081-43/+45
|
* Agnostic actor image storageChocobozzz2021-04-081-2/+3
|
* Upgrade sequelize to v6Chocobozzz2020-12-091-39/+39
|
* Refactor a little bit client canonical URLChocobozzz2020-12-081-0/+5
|
* Cleanup follows of orphean actorsChocobozzz2020-11-101-10/+13
|
* harmonize search for librariesRigel Kent2020-07-291-4/+20
|
* variable columns for users list, more columns possible, badge display for ↵Rigel Kent2020-07-291-5/+14
| | | | statuses
* Add migrationsChocobozzz2020-07-101-1/+2
|
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* Add videos count in channels listChocobozzz2020-06-161-10/+22
|
* Optimize views per day in video channelsChocobozzz2020-06-121-15/+11
|
* Use inner join and document code for viewr stats for channelsRigel Kent2020-03-311-32/+33
|
* Tests for viewsPerDayRigel Kent2020-03-311-1/+1
|
* Put channel stats behind withStats flagRigel Kent2020-03-311-1/+0
|
* View stats for channelsRigel Kent2020-03-311-42/+105
|
* Move to eslintcontainChocobozzz2020-02-031-5/+5
|
* Cleanup server fixmeChocobozzz2020-01-281-13/+10
|
* Try to fix subscriptions inconsistenciesChocobozzz2020-01-081-1/+1
|
* Add auto follow back support for instancesChocobozzz2019-09-041-1/+1
|