ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix overflow in select inputs
Chocobozzz108af6614071
diff --git a/client/src/app/videos/+video-edit/video-add.component.html b/client/src/app/videos/+video-edit/video-add.component.htmlindex 20277423c8..193cc55eed 100644--- a/client/src/app/videos/+video-edit/video-add.component.html+++ b/client/src/app/videos/+video-edit/video-add.component.html@@ -11,7 +11,7 @@<div class="button-file"><span>Select the file to upload</span>- <input #videofileInput type="file" name="videofile" id="videofile" (change)="fileChange()" />+ <input #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" /></div><div class="form-group form-group-channel">@@ -42,8 +42,8 @@<!-- Hidden because we need to load the component --><form [hidden]="!isUploadingVideo" novalidate [formGroup]="form"><my-video-edit- [form]="form" [formErrors]="formErrors"- [validationMessages]="validationMessages" [videoPrivacies]="videoPrivacies" [userVideoChannels]="userVideoChannels"+ [form]="form" [formErrors]="formErrors"+ [validationMessages]="validationMessages" [videoPrivacies]="videoPrivacies" [userVideoChannels]="userVideoChannels"></my-video-edit>diff --git a/client/src/app/videos/+video-edit/video-add.component.ts b/client/src/app/videos/+video-edit/video-add.component.tsindex 8434756474..066f945fcb 100644--- a/client/src/app/videos/+video-edit/video-add.component.ts+++ b/client/src/app/videos/+video-edit/video-add.component.ts@@ -52,6 +52,10 @@ export class VideoAddComponent extends FormReactive implements OnInit {super()}+ get videoExtensions () {+ return this.serverService.getConfig().video.file.extensions.join(',')+ }+buildForm () {this.form = this.formBuilder.group({})this.form.valueChanges.subscribe(data => this.onValueChanged(data))diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scssindex 7bfc93f08c..1237e675d4 100644--- a/client/src/sass/include/_mixins.scss+++ b/client/src/sass/include/_mixins.scss@@ -146,7 +146,7 @@}select {- padding: 0 12px;+ padding: 0 35px 0 12px;width: calc(100% + 2px);position: relative;left: 1px;@@ -156,6 +156,7 @@appearance: none;cursor: pointer;height: $button-height;+ text-overflow: ellipsis;&:focus {outline: none;diff --git a/server/controllers/activitypub/client.ts b/server/controllers/activitypub/client.tsindex 7174739124..d1a7617246 100644--- a/server/controllers/activitypub/client.ts+++ b/server/controllers/activitypub/client.ts@@ -16,7 +16,7 @@ import { VideoShareModel } from '../../models/video/video-share'const activityPubClientRouter = express.Router()-activityPubClientRouter.get('/accounts/:name',+activityPubClientRouter.get('/accounts?/:name',executeIfActivityPub(asyncMiddleware(localAccountValidator)),executeIfActivityPub(accountController))