Commit Graph

2415 Commits (610d0be13b3d01f653ef269271dd667a57c85ef2)

Author SHA1 Message Date
Kim ca4b1594a7
Fix dropdown-user placement and menu-left scroll on touchscreens (#2706) 2020-05-01 20:05:19 +02:00
Rigel Kent d1261d9a3c Add links from user-edit 2020-05-01 16:41:02 +02:00
Rigel Kent efa012edad Add reportee stats for deleted videos 2020-05-01 16:41:02 +02:00
Rigel Kent 0251197e24 Factorize rest-table and fix/simplify SQL 2020-05-01 16:41:02 +02:00
Rigel Kent b8cf27c0f8 Unify paginator disabling when no result is displayable, fix batch domain add for non-https 2020-05-01 16:41:02 +02:00
Rigel Kent 36004aa7b0 Support search param in URL for video abuses 2020-05-01 16:41:02 +02:00
Rigel Kent 042daa7072 Fixing circular dependency and table variable access 2020-05-01 16:41:02 +02:00
Rigel Kent d384061366 Empty states for tables 2020-05-01 16:41:02 +02:00
Rigel Kent e0a929179a Add filter inputs for blacklisted videos and muted accounts/servers 2020-05-01 16:41:02 +02:00
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
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