Commit Graph

2215 Commits (1f256e7d3cf056c2d999260155cdba58ae1b878b)

Author SHA1 Message Date
Chocobozzz 023edc8a54
Fix plugin checkbox placement 2021-04-09 14:02:27 +02:00
Chocobozzz 3c47fa3bc0
Add ability to hide plugin settings 2021-04-09 13:50:31 +02:00
Chocobozzz c713017f3c
Translate plugin options 2021-04-09 13:23:25 +02:00
Chocobozzz 32d13b203b
Plugins can register html/select settings 2021-04-09 11:19:14 +02:00
Chocobozzz 55b84d5346
Add playlist and video in watch action hook 2021-04-09 10:54:34 +02:00
Chocobozzz dc48fdbe68
Merge branch 'release/3.1.0' into develop 2021-04-08 15:16:01 +02:00
Chocobozzz b06f1ead3b
Fix updating transcoding profiles 2021-04-08 14:41:15 +02:00
Chocobozzz 27ec473f53
Set channel banner/avatar in creation form 2021-04-08 13:38:04 +02:00
kontrollanten ca87329289
Don't pause video upon modal open (#3909)
* client: dont pause video upon modal open

closes #3816

* client(video/watch): remove obsolete code

* gitignore: add vscode and vim swp files
2021-04-08 13:37:57 +02:00
aschaap 97c116edf9
Fixing disappearing hamburger menu for narrow screens (#3929)
* Made top search bar more scalable for (physically) narrow screens

Removing `flex: auto` on `.top-left-block` for screens narrower than
`350px`allows the search bar to resize to fill up the remaining space.
Setting `width: 70px` on `#typeahead-container input` for mobile widths
prevents the hamburger button from being squished at certain widths.
Given that the padding adds up to `50px`, setting what amounts to the
minimum width of the search field to `70px` seems reasonable.

Fixes #3199.

* Making hamburger button margin and spacing narrower for mobile

The clickable area is restricted to the icon anyway, and the extra space
benefits the search field width on narrow screens.
2021-04-08 11:07:18 +02:00
aschaap 9a8c02c9da
correct inconsistency in spacing "Sort By" for narrow screens (#3938)
Mimicked the approach used in other tabs under "My Library":
* Adding bottom margin to search field to keep distance from "Sort By"
* Fixing extra left margin on "Sort By" for narrow screens
* Removed the `ml-2` class so that `!important` is no longer needed
* Removed unnecessary `!important` from account video search field width
2021-04-08 10:44:43 +02:00
Chocobozzz 02dd4f3c65 Display banner on channel page 2021-04-08 10:07:53 +02:00
Chocobozzz cdeddff142 Add ability to update the banner 2021-04-08 10:07:53 +02:00
Chocobozzz f479685678 Agnostic actor image storage 2021-04-08 10:07:53 +02:00
Chocobozzz 968aaed206 Fix notification scrollbar color 2021-04-08 10:07:53 +02:00
Chocobozzz 0df302ca8d
Remove unused sort param 2021-04-06 10:08:21 +02:00
Rigel Kent 8e286cdca4
add sort select to my videos, change default sort to -publishedAt
fixes #3779
2021-04-06 10:03:19 +02:00
aschaap 43a3d281fe
Minimal PeertubeModalService to open settings from "can be redefined..." (#3923)
* Minimal PeertubeModalService to open settings from "can be redefined..."

* Linter changes

* Removed unused parameter, made Subject type reflect this, and formatting
2021-04-06 08:57:30 +02:00
Chocobozzz 4e6276c493
Fix account empty description display 2021-04-05 11:44:09 +02:00
Chocobozzz 4363ce0e3e
Increase thumbnail size on server 2021-04-05 11:44:09 +02:00
Chocobozzz fcd8d3e030
Fix actor overflows 2021-04-05 11:44:09 +02:00
Chocobozzz 55da09587a
Fix miniature overflow 2021-04-05 11:44:09 +02:00
Jonas Sulzer 37ecefa256 🐛 FIX: player width/heigth aspect ratio
to remove unnecessary black border above and below the video

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2021-04-05 09:16:35 +02:00
Rigel Kent 0a25749f14
simplify channels/playlists name in account/channel views 2021-04-02 15:01:54 +02:00
Chocobozzz 559b3cccb7
Remove useless thumbnailSize 2021-04-01 17:01:57 +02:00
Chocobozzz 038907bcb2
Limit search entry width 2021-04-01 16:59:57 +02:00
Chocobozzz 4429a4a6e7
Responsive search 2021-04-01 16:54:49 +02:00
Chocobozzz 4d5e572f52
Account/channel videos display as rows 2021-04-01 16:54:49 +02:00
Chocobozzz 0f7407d926
Refactor video miniature
Less dirty code, better responsive
Prepare for some regressions
Increase default miniature size
2021-04-01 16:54:49 +02:00
Chocobozzz 33253c1aa6
Fix multiline ellipsis 2021-04-01 16:54:49 +02:00
kontrollanten 58b9ce3080
Resume videos for non-logged in users (#3885)
* client: resume videos for non-logged in users

closes #3866

* fix build for embeded

* Update client/src/app/app.component.ts

* fix review comments
2021-03-31 11:26:32 +02:00
Chocobozzz d794137057
Refactor horizontal margins 2021-03-31 11:21:10 +02:00
Chocobozzz 218f730c7b
Theme breaking: --submenuColor becomes --submenuBackgroundColor 2021-03-31 09:07:25 +02:00
Chocobozzz 733dbc535d Channel/account page redesign feedbacks
Fix owner default avatar
Semi bold orange inverted button
Max width account description
Increase account's channels padding
Use owner avatar/display name links
Move "view owner account" link on mobile
Try to always display channel in video miniatures
Add small border radius for channel's avatar
Use main foreground color for the magnifying glass
2021-03-31 09:05:51 +02:00
Chocobozzz c8e80d1461 Use the channel URL behind the account in miniature 2021-03-31 09:05:51 +02:00
Chocobozzz 7f18840602 Display channel in miniature
With some exceptions though
2021-03-31 09:05:51 +02:00
Chocobozzz deb8b9cdb0 Square channel avatar consistency 2021-03-31 09:05:51 +02:00
Chocobozzz 100d9ce23b Add support button in channel page 2021-03-31 09:05:51 +02:00
Chocobozzz 900f782081 Redesign account's channels page 2021-03-31 09:05:51 +02:00
Chocobozzz 67264e060b Redesign account page 2021-03-31 09:05:51 +02:00
Chocobozzz 60c35932f6 Redesign channel page 2021-03-31 09:05:51 +02:00
Thavarasa Prasanth 4097c6d66c
fix missing title attribute on <iframe> tag suggested for embedding (#3901)
* title attribute is missing on <iframe> tag suggested for embedding #3861

* fix #3901

* fix: escapeHTML #3901

* fix: playlist title instead of video title #3901

* fix #3901

* assign title directly #3901
2021-03-31 08:32:05 +02:00
kontrollanten cf3c36247d
show less information by default in download modal (#3890)
* client(video/download): collapse advanced informaton by default
* fix(client/video-dl): update metadata upon resolution change

closes #3810

Co-authored-by: Rigel Kent <par@rigelk.eu>
2021-03-29 13:51:33 +02:00
Chocobozzz a3664dfdc9
Auto focus plugin search input 2021-03-24 18:18:41 +01:00
kontrollanten 7bd455cb7f
client(video/download): set direct dl as default 2021-03-24 18:18:41 +01:00
Chocobozzz faeec106ef
Add auth user client hook actions 2021-03-24 18:18:41 +01:00
Chocobozzz 2e257e36b7
Add client action hooks for pubish pages 2021-03-24 18:18:41 +01:00
Chocobozzz 4bc45da342
Add hooks support for video download 2021-03-24 18:18:41 +01:00
kontrollanten 6b1ef95699
Change copy icon (#3867)
* client: change copy icon to glypicon-duplicate

* client: add "copy" text to copy icons
2021-03-24 18:18:41 +01:00
Chocobozzz f43db2f46e
Refactor auth flow
Reimplement some node-oauth2-server methods to remove hacky code needed by our external
login workflow
2021-03-24 18:18:41 +01:00
Chocobozzz 32a18cbf33
Add new plugin/peertube version notifs 2021-03-24 18:18:41 +01:00
Chocobozzz 829523cfa5
Reduce bundle size using a const enum 2021-03-24 18:18:40 +01:00
Chocobozzz 5d43dae369
Try to reduce CSS size 2021-03-24 18:18:40 +01:00
Chocobozzz db8b2f56c0
Update english strings 2021-03-24 18:18:40 +01:00
Chocobozzz 51294901cf
Add warning in download modal if needed 2021-03-24 18:18:40 +01:00
Chocobozzz e6ea0cac44
Hide best strategy if not logged in 2021-03-24 18:18:40 +01:00
Chocobozzz b5ab0e5bf7
Add warning in download modal if needed 2021-03-24 17:06:50 +01:00
Chocobozzz fd73468885
Hide best strategy if not logged in 2021-03-24 17:06:37 +01:00
Rigel Kent a3caabe228
Adjust search results note for i18n, adjust typeahead helper 2021-03-24 14:48:31 +01:00
Chocobozzz 61fd98341f
Fix mention notification with deleted comment 2021-03-22 09:49:23 +01:00
Chocobozzz 30a94566c9
Fix checkbox ids in plugin settings 2021-03-09 13:53:18 +01:00
Chocobozzz 253d4ab621
Fix default boolean plugin setting 2021-03-09 13:51:02 +01:00
Marcin Mikołajczak 0edcbd7530 Improve validator text, I guess 2021-03-04 14:28:08 +01:00
Chocobozzz 0bd6d35f13
Add watch redirection for playlists 2021-03-04 09:04:10 +01:00
Chocobozzz 74d249bc13
Add ability to cleanup remote AP interactions 2021-03-03 10:08:08 +01:00
Chocobozzz 8795d6f254
Fix broken local actors
Some channels can't federate because they don't have public/private
keys, maybe because the generation failed for various reasons
2021-02-26 14:22:25 +01:00
Chocobozzz cb2e36618c
Fix updating boolean anonymous settings 2021-02-26 09:39:47 +01:00
Chocobozzz 88cfa3e8fa
Fix preview upload with capitalized ext 2021-02-26 09:16:31 +01:00
Chocobozzz 24d3352ce4
Fix anonymous user settings 2021-02-25 10:26:10 +01:00
Chocobozzz 0221f8c9b1
Trim video name also on server 2021-02-25 10:01:33 +01:00
Ramiellll b58a894bc9 Fix titles do not trim leading and trailing spaces 2021-02-25 09:55:34 +01:00
Chocobozzz 9556ce48e7
Fix async issues with channels list 2021-02-25 09:09:41 +01:00
Chocobozzz c15d61f5fe
Display the preview image on waiting lives 2021-02-22 10:53:25 +01:00
Chocobozzz 0a6817f0ba
Correctly load live information when not started 2021-02-22 10:46:52 +01:00
Chocobozzz 15bedeebd7
Fix loading things twice on trending page 2021-02-22 10:35:37 +01:00
Chocobozzz 07f81d9dee
Fix NSFW policy on account/channel videos 2021-02-19 13:47:37 +01:00
Chocobozzz 9d6b9d10ef
Fix video comments display with deleted comments 2021-02-19 10:06:52 +01:00
Chocobozzz 6d22ea006b
Fix jobs type list order 2021-02-19 08:26:59 +01:00
Chocobozzz 7a8d858e97
Fix lint 2021-02-18 15:07:42 +01:00
Chocobozzz 288bcd7a60
Remember last log type 2021-02-18 14:24:30 +01:00
Chocobozzz b3d5cb92b1 Add ability to update torrents cache in client 2021-02-18 13:38:09 +01:00
Chocobozzz 9817060fb7
Use new doc website links 2021-02-12 10:12:19 +01:00
Chocobozzz 06bee93748
Fix complete description loading 2021-02-12 09:13:15 +01:00
Chocobozzz 0dbc6c141a
Link to auto follow documentation 2021-02-12 09:03:22 +01:00
Chocobozzz 241609f194
Fix NSFW policy in my videos list 2021-02-11 15:51:16 +01:00
Chocobozzz 81f790af78
Fix comments sorting dropdown z-index 2021-02-11 10:36:10 +01:00
Chocobozzz 45ba09fef3
Improve edit config submit error 2021-02-10 12:06:26 +01:00
Chocobozzz 4e55c132a0
Add missing live config validators 2021-02-10 11:42:10 +01:00
Chocobozzz 70e3351584
Small edit config refactor 2021-02-10 11:36:40 +01:00
Chocobozzz 5f46d28cca
Split admin conf page 2021-02-10 11:36:40 +01:00
Chocobozzz 53e4e20179
Add fragment support in admin conf page 2021-02-10 11:36:40 +01:00
Chocobozzz 21e493d4d8
Add ability to set a custom quota 2021-02-10 11:36:40 +01:00
Chocobozzz ead64cdf8d
Support custom value in ng-select 2021-02-10 11:36:40 +01:00
Chocobozzz 9129b7694d Allow to specify transcoding and import jobs concurrency 2021-02-08 15:38:45 +01:00
Rigel Kent 3d4e112d16 add best trending strategy based on Reddit's best
inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/
this implementation only adds freshness, and doesn't personalize based
on subscribed communities yet.
2021-02-04 09:04:47 +01:00
Chocobozzz 72aa835e17
Upgrade client dependencies 2021-02-03 11:44:43 +01:00
Chocobozzz 2666fd7c75
Fix small UI bugs 2021-02-02 10:37:52 +01:00
Chocobozzz 40930fda86
Transcode audio uploads to lower resolutions
Better consistency
2021-02-02 09:45:42 +01:00
Rigel Kent fb7b009d63
fix trending page scroll
fixes #3665
2021-02-01 19:19:50 +01:00
Chocobozzz 6d989edc66
Add ability to update plugin auth 2021-02-01 15:39:13 +01:00
kontrollanten 68018040f2
localize decimal separator in video miniatures (#3643)
* fix(client): localize decimal separator

* fix(client/numpipe): handle Intl failure gently

* Revert "fix(client/numpipe): handle Intl failure gently"

This reverts commit e275049f1f.

* client: switch from Intl to ng formatNumber
2021-01-29 14:36:21 +01:00
Rigel Kent 8a23909fe2
add description to live transcoding profile selector 2021-01-29 09:04:40 +01:00
Rigel Kent 149e4cc597
add description to transcoding profile selector 2021-01-28 17:21:08 +01:00
Chocobozzz 80ac2e5548
Support transcoding profile in client admin 2021-01-28 16:10:09 +01:00
Rigel Kent ba5d4a849c move from trending routes to alg param 2021-01-28 15:55:34 +01:00
Rigel Kent 3da68f0a78 add default trending page choice, revert comments count for hot strategy 2021-01-28 15:55:34 +01:00
Rigel Kent 28eeb811c4 only count comments from people other than the video author 2021-01-28 15:55:34 +01:00
Rigel Kent 5bcbcbe338 modularize abstract video list header and implement video hotness recommendation variant 2021-01-28 15:55:34 +01:00
Chocobozzz 5d84d717b2
Force update live boolean 2021-01-26 15:41:51 +01:00
Chocobozzz fd0fdc4696
Don't update live attributes if they did not change 2021-01-26 15:28:38 +01:00
Chocobozzz ddb62a85c5
Fix wait transcoding checkbox display 2021-01-26 10:56:55 +01:00
Chocobozzz 83e7467041
Add refresh button in jobs list 2021-01-26 10:00:23 +01:00
Rigel Kent ab398a05e9 redirect to login on 401, display error variants in 404 component 2021-01-25 15:37:26 +01:00
Chocobozzz 6939cbac48 Safely remove webtorrent files
Only remove them on max quality HLS playlist generation
2021-01-25 14:38:52 +01:00
Chocobozzz 77d7e851dc Add priority to transcoding jobs
(1 = highest priority)

100 for new resolutions
10 for original file optimization

Add a malus for transcoding jobs depending on how many uploads the user did in the
last 7 days
2021-01-25 14:38:52 +01:00
Marcin Mikołajczak 128bb176bf
add missing i18n tag in login form (#3628) 2021-01-22 22:05:39 +01:00
Chocobozzz ed4bc63141
Fix job table colspan 2021-01-21 16:01:30 +01:00
Chocobozzz 3b01f4c0ac
Support progress for ffmpeg tasks 2021-01-21 14:42:43 +01:00
Chocobozzz fd7ca7a72c
Fix about page layout 2021-01-20 10:45:48 +01:00
Chocobozzz d487a997c8
Import in private, and then set the chosen privacy 2021-01-19 16:36:20 +01:00
Chocobozzz 1ef7f32304
Cleanup update video button 2021-01-19 16:36:20 +01:00
Rigel Kent 370240824e
Allow users/visitors to search through an account's videos (#3589)
* WIP: account search

* add search to account view

* add tests for account search
2021-01-19 13:43:33 +01:00
Rigel Kent c86fa51b8a
fix video download modal select width 2021-01-18 14:05:53 +01:00
Chocobozzz 9dfaa38c9a
username field consistency 2021-01-18 11:53:27 +01:00
Chocobozzz 1d22d2514f
Fix service worker 2021-01-18 11:16:37 +01:00
Rigel Kent bfc75aaa47
adjust logged-in-block width to fill space 2021-01-17 20:48:50 +01:00
Rigel Kent 82479cf13f
add space before type name in download popup title
fixes #3599
2021-01-17 18:47:20 +01:00
Rigel Kent 52a3f561f5
add username information in profile settings 2021-01-17 18:13:05 +01:00
Marcin Mikołajczak 1fa8740534
ui: rename inbound relationship to Follows (#3594) 2021-01-16 14:47:17 +01:00
Rigel Kent 454c20fa7c
stricter youtubedl format selectors (#3516)
* stricter youtubedl format selectors

make sure selectors avoid av1, and otherwise match as closely to the
maximum resolution enabled for transcoding

* add support for merge formats in youtubedl

* avoid vp9.2 in youtubedl to avoid any HDR

* move getEnabledResolutions, safer replace of imported extension

* add test for youtube-dl selectors
2021-01-15 15:56:56 +01:00
Chocobozzz d43c6b1ffc Implement remote interaction 2021-01-15 10:49:10 +01:00
Chocobozzz f19a9e4b68
Add missing translations 2021-01-15 10:25:58 +01:00
Chocobozzz 7af5ded409
Put feed url as link 2021-01-15 10:23:40 +01:00
Chocobozzz d29ae17f30
Load user when auth service is ready 2021-01-15 10:23:40 +01:00
Rigel Kent 56f0876184
fix undefined dropdown on user logout 2021-01-14 15:35:03 +01:00
Chocobozzz 51de2c7ff3
Update project description 2021-01-14 09:43:06 +01:00
Chocobozzz 606bcaf29e
Fix display all videos filter 2021-01-13 17:06:46 +01:00
Rigel Kent 4b4635bdb1
prevent sending search GET parameter if undefined in my watch history 2021-01-13 16:07:30 +01:00
Marcin Mikołajczak 5188db66c7 Add missing `i18n` 2021-01-13 16:05:13 +01:00
Rigel Kent 6632d4cc94
add admin reminder in case of transcode with no selected resolution to generate 2021-01-13 15:58:25 +01:00
Chocobozzz 6d0110ad7b
Fix loading bar for HTTP requests 2021-01-13 11:29:55 +01:00
Chocobozzz 0e4ca570fa
Avatar info component optimizations 2021-01-13 10:52:17 +01:00
Chocobozzz d95bc70290
Add title to left menu toggle 2021-01-13 10:44:34 +01:00
Chocobozzz 9c1a88e3a1
Move orange admin buttons on the left side 2021-01-13 10:39:26 +01:00
Chocobozzz 9bb720f3f9
It's 2021! 2021-01-13 09:19:33 +01:00
Rigel Kent d8b34ee55b
Allow user to search through their watch history (#3576)
* allow user to search through their watch history

* add tests for search in watch history

* Update client/src/app/shared/shared-main/users/user-history.service.ts
2021-01-13 09:16:15 +01:00
Rigel Kent 22078471fb
show first decimal for views above a thousand (#3564)
* show first decimal for views above a thousand

* Update client/src/app/shared/shared-main/angular/number-formatter.pipe.ts
2021-01-13 09:15:43 +01:00
Rigel Kent b7085c7132 add support for 1440p (Quad HD/QHD/WQHD) videos 2021-01-13 09:14:09 +01:00
Rigel Kent 1ea7da819e
add ability to remove one's avatar for account and channels (#3467)
* add ability to remove one's avatar for account and channels

* add ability to remove one's avatar for account and channels

* only display avatar edition options after input change
2021-01-13 09:12:55 +01:00
Chocobozzz 26171379d0 Use source sans 3 font 2021-01-13 09:05:22 +01:00