Commit Graph

1541 Commits (0ac458bffb9389d649adcd86038385795bb6ad65)

Author SHA1 Message Date
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 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
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
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 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
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 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
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
Rigel Kent be6343d26e
Fix search after first type on input 2020-04-07 02:20: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
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
Rigel Kent a6d5ff7604
Use form-control to display box-shadow on form inputs/selects upon focus 2020-04-02 11:39:14 +02:00
Chocobozzz 45c6bcf312
Remove deprecated NgbTabsetModule module 2020-04-01 16:52:59 +02:00
Chocobozzz 4adebd513e
Client dependencies upgrade 2020-04-01 14:06:46 +02:00
Rigel Kent 6541071b4a Lazy-load video-channels 2020-03-31 10:29:24 +02:00
Rigel Kent 3d527ba173 Use inner join and document code for viewr stats for channels 2020-03-31 10:29:24 +02:00