aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account/account.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Set actor preferred name case insensitiveChocobozzz2023-05-111-7/+3
|
* Add ability for plugins to alter video jsonldChocobozzz2023-03-101-2/+2
|
* Refactor model utilsChocobozzz2023-01-101-2/+2
|
* Refactor table attributesChocobozzz2023-01-091-1/+13
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-28/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-1/+1
|
* Add video file size info in admin videos listChocobozzz2021-10-291-1/+1
|
* Deprecate filter video queryChocobozzz2021-10-291-3/+3
| | | | Introduce include and isLocal instead
* Filter host for channels and playlists searchChocobozzz2021-07-281-4/+4
|
* Refactor a little bit controllersChocobozzz2021-05-121-1/+1
|
* Stricter models typingChocobozzz2021-05-121-1/+2
|
* Cleanup models directory organizationChocobozzz2021-05-111-4/+4
|
* Update channel updatedAt when uploading a videoChocobozzz2021-05-101-0/+1
|
* Fix remote actor creation dateChocobozzz2021-05-071-2/+0
|
* Agnostic actor image storageChocobozzz2021-04-081-2/+3
|
* Upgrade sequelize to v6Chocobozzz2020-12-091-28/+30
|
* Refactor a little bit client canonical URLChocobozzz2020-12-081-10/+22
|
* Cleanup follows of orphean actorsChocobozzz2020-11-101-0/+1
|
* Add migrationsChocobozzz2020-07-101-2/+3
|
* Use 3 tables to represent abusesChocobozzz2020-07-101-0/+4
|
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* Block comments from muted accounts/serversChocobozzz2020-05-291-1/+25
| | | | | | | | | | | | 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)
* Use a singleton for model cacheChocobozzz2020-02-041-35/+32
|
* Move to eslintcontainChocobozzz2020-02-031-4/+4
|
* Try to fix subscriptions inconsistenciesChocobozzz2020-01-081-1/+1
|
* Cache some SQL queriesChocobozzz2019-12-271-1/+15
|
* Soft delete video comments instead of detroyJulien Maulny2019-12-041-1/+1
|
* Add auto follow back support for instancesChocobozzz2019-09-041-1/+1
|
* Type toActivityPubObject functionsChocobozzz2019-08-211-2/+2
|
* Type toFormattedJSONChocobozzz2019-08-201-4/+4
|
* Stronger model typingsChocobozzz2019-08-191-7/+10
|
* Fix broken follow notificationChocobozzz2019-08-021-0/+2
|
* Fix broken playlist apiChocobozzz2019-08-011-8/+63
|
* Remove unused actor uuid fieldChocobozzz2019-05-311-18/+1
|
* Fix account description errorChocobozzz2019-05-131-3/+3
|
* Upgrade sequelizeChocobozzz2019-04-241-5/+5
|
* Update sequelizeChocobozzz2019-04-241-8/+8
|
* Move config in its own fileChocobozzz2019-04-111-2/+2
|
* Refactor video playlist middlewaresChocobozzz2019-03-181-3/+3
|
* Playlist server APIChocobozzz2019-03-181-2/+58
|
* findById -> findByPkChocobozzz2019-02-211-2/+1
|
* Improve channel and account SEOChocobozzz2019-02-211-0/+10
|
* Refresh remote actors on GET enpointsChocobozzz2019-01-141-0/+4
|
* Add sitemapChocobozzz2018-12-051-0/+21
|
* Add user moderation in the account pageChocobozzz2018-10-051-1/+2
|
* Fix video files duplicated when fps is nullChocobozzz2018-09-261-1/+0
| | | | Null values are not considered equal in a UNIQUE index
* Limit associations fetch when loading tokenChocobozzz2018-09-201-2/+2
|
* Add ability to search video channelsChocobozzz2018-08-271-12/+2
|
* Add ability to set a name to a channelChocobozzz2018-08-271-1/+1
|