Commit Graph

10210 Commits

Author SHA1 Message Date
Chocobozzz 405c83f9af
Use worker thread to send HTTP requests
Compute HTTP signature could be CPU intensive
2022-09-08 12:27:22 +02:00
Chocobozzz d800ec5f36
Use android 7 for browser stack 2022-09-08 11:10:22 +02:00
Chocobozzz f2c29ced30
Fix broken player on non MSE devices 2022-09-08 11:10:01 +02:00
Chocobozzz 6c4d6ec831
Prevent compat issue with old username
We were accepting more characters, so don't break DB for these users
2022-09-08 10:45:05 +02:00
Chocobozzz 37a04703a4
Add activeRequests info on db acquire timeout
Can help us to debug sequelize acquire timeout error
2022-09-08 10:19:21 +02:00
Chocobozzz 5b7e3f276d
Update translations 2022-09-08 09:14:10 +02:00
chocobozzz 09b866da28 Translated using Weblate (Czech)
Currently translated at 99.6% (2109 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2022-09-08 09:08:43 +02:00
Jiri Podhorecky 9caf95b170 Translated using Weblate (Czech)
Currently translated at 99.6% (2109 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2022-09-08 08:54:19 +02:00
Jiri Podhorecky 263968d9df Translated using Weblate (Czech)
Currently translated at 98.7% (2091 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2022-09-08 08:54:19 +02:00
Jiri Podhorecky d9170888fe Translated using Weblate (Czech)
Currently translated at 98.7% (2090 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2022-09-08 08:54:19 +02:00
Jiri Podhorecky 9b4e379a15 Translated using Weblate (Czech)
Currently translated at 98.0% (2075 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2022-09-08 08:54:18 +02:00
josé m 0f589b505f Translated using Weblate (Galician)
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2022-09-08 08:54:18 +02:00
toobad a275cc2c44 Translated using Weblate (Turkish)
Currently translated at 27.5% (583 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/tr/
2022-09-08 08:54:18 +02:00
brucekomike 1c6ba15871 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (128 of 128 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/zh_Hans/
2022-09-08 08:54:18 +02:00
brucekomike 0a403eb160 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (257 of 257 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/zh_Hans/
2022-09-08 08:54:18 +02:00
Dingzhong Chen a4efa0c054 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hans/
2022-09-08 08:54:18 +02:00
Jiri Podhorecky 795638dbff Translated using Weblate (Czech)
Currently translated at 97.6% (2068 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2022-09-08 08:54:18 +02:00
Ewout van Mansom 8b3598e6cc Translated using Weblate (Dutch)
Currently translated at 100.0% (128 of 128 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/nl/
2022-09-08 08:54:18 +02:00
Ewout van Mansom 537fd0588f Translated using Weblate (Dutch)
Currently translated at 99.2% (255 of 257 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/nl/
2022-09-08 08:54:18 +02:00
Ihor Hordiichuk cdbfe568f4 Translated using Weblate (Ukrainian)
Currently translated at 87.1% (1844 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2022-09-08 08:54:18 +02:00
Ewout van Mansom 1f53728b74 Translated using Weblate (Dutch)
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-09-08 08:54:18 +02:00
Ihor Hordiichuk 2e21c17fc4 Translated using Weblate (Ukrainian)
Currently translated at 86.9% (1841 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2022-09-08 08:54:18 +02:00
Ewout van Mansom 6b17083201 Translated using Weblate (Dutch)
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-09-08 08:54:18 +02:00
Ihor Hordiichuk b7ad3bd0cb Translated using Weblate (Ukrainian)
Currently translated at 85.0% (1800 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2022-09-08 08:54:18 +02:00
Ewout van Mansom 8b477a981e Translated using Weblate (Dutch)
Currently translated at 81.6% (1728 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-09-08 08:54:18 +02:00
Ihor Hordiichuk ff8fff6410 Translated using Weblate (Ukrainian)
Currently translated at 84.6% (1793 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2022-09-08 08:54:18 +02:00
Varik Valefor e18e7e974c Translated using Weblate (Lojban)
Currently translated at 82.6% (81 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/jbo/
2022-09-08 08:54:18 +02:00
Ihor Hordiichuk 31c1d20239 Translated using Weblate (Ukrainian)
Currently translated at 84.5% (1790 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2022-09-08 08:54:18 +02:00
Milo Ivir 600e445751 Translated using Weblate (Croatian)
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2022-09-08 08:54:18 +02:00
DignifiedSilence fa81ce842b Translated using Weblate (Japanese)
Currently translated at 98.2% (2080 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2022-09-08 08:54:18 +02:00
Milo Ivir c4da8a9aeb Translated using Weblate (Croatian)
Currently translated at 99.9% (2116 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2022-09-08 08:54:18 +02:00
Armin bd3496a211 Translated using Weblate (German)
Currently translated at 97.5% (2065 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2022-09-08 08:54:18 +02:00
Milo Ivir f788a9f9f7 Translated using Weblate (Croatian)
Currently translated at 99.9% (2116 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2022-09-08 08:54:18 +02:00
Jeff Huang 17303d6a63 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2022-09-08 08:54:18 +02:00
Berto Te 537187253d Translated using Weblate (Spanish)
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2022-09-08 08:54:18 +02:00
Milo Ivir c367ffa72c Translated using Weblate (Croatian)
Currently translated at 99.9% (2116 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2022-09-08 08:54:18 +02:00
Hồ Nhất Duy 671d8a548b Translated using Weblate (Vietnamese)
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
2022-09-08 08:54:18 +02:00
Ihor Hordiichuk 81485b4fc2 Translated using Weblate (Ukrainian)
Currently translated at 82.9% (1755 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2022-09-08 08:54:18 +02:00
Александр c8f7d4d17e Translated using Weblate (Russian)
Currently translated at 100.0% (2117 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2022-09-08 08:54:18 +02:00
Quentin PAGÈS b1f6381312 Translated using Weblate (Occitan)
Currently translated at 38.1% (808 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/oc/
2022-09-08 08:54:18 +02:00
Armin d31b9557f6 Translated using Weblate (German)
Currently translated at 97.4% (2063 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2022-09-08 08:54:17 +02:00
Armin 7f7e560f9d Translated using Weblate (German)
Currently translated at 97.4% (2062 of 2117 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2022-09-08 08:54:17 +02:00
q_h 23c0b67d7b
fix: validate s3 response (#5231)
* refactor:  remove `objectStoragePut`

this is already implemented in `lib-storage`

* fix:  validate s3 response

* fix:  enable built-in retries

* chore: add `leavePartsOnError` comment

* refactor: decrease partSize to speed up retries

* refactor: rethrow s3 errors

* refactor: reduce max_upload_part  default to 100MB

* refactor: validate response

* chore: add link to explanation
2022-09-08 08:54:12 +02:00
Chocobozzz e9fc9e03c1
Optimize fetching playlist urls 2022-09-08 08:41:48 +02:00
Chocobozzz d4d9bbc6f2
Fix channel sync right check 2022-09-08 08:41:48 +02:00
Chocobozzz 8b69f9f028
Check admin config when loading the page
Avoid issues when an invalid config was set in the configuration file
2022-09-08 08:41:48 +02:00
Chocobozzz 08d2761097
Better changelog for a better world 2022-09-08 08:41:48 +02:00
Chocobozzz c5fe343411
Fix short description validator 2022-09-08 08:41:48 +02:00
Chocobozzz 6c38f40d96
Prevent weird error on sync failure 2022-09-08 08:41:48 +02:00
lutangar 2873a53efd Set scroll position at top of the textarea when opening the subtitle editor.
## Description

This set the position of the scrollbar at the top of the textarea when opening the __subtitle editor__.
Previously the textarea scroll position was at the bottom of the textarea which doesn't make much sense when you want to edit a subtitle : you most likely want to edit the beginning of the subtitle first.

This also set the caret position on the first character.

## Design decision

I had to use a *component approach* instead of an `<ng-template>` for the edition modal because the `@viewChild` directive doesn't work for elements __inside__ an `<ng-template>`.
I needed the `viewChild` directive to get an `ElementRef` of the `textarea`.

> See the following issue and its workaround :
> - https://github.com/valor-software/ngx-bootstrap/issues/3825
> - https://stackblitz.com/edit/angular-t5dfp7
> - https://medium.com/@izzatnadiri/how-to-pass-data-to-and-receive-from-ng-bootstrap-modals-916f2ad5d66e

## Related issues
Closes [peertube-plugin-transcription/#39](https://gitlab.com/apps_education/peertube/plugin-transcription/-/issues/39)
2022-09-08 08:41:36 +02:00