aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html12
-rw-r--r--client/src/app/+admin/follows/follows.routes.ts7
2 files changed, 16 insertions, 3 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
index c9533208a..37989cb59 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
+++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
@@ -267,14 +267,22 @@
267 <my-peertube-checkbox 267 <my-peertube-checkbox
268 inputName="importVideosHttpEnabled" formControlName="enabled" 268 inputName="importVideosHttpEnabled" formControlName="enabled"
269 i18n-labelText labelText="Allow import with HTTP URL (e.g. YouTube)" 269 i18n-labelText labelText="Allow import with HTTP URL (e.g. YouTube)"
270 ></my-peertube-checkbox> 270 >
271 <ng-container ngProjectAs="description">
272 <span i18n>⚠️ If enabled, we recommend to use <a href="https://docs.joinpeertube.org/maintain-configuration?id=security">a HTTP proxy</a> to prevent private URL access from your PeerTube server</span>
273 </ng-container>
274 </my-peertube-checkbox>
271 </div> 275 </div>
272 276
273 <div class="form-group" formGroupName="torrent"> 277 <div class="form-group" formGroupName="torrent">
274 <my-peertube-checkbox 278 <my-peertube-checkbox
275 inputName="importVideosTorrentEnabled" formControlName="enabled" 279 inputName="importVideosTorrentEnabled" formControlName="enabled"
276 i18n-labelText labelText="Allow import with a torrent file or a magnet URI" 280 i18n-labelText labelText="Allow import with a torrent file or a magnet URI"
277 ></my-peertube-checkbox> 281 >
282 <ng-container ngProjectAs="description">
283 <span i18n>⚠️ We don't recommend to enable this feature if you don't trust your users</span>
284 </ng-container>
285 </my-peertube-checkbox>
278 </div> 286 </div>
279 287
280 </ng-container> 288 </ng-container>
diff --git a/client/src/app/+admin/follows/follows.routes.ts b/client/src/app/+admin/follows/follows.routes.ts
index 1825ce278..718493dc7 100644
--- a/client/src/app/+admin/follows/follows.routes.ts
+++ b/client/src/app/+admin/follows/follows.routes.ts
@@ -42,7 +42,12 @@ export const FollowsRoutes: Routes = [
42 }, 42 },
43 { 43 {
44 path: 'video-redundancies-list', 44 path: 'video-redundancies-list',
45 component: VideoRedundanciesListComponent 45 component: VideoRedundanciesListComponent,
46 data: {
47 meta: {
48 title: $localize`Redundancy`
49 }
50 }
46 } 51 }
47 ] 52 ]
48 } 53 }