aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users
Commit message (Collapse)AuthorAgeFilesLines
* Fix runner api rate limit bypassChocobozzz2023-06-201-0/+4
|
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-221-1/+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 * 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-1/+1
|
* Add server hooks for listing subscriptionWicklow2023-02-251-2/+9
|
* Update server dependenciesChocobozzz2023-02-162-2/+4
|
* Add ability to not send an email for registrationChocobozzz2023-01-201-5/+18
|
* Implement signup approval in serverChocobozzz2023-01-193-92/+315
|
* Don't inject untrusted inputChocobozzz2022-11-152-3/+5
| | | | | Even if it's already checked in middlewares It's better to have safe modals too
* feat: show contained playlists under My videos (#5125)kontrollanten2022-10-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: show contained playlists under My videos closes #4769 * refactor(server): remove unused types * fixes after code review * fix(client/video-miniature): add to playlist * fix(server/user/me): shortUUID response * Revert "fix(client/video-miniature): add to playlist" This reverts commit f1a0412391c7e2370b87df2594c9fe3f39a40ddc. * fix(client/PlaylistService): caching * Revert "fix(server/user/me): shortUUID response" This reverts commit e3f1ee4e335739b895bced938540c003df24af73. * Fix fetching playlists Co-authored-by: Chocobozzz <me@florianbigard.com>
* Encrypt OTP secretChocobozzz2022-10-101-5/+9
|
* Allow admins to disable two factor authChocobozzz2022-10-071-3/+3
|
* Support two factor authentication in backendChocobozzz2022-10-073-1/+99
|
* Ask password reset/email verif error handlingChocobozzz2022-09-281-1/+1
| | | | With a user that uses a plugin authentication
* Fix channel sync right checkChocobozzz2022-09-081-5/+5
|
* Add ability to list imports of a channel syncChocobozzz2022-08-101-2/+9
|
* Use bullmq job dependencyChocobozzz2022-08-091-1/+1
|
* Fix lintChocobozzz2022-07-131-1/+1
|
* Bypass rate limits for admins and moderatorsChocobozzz2022-05-302-7/+6
|
* 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
* Rename studio to editorChocobozzz2022-03-221-1/+1
|
* Add video edition finished notificationChocobozzz2022-03-221-1/+2
|
* Refactor user build and express file middlewaresChocobozzz2022-03-042-26/+13
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-282-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add ability to filter my imports by target URLChocobozzz2022-01-191-6/+6
|
* Add ability to delete history elementChocobozzz2022-01-181-4/+19
|
* Move uuid stuff in extra utilsChocobozzz2021-12-291-1/+1
| | | | Since it requires an external dependency
* Fix shared importsChocobozzz2021-12-242-8/+3
|
* Move test functions outside extra-utilsChocobozzz2021-12-171-1/+1
|
* Move typescript utils in its own directoryChocobozzz2021-12-161-1/+1
|
* Use different p2p policy for embeds and webappChocobozzz2021-12-161-2/+2
|
* Add ability for admins to set default p2p policyChocobozzz2021-12-162-1/+9
|
* 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 mute status in account and channel pagesChocobozzz2021-12-071-13/+8
|
* Add `req` and `res` as controllers hooks parameterslutangar2021-11-252-7/+7
| | | | | Hooks prefixed by `action:api` now give access the original express req and res. Checkout guide.md for possible usage.
* Add video file size info in admin videos listChocobozzz2021-10-291-1/+0
|
* Deprecate filter video queryChocobozzz2021-10-291-3/+6
| | | | Introduce include and isLocal instead
* Add channel filters for my videos/followersChocobozzz2021-10-201-1/+3
|
* Add ability to view my followersChocobozzz2021-10-201-1/+1
|
* esModuleInterop to trueChocobozzz2021-08-279-11/+11
|
* Allow accounts to skip account setup modalChocobozzz2021-08-271-0/+1
|
* Refactor search query optionsChocobozzz2021-07-291-11/+4
|
* Reorganize importsChocobozzz2021-07-204-10/+10
|
* Refactor requestsChocobozzz2021-07-206-6/+6
|
* Introduce user commandChocobozzz2021-07-201-2/+2
|
* Support short uuid for GET video/playlistChocobozzz2021-06-291-2/+2
|
* add operationId doc middleware to so API endpointsRigel Kent2021-06-041-1/+3
|
* Refactor AP actorsChocobozzz2021-06-031-1/+1
|
* refactor API errors to standard error formatRigel Kent2021-06-023-8/+9
|
* Refactor a little bit controllersChocobozzz2021-05-121-18/+25
|
* Stricter models typingChocobozzz2021-05-121-8/+14
|