Commit Graph

2386 Commits

Author SHA1 Message Date
Chocobozzz 512decf37e
Fix videojs 2020-04-21 11:02:28 +02:00
Kim 8c7725dc3c
Add markdown support to plugins (#2654)
* Add markdown renderer to plugins

* Chore: add doc for markdown plugins

* Fix typing markdown plugin helpers

* Add lines between components in template

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 14:51:24 +02:00
Chocobozzz 1f41ca6566
Revert partially "Update client angular"
This reverts commit 7a9f9c4626.

Breaks canDeactivate on child route
2020-04-20 11:02:32 +02:00
Kim b1770a0af4
Add thumbnail / preview generation from url on the fly (#2646)
* Add thumbnails generation on the fly to URL import

* Display generated preview to import first edit

* Use ternary to get type inference

* Move preview/thumbnail test just after import

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 10:28:38 +02:00
Chocobozzz 7a9f9c4626
Update client angular 2020-04-20 08:49:12 +02:00
Chocobozzz 7e37e11111
Fix videojs typings 2020-04-17 14:12:43 +02:00
Chocobozzz bb3933ef37
Fix unknown video language label 2020-04-16 17:04:02 +02:00
Chocobozzz 891bc2ffad
Support rel="me" links in markdown 2020-04-16 16:13:28 +02:00
Kim 437e8e06eb
Add custom modal to plugin helpers (#2631)
* Add custom modal component

* Add custom modal to app and plugins helpers

* Fixes custom modal component

* Add doc for custom modal

* Fix newline end of file html and scss files

* Move my-custom-modal component outside component for UserLoggedIn modals

* Move initializeCustomModal to ngAfterViewInit()

* Wrap events and conditionnals

* Replace ng-show with ngIf*

* Add modalRef to open only one modal + onCloseClick

* Refacto + Fix access methods of custom modal

* Fix methods names custom-modal.component

* Fix implement AfterViewInit & no default boolean

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 15:35:41 +02:00
Chocobozzz 45c14ae1b2
Update translations 2020-04-15 14:39:59 +02:00
Xabi 6a9bdde9ba Translated using Weblate (Basque)
Currently translated at 50.1% (656 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2020-04-15 14:16:58 +02:00
Tirifto 261de531c9 Translated using Weblate (Esperanto)
Currently translated at 96.7% (1265 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2020-04-15 14:16:58 +02:00
Tirifto 1d98e51580 Translated using Weblate (Esperanto)
Currently translated at 93.1% (1218 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2020-04-15 14:16:58 +02:00
Al-Hassan Abdel-Raouf e39541160c Translated using Weblate (Arabic)
Currently translated at 94.8% (93 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/ar_001/
2020-04-15 14:16:58 +02:00
Al-Hassan Abdel-Raouf f803366eb9 Translated using Weblate (Arabic)
Currently translated at 64.9% (152 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/ar_001/
2020-04-15 14:16:58 +02:00
Balázs Meskó dc88b240d8 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1308 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hu/
2020-04-15 14:16:58 +02:00
Xabi ee0dd0d67b Translated using Weblate (Basque)
Currently translated at 98.9% (97 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/eu/
2020-04-15 14:16:58 +02:00
Xabi 3f68da57fa Translated using Weblate (Basque)
Currently translated at 100.0% (234 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/eu/
2020-04-15 14:16:58 +02:00
Xabi f4493803d8 Translated using Weblate (Basque)
Currently translated at 49.6% (650 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2020-04-15 14:16:58 +02:00
Tirifto f13968ab17 Translated using Weblate (Esperanto)
Currently translated at 91.4% (1196 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2020-04-15 14:16:58 +02:00
Xabi eace92e42c Translated using Weblate (Basque)
Currently translated at 97.9% (96 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/eu/
2020-04-15 14:16:58 +02:00
Xabi 37d41af4fd Translated using Weblate (Basque)
Currently translated at 99.1% (232 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/eu/
2020-04-15 14:16:58 +02:00
Xabi f217364606 Translated using Weblate (Basque)
Currently translated at 48.7% (637 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2020-04-15 14:16:58 +02:00
Xabi 6493063ddf Translated using Weblate (Basque)
Currently translated at 97.9% (96 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/eu/
2020-04-15 14:16:58 +02:00
Xabi b920c64f3a Translated using Weblate (Basque)
Currently translated at 98.7% (231 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/eu/
2020-04-15 14:16:58 +02:00
Xabi 43951d6277 Translated using Weblate (Basque)
Currently translated at 48.2% (631 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2020-04-15 14:16:58 +02:00
Tirifto af16dbec4f Translated using Weblate (Esperanto)
Currently translated at 91.1% (1192 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2020-04-15 14:16:58 +02:00
Kiro ef4e95c4ba Translated using Weblate (Bulgarian)
Currently translated at 4.7% (62 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/bg/
2020-04-15 14:16:58 +02:00
Tirifto 2549146e2f Translated using Weblate (Esperanto)
Currently translated at 85.4% (1118 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2020-04-15 14:16:58 +02:00
Jeff Huang 8d7ed4983f Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1308 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-04-15 14:16:58 +02:00
Quentin PAGÈS c1e280f1b0 Translated using Weblate (Occitan)
Currently translated at 100.0% (98 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/oc/
2020-04-15 14:16:58 +02:00
Quentin PAGÈS 13b714e291 Translated using Weblate (Occitan)
Currently translated at 100.0% (234 of 234 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/oc/
2020-04-15 14:16:58 +02:00
Filip Bengtsson b9d91d4529 Translated using Weblate (Swedish)
Currently translated at 100.0% (1308 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-04-15 14:16:58 +02:00
Quentin PAGÈS 80ecb5de32 Translated using Weblate (Occitan)
Currently translated at 81.8% (1071 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/oc/
2020-04-15 14:16:58 +02:00
Kiro 27d48bc30b Translated using Weblate (Bulgarian)
Currently translated at 4.4% (58 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/bg/
2020-04-15 14:16:58 +02:00
Filip Bengtsson 53555f5eab Translated using Weblate (Swedish)
Currently translated at 99.3% (1299 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-04-15 14:16:58 +02:00
Sebastian Paweł Wolski e68afc4f6d Translated using Weblate (Polish)
Currently translated at 93.5% (1224 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pl/
2020-04-15 14:16:58 +02:00
Serge Victor f69b12f802 Translated using Weblate (Polish)
Currently translated at 93.5% (1224 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pl/
2020-04-15 14:16:58 +02:00
Quentin PAGÈS 681b630719 Translated using Weblate (Occitan)
Currently translated at 80.5% (1053 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/oc/
2020-04-15 14:16:58 +02:00
Berto Te 908df237c6 Translated using Weblate (Spanish)
Currently translated at 100.0% (1308 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-04-15 14:16:58 +02:00
Kiro 13f67a2039 Added translation using Weblate (Bulgarian) 2020-04-15 14:16:58 +02:00
Chocobozzz 62068f4153
Merge branch 'pr/2629' into develop 2020-04-15 14:16:40 +02:00
Chocobozzz f757be65b8
Better plugin notifier typings 2020-04-15 09:21:06 +02:00
Kim 74c2dece42
Add notifier to plugin helpers (#2627)
* Add notifier to client PeerTubeHelpers plugin

* Add doc for notifier PeerTubeHelpers

* Add getBaseClientScriptsRoute to client PeerTubeHelpers plugin

* Add doc for getBaseClientScriptsRoute PeerTubeHelpers

* Remove unused helper

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 09:08:59 +02:00
Rigel Kent bb152476c8 Refactor follow/mute as modals in admin, add actions in abuse list 2020-04-14 15:53:37 +02:00
kimsible 50ad0a1c16 Add getSubs to YoutubeDL video import 2020-04-14 14:39:30 +02:00
Chocobozzz 5def04e17f
Update angular 2020-04-14 09:55:48 +02:00
Chocobozzz e713698f3d
Fix cancel upload 2020-04-14 09:54:22 +02:00
Chocobozzz 8e4aff44b0
Fix lint 2020-04-14 09:46:42 +02:00
Rigel Kent 471ee39496
Fix lint 2020-04-14 01:38:41 +02:00
Rigel Kent d6af81469b
Rich reporter field and video embed in moderation abuse list 2020-04-13 19:57:57 +02:00
Rigel Kent 2bc9bd08cd
Improving select displays, focus box-shadows for paginators, instructions for index url 2020-04-13 18:03:21 +02:00
Rigel Kent 92e4ca0d95
Fix my-video-imports display when a video gets deleted 2020-04-12 14:11:17 +02:00
Rigel Kent 66be521333
Revert 41a94d0, keep the fix for years 2020-04-12 11:10:44 +02:00
Rigel Kent 1242fd55f9
Improve from-now pipe readability 2020-04-11 19:05:11 +02:00
Rigel Kent 41a94d07f0
Refactor from-now pipe to display the two most significant intervals 2020-04-11 16:05:50 +02:00
Rigel Kent 62eacb4209
Place private/unlisted labels in thumbnail instead of miniature 2020-04-11 16:05:50 +02:00
Rigel Kent 58e1765aff
Remove unused interface section for interface language 2020-04-11 16:05:50 +02:00
Rigel Kent b7e2168115
Improve highlighted comment scrollTo, improve reply comment display 2020-04-10 16:51:02 +02:00
Rigel Kent de64dfbb5b
Prevent torrent indicators in player to overflow with small sizes 2020-04-10 13:07:28 +02:00
Rigel Kent 5fd3e00ac8
Align border color for peertube-checkbox with other inputs 2020-04-10 13:06:47 +02:00
Chocobozzz 6ccdf9d53e
Add duration in embed api playbackStatusUpdate 2020-04-08 14:52:28 +02:00
Chocobozzz 96aae68cc4
Add "ended" embed API event 2020-04-08 14:39:31 +02:00
Chocobozzz b1f3b635ed
Improve admin tables row expand 2020-04-08 14:05:55 +02:00
Chocobozzz a911462d02
Increase debug font size 2020-04-08 10:54:39 +02:00
Chocobozzz 8e11a1b37c
Fix sort in admin tables 2020-04-08 10:49:26 +02:00
Chocobozzz 14f83c68f1
Cleanup menu footer links 2020-04-08 10:30:58 +02:00
Chocobozzz 9870329f69
Fix playlist autoplay 2020-04-08 09:41:43 +02:00
Chocobozzz 9cdeb80650
Fix videojs subtitles 2020-04-08 09:36:51 +02:00
Chocobozzz fd69c52f84
Use hls.js light
Because we don't need subtitling and alternate-audio features
2020-04-08 09:12:52 +02:00
Chocobozzz bc30363602
Don't force autoplay
Don't use muting to autoplay videos. If the web browser does not want to
autoplay the video, it's okay.
2020-04-07 11:05:43 +02:00
Rigel Kent be6343d26e
Fix search after first type on input 2020-04-07 02:20:26 +02:00
Chocobozzz 8323c435c1
Remove oc locale support
It does not work since many releases, and nobody created an issue so we
don't consider it much use

It does not work because Angular does not know this locale: https://github.com/angular/angular/tree/master/packages/common/locales
2020-04-06 14:37:26 +02:00
Rigel Kent b9177868b3
Fix lint relative to DragDropDirective 2020-04-03 16:56:22 +02:00
Chocobozzz 1fe654e096
Fix peertube interface i18n 2020-04-03 14:56:05 +02:00
Chocobozzz a7d3671dc3
Fix privacy warning ok button placement 2020-04-03 14:56:05 +02:00
Rigel Kent 947d01023d
Improve channel and account display on medium devices 2020-04-03 14:13:28 +02:00
Rigel Kent 6a4c30de0e
Put box-shadow for input focus in variables, apply form-control to p-multiselect 2020-04-03 12:30:56 +02:00
Chocobozzz 23f1b9da15
Fix video add nave hiding 2020-04-03 11:46:43 +02:00
chocobozzz ba80de3d3d Translated using Weblate (Spanish)
Currently translated at 97.5% (1276 of 1308 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2020-04-03 09:07:53 +02:00
Rigel Kent c9ff8a08a0
Support drag and drop for video upload and torrent file import 2020-04-03 00:22:06 +02:00
Rigel Kent b515c98c6b
Refactor torrent-or-magnet divider in video import 2020-04-03 00:20:02 +02:00
Rigel Kent 22a59f33de
Fix help component border 2020-04-03 00:18:15 +02:00
Rigel Kent 6f02515e2a
Enlarge right column in video-edit on small screens 2020-04-02 17:55:03 +02:00
Chocobozzz 9f77adb8fe
Generate translations 2020-04-02 14:14:25 +02:00
Chocobozzz a96f4b738e
Upgrade client dep' to fix primeng bug 2020-04-02 14:13:10 +02:00
Filip Bengtsson fdd626b6b3 Translated using Weblate (Swedish)
Currently translated at 99.9% (1294 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-04-02 14:09:49 +02:00
Serge Victor 5182fe8e46 Translated using Weblate (Polish)
Currently translated at 94.6% (1226 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pl/
2020-04-02 14:09:49 +02:00
Phongpanot 966c16773c Translated using Weblate (Thai)
Currently translated at 62.6% (811 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/th/
2020-04-02 14:09:49 +02:00
Serge Victor dad5f226b7 Translated using Weblate (Polish)
Currently translated at 94.5% (1225 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pl/
2020-04-02 14:09:49 +02:00
Tirifto 3abcfa5409 Translated using Weblate (Esperanto)
Currently translated at 86.3% (1118 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2020-04-02 14:09:49 +02:00
Rigel Kent a038da1f0b Translated using Weblate (German)
Currently translated at 82.7% (1072 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2020-04-02 14:09:49 +02:00
Serge Victor dcce9358d2 Translated using Weblate (Polish)
Currently translated at 94.1% (1219 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pl/
2020-04-02 14:09:49 +02:00
Filip Bengtsson 3e86fe1adf Translated using Weblate (Swedish)
Currently translated at 99.8% (1293 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-04-02 14:09:49 +02:00
Balázs Meskó a8472293a6 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1295 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hu/
2020-04-02 14:09:49 +02:00
Jeff Huang 88f45dce84 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1295 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2020-04-02 14:09:49 +02:00
Nojus 8b2dba3cca Translated using Weblate (Lithuanian)
Currently translated at 100.0% (98 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/lt/
2020-04-02 14:09:49 +02:00
Filip Bengtsson ad4793da61 Translated using Weblate (Swedish)
Currently translated at 99.7% (1292 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2020-04-02 14:09:49 +02:00
Nojus 4265bd5a35 Translated using Weblate (Lithuanian)
Currently translated at 3.3% (44 of 1295 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/lt/
2020-04-02 14:09:49 +02:00
Mondo Xíbaro 21b646819a Translated using Weblate (Galician)
Currently translated at 100.0% (98 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/gl/
2020-04-02 14:09:49 +02:00