mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add public user listing option to networking settings
This commit is contained in:
parent
cf6a3d052b
commit
a1c5886263
3 changed files with 16 additions and 0 deletions
|
@ -47,6 +47,15 @@
|
|||
<input is="emby-input" type="text" id="txtKnownProxies" label="${LabelKnownProxies}" />
|
||||
<div class="fieldDescription">${KnownProxiesHelp}</div>
|
||||
</div>
|
||||
|
||||
<div class="selectContainer">
|
||||
<select is="emby-select" id="selectPublicUserListing" label="${LabelPublicUserListing}">
|
||||
<option value="never">${Never}</option>
|
||||
<option value="always">${Always}</option>
|
||||
<option value="local">${Local}</option>
|
||||
</select>
|
||||
<div class="fieldDescription">${LabelPublicUserListingHelp}</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class='verticalSection verticalSection-extrabottompadding'>
|
||||
|
|
|
@ -55,6 +55,8 @@ function onSubmit(e) {
|
|||
config.RequireHttps = form.querySelector('#chkRequireHttps').checked;
|
||||
config.BaseUrl = form.querySelector('#txtBaseUrl').value;
|
||||
config.EnableRemoteAccess = form.querySelector('#chkRemoteAccess').checked;
|
||||
config.PublicUserListing = form.querySelector('#selectPublicUserListing').value === 'always' || form.querySelector('#selectPublicUserListing').value === 'local';
|
||||
config.PublicUserListingLocalOnly = form.querySelector('#selectPublicUserListing').value === 'local';
|
||||
config.CertificatePath = form.querySelector('#txtCertificatePath').value || null;
|
||||
config.CertificatePassword = form.querySelector('#txtCertPassword').value || null;
|
||||
config.AutoDiscovery = form.querySelector('#chkAutodiscovery').checked;
|
||||
|
@ -142,6 +144,7 @@ export default function (view) {
|
|||
page.querySelector('#chkEnableIP6').checked = config.EnableIPv6;
|
||||
page.querySelector('#chkEnableIP4').checked = config.EnableIPv4;
|
||||
page.querySelector('#txtPublishedServer').value = (config.PublishedServerUriBySubnet || []).join(', ');
|
||||
page.querySelector('#selectPublicUserListing').value = config.PublicUserListingLocalOnly && config.PublicUserListing ? 'local' : config.PublicUserListing ? 'always' : 'never';
|
||||
loading.hide();
|
||||
}
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
"AllowStreamSharingHelp": "Allow Jellyfin to duplicate the mpegts stream from tuner and share this duplicated stream to its clients. This is useful when the tuner has total stream count limit but may also cause playback issues.",
|
||||
"Alternate" : "Alternate",
|
||||
"AlternateDVD" : "Alternate DVD",
|
||||
"Always": "Always",
|
||||
"AlwaysBurnInSubtitleWhenTranscoding": "Always burn in subtitle when transcoding",
|
||||
"AlwaysBurnInSubtitleWhenTranscodingHelp": "Burn in all subtitles when transcoding is triggered. This ensures subtitle synchronization after transcoding at the cost of reduced transcoding speed.",
|
||||
"LabelThrottleDelaySeconds": "Throttle after",
|
||||
|
@ -851,6 +852,8 @@
|
|||
"LabelPublicHttpPortHelp": "The public port number that should be mapped to the local HTTP port.",
|
||||
"LabelPublicHttpsPort": "Public HTTPS port number",
|
||||
"LabelPublicHttpsPortHelp": "The public port number that should be mapped to the local HTTPS port.",
|
||||
"LabelPublicUserListing": "Public user listing",
|
||||
"LabelPublicUserListingHelp": "If set to Never all users will be hidden from the login screen when accessing Jellyfin. If set to Always or Local, make sure to disable 'hide this user from login screens' for user accounts that need to be listed. For Local to work correctly, 'LAN networks' and 'Known proxies' should be configured to allow Jellyfin to properly distinguish local and remote/external clients. Listing users publicly is a security risk.",
|
||||
"LabelPublishedServerUri": "Published Server URIs",
|
||||
"LabelPublishedServerUriHelp": "Override the URI used by Jellyfin, based on the interface, or client IP address. For example: internal=http://jellyfin.example.com, external=https://jellyfin.example.com, or all=https://jellyfin.example.com",
|
||||
"LabelQsvDevice": "QSV Device",
|
||||
|
@ -1030,6 +1033,7 @@
|
|||
"Live": "Live",
|
||||
"LiveBroadcasts": "Live broadcasts",
|
||||
"LiveTV": "Live TV",
|
||||
"Local": "Local",
|
||||
"Localization": "Localization",
|
||||
"LogLevel.Trace": "Trace",
|
||||
"LogLevel.Debug": "Debug",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue