Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Joe Milazzo 2024-11-14 09:08:05 -06:00 committed by GitHub
parent 7ffb1fb25e
commit 06768bce3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 6 deletions

View File

@ -130,9 +130,12 @@ public class ServerSettingConverter : ITypeConverter<IEnumerable<ServerSetting>,
destination.FirstInstallVersion = row.Value;
break;
case ServerSettingKey.LicenseKey:
break;
case ServerSettingKey.EnableAuthentication:
case ServerSettingKey.EmailServiceUrl:
case ServerSettingKey.ConvertBookmarkToWebP:
case ServerSettingKey.ConvertCoverToWebP:
default:
throw new ArgumentOutOfRangeException();
break;
}
}

View File

@ -106,6 +106,9 @@ public class Program
// v0.8.2
await ManualMigrateSwitchToWal.Migrate(context, logger);
// v0.8.4
await ManualMigrateEncodeSettings.Migrate(context, logger);
}
catch (Exception ex)
{

View File

@ -276,7 +276,6 @@ public class Startup
await ManualMigrateRemovePeople.Migrate(dataContext, logger);
await MigrateDuplicateDarkTheme.Migrate(dataContext, logger);
await ManualMigrateUnscrobbleBookLibraries.Migrate(dataContext, logger);
await ManualMigrateEncodeSettings.Migrate(dataContext, logger);
// Update the version in the DB after all migrations are run
var installVersion = await unitOfWork.SettingsRepository.GetSettingAsync(ServerSettingKey.InstallVersion);

View File

@ -9078,9 +9078,9 @@
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
},
"node_modules/ws": {
"version": "7.5.9",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
"integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
"version": "7.5.10",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
"integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
"engines": {
"node": ">=8.3.0"
},