mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove broken features from user settings
This commit is contained in:
parent
f716315056
commit
329a6feafc
6 changed files with 15 additions and 35 deletions
|
@ -140,32 +140,13 @@
|
|||
</div>
|
||||
<div class="fieldDescription">${OptionAllowRemoteSharedDevicesHelp}</div>
|
||||
</div>
|
||||
<div class="verticalSection">
|
||||
<h2 class="checkboxListLabel">${HeaderDownloadSync}</h2>
|
||||
<div class="checkboxList paperList" style="padding:.5em 1em;">
|
||||
<h2 class="checkboxListLabel">${Other}</h2>
|
||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableDownloading" />
|
||||
<span>${OptionAllowContentDownloading}</span>
|
||||
<span>${OptionAllowContentDownload}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableSyncTranscoding" />
|
||||
<span>${OptionAllowSyncTranscoding}</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableConversion" />
|
||||
<span>${AllowMediaConversion}</span>
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${AllowMediaConversionHelp}</div>
|
||||
</div>
|
||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkEnableSharing" />
|
||||
<span>${OptionAllowLinkSharing}</span>
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription sharingHelp"></div>
|
||||
<div class="fieldDescription checkboxFieldDescription">${OptionAllowContentDownloadHelp}</div>
|
||||
</div>
|
||||
<div class="checkboxContainer checkboxContainer-withDescription" id="fldIsEnabled">
|
||||
<label>
|
||||
|
|
|
@ -97,9 +97,6 @@ import globalize from 'globalize';
|
|||
$('#chkEnableVideoPlaybackRemuxing', page).prop('checked', user.Policy.EnablePlaybackRemuxing);
|
||||
$('#chkForceRemoteSourceTranscoding', page).prop('checked', user.Policy.ForceRemoteSourceTranscoding);
|
||||
$('#chkRemoteAccess', page).prop('checked', user.Policy.EnableRemoteAccess == null || user.Policy.EnableRemoteAccess);
|
||||
$('#chkEnableSyncTranscoding', page).prop('checked', user.Policy.EnableSyncTranscoding);
|
||||
$('#chkEnableConversion', page).prop('checked', user.Policy.EnableMediaConversion || false);
|
||||
$('#chkEnableSharing', page).prop('checked', user.Policy.EnablePublicSharing);
|
||||
$('#txtRemoteClientBitrateLimit', page).val(user.Policy.RemoteClientBitrateLimit / 1e6 || '');
|
||||
$('#txtLoginAttemptsBeforeLockout', page).val(user.Policy.LoginAttemptsBeforeLockout || '0');
|
||||
$('#txtMaxActiveSessions', page).val(user.Policy.MaxActiveSessions || '0');
|
||||
|
@ -133,9 +130,6 @@ import globalize from 'globalize';
|
|||
user.Policy.EnablePlaybackRemuxing = $('#chkEnableVideoPlaybackRemuxing', page).is(':checked');
|
||||
user.Policy.ForceRemoteSourceTranscoding = $('#chkForceRemoteSourceTranscoding', page).is(':checked');
|
||||
user.Policy.EnableContentDownloading = $('#chkEnableDownloading', page).is(':checked');
|
||||
user.Policy.EnableSyncTranscoding = $('#chkEnableSyncTranscoding', page).is(':checked');
|
||||
user.Policy.EnableMediaConversion = $('#chkEnableConversion', page).is(':checked');
|
||||
user.Policy.EnablePublicSharing = $('#chkEnableSharing', page).is(':checked');
|
||||
user.Policy.EnableRemoteAccess = $('#chkRemoteAccess', page).is(':checked');
|
||||
user.Policy.RemoteClientBitrateLimit = parseInt(1e6 * parseFloat($('#txtRemoteClientBitrateLimit', page).val() || '0'));
|
||||
user.Policy.LoginAttemptsBeforeLockout = parseInt($('#txtLoginAttemptsBeforeLockout', page).val() || '0');
|
||||
|
|
|
@ -51,7 +51,9 @@ import globalize from 'globalize';
|
|||
$('.channelAccessContainer', page).hide();
|
||||
}
|
||||
|
||||
$('#chkEnableAllChannels', page).prop('checked', user.Policy.EnableAllChannels);
|
||||
const chkEnableAllChannels = page.querySelector('#chkEnableAllChannels');
|
||||
chkEnableAllChannels.checked = user.Policy.EnableAllChannels;
|
||||
triggerChange(chkEnableAllChannels);
|
||||
}
|
||||
|
||||
function loadDevices(page, user, devices) {
|
||||
|
@ -67,7 +69,9 @@ import globalize from 'globalize';
|
|||
|
||||
html += '</div>';
|
||||
$('.deviceAccess', page).show().html(html);
|
||||
$('#chkEnableAllDevices', page).prop('checked', user.Policy.EnableAllDevices);
|
||||
const chkEnableAllDevices = page.querySelector('#chkEnableAllDevices');
|
||||
chkEnableAllDevices.checked = user.Policy.EnableAllDevices;
|
||||
triggerChange(chkEnableAllDevices);
|
||||
|
||||
if (user.Policy.IsAdministrator) {
|
||||
page.querySelector('.deviceAccessContainer').classList.add('hide');
|
||||
|
|
|
@ -1235,7 +1235,7 @@
|
|||
"SelectAdminUsername": "Please select a username for the admin account.",
|
||||
"ButtonSplit": "Split",
|
||||
"HeaderNavigation": "Navigation",
|
||||
"OptionForceRemoteSourceTranscoding": "Force transcoding of remote media sources (like LiveTV)",
|
||||
"OptionForceRemoteSourceTranscoding": "Force transcoding of remote media sources such as Live TV",
|
||||
"MessageConfirmAppExit": "Do you want to exit?",
|
||||
"LabelVideoResolution": "Video resolution:",
|
||||
"LabelStreamType": "Stream type:",
|
||||
|
|
|
@ -1004,10 +1004,11 @@
|
|||
"OptionAdminUsers": "Administrators",
|
||||
"OptionAllUsers": "All users",
|
||||
"OptionAllowAudioPlaybackTranscoding": "Allow audio playback that requires transcoding",
|
||||
"OptionForceRemoteSourceTranscoding": "Force transcoding of remote media sources (like LiveTV)",
|
||||
"OptionForceRemoteSourceTranscoding": "Force transcoding of remote media sources such as Live TV",
|
||||
"OptionAllowBrowsingLiveTv": "Allow Live TV access",
|
||||
"OptionAllowContentDownloading": "Allow media downloading and syncing",
|
||||
"OptionAllowContentDownload": "Allow media downloads",
|
||||
"OptionAllowLinkSharing": "Allow social media sharing",
|
||||
"OptionAllowContentDownloadHelp": "Users can download media and store it on their devices. This is not the same as a sync feature. Book libraries require this enabled to function properly.",
|
||||
"OptionAllowLinkSharingHelp": "Only web pages containing media information are shared. Media files are never shared publicly. Shares are time-limited and will expire after {0} days.",
|
||||
"OptionAllowManageLiveTv": "Allow Live TV recording management",
|
||||
"OptionAllowMediaPlayback": "Allow media playback",
|
||||
|
|
|
@ -832,7 +832,7 @@
|
|||
"OptionAdminUsers": "Administrators",
|
||||
"OptionAllUsers": "All users",
|
||||
"OptionAllowAudioPlaybackTranscoding": "Allow audio playback that requires transcoding",
|
||||
"OptionForceRemoteSourceTranscoding": "Force transcoding of remote media sources (like LiveTV)",
|
||||
"OptionForceRemoteSourceTranscoding": "Force transcoding of remote media sources such as Live TV",
|
||||
"OptionAllowBrowsingLiveTv": "Allow Live TV access",
|
||||
"OptionAllowContentDownloading": "Allow media downloading and syncing",
|
||||
"OptionAllowLinkSharing": "Allow social media sharing",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue