aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account
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-112-9/+7
|
* Add ability for plugins to alter video jsonldChocobozzz2023-03-101-2/+2
|
* Refactor model utilsChocobozzz2023-01-103-4/+4
|
* Refactor table attributesChocobozzz2023-01-091-1/+13
|
* Prefer using Object.valuesChocobozzz2022-08-171-2/+1
|
* Fix searching in blocklistChocobozzz2022-06-171-0/+14
|
* Don't store remote rates of remote videosChocobozzz2022-03-181-23/+1
| | | | | In the future we'll stop to expose all available rates to improve users privacy
* Implement avatar miniatures (#4639)kontrollanten2022-02-283-95/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix shared importsChocobozzz2021-12-241-3/+2
|
* Move typescript utils in its own directoryChocobozzz2021-12-163-3/+3
|
* Add mute status in account and channel pagesChocobozzz2021-12-071-3/+37
|
* 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
|
* Instance homepage support (#4007)Chocobozzz2021-05-271-0/+69
| | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
* Refactor a little bit controllersChocobozzz2021-05-121-1/+1
|
* Stricter models typingChocobozzz2021-05-123-3/+6
|
* Cleanup models directory organizationChocobozzz2021-05-118-2059/+6
|
* Update channel updatedAt when uploading a videoChocobozzz2021-05-101-0/+1
|
* Fix remote actor creation dateChocobozzz2021-05-071-2/+0
|
* Plugin user.getAuthUser is now asyncChocobozzz2021-05-051-0/+4
| | | | So we can load the full user
* Add size info in db for actor imagesChocobozzz2021-04-081-6/+11
|
* Update data in DB when regenerate thumbnailsChocobozzz2021-04-081-0/+5
|
* Add ability to update the bannerChocobozzz2021-04-082-2/+20
|
* Agnostic actor image storageChocobozzz2021-04-083-5/+94
|
* Refactor auth flowChocobozzz2021-03-242-4/+4
| | | | | Reimplement some node-oauth2-server methods to remove hacky code needed by our external login workflow
* Add new plugin/peertube version notifsChocobozzz2021-03-242-11/+101
|
* Add ability to cleanup remote AP interactionsChocobozzz2021-03-031-16/+14
|
* Use named chunk for embed on analyzeChocobozzz2021-02-251-1/+0
|
* Fix separate SQL query for video getChocobozzz2021-02-251-2/+3
|
* Update server dependenciesChocobozzz2021-02-031-42/+52
|
* Allow user to search through their watch history (#3576)Rigel Kent2021-01-131-1/+2
| | | | | | | * allow user to search through their watch history * add tests for search in watch history * Update client/src/app/shared/shared-main/users/user-history.service.ts
* Retrieve user by id instead of usernameChocobozzz2021-01-111-3/+3
|
* Support activeMonth and activeHalfyear in nodeinfoChocobozzz2020-12-301-1/+3
|
* Upgrade sequelize to v6Chocobozzz2020-12-097-78/+83
|
* Refactor a little bit client canonical URLChocobozzz2020-12-081-10/+22
|
* allow private syndication feeds via a user feedTokenRigel Kent2020-11-251-1/+8
|
* Fix incorrect IDs in AP federationChocobozzz2020-11-201-1/+2
|
* Remove notifications of muted accounts/serversChocobozzz2020-11-181-1/+54
|
* Cleanup follows of orphean actorsChocobozzz2020-11-101-0/+1
|
* Add check constraints live testsChocobozzz2020-11-091-2/+1
|
* Fix replay savingChocobozzz2020-11-091-2/+2
|
* Check live duration and sizeChocobozzz2020-11-091-77/+82
|
* Reorganize shared modelsChocobozzz2020-08-071-22/+23
|
* Add abuse messages/states notificationsChocobozzz2020-07-312-6/+27
|
* Add new abuses testsChocobozzz2020-07-101-1/+3
|
* Add migrationsChocobozzz2020-07-103-25/+24
|
* Use 3 tables to represent abusesChocobozzz2020-07-104-31/+87
|
* add blocked filter in users list to filter banned usersRigel Kent2020-07-021-4/+17
| | | | fixes #2914