Commit Graph

4608 Commits (7dca45f99db58d9bb3423a3765aaee68c69bc9f2)

Author SHA1 Message Date
Ms Kimsible 7dca45f99d
Inform user to fill account profile and channels (#4352)
* Add account-setup modal when login

* Add channels-setup alert into my-channels, my-playlists and upload page

Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
2021-08-26 08:22:33 +02:00
Chocobozzz fdec51e384
Merge branch 'feature/video-filters' into develop 2021-08-25 11:42:30 +02:00
Chocobozzz 59c8902a57
Update upload message filter hook name 2021-08-25 11:41:10 +02:00
Ms Kimsible 4e1592daa4
Alert user for low quota and video auto-block on upload page (#4336)
* 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>
2021-08-25 11:38:10 +02:00
Chocobozzz dd24f1bb0a
Add video filters to common video pages 2021-08-25 11:24:11 +02:00
Chocobozzz 6c8386bc82
Update client dependencies 2021-08-19 10:12:56 +02:00
Chocobozzz 2e80d256cc
Fix live/upload redirection 2021-08-18 11:39:45 +02:00
Chocobozzz e5a818d3cb
Speed up client lint 2021-08-18 10:44:16 +02:00
Chocobozzz 64ef55f7c8
Update translations 2021-08-18 10:10:18 +02:00
chocobozzz 229c41f182 Translated using Weblate (Japanese)
Currently translated at 72.4% (1306 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2021-08-18 10:07:15 +02:00
GunChleoc 40b5cce087 Translated using Weblate (Gaelic)
Currently translated at 100.0% (1803 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gd/
2021-08-18 10:05:00 +02:00
Hồ Nhất Duy 16ff819a60 Translated using Weblate (Vietnamese)
Currently translated at 99.8% (1801 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
2021-08-18 10:05:00 +02:00
I_Automne 28cf1ca7d9 Translated using Weblate (French)
Currently translated at 100.0% (1706 of 1706 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr/
2021-08-18 10:05:00 +02:00
spf 6f9c260ee0 Translated using Weblate (French)
Currently translated at 100.0% (1706 of 1706 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr/
2021-08-18 10:05:00 +02:00
Александр 2ff83c2981 Translated using Weblate (Russian)
Currently translated at 100.0% (1803 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2021-08-18 10:05:00 +02:00
Andrews Góes Santos 9f5801d798 Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.6% (967 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pt_BR/
2021-08-18 10:05:00 +02:00
Laurent Ettouati 9db0409f51 Translated using Weblate (French (France) (fr_FR))
Currently translated at 100.0% (1803 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2021-08-18 10:05:00 +02:00
GunChleoc 96383901ff Translated using Weblate (Gaelic)
Currently translated at 100.0% (1803 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gd/
2021-08-18 10:05:00 +02:00
Marcin Mikołajczak 5f1b218bc2 Translated using Weblate (Polish)
Currently translated at 99.7% (1798 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pl/
2021-08-18 10:05:00 +02:00
Steffen 6415691fad Translated using Weblate (Danish)
Currently translated at 6.9% (126 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/da/
2021-08-18 10:05:00 +02:00
Berto Te 027eeac207 Translated using Weblate (Spanish)
Currently translated at 100.0% (1803 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2021-08-18 10:05:00 +02:00
Jeff Huang 3b0d224c51 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (1802 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2021-08-18 10:05:00 +02:00
Simon Brosdetzko f7b427ef01 Translated using Weblate (German)
Currently translated at 100.0% (118 of 118 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/de/
2021-08-18 10:05:00 +02:00
josé m d6d3c33939 Translated using Weblate (Galician)
Currently translated at 100.0% (1803 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2021-08-18 10:05:00 +02:00
Simon Brosdetzko ae07a28a8f Translated using Weblate (German)
Currently translated at 100.0% (1803 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2021-08-18 10:05:00 +02:00
Marc Strange 6b85b3329c Translated using Weblate (Catalan)
Currently translated at 36.9% (666 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ca/
2021-08-18 10:05:00 +02:00
owiox8+1viroxeaziaxw@sharklasers.com f3287b5340 Translated using Weblate (French (France) (fr_FR))
Currently translated at 99.8% (1800 of 1803 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
2021-08-18 10:05:00 +02:00
Chocobozzz 5f31aaa398
Fix player setting overflow 2021-08-18 09:54:40 +02:00
Chocobozzz f7891304f0
Fix stats card label width 2021-08-18 09:34:00 +02:00
Chocobozzz 9df52d660f
Migrate client to eslint 2021-08-18 08:35:06 +02:00
Chocobozzz adb8809d43
Fix webpack config 2021-08-17 14:31:30 +02:00
Chocobozzz 1d4591fd9c
Remove solution style ts config 2021-08-17 14:06:56 +02:00
Chocobozzz 1378c0d343
Fix client lint 2021-08-17 14:01:45 +02:00
Jelle Besseling 0305db28c9
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>
2021-08-17 08:26:20 +02:00
Chocobozzz 134006b0d4
Update client dependencies 2021-08-11 11:49:01 +02:00
Chocobozzz 421ff4618d
Merge branch 'release/3.3.0' into develop 2021-08-05 15:17:18 +02:00
Chocobozzz ff5f37e4f3
Fix sha fallback 2021-08-05 15:17:09 +02:00
Chocobozzz 27db78400c
Fix backend channel name validator consistency 2021-08-05 13:54:35 +02:00
Chocobozzz 3e254de8be HLS v1 support 2021-08-05 10:57:49 +02:00
Chocobozzz ff4de38385
Filter videos by live in custom markup 2021-08-02 17:10:07 +02:00
Chocobozzz 3da38d6e9f
Fetch things in bulk for the homepage 2021-08-02 15:40:09 +02:00
Chocobozzz 200eaf5152
Remove thumbnail flash for autoplay 2021-08-02 11:46:11 +02:00
Chocobozzz 4a7056b283
Update translations 2021-08-02 10:49:05 +02:00
Phongpanot 90ea6ef1f1 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/
2021-08-02 10:41:15 +02:00
Marc Strange 7f02b833ec 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/
2021-08-02 10:41:15 +02:00
Marc Strange 1fdea5f5d0 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/
2021-08-02 10:41:15 +02:00
Marc Strange 6a95289c84 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/
2021-08-02 10:41:15 +02:00
Grzesiek11 4c37cbfbe2 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/
2021-08-02 10:41:15 +02:00
Hồ Nhất Duy 1becfc7cab 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/
2021-08-02 10:41:15 +02:00
Александр e1220d60f2 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/
2021-08-02 10:41:15 +02:00