aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users/me.ts
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Add ability to list imports of a channel syncChocobozzz2022-08-101-2/+9
|
* Refactor user build and express file middlewaresChocobozzz2022-03-041-1/+1
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
|
* Fix shared importsChocobozzz2021-12-241-3/+1
|
* Move typescript utils in its own directoryChocobozzz2021-12-161-1/+1
|
* Add ability for admins to set default p2p policyChocobozzz2021-12-161-1/+7
|
* Add channel filters for my videos/followersChocobozzz2021-10-201-1/+3
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Allow accounts to skip account setup modalChocobozzz2021-08-271-0/+1
|
* Reorganize importsChocobozzz2021-07-201-1/+1
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Refactor AP actorsChocobozzz2021-06-031-1/+1
|
* refactor API errors to standard error formatRigel Kent2021-06-021-3/+3
|
* Refactor a little bit controllersChocobozzz2021-05-121-18/+25
|
* Cleanup models directory organizationChocobozzz2021-05-111-1/+1
|
* Add ability to filter my videos by liveChocobozzz2021-05-031-1/+2
|
* Add banner testsChocobozzz2021-04-081-1/+1
|
* Add banners supportChocobozzz2021-04-081-4/+4
|
* Agnostic actor image storageChocobozzz2021-04-081-1/+1
|
* Allow webp image uploadsChocobozzz2021-01-261-3/+3
|
* Add user video list hooksChocobozzz2021-01-201-7/+15
|
* add ability to remove one's avatar for account and channels (#3467)Rigel Kent2021-01-131-2/+16
| | | | | | | * add ability to remove one's avatar for account and channels * add ability to remove one's avatar for account and channels * only display avatar edition options after input change
* Retrieve user by id instead of usernameChocobozzz2021-01-111-1/+1
|
* Add missing audit log if the user deletes its accountChocobozzz2021-01-041-2/+7
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-2/+3
|
* Check live duration and sizeChocobozzz2020-11-091-3/+3
|
* Optimize default sort when listing videosChocobozzz2020-08-201-1/+2
| | | | createdAt does not have the appropriate index
* Reorganize client shared modulesChocobozzz2020-06-231-11/+10
|
* Move to eslintcontainChocobozzz2020-02-031-2/+2
|
* Improve SQL query for my special playlistsChocobozzz2020-01-031-4/+3
|
* Add miniature quick actions to add video to Watch later playlistRigel Kent2020-01-021-1/+1
|
* Add search bars for a user's videos and playlist libraryRigel Kent2019-12-281-1/+2
|
* autoplay next video support for playlistsRigel Kent2019-12-131-0/+1
|
* Autoplay next recommended video (#2137)LoveIsGrief2019-09-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | * Start working on autoplay of next video * Ignore changes made by gitpod * Apply changes from PR#1370 * Correct the spelling of recommendations * Fix linting errors * Move boolean check to existing onEnded handler * Pick a random video until the recommendations are improved * Add simple tests for autoPlayNextVideo * Fix lint ...again
* Add config instance warning modalChocobozzz2019-09-051-6/+6
|
* Add welcome modalChocobozzz2019-09-051-9/+13
|
* Type toFormattedJSONChocobozzz2019-08-201-11/+0
|
* Stronger model typingsChocobozzz2019-08-191-1/+1
|
* WIP plugins: add theme supportChocobozzz2019-07-241-0/+1
|
* Add language filters in user preferencesChocobozzz2019-06-191-0/+1
|
* Handle email update on serverChocobozzz2019-06-111-1/+15
|
* Add user adminFlagsChocobozzz2019-04-151-6/+6
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+2
|
* Move config in its own fileChocobozzz2019-04-111-1/+2
|
* Cleanup express locals typingsChocobozzz2019-03-191-10/+10
|
* Cleanup reset user password by adminChocobozzz2019-02-111-1/+1
| | | | And add some tests
* Move subscriptions controllers in its own fileChocobozzz2019-01-141-154/+2
|
* Add history on server sideChocobozzz2018-12-181-0/+1
| | | | Add ability to disable, clear and list user videos history