+
+
dns
+
{{ config.name }}
-
-
more_vert
+
+ more_vert
+
+
+
+
+
{{ $strings.MessageOldServerConnectionWarning }}
+
{{ $strings.LabelMoreInfo }}
@@ -141,6 +148,16 @@ export default {
}
},
methods: {
+ showOldUserIdWarningDialog() {
+ Dialog.alert({
+ title: 'Old Server Connection Warning',
+ message: this.$strings.MessageOldServerConnectionWarningHelp,
+ cancelText: 'OK'
+ })
+ },
+ checkIdUuid(userId) {
+ return /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(userId)
+ },
/**
* Initiates the login process using OpenID via OAuth2.0.
* 1. Verifying the server's address
diff --git a/strings/en-us.json b/strings/en-us.json
index c3f6d664..8504a7dd 100644
--- a/strings/en-us.json
+++ b/strings/en-us.json
@@ -308,6 +308,8 @@
"MessageNoSeries": "No series",
"MessageNoUpdatesWereNecessary": "No updates were necessary",
"MessageNoUserPlaylists": "You have no playlists",
+ "MessageOldServerConnectionWarning": "Server connection config is using an old user ID. Please delete and re-add this server connection.",
+ "MessageOldServerConnectionWarningHelp": "You originally set up the connection to this server prior to the database migration in 2.3.0, released June 2023. A future server update will remove the ability to sign in with this old connection. Please delete the existing server connection and connect again (using the same server address and credentials). If you have any downloaded media on this device, the media will need to be downloaded again to sync with the server.",
"MessagePodcastSearchField": "Enter search term or RSS feed URL",
"MessageReportBugsAndContribute": "Report bugs, request features, and contribute on",
"MessageSeriesAlreadyDownloaded": "You have already downloaded all books in this series.",