aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated "views" from live video eventChocobozzz2023-07-281-2/+2
|
* Remove deprecated schedulerChocobozzz2023-07-282-29/+1
|
* Keep s3 commands simpleChocobozzz2023-07-281-2/+0
| | | | As s3 implementation between s3 providers can be different
* Remove banner/avatar fields from channel/accountChocobozzz2023-07-282-4/+1
| | | | Deprecated since 4.2
* Add an option to sign federated fetches for mastodon compatibility (#5898)mira.bat2023-07-2716-55/+79
| | | | | | | | | | | | | | | | | | * Fix player error modal Not hidden when we change the video * Correctly dispose player components * Sign cross-server fetch requests for mastodon AUTHORIZED_FETCH compatibilty * Add a remote fetch sign configuration knob * Federated fetches refactoring --------- Co-authored-by: Chocobozzz <me@florianbigard.com> Co-authored-by: ira <ira@foxgirl.space>
* Improve runner managementChocobozzz2023-07-271-2/+14
| | | | | | | * Add ability to remove runner jobs * Add runner job state quick filter * Merge registration tokens and runners tables in the same page * Add copy button to copy registration token
* Use typed pickChocobozzz2023-07-262-2/+2
|
* Truncate html/og/card HTML description tagsChocobozzz2023-07-261-17/+22
|
* Fix lintChocobozzz2023-07-261-3/+0
|
* Fix fk error when generating storyboardChocobozzz2023-07-261-15/+32
|
* Remove unused paramChocobozzz2023-07-257-9/+12
|
* Implement replace file in server sideChocobozzz2023-07-2110-25/+52
|
* Add p2p info to metricsChocobozzz2023-07-211-4/+18
|
* Add peers number and p2p enabled label to metricsChocobozzz2023-07-201-1/+11
|
* Merge branch 'release/5.2.0' into developChocobozzz2023-07-121-1/+1
|\
| * Fix fps transcoding on remote runnersChocobozzz2023-07-121-1/+1
| |
* | Migrate from webseed to web-videosChocobozzz2023-07-111-1/+1
| |
* | Rename "videos" config to "web-videos"Chocobozzz2023-07-115-10/+10
| |
* | Rename webtorrent config to web_videosChocobozzz2023-07-113-6/+6
| |
* | Prefer web videos in favour of webtorrentChocobozzz2023-07-1128-133/+137
| |
* | Fix HLS playlist generation with 0 duration lengthChocobozzz2023-06-291-2/+6
| |
* | Use promise cache to load remote thumbnailsChocobozzz2023-06-292-14/+25
| |
* | Fix playlist thumbnail generationChocobozzz2023-06-296-16/+20
| |
* | Support lazy download of remote video miniaturesChocobozzz2023-06-298-105/+120
| |
* | Support lazy download thumbnailsChocobozzz2023-06-2916-94/+223
| |
* | Also replace base url of pre signed s3 urlChocobozzz2023-06-291-4/+9
| |
* | Fix CI testsChocobozzz2023-06-291-0/+41
| |
* | Correctly download files from S3Chocobozzz2023-06-291-0/+1
| | | | | | | | Use pre signed URLs to inject content disposition header
* | Lock video files when generating storyboardChocobozzz2023-06-291-56/+62
| |
* | Handle correctly formatted AP attributedToChocobozzz2023-06-293-19/+34
| |
* | Fetch remote AP objects if only id is specifiedChocobozzz2023-06-2911-92/+141
| |
* | Add script to generate storyboardsChocobozzz2023-06-291-0/+5
| |
* | Add storyboard supportChocobozzz2023-06-2915-31/+309
| |
* | Feature/password protected videos (#5836)Wicklow2023-06-294-10/+39
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add server endpoints * Refactoring test suites * Update server and add openapi documentation * fix compliation and tests * upload/import password protected video on client * add server error code * Add video password to update resolver * add custom message when sharing pw protected video * improve confirm component * Add new alert in component * Add ability to watch protected video on client * Cannot have password protected replay privacy * Add migration * Add tests * update after review * Update check params tests * Add live videos test * Add more filter test * Update static file privacy test * Update object storage tests * Add test on feeds * Add missing word * Fix tests * Fix tests on live videos * add embed support on password protected videos * fix style * Correcting data leaks * Unable to add password protected privacy on replay * Updated code based on review comments * fix validator and command * Updated code based on review comments
* Fix broken replay with long live video nameChocobozzz2023-06-291-1/+8
|
* Fix logChocobozzz2023-06-191-1/+1
|
* Correctly unload plugin pathsChocobozzz2023-06-061-1/+1
|
* More specific message when signup is not allowedChocobozzz2023-06-051-3/+3
|
* Fix transcoding errorChocobozzz2023-05-304-36/+33
| | | | When transcoding.always_transcode_original_resolution is false
* Fix peertube subtitles importChocobozzz2023-05-261-2/+5
|
* Don't fail remote transcoding on retryChocobozzz2023-05-261-1/+4
|
* Add more logs when storing master playlist in s3Chocobozzz2023-05-251-7/+5
|
* Update server dependenciesChocobozzz2023-05-224-5/+5
|
* Add Podcast RSS feeds (#5487)Alecks Gates2023-05-226-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* More robust quota checkChocobozzz2023-05-223-10/+10
| | | | Avoid concurrency issues with permanent lives
* Fix testsChocobozzz2023-05-221-0/+2
|
* Force stop remote live transcodingChocobozzz2023-05-225-1/+12
|
* Lock when removing video filesChocobozzz2023-05-221-16/+40
|
* Use saveInTransactionWithRetries helperChocobozzz2023-05-191-21/+5
|
* Remove wait before publishing master playlistChocobozzz2023-05-191-12/+0
| | | | It doesn't seem necessary