Commit Graph

2529 Commits

Author SHA1 Message Date
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
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 a11a782f5c
Fix duplicate entry in job list page 2021-01-11 15:39:15 +01:00
Chocobozzz 1acb947504
Retrieve user by id instead of username 2021-01-11 13:53:08 +01:00
Chocobozzz f8be7bae3f
Fix twitter config description
It's not optional
2021-01-11 11:36:54 +01:00
Chocobozzz 078b4716cd
Fix theme npm link 2021-01-11 10:46:02 +01:00
Chocobozzz 4f20856ed4
Add more hints regarding live port 2021-01-11 09:20:44 +01:00
Rigel Kent 04b2996bb0
reflect location origin for application feed url in production 2021-01-10 22:19:51 +01:00
Marcin Mikołajczak eaf3367549 Mark 'These settings apply only to' string as i18n-able 2021-01-09 00:01:00 +01:00
Chocobozzz 1227fe070e
Don't display log level in audit logs view 2020-12-30 14:18:32 +01:00
Chocobozzz dfed7846e2
Clearer anonymous settings modal title 2020-12-30 14:03:33 +01:00
Chocobozzz 2345e13853
Fix login error display 2020-12-29 15:23:03 +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 18429d011e
Don't update timestamps for a live 2020-12-17 14:14:28 +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 ddca257699
Don't display max duration if disabled 2020-12-16 14:18:50 +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
Chocobozzz c9bc850e93
Use -1 for max live duration unlimited 2020-12-15 09:26:37 +01:00
Chocobozzz d1742ede65
Fix ng select in admin 2020-12-15 08:57:49 +01:00
Rigel Kent 728a1236ae
restore live transcoding to live streaming tab 2020-12-14 16:31:14 +01:00
Rigel Kent ea5cdc11ff
slightly clearer layout of transcoding configuration 2020-12-14 14:34:34 +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
mahdi ed8b4014ce
Show count of instances and fix show/hide button 2020-12-14 09:57:41 +01:00
Rigel Kent 2b6ea97f1c
fix merge conflicts 2020-12-14 09:57:41 +01:00
MahdiTurki 92f62f108b
Fix coding style 2020-12-14 09:57:41 +01:00
MahdiTurki 2ce949454f
Add hide list 2020-12-14 09:57:41 +01:00
MahdiTurki bd49f8e988
Change button 2020-12-14 09:57:41 +01:00
MahdiTurki 49c4dd7ec3
Add button to display full list in About page 2020-12-14 09:57:41 +01:00
Chocobozzz 8a9e6ee4a8
Fix themes in about page 2020-12-14 09:30:53 +01:00
Rigel Kent 040d6896a3
add display of logs matching any state 2020-12-13 19:27:25 +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
kontrollanten e134eb03cb admin config: fix typo
https://www.grammarly.com/blog/know-your-latin-i-e-vs-e-g/
2020-12-11 10:38:15 +01:00
Chocobozzz 19b163d045
Fix comments count 2020-12-10 10:22:27 +01:00
Chocobozzz dc1f314efd
Fix socket io with angular 2020-12-10 10:20:04 +01:00
Chocobozzz e43b5a3fa8
Improve live player responsive 2020-12-10 09:37:53 +01:00
Chocobozzz a800dbf345
Live views update 2020-12-09 16:31:42 +01:00
Chocobozzz 5cac83a78d
Refactor views component 2020-12-09 15:33:16 +01:00
Rigel Kent e0fea785bf
add previous button to registration form, with alignment 2020-12-09 13:20:58 +01:00
Rigel Kent 23cd3129a9
fix tabindex on login page 2020-12-09 13:01:00 +01:00
Rigel Kent f2eb23cd87
emit more specific status codes on video upload (#3423)
- reduce http status codes list to potentially useful codes
- convert more codes to typed ones
- factorize html generator for error responses
2020-12-08 21:16:10 +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
Chocobozzz 8e0a2f2a05
Use new primeng i18n api 2020-12-07 16:07:00 +01:00
Rigel Kent f8b530e0a5
unify inputs requiring buttons like password inputs 2020-12-04 16:01:53 +01:00
Chocobozzz e772bdf14c
Load video in permanent live after last one ended 2020-12-04 15:38:32 +01:00
Chocobozzz 312644ce3a
Add badge for permanent live in live info modal 2020-12-04 09:24:14 +01:00
Chocobozzz b2dd58a808
Fix login guard to videos from subscriptions 2020-12-03 15:21:16 +01:00
Chocobozzz bb4ba6d94c
Add permanent live support 2020-12-03 15:21:16 +01:00
Rigel Kent 19b7ebfaa8
refactor 404 page 2020-12-03 14:55:47 +01:00
Chocobozzz 5bfc33b6f1
Fix lint 2020-12-03 10:39:43 +01:00
Rigel Kent d4132d3f56 more explicit error messages for file uploads 2020-12-03 10:15:49 +01:00
kontrollanten 09c55770bc register: hide channel step if upload quota is 0
fix #782
2020-12-03 09:54:41 +01:00
Chocobozzz 543e187262
Fix duplicate ids in admin config form 2020-12-01 15:11:23 +01:00
Chocobozzz 15feebd97a
Fix socket io messages angular changes 2020-12-01 15:04:38 +01:00
Florian CUNY a3f1595f79
Select first available channel when accepting ownership change (#3382)
* Select first available channel when accepting ownership change

Implements https://github.com/Chocobozzz/PeerTube/issues/2240

* Made use of #patchValue() to set the default selected value

And removed the disabled state for the Accept button
2020-12-01 15:04:29 +01:00
Mathieu Brunot a742b4b0e2
Fix themes colors by using SCSS variables (#3376)
* 💄 Use foreground var for code

* 💄 Use submenu var color

* 💄 Use foreground var color for menu

* 🐛 Fix var used in menu
2020-11-30 16:45:22 +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 6b88559bab
Fix local e2e tests 2020-11-30 09:11:12 +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 e2c1f77957
Profile settings title consistency 2020-11-26 16:39:43 +01:00
Chocobozzz 7fd03a2c8f
Create a dedicated transcoding tab in admin config 2020-11-26 15:09:57 +01:00
Chocobozzz 0151c41c65
Do not display wait transcoding checkbox
If this is a live and save replay is not enabled
2020-11-26 11:30:18 +01:00
test2a 832a12b0e8
adjust registration form width on mobile (#3274)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-11-25 15:57:10 +01:00
Chocobozzz d07b2944db
Fix comment account external URL
It did not work, and I think it's better to target the local account
page anyway
2020-11-25 15:11:57 +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
Chocobozzz 18490b0765 Fix migration and test 2020-11-25 11:07:56 +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 c07fac202d
fix user preferences column width for notifications table (#3352)
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-24 14:54:08 +01:00
Kimsible ab0beac72f
fix forgotten/reset password UI (#3351)
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-11-24 13:47:24 +01:00
kimsible 01d0147ef5 Add tooltip to maximize button and remove grey background 2020-11-22 01:15:38 +01:00
Rigel Kent c5dcdab330
add explicit numbers in configuration number inputs
fixes #1346
2020-11-21 12:44:05 +01:00
Chocobozzz 74fd2643b4 Provide express request to onLogout call
+ pluginInfo related changes
2020-11-20 15:36:43 +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 369e77543b
Lazy load emoji 2020-11-19 16:26:32 +01:00
Chocobozzz b355b39408
Lazy load linkifier 2020-11-19 16:23:19 +01:00
Chocobozzz c4f7fe09cd
Use sass instead of deprecated node sass 2020-11-19 15:57:52 +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 16a173bbc9
Automatically enable videos auto block on signup 2020-11-18 16:13:38 +01:00
Chocobozzz 0aa52e1707
Add ability to display all channel/account videos 2020-11-18 15:29:38 +01:00
Chocobozzz ff2cac9fa3
Fix accept ownership change accept 2020-11-18 14:21:26 +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
Chocobozzz 9ff36c2d70
Refactor markdown/sanitize html code 2020-11-17 14:34:09 +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 12c8a46362
Fix about scrolling behaviour 2020-11-16 16:46:15 +01:00
Chocobozzz a75eb7489c
Fix channel's playlist infinite scrolling 2020-11-16 16:11:58 +01:00
Chocobozzz 805bec52cd
Replace keyboard shortcut icon
Use svg instead
2020-11-16 15:55:18 +01:00
Chocobozzz c195975c54
Use badge in video block list 2020-11-16 15:41:15 +01:00
Chocobozzz f0048d5edd
In my account -> in my library 2020-11-16 15:02:53 +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 19149d45b8
Merge branch 'feature/admin-comments' into develop 2020-11-16 13:57:14 +01:00
Chocobozzz f127331459
Add admin view to manage comments 2020-11-16 13:48:58 +01:00
Frank Sträter 2b8d7a7d59
add help popup for choosing license (#3306)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-11-15 11:57:13 +01:00
Chocobozzz 0f8d00e314
Implement video comment list in admin 2020-11-13 16:38:23 +01:00
Chocobozzz dc13623baa
Fix player height on mobile 2020-11-13 14:49:27 +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 d470441424
Rename upload button to publish 2020-11-10 14:24:32 +01:00
Chocobozzz 25b7c84724
Try to optimize sha segments fetching 2020-11-10 14:21:26 +01:00
Chocobozzz 210856a7be
Try to fix live segments check 2020-11-10 14:15:59 +01:00
Chocobozzz d88c490d38
Fix channel deletion 2020-11-10 10:52:05 +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 99fa5c5bad Fix theater mode 2020-11-09 15:33:04 +01:00
Chocobozzz 97969c4edf Add check constraints live tests 2020-11-09 15:33:04 +01:00
Chocobozzz c29039e7c0 Add warning below live stream key field 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 fb7194043d Check live duration and size 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
kimsible 110d463fec Restore line feed for markdown lists support in comments 2020-11-08 16:44:43 +01:00
Kimsible f34cc2a48e
Improve markdown-it emoji list column display (#3253)
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-11-08 11:35:09 +01:00
Kimsible 6a9498e37c Correct break line display for re-draft comments 2020-11-06 18:14:15 +01:00
test2a 214ff6fa00
changed video rating popover text with link to login page (#3168)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-10-30 11:30:21 +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 d3bb7994fe
Improve report labels 2020-09-03 16:09:22 +02:00
Chocobozzz 1a568b6fca
Fix play of videos on ios
When the user already played a video
2020-08-27 08:39:44 +02:00
Chocobozzz e6abf95e9f
Add redirection on unavailable video due to follow constraints 2020-08-26 09:14:14 +02:00
Chocobozzz ca00baa75a
Avoid 404 when changing language 2020-08-26 08:54:19 +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 2856af48ac Fix z-index dropdown icon
Was on top of the header
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 0cd6ffc09c Send videojs to action player hooks 2020-08-21 15:39:51 +02:00
Chocobozzz 79f392a657 Fix tokens loading 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 f95628636b Support plugin hooks in embed 2020-08-20 14:23:57 +02:00
Chocobozzz a9f6802e7d
Fix user video languages settings 2020-08-20 11:05:45 +02:00
test2a ce4e63c181 Update video-import-url.component.html
changed wording of raw mp4 file to media file as we can import variety of formats both audio and video
2020-08-19 11:41:13 +02:00
test2a 1c840ca482 Update video-import-torrent.component.html
changed wording of mp4 file to media file as we can import variety of formats both audio and video
2020-08-19 11:41:13 +02:00
Chocobozzz 2d0d756e85 Fix responsive playlist elements 2020-08-19 11:30:21 +02:00
Chocobozzz 2711491ce1 Remove unused class in playlists 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
Chocobozzz f29f487ef8
Use localize for page titles 2020-08-17 10:30:59 +02:00
Chocobozzz 1bfc7b7379
Some code style fixes 2020-08-17 10:19:53 +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
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
Chocobozzz 93e903ac16
Fix lint 2020-08-14 15:04:58 +02:00
kimsible da188b9f9e Migrate i18n to localize 2020-08-14 15:03:38 +02:00
kimsible 230c3ba24b Use this.user.account.id instead of recall authService.getUser() 2020-08-14 15:03:38 +02:00
kimsible c537763a23 Fix autoclose md popover when click on emoji list link inside 2020-08-14 15:03:38 +02:00
kimsible fdd1296521 Small refactor comments 2020-08-14 15:03:38 +02:00
kimsible ee3bd9db05 Add emoji list to markdown infos 2020-08-14 15:03:38 +02:00
kimsible fd9c3c8d66 Refactor popover markdown, add code style 2020-08-14 15:03:38 +02:00
kimsible 04c7f70175 Use commonjs instead of esm typescript for light emojis 2020-08-14 15:03:38 +02:00
kimsible 0672dc769b Add unicode emoji to markdown 2020-08-14 15:03:38 +02:00
kimsible 438c256b26 Move markdown icon on right and correct colors 2020-08-14 15:03:38 +02:00
kimsible ddb0303f4d Fix i18n on delete modal and linter 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
kimsible cb54210c19 Use comment as label for comments-thread add button 2020-08-14 15:03:38 +02:00
kimsible c311596094 Add icons to dropdown actions (report, remove and remove & re-draft) 2020-08-14 15:03:38 +02:00
kimsible 45ae994a44 Move delete, delete & redraft actions to options 2020-08-14 15:03:38 +02:00
kimsible f63c03fb6e Add delete & re-draft for comments without replies 2020-08-14 15:03:38 +02:00
kimsible 09f8f73fbc Hide deleted comment message when no replies 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
Chocobozzz fe9cc7183f
Remove useless i18n tags 2020-08-14 09:19: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 c9ea405f10
Fix playlist position in my playlists 2020-08-11 09:48:40 +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 62fc691548 Add channel_name field to create-user view 2020-08-11 08:46:35 +02:00
kimsible c2165d607e Add anchor links to about/instance 2020-08-11 08:34:04 +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
Rigel Kent fccbbc1a77 add and document new additional video extensions supported at upload 2020-08-10 09:46:59 +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
Aman Sharma 203d594f2d
Resume video playback on close of support modal (#3052)
* Resume video playback on close of support modal #2995

* Fix lint issues
2020-08-10 08:32:10 +02:00
Rigel Kent b47d6282fb
revert upload bar text color to white 2020-08-09 13:29:23 +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 189ab8deb3
Add ability to disable peertube button link in embed 2020-08-07 11:42:53 +02:00
Chocobozzz 193b9ba7c0
Fix loading bar color 2020-08-07 11:34:22 +02:00
Chocobozzz 5abc96fca2 Add logic to handle playlist in embed 2020-08-07 08:58:29 +02:00
Chocobozzz a4ff3100d3 Cleanup tokens logic in embed 2020-08-07 08:55:02 +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
Chocobozzz c7a53f6121
Correctly finish upload before updating video 2020-08-05 16:22:13 +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
Rigel Kent 6863f814b0 special display case for logged-out users to display download in watch page 2020-08-04 16:06:40 +02:00
Rigel Kent 9a42363291
correct column toggle z-index for user list 2020-08-03 23:43:23 +02:00
kimsible a7eaeae1dc Fix regression blocklist-accounts icon in sub-title 2020-08-03 16:52:40 +02:00
kimsible 8bed61815d Fix regression subscriptions icon in dropdown sub-menu 2020-08-03 16:52:40 +02:00
kimsible d607fc2463 Fix regressions sub-menu titles on mobile-view 2020-08-03 16:52:40 +02:00
Chocobozzz 7c87bce471
Fix anonymous user theme 2020-07-31 16:55:32 +02:00
Chocobozzz d45f3641d0
Fix fullscreen on ios 2020-07-31 15:54:52 +02:00
Chocobozzz 805d6a354b
Fix top menu dropdown 2020-07-31 13:39:42 +02:00
Chocobozzz e29dc2832e
Fix user list view 2020-07-31 13:33:05 +02:00
Chocobozzz 2f712d2bff
Fix build
(my bad)
2020-07-31 12:02:15 +02:00
Chocobozzz 41130b4ce3 Fix tests 2020-07-31 11:35:19 +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 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
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
Rigel Kent 2e2e4cf426
separate menu options from their values, remove their chevron 2020-07-23 15:44:32 +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 2291a412d2
Merge branch 'release/2.3.0' into develop 2020-07-21 11:16:28 +02:00
Chocobozzz 2e03d65032
Fix E2E tests 2020-07-21 09:38:26 +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 2821595787 Correct missing test in user-edit template 2020-07-20 16:58:09 +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 4f32032fed Add migrations 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
Kim caf2aaf4f9
Add ability to override client assets : logo - favicon - PWA icons - PWA manifest name and description (#2897)
* Add client-overrides storage to config

* Add static-serve for client overrides

* Move backgroun-image logo from bundle to css tag for runtime content hash

* Add dynamic JSON manifest

* Add content hash for manifest, favicon and logo

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-10 10:20:11 +02:00
Chocobozzz 767bb14a38
Fix external user edition 2020-07-06 11:03:05 +02:00
Chocobozzz 9e5dd0d96e
Fix admin layout 2020-07-06 11:02:21 +02:00
Rigel Kent ea7337cfde
add check-params test for user list
fixes #2918
2020-07-03 10:29:03 +02:00
Rigel Kent 8491293b02
add blocked filter in users list to filter banned users
fixes #2914
2020-07-02 22:50:33 +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 c7b836303c
remove extraneous user-list table attribute 2020-07-02 08:59:16 +02:00
Rigel Kent 97990c6eb0
align danger colors for user-edit 2020-07-01 17:28:50 +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 9b01cfc788
distinct style for rows of banned users in listing, saving space 2020-07-01 12:09:23 +02:00
Rigel Kent 4ee63ec648
remove extra action for when the video block type is set to manual 2020-06-28 20:28:59 +02:00
Rigel Kent 1c5d24e5b5
slight improvement for column size in imports table 2020-06-28 17:16:38 +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 4c9e9d2ee9
align ownership change video list table with moderation tables 2020-06-28 16:20:23 +02:00
Rigel Kent afa4456c1a
fix typo in blocked notice in login 2020-06-28 16:11:00 +02:00
Rigel Kent 0350384781
replace current ownership transfer icon with softies forward icon 2020-06-28 14:15:38 +02:00
Rigel Kent 287124d110
fix quota representation in profile settings 2020-06-28 01:17:59 +02:00
Rigel Kent 0242861ece
add user account-blocklist missing scss mixin 2020-06-28 00:53:36 +02:00
Chocobozzz cc0e0d32ea
Fix query string parsing 2020-06-26 16:08:53 +02:00
Chocobozzz d8b382912e
Fix search filter in video reports 2020-06-26 15:41:35 +02:00
Chocobozzz 983aa6f287
Fix missing module for my-account 2020-06-24 15:32:52 +02:00
Chocobozzz f0b56fdd0c
Put empty module in app module 2020-06-24 15:29:08 +02:00
Chocobozzz 187b2e2346
Fix upload page 2020-06-24 11:50:54 +02:00
Chocobozzz 71489890a8
Use pointer for search suggestions 2020-06-24 11:50:53 +02:00
Chocobozzz f6f371ae5f
Add P2P concept for HLS config 2020-06-24 11:50:53 +02:00
Chocobozzz 7ede74add2
Support player hotkeys when it is not focused 2020-06-23 16:57:35 +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
Rigel Kent 6567e5a796
soft border-radius for search typeahead suggestions 2020-06-18 12:10:20 +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 af75e2d8df
Correctly fix client build 2020-06-16 13:51:50 +02:00
Chocobozzz 6f787ea25d
Fix client compilation 2020-06-16 12:01:11 +02:00
Chocobozzz c4a6f7901c
Add channel information in my videos 2020-06-16 11:44:54 +02:00
Chocobozzz b27b12552b
Add video dropdown in discover page 2020-06-16 11:26:46 +02:00
Chocobozzz 5c20a45518
Fix anonymous nsfw policy 2020-06-16 11:26:46 +02:00
Chocobozzz 64e0f8cf12
Fix scrolling with hash in url 2020-06-16 11:26:46 +02:00
Chocobozzz c1466c52fb
Remove unused service 2020-06-15 15:04:51 +02:00
Chocobozzz ff9c3d9b18
Use local search for recommended videos 2020-06-15 15:04:51 +02:00
Chocobozzz 12e6b31486
Fix search error loop 2020-06-15 15:04:51 +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 46788f21f6
switch margin-bottom rules to padding-bottom now used in miniature 2020-06-12 12:27:37 +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
Chocobozzz 8b381422b8
Fix lint 2020-06-12 08:27:59 +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 7e4022a554
rephrase warning for self-hostable services 2020-06-11 13:13:06 +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
Caroline Chuong 1bab226f5c Add explicit step and aria-current attribute in register form 2020-06-10 17:38:00 +02:00
Chocobozzz 3b0bd70aa0 Add search target check params 2020-06-10 14:02:41 +02:00
Chocobozzz 7c87746e4b Fix search query when updating from typeahead 2020-06-10 14:02:41 +02:00
Chocobozzz 5fb2e2888c First implem global search 2020-06-10 14:02:41 +02:00
Rigel Kent e6dfa58689 space optimizations for `node_modules` and client stats removal
- replace sharp with lighter jimp alternative
- remove stats in builds

fixes #2807
2020-06-10 14:01:49 +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
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
Rigel Kent c87d45df9b
ensure menu footer respects spacing across translations 2020-06-07 11:55:17 +02:00
Caroline Chuong 0c23363a2d Add lang attribute in languages list menu 2020-06-05 15:55:29 +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
Rigel Kent 81fe3c67c5 fix duplicate id in svg, empty alt in base email 2020-06-04 09:05:44 +02:00
Rigel Kent 140ea386de inject lang in document to match current locale 2020-06-04 09:05:44 +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 72c33e716f Support broadcast messages 2020-05-29 09:32:12 +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 5f57df5462
Fix action button icons theme 2020-05-22 11:15:31 +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 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 b66c5e58f1
Fix upload button color in dark mode 2020-05-20 10:57:59 +02:00
Chocobozzz 6189b699fb
Fix broken client when cookies are disabled 2020-05-20 10:37:46 +02:00
Chocobozzz 572bf73be6
Fix action button overflow in tables 2020-05-20 10:29:40 +02:00
Chocobozzz 9a7fd9600b
Fix external auth email/password update
Also check if an actor does not already exist when creating the user
2020-05-20 10:17:27 +02:00
Chocobozzz e00aa3535e
Fix deleting highlighted thread 2020-05-14 14:54:10 +02:00
Chocobozzz 83e9886eed
Add link to the account page in comment 2020-05-14 14:41:24 +02:00
Chocobozzz 089af69bc8
Fix old edge HLS compat 2020-05-13 10:39:54 +02:00
Chocobozzz 1d904806f6
10 items per page for my videos 2020-05-12 11:40:09 +02:00
Chocobozzz 5ff523664f
Fix user dropdown overflow 2020-05-11 18:05:16 +02:00
Chocobozzz 399b3bc9a6
Update translations 2020-05-11 13:39:06 +02:00
Chocobozzz 3b072f5a9d
Fix top menu dropdown hovering 2020-05-11 11:24:55 +02:00
Kim 8a3183e50d
Fix non-fixed header and menu when overflow-x body on touchscreens (#2711)
* Make my-account-videos responsive on small screens

* Make my-account-channels responsive for small screens

* Make search result responsive on small screen

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-05-11 11:16:21 +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
Rigel Kent b72ec06bbe
Display video redundancy entries as table link objects 2020-05-08 18:41:32 +02:00
Rigel Kent 1d26d05fd9 Align follower handle display on instance display in tables 2020-05-08 15:31:51 +02:00
Rigel Kent df4c603dea Switch emails to pug templates and provide richer html/text-only versions 2020-05-08 15:31:51 +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 f375bb3db4
Add ability to override login signup message 2020-05-06 14:03:23 +02:00
Rigel Kent 86ab22921b
Support pagination rowsPerPage change in instance account/server blocklists 2020-05-06 13:08:03 +02:00
Chocobozzz d056b01956
Fix mobile miniature information margin 2020-05-06 10:15:13 +02:00
Chocobozzz fde37dc99c
Add ability for video owners to delete comments 2020-05-05 17:22:11 +02:00
Chocobozzz 06827932a2
Fix textarea size 2020-05-05 13:54:30 +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
Chocobozzz f66b8d1226
Re generate translations 2020-05-05 09:19:50 +02:00
Chocobozzz bc90883f1a Handle external login errors 2020-05-04 16:21:39 +02:00
Chocobozzz a4995eb7ac Add ability to unregister plugin auths 2020-05-04 16:21:39 +02:00
Chocobozzz dadc90bca2 Client calls revoke-token endpoint on logout 2020-05-04 16:21:39 +02:00
Chocobozzz ebefc902f5 Add external login buttons 2020-05-04 16:21:39 +02:00
Chocobozzz 4a8d113b9b Begin support for external auths 2020-05-04 16:21:39 +02:00
Rigel Kent 8d41976378
Fix video-abuse-list init abuse duplication 2020-05-04 16:13:35 +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 801d957155 Move abuse-list details into its own component 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 9b1fa49b60 Support is:blacklisted as video-abuse-list filter 2020-05-04 15:01:44 +02:00
Rigel Kent 7f979fd8aa Reduce createdAt column size by using short date format 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
Kim ca4b1594a7
Fix dropdown-user placement and menu-left scroll on touchscreens (#2706) 2020-05-01 20:05:19 +02:00
Rigel Kent d1261d9a3c Add links from user-edit 2020-05-01 16:41:02 +02:00
Rigel Kent efa012edad Add reportee stats for deleted videos 2020-05-01 16:41:02 +02:00
Rigel Kent 0251197e24 Factorize rest-table and fix/simplify SQL 2020-05-01 16:41:02 +02:00
Rigel Kent b8cf27c0f8 Unify paginator disabling when no result is displayable, fix batch domain add for non-https 2020-05-01 16:41:02 +02:00
Rigel Kent 36004aa7b0 Support search param in URL for video abuses 2020-05-01 16:41:02 +02:00
Rigel Kent 042daa7072 Fixing circular dependency and table variable access 2020-05-01 16:41:02 +02:00
Rigel Kent d384061366 Empty states for tables 2020-05-01 16:41:02 +02:00
Rigel Kent e0a929179a Add filter inputs for blacklisted videos and muted accounts/servers 2020-05-01 16:41:02 +02:00
Rigel Kent aeb1bed983 Factorize video display in table for moderation components, apply it to blacklisted videos as well 2020-05-01 16:41:02 +02:00
Rigel Kent 5fd4ca0051 Add nth abuse count for a given video, add reporter/reportee reports stats 2020-05-01 16:41:02 +02:00
Rigel Kent 844db39ee5 Add search for video, reporter and channel name fields 2020-05-01 16:41:02 +02:00
Rigel Kent 36d0677ec9 Add tooltip on caption upload to specify which formats are supported 2020-05-01 16:41:02 +02:00
Rigel Kent 988af781ac Rename duplicate to more universal mirror, add to miniature for quick access by admins 2020-05-01 16:41:02 +02:00
Rigel Kent 86521a67b2 Add video channel and video thumbnail, rework video appearance in row 2020-05-01 16:41:02 +02:00
Rigel Kent 9b4241e33b Increase rows per page, add reporter muting for abuse list 2020-05-01 16:41:02 +02:00
Rigel Kent 68d19a0ace Make sure a report doesn't get deleted upon the deletion of its video 2020-05-01 16:41:02 +02:00
Kim 165ee2929b
Fix tables width, paginators, button on mobile / touchscreens (#2695) 2020-05-01 10:45:07 +02:00
Kim 7a03209d28
Make admin sub-navs, selects, buttons responsive (#2702) 2020-05-01 00:51:09 +02:00
Kim 0ac458bffb
Remove border-bottom on header to prevent header redimensioning (#2691) 2020-04-30 22:33:27 +02:00
Kim d363ef5360
Use modal instead of dropdown menu in small/mobile views (#2674)
Co-Authored-By: Rigel Kent <par@rigelk.eu>
2020-04-30 19:23:54 +02:00
kimsible 62365adc75 Fix buttons display on mobile history view 2020-04-28 18:30:42 +02:00
Kim b15fe00f74
Add maximized mode to markdown-textarea + CSS improvements (#2660)
* Add arrows-angle-contract/expand bootstrap icons

* Add grey textarea-background-color

* Add maximized support to markdown-textarea + improve column display

* Refactor CSS + add ResizeObservable

* Replace bootstrap icons with softies

* Add ResizeObserver typing definition

* Add focus on textarea + Fix Observables

* Propage component changes on markdown plugins

* Ignore ResizeObserver not implemented in typescript yet

* Move observers from constructor to click event

* Add scss and css variables

* Replace textareaWidth with textareaMaxWidth to fix others textareas

* Clean unused css rules

* Fix ResizeObserver unknown by TypeScript compiler

* Set max-width: 100% for small and mobile views

* Fix textarea/preview height on maximized mode

* Add common padding textarea/preview side-by-side

* Hide scrollbar sub-menu on small-views

* Add maximized mode for mobile views

* Fix sass calculate syntax

* Revert custom CSS variable for inputBorderRadius and inputBorderColor

* Remove unsued methods

* Fix missing implement method

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-28 14:53:43 +02:00
Kim 4682468d4d
Fix broken views on mobile and small screens (#2671)
* Fix mobile CSS for my-account-settings

* Fix mobile CSS for my-account-videos

* Fix mobile CSS my-account-video-channels

* Fix mobile CSS for my-account-playlists

* Fix CSS mobile for user-subscriptions header

* Fix CSS mobile my-account-video-channel-edit

* Fix CSS mobile / small view for textarea

* Fix margin-right my-delete-button on inside span

* Fix CSS mobile on accounts page

* Fix indent

* Fix CSS mobile for my-account-notifications

* Fix CSS mobile / small view my-account-videos

* Fix search small-view channels

* Use miniature width for title of video on mobile

* Add dots to ellipsis multilines

* Fix controls and title video width small views

* Fix my-account-playlist small and mobile views

* Fix channels header + account header mobile

* Fix CSS mobile/small view for my-account/subscriptions

* Fix align followers channel item

* Center header elements user account page on mobile

* Fix margins on a element and img

* Fix margin img channel or video

Co-Authored-By: Rigel Kent <par@rigelk.eu>

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-04-27 14:57:50 +02:00
Kim 9181bc0c80
Make video-add-nav tabs scrollable on small devices (#2677)
* Make video-add-nav tabs scrollable on small devices

* Handle video-add-nav scroll with menu

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-27 08:59:19 +02:00
Kim 8c7725dc3c
Add markdown support to plugins (#2654)
* Add markdown renderer to plugins

* Chore: add doc for markdown plugins

* Fix typing markdown plugin helpers

* Add lines between components in template

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 14:51:24 +02:00
Kim b1770a0af4
Add thumbnail / preview generation from url on the fly (#2646)
* Add thumbnails generation on the fly to URL import

* Display generated preview to import first edit

* Use ternary to get type inference

* Move preview/thumbnail test just after import

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 10:28:38 +02:00
Chocobozzz bb3933ef37
Fix unknown video language label 2020-04-16 17:04:02 +02:00
Chocobozzz 891bc2ffad
Support rel="me" links in markdown 2020-04-16 16:13:28 +02:00
Kim 437e8e06eb
Add custom modal to plugin helpers (#2631)
* Add custom modal component

* Add custom modal to app and plugins helpers

* Fixes custom modal component

* Add doc for custom modal

* Fix newline end of file html and scss files

* Move my-custom-modal component outside component for UserLoggedIn modals

* Move initializeCustomModal to ngAfterViewInit()

* Wrap events and conditionnals

* Replace ng-show with ngIf*

* Add modalRef to open only one modal + onCloseClick

* Refacto + Fix access methods of custom modal

* Fix methods names custom-modal.component

* Fix implement AfterViewInit & no default boolean

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 15:35:41 +02:00
Chocobozzz 45c14ae1b2
Update translations 2020-04-15 14:39:59 +02:00
Chocobozzz 62068f4153
Merge branch 'pr/2629' into develop 2020-04-15 14:16:40 +02:00
Chocobozzz f757be65b8
Better plugin notifier typings 2020-04-15 09:21:06 +02:00
Kim 74c2dece42
Add notifier to plugin helpers (#2627)
* Add notifier to client PeerTubeHelpers plugin

* Add doc for notifier PeerTubeHelpers

* Add getBaseClientScriptsRoute to client PeerTubeHelpers plugin

* Add doc for getBaseClientScriptsRoute PeerTubeHelpers

* Remove unused helper

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 09:08:59 +02:00
Rigel Kent bb152476c8 Refactor follow/mute as modals in admin, add actions in abuse list 2020-04-14 15:53:37 +02:00
kimsible 50ad0a1c16 Add getSubs to YoutubeDL video import 2020-04-14 14:39:30 +02:00
Chocobozzz e713698f3d
Fix cancel upload 2020-04-14 09:54:22 +02:00
Chocobozzz 8e4aff44b0
Fix lint 2020-04-14 09:46:42 +02:00
Rigel Kent 471ee39496
Fix lint 2020-04-14 01:38:41 +02:00
Rigel Kent d6af81469b
Rich reporter field and video embed in moderation abuse list 2020-04-13 19:57:57 +02:00
Rigel Kent 2bc9bd08cd
Improving select displays, focus box-shadows for paginators, instructions for index url 2020-04-13 18:03:21 +02:00
Rigel Kent 92e4ca0d95
Fix my-video-imports display when a video gets deleted 2020-04-12 14:11:17 +02:00
Rigel Kent 66be521333
Revert 41a94d0, keep the fix for years 2020-04-12 11:10:44 +02:00
Rigel Kent 1242fd55f9
Improve from-now pipe readability 2020-04-11 19:05:11 +02:00
Rigel Kent 41a94d07f0
Refactor from-now pipe to display the two most significant intervals 2020-04-11 16:05:50 +02:00
Rigel Kent 62eacb4209
Place private/unlisted labels in thumbnail instead of miniature 2020-04-11 16:05:50 +02:00
Rigel Kent 58e1765aff
Remove unused interface section for interface language 2020-04-11 16:05:50 +02:00
Rigel Kent b7e2168115
Improve highlighted comment scrollTo, improve reply comment display 2020-04-10 16:51:02 +02:00
Chocobozzz b1f3b635ed
Improve admin tables row expand 2020-04-08 14:05:55 +02:00
Chocobozzz a911462d02
Increase debug font size 2020-04-08 10:54:39 +02:00
Chocobozzz 8e11a1b37c
Fix sort in admin tables 2020-04-08 10:49:26 +02:00
Chocobozzz 14f83c68f1
Cleanup menu footer links 2020-04-08 10:30:58 +02:00
Chocobozzz 9870329f69
Fix playlist autoplay 2020-04-08 09:41:43 +02:00
Rigel Kent be6343d26e
Fix search after first type on input 2020-04-07 02:20:26 +02:00
Rigel Kent b9177868b3
Fix lint relative to DragDropDirective 2020-04-03 16:56:22 +02:00
Chocobozzz 1fe654e096
Fix peertube interface i18n 2020-04-03 14:56:05 +02:00
Chocobozzz a7d3671dc3
Fix privacy warning ok button placement 2020-04-03 14:56:05 +02:00
Rigel Kent 947d01023d
Improve channel and account display on medium devices 2020-04-03 14:13:28 +02:00
Rigel Kent 6a4c30de0e
Put box-shadow for input focus in variables, apply form-control to p-multiselect 2020-04-03 12:30:56 +02:00
Chocobozzz 23f1b9da15
Fix video add nave hiding 2020-04-03 11:46:43 +02:00
Rigel Kent c9ff8a08a0
Support drag and drop for video upload and torrent file import 2020-04-03 00:22:06 +02:00
Rigel Kent b515c98c6b
Refactor torrent-or-magnet divider in video import 2020-04-03 00:20:02 +02:00
Rigel Kent 22a59f33de
Fix help component border 2020-04-03 00:18:15 +02:00
Rigel Kent 6f02515e2a
Enlarge right column in video-edit on small screens 2020-04-02 17:55:03 +02:00
Rigel Kent a6d5ff7604
Use form-control to display box-shadow on form inputs/selects upon focus 2020-04-02 11:39:14 +02:00
Chocobozzz 45c6bcf312
Remove deprecated NgbTabsetModule module 2020-04-01 16:52:59 +02:00
Chocobozzz 4adebd513e
Client dependencies upgrade 2020-04-01 14:06:46 +02:00
Rigel Kent 6541071b4a Lazy-load video-channels 2020-03-31 10:29:24 +02:00
Rigel Kent 3d527ba173 Use inner join and document code for viewr stats for channels 2020-03-31 10:29:24 +02:00
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 628c155338
Align layout for create/edit video-playlists (my-account) on create/edit user (admin) 2020-03-28 23:54:40 +01:00
Rigel Kent 03a3ad9194
Align layout for create video-channel (my-account) on create user (admin) 2020-03-28 22:53:32 +01: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 677119c914
Remove unnecessary margin 2020-03-20 15:15:37 +01:00
Chocobozzz 6cb5564490
Fix add comment in threads with deleted comments 2020-03-20 14:43:12 +01:00
Chocobozzz 34450e1e55
Update manage labels 2020-03-19 10:29:43 +01:00
Chocobozzz b06904bee1
Fix lint 2020-03-18 15:48:46 +01:00
Chocobozzz 03db5c3f97
Correctly format video duration 2020-03-18 15:46:48 +01:00
Chocobozzz a31bec5155
Fix user role edition 2020-03-18 10:22:36 +01:00
Chocobozzz fad0759cab
Add padding bottom to main container 2020-03-18 10:11:59 +01:00
Chocobozzz d2cc8e797b
Fix P2P message 2020-03-18 10:04:14 +01:00
Rigel Kent 6dd873d6a9
Fix next video button to support playlist videos
fixes #2523
2020-03-17 15:05:30 +01:00
Rigel Kent 79671021e2
Fix video-ccomment-add cancellation 2020-03-15 16:05:37 +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 8c966daab3
Normalize create buttons 2020-03-13 01:43:52 +01:00
Rigel Kent df8914c9a2
More modern avatar upload, quota represented with progress bars 2020-03-13 01:43:52 +01:00
Rigel Kent 8227643bce
hide RSS for comments, normalize video-channel edit with account edit 2020-03-12 00:46:48 +01:00
Rigel Kent c9ad38f4cb
Declutter interface, hide RSS until hovering section title 2020-03-11 22:31:17 +01:00
Rigel Kent 45e0d6697c
Properly scroll to anchors in links, especially in admin config 2020-03-11 19:38:17 +01:00
Chocobozzz 111fdc267b
Handle overview pagination in client 2020-03-11 16:45:09 +01:00
Rigel Kent 310e95d857
Add descriptions and links to admin configuration sections 2020-03-11 13:52:02 +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
BitTube cf387740f2
Action hook: thread replies loaded (#2550)
* Add thread replies hook onLoaded

* Cleaning spaces

* Fixing travis CI lint errors (spaces)

* Fixing travis 'irregular whitespace not allowed'

* Changing action name for consistency

Co-authored-by: ICabaleiro <i.cabaleiro@devcups.com>
2020-03-11 09:59:41 +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 9b3078581f
Replace helpers with descriptions in admin configuration 2020-03-10 21:46:19 +01:00
Chocobozzz ac940348cd
Fix lint 2020-03-10 16:37:25 +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
Chocobozzz edb868655e
Fix lint 2020-03-10 14:08:42 +01:00
Rigel Kent 937b7a6af8
Better display of accounts and channel pages on small screens 2020-03-09 10:22:11 +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 0503e975b1
Fix lint error introduced in #2539 2020-03-06 13:10:34 +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
Rigel Kent 5ed19b4b8b
Remove accounts from hinted potential search targets 2020-03-05 22:00:40 +01:00
Chocobozzz 0840ca76a2
Add action hook, comments loaded (#2539)
* Adding action hook for video watch comments loaded

* Adding requested changes for PR #2539
2020-03-05 13:14:26 +01:00
Rigel Kent 52e3beb90d
Switch back to original text in privacy-concerns warning 2020-03-05 10:01:57 +01:00
Chocobozzz b0e769bbf6
Add ability to override search endpoint 2020-03-04 16:11:21 +01:00
BitTube 34102d19a1
Fixing load more comments on infinite scroll (#2535)
* Fixing load more comments on infinite scroll

* Requested changes for load more comments fix

* Removing extra space
2020-03-04 14:03:37 +01:00
Chocobozzz 340ce5c52f
Fix i18n generation 2020-02-28 14:09:18 +01:00
Chocobozzz 8ada87ac50
Fix lint 2020-02-28 13:54:31 +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
Chocobozzz 818c449b3c
Merge branch 'release/2.1.0' into develop 2020-02-26 15:26:02 +01:00
Chocobozzz c002261381
Correctly fix menu overflow on mobile 2020-02-26 15:25:09 +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 14571f1995
Replace uppercase text-transform by capitalized text source
fixes #2085
2020-02-21 16:51:34 +01:00
Chocobozzz 4c1def5fd8
Merge branch 'release/2.1.0' into develop 2020-02-20 10:43:33 +01:00
Chocobozzz c06be12950
Fix scroll menu on touch devices 2020-02-20 10:43:07 +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 017fbe1855
Fix instance get config 2020-02-17 11:56:28 +01:00
Chocobozzz ec10e8ed5b
Fix playlist cache error 2020-02-17 11:47:47 +01:00
Chocobozzz 4c1c170934
Refactor email enabled function 2020-02-17 10:27:00 +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 c4be50cd94
Fix search instructions for videos 2020-02-13 17:12:02 +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 ece3029bd9
Media queries to use variables when possible 2020-02-13 16:34:16 +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 52cc0d5485
Gracefully downsize search bar for mobile devices 2020-02-13 16:32:58 +01:00
Rigel Kent 6af662a596
Add keyboard navigation and hepler to typeahead 2020-02-13 16:32:21 +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
Chocobozzz 68ca61941e
Fix list overflow when refreshing the page 2020-02-13 10:41:43 +01:00
Chocobozzz 72ab1bc82d
Fix menu z-index on mobile on watch page 2020-02-13 10:28:42 +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
Chocobozzz 8cc56c7fdd
Only use basehref
Will allow us to use the localize option
2020-02-12 14:09:55 +01:00
Chocobozzz 5289137643
Remove resume parameter when sharing a video 2020-02-10 16:49:40 +01:00
Chocobozzz 3fa9efa0c7 Lint components 2020-02-10 16:39:28 +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 361dcebc75 Support i18n build 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
Chocobozzz 338eb9d33a
Merge branch 'release/2.1.0' into develop 2020-02-07 09:10:59 +01:00
Chocobozzz 99d362de0c
Support wma and wav audio files 2020-02-07 09:02:04 +01:00
Chocobozzz 0b1de58658
Fix i18n 2020-02-04 17:16:09 +01:00
Rigel Kent cbdbdae05e
Rephrase account/channel signup description 2020-02-03 18:14:31 +01:00
DontUseGithub 1bd4d4eb18 text rewording (2)
>  The channel name is a unique identifier of your channel on this and all the other instances.

this is true if we consider "cats@domain.com" as "a channel". If by "a channel" you only mean "cats" then the text needs to be changed to something like:

> The channel name is a unique identifier of your channel on this instance. Together with the domain name - it becomes unique across all instances.

In any case, English native speakers I'm open to suggestions on how to improve this :)
2020-02-03 16:09:44 +01:00
DontUseGithub ebd8ff6457 text rewording
>  The username is a unique identifier of your account on this and all the other instances.

this is true if we consider "john@domain.com" as "an account". If by "an account" you only mean "john" then the text needs to be changed to something like:

> The username is a unique identifier of your account on this instances. Together with the domain name - it becomes unique across all instances.

In any case, English native speakers I'm open to suggestions on how to improve this :)
2020-02-03 15:47:36 +01:00
Chocobozzz b42f9c400e
Use a resolver for the about page 2020-02-03 10:33:08 +01:00
Filip Bengtsson a2e0046cc9 Clearer description of the options
This is a more clear description of what the options will do.
2020-02-02 12:10:35 +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 fef213cae1
Fix is managaeble for channels 2020-01-22 15:01:38 +01:00
Chocobozzz 496b02e38f
Fix is managaeble error 2020-01-22 14:14:14 +01:00
Chocobozzz f0ad471007
Update a little bit user dropdown message 2020-01-21 14:05:22 +01:00
Chocobozzz 7c1f3e7366
Center search fields (my videos/playlists) 2020-01-21 13:58:33 +01:00
Rigel Kent 9b82d49da8 Add action dropdown descriptions 2020-01-21 11:59:41 +01:00
Chocobozzz 21e6dc811d
Cleanup login form 2020-01-21 11:03:46 +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 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 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
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 a004ff1726
Add naive aggregation from channels to account display of subscribers 2020-01-10 16:23:55 +01:00
Rigel Kent 333952bc64
Reinstate routerLink property of upload button 2020-01-10 15:52:25 +01:00