]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/log
Jelle Besseling [Tue, 17 Aug 2021 06:26:20 +0000 (08:26 +0200)]
Add support for saving video files to object storage (#4290)
* Add support for saving video files to object storage
* Add support for custom url generation on s3 stored files
Uses two config keys to support url generation that doesn't directly go
to (compatible s3). Can be used to generate urls to any cache server or
CDN.
* Upload files to s3 concurrently and delete originals afterwards
* Only publish after move to object storage is complete
* Use base url instead of url template
* Fix mistyped config field
* Add rudenmentary way to download before transcode
* Implement Chocobozzz suggestions
https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-
891670478
The remarks in question:
Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names
Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket
Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET)
I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs)
https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer
I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs
* Import correct function
* Support multipart upload
* Remove import of node 15.0 module stream/promises
* Extend maximum upload job length
Using the same value as for redundancy downloading seems logical
* Use dynamic part size for really large uploads
Also adds very small part size for local testing
* Fix decreasePendingMove query
* Resolve various PR comments
* Move to object storage after optimize
* Make upload size configurable and increase default
* Prune webtorrent files that are stored in object storage
* Move files after transcoding jobs
* Fix federation
* Add video path manager
* Support move to external storage job in client
* Fix live object storage tests
Co-authored-by: Chocobozzz <me@florianbigard.com>
Chocobozzz [Wed, 11 Aug 2021 12:58:37 +0000 (14:58 +0200)]
Disable openapi generation
Until https://github.com/OpenAPITools/openapi-generator/issues/8663 is
fixed
Chocobozzz [Wed, 11 Aug 2021 12:43:03 +0000 (14:43 +0200)]
Typo
Chocobozzz [Wed, 11 Aug 2021 12:38:07 +0000 (14:38 +0200)]
Try to fix openapi script
Chocobozzz [Wed, 11 Aug 2021 06:16:01 +0000 (08:16 +0200)]
Fix search index tests
Chocobozzz [Fri, 6 Aug 2021 14:41:08 +0000 (16:41 +0200)]
Update client dependencies
Chocobozzz [Fri, 6 Aug 2021 13:51:45 +0000 (15:51 +0200)]
Update server dependencies
Mark Van den Borre [Sun, 8 Aug 2021 19:00:02 +0000 (21:00 +0200)]
Update FAQ.md
s/franglais/english/
ROBERT MCDOWELL [Wed, 11 Aug 2021 08:45:49 +0000 (08:45 +0000)]
fixed typo (#4312)
* Fixed typo
Chocobozzz [Fri, 6 Aug 2021 13:25:45 +0000 (15:25 +0200)]
Correctly handle large HLS files for redundancy
Chocobozzz [Fri, 6 Aug 2021 13:06:47 +0000 (15:06 +0200)]
Fix send rtmp command
Chocobozzz [Fri, 6 Aug 2021 12:39:28 +0000 (14:39 +0200)]
Fix cli build
Chocobozzz [Fri, 6 Aug 2021 11:35:25 +0000 (13:35 +0200)]
Improve target bitrate calculation
Chocobozzz [Fri, 6 Aug 2021 08:39:40 +0000 (10:39 +0200)]
Limit live bitrate
Chocobozzz [Thu, 5 Aug 2021 13:17:18 +0000 (15:17 +0200)]
Merge branch 'release/3.3.0' into develop
Chocobozzz [Thu, 5 Aug 2021 13:17:09 +0000 (15:17 +0200)]
Fix sha fallback
Chocobozzz [Thu, 5 Aug 2021 12:29:44 +0000 (14:29 +0200)]
Remove deprecated transcoding job names
Chocobozzz [Thu, 5 Aug 2021 12:24:03 +0000 (14:24 +0200)]
Fix upload without files
Chocobozzz [Thu, 5 Aug 2021 11:54:35 +0000 (13:54 +0200)]
Fix backend channel name validator consistency
Chocobozzz [Thu, 5 Aug 2021 11:29:10 +0000 (13:29 +0200)]
Do not index remote actors
ROBERT MCDOWELL [Tue, 3 Aug 2021 21:04:26 +0000 (21:04 +0000)]
Standard output type syslog is obsolete in systemed
removing the setting
StandardOutput
StandardError
Chocobozzz [Tue, 3 Aug 2021 09:51:49 +0000 (11:51 +0200)]
HLS v1 support
Chocobozzz [Mon, 2 Aug 2021 14:50:56 +0000 (16:50 +0200)]
Filter videos by live in custom markup
Chocobozzz [Mon, 2 Aug 2021 13:29:09 +0000 (15:29 +0200)]
Fetch things in bulk for the homepage
Chocobozzz [Mon, 2 Aug 2021 09:46:11 +0000 (11:46 +0200)]
Remove thumbnail flash for autoplay
Chocobozzz [Mon, 2 Aug 2021 08:49:05 +0000 (10:49 +0200)]
Update translations
Phongpanot [Fri, 30 Jul 2021 07:52:24 +0000 (07:52 +0000)]
Translated using Weblate (Thai)
Currently translated at 52.8% (952 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/th/
Marc Strange [Fri, 30 Jul 2021 08:33:38 +0000 (08:33 +0000)]
Translated using Weblate (Catalan)
Currently translated at 36.8% (663 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ca/
Marc Strange [Thu, 29 Jul 2021 13:11:29 +0000 (13:11 +0000)]
Translated using Weblate (Catalan)
Currently translated at 100.0% (118 of 118 strings)
Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/ca/
Marc Strange [Thu, 29 Jul 2021 12:56:21 +0000 (12:56 +0000)]
Translated using Weblate (Catalan)
Currently translated at 33.9% (611 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ca/
Grzesiek11 [Tue, 27 Jul 2021 16:16:29 +0000 (16:16 +0000)]
Translated using Weblate (Polish)
Currently translated at 99.7% (1795 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pl/
Hồ Nhất Duy [Mon, 26 Jul 2021 14:53:37 +0000 (14:53 +0000)]
Translated using Weblate (Vietnamese)
Currently translated at 99.8% (1798 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
Александр [Tue, 27 Jul 2021 06:14:41 +0000 (06:14 +0000)]
Translated using Weblate (Russian)
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
Laurent Ettouati [Tue, 27 Jul 2021 06:52:24 +0000 (06:52 +0000)]
Translated using Weblate (French (France) (fr_FR))
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
Александр [Mon, 26 Jul 2021 11:44:35 +0000 (11:44 +0000)]
Translated using Weblate (Russian)
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
Simon Brosdetzko [Mon, 26 Jul 2021 12:40:41 +0000 (12:40 +0000)]
Translated using Weblate (German)
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
Racida S [Mon, 26 Jul 2021 08:29:10 +0000 (08:29 +0000)]
Translated using Weblate (Kabyle)
Currently translated at 95.5% (1720 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/kab/
Hồ Nhất Duy [Sat, 24 Jul 2021 16:44:25 +0000 (16:44 +0000)]
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (246 of 246 strings)
Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/vi/
Hồ Nhất Duy [Sat, 24 Jul 2021 16:29:39 +0000 (16:29 +0000)]
Translated using Weblate (Vietnamese)
Currently translated at 99.8% (1798 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
Laurent Ettouati [Fri, 23 Jul 2021 18:51:45 +0000 (18:51 +0000)]
Translated using Weblate (French (France) (fr_FR))
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
framabr [Fri, 23 Jul 2021 05:08:40 +0000 (05:08 +0000)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.9% (971 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pt_BR/
Marc Strange [Fri, 23 Jul 2021 08:29:26 +0000 (08:29 +0000)]
Translated using Weblate (Catalan)
Currently translated at 32.6% (588 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ca/
Jeff Huang [Thu, 22 Jul 2021 02:39:21 +0000 (02:39 +0000)]
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
Александр [Wed, 21 Jul 2021 17:07:16 +0000 (17:07 +0000)]
Translated using Weblate (Russian)
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
josé m [Thu, 22 Jul 2021 04:11:13 +0000 (04:11 +0000)]
Translated using Weblate (Galician)
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
GunChleoc [Wed, 21 Jul 2021 14:53:13 +0000 (14:53 +0000)]
Translated using Weblate (Gaelic)
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gd/
Berto Te [Thu, 22 Jul 2021 06:16:52 +0000 (06:16 +0000)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (1800 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
GunChleoc [Wed, 21 Jul 2021 14:40:11 +0000 (14:40 +0000)]
Translated using Weblate (Gaelic)
Currently translated at 98.6% (1776 of 1800 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gd/
Chocobozzz [Fri, 30 Jul 2021 14:51:27 +0000 (16:51 +0200)]
Refactor notifier
Chocobozzz [Fri, 30 Jul 2021 11:58:18 +0000 (13:58 +0200)]
Update plugin doc
Chocobozzz [Fri, 30 Jul 2021 09:48:21 +0000 (11:48 +0200)]
Fix peertube link button
Chocobozzz [Fri, 30 Jul 2021 09:38:19 +0000 (11:38 +0200)]
Merge branch 'release/3.3.0' into develop
Chocobozzz [Fri, 30 Jul 2021 09:24:38 +0000 (11:24 +0200)]
Hide schedule privacy if private does not exist
Chocobozzz [Thu, 29 Jul 2021 15:18:28 +0000 (17:18 +0200)]
Merge branch 'release/3.3.0' into develop
Chocobozzz [Thu, 29 Jul 2021 15:18:09 +0000 (17:18 +0200)]
Fix video format utils
Chocobozzz [Thu, 29 Jul 2021 15:16:03 +0000 (17:16 +0200)]
Correctly fix peertube button link
Chocobozzz [Thu, 29 Jul 2021 13:51:19 +0000 (15:51 +0200)]
Fix empty search
Chocobozzz [Thu, 29 Jul 2021 13:35:41 +0000 (15:35 +0200)]
Redirect to search page for origin instance
Chocobozzz [Thu, 29 Jul 2021 13:19:22 +0000 (15:19 +0200)]
Add ability to filter by host in search page
Chocobozzz [Thu, 29 Jul 2021 12:17:03 +0000 (14:17 +0200)]
Refactor options in models
Chocobozzz [Thu, 29 Jul 2021 11:40:16 +0000 (13:40 +0200)]
Update search index tests
Chocobozzz [Thu, 29 Jul 2021 11:34:51 +0000 (13:34 +0200)]
Correctly cleanup test servers
Chocobozzz [Thu, 29 Jul 2021 11:34:16 +0000 (13:34 +0200)]
Log ffmpeg command
Chocobozzz [Thu, 29 Jul 2021 09:54:38 +0000 (11:54 +0200)]
Refactor search query options
Chocobozzz [Thu, 29 Jul 2021 08:27:24 +0000 (10:27 +0200)]
Search channels against handles and not names
Chocobozzz [Wed, 28 Jul 2021 14:40:21 +0000 (16:40 +0200)]
Add ability to search by uuids/actor names
Chocobozzz [Wed, 28 Jul 2021 11:40:26 +0000 (13:40 +0200)]
Update search index tests
Chocobozzz [Wed, 28 Jul 2021 09:13:36 +0000 (11:13 +0200)]
Increase test timeout
Chocobozzz [Wed, 28 Jul 2021 08:46:32 +0000 (10:46 +0200)]
Cleanup shared models imports
Chocobozzz [Wed, 28 Jul 2021 08:32:40 +0000 (10:32 +0200)]
Filter host for channels and playlists search
WingsLikeEagles [Wed, 28 Jul 2021 02:59:49 +0000 (19:59 -0700)]
Adding Rocky Linux 8.4
Adding documentation for Rocky Linux 8.4
Adapted from CentOS 8... but seems like there is stuff missing from that section.
Chocobozzz [Tue, 27 Jul 2021 15:37:59 +0000 (17:37 +0200)]
Fix oembed for playlists
Chocobozzz [Tue, 27 Jul 2021 07:07:38 +0000 (09:07 +0200)]
Add ability to search by host in server
Chocobozzz [Mon, 26 Jul 2021 14:05:49 +0000 (16:05 +0200)]
Fix build
Chocobozzz [Mon, 26 Jul 2021 13:18:46 +0000 (15:18 +0200)]
Merge branch 'release/3.3.0' into develop
Chocobozzz [Mon, 26 Jul 2021 13:17:59 +0000 (15:17 +0200)]
Fix moderation embeds
Chocobozzz [Mon, 26 Jul 2021 13:14:17 +0000 (15:14 +0200)]
Fix description timestamp click
Chocobozzz [Mon, 26 Jul 2021 13:04:37 +0000 (15:04 +0200)]
Refactor video links builders
Chocobozzz [Mon, 26 Jul 2021 12:12:39 +0000 (14:12 +0200)]
Refactor video links building
Chocobozzz [Mon, 26 Jul 2021 12:03:21 +0000 (14:03 +0200)]
Fix privacy descriptions
Chocobozzz [Mon, 26 Jul 2021 11:37:18 +0000 (13:37 +0200)]
Fix URL copy in embed
Chocobozzz [Fri, 23 Jul 2021 09:20:00 +0000 (11:20 +0200)]
Use random names for VOD HLS playlists
Chocobozzz [Thu, 22 Jul 2021 12:28:03 +0000 (14:28 +0200)]
Generate random uuid for video files
Chocobozzz [Fri, 23 Jul 2021 13:23:43 +0000 (15:23 +0200)]
Merge branch 'release/3.3.0' into develop
Kimsible [Thu, 22 Jul 2021 13:19:39 +0000 (15:19 +0200)]
Fix user-dropdown-indicator position on touchscreens
Chocobozzz [Thu, 22 Jul 2021 12:58:25 +0000 (14:58 +0200)]
Fix tests with node 16
Chocobozzz [Thu, 22 Jul 2021 10:07:26 +0000 (12:07 +0200)]
Simplify createServer args
Chocobozzz [Thu, 22 Jul 2021 09:58:44 +0000 (11:58 +0200)]
Upgrade server dependencies
Chocobozzz [Thu, 22 Jul 2021 09:15:17 +0000 (11:15 +0200)]
Move apicache in peertube
Allow us to upgrade to node 16
Chocobozzz [Thu, 22 Jul 2021 06:46:55 +0000 (08:46 +0200)]
Speed up plugin transcoding tests
Chocobozzz [Wed, 21 Jul 2021 14:26:37 +0000 (16:26 +0200)]
Update translations
Chocobozzz [Wed, 21 Jul 2021 14:22:47 +0000 (16:22 +0200)]
Merge remote-tracking branch 'weblate/develop' into develop
Jeff Huang [Wed, 21 Jul 2021 02:14:49 +0000 (02:14 +0000)]
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1793 of 1793 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
Marc Strange [Tue, 20 Jul 2021 17:26:31 +0000 (17:26 +0000)]
Translated using Weblate (Catalan)
Currently translated at 29.9% (537 of 1793 strings)
Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ca/
Chocobozzz [Wed, 21 Jul 2021 14:22:18 +0000 (16:22 +0200)]
Add missing localization keys
Chocobozzz [Wed, 21 Jul 2021 14:13:20 +0000 (16:13 +0200)]
Add overviews filter hook tests
Michael Williams [Sat, 26 Jun 2021 14:22:48 +0000 (02:22 +1200)]
Add new filter hooks to /overviews/videos
This change adds new filter hooks `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.params` to /overviews/videos.
The motivation is to make a plugin to [use `originallyPublishedAt` in all places where `publishedAt` is used](https://github.com/ahdinosaur/peertube-plugin-originally-published-at).
Chocobozzz [Wed, 21 Jul 2021 13:56:49 +0000 (15:56 +0200)]
Register plugins when peertube server is ready
Chocobozzz [Wed, 21 Jul 2021 13:51:30 +0000 (15:51 +0200)]
Merge branch 'next' into develop
Chocobozzz [Wed, 21 Jul 2021 13:45:42 +0000 (15:45 +0200)]
Merge branch 'constant-registry' into develop