aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/user/user.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Prevent notification from pending subscriptionsChocobozzz2023-05-171-0/+1
|
* Don't take db lives into account for video quotaChocobozzz2023-03-071-2/+2
|
* Merge branch 'release/5.0.0' into developChocobozzz2023-01-191-1/+1
|\
| * Fix signup limitChocobozzz2023-01-191-1/+1
| |
* | Implement signup approval in serverChocobozzz2023-01-191-8/+9
| |
* | Refactor model utilsChocobozzz2023-01-101-2/+2
|/
* Don't inject untrusted inputChocobozzz2022-11-151-7/+8
| | | | | Even if it's already checked in middlewares It's better to have safe modals too
* Breaking API: Consistency with role id/labelChocobozzz2022-10-281-2/+4
|
* Support two factor authentication in backendChocobozzz2022-10-071-1/+8
|
* Prevent compat issue with old usernameChocobozzz2022-09-081-2/+0
| | | | We were accepting more characters, so don't break DB for these users
* Prefer using Object.valuesChocobozzz2022-08-171-2/+1
|
* Fix lintChocobozzz2022-07-131-3/+1
|
* Refactor video rights checkerChocobozzz2022-06-221-19/+2
|
* Merge branch 'release/4.2.0' into developChocobozzz2022-06-201-2/+2
|\
| * Fix users statsChocobozzz2022-06-171-2/+2
| |
* | Improve admin users list tableChocobozzz2022-05-241-3/+3
|/ | | | | | * Fix last login sort with null values * Remember last selected columns * Display last login date by default
* Fix lintChocobozzz2022-05-041-2/+1
|
* Fix quota inconstistencies with livesChocobozzz2022-05-041-24/+37
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 broken depChocobozzz2022-02-091-3/+3
|
* Update server dependenciesChocobozzz2022-02-091-1/+1
|
* Move typescript utils in its own directoryChocobozzz2021-12-161-1/+1
|
* Add ability for admins to set default p2p policyChocobozzz2021-12-161-5/+8
|
* Fix sequelize order typingsChocobozzz2021-10-221-1/+1
|
* Allow accounts to skip account setup modalChocobozzz2021-08-271-5/+14
|
* Alert user for low quota and video auto-block on upload page (#4336)Ms Kimsible2021-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Replace wording of instance contact * Add contact-us button to no-quota alert on upload page * Add alert for accounts with auto-blocked videos on upload page * Add alert for accounts without enough quota + refacto on upload page * Using ng-container and ng-template * Add alert for daily quota * Add hook filter for upload page alert messages * Add instance name as subtitle in contact modal * Fix eslint max-len on string * Fix missing word in quota left daily message - upload page Co-authored-by: Kimsible <kimsible@users.noreply.github.com>
* Stricter models typingChocobozzz2021-05-121-1/+2
|
* Cleanup models directory organizationChocobozzz2021-05-111-0/+967
|
* Begin activitypubChocobozzz2017-11-271-312/+0
|
* Don't hash user password once again on updateChocobozzz2017-11-041-4/+7
|
* Upgrade server packagesChocobozzz2017-10-311-2/+1
|
* Support roles with rights and add moderator roleChocobozzz2017-10-271-11/+18
|
* Remove sequelize deprecated operatorsChocobozzz2017-10-261-1/+1
|
* Add video channelsChocobozzz2017-10-261-14/+55
|
* Change how we handle resolutionChocobozzz2017-10-091-28/+15
| | | | It was an enum before, now we just use video height
* Implement video transcoding on server sideChocobozzz2017-10-031-1/+2
|
* Fix tests and user quotaChocobozzz2017-09-061-14/+12
|
* Begin tests for user quotaChocobozzz2017-09-051-2/+5
|
* Begin user quotaChocobozzz2017-09-041-2/+58
|
* Upgrade common server dependenciesChocobozzz2017-08-251-2/+3
|
* Formated -> FormattedChocobozzz2017-08-251-3/+3
|
* Remove "function" in favor of () => {}Chocobozzz2017-07-111-3/+3
|
* Move to promisesChocobozzz2017-07-051-26/+21
| | | | Closes https://github.com/Chocobozzz/PeerTube/issues/74
* Add this context to instance model functionsChocobozzz2017-06-161-2/+2
|
* Reorganize model filesChocobozzz2017-06-161-0/+221