Commit Graph

231 Commits

Author SHA1 Message Date
zefie
3ffadd8422 dont send pc services to webtv client
+ fix stuff
2022-11-30 20:43:59 -05:00
zefie
ccdb115d9d ssl redirect also includes path 2022-11-30 12:17:15 -05:00
zefie
5678472dde change order of configuration messages 2022-11-30 11:14:05 -05:00
zefie
0af88f56cb fix last commit 2022-11-30 11:11:19 -05:00
zefie
3c896aa53e show ssl request on less verbosity 2022-11-30 11:09:30 -05:00
zefie
0dcc6bdcee add missing function getServiceByVaultDir 2022-11-30 11:07:16 -05:00
zefie
ca18ab3de6 add https pc services support 2022-11-30 10:45:35 -05:00
zefie
08de059758 clean up file structure 2022-11-30 10:42:10 -05:00
zefie
89407e7d51 before I forget 2022-11-30 10:20:14 -05:00
zefie
e3d9ef22fe ?? delete this 2022-11-30 07:11:02 -05:00
zefie
b731e2a8a0 fix "'wtv-connection-close': undefined" when using proxy 2022-11-28 15:28:32 -05:00
zefie
0468629316 test proxy fix 2022-11-28 15:08:11 -05:00
zefie
12dfd49992 version bump
- new homepage theme inspired by @GraspYonOx
- connect setup also mostly by @GraspYonOx
- some 'fixes' regarding module unloading, hopefully fixing call stack issue
- fixes to wtvshared.isAdmin() to not show log as if it was an access attempt
2022-11-28 09:51:13 -05:00
zefie
203bc73088 do not report disabled services as "configured" 2022-11-28 09:01:13 -05:00
MattMan
7da1929d2d Update AppData--2.5-HE.zip 2022-10-31 13:53:15 -04:00
zefie
ae6bc22b9a correct a typo 2022-10-31 12:23:29 -04:00
zefie
c20824d36d fun with alpha 2022-10-23 00:36:07 -04:00
zefie
b169a2c863 add support for comments in config files. 2022-10-22 22:49:30 -04:00
zefie
0bb95df5dc i tried, the box wont listen (attempt to workaround http/1.0 issue) 2022-10-22 20:05:50 -04:00
zefie
de33d39a93 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
2022-10-22 19:07:11 -04:00
zefie
222976f416 fix vm readback and flashrom 2022-10-19 22:00:28 -04:00
zefie
d2cf58ac25 preserve version data over reload 2022-10-16 19:56:28 -04:00
zefie
73a292ac93 fix missing splash logo after validate-operator-tweaks 2022-10-16 19:38:13 -04:00
zefie
2a92f9c1d3 fix handling of services on reload 2022-10-16 19:31:39 -04:00
zefie
a2ffffd2ad fix service logo after config reload 2022-10-16 18:58:30 -04:00
zefie
ac96d97c1c few more fixes for wtv-admin 2022-10-16 17:53:27 -04:00
zefie
47e87a4ebc implement UserTemplates for overriding templates. Call your templates with wtvshared.getTemplate(service_name,'path_to_template.ext'); 2022-10-15 18:57:02 -04:00
zefie
f1b931f31f remove leftover debug from previous commit 2022-10-15 18:29:49 -04:00
zefie
8fc0d116f6 wtv-mail-count header should return mail for all users instead of just the primary one if you aren't logged in
- this was a deeper rabbit hole than I expected
2022-10-15 18:12:45 -04:00
zefie
a6659b4b16 create group description when auto creating groups 2022-10-14 00:24:25 -04:00
zefie
ab0a0fb614 npm install required: add follow-redirect module
- to handle 301/302 since my attempt didnt
2022-10-14 00:01:06 -04:00
zefie
9bea13151c fix 301 and 302 not redirecting in http(s) proxy
- also add experimental beta mail signature preview option
2022-10-13 23:54:39 -04:00
zefie
5cdd67fd27 a lot of usenet updates
- webtv can post attachments
- webtv signatures
- TODO: user control disable rendering of post signatures
- TODO: as above but for mail too
2022-10-13 22:43:04 -04:00
zefie
f6db75fca2 sync usenet progress before bed
- image attachments on webtv cause server error
- only affects inline embeds
- midi and audio attachments should still work fine
2022-10-13 02:26:22 -04:00
zefie
49789cf1a1 minor usenet fixes 2022-10-12 20:27:33 -04:00
zefie
a4adf8414b 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
2022-10-12 19:18:01 -04:00
zefie
8075438a93 maybe fix last commit 2022-10-12 12:25:36 -04:00
zefie
f48da37f22 wtv-news goodies 2022-10-11 21:44:18 -04:00
zefie
a887a36104 lots of changes:
- 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
2022-10-11 13:51:20 -04:00
zefie
4589d7a4e8 move classes and base config into includes directory 2022-10-11 10:20:25 -04:00
zefie
07ba1d4056 welp guide wasn't supposed to be pushed yet but since it was might as well fix it a bit 2022-10-10 16:38:39 -04:00
zefie
500e6f6887 fix logging from pc_services
+ some other cosmetic console.log updates
2022-10-10 16:30:07 -04:00
zefie
d4ceda7211 pc_services now uses node Express
- reduces chance of error with older webtv clients sending http request
- version bump to 0.9.32
2022-10-10 15:40:09 -04:00
zefie
7505494612 fix last commit 2022-10-10 13:09:18 -04:00
zefie
d1dbbcf82f expose crypto module to VM 2022-10-09 22:07:37 -04:00
zefie
e544e821c3 more post data tweaks 2022-10-09 21:53:44 -04:00
zefie
ceaa6277b4 fix priv on pc_services 2022-10-09 18:32:01 -04:00
zefie
83ca0d0bac fix: allow wtv-disk scripts run unprivileged 2022-10-09 14:43:40 -04:00
zefie
37f1ab67ad BREAKING CHANGES: (for SeCuRiTy):
By default:
- `ssid_sessions[socket.ssid]` is now `session_data`
- `require` is no longer allowed in user scripts

To access global `socket_sessions` and `ssid_sessions`, as well as `require` additional modules, you must set `privileged: true` for the specific service. See `config.json`.
2022-10-09 13:26:14 -04:00
zefie
7bf2d2e6fa implement wtv-favorites with huge help from @JarHead4 2022-10-08 17:37:36 -04:00