Commit Graph

10262 Commits (8a6828b1664ce3fc535d23c54ed22bab35588d06)

Author SHA1 Message Date
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
Chocobozzz 5f016383a4
Update changelog 2022-08-18 14:53:40 +02:00
Chocobozzz ea139ca870
Display error on youtube-dl get info failure 2022-08-18 11:40:07 +02:00
Chocobozzz e5d771a390
Correctly fix feeds tests 2022-08-17 16:22:25 +02:00
Chocobozzz 479b269631
Fix feeds tests 2022-08-17 16:14:15 +02:00
Chocobozzz 863477173e
Cleanup tests imports 2022-08-17 15:47:54 +02:00
Chocobozzz e0faa8ad6e
We don't need to import mocha 2022-08-17 15:40:57 +02:00
Chocobozzz 690bb8f9f3
Prefer using Object.values 2022-08-17 15:36:03 +02:00
Chocobozzz bbd5aa7ead
Reimplement a typed omit function 2022-08-17 15:25:58 +02:00
Chocobozzz a85d530384
Remove unnecessary logs 2022-08-17 14:58:40 +02:00
Chocobozzz 2ec349aa85
Prefer using our pick function 2022-08-17 14:54:01 +02:00
Chocobozzz 396f6f0140
Cleanup useless express validator messages 2022-08-17 14:27:04 +02:00
Chocobozzz 97eba003a9
Add sync link to import page 2022-08-17 13:40:00 +02:00
Chocobozzz 6a02dd1c3d
Fix metric with old webtorrent videos 2022-08-17 10:51:51 +02:00
Chocobozzz 0b684daa3d
Add videoUUID to playback metrics 2022-08-17 10:21:38 +02:00
Chocobozzz 426a8cab45
Add more info to client error stacktrace 2022-08-17 09:53:47 +02:00
Chocobozzz 7804e577de
Increase test timeout 2022-08-16 15:41:21 +02:00
Chocobozzz 37229de26e
Fix "undefined" resolution in player stats 2022-08-16 14:48:11 +02:00
Chocobozzz 88ee99164c
Update translations 2022-08-16 14:39:31 +02:00
chocobozzz 4f2330c522 Translated using Weblate (Dutch)
Currently translated at 80.7% (1709 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-08-16 14:23:25 +02:00
M Z c49ec351bc Translated using Weblate (Serbian (cyrillic))
Currently translated at 49.0% (50 of 102 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/sr_Cyrl/
2022-08-16 14:03:22 +02:00
M Z a387a4c725 Translated using Weblate (Serbian (cyrillic))
Currently translated at 100.0% (244 of 244 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/sr_Cyrl/
2022-08-16 14:03:22 +02:00
M Z 32b8d0d957 Translated using Weblate (Serbian (cyrillic))
Currently translated at 2.9% (3 of 102 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/sr_Cyrl/
2022-08-16 14:03:22 +02:00
DignifiedSilence ec38f2c6f2 Translated using Weblate (Japanese)
Currently translated at 97.3% (2059 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2022-08-16 14:03:22 +02:00
DignifiedSilence 26b2a00602 Translated using Weblate (Japanese)
Currently translated at 97.0% (2054 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2022-08-16 14:03:22 +02:00
Sirxy 1998f3e081 Translated using Weblate (Bulgarian)
Currently translated at 15.3% (200 of 1305 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/bg/
2022-08-16 14:03:22 +02:00
Jeff Huang 07a0d1dee4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2116 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2022-08-16 14:03:22 +02:00
Milo Ivir 74ce4a5b1b Translated using Weblate (Croatian)
Currently translated at 99.9% (2115 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2022-08-16 14:03:22 +02:00
Milo Ivir 5a46a21bb1 Translated using Weblate (Croatian)
Currently translated at 99.9% (2114 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2022-08-16 14:03:22 +02:00
DignifiedSilence 3edddc03a4 Translated using Weblate (Japanese)
Currently translated at 95.8% (2029 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2022-08-16 14:03:22 +02:00
DignifiedSilence eec5439b25 Translated using Weblate (Japanese)
Currently translated at 95.8% (2028 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2022-08-16 14:03:22 +02:00
DignifiedSilence abb52050ab Translated using Weblate (Japanese)
Currently translated at 95.5% (2022 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2022-08-16 14:03:22 +02:00
Besnik Bleta 6d16029ff2 Translated using Weblate (Albanian)
Currently translated at 100.0% (255 of 255 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/sq/
2022-08-16 14:03:22 +02:00
Besnik Bleta b82041aea7 Translated using Weblate (Albanian)
Currently translated at 99.8% (1365 of 1367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sq/
2022-08-16 14:03:22 +02:00
DignifiedSilence a67b432384 Translated using Weblate (Japanese)
Currently translated at 100.0% (128 of 128 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/ja/
2022-08-16 14:03:22 +02:00
DignifiedSilence 60f76c9f7e Translated using Weblate (Japanese)
Currently translated at 100.0% (257 of 257 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/ja/
2022-08-16 14:03:22 +02:00
Ewout van Mansom 1924e0689a Translated using Weblate (Dutch)
Currently translated at 80.8% (1711 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-08-16 14:03:22 +02:00
DignifiedSilence 7fdc1aa342 Translated using Weblate (Japanese)
Currently translated at 93.9% (1989 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2022-08-16 14:03:22 +02:00
Besnik Bleta 9239395681 Translated using Weblate (Albanian)
Currently translated at 99.2% (127 of 128 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/sq/
2022-08-16 14:03:22 +02:00
Berto Te 8ffc6fa381 Translated using Weblate (Spanish)
Currently translated at 100.0% (2116 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2022-08-16 14:03:22 +02:00
Ewout van Mansom aa2ec7db51 Translated using Weblate (Dutch)
Currently translated at 78.7% (1666 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-08-16 14:03:22 +02:00
Ewout van Mansom 11b5bc7927 Translated using Weblate (Dutch)
Currently translated at 78.4% (1660 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-08-16 14:03:22 +02:00
Besnik Bleta c9c585344c Translated using Weblate (Albanian)
Currently translated at 100.0% (255 of 255 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/sq/
2022-08-16 14:03:22 +02:00
Besnik Bleta e0372b092b Translated using Weblate (Albanian)
Currently translated at 99.2% (127 of 128 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/sq/
2022-08-16 14:03:22 +02:00
Besnik Bleta bb362a857c Translated using Weblate (Albanian)
Currently translated at 100.0% (1367 of 1367 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sq/
2022-08-16 14:03:21 +02:00
Ihor Hordiichuk f9b9b7603e Translated using Weblate (Ukrainian)
Currently translated at 82.8% (1754 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2022-08-16 14:03:21 +02:00
Ewout van Mansom 86f292f6b9 Translated using Weblate (Dutch)
Currently translated at 77.2% (1634 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-08-16 14:03:21 +02:00
Ewout van Mansom 81303c07d3 Translated using Weblate (Dutch)
Currently translated at 74.6% (1580 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-08-16 14:03:21 +02:00
Ewout van Mansom 51058cb5bc Translated using Weblate (Dutch)
Currently translated at 74.4% (1575 of 2116 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nl/
2022-08-16 14:03:21 +02:00