usenet 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-12 19:08:57 -04:00
parent 048a609756
commit a4adf8414b
7 changed files with 88 additions and 35 deletions

View File

@@ -1923,6 +1923,11 @@ Object.keys(minisrv_config.services).forEach(function (k) {
wtvnewsserver = new WTVNewsServer(minisrv_config, minisrv_config.services[k].local_nntp_port);
console.log(" * Configured Service: Local NNTP", "on 127.0.0.1:" + minisrv_config.services[k].local_nntp_port, "(TLS) - Auth required:", local_nntp_using_auth, "- Auth: None");
}
if (minisrv_config.services["wtv-news"].featuredGroups) {
Object.keys(minisrv_config.services["wtv-news"].featuredGroups).forEach((k) => {
wtvnewsserver.createGroup(minisrv_config.services["wtv-news"].featuredGroups[k].group);
})
}
}
}