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
zefie
76e700a33d
implemented some webtvism overrides
...
didn't end up needing them, but keeping them here just in case since they don't harm anything
2022-10-08 11:22:45 -04:00
zefie
5ad141d30a
fix space in disconnect log
2022-10-08 09:33:17 -04:00
zefie
6a8d146d55
add webtvism: query arg without =
...
eg wtv-home:/home?testing
will set request_headers.query.testing to null, instead of undefined.
2022-10-08 08:16:45 -04:00
zefie
9edccab487
add wtv-admin:/reloadconfig
2022-10-07 21:28:44 -04:00
zefie
86d8a09688
initial work on wtv-admin features
2022-10-07 19:31:05 -04:00
zefie
63dd5471a5
finish potential fix
2022-10-06 14:56:29 -07:00
zefie
4c26d972fe
potential fix for pcservices issue
2022-10-06 14:55:51 -07:00
zefie
fee8b768fc
fix wtv-flashrom catch-all error messages
2022-10-02 17:09:19 -04:00
zefie
269d237479
experimental webtv viewer patcher on pc_service
2022-10-02 10:33:27 -04:00
zefie
c403c589c1
experimental webtv viewer patcher on pc_service
2022-10-02 08:25:02 -04:00
zefie
2bf3bc4d3a
enable exception stack trace on PC pages (think PHP show_errors), with option to disable it globally
2022-10-02 02:09:35 -04:00
zefie
ccd0d02676
add option to just drop PC connections rather than HTTP 500 if they connect to the wrong port
2022-10-02 01:44:07 -04:00
zefie
57b8426231
move comment back into place
2022-10-02 01:39:21 -04:00
zefie
81fe9c50ce
add port isolation (services only respond to their own ports), also rewrite pc services a bit. initial (very pre-alpha and not functional) https code added too
2022-10-02 01:36:10 -04:00
zefie
bac031bd4e
fix http_pc pc services
2022-10-01 23:29:59 -04:00
zefie
1752bfed35
fix parsing of discuss boolean in sendmail
2022-10-01 22:37:10 -04:00
zefie
ad3accb364
more documentation and update catchall portion
2022-09-26 17:35:47 -04:00
zefie
e22bb22497
forgot 'request_is_async' in the last commit
...
... and trying not to squash anymore
2022-09-26 17:29:57 -04:00