Commit Graph

66 Commits

Author SHA1 Message Date
zefie
e359644998 fix potential issue with local flashroms 2021-08-09 18:48:15 -04:00
zefie
a078e58ce0 flashrom system updates
- fix bugs
- more WNI-like flow path
- make scripts use `service_name` variable so that they should work in a renamed service (eg not wtv-flashrom, untested)
2021-08-09 18:48:14 -04:00
zefie
7ae8fdc816 escape query in willie 2021-08-09 18:48:14 -04:00
zefie
4a2dc1680d add catchall system & http pc server
- define a catchall name to run globally or per service
- catchall must be javascript, but not necessarily a .js file
- catchall can request async mode
- catchall will catch any non-existing requests under its directory
- see wtv-flashrom:/content/content-serve.js as an example, which will catch wtv-flashrom:/content/ URLs.

- http pc: sends HTTP/1.0 to PC clients
- can be disabled with `pc_server_hidden_service_enabled`: false
- can change servicevault path by changing string of pc_server_hidden_service
- get.js in default PC service vault to get any WTV Url on the service
2021-08-09 17:38:34 -04:00
zefie
895397abee use service-style cookie links on tricks 2021-08-09 15:08:10 -04:00
zefie
1aa1755664 update wtv-home:/home
- remove spacing in favor of right alignment
- add compression status
2021-08-08 22:55:22 -04:00
zefie
b6be54dc03 correct branding in TOS 2021-08-08 22:16:31 -04:00
zefie
81d604ea77 add missing pesky period 2021-08-08 20:52:50 -04:00
zefie
7a09c5f3b1 use wtv-head-waiter:/relogin for boot url
- viewer seems to retain only wtv-* and wtv-head-waiter, so lets try to be closer to protocol and boot with a wtv-head-waiter address instead of wtv-1800
- we still handle via wtv-1800 but we accept wtv-head-waiter:/relogin and send the client on its way to the relogin path
2021-08-08 20:06:03 -04:00
zefie
4befbc08a5 add username to home 2021-08-08 19:54:38 -04:00
zefie
04b5b7f578 fix possible loss of trust chain 2021-08-08 18:47:50 -04:00
zefie
da37682a03 v0.9.13
- wtv-cookie support
- further development will be in dev branch (may rebase alot)
- compression not yet ready, leave it disabled
2021-08-08 18:11:33 -04:00
zefie
e5d5b1e8e7 unescape query arguments during processing 2021-08-08 14:18:50 -04:00
zefie
9f102be02f fix acd90bc66b 2021-08-08 13:51:50 -04:00
zefie
be28f6a2be guest mode: only skip splash on first transistion 2021-08-08 13:16:37 -04:00
zefie
acd90bc66b fix some mstv sim related issues 2021-08-08 13:11:54 -04:00
zefie
3bc839ed00 use lowercase sysconfig on wtv-tricks:/info 2021-08-08 11:39:44 -04:00
zefie
3376b5ada2 update WTVFlashrom class to accept debug config flag, also change default bf0app build 2021-08-08 11:36:40 -04:00
zefie
9c68dc5585 update version reporting to include git branch, in prep for v1.0 2021-08-08 11:18:31 -04:00
zefie
c539d408c9 implement config option to disable guest mode 2021-08-07 21:10:44 -04:00
zefie
a37433132e wtv-tricks:/register: registering isn't dangerous! make it comfy 2021-08-07 20:55:05 -04:00
zefie
876ba82749 fix wtv-1800:/preregister looking for incorrect session variable 2021-08-07 20:20:16 -04:00
zefie
2b36ace012 update wtv-tricks system
- Info now shows Guest Mode or Subscriber Info
- Implemented wtv-tricks:/unregister
- Implemented wtv-tricks:/register
- Show correct link in wtv-tricks:/tricks based on Guest Mode status
2021-08-07 20:16:54 -04:00
zefie
a91076c9b3 implement wtv-cookie:/reset 2021-08-07 20:15:47 -04:00
zefie
d5fa489b9c some more fixes to the registration/login system 2021-08-07 19:41:33 -04:00
zefie
95d069582b fix guest login feature 2021-08-07 19:03:07 -04:00
zefie
00f80c9ea5 Merge branch 'lzpf-compression'
- fix issues caused by my rebasing
2021-08-07 17:27:28 -04:00
zefie
f15f377f8e v0.9.12 - WILL REBASE - BE WARNED
- convert post_data to query if valid query data
- wtv-register system
- Store Session data as JSON flat file
- wtv-cookie support
- spent way too much time on a page no one will read
- move filterSSID to WTVClientSessionData
- disable compression until fixed
- do not delete WTVSec on last socket, instead recreate on prereg
- set 'wtv-bypass-proxy' to false
- rework header whitelist system for HTTP(s) proxy
- clean up SSID session data only if client is not seen for 3 minutes
- add shouldWeCompress() function
- add additional headers to wtv-setup:/get
- add initial blank wtv-music:/get-playlist
2021-08-07 17:00:26 -04:00
zefie
ad16a04c55 update: do not delete WTVSec on last socket, instead recreate on prereg
update: clean up SSID session data only if client is not seen for 3 minutes
update: add shouldWeCompress() function
update: tweak lzpf (still corrupted)
update: rename wtv-setup:/get to wtv-setup:/get-settings
update: add additional headers to wtv-setup:/get-settings
update: add initial blank wtv-music:/get-playlist
2021-08-06 14:05:27 -04:00
zefie
743989d4f0 update: WTVClientCapabilities: add unknown bits instead of logging error
update: fix flashrom system
update: webone example config
update: app.js: more 'binary block' exclusions
update: fix tellyscript folder name for case-sensitive filesystems
2021-08-06 01:13:35 -04:00
zefie
832a20e9a6 v0.9.11
- added example docker-compose for minisrv + webone
- update: wtv-home:/home: reduce size of title to fit longer version numbers
2021-08-05 18:34:58 -04:00
zefie
2fced1be8d update: add service ip to wtv-tricks:/info 2021-08-05 18:05:37 -04:00
zefie
cbfa965ab5 update flashrom subsystem:
- moved duplicate code into WTVFlashrom class
- smarter part information detection
2021-08-05 15:09:13 -04:00
zefie
dee03319cd fix: fixed tellyscript path for wtv-1800:/noflash (bf0app braindead) 2021-08-05 10:50:14 -04:00
zefie
a82f00265c update: login system: do not send tellyscript nor login headers to reconnecting (eg client:redial) client 2021-08-04 21:33:32 -04:00
zefie
3866ed5ba1 update: wtv-chat:/home: fix colors 2021-08-04 19:30:22 -04:00
zefie
05bb955688 v0.9.10
- initial primitive wtv-cookie service to satisfy newer builds and http(s) issues
- update: wtv-home:/home: add wtv-visit: in case javascript URL accessor fails
- update: replace bf0app and LC2 tellyscripts with box-specific PPP auth, rather than hard coded PPP auth (may disable CHAP support)
2021-08-04 18:59:33 -04:00
zefie
6e9e84abf0 v0.9.9
- update: config.json: add DoNotEncrypt flags to http and https
- update: app.js: add ability to override service flags when using getServiceString
- update: app.js: add ability to disable 'wtv-star' while keeping 'wtv-*'
- update: app.js: add internal header 'minisrv-use-carriage-return', set to 'false' to disable `\r` in headers
- implement bf0app flashrom functionality
2021-08-02 14:47:11 -04:00
zefie
228ba3ebdb update: actually fix wtv-1800:/preregister and include tellyscripts 2021-07-30 07:37:57 -04:00
zefie
150f0253b8 v0.9.8
fix: app.js: Use \r\n, fix connections= service setting
update: config.json: fix some service flags that were misset
Add ServiceFlags.txt: brief description of wtv-service flags
update: Moved tellyscripts to wtv-1800:/preregister
update: fixed bug where "send_tellyscript was undefined"
update: initial work on bf0app flashrom support (incomplete)
2021-07-29 19:21:22 -04:00
zefie
fd8d7e2d2e Update: change default service logos 2021-07-28 19:57:05 -04:00
zefie
33012515f5 fix: wtv-tricks:/info was not updated to use new ClientSessionData structure 2021-07-26 09:12:05 -04:00
zefie
0d7c54ce0c add wtv-1800:/offer-open-isp-suggest for dreamcast clients 2021-07-26 08:47:24 -04:00
zefie
012c0114e1 update: add 'setIRCNick()' function to WTVClientSessionData for ease of use
update: add primative getMaxUsernameLength() to overcome username limitation in older builds
update: wtv-chat:/home template
2021-07-26 07:15:21 -04:00
zefie
41b4deb831 update: add 'hasCap(flag)' function to WTVClientSessionData for easier client-capabilities checking (see wtv-home/home.js for an example) 2021-07-26 06:12:53 -04:00
zefie
a5806e8581 v0.9.6
- update: add initial wtv-capability-flags decoding, as well as wtv-tricks:/info demonstration
- update: rename classes
- minor update: quirky 'Special Thanks' in each custom class.
- minor update: notice about Initial Shared Key and multiple minisrvs
- update: wtv-music:/demo/index: update wtv-star image paths
- update: app.js: fix unencrypted post
- update: app.js: improve buffering and cleanup in attempt to fix occasional 'double-up' bug
- update: info.js: remove debug dump of capabilities
- Update: add test.js, syntax-testing script for `npm test`
- Update: wtv-chat:/home experimental nick change page thanks to MattMan (chat still giving issues on real boxes, works in Viewer)
- Update: README.md: Add ways to support the project
2021-07-25 08:56:52 -04:00
zefie
89f1b896e1 - update: app.js: add really long timeout for closing missed sockets
- update: app.js: fix for minibrowser connectivity
- update: app.js: enhance security
- update: wtv-home:/home: fix wtv-needs-upgrade -> wtv-need-upgrade
- update: wtv-head-waiter:/login-stage-two: do not send wtv-settings:/get to minibrowser
- update: wtv-1800:/preregister: Disconnect and clean up all previous sockets for the connecting SSID when hitting preregister. Also re-create wtvsec_login.
2021-07-24 12:34:56 -04:00
zefie
6ced1443f0 v0.9.5
- major update: app.js: rewrite socket handling to stream data (fix issues POSTing with shoddy dialup, namely fix wtv-update:/sync issues)
- update: wtv-home:/home: remove broken irc test, add links to DiskHax and VFatHax, remove URL Accessor form from MiniBrowser because it doesn't work
- update: wtv-update:/sync: skip file if the Content-length matches the client and the client file is equal or newer, since client is not storing wtv-checksum for some reason. Client file time is set to when the client received the file last, and not actually when the file was modified on our end
2021-07-24 04:32:00 -04:00
zefie
d2a6ea0097 fix: wtv-log:/log
add: wtv-chat
add: wtv-setup
2021-07-23 09:38:47 -04:00
zefie
88784e253c fix: wtv-head-waiter:/login-stage-two: usernames longerfix: build 3833 crashes when wtv-user-name is too long 2021-07-23 07:31:33 -04:00