Commit Graph

2356 Commits

Author SHA1 Message Date
Rigel Kent aeb1bed983 Factorize video display in table for moderation components, apply it to blacklisted videos as well 2020-05-01 16:41:02 +02:00
Rigel Kent 5fd4ca0051 Add nth abuse count for a given video, add reporter/reportee reports stats 2020-05-01 16:41:02 +02:00
Rigel Kent 844db39ee5 Add search for video, reporter and channel name fields 2020-05-01 16:41:02 +02:00
Rigel Kent 36d0677ec9 Add tooltip on caption upload to specify which formats are supported 2020-05-01 16:41:02 +02:00
Rigel Kent 988af781ac Rename duplicate to more universal mirror, add to miniature for quick access by admins 2020-05-01 16:41:02 +02:00
Rigel Kent 86521a67b2 Add video channel and video thumbnail, rework video appearance in row 2020-05-01 16:41:02 +02:00
Rigel Kent 9b4241e33b Increase rows per page, add reporter muting for abuse list 2020-05-01 16:41:02 +02:00
Rigel Kent 68d19a0ace Make sure a report doesn't get deleted upon the deletion of its video 2020-05-01 16:41:02 +02:00
Kim 165ee2929b
Fix tables width, paginators, button on mobile / touchscreens (#2695) 2020-05-01 10:45:07 +02:00
Kim 7a03209d28
Make admin sub-navs, selects, buttons responsive (#2702) 2020-05-01 00:51:09 +02:00
Kim 0ac458bffb
Remove border-bottom on header to prevent header redimensioning (#2691) 2020-04-30 22:33:27 +02:00
Kim d363ef5360
Use modal instead of dropdown menu in small/mobile views (#2674)
Co-Authored-By: Rigel Kent <par@rigelk.eu>
2020-04-30 19:23:54 +02:00
kimsible c285180a45 Fix select width on view < 800px 2020-04-30 17:52:37 +02:00
Rigel Kent 1def3c526e Apply the fix to both expanded and not expanded, using convention 2020-04-30 17:23:20 +02:00
kimsible 1f6d244970 Use same styles on full or not until lg screen 2020-04-30 17:23:20 +02:00
kimsible ac6ac4e214 Fix width content with menu from 500px to 800px 2020-04-30 17:23:20 +02:00
kimsible 62365adc75 Fix buttons display on mobile history view 2020-04-28 18:30:42 +02:00
Kim b15fe00f74
Add maximized mode to markdown-textarea + CSS improvements (#2660)
* Add arrows-angle-contract/expand bootstrap icons

* Add grey textarea-background-color

* Add maximized support to markdown-textarea + improve column display

* Refactor CSS + add ResizeObservable

* Replace bootstrap icons with softies

* Add ResizeObserver typing definition

* Add focus on textarea + Fix Observables

* Propage component changes on markdown plugins

* Ignore ResizeObserver not implemented in typescript yet

* Move observers from constructor to click event

* Add scss and css variables

* Replace textareaWidth with textareaMaxWidth to fix others textareas

* Clean unused css rules

* Fix ResizeObserver unknown by TypeScript compiler

* Set max-width: 100% for small and mobile views

* Fix textarea/preview height on maximized mode

* Add common padding textarea/preview side-by-side

* Hide scrollbar sub-menu on small-views

* Add maximized mode for mobile views

* Fix sass calculate syntax

* Revert custom CSS variable for inputBorderRadius and inputBorderColor

* Remove unsued methods

* Fix missing implement method

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-28 14:53:43 +02:00
Kim 4682468d4d
Fix broken views on mobile and small screens (#2671)
* Fix mobile CSS for my-account-settings

* Fix mobile CSS for my-account-videos

* Fix mobile CSS my-account-video-channels

* Fix mobile CSS for my-account-playlists

* Fix CSS mobile for user-subscriptions header

* Fix CSS mobile my-account-video-channel-edit

* Fix CSS mobile / small view for textarea

* Fix margin-right my-delete-button on inside span

* Fix CSS mobile on accounts page

* Fix indent

* Fix CSS mobile for my-account-notifications

* Fix CSS mobile / small view my-account-videos

* Fix search small-view channels

* Use miniature width for title of video on mobile

* Add dots to ellipsis multilines

* Fix controls and title video width small views

* Fix my-account-playlist small and mobile views

* Fix channels header + account header mobile

* Fix CSS mobile/small view for my-account/subscriptions

* Fix align followers channel item

* Center header elements user account page on mobile

* Fix margins on a element and img

* Fix margin img channel or video

Co-Authored-By: Rigel Kent <par@rigelk.eu>

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-04-27 14:57:50 +02:00
Kim 9181bc0c80
Make video-add-nav tabs scrollable on small devices (#2677)
* Make video-add-nav tabs scrollable on small devices

* Handle video-add-nav scroll with menu

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-27 08:59:19 +02:00
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