Commit Graph

642 Commits

Author SHA1 Message Date
Chocobozzz
939917705f
Add ability to bulk delete comments 2020-11-20 13:59:21 +01:00
Chocobozzz
4f926722ea
Upgrade client dependencies
Migrate removed primeng theme to custom CSS
2020-11-19 15:25:41 +01:00
Chocobozzz
0aa52e1707
Add ability to display all channel/account videos 2020-11-18 15:29:38 +01:00
Chocobozzz
7706b3703a
Put admin actions on the left 2020-11-16 14:26:50 +01:00
Chocobozzz
9be63f123e
Dropdown should be on top of everything 2020-11-16 14:23:09 +01:00
Chocobozzz
17119e4a54 Reorganize left menu and account menu
Add my-settings and my-library in left menu
Move administration below my-library
Split account menu: my-setting and my library
2020-11-13 12:02:21 +01:00
Chocobozzz
4872e9468e
Fix global loading bar in client 2020-11-09 16:08:03 +01:00
Chocobozzz
c29039e7c0 Add warning below live stream key field 2020-11-09 15:33:04 +01:00
Chocobozzz
d6eace77db Fix playlist element dropdown overflow 2020-08-25 14:42:16 +02:00
Chocobozzz
2856af48ac Fix z-index dropdown icon
Was on top of the header
2020-08-25 14:42:16 +02:00
Kim
245b9d27bc
On touchscreens add content overlay for opened menu (#3088)
* Overflow:hidden on touchscreen when modal-open

* Do not display menu by default on touchscreens

* Add content overlay on touchscreens when menu is opened

* Fix zIndex overlay for search infos

* On touchscreens close menu on swipe left

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-17 10:17:54 +02:00
kimsible
fd9c3c8d66 Refactor popover markdown, add code style 2020-08-14 15:03:38 +02:00
Chocobozzz
52c4976fcf
Use ng select for multiselect 2020-08-11 16:18:42 +02:00
Rigel Kent
02c01341f4 add ng-select for templatable select options
- create select-tags component to replace ngx-chips
- create select-options to factorize option selection in forms
- create select-channel to simplify channel selection
- refactor tags validation
2020-08-11 09:03:39 +02:00
kimsible
e752c75e55 Fix expanded margin content css var unapplied 2020-08-11 08:03:47 +02:00
kimsible
7034b3c908 Refactor - improve offset content handling with fixed sub-menu and broadcast-message 2020-08-11 08:03:28 +02:00
Chocobozzz
560605026b
Remove smooth scroll behaviour
It's not adapted to a SPA because the scroll is updated when we change page
2020-08-10 16:00:21 +02:00
Kim
4a53fc8204
Add new anchors in my-settings and handle offset sub-menu height (#3032)
* Add anchors setting and handle offset with sub-meu

* Use PeerTube scroll logic

* Add anchor for top my-settings

* Improve scroller with smooth behavior and css offset

* Fix anchor position when using history navigation

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-10 15:57:37 +02:00
kimsible
41fafa9ef9 Do not display videojs poster when video is starting 2020-08-10 13:46:04 +02:00
Chocobozzz
ae2dd04617
Correctly fix sub menu 2020-08-10 09:43:44 +02:00
Chocobozzz
82f443de1a
Add buttons in playlist page
To delete/edit/share the playlist
2020-08-10 09:43:44 +02:00
Chocobozzz
10846ef656
Fix playlist layout on mobile 2020-08-10 09:43:44 +02:00
kimsible
17384fd856 Avoid lost scroll position when modal open 2020-08-10 08:18:54 +02:00
Chocobozzz
3efa3f4d35
Fix play overlay icon 2020-08-07 13:46:58 +02:00
Chocobozzz
193b9ba7c0
Fix loading bar color 2020-08-07 11:34:22 +02:00
Chocobozzz
92d54714b9 Fix control bar on small screens 2020-08-07 08:58:29 +02:00
Chocobozzz
4485dafb0e Fix playlist menu overflow 2020-08-07 08:58:29 +02:00
Chocobozzz
a75292db78 Align dock padding with playlist button 2020-08-07 08:58:29 +02:00
Chocobozzz
1a8c2d74d1 Handle start at/stop at in playlist embed 2020-08-07 08:58:29 +02:00
Chocobozzz
56674bb9f8 Handle unavailable videos in embed playlists 2020-08-07 08:58:29 +02:00
Chocobozzz
a950e4c82b Add previous button 2020-08-07 08:58:29 +02:00
Chocobozzz
4572c3d0d9 Handle basic playlist in embed 2020-08-07 08:58:29 +02:00
Chocobozzz
5abc96fca2 Add logic to handle playlist in embed 2020-08-07 08:58:29 +02:00
Chocobozzz
583eb04b54 Upgrade to angular 10 2020-08-07 08:28:14 +02:00
Rigel Kent
9a42363291
correct column toggle z-index for user list 2020-08-03 23:43:23 +02:00
Chocobozzz
2045b57223
Fix about page layout with fixed submenu 2020-08-03 11:49:24 +02:00
Chocobozzz
441e453ae5 Add abuse message management in admin 2020-07-31 11:35:19 +02:00
Rigel Kent
225a7682e6 adapt notifications buttons for small screens 2020-07-29 18:15:53 +02:00
Rigel Kent
66927c0588 modify user-quota to match account settings style 2020-07-29 18:15:53 +02:00
Rigel Kent
4f5d045960 harmonize search for libraries 2020-07-29 18:15:53 +02:00
Rigel Kent
bc99dfe54e variable columns for users list, more columns possible, badge display for statuses 2020-07-29 18:15:53 +02:00
Rigel Kent
654a188f80 allow sorting notifications 2020-07-29 18:15:53 +02:00
Kim
a949f67636
correct regressions on sub-menu for account and admin (#3004) 2020-07-24 23:29:39 +02:00
Rigel Kent
e13d7ae45c
fix position for sub-menus with actor
fixes ed5bb51726
2020-07-23 21:32:28 +02:00
Kim
ed5bb51726
Improve navigation sub-menu and tabs effects (#2971)
* Improve nav border and colors on active and non-active

* Remove margin-top effect on active nav

* Use opacity / bold instead of color change on nav

* Remove dropdown items label in sub-menu and add a class active

* Position sub-menu to fixed

* Autoclose dropdown sub-menu only on outside click

* Remove open dropdown on hover in sub-menu

* Show reusable h1 for dropdown item in sub-menu

* Put reusable sub-menu h1 styles to mixins

* Add icons to sub-menu dropdown-item h1

* Make all the sub-menu accessible with focus

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 15:09:15 +02:00
kimsible
8110705d02 Fix: disable vertical scroll instead of hide on desktop browsers 2020-07-23 14:32:04 +02:00
kimsible
2170f1db6e Fix accessibility action buttons and display on imports and followers list 2020-07-20 17:00:28 +02:00
Chocobozzz
767bb14a38
Fix external user edition 2020-07-06 11:03:05 +02:00
Rigel Kent
6c808af9a2 fix reactive file upload button 2020-07-01 17:03:48 +02:00
Rigel Kent
1fe1e14cb3 fix video update button, add color to danger zone 2020-07-01 17:03:48 +02:00
Rigel Kent
c41c0e28ed switch from softies to feathericons
also organize icons in folders per origin
2020-07-01 17:03:48 +02:00
Rigel Kent
1ebddadd07
predefined report reasons & improved reporter UI (#2842)
- added `startAt` and `endAt` optional timestamps to help pin down reported sections of a video
- added predefined report reasons
- added video player with report modal
2020-06-22 13:00:39 +02:00
Rigel Kent
228393302d
factorize account/server blocklists for users and instance (#2875) 2020-06-15 13:18:22 +02:00
Caroline Chuong
c9e3565dc8
fix headings order or add missing ones (#2871)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-06-13 00:53:56 +02:00
Rigel Kent
d39db21a88
match margin of abstract-video-list and sub-menu's fixed margin 2020-06-12 12:26:48 +02:00
Rigel Kent
435258ea3c
fix miniature fixed height, add link/title to avatar, remove pr-2 on channels list 2020-06-12 09:51:16 +02:00
Caroline Chuong
adcf921271
add keyboard navigation for video actions (#2854)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-06-11 19:19:23 +02:00
Chocobozzz
cf78883c70
Limit thumbnail sizes 2020-06-11 16:41:51 +02:00
Rigel Kent
d840487fed
smaller miniature average size in fluid grid, updated admin instructions for global search 2020-06-10 21:09:31 +02:00
Caroline Chuong
d8d8de7f87
change focus color instead of opacity of video play button (#2845) 2020-06-09 13:35:30 +02:00
Rigel Kent
e66883b37a
fitWidth for video-miniature, fluid grid (#2830)
* Fluid abstract video list

* normalize timestamp display on miniatures

* use grid for abstract-video-list

- refactor scss function var to pvar to avoid overriding css variables
- move fluid-grid margins to adapt-margin-content-width mixin for maintainability
- fix video-miniature-name margin-top on small screen

* move sceenratio function in a mixin

* display no miniature avatar in channel videos view
2020-06-09 09:33:28 +02:00
Rigel Kent
81fe3c67c5 fix duplicate id in svg, empty alt in base email 2020-06-04 09:05:44 +02:00
Chocobozzz
c123027fd9
Fix grey color theme 2020-05-22 11:21:55 +02:00
Chocobozzz
5f57df5462
Fix action button icons theme 2020-05-22 11:15:31 +02:00
Chocobozzz
efc84bdc49
Fix notification with dark theme 2020-05-22 11:07:23 +02:00
Chocobozzz
f33dc6ab2d
Fix input/textarea themes 2020-05-20 13:52:12 +02:00
Chocobozzz
e0433a5f8f
Fix dropdown menu overflow 2020-05-20 11:58:03 +02:00
Chocobozzz
3bf07dd8c2
Explicit theme colors for inputs and textarea 2020-05-20 11:39:31 +02:00
Chocobozzz
619443a3f6
Fix sort icons in table 2020-05-20 10:22:18 +02:00
Kim
8544d8f561
Fix regression my-account menu overflow-x on screen width < 800px (#2707)
* Fix: correct my-account menu overflow-x on touchscreens

* Add menuLeftDisplayed support for account-sub-menu

* Handle menu in screen service + clean top-menu-dropdown

* Add comment on menuWidth menu service to allow backtracking

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-05-11 11:12:58 +02:00
Chocobozzz
295928a335
Remove dots for long texts in multiline
It's confusing, as we don't understand what are these dots: http://lutim.cpy.re/1AkiPBVf.png
2020-05-10 10:41:55 +02:00
Chocobozzz
06827932a2
Fix textarea size 2020-05-05 13:54:30 +02:00
Chocobozzz
36f772fd8f
Increase size of username/display name in admin users list 2020-05-05 13:54:30 +02:00
Chocobozzz
ebefc902f5 Add external login buttons 2020-05-04 16:21:39 +02:00
Rigel Kent
25a42e293b Fix rowsPerPage change, add filter clear button, update video-abuse-list search query param dynamically 2020-05-04 15:01:44 +02:00
Rigel Kent
0d3a2982a9 Switching to a named filters/single input on video-abuse 2020-05-04 15:01:44 +02:00
Rigel Kent
c2a89b70ce
Fix margin-content and miniature thumbnail width on mobile, fix media queries for tables above lg breakpoint 2020-05-01 23:24:05 +02:00
Rigel Kent
d392608090
Clearer font definitons via a font-face mixin 2020-05-01 23:22:58 +02:00
Rigel Kent
d1261d9a3c Add links from user-edit 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
9b4241e33b Increase rows per page, add reporter muting for abuse list 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
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
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
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
1242fd55f9
Improve from-now pipe readability 2020-04-11 19:05:11 +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
14f83c68f1
Cleanup menu footer links 2020-04-08 10:30:58 +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
Rigel Kent
b515c98c6b
Refactor torrent-or-magnet divider in video import 2020-04-03 00:20:02 +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
Rigel Kent
21973012ab
More discrete close icon for toast 2020-04-02 11:37:49 +02:00
Chocobozzz
45c6bcf312
Remove deprecated NgbTabsetModule module 2020-04-01 16:52:59 +02:00
Rigel Kent
76314386ae
Add overview of a user's actions in user-edit (#2558) 2020-03-27 15:19:03 +01:00
Rigel Kent
e61151b01c
Replace p-progressbar and bootstrap progressbar with pure CSS alt 2020-03-13 20:38:50 +01:00
Rigel Kent
c4741804bc
Fix margins/widths with top-menu and main-col on small screens 2020-03-13 15:30:27 +01:00
Rigel Kent
df8914c9a2
More modern avatar upload, quota represented with progress bars 2020-03-13 01:43:52 +01:00
Rigel Kent
45e0d6697c
Properly scroll to anchors in links, especially in admin config 2020-03-11 19:38:17 +01:00
Rigel Kent
680b549692
Migrate palette to HSL 2020-03-11 13:51:24 +01:00
Rigel Kent
75264e371c
Fix toast close icon 2020-03-11 11:13:24 +01:00
Rigel Kent
482fa503e5 Use grid to organise settings in admin, my-account 2020-03-10 16:23:40 +01:00
Rigel Kent
8319d6ae72
Add video file metadata to download modal, via ffprobe (#2411)
* Add video file metadata via ffprobe

* Federate video file metadata

* Add tests for file metadata generation

* Complete tests for videoFile metadata federation

* Lint migration and video-file for metadata

* Objectify metadata from getter in ffmpeg-utils

* Add metadataUrl to all videoFiles

* Simplify metadata API middleware

* Load playlist in videoFile when requesting metadata
2020-03-10 14:39:40 +01:00
Rigel Kent
f8cce49c3f
Fix my-account list-overflow z-index for dropdowns compared to header 2020-03-09 11:11:09 +01:00
Rigel Kent
26ede95e57
Fix admin menu z-index for dropdowns compared to header 2020-03-08 18:02:14 +01:00
Rigel Kent
758f0d19f2
Improve nav in admin/configuration 2020-03-07 00:15:49 +01:00
Rigel Kent
54e7884775
Normalize modal close buttons, and cancel/submit button styles 2020-03-06 16:58:55 +01:00
Rigel Kent
de702865f4
Share modal light UI simplification 2020-03-06 15:05:19 +01:00
Rigel Kent
d3217560a6
Add visitor settings, rework logged-in dropdown (#2514)
* Add visitor settings, rework logged-in dropdown

* Make user dropdown P2P switch functional

* Fix lint

* Fix unnecessary notification when user logs out

* Simplify visitor settings code and remove unnecessary icons

* Catch parsing errors and reindent menu styles
2020-02-28 13:52:21 +01:00
Rigel Kent
555fdc8c79
Provide z-index centralisation for lower components 2020-02-21 21:25:55 +01:00
Rigel Kent
757ffdfe90
Add notifications popover and tooltips to the z-index table 2020-02-18 12:01:08 +01:00
Chocobozzz
4c1c170934
Refactor email enabled function 2020-02-17 10:27:00 +01:00
Rigel Kent
9b8a7aa8ea
Improve search typeahead performance and use native events 2020-02-13 16:35:24 +01:00
Rigel Kent
ece3029bd9
Media queries to use variables when possible 2020-02-13 16:34:16 +01:00
Rigel Kent
52cc0d5485
Gracefully downsize search bar for mobile devices 2020-02-13 16:32:58 +01:00
Rigel Kent
f409f0c3b9
Search typeahead initial design 2020-02-13 16:32:21 +01:00
Rigel Kent
36f2981f7d
Manage z-indexes in variables 2020-02-13 15:09:36 +01:00
Rigel Kent
24e7916c68 Add ListOverflow component to prevent sub-menu overflow 2020-02-13 10:25:22 +01:00
Rigel Kent
eb7c7a5179
Fix user dropdown menu with long texts
closes #2480
2020-02-12 16:58:03 +01:00
Rigel Kent
28c801b6d0 Restyle toast notifications to tone down colors 2020-02-06 15:24:12 +01:00
Chocobozzz
abb3097e81
Improve embed title background opacity 2020-02-03 13:33:42 +01:00
Chocobozzz
d6ebf0cac4
Remove progress bar transition
Causes some issues when we use the mouse to update play position
2020-02-03 10:40:24 +01:00
Rigel Kent
e40afb5bc4 Fix signup limit validator, and add warning message. 2020-01-31 08:56:20 +01:00
Chocobozzz
14aa85562c
Cleanup some client FIXME 2020-01-29 16:00:28 +01:00
Chocobozzz
a3705089fa
Remove husky 2020-01-21 14:28:28 +01:00
Rigel Kent
9b82d49da8 Add action dropdown descriptions 2020-01-21 11:59:41 +01:00
Rigel Kent
7738273b80 Accessibility fixes for #2149 2020-01-21 10:08:10 +01:00
Rigel Kent
aa0f19635a Add manage buttons for own channels and account, video counts (#2421)
* Add manage buttons for own channels and account, video counts

* Change manage button color and introduce secondary color
2020-01-21 09:35:23 +01:00
Rigel Kent
2ba5ac3354
Add link to video in update view and smooth progress bar repositioning 2020-01-13 22:14:04 +01:00
Rigel Kent
000eb0e40d
Add informational message at login for visitors coming from upload button
resolves #1880
2020-01-10 14:01:23 +01:00
Rigel Kent
b061c8edb0 Add extra text to button when partially subscribed to all channels 2020-01-10 10:12:09 +01:00
Rigel Kent
46db9430af
Add checkbox focus shadows, and admin resolution descriptions 2020-01-06 12:41:14 +01:00
Rigel Kent
bf64ed4196
Add search bars for a user's videos and playlist library 2019-12-28 01:10:26 +01:00
Rigel Kent
0240da5c32
(css) transparent buttons in watch page 2019-12-27 12:12:42 +01:00
Rigel Kent
bc584963ff
Update noscript message, reduce dropdown icon size and horizontal padding 2019-12-26 19:46:59 +01:00
Rigel Kent
3921166d78
(css) vertical-center modals, bullet as separator 2019-12-20 21:15:28 +01:00
Rigel Kent
223b24e618
Fix upnext, refactor avatar menu, add to playlist overflow 2019-12-20 17:49:57 +01:00
Rigel Kent
1dc240a948
Add next video button to the player 2019-12-19 21:34:45 +01:00
Rigel Kent
96f6278f3e
respect video history on explicit playlist click
also correct font-weight for .title-page-single, and tooltip dynamic
text for playlist loop button.

fixes #1889
2019-12-18 23:39:11 +01:00
Rigel Kent
62ab565d1c
Add play/pause bezels to the video player 2019-12-18 20:20:11 +01:00
Rigel Kent
3bcb4fd741
add 'up next' screen on autoplay 2019-12-17 16:49:33 +01:00
Rigel Kent
d6ed9ccc81
(css) alter .title-page section header style 2019-12-17 13:10:27 +01:00
Chocobozzz
566c125d6e
Serve audit logs to client 2019-12-11 14:14:01 +01:00
Chocobozzz
fc641dedd6
Improve comment tree UI 2019-12-10 11:02:58 +01:00
Rigel Kent
41f8f6207a miniature duration visibility and overlay background opacity 2019-12-09 09:16:08 +01:00
Rigel Kent
6f6e89dbc2 dropdown-menu lighter box-shadow 2019-12-09 09:10:54 +01:00
Rigel Kent
2526690866 search filtering improvements per #1654 2019-12-05 09:06:01 +01:00
Chocobozzz
2fcc229497
Test a color for the support button 2019-12-03 20:10:27 +01:00
Chocobozzz
cdbfd2b003
Fix background body color 2019-11-29 14:23:28 +01:00
Chocobozzz
2a53942d9e
Fix overflow when creating a channel 2019-11-27 10:41:08 +01:00
frankdelange
597ca6de2c
Show poster image when playing audio-only content, do not hide controls
Add '.vjs-playing-audio-only-content' class to:
 - show poster image
 - disable controls auto-hide

...when playing audio-only content
2019-11-25 10:59:48 +01:00
Julien Maulny
a4610bc688 Fix stats block display in dark theme 2019-11-13 09:02:26 +01:00
Chocobozzz
18c9772876
Fix checkbox themes 2019-10-22 11:14:58 +02:00
Chocobozzz
6051946e44
Fix avatar bad width 2019-09-05 10:30:22 +02:00
Chocobozzz
bc20aaed46 Fix register checkbox 2019-09-05 10:17:02 +02:00
Chocobozzz
d5c8932a60
Merge branch 'release/1.4.0' into develop 2019-08-22 14:46:47 +02:00
Chocobozzz
6eb62c3390
Fix video rows overflow
In discover and account channel videos pages
2019-08-22 13:59:54 +02:00
Chocobozzz
122dbb5705
Cleanup SASS imports 2019-08-22 10:33:57 +02:00
Chocobozzz
79a899410f
Cleanup SASS imports 2019-08-22 10:02:32 +02:00
Robin
13176a07a9 Cleaner warning of IP address leaking on embedded videos (#2034)
* Update peertube-skin.scss

* Update embed.ts
2019-08-16 08:17:41 +02:00
Chocobozzz
dc89026348
Add show channel button in account page 2019-07-29 17:12:18 +02:00
BO41
a1758df8a3 Add font-display 2019-07-26 09:07:59 +02:00
Chocobozzz
03652b3179
Use ::ng-deep instead of /deep/ 2019-07-25 11:00:43 +02:00
Chocobozzz
dba85a1e9e WIP plugins: add plugin settings/uninstall in client 2019-07-24 10:58:16 +02:00
Chocobozzz
3caf77d3b1
Add language filters in user preferences 2019-06-19 15:05:36 +02:00
Chocobozzz
2f4c784a92
Add params to share modal 2019-06-12 16:44:15 +02:00
Chocobozzz
5efab5467c
Add more embed parameters 2019-06-11 16:05:03 +02:00
Chocobozzz
776ca9b1cc
Fix checkbox outline 2019-06-06 11:43:01 +02:00
Chocobozzz
bc01017be9
Add ability to subscribe from the channel account page 2019-05-29 17:00:40 +02:00
Chocobozzz
c8487f3f63
Improve account channel page
Set it as the default route for account page. The main goal is to better
differentiate the channel page from the account page. With the channel
page set as default, I hope people will better understand they are in
the account page, and that this account could have multiple channels.
2019-05-29 16:45:59 +02:00
Chocobozzz
1d5342abc4
Multi step registration 2019-05-29 11:19:54 +02:00
Chocobozzz
616a03d55e
No border radius for thumbnails on small screens 2019-04-25 10:06:30 +02:00
Zig-03
1b8a890595 _miniature.scss .blur-filter from 5px blur to 20px
A temporary fix, until a better solution is found (maybe #1158 + #1588?), that increases the blur because right now NSFW thumbnails are way too transparent.
2019-04-18 11:07:37 +02:00
Chocobozzz
28e0e40d2b
Fix privacy warning position on mobile 2019-04-15 09:43:23 +02:00
Chocobozzz
2c3abc4fa7
Fix my account settings responsive 2019-04-11 11:18:19 +02:00
Chocobozzz
31b6ddf866
Add ability to disable tracker 2019-04-10 09:23:18 +02:00
Chocobozzz
e2409062de
Refactor video miniatures 2019-04-03 16:17:41 +02:00
Chocobozzz
8fc02e4768
Set thumbnail height 2019-04-03 14:18:23 +02:00
Chocobozzz
0c9945d900
Try to fix multiline ellipsis
some characters like "g" were cut out
2019-04-03 13:51:02 +02:00
Chocobozzz
11dd0c2e42
Improve abstract videos list
Better responsive and align miniatures to the left
2019-04-03 13:25:52 +02:00
Chocobozzz
e0812403d8
Reduce player big button border width 2019-03-20 14:28:08 +01:00
Chocobozzz
a55052c9ba
Add my library section in menu 2019-03-20 13:53:51 +01:00
Chocobozzz
bce47964f6 Add video channel view 2019-03-18 11:17:59 +01:00
Chocobozzz
e2f01c47e0 Playlist support in watch page 2019-03-18 11:17:59 +01:00
Chocobozzz
c5a1ae500e Playlist videos component 2019-03-18 11:17:59 +01:00
Chocobozzz
f0a3988066 Add to playlist dropdown 2019-03-18 11:17:59 +01:00
Chocobozzz
830b4faff1 Add/update/delete/list my playlists 2019-03-18 11:17:59 +01:00
Chocobozzz
ef80c66cea
Refactor ellipsis CSS 2019-02-20 15:52:03 +01:00
Chocobozzz
e5fc7811ae
Increase thumbnails size 2019-02-20 13:59:31 +01:00
Chocobozzz
41d713446c
Lazy import some modules 2019-02-15 15:52:18 +01:00
Chocobozzz
aa87909287
Fix calendar in dark mode 2019-01-17 11:51:08 +01:00
Chocobozzz
f2fab901df
Fix invisible things in dark mode 2019-01-17 11:34:29 +01:00
Chocobozzz
17bb716bc4
Fix some styles
Video edit tags, dropdown actions font ...
2019-01-17 11:16:08 +01:00
Chocobozzz
457bb213b2
Refactor how we use icons
Inject them in an angular component so we can easily change their color
2019-01-17 10:38:18 +01:00
Chocobozzz
3195cd1c11
Fix notification z-index on modals 2019-01-15 09:25:26 +01:00
Chocobozzz
2f1548fda3 Add notifications in the client 2019-01-09 11:15:15 +01:00
Chocobozzz
6e7e63b83f Fix notification icon position 2019-01-09 11:15:15 +01:00
Chocobozzz
4707f410ae
Fix notification with large message 2018-12-20 11:18:29 +01:00
Chocobozzz
f8b2c1b4f5
Refractor notification service
Shorter name and use primeng component
2018-12-19 17:26:52 +01:00
Chocobozzz
276d965295
Add ability to disable and clear history 2018-12-18 11:35:51 +01:00
Chocobozzz
fe05c3acbd
Fix player progress bar when changing resolution 2018-11-16 09:16:41 +01:00
Chocobozzz
650e3d5ce3
Fix miniature with a long name 2018-11-15 16:38:36 +01:00
Chocobozzz
65b21c961c Add ability to mute a user/instance by server in client 2018-10-16 16:41:36 +02:00
Chocobozzz
017c3dcadf
Add ability to list all local videos on client 2018-10-10 14:35:55 +02:00
Chocobozzz
b014b6b9c7
Add ability to search on followers/following 2018-10-10 09:43:53 +02:00
Chocobozzz
791645e620
Add bulk actions in users table 2018-10-08 15:55:32 +02:00
Rigel Kent
c5d04b4f35
add allow advancedSearch with empty search
a.k.a. filters on all videos

also added a badge showing the rough number of active filters
2018-10-01 17:23:06 +02:00
Rigel Kent
8b183196cb
fix primeng border color on all themes 2018-09-29 17:36:19 +02:00
Rigel Kent
f5d9558f66
various display improvements 2018-09-29 13:42:17 +02:00
Chocobozzz
19f2205516
Display other videos on xl screens on the right 2018-09-28 14:37:04 +02:00
Chocobozzz
161b061d4e
Remove duplicated videos on unfollow/delete redundancy 2018-09-28 10:07:05 +02:00
Rigel Kent
660d11e91e
refactor subscribe button and comment-add for visitor-interact UX (#1100)
* refactor subscribe button for visitor-subscribe UX
* refactor comment-add for visitor-interact UX
2018-09-25 15:42:58 +02:00
Chocobozzz
b9fcfb1d2a
Fix weird CSS bug with production build and CSS var 2018-09-24 18:05:57 +02:00
Chocobozzz
a7f9fae9ab
Improve download modal input style 2018-09-24 17:48:34 +02:00
Rigel Kent
1fd3ef3fb4
fix nav tab and tag color in dark theme 2018-09-20 20:57:18 +02:00
Chocobozzz
2860e62e23
Fix my account width on mobile 2018-09-20 16:24:58 +02:00
Chocobozzz
0491173a61
Merge branch 'develop' into cli-wrapper 2018-09-20 16:24:31 +02:00
Chocobozzz
93ea9c47d9
Improve responsive on small screens 2018-09-20 14:59:19 +02:00
Chocobozzz
b335ccec49
Fix ios player playback/subtitles menu 2018-09-17 15:01:04 +02:00
Rigel Kent
1d9d9cfdcf
add css custom properties for the left menu 2018-09-13 14:33:17 +02:00
Rigel Kent
c13e2bf340
update hotkeys to include user-specific routes
also fix left-menu width
2018-09-11 22:02:58 +02:00
Rigel Kent
e78980ebd1 use focus-visible polyfill to improve keyboard navigation
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
2018-09-11 10:58:48 +02:00
Rigel Kent
20c3a59e2c
add input color to cope with browser themes 2018-09-09 14:43:30 +02:00
Rigel Kent
ed19bb9a32
use css class for loading bar color 2018-09-07 22:46:11 +02:00
Rigel Kent
35c2930776
move theme toggle icon to the right 2018-09-06 13:47:48 +02:00
Chocobozzz
432e7ddcc8
Fix video player theatre mode 2018-09-06 09:00:58 +02:00
Chocobozzz
db6d617dd2
Fix occitan label 2018-09-05 15:59:43 +02:00
Chocobozzz
dcbc29d5c8
Put "start at" at the top of the modal 2018-09-05 15:32:15 +02:00
Chocobozzz
8ff3f88347
Fix watch page responsive 2018-09-05 11:20:44 +02:00
Chocobozzz
46ae6f6724
Fix menu on mobile 2018-09-05 10:19:45 +02:00
Rigel Kent
9a0fc8409c add theming via css custom properties
and a bonus dark color theme toggle
2018-09-04 23:24:34 +02:00
Rigel Kent
3b766e181c
fixing grid readjustment with expand and screens < 1150px 2018-09-04 18:35:39 +02:00
Chocobozzz
6aff854c0e
Fix overview page on mobile 2018-09-04 17:31:30 +02:00
Gaëtan Rizio
74d6346935 Users can change ownership of their video [#510] (#888)
* [#510] Create a new route to get the list of user names

To be able to transfer ownership to a user,
we need to be able to select him from the list of users.

Because the list could be too big, we add a autocomplete feature.

This commit does the following:

* Add a API endpoint to get a list of user names by searching its name

* [#510] The user can choose the next owner of the video

To be able to transfer ownership to a user,
we need the owner to be able to select the user.

The server can autocomplete the name of the user to give the ownership.
We add a dialog for the user to actually select it.

This commit does the following:

* Create a modal for the owner to select the next one
* Opens this modal with a button into the menu *more*
* Make the dependency injection

* [#510] When the user choose the next owner, create a request in database

For the change of ownership to happen, we need to store the temporary requests.
When the user make the request, save it to database.

This commit does the following:

* Create the model to persist change ownership requests
* Add an API to manage ownership operations
* Add a route to persist an ownership request

* [#510] A user can fetch its ownership requests sent to him

To be able to accept or refuse a change of ownership,
the user must be able to fetch them.

This commit does the following:

* Add an API to list ownership for a user
* Add the query to database model

* [#510] A user can validate an ownership requests sent to him - server

The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the server part.

This commit does the following:

* Add an API for the user to accept or refuse a video ownership
* Add validators to ensure security access
* Add a query to load a specific video change ownership request

* [#510] A user can validate an ownership requests sent to him - web

The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the web part.

This commit does the following:

* Add a page to list user ownership changes
* Add actions to accept or refuse them
* When accepting, show a modal requiring the channel to send the video

* Correct lint - to squash

* [#510] PR reviews - to squash

This commit does the following:

* Search parameter for user autocompletion is required from middleware directly

* [#510] PR reviews - to squash with creation in database commit

This commit does the following:

* Add the status attribute in model
* Set this attribute on instance creation
* Use AccountModel method `loadLocalByName`

* [#510] PR reviews - to squash with fetch ownership

This commit does the following:

* Add the scope `FULL` for database queries with includes
* Add classic pagination middlewares

* [#510] PR reviews - to squash with ownership validation - server

This commit does the following:

* Add a middleware to validate whether a user can validate an ownership
* Change the ownership status instead of deleting the row

* [#510] PR reviews - to squash with ownership validation - client

This commit does the following:

* Correct indentation of html files with two-spaces indentation
* Use event emitter instead of function for accept event
* Update the sort of ownership change table for a decreasing order by creation date
* Add the status in ownership change table
* Use classic method syntax

* code style - to squash

* Add new user right - to squash

* Move the change to my-account instead of video-watch - to squash

As requested in pull-request, move the action to change ownership into my videos page.

The rest of the logic was not really changed.

This commit does the following:

- Move the modal into my video page
- Create the generic component `button` to keep some styles and logic

* [#510] Add tests for the new feature

To avoid regression, we add tests for all api of ownership change.

This commit does the following:

- Create an end-to-end test for ownership change
- Divide it to one test per request

* [#510] Do not send twice the same request to avoid spam

We can send several time the same request to change ownership.
However, it will spam the user.
To avoid this, we do not save a request already existing in database.

This commit does the following:

- Check whether the request exist in database
- Add tests to verify this new condition

* [#510] Change icons

Change icons so they remains logic with the rest of the application.

This commit does the following:

- Add svg for missing icons
- Add icons in `my-button` component
- Use these new icons

* [#510] Add control about the user quota

The user should be able to accept a new video only if his quota allows it.

This commit does the following:

- Update the middleware to control the quota
- Add tests verifying the control

* Correct merge

- Use new modal system
- Move button to new directory `buttons`

* PR reviews - to squash
2018-09-04 08:57:13 +02:00
Rigel Kent
2303a803aa
fix likes bar, grid adjustment and menu width 2018-09-03 15:10:55 +02:00
Rigel Kent
769ac6c11f add title ellipsis over two lines to miniatures 2018-09-03 08:49:29 +02:00
Chocobozzz
2d3741d6d9 Videos overview page: first version 2018-08-31 09:19:58 +02:00
Rigel Kent
2d9fea161f
watch view visual tweaks and search/comment placeholder dismiss on focus (#983)
- make the placeholder disappear on focus in the search bar
- make the placeholder disappear on focus in the comment textarea
- make the texarea resize automagically
- refactor the watch view to use bootstrap 4's flexgrid
- move action buttons of the watch view to the right of the video info
- responsive tweaks and margin adjustments in the watch view
2018-08-30 11:15:22 +02:00
Chocobozzz
41a676db39
Add features table on signup 2018-08-28 17:39:29 +02:00
Chocobozzz
f0d4e7eb24
Move abuse state column at the end 2018-08-28 16:05:38 +02:00
Chocobozzz
22a16e36f6 Add local user subscriptions 2018-08-27 09:41:54 +02:00
Chocobozzz
8a19bee1a1 Add ability to set a name to a channel 2018-08-27 09:41:54 +02:00
Chocobozzz
65b247ddc7
Improve follow component routing 2018-08-14 18:01:22 +02:00
Chocobozzz
141b177db0
Add ability to ban/unban users 2018-08-09 17:55:05 +02:00
Chocobozzz
63347a0ff9
Migrate to bootstrap 4 and ng-bootstrap 2018-08-09 14:55:06 +02:00
Chocobozzz
b34a444e29
Upgrade to bootstrap 4 first step 2018-08-09 09:22:10 +02:00
Chocobozzz
0f7fedc398
Improve frontend accessibility
In particular checkboxes, likes/dislikes, share button, video thumbnails
and help buttons
2018-07-17 14:56:15 +02:00
Chocobozzz
30eac84e71
Display table next/prev/first/last icons 2018-07-16 18:42:10 +02:00
Chocobozzz
f2bbd1e1b1
Fix responsive in my channel/my videos pages 2018-07-16 15:17:50 +02:00
Chocobozzz
16f7022b06 Handle subtitles in player 2018-07-16 11:50:08 +02:00
Eric Brehault
b5c4bfd6ac remove scroll to top, and keep menu fixed on small devices 2018-06-30 09:58:07 +02:00
Chocobozzz
8afc19a612
Add ability to choose the language 2018-06-28 15:53:12 +02:00
Chocobozzz
c4082b8b4e
Disable auto resolution on HTTP fallback 2018-06-22 15:11:04 +02:00
Chocobozzz
1ee156b2c5
Add margin for http fallback display 2018-06-18 10:26:19 +02:00
Chocobozzz
bbe0f0645c
Add ability to schedule video publication 2018-06-15 18:20:56 +02:00
Chocobozzz
3d5de919f3
Fix glitch when updating player volume 2018-06-14 10:47:07 +02:00
Chocobozzz
4555697f21
Adapt theather icon depending on the player state 2018-06-13 16:31:32 +02:00
Chocobozzz
054a103b28
Add theatre mode 2018-06-11 16:49:56 +02:00
Chocobozzz
2a19a1e4de
Split player sass file 2018-06-11 15:25:46 +02:00
Chocobozzz
fc16f981da
Darker control bar 2018-06-11 13:55:00 +02:00
Chocobozzz
0aabe3f6f9
Improve control bar with blank videos 2018-06-11 11:53:54 +02:00
Chocobozzz
695237b258
Fix add icon path 2018-06-11 10:05:42 +02:00
Chocobozzz
2ce2fd7f45
Improve player progress bar 2018-06-08 10:37:13 +02:00
Chocobozzz
fa40cbc3b2
Only use woff2 for fonts 2018-06-06 19:21:02 +02:00
Chocobozzz
8e53163fbd
Fix seek circle overflow 2018-05-31 10:49:07 +02:00
Chocobozzz
77728efa62
Fix player progress bar 2018-05-31 09:51:51 +02:00
Chocobozzz
960a11e89d
Add context menu to player 2018-05-30 17:10:00 +02:00
Chocobozzz
a4f99a766b
Add owner in video channel page 2018-05-23 11:38:18 +02:00
Chocobozzz
e998cf3cc7
Fix some components after Angular 6 upgrade 2018-05-16 09:42:54 +02:00
Chocobozzz
1952a538ba
Improve responsive account about page 2018-05-09 09:23:27 +02:00
Chocobozzz
08c1efbe32
Add video channel management 2018-04-26 16:18:01 +02:00
Chocobozzz
7de6afdf54
Add username near the display name for account pages 2018-04-26 16:18:01 +02:00
Chocobozzz
170726f523
Implement video channel views 2018-04-25 16:56:13 +02:00
Chocobozzz
0626e7af82
Add account view 2018-04-24 15:13:19 +02:00
Chocobozzz
3c40590d74
Fix auto quality 2018-04-20 10:21:28 +02:00
Chocobozzz
6cf57b443d
Player better responsive 2018-04-20 09:05:54 +02:00
Chocobozzz
7a14004b4e
Use mixin for word wrap 2018-04-20 08:19:46 +02:00
Chocobozzz
e6f627975b
Hide big play button on autoplay 2018-04-17 09:54:53 +02:00
Rigel Kent
244e76a552
feature: initial syndication feeds support
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views.

* still lacks redis caching
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks love ( ˘ ³˘)

* RSS: has MRSS support for torrent lists!
* RSS: includes the first torrent in an enclosure
* JSON: lists all torrents in the 'attachments' object
* ATOM: lacking torrent listing support

Advances #23
Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
2018-04-17 01:09:06 +02:00
Chocobozzz
864e782bc2
Improve big play button animation 2018-04-15 10:55:33 +02:00
Chocobozzz
a8462c8e3a
Automatic resolution according to user bandwidth V1 2018-04-05 16:15:51 +02:00
Chocobozzz
ea20306f87
Better embed responsive 2018-04-03 18:18:58 +02:00
Chocobozzz
b891f9bc61
Fix watch page video change 2018-04-03 17:33:39 +02:00
Chocobozzz
33d7855229
Improve first play 2018-04-03 15:18:24 +02:00
Chocobozzz
c6352f2c64
Improve player
Add a settings dialog based on the work of Yanko Shterev (@yshterev):
https://github.com/yshterev/videojs-settings-menu. Thanks!
2018-04-03 14:02:10 +02:00
Chocobozzz
6b9af12936
Add opacity effect on control bar icons 2018-04-03 12:06:28 +02:00
Chocobozzz
e993ecb3b7
Improve player progress bar 2018-04-03 12:06:28 +02:00
Chocobozzz
e700d33b19
Reduce title/button size for embed 2018-03-27 18:45:51 +02:00
Chocobozzz
586f7c1bef
Decrease player button size on very small screens 2018-03-27 14:39:10 +02:00
Chocobozzz
869968d792
Improve embed video player responsive 2018-03-26 13:55:27 +02:00
Chocobozzz
73e09f2706
Try to detect incompatible web browsers 2018-03-08 12:01:55 +01:00
Chocobozzz
3ec8dc0962
Cleaner videojs control bar implementation 2018-03-01 19:02:51 +01:00
Chocobozzz
1198a08cc7
Fix playback rate 2018-03-01 14:14:56 +01:00