Commit Graph

24 Commits

Author SHA1 Message Date
zefie
95442a12af lots more stuff
- proper gzip download for disk system (aka WNI reinventing the Content-Encoding: gzip wheel)
- send Last-Modified for static files
- send wtv-checksum for all disk system downloads
- other fixes
2021-08-11 01:11:09 -04:00
zefie
12d50f6e1c fix post data 2021-08-10 19:14:40 -04:00
zefie
dd5b274784 rewrite wtv-disk system
- move wtv-update to wtv-disk
- allow accessing wtv-disk:/sync?group=&diskmap=
- rewrite Download List generation to be more proper
- only send files if diskmap has changed
- allow force redownload with &force=true
2021-08-10 00:20:03 -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
72f1c989c6 add gzip compression for LC2 and newer 2021-08-08 22:25:42 -04:00
zefie
649a6d2fd2 Revert "config.json: enable compression by default"
This reverts commit e55f9e610e.
2021-08-08 14:19:15 -04:00
zefie
847a4f053b revert bf0app default build change
- so while I dislike that 7181 does not properly execute the 07081969 code, at least it can render the service pages correctly.
2021-08-08 13:49:28 -04:00
zefie
e55f9e610e config.json: enable compression by default 2021-08-08 13:37:50 -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
c539d408c9 implement config option to disable guest mode 2021-08-07 21:10:44 -04:00
zefie
12be904b5c enable config flag for compression, default false (until working fully) 2021-08-07 19:20:42 -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
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
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
822136f1ea update: app.js: add logging errors to file 2021-07-26 07:59:02 -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
cf00851798 v0.9.4
- feature: add SSID whitelist/blacklist as well as IP based SSID auth
- Add user_config_README.md
- Update user_config.example.json
- Update README.md
- update: wtv-1800:/finish-prereg: send tellyscript on relogin if tellyscripts are enabled, and wtv-script-id == 0 (no tellyscript)
- Allow definition of custom ServiceVault paths
- feature: app.js: add `bind_ip` option to specify an IP to bind to, instead of `0.0.0.0`
- feature: custom service logos and better wtv-home:/splash
2021-07-22 04:25:48 -04:00
zefie
59bfcc457f Revert "update: change user_config.json to be a complete override instead of hacky override. copy config.json to user_config.json to get started."
Instead, fix it.
2021-07-20 22:33:43 -04:00
zefie
8bc4d29815 v0.9.1
- fix: throw proper error if wtv-update:/sync called without arguments
- feature: Support to route all HTTP proxied requests over a SOCKS proxy (eg Tor or VPN)
- feature: Psuedo-HTTPS (WebTV can now visit HTTPS URLs via proxy, but
  we do not use SSL encryption when sending back to the WebTV)
- fix: header issue with login-stage-two.js
- update: wtv-update/sync: allow multiple groups in sync diskmap, fix md5 comparsion
- update: wtv-home:/home: added connection speed
- Renamed processSSID to filterSSID
- Documented and rewrote some functions
2021-07-20 20:57:41 -04:00
zefie
0e311b63aa v0.9.0
- update wtv-home:/home: "Ultra Willies" no longer selected by default
- update: allow socket timeout definition via config
- fix: fixed reading of POST DATA from SECURE ON request
- experiment with OISP and WNI tellyscripts
- enhancement: Support UserServiceVault
- update: enable Download-o-Rama style updates. MSNTV DealerDemo included as a demo
2021-07-19 14:49:10 -04:00
zefie
8b5a390773 update: change config variable name, allow user override (user_config.json) 2021-07-19 04:28:44 -04:00