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
zefie
6a21c4a851
fix wtv-tricks:/info, tidy up eval VM related stuff
2022-09-26 17:20:27 -04:00
zefie
e538bfb913
some fixes for pages that broke from the new VM based eval
2022-09-26 16:47:10 -04:00
zefie
b2aece5437
incomplete NNTP usenet support
2022-09-25 22:52:18 -04:00
zefie
d8da9e14c7
Rewrite script processing a bit
...
- Instead of using eval() we now use a proper VM Context
- As a result, any scripting errors will now give a more useful filename and line number.
- However, some things may break, if they are dependant on variables we are not allowing in the context.
2022-09-25 18:05:45 -04:00
zefie
a4a1469a79
fix previous commit
2022-09-24 23:22:05 -04:00
zefie
518cf12c99
disable multi query webtvism by default, but allow it to be enabled at the service level
2022-09-23 01:45:20 -04:00
zefie
5dff5779e9
correct a typo in a comment for clarification
2022-09-22 16:06:14 -04:00
zefie
e2e33f931d
handle webtvism:
...
allow get/post variables to be the same name multiple times
rather than overwrite, the server will now change the variable from a string to an array.
2022-09-08 00:28:43 -04:00
zefie
d02e40d530
change "http_response" to "Response" for cleaner logging
2022-03-28 02:09:10 -04:00
zefie
ebfc081efa
fix syntax error
2022-03-18 17:33:16 -04:00
zefie
a91b57764d
send 'wtv-trusted: false' with http(s) responses
2022-03-18 15:07:11 -04:00
zefie
d70cb5bf36
mostly fix bad-disk detection
...
- may still get bad-disk screen once after fixing disk
- may only be an issue if the user reconnects before the cleanup
2022-03-17 19:24:06 -04:00
zefie
2be8c66b01
Bug fixes
...
- wtv-tricks:/unregister properly deletes SSID folder
- Registration properly saves account data if SSID folder doesn't exist
- do not send wtv-mail-count if SSID is not yet registered
- Registration now correctly creates the welcome message for user0
- update wtv-tricks:/unregister to only allow the primary user to unregister the account
2022-03-12 15:14:32 -05:00
zefie
0f26cdfc70
add password filter feature
...
- add post_data filter feature
- finally figure out how to duplicate objects
2022-03-09 17:38:16 -05:00
zefie
01c782cca9
fix issue with locally stored flashroms
2022-03-09 17:38:15 -05:00
zefie
0a00e34537
fix login, probably break 5 other things
2022-03-09 17:38:14 -05:00
zefie
2a526c0702
initial attempt to fix security issue
...
- likely adds new bug where users will be kicked to relogin after the
server restarts
- TODO: figure out a way to safely check the user login when session
data is unknown (eg restart) (hint: ticket?)
2022-03-09 17:38:14 -05:00
zefie
59ba999b5a
fix null user bug, but also make a page to intentionally trigger it
2022-03-09 17:38:13 -05:00
zefie
f32c4b1926
fix DealerDemo and other stuff
2022-03-09 17:38:13 -05:00
zefie
445e28c91a
implement internal shared ROMCache
...
- make most ROMCache URLS relative
- create wtvshared.htmlEntitize function
- update wtv-mail:/readmail to use wtvshared.htmlEntitize
2022-03-09 17:38:12 -05:00
zefie
b124cfa33c
actually remove iconv-lite module
2022-03-09 17:38:12 -05:00
zefie
35471fd098
new module (iconv-lite) to attempt char encodings
2022-03-09 17:38:11 -05:00
zefie
123c8f7823
even more mail stuff
2022-03-09 17:38:09 -05:00
zefie
d14c4293aa
post_data now logs as hex instead of raw WordArray
2022-03-09 17:38:08 -05:00
zefie
bf7369431e
add wtv-ticket store api
...
- fix broken session bust crap from before
- properly resume session as user when server restarted
- api available to store other things in the wtv-ticket
2022-03-09 17:38:07 -05:00
zefie
d1c70c7ab1
disable session buster detection code for now
...
- breaks guest mode
- breaks registration
- really just breaks more than it fixes
- need ticket key/value system
2022-03-09 17:38:06 -05:00
zefie
433fc3db19
more patches to previous updates
...
- fixed getUnreadMailCount
- added unread mail count to login screen
- added session busted detection (new bug that when you restart minisrv it loses the user_id, so we send the client to relog) (todo: maybe add api to add key/value to ticket so we can retain data over server restarts)
2022-03-09 17:38:06 -05:00
zefie
c31f4cfa8c
various fixes to previous commit
2022-03-09 17:38:05 -05:00
zefie
0d991d5eac
user account updates
...
- move user accounts to subdir
- add password support
- implemented basics of multi-user support
- Can add users, edit them, and log in with them (password or not)
- Cannot delete users (with service) yet
2022-03-09 17:37:57 -05:00
zefie
622698ee66
attempt to fix: bad disk units are perpetually banned
2022-02-06 11:34:55 -05:00
zefie
16b7b91cfb
update comments and formatting
2022-01-21 11:19:55 -05:00
zefie
e9ede65602
Add X-Forwarded-For for HTTP Proxy
2022-01-21 10:21:46 -05:00
zefie
efbef7e8f5
Add 'Object.getCaseInsensitiveKey()' prototype override
2022-01-15 05:29:24 -05:00
zefie
495db31ae1
add support for custom wtv-explanation-url on errors
2022-01-12 10:26:53 -05:00
zefie
b20d09d3dd
Add friendlier HTTP error messages
2022-01-11 01:48:34 -05:00
zefie
b1d4c4c0bd
fix issue with a certain site with invalid urls
2021-11-18 00:36:39 -05:00
zefie
ee76fd5190
more mail stuff
...
- todo: alot, but mainly track new/read and get local working
2021-11-15 00:51:31 -05:00
zefie
3da57455eb
re-write security system to be more like WNI
...
- can get telly and reach stage-two
- narrow whitelist of allowed URLS in WTVClientSessionData constructor
- enough to show wtv-1800:/unauthorized with trust priv
- Times out lockeddown users really fast ;)
- untested disk error page
2021-11-12 15:35:40 -05:00