aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/user
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-194-71/+361
| |
* | Refactor model utilsChocobozzz2023-01-104-5/+5
|/
* Don't inject untrusted inputChocobozzz2022-11-152-8/+10
| | | | | 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
| |
* | Merge branch 'release/4.2.0' into developChocobozzz2022-05-251-0/+5
|\|
| * Fix avatars in notificationsChocobozzz2022-05-251-0/+5
| |
* | 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
|
* Rename studio to editorChocobozzz2022-03-221-4/+4
|
* Add video edition finished notificationChocobozzz2022-03-221-0/+10
|
* Refactor a little bit raw sql buildersChocobozzz2022-03-032-18/+12
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-283-226/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
|
* Add ability to delete history elementChocobozzz2022-01-181-0/+11
|
* Fix lintChocobozzz2022-01-101-1/+0
|
* Display all user historyChocobozzz2022-01-101-7/+2
| | | | Not limited to instance federation bubble
* Move uuid stuff in extra utilsChocobozzz2021-12-291-1/+1
| | | | Since it requires an external dependency
* Fix shared importsChocobozzz2021-12-241-1/+1
|
* Move test functions outside extra-utilsChocobozzz2021-12-171-1/+1
|
* Move typescript utils in its own directoryChocobozzz2021-12-164-4/+4
|
* Add ability for admins to set default p2p policyChocobozzz2021-12-161-5/+8
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-161-1/+1
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Add video file size info in admin videos listChocobozzz2021-10-291-1/+0
|
* Deprecate filter video queryChocobozzz2021-10-291-2/+8
| | | | Introduce include and isLocal instead
* 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>
* Add ability to search by host in serverChocobozzz2021-07-271-0/+3
|
* Stricter models typingChocobozzz2021-05-124-6/+10
|
* Cleanup models directory organizationChocobozzz2021-05-114-0/+1953
|
* Begin activitypubChocobozzz2017-11-275-487/+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-272-15/+23
|
* Remove sequelize deprecated operatorsChocobozzz2017-10-261-1/+1
|
* Add video channelsChocobozzz2017-10-262-17/+60
|