- numerous bug fixes
 - wtv-news goodies, ready for local testing
   - custom patched nntp-server node module with support for POSTing
   - should be able to post locally
   - 4 groups are made by default
   - can override in user_config.json (look at the config.json changes but dont do them there)
   - can sync down from an upstream server with sync_nntp.js
   - sync does not push new posts to upstream yet
This commit is contained in:
zefie
2022-10-11 21:44:18 -04:00
parent 1165b245ce
commit b89e0e932c
181 changed files with 4333 additions and 688 deletions

View File

@@ -26,7 +26,32 @@
]
},
"hide_ssid_in_logs": true,
"verbosity": 2
"verbosity": 2,
"errorMessages": {
"999": "My Custom Error Code Message",
"400": "${service_name} ran into a technical problem. Please try again.",
"401": "Authorization Required.",
"403": "The publisher of that page has not authorized you to view it.",
"404": "The service could not find the requested page.",
"500": "${service_name} ran into a technical problem. Please try again."
},
"lockdownWhitelist": [
"wtv-1800:/preregister",
"wtv-head-waiter:/login",
"wtv-head-waiter:/ValidateLogin",
"wtv-head-waiter:/login-stage-two",
"wtv-head-waiter:/relogin",
"wtv-head-waiter:/ROMCache/Spacer.gif",
"wtv-head-waiter:/ROMCache/NameStrip.gif",
"wtv-head-waiter:/images/PasswordBanner.gif",
"wtv-head-waiter:/ROMCache/UtilityBullet.gif",
"wtv-head-waiter:/images/NameBanner.gif",
"wtv-head-waiter:/bad-disk",
"wtv-head-waiter:/images/signin_new_mail.gif",
"wtv-head-waiter:/images/signin_no_mail.gif",
"wtv-log:/log",
"wtv-custom-service:/my-cool-page-everyone-should-have-access-to"
]
},
"services": {
"wtv-1800": {
@@ -67,8 +92,13 @@
"upstream_address": "192.168.11.8",
"upstream_port": 1699,
"upstream_auth": {
"username": "not_yet",
"password": "implemented"
"username": "myusername",
"password": "mypassword"
},
"upstream_tls": true,
"local_auth": {
"username": "mylocaluser",
"password": "mylocalpass"
}
}
},
@@ -77,16 +107,17 @@
"Personal": [
{
"title": "The Midnight Archive",
"url": "http://archive.midnightchanne.net/",
"url": "http://archive.midnightchannel.net/",
"image_type": "url",
"image": "canned/midnightchannel.gif"
},
{
"title": "WebTV/MSNTV Secrets",
"url": "http://turdinc.kicks-ass.net/Msntv/",
"url": "http://turdinc.kicks-ass.net/Msntv/index2.html",
"image_type": "url",
"image": "canned/mattman69.gif"
}
]
}
}
}
}