diff --git a/zefie_wtvp_minisrv/ServiceDeps/templates/wtv-mail/welcomeMail.txt b/zefie_wtvp_minisrv/ServiceDeps/templates/wtv-mail/welcomeMail.txt index c2926f2d..5b0acbd2 100644 --- a/zefie_wtvp_minisrv/ServiceDeps/templates/wtv-mail/welcomeMail.txt +++ b/zefie_wtvp_minisrv/ServiceDeps/templates/wtv-mail/welcomeMail.txt @@ -3,7 +3,7 @@ Subject: Welcome to minisrv! Thank you for test driving minisrv! -minisrv aims to provide a simalar experience as the production WebTV Services. +minisrv aims to provide a simular experience as the production WebTV Services. You can enjoy fun features as they are released, such as WebTV Mail, WebTV Chat, Usenet, customing your signature settings which also support custom HTML abilities. You can use Mail to send internal email to others by emailing theirusername@${service_name}, replacing "theirusername" with the user's actual username. diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-home/splash.js b/zefie_wtvp_minisrv/ServiceVault/wtv-home/splash.js index 179e0a34..53ed0693 100644 --- a/zefie_wtvp_minisrv/ServiceVault/wtv-home/splash.js +++ b/zefie_wtvp_minisrv/ServiceVault/wtv-home/splash.js @@ -10,7 +10,7 @@ data = ` Engaging zefie... - + diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-setup/setup.js b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/setup.js index ebee2778..a2073e56 100644 --- a/zefie_wtvp_minisrv/ServiceVault/wtv-setup/setup.js +++ b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/setup.js @@ -128,7 +128,9 @@ data += `
Dialing
- +
+ +Tweaks

@@ -157,7 +159,8 @@ Configure Messenger
`; data += `
Connecting to WebTV
- +
+minisrv specific settings
diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-setup/tweaks.js b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/tweaks.js new file mode 100644 index 00000000..b5f8f4da --- /dev/null +++ b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/tweaks.js @@ -0,0 +1,124 @@ +var minisrv_service_file = true; + + +headers = `200 OK +Connection: Keep-Alive +wtv-expire-all: wtv-setup:/tweaks +Content-Type: text/html` + +data = ` + + + +Tweaks and extra configuration + + + + + + +
+ + +
+ + + +
+ +
+
+
+ +
+ +
+
+ +
+
+
+ +
+
+
+ + + + + + + + + + + + + + +
+ + + +
+ +Tweaks and extra config +
+
+
+ + +
+ +
+ + + +
+ + +
+Speeds up the splash logo page +by not waiting for the splash music to finish. +
+
+ +
+ + +
+ + +
+ + + +FastSplash™ +
+
+
+
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+
+
+ + +`; \ No newline at end of file diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js new file mode 100644 index 00000000..a93a9b0f --- /dev/null +++ b/zefie_wtvp_minisrv/ServiceVault/wtv-setup/validate-tweaks.js @@ -0,0 +1,13 @@ +var minisrv_service_file = true; + + +var fast_splash = wtvshared.parseBool(request_headers.query.fast_splash); + + +session_data.set("fast_splash", fast_splash); + +headers = `200 OK +Connection: Keep-Alive +wtv-expire-all: wtv- +wtv-expire-all: http +Content-Type: text/html` diff --git a/zefie_wtvp_minisrv/includes/WTVShared.js b/zefie_wtvp_minisrv/includes/WTVShared.js index 8af0b0f1..60b114d5 100644 --- a/zefie_wtvp_minisrv/includes/WTVShared.js +++ b/zefie_wtvp_minisrv/includes/WTVShared.js @@ -86,7 +86,7 @@ class WTVShared { if (typeof val === 'string') val = val.toLowerCase(); - return (val === true || val === "true" || val === 1); + return (val === true || val == "on" || val === "true" || val === 1); } diff --git a/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj b/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj index 7cd81de4..0de62671 100644 --- a/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj +++ b/zefie_wtvp_minisrv/zefie_wtvp_minisrv.njsproj @@ -150,6 +150,7 @@ + @@ -977,7 +978,7 @@ - + @@ -1012,6 +1013,9 @@ Code + + Code + @@ -1182,6 +1186,7 @@ +