- BREAKING CHANGE from v0.9.35 and eariler: Move accounts into subfolder of SessionStore - viewergen and viewer updates from @GraspYonOx - new homepage theme inspired by @GraspYonOx - connect setup also mostly by @GraspYonOx - numerous bug fixes - nntp-server-zefie is now on npmjs - implement proper nodejs debugging - will start to phase out using console.log for actual debugging - existing "debug" (verbose) messages will stay as is - future code debugging will use debug() to debug WIP, therefore not showing to most users if it is accidently left in
141 lines
4.1 KiB
JSON
141 lines
4.1 KiB
JSON
{
|
|
"config": {
|
|
"service_ip": "192.168.1.8",
|
|
"service_name": "WebTV",
|
|
"service_logo": "WebTVLogoJewel.gif",
|
|
"service_owner": "A Cool Dude",
|
|
"service_owner_account": "CoolDude",
|
|
"service_owner_contact": "CoolDudeTweets",
|
|
"service_owner_contact_method": "Twitter",
|
|
"service_splash_logo": "file://ROM/images/SplashLogo1.gif",
|
|
"ServiceVaults": [
|
|
"UserServiceVault",
|
|
"ServiceVault",
|
|
"C:\\users\\zefie\\webtv\\ServiceVault",
|
|
"C:/Users/zefie/webtv/ServiceVault2",
|
|
"/home/zefie/webtv/ServiceVault"
|
|
],
|
|
"ssid_block_list": [
|
|
// list of SSID's to block
|
|
"8100000000000000",
|
|
"8100000000000010"
|
|
],
|
|
"ssid_ip_allow_list": {
|
|
// list of SSIDs to allow. Can be in the block list above.
|
|
// The IP the SSID is connecting from should be listed under
|
|
// the allowed SSID as per this example. Subnets allowed.
|
|
"8100000000000000": [
|
|
"192.168.1.0/24",
|
|
"127.0.0.1"
|
|
]
|
|
},
|
|
"hide_ssid_in_logs": true,
|
|
"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": {
|
|
"send_tellyscripts": true,
|
|
"send_tellyscript_ssid_whitelist": [
|
|
// send only these SSIDs a tellyscript
|
|
"8100000000000000",
|
|
"8120000000000000"
|
|
]
|
|
},
|
|
"wtv-admin": {
|
|
// demonstrates an override
|
|
"authorized_ssids": {
|
|
// uses the same format as the SSID whitelist above
|
|
// SSID match, IP match, AND password are all required to access wtv-admin service.
|
|
"8100000000000000": [
|
|
"192.168.1.0/24",
|
|
"127.0.0.1"
|
|
]
|
|
},
|
|
"password": "my-secure-password"
|
|
},
|
|
"wtv-log": {
|
|
// demonstrates an override
|
|
"write_logs_to_disk": true
|
|
},
|
|
"wtv-some-custom-service": {
|
|
// demonstrates adding a new service
|
|
"port": 1609,
|
|
"connections": 1
|
|
},
|
|
"wtv-tricks": {
|
|
// this example shows how to point to an external server
|
|
// untested
|
|
"service_ip": "192.168.1.8",
|
|
"port": 1702,
|
|
"nobind": true
|
|
},
|
|
"wtv-music": {
|
|
"disabled": true // disable default service wtv-music
|
|
},
|
|
"wtv-author": {
|
|
"enable_multi_query": true
|
|
},
|
|
"wtv-news": {
|
|
"disabled": false,
|
|
"upstream_address": "192.168.11.8", // upstream usenet service
|
|
"upstream_port": 1699, // upstream usenet service port
|
|
"upstream_auth": {
|
|
// upstream usenet service auth (delete object and set to null (eg upstream_auth: null) to not use login
|
|
"username": "myusername",
|
|
"password": "mypassword"
|
|
},
|
|
"upstream_tls": true, // upstream usenet is ssl (true/false)
|
|
"local_auth": {
|
|
// manually define a username/password for the local built-in NNTP
|
|
// otherwise it will be randomly generated. This is useful if you
|
|
// want to access the built-in NNTP externally, such as in
|
|
// Mozilla Thunderbird
|
|
"username": "mylocaluser",
|
|
"password": "mylocalpass"
|
|
}
|
|
}
|
|
},
|
|
"favorites": {
|
|
"folder_templates": {
|
|
"Personal": [
|
|
{
|
|
"title": "The Midnight Archive",
|
|
"url": "http://archive.midnightchannel.net/",
|
|
"image_type": "url",
|
|
"image": "canned/midnightchannel.gif"
|
|
},
|
|
{
|
|
"title": "WebTV/MSNTV Secrets",
|
|
"url": "http://turdinc.kicks-ass.net/Msntv/index2.html",
|
|
"image_type": "url",
|
|
"image": "canned/mattman69.gif"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |