- numerous bug fixes
 - wtv-mail system
 - user account updates
 - viewergen alpha (experimental webtv viewer patcher on pc_service)
 - implement wtv-favorites with huge help from @JarHead4
 - add wtv-ticket store api
 - Bump vm2 from 3.9.5 to 3.9.7 in /zefie_wtvp_minisrv
 - fix bf0app default rom
 - Add wtv-1800 service to wtv-1800:/noflash
 - handle webtvism:
   - allow get/post variables to be the same name multiple times
   - rather than overwrite, the server will now change the variable from a string to an array.
 - Rewrite script processing a bit
   - Instead of using eval() we now use a proper VM Context
   - As a result, any scripting errors will now give a more useful filename and line number.
   - However, some things may break, if they are dependant on variables we are not allowing in the context.
 - BREAKING CHANGES:
   - `ssid_sessions[socket.ssid]` is now `session_data`
   - `require` is no longer allowed in user scripts
 - add star service
 - change how we handle modules for services in the VM
 - fixed wtv-disk:/sync always failed the first time
 - implement production-like wtv-star handling (when a service port becomes unavailable, it requests the url over the wtv-star port to show an error page)
 - renamed WTVDownloadList.js to WTVDisk.js
 - a bit more work on WTVNews (created class)
 - probably more stuff I can't remember
This commit is contained in:
zefie
2021-11-10 23:38:15 -05:00
parent 4544e815cb
commit 1165b245ce
1411 changed files with 31570 additions and 2198 deletions

View File

@@ -0,0 +1,104 @@
data = `
<html>
<head>
<title>Writing E-Mail</title>
<display
noscroll
showwhencomplete
>
</head>
<body hspace=0 vspace=0
text='E6E6E6' link='E6E6E6' vlink='E6E6E6'
fontsize='medium'
bgcolor=00292f
>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=560 height=96 valign=top>
<table background="wtv-guide:/ROMCache/help/common/helpMastheadBlank.swf" width=560 height=96 cellspacing=0 cellpadding=0>
<tr>
<td width=107 height=96 valign=top rowspan=2>
<spacer type=vertical height=7><br>
<spacer type=horizontal width=7>
<a href='wtv-home:/home'>
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
</a>
<td width=453 valign=top>
<spacer type=vertical height=54><br>
<font size=+3><blackface>
Writing E-Mail&nbsp;
</blackface></font>
<tr>
<td align=right>
&nbsp;
</table>
<tr>
<td width=560 valign=top height=225>
<table cellpadding=0 cellspacing=0 width=560>
<tr>
<td width=25 height=17>
<td width=535>
<tr>
<td>
<td height=225 rowspan=2 valign=top>
<table cellpadding=0 cellspacing=0 height=225 width=535>
<tr>
<td height=15>
<tr>
<td>
<td valign=top>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td colspan=3 height=0>
<tr>
<td valign=top width=175 >
To write an e-mail message, follow these steps:
<p><b>Step&nbsp;1</b>
<spacer type=vertical height=20>
First, if you're not already in Mail, choose <b>Mail</b> from `;
if (session_data.hasCap("client-has-tv-experience"))
data += "Web Home"
else
data += "Home"
data += ` or press the <b>Mail</b> key on your keyboard.
<td width=10>
<td width=267 valign=top>
<table align=right cellpadding=0 cellspacing=0 background="`;
if (session_data.hasCap("client-has-tv-experience"))
data += "wtv-guide:/images/home-plus.jpg"
else
data += "wtv-guide:/images/home-classic.jpg"
data += `" width=267 height=200>
<tr>
<td valign=top>
<spacer type=vertical height=30><br><spacer type=horizontal width=95>
<img src="wtv-guide:/images/help/common/arrowUL.gif" width=55 height=79>
</table>
<tr>
<td rowspan=3 height=10>
</table>
</tr>
<td width=35>
<td width=450>
<td width=50>
</table>
</table>
<tr>
<td valign=bottom align=right>
<form>
<font color=ffcf69><shadow>
<input type=button usestyle borderimage="file://ROM/Borders/ButtonBorder2.bif"
action="Writing2"
value="Continue"
width='110'
selected>
<spacer type=horizontal width=20>
</shadow></font>
</form>
</table>
</body>
`;

View File

@@ -0,0 +1,93 @@
data = `
<html>
<head>
<title>Writing E-Mail</title>
<display
noscroll
showwhencomplete
>
</head>
<body hspace=0 vspace=0
text='E6E6E6' link='E6E6E6' vlink='E6E6E6'
fontsize='medium'
bgcolor=00292f
>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=560 height=96 valign=top>
<table background="wtv-guide:/ROMCache/help/common/helpMastheadBlank.swf" width=560 height=96 cellspacing=0 cellpadding=0>
<tr>
<td width=107 height=96 valign=top rowspan=2>
<spacer type=vertical height=7><br>
<spacer type=horizontal width=7>
<a href='wtv-home:/home'>
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
</a>
<td width=453 valign=top>
<spacer type=vertical height=54><br>
<font size=+3><blackface>
Writing E-Mail&nbsp;
</blackface></font>
<tr>
<td align=right>
&nbsp;
</table>
<tr>
<td width=560 valign=top height=225>
<table cellpadding=0 cellspacing=0 width=560>
<tr>
<td width=25 height=17>
<td width=535>
<tr>
<td>
<td height=225 rowspan=2 valign=top>
<table cellpadding=0 cellspacing=0 height=225 width=535>
<tr>
<td height=15>
<tr>
<td>
<td valign=top>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td colspan=3 height=0>
<tr>
<td valign=top width=175 >
<p><b>Step&nbsp;2</b>
<spacer type=vertical height=20>
Then choose <b>Write</b>.
<td width=10>
<td width=267 valign=top>
<table align=right cellpadding=0 cellspacing=0 background="wtv-guide:/images/help/mail/maillist.jpg" width=267 height=200>
<tr>
<td valign=top>
<spacer type=vertical height=45><br><spacer type=horizontal width=30>
<img src="wtv-guide:/images/help/common/arrowUL.gif" width=55 height=79>
</table>
<tr>
<td rowspan=3 height=10>
</table>
</tr>
<td width=35>
<td width=450>
<td width=50>
</table>
</table>
<tr>
<td valign=bottom align=right>
<form>
<font color=ffcf69><shadow>
<input type=button usestyle borderimage="file://ROM/Borders/ButtonBorder2.bif"
action="Writing3"
value="Continue"
width='110'
selected>
<spacer type=horizontal width=20>
</shadow></font>
</form>
</table>
</body>
`;

View File

@@ -0,0 +1,103 @@
data = `
<html>
<head>
<title>Writing E-Mail</title>
<display
noscroll
showwhencomplete
>
</head>
<body hspace=0 vspace=0
text='E6E6E6' link='E6E6E6' vlink='E6E6E6'
fontsize='medium'
bgcolor=00292f
>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=560 height=96 valign=top>
<table background="wtv-guide:/ROMCache/help/common/helpMastheadBlank.swf" width=560 height=96 cellspacing=0 cellpadding=0>
<tr>
<td width=107 height=96 valign=top rowspan=2>
<spacer type=vertical height=7><br>
<spacer type=horizontal width=7>
<a href='wtv-home:/home'>
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
</a>
<td width=453 valign=top>
<spacer type=vertical height=54><br>
<font size=+3><blackface>
Writing E-Mail&nbsp;
</blackface></font>
<tr>
<td align=right>
&nbsp;
</table>
<tr>
<td width=560 valign=top height=225>
<table cellpadding=0 cellspacing=0 width=560>
<tr>
<td width=25 height=17>
<td width=535>
<tr>
<td>
<td height=225 rowspan=2 valign=top>
<table cellpadding=0 cellspacing=0 height=225 width=535>
<tr>
<td height=15>
<tr>
<td>
<td valign=top>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td colspan=3 height=0>
<tr>
<td valign=top width=175 >
<p><b>Step&nbsp;3</b>
<spacer type=vertical height=20>
After the word <b>To</b>, type in the e-mail
address of the person you're writing to.
<p>
Here's an example of an e-mail address:
<p>
<b>somename@webtv.net</b>
<td width=10>
<td width=267 valign=top>
<table align=right cellpadding=0 cellspacing=0 background="`;
if (session_data.hasCap("client-has-tv-experience"))
data += "wtv-guide:/images/help/mail/sendmail-plus.jpg"
else
data += "wtv-guide:/images/help/mail/sendmail-classic.jpg"
data += `" width=267 height=200>
<tr>
<td valign=top>
<spacer type=vertical height=60><br><spacer type=horizontal width=110>
<img src="wtv-guide:/images/help/common/arrowUL.gif" width=55 height=79>
</table>
<tr>
<td rowspan=3 height=10>
</table>
</tr>
<td width=35>
<td width=450>
<td width=50>
</table>
</table>
<tr>
<td valign=bottom align=right>
<form>
<font color=ffcf69><shadow>
<input type=button usestyle borderimage="file://ROM/Borders/ButtonBorder2.bif"
action="Writing4"
value="Continue"
width='110'
selected>
<spacer type=horizontal width=20>
</shadow></font>
</form>
</table>
</body>
`;

View File

@@ -0,0 +1,102 @@
data = `
<html>
<head>
<title>Writing E-Mail</title>
<display
noscroll
showwhencomplete
>
</head>
<body hspace=0 vspace=0
text='E6E6E6' link='E6E6E6' vlink='E6E6E6'
fontsize='medium'
bgcolor=00292f
>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=560 height=96 valign=top>
<table background="wtv-guide:/ROMCache/help/common/helpMastheadBlank.swf" width=560 height=96 cellspacing=0 cellpadding=0>
<tr>
<td width=107 height=96 valign=top rowspan=2>
<spacer type=vertical height=7><br>
<spacer type=horizontal width=7>
<a href='wtv-home:/home'>
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
</a>
<td width=453 valign=top>
<spacer type=vertical height=54><br>
<font size=+3><blackface>
Writing E-Mail&nbsp;
</blackface></font>
<tr>
<td align=right>
&nbsp;
</table>
<tr>
<td width=560 valign=top height=225>
<table cellpadding=0 cellspacing=0 width=560>
<tr>
<td width=25 height=17>
<td width=535>
<tr>
<td>
<td height=225 rowspan=2 valign=top>
<table cellpadding=0 cellspacing=0 height=225 width=535>
<tr>
<td height=15>
<tr>
<td>
<td valign=top>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td colspan=3 height=0>
<tr>
<td valign=top width=175 >
<p><b>Step&nbsp;4</b>
<spacer type=vertical height=20>
After the word <b>Subject</b>, type
a short phrase describing what the message is about.
<p>
When your message appears in the person's
mailbox, they'll see it first.
<td width=10>
<td width=267 valign=top>
<table align=right cellpadding=0 cellspacing=0 background="`;
if (session_data.hasCap("client-has-tv-experience"))
data += "wtv-guide:/images/help/mail/sendmail-plus.jpg"
else
data += "wtv-guide:/images/help/mail/sendmail-classic.jpg"
data += `" width=267 height=200>
<tr>
<td valign=top>
<spacer type=vertical height=75><br><spacer type=horizontal width=110>
<img src="wtv-guide:/images/help/common/arrowUL.gif" width=55 height=79>
</table>
<tr>
<td rowspan=3 height=10>
</table>
</tr>
<td width=35>
<td width=450>
<td width=50>
</table>
</table>
<tr>
<td valign=bottom align=right>
<form>
<font color=ffcf69><shadow>
<input type=button usestyle borderimage="file://ROM/Borders/ButtonBorder2.bif"
action="Writing5"
value="Continue"
width='110'
selected>
<spacer type=horizontal width=20>
</shadow></font>
</form>
</table>
</body>
`;

View File

@@ -0,0 +1,99 @@
data = `
<html>
<head>
<title>Writing E-Mail</title>
<display
noscroll
showwhencomplete
>
</head>
<body hspace=0 vspace=0
text='E6E6E6' link='E6E6E6' vlink='E6E6E6'
fontsize='medium'
bgcolor=00292f
>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=560 height=96 valign=top>
<table background="wtv-guide:/ROMCache/help/common/helpMastheadBlank.swf" width=560 height=96 cellspacing=0 cellpadding=0>
<tr>
<td width=107 height=96 valign=top rowspan=2>
<spacer type=vertical height=7><br>
<spacer type=horizontal width=7>
<a href='wtv-home:/home'>
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
</a>
<td width=453 valign=top>
<spacer type=vertical height=54><br>
<font size=+3><blackface>
Writing E-Mail&nbsp;
</blackface></font>
<tr>
<td align=right>
&nbsp;
</table>
<tr>
<td width=560 valign=top height=225>
<table cellpadding=0 cellspacing=0 width=560>
<tr>
<td width=25 height=17>
<td width=535>
<tr>
<td>
<td height=225 rowspan=2 valign=top>
<table cellpadding=0 cellspacing=0 height=225 width=535>
<tr>
<td height=15>
<tr>
<td>
<td valign=top>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td colspan=3 height=0>
<tr>
<td valign=top width=175 >
<p><b>Step&nbsp;5</b>
<spacer type=vertical height=20>
In the area beneath the subject,
type in the message itself.
<td width=10>
<td width=267 valign=top>
<table align=right cellpadding=0 cellspacing=0 background="`;
if (session_data.hasCap("client-has-tv-experience"))
data += "wtv-guide:/images/help/mail/sendmail-plus.jpg"
else
data += "wtv-guide:/images/help/mail/sendmail-classic.jpg"
data += `" width=267 height=200>
<tr>
<td valign=top>
<spacer type=vertical height=26><br><spacer type=horizontal width=110>
<img src="wtv-guide:/images/help/common/arrowDL.gif" width=55 height=79>
</table>
<tr>
<td rowspan=3 height=10>
</table>
</tr>
<td width=35>
<td width=450>
<td width=50>
</table>
</table>
<tr>
<td valign=bottom align=right>
<form>
<font color=ffcf69><shadow>
<input type=button usestyle borderimage="file://ROM/Borders/ButtonBorder2.bif"
action="Writing6"
value="Continue"
width='110'
selected>
<spacer type=horizontal width=20>
</shadow></font>
</form>
</table>
</body>
`;

View File

@@ -0,0 +1,99 @@
data = `
<html>
<head>
<title>Writing E-Mail</title>
<display
noscroll
showwhencomplete
>
</head>
<body hspace=0 vspace=0
text='E6E6E6' link='E6E6E6' vlink='E6E6E6'
fontsize='medium'
bgcolor=00292f
>
<table cellspacing=0 cellpadding=0>
<tr>
<td width=560 height=96 valign=top>
<table background="wtv-guide:/ROMCache/help/common/helpMastheadBlank.swf" width=560 height=96 cellspacing=0 cellpadding=0>
<tr>
<td width=107 height=96 valign=top rowspan=2>
<spacer type=vertical height=7><br>
<spacer type=horizontal width=7>
<a href='wtv-home:/home'>
<img src="${minisrv_config.config.service_logo}" width=87 height=67>
</a>
<td width=453 valign=top>
<spacer type=vertical height=54><br>
<font size=+3><blackface>
Writing E-Mail&nbsp;
</blackface></font>
<tr>
<td align=right>
&nbsp;
</table>
<tr>
<td width=560 valign=top height=225>
<table cellpadding=0 cellspacing=0 width=560>
<tr>
<td width=25 height=17>
<td width=535>
<tr>
<td>
<td height=225 rowspan=2 valign=top>
<table cellpadding=0 cellspacing=0 height=225 width=535>
<tr>
<td height=15>
<tr>
<td>
<td valign=top>
<table cellpadding=0 cellspacing=0 width=100%>
<tr>
<td colspan=3 height=0>
<tr>
<td valign=top width=175 >
<p><b>Step&nbsp;6</b>
<spacer type=vertical height=20>
Finally, choose <b>Send</b>, and your
message will be sent.
<td width=10>
<td width=267 valign=top>
<table align=right cellpadding=0 cellspacing=0 background="`;
if (session_data.hasCap("client-has-tv-experience"))
data += "wtv-guide:/images/help/mail/sendmail-plus.jpg"
else
data += "wtv-guide:/images/help/mail/sendmail-classic.jpg"
data += `" width=267 height=200>
<tr>
<td valign=top>
<spacer type=vertical height=70><br><spacer type=horizontal width=160>
<img src="wtv-guide:/images/help/common/arrowDR.gif" width=55 height=79>
</table>
<tr>
<td rowspan=3 height=10>
</table>
</tr>
<td width=35>
<td width=450>
<td width=50>
</table>
</table>
<tr>
<td valign=bottom align=right>
<form>
<font color=ffcf69><shadow>
<input type=button usestyle borderimage="file://ROM/Borders/ButtonBorder2.bif"
action=javascript:location=history.go(-6);
value="Done"
width='110'
selected>
<spacer type=horizontal width=20>
</shadow></font>
</form>
</table>
</body>
`;