Commit Graph

1283 Commits (e854d57bed56bcbba4d191af54125ae6dd569a88)

Author SHA1 Message Date
Chocobozzz 266947e5ef
Refactor modal buttons style 2021-04-14 16:39:37 +02:00
Chocobozzz 62bc0352d9
Add plugin placeholder elements support 2021-04-12 11:19:15 +02:00
Marcin Mikołajczak e043674139
Add `i18n` prop where it is missing (#3946)
* Add  `i18n` prop

* Update video-comment-list.component.html

* Update account-blocklist.component.html

* Update server-blocklist.component.html

* Update video-redundancies-list.component.html

* Update following-list.component.html

* Update followers-list.component.html
2021-04-12 08:43:40 +02:00
Chocobozzz 023edc8a54
Fix plugin checkbox placement 2021-04-09 14:02:27 +02:00
Chocobozzz 32d13b203b
Plugins can register html/select settings 2021-04-09 11:19:14 +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
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
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 55da09587a
Fix miniature overflow 2021-04-05 11:44:09 +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
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
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 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 51294901cf
Add warning in download modal if needed 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 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
Marcin Mikołajczak 0edcbd7530 Improve validator text, I guess 2021-03-04 14:28:08 +01:00
Chocobozzz 88cfa3e8fa
Fix preview upload with capitalized ext 2021-02-26 09:16:31 +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 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 9817060fb7
Use new doc website links 2021-02-12 10:12:19 +01:00
Chocobozzz 241609f194
Fix NSFW policy in my videos list 2021-02-11 15:51:16 +01:00
Chocobozzz 4e55c132a0
Add missing live config validators 2021-02-10 11:42:10 +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 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
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 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 5bcbcbe338 modularize abstract video list header and implement video hotness recommendation variant 2021-01-28 15:55:34 +01:00
Rigel Kent ab398a05e9 redirect to login on 401, display error variants in 404 component 2021-01-25 15:37:26 +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
Rigel Kent 82479cf13f
add space before type name in download popup title
fixes #3599
2021-01-17 18:47:20 +01:00
Chocobozzz d43c6b1ffc Implement remote interaction 2021-01-15 10:49:10 +01:00
Chocobozzz 7af5ded409
Put feed url as link 2021-01-15 10:23:40 +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
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 9c1a88e3a1
Move orange admin buttons on the left side 2021-01-13 10:39:26 +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 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
Rigel Kent 490109c766
better subscribe button display for accounts 2021-01-12 01:18:34 +01:00
Rigel Kent 2522fea71b
fix remote subscribe input alignment 2021-01-11 22:53:54 +01:00
Chocobozzz 1916c9663a
Fix some accessibility issues 2020-12-22 12:05:32 +01:00
Chocobozzz 3f6441e09a
Fix admin table filters 2020-12-17 15:48:54 +01:00
Chocobozzz 91f884d139
Fix live miniatures 2020-12-17 13:46:52 +01:00
Chocobozzz bcbf643249
Fix about and display live info layout 2020-12-16 14:27:12 +01:00
Chocobozzz c5ac9fe7c1
Fix about follows page 2020-12-16 13:46:20 +01:00
Chocobozzz 48586fe070
Fix ng-select width 2020-12-15 11:45:29 +01:00
Chocobozzz d89fcd1e5e
Fix password input in edit user 2020-12-15 10:54:53 +01:00
Rigel Kent 728a1236ae
restore live transcoding to live streaming tab 2020-12-14 16:31:14 +01:00
Chocobozzz cd5dc7188b
Add link to the documentation for live streaming 2020-12-14 12:21:07 +01:00
Chocobozzz 0d7c73142c
Simplify a little bit about follows more logic 2020-12-14 10:23:34 +01:00
Kimsible 51a8397006
User dropdown and notifications popover improvements (#3344)
* hove user dropdown on avatar and username
* rename avatar-notification to notification component
* use a link on mobile for notification component
* add profile user dropdown and mobile notifications link as reusable active link
* replace markAllAsRead inbox glyphicon to ok in notification popover
* remove keyboard shortcuts from user dropdown on mobile
* use common bell icon instead of inbox-full for notifications
* remove duplicated notification in user dropdown since the bell appears on the right
* adjust sensitive icon in user dropdown
* align vertically user buttons popover and dropdown
* adjust ellipsis on user display name and username in menu
* adjust notification bell for mobile in menu
* display background of user dropdown avatar and username for touchscreens
* add right arrow indicator on mobile

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-13 14:54:12 +01:00
Chocobozzz 5cac83a78d
Refactor views component 2020-12-09 15:33:16 +01:00
Rigel Kent 23cd3129a9
fix tabindex on login page 2020-12-09 13:01:00 +01:00
Chocobozzz 6c53d8bf1d
Fix loading data twice in rest tables 2020-12-08 11:56:31 +01:00
Kimsible 40360c17d8
improvements to login and sign-up pages (#3357)
* New login form ui
* Move InstanceAboutAccordion to shared components
* Update closed registration alert text
* Add alert for opened registration and move them bellow login form
* Adjust flex block on signup and login views
* Replace toggle accordion with expand on links in signup and login + scrollTo
* Improve display of login alerts
* Fix missing Component suffix
* Define min-width instance-information block sign-up and login for mobile screens
* Add ability to select specific panels in instanceAboutAccorddion
* Add instance title and short-description to common instanceAboutAccordion
* Clarify title alert in login page
* Add step terms for signup

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-07 16:34:07 +01:00
Chocobozzz 17b7d4b315
Don't allow manual redundancy of live videos 2020-12-07 16:07:52 +01:00
Rigel Kent f8b530e0a5
unify inputs requiring buttons like password inputs 2020-12-04 16:01:53 +01:00
Chocobozzz 312644ce3a
Add badge for permanent live in live info modal 2020-12-04 09:24:14 +01:00
Rigel Kent d4132d3f56 more explicit error messages for file uploads 2020-12-03 10:15:49 +01:00
Chocobozzz 617f4f5cb2
Fix scroll check in infinite scroller directive 2020-11-30 16:33:48 +01:00
Florian CUNY f45c7cc770
Added Markdown formatting in all the fields of the "About" page (#3371)
* Added Markdown formatting in all the fields of the "About" page

Fixes https://github.com/Chocobozzz/PeerTube/issues/3368

* Fixed compilation error in AboutInstanceComponent

Moved creationReason, maintenanceLifetime and businessModel into the html dict

* Removed textareaHeight for all md textareas in EditCustomConfig HTML

* Fixed failing bundlewatch
2020-11-30 15:05:57 +01:00
madmath03 972de8f111 Add input-password #3375 2020-11-30 14:49:44 +01:00
Chocobozzz 4ec25ae825
Refactor last PR 2020-11-27 15:57:38 +01:00
Chocobozzz 68f6c87a27
Various front optimizations 2020-11-27 15:46:49 +01:00
Tanguy BERNARD 992f498e31
add title attribute for exact view counters (#3365) 2020-11-27 14:27:14 +01:00
Chocobozzz 69524f6ed1
Fix circular dep issue 2020-11-25 11:44:31 +01:00
kimsible c418d48300 Add new default different avatar for channel and account 2020-11-25 11:12:06 +01:00
Rigel Kent 5beb89f223 refactor scoped token service 2020-11-25 11:07:56 +01:00
Rigel Kent afff310e50 allow private syndication feeds via a user feedToken 2020-11-25 11:07:56 +01:00
Kimsible 123f619336
Add pixel size to tooltip and gif support with FFmpeg for avatar upload (#3329)
* Add avatar pixel size upload in tooltip

* Add gif support for avatar

* Add ffmpeg GIF process

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-25 09:26:31 +01:00
kimsible 01d0147ef5 Add tooltip to maximize button and remove grey background 2020-11-22 01:15:38 +01:00
Chocobozzz da2516fde1
Fix playlist update element dropdown ux 2020-11-20 14:38:57 +01:00
Chocobozzz 07098c33df
Improve playlist add dropdown ux 2020-11-20 14:32:57 +01:00
Chocobozzz 8b57efbf1b
Fix dropdowns z-index 2020-11-20 14:19:23 +01:00
Chocobozzz 939917705f
Add ability to bulk delete comments 2020-11-20 13:59:21 +01:00
Chocobozzz 3fba4b6bce
Fix no history message 2020-11-19 16:52:45 +01:00
Chocobozzz 4f926722ea
Upgrade client dependencies
Migrate removed primeng theme to custom CSS
2020-11-19 15:25:41 +01:00
Chocobozzz 4ddcb7c3ba
Fix video tag validator 2020-11-18 16:25:37 +01:00
Chocobozzz 0aa52e1707
Add ability to display all channel/account videos 2020-11-18 15:29:38 +01:00
Chocobozzz 4166caabc6
Clearer periods in videos list 2020-11-18 12:12:14 +01:00
kimsible aa9cf3b98d Disable auto-focus markdown textarea on touchdevices 2020-11-18 09:08:21 +01:00
kimsible 363726fe9a Memorize scroll position when maximized mode used with markdown textarea 2020-11-18 09:08:21 +01:00
Chocobozzz 47dc5db9c3
Fix client build 2020-11-17 14:52:57 +01:00
Kimsible f3081d6401
small refactor + clipboard copy on anchor click in instance page (#3318)
* Refacto scrollTo top and anchors

* Add on click clipboard copy and notifier to anchors about/instance page

* Fix margin top anchor middle title about page

* Use viewportscroller for scrolltoanchor

* Add  to Link copied notification on instance page

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-17 14:04:44 +01:00
Chocobozzz 805bec52cd
Replace keyboard shortcut icon
Use svg instead
2020-11-16 15:55:18 +01:00
Chocobozzz 5ed46c1bce
Refactor rest table search filter 2020-11-16 14:47:05 +01:00
Chocobozzz 7706b3703a
Put admin actions on the left 2020-11-16 14:26:50 +01:00
Chocobozzz f127331459
Add admin view to manage comments 2020-11-16 13:48:58 +01:00
Chocobozzz 0f8d00e314
Implement video comment list in admin 2020-11-13 16:38:23 +01:00
Chocobozzz 5c0904fc66
Cleanup lives on server restart 2020-11-13 14:36:30 +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
Rigel Kent dc5bb5cea5
reword unclear sentences, check for grammar
fixes #3222
2020-11-12 21:09:28 +01:00
Chocobozzz 7a4ea93246
Remove deprecated abuse api 2020-11-10 14:50:16 +01:00
Chocobozzz 3bc68dfd61 Fix audio sync after saving replay
hls.js seems to not correctly handle audio gaps with fragmented mp4
(but can with a ts playlist)
2020-11-09 15:33:04 +01:00
Chocobozzz f8c00564e7 Add live info in watch page 2020-11-09 15:33:04 +01:00
Chocobozzz a056ca4813 Add max lives limit 2020-11-09 15:33:04 +01:00
Chocobozzz d846d99c6c Add modal to display live information 2020-11-09 15:33:04 +01:00
Chocobozzz da0310f821 Add thumbnail info if live 2020-11-09 15:33:04 +01:00
Chocobozzz b5b687550d Add ability to save live replay 2020-11-09 15:33:04 +01:00
Chocobozzz a5cf76afa3 Add watch messages if live has not started 2020-11-09 15:33:04 +01:00
Chocobozzz c6c0fa6cd8 Live streaming implementation first step 2020-11-09 15:33:04 +01:00
Jeena dd1e2f2f96 Add possibility to share origin URL to video if it's not local
It's very difficult to share the original URL for a video when you watch it on your
own instance while it's not from it but from a different instance. Right now when
you use the share UI you only can share a link so a person can watch it on your
own instance, this patch adds a checkbox to the share UI to share the origin URL
instead if needed.
2020-10-29 09:06:40 +01:00
Rigel Kent 7f0d856169 jobs/logs view select and empty state visual improvements 2020-09-28 13:25:50 +02:00
Chocobozzz 30b1e10603
Fix privacy/channel select on upload 2020-09-04 10:47:52 +02:00
Chocobozzz 365d9083c9
Fix video block in abuse table 2020-08-26 08:45:48 +02:00
Chocobozzz d6eace77db Fix playlist element dropdown overflow 2020-08-25 14:42:16 +02:00
Chocobozzz 781ba98126 Add ability to set a description to dynamic fields 2020-08-21 15:39:51 +02:00
Chocobozzz 7294aab0c8 Add ability to set custom field to video form 2020-08-21 15:39:51 +02:00
Chocobozzz a9f6802e7d
Fix user video languages settings 2020-08-20 11:05:45 +02:00
Chocobozzz 2d0d756e85 Fix responsive playlist elements 2020-08-19 11:30:21 +02:00
Chocobozzz d142c7b9c0 Use playlistPosition for playlists instead of videoId 2020-08-19 11:30:21 +02:00
Chocobozzz 3c6a44a181 Fix video playlist resuming 2020-08-19 11:30:21 +02:00
Chocobozzz e79df4eefb Update playlist add component to accept multiple times the same video 2020-08-19 11:30:21 +02:00
Chocobozzz b75410b87d Fix playlist dropdown active color 2020-08-19 11:30:21 +02:00
Chocobozzz 50a1e91dcc Fix startAt/stopAt playlist element edition 2020-08-19 11:30:21 +02:00
Chocobozzz 60ea8f7a31 Fix playlist deletion 2020-08-19 11:30:21 +02:00
Chocobozzz 7ed1edbbe4 We don't need services anymore for validators 2020-08-17 15:12:55 +02:00
Kim 30d55e75ca
Add restore scroll position on user-dropdown anchors links and scroll to top on active sub-menu links (#3066)
* Add restore scroll position on router same url

* Remove settings top anchor

* Add scrollToTop on active links fixed sub-menu

* Add restore scroll position on notification avatar links

* Toggle menu and close pophover when click on active dropdown menu-left link

* Add onSameUrlRestoreScrollPosition on user dropdown channels link

* Same behavior scrollTop and scroll to anchor everywhere

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-17 10:13:31 +02:00
Chocobozzz 28fbb88f93
Fix css lint 2020-08-17 09:42:51 +02:00
test2a 39392b24e2
removed minimum width css to fit mobile devices with lesser width (#3090)
* Update instance-features-table.component.scss

removed this minimum width option because on mobile phones this resulted in page being larger than the phone width

* Update instance-features-table.component.scss

removed blank lines as requested
2020-08-17 09:34:08 +02:00
Chocobozzz b4c3c51dc8
Fix circular dependencies 2020-08-14 17:28:54 +02:00
kimsible c537763a23 Fix autoclose md popover when click on emoji list link inside 2020-08-14 15:03:38 +02:00
kimsible 3c176894ba Add markown compatible help icon in comment textarea 2020-08-14 15:03:38 +02:00
Chocobozzz 66357162f8
Migrate to $localize
* Remove i18n polyfill to translate things in components
 * Reduce bundle sizes
 * Improve runtime perf
 * Reduce a lot the time to make a full client build
 * Reduce client build complexity
 * We don't need a service to translate things anymore (so we will be able to translate title pages etc)

Unfortunately we may loose some translations in the migration process.
I'll put a message on weblate to notify translators
2020-08-14 10:28:30 +02:00
Rigel Kent 857961f0ee
adapt my-select-checkbox placeholder to its context 2020-08-11 16:52:26 +02:00
Chocobozzz 94676e631c
Remove angular pipes module 2020-08-11 16:50:00 +02:00
Chocobozzz 52c4976fcf
Use ng select for multiselect 2020-08-11 16:18:42 +02:00
Chocobozzz 3d25d5de33
Move form modules in the form shared module 2020-08-11 09:54:42 +02:00
Chocobozzz 9abd170dec
Fix tags in search filters 2020-08-11 09:41:55 +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 4abe9c593a Add validator channel name 2020-08-11 08:46:35 +02:00
kimsible 7034b3c908 Refactor - improve offset content handling with fixed sub-menu and broadcast-message 2020-08-11 08:03:28 +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
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 241c1a558c
Fix icon names 2020-08-07 14:55:55 +02:00
Chocobozzz 951b582f52
Add ability to share playlists in modal 2020-08-07 13:43:48 +02:00
Chocobozzz a02b93ce75 Fix lint 2020-08-07 08:28:14 +02:00
Chocobozzz bd45d503e5 Reorganize shared models 2020-08-07 08:28:14 +02:00
Chocobozzz 583eb04b54 Upgrade to angular 10 2020-08-07 08:28:14 +02:00
Rigel Kent 4504f09f6e deal with refresh token in embed 2020-08-06 15:08:58 +02:00
Rigel Kent 71ab65d02f decouple video abuse details from embed, add embed to block list details 2020-08-06 15:08:58 +02:00
Rigel Kent 9e8929d633
adjust help component, fix its instances in video-edit 2020-08-05 11:23:37 +02:00
Rigel Kent 830c762bb6
reword intellectual property
fixes #3010
2020-08-04 21:20:46 +02:00
kimsible a7eaeae1dc Fix regression blocklist-accounts icon in sub-title 2020-08-03 16:52:40 +02:00
Chocobozzz 805d6a354b
Fix top menu dropdown 2020-07-31 13:39:42 +02:00
Chocobozzz 2f712d2bff
Fix build
(my bad)
2020-07-31 12:02:15 +02:00
Chocobozzz d573926e9b Add migrations for abuse messages 2020-07-31 11:35:19 +02:00
Chocobozzz 594d3e48d8 Add abuse messages/states notifications 2020-07-31 11:35:19 +02:00
Chocobozzz 94148c9028 Add abuse messages management in my account 2020-07-31 11:35:19 +02:00
Chocobozzz 441e453ae5 Add abuse message management in admin 2020-07-31 11:35:19 +02:00
kimsible 837fe4f3fb Revert user-menu dropdown active class on sub-menu and autoclose only on outside click 2020-07-31 11:31:45 +02:00
Kim 30814423ae
Improve (accessibility title) and move action-buttons on left in tables (#2980)
* Improve and move action-buttons on left in tables

* Focus on my-delete and my-button

* Correct spaces syntax

* Move user-action dropdown on the left

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-31 11:30:57 +02:00
Rigel Kent 7b3909644d test search for subscriptions and video-channels 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
Rigel Kent 292c17b894 fix margin-left for edit-button 2020-07-29 18:15:53 +02:00
Kim dfe3f7b72e
Add alert and hide upload view when no upload is possible (#2966)
* Add alert and hide upload view when no upload is possible

* Add about instance link to alert

* Hide videos and imports links when no upload is possible

* Correct curly spacing lint

* Put logic canUpload to User model + add isHidden param to to-menu-dropdown

* Use canSeeVideoLinks from user model

* Rename and change logic canUpload to isUploadDisabled

* Use isDisplayed() method intead of isHidden value

* Refactor client and check videos count using quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2020-07-28 15:18:38 +02:00
Kim a949f67636
correct regressions on sub-menu for account and admin (#3004) 2020-07-24 23:29:39 +02:00
Kim 2e7f262724
Display user quota progress bars above upload form (#2981)
* Move user-quota to my-user-quota shared component

* Add user-quota to upload form

* Increase progress bar height and make it focusable

* Correct syntax parenthesis

* Add explicit title to user-quota bars + tooltip with quota values

* Hide user-quota in second upload step

* Customize focus styles on user-quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-24 08:53:25 +02:00
Kim b40a219338
Hide generic channel display name and avatar on watch view (#2988)
* Hide generic channel display name on watch view

* Hide generic channel avatar on watch view

* Add Default username channel as a generic channel display-name

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-24 08:49:59 +02:00
Chocobozzz f4a2dc5092
Fix compilation 2020-07-23 15:35:18 +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
Kim 345b4a22a8
Update my-account sub-menus icons (#2977)
* Update user sub-menus icons

* Update admin sub-menu icons

* Add solendp to credits

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 14:42:06 +02:00
Chocobozzz ec903c010e
Merge branch 'release/2.3.0' into develop 2020-07-20 17:00:58 +02:00
kimsible 2170f1db6e Fix accessibility action buttons and display on imports and followers list 2020-07-20 17:00:28 +02:00
kimsible cd801c6907 Correct action button selection mode styles 2020-07-20 16:57:47 +02:00
kimsible b5366b3c7e Correct maximized icon padding since new icons set implemented 2020-07-20 16:56:59 +02:00
Chocobozzz 0bdad52fbb
Fix issues with external links in search page 2020-07-20 11:37:06 +02:00
Chocobozzz cfde28bac3 Add ability to report account 2020-07-10 14:02:41 +02:00
Chocobozzz 8ca56654a1 Add ability to report comments in front end 2020-07-10 14:02:41 +02:00
Chocobozzz 310b5219b3 Add new abuses tests 2020-07-10 14:02:41 +02:00
Chocobozzz d95d155988 Use 3 tables to represent abuses 2020-07-10 14:02:41 +02:00
Chocobozzz 72493e44e9
Fix embed url 2020-07-10 11:13:41 +02:00
Rigel Kent ea7337cfde
add check-params test for user list
fixes #2918
2020-07-03 10:29:03 +02:00
Rigel Kent 2b587cad93
align feed icons to the right for video listings 2020-07-02 19:45:21 +02:00
Rigel Kent 2d011d94aa
rename rss 2.0 to media rss 2.0 2020-07-02 16:30:52 +02:00
Chocobozzz 35f0a5e665
Fix player menu on mobile 2020-07-02 15:10:06 +02:00
Chocobozzz 57e56eb294
Fix lint 2020-07-02 10:35:05 +02:00
Chocobozzz 41bec13718
Don't reload videos on mute 2020-07-02 10:25:35 +02:00
Rigel Kent 0a4cb95c98 simplify navigation within most admin menus 2020-07-02 09:22:59 +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 d473fd94ce
allow muting from the miniature options
initial implementation with a listing refresh except on search results
2020-06-28 16:55:17 +02:00
Rigel Kent 0350384781
replace current ownership transfer icon with softies forward icon 2020-06-28 14:15:38 +02:00
Rigel Kent 0242861ece
add user account-blocklist missing scss mixin 2020-06-28 00:53:36 +02:00
Chocobozzz 1942f11d5e Lazy load all routes 2020-06-23 16:00:49 +02:00
Chocobozzz 67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +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
Caroline Chuong d6d951ddc0 Remove uneccessary details to link titles 2020-06-18 09:02:23 +02:00
Chocobozzz 1ba471c55f
Add videos count in channels list 2020-06-16 14:13:01 +02:00
Chocobozzz c4a6f7901c
Add channel information in my videos 2020-06-16 11:44:54 +02:00
Chocobozzz 5c20a45518
Fix anonymous nsfw policy 2020-06-16 11:26:46 +02:00
Rigel Kent 228393302d
factorize account/server blocklists for users and instance (#2875) 2020-06-15 13:18:22 +02:00
Rigel Kent 7dfe352886
replace title with video name in moderation listings 2020-06-13 11:56:23 +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 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
Caroline Chuong 45800f7e63
add scope tags and aria-labels to instance table (#2866)
also move label to caption element in table
2020-06-11 18:12:52 +02:00
Chocobozzz cf78883c70
Limit thumbnail sizes 2020-06-11 16:41:51 +02:00
Rigel Kent a7257b0e3e
prevent video-bottom overflow in video-miniature 2020-06-11 12:23:01 +02:00
Rigel Kent e95bede8fe
support type as override to search in listBlocks 2020-06-10 21:12:09 +02:00
Rigel Kent 3487330d30
preserve original variable names server-side 2020-06-10 21:12:09 +02:00
Rigel Kent 5baee5fca4
rename blacklist to block/blocklist, merge block and auto-block views
- also replace whitelist with allowlist
- add advanced filters for video-block-list view
- move icons in video-block-list and video-abuse-list to left side
for visibility
- add robot icon to depict automated nature of a block in
video-block-list

resolves #2790
2020-06-10 21:12:05 +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
Chocobozzz 5fb2e2888c First implem global search 2020-06-10 14:02:41 +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
Caroline Chuong 6ad971d5f5
add aria-hidden to non-descriptive icons (#2844) 2020-06-08 19:42:51 +02:00
Rigel Kent c2caa99b94
Add channel/account avatars in miniature (#2838)
* add small avatar to miniature

* fix svg size for trending and search icons in plugins view

* parametrize avatar in miniature display options
2020-06-08 08:52:06 +02:00
Chocobozzz 3e95b68343
Fix default anonymous theme 2020-06-05 09:15:59 +02:00
Chocobozzz 92128fff7e
Fix config form issue with index URL 2020-06-05 09:10:05 +02:00
Rigel Kent 80c7779efe
fix mascot sizes, fix tick, delete extraneous .png icons
follows PR #2822
2020-06-04 20:57:10 +02:00
Chocobozzz cdd8f7790c
Merge branch 'release/2.2.0' into develop 2020-06-02 09:00:39 +02:00
Chocobozzz fa11e79d4a
Fix regression scrollbar bgcolor mdtextarea maximized-mode
By kimsible
2020-06-02 08:56:00 +02:00
Chocobozzz 2a39506c7d
Revert "Remove oc locale support"
This reverts commit 8323c435c1.
2020-05-29 17:09:55 +02:00
Chocobozzz 923ff87da2 Add bulk comment actions on account dropdown 2020-05-29 09:21:26 +02:00
Chocobozzz c123027fd9
Fix grey color theme 2020-05-22 11:21:55 +02:00
Chocobozzz fd8f73cf6d
Fix lint 2020-05-22 08:50:31 +02:00
Chocobozzz f33dc6ab2d
Fix input/textarea themes 2020-05-20 13:52:12 +02:00
Chocobozzz 3bf07dd8c2
Explicit theme colors for inputs and textarea 2020-05-20 11:39:31 +02:00
Chocobozzz 6189b699fb
Fix broken client when cookies are disabled 2020-05-20 10:37:46 +02:00
Chocobozzz 5ff523664f
Fix user dropdown overflow 2020-05-11 18:05:16 +02:00
Chocobozzz 3b072f5a9d
Fix top menu dropdown hovering 2020-05-11 11:24:55 +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
kimsible 70afd522ba Fix displaying more dropdown on touchscreen 2020-05-11 11:11:06 +02:00
kimsible bedf0e6073 Add edit button to scroll watch playlist on touchscreens 2020-05-11 11:11:06 +02:00
Chocobozzz 3cc665f48f
Add last login date to users 2020-05-07 10:39:09 +02:00
Chocobozzz feb34f6b6b Use video abuse filters on client side 2020-05-07 08:33:34 +02:00
Chocobozzz d4eea02801
Fix relative links in video description 2020-05-06 14:21:10 +02:00
Chocobozzz d056b01956
Fix mobile miniature information margin 2020-05-06 10:15:13 +02:00
Chocobozzz 8bb71f2e33
Add auth plugin info in users list 2020-05-05 13:54:30 +02:00
Rigel Kent 97601690d6
Fix video-abuse-details avatar display and user-list dropdown placement 2020-05-05 12:02:57 +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 0db536f1e0 Only show updatedAt date of abuse if different from createdAt 2020-05-04 15:01:44 +02:00
Rigel Kent d405118360 Bind expanded rows to item ids instead of row number 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 0251197e24 Factorize rest-table and fix/simplify SQL 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 e0a929179a Add filter inputs for blacklisted videos and muted accounts/servers 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 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 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 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
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
Chocobozzz 891bc2ffad
Support rel="me" links in markdown 2020-04-16 16:13:28 +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
Rigel Kent 471ee39496
Fix lint 2020-04-14 01:38:41 +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 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
Chocobozzz 8e11a1b37c
Fix sort in admin tables 2020-04-08 10:49:26 +02:00
Chocobozzz 9870329f69
Fix playlist autoplay 2020-04-08 09:41:43 +02:00
Rigel Kent 947d01023d
Improve channel and account display on medium devices 2020-04-03 14:13:28 +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 3d527ba173 Use inner join and document code for viewr stats for channels 2020-03-31 10:29:24 +02:00
Rigel Kent 747c562837 Put channel stats behind withStats flag 2020-03-31 10:29:24 +02:00
Rigel Kent 8165d00ac6 View stats for channels 2020-03-31 10:29:24 +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 5411da31d1
Describe user video settings checkboxes, put emphasis on p2p
Also improve more info links about p2p and privacy in PeerTube,
present in the privacy concern notice and in the video settings.
2020-03-23 23:43:53 +01:00
Chocobozzz 03db5c3f97
Correctly format video duration 2020-03-18 15:46:48 +01:00
Rigel Kent c9ad38f4cb
Declutter interface, hide RSS until hovering section title 2020-03-11 22:31:17 +01:00
Chocobozzz 111fdc267b
Handle overview pagination in client 2020-03-11 16:45:09 +01:00
Rigel Kent 03efb1419d
Better use of space and icons in plugins administration interface 2020-03-10 23:48:12 +01:00
Rigel Kent 482fa503e5 Use grid to organise settings in admin, my-account 2020-03-10 16:23:40 +01:00
Rigel Kent 3b20bdd6dc Servicify menu, close menu on admin for small and medium screens 2020-03-10 16:22:52 +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 54e7884775
Normalize modal close buttons, and cancel/submit button styles 2020-03-06 16:58:55 +01:00
Rigel Kent 25ae4f9572
Remove title attribute from thumbnail in video miniature 2020-03-06 11:50:20 +01:00
Rigel Kent 288c78eaae
Always copy full actor handle in video-channels view 2020-03-05 23:49:12 +01:00
Chocobozzz 340ce5c52f
Fix i18n generation 2020-02-28 14:09:18 +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
Filip Bengtsson 97eae8382e
Mark additional strings as translatable (#2507) 2020-02-21 18:51:05 +01:00
Rigel Kent 80adb0366f
Properly hide Watch Later when user logs out 2020-02-19 09:33:49 +01:00
Rigel Kent 71e75ef27e
Fix search parameter initialisation for search-typeahead 2020-02-18 14:33:07 +01:00
Chocobozzz 2ad9dcda24
Merge branch 'release/2.1.0' into develop 2020-02-17 15:34:42 +01:00
Chocobozzz ec10e8ed5b
Fix playlist cache error 2020-02-17 11:47:47 +01:00
John Livingston 45f1bd72a0
Creating a user with an empty password will send an email to let him set his password (#2479)
* Creating a user with an empty password will send an email to let him set his password

* Consideration of Chocobozzz's comments

* Tips for optional password

* API documentation

* Fix circular imports

* Tests
2020-02-17 10:16:52 +01:00
Rigel Kent 8a979d73c3
Simplify code for search-typeahead 2020-02-13 16:48:46 +01:00
Rigel Kent 9b8a7aa8ea
Improve search typeahead performance and use native events 2020-02-13 16:35:24 +01:00
Rigel Kent 9677fca772
Make the search helper change based on the server config 2020-02-13 16:32:58 +01:00
Rigel Kent f409f0c3b9
Search typeahead initial design 2020-02-13 16:32:21 +01:00
Chocobozzz 68ca61941e
Fix list overflow when refreshing the page 2020-02-13 10:41:43 +01:00
Rigel Kent 24e7916c68 Add ListOverflow component to prevent sub-menu overflow 2020-02-13 10:25:22 +01:00
Chocobozzz 7811819b1a Use angular 9 clipboard cdk 2020-02-10 16:39:28 +01:00
Chocobozzz be27ef3b46 Strict templates enabled 2020-02-10 16:39:28 +01:00
Chocobozzz f77eb73b5e Fix angular 9 build 2020-02-10 16:39:28 +01:00
Chocobozzz 2f5d2ec5ea Update to angular 9 2020-02-10 16:39:28 +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 c910f667d2
Add origin instance URL in watch page 2020-01-29 13:59:40 +01:00
Chocobozzz b764380ac2 Add ability to list redundancies 2020-01-28 11:35:26 +01:00
Chocobozzz 44d4ee4fcb
Fix e2e tests 2020-01-23 14:59:44 +01:00
Chocobozzz f0ad471007
Update a little bit user dropdown message 2020-01-21 14:05:22 +01:00
Rigel Kent 9b82d49da8 Add action dropdown descriptions 2020-01-21 11:59:41 +01:00
Chocobozzz 4ee6a8b13e
Fix admin config form for auto follow 2020-01-21 10:47:56 +01:00
Rigel Kent 7738273b80 Accessibility fixes for #2149 2020-01-21 10:08:10 +01:00
Rigel Kent 96a4a7c332
Add description for sensitive configuration options, reword others 2020-01-15 12:15:31 +01:00
Rigel Kent f8b65c22a9
Fix OnInit for subscribe button
Fixing regression introduced in a004ff1726
that initialized component for accounts with no channels before changing
the input a second time.
2020-01-14 10:58:42 +01:00
Chocobozzz ab4d4db44a
Avoid follow SQL conflicts 2020-01-10 13:34:20 +01:00
Chocobozzz db84cf89bc
Fix client build 2020-01-10 13:34:18 +01:00
Rigel Kent 2d0d88a0cb
Fix subscribe-button for logged-out users 2020-01-10 11:42:53 +01:00
Chocobozzz 62fca05de4
Fix default avatar URL 2020-01-10 10:30:39 +01:00
Rigel Kent 9270ccf6dc Make subscribe buttons observe subscription statuses to synchronise 2020-01-10 10:12:09 +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 41eb700fce Refactor my-subscribe-button to support full account subscription 2020-01-10 10:12:09 +01:00
Rigel Kent fc2df421a9
Better placement for help tooltip 2020-01-09 16:54:59 +01:00
Chocobozzz f44a284a3e
Fix playlist observable cache 2020-01-09 14:06:29 +01:00
Chocobozzz 240458d0c9
Remove ElementEvent 2020-01-09 09:30:08 +01:00
Chocobozzz 6b0c3c7ca9
Optimize list my playlists SQL query 2020-01-09 09:27:21 +01:00
Rigel Kent c511c3f010 Show default avatar on network error for comments 2020-01-09 09:25:32 +01:00
Chocobozzz fb770ff9e6
Remove useless translation 2020-01-09 08:51:24 +01:00
Rigel Kent 5c7a411c45
Set a default background color for account avatar
fixes #2392
2020-01-08 22:57:46 +01:00
Chocobozzz f332ffa2a2
Generate translations 2020-01-08 20:00:52 +01:00
Chocobozzz e612209767
Try to fix subscriptions inconsistencies 2020-01-08 15:44:41 +01:00
Chocobozzz 440d39c52d
Skip videos count on client if we don't use it 2020-01-08 14:40:08 +01:00
Rigel Kent 8ba9c205ba Add option to download subtitles in download modal 2020-01-07 17:09:21 +01:00
Rigel Kent df8340b7b8 Add duration to video attributes in watch view 2020-01-07 14:47:50 +01:00
Rigel Kent 13adf228d0
Add button in subscriptions to go to subscriptions list 2020-01-07 12:12:43 +01:00
Chocobozzz 218b0874ed
Add get user cache for comments 2020-01-06 16:13:26 +01:00
Chocobozzz bc6f886347
Fix mark all as read notifications 2020-01-06 15:59:17 +01:00
Chocobozzz 93d54cc769
Align search field with checkboxes in playlist add 2020-01-06 15:14:25 +01:00
Chocobozzz 51b34a11b2
Share playlists state 2020-01-06 13:34:08 +01:00
Rigel Kent 46db9430af
Add checkbox focus shadows, and admin resolution descriptions 2020-01-06 12:41:14 +01:00
Chocobozzz b7819090de
Move watch later logic in miniature 2020-01-03 15:01:17 +01:00
Rigel Kent 3fbba1d28a
Display all miniature actions on hover and focus 2020-01-02 16:26:18 +01:00
Rigel Kent 29128b2f5c
Add miniature quick actions to add video to Watch later playlist 2020-01-02 14:50:14 +01:00
Rigel Kent 9d45db2919
Fix my-account{videos,video-playlists} loading mecanism 2019-12-29 02:10:17 +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 c1125bcadc
Add comment filtering by reply count 2019-12-27 17:02:44 +01:00
Chocobozzz f27a885a43
Better error message in videos list 2019-12-27 13:10:50 +01:00
Rigel Kent edf1a4e520 Add user moderation dropdown to comments 2019-12-27 10:11:10 +01:00
Rigel Kent c06af5012e
Add playlist search option and search input for add-to-video-playlist dropdown
fixes #2138
2019-12-26 11:52:52 +01:00
Rigel Kent 5def76ebba
Add autoplay tooltip, use of flex-wrap in video-info and other-videos 2019-12-21 09:25:02 +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 c5c09c1e50
fix deleted comment layout and its notification display 2019-12-19 18:08:21 +01:00
Rigel Kent 10475dea7d
improve notification popup interactivity: read all, layout, position
fixes #1730
2019-12-19 14:53:01 +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
Chocobozzz ba430d7516
Lazy load static objects 2019-12-18 15:40:59 +01:00
Rigel Kent 5dfb7c1dec
Add commentor name alongside fid for video comments 2019-12-18 13:28:29 +01:00
Rigel Kent c8277d7139
(css) optimize .other-videos width 2019-12-17 22:42:19 +01:00
Rigel Kent b29bf61dbd Provide native links for description timestamps, and re-clickability for these 2019-12-17 09:45:02 +01:00
Lesterpig d68ebf0b4a Add hyperlink video timestamps in description
Fix #1312 (duplicates: #1728 and #2007)
The modification is also applied to comments and video editing.
2019-12-17 09:45:02 +01:00
Rigel Kent dd4f25eea8
add channel avatar to watch view 2019-12-15 21:58:11 +01:00
Chocobozzz dbdf2d51c6
Add peertube version in features table 2019-12-13 10:19:41 +01:00
Rigel Kent 88a7f93f8e add loop setting for playlists, and use sessionStorage 2019-12-13 09:13:43 +01:00
Rigel Kent bee29df8a9 autoplay next video support for playlists 2019-12-13 09:13:43 +01:00
Chocobozzz 22a73cb879
Add internal privacy mode 2019-12-12 16:51:59 +01:00
Chocobozzz 1aa7543403
Support basic markdown in comments 2019-12-09 11:21:39 +01:00