Commit Graph

  • 95d069582b fix guest login feature zefie 2021-08-07 19:03:07 -04:00
  • c09d0d6989 respect Connection: close zefie 2021-08-07 18:34:56 -04:00
  • 00f80c9ea5 Merge branch 'lzpf-compression' - fix issues caused by my rebasing zefie 2021-08-07 17:27:28 -04:00
  • 2d1893e450 revert sendToClient() to the state at which eMac merged his changes zefie 2021-08-07 17:04:17 -04:00
  • 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 zefie 2021-08-06 12:18:30 -04:00
  • 36a2aebe17 Remove wtv-lzpf detection to do stream comp outside sendToClient Eric MacDonald 2021-08-07 16:43:48 -04:00
  • e6958fb2c3 'Working' Lzpf stream compression Eric MacDonald 2021-08-07 16:10:40 -04:00
  • eb6fc5f89a Initial code for Lzpf stream compression Eric MacDonald 2021-08-07 15:29:20 -04:00
  • 1c8e0adbaf More removing Zefie's asyc stuff Eric MacDonald 2021-08-07 15:24:24 -04:00
  • 9fc9636b2c More removing Zefie's chunking Eric MacDonald 2021-08-07 15:23:09 -04:00
  • 7a69d3e8da Remove Zefie's chunking and async stuff. Will revisit later. Fixing alg first. Eric MacDonald 2021-08-07 15:11:18 -04:00
  • 6a286d6851 Change lookback to ring buffer Eric MacDonald 2021-08-07 14:52:09 -04:00
  • 3da637dfb0 update: compression system: make asynchronous zefie 2021-08-06 16:20:44 -04:00
  • 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 zefie 2021-08-06 12:18:30 -04:00
  • 345f106b2c Fix type Eric MacDonald 2021-08-06 02:02:42 -04:00
  • 849467939c Change scope of clen so we can use and abuse it Eric MacDonald 2021-08-06 02:02:22 -04:00
  • 10bce64b83 Merge pull request #1 from zefie/lzpf-compression Eric MacDonald 2021-08-06 01:50:38 -04:00
  • a75eb03942 Fix whitespace Eric MacDonald 2021-08-06 01:48:32 -04:00
  • f12717bfef Add Lzpf compression Eric MacDonald 2021-08-06 01:42:27 -04:00
  • 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 zefie 2021-08-06 00:05:58 -04:00
  • 832a20e9a6 v0.9.11 - added example docker-compose for minisrv + webone - update: wtv-home:/home: reduce size of title to fit longer version numbers zefie 2021-08-05 18:27:39 -04:00
  • 2fced1be8d update: add service ip to wtv-tricks:/info zefie 2021-08-05 18:05:37 -04:00
  • 60dc9bcc4c update: app.js: enable graceful shutdown with SIGTERM zefie 2021-08-05 17:50:56 -04:00
  • 5d48c58c1d http(s) proxy updates: - allow ~ character - fix HTTPS when using HTTP proxy - include example webone.conf for external HTTP Proxy zefie 2021-08-05 16:54:39 -04:00
  • cbfa965ab5 update flashrom subsystem: - moved duplicate code into WTVFlashrom class - smarter part information detection zefie 2021-08-05 11:41:14 -04:00
  • dee03319cd fix: fixed tellyscript path for wtv-1800:/noflash (bf0app braindead) zefie 2021-08-05 10:50:14 -04:00
  • a82f00265c update: login system: do not send tellyscript nor login headers to reconnecting (eg client:redial) client zefie 2021-08-04 21:33:32 -04:00
  • 3866ed5ba1 update: wtv-chat:/home: fix colors zefie 2021-08-04 19:30:22 -04:00
  • 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) zefie 2021-08-04 00:06:38 -04:00
  • 5a6d1c2470 update: WTVClientCapabilities.js: catch exception when sent unknown configuration bits zefie 2021-08-03 23:10:27 -04:00
  • 3187236c27 update: app.js: getServiceString overrides should only be temporary for that request zefie 2021-08-02 14:59:10 -04:00
  • 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 zefie 2021-08-01 19:43:50 -04:00
  • 228ba3ebdb update: actually fix wtv-1800:/preregister and include tellyscripts zefie 2021-07-30 07:34:17 -04:00
  • 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) zefie 2021-07-29 09:06:42 -04:00
  • fd8d7e2d2e Update: change default service logos zefie 2021-07-28 19:57:05 -04:00
  • 63eeb3245a update: app.js: add special filtering for Dreamcast clients zefie 2021-07-26 14:02:05 -04:00
  • 33012515f5 fix: wtv-tricks:/info was not updated to use new ClientSessionData structure zefie 2021-07-26 09:12:05 -04:00
  • 0d7c54ce0c add wtv-1800:/offer-open-isp-suggest for dreamcast clients zefie 2021-07-26 08:47:24 -04:00
  • ef7bf82ee1 v0.9.7 version increment zefie 2021-07-26 08:03:22 -04:00
  • 822136f1ea update: app.js: add logging errors to file zefie 2021-07-26 07:59:02 -04:00
  • 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 zefie 2021-07-26 07:07:05 -04:00
  • 7826891070 update: add isMiniBrowser() to WTVClientSessionData for easier detection of MiniBrowser. zefie 2021-07-26 06:18:03 -04:00
  • 41b4deb831 update: add 'hasCap(flag)' function to WTVClientSessionData for easier client-capabilities checking (see wtv-home/home.js for an example) zefie 2021-07-26 06:12:53 -04:00
  • 03a3337cd4 update: WTVClientCapabilities.js: allow setting flags to false, to prevent potential issue with changing cap flags zefie 2021-07-26 02:44:55 -04:00
  • cef29832e3 minor update: app.js: fix found file path in log on windows zefie 2021-07-25 10:12:36 -04:00
  • 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 zefie 2021-07-25 03:19:19 -04:00
  • 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. zefie 2021-07-24 09:41:00 -04:00
  • 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 zefie 2021-07-23 15:59:02 -04:00
  • d2a6ea0097 fix: wtv-log:/log add: wtv-chat add: wtv-setup zefie 2021-07-23 09:38:32 -04:00
  • 88784e253c fix: wtv-head-waiter:/login-stage-two: usernames longerfix: build 3833 crashes when wtv-user-name is too long zefie 2021-07-22 08:42:11 -04:00
  • adca09f9e3 fix: http(s) proxy: handle socks HostUnreachable error zefie 2021-07-22 07:52:16 -04:00
  • b5b0e427e4 update: http(s) proxy: do not send internal 'wtv-connection-close' header to client zefie 2021-07-22 07:28:36 -04:00
  • 5b2d25ebd5 app.js: better minibrowser session cleanup zefie 2021-07-22 06:37:39 -04:00
  • fd9b08fec4 Revert "update: wtv-head-waiter:/login-stage-two: offer prompt to minibrowser to go to home or willie" zefie 2021-07-22 06:34:26 -04:00
  • c29d769387 code fixup: use ${} instead of escaping string zefie 2021-07-22 06:34:17 -04:00
  • 192162831a fix: clean up socket session data on socket error zefie 2021-07-22 05:51:07 -04:00
  • ba280335c6 update: wtv-head-waiter:/login-stage-two: offer prompt to minibrowser to go to home or willie zefie 2021-07-22 04:50:33 -04:00
  • 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 zefie 2021-07-22 00:45:19 -04:00
  • 45bbcecb72 v0.9.3 - fix: wtv-home:/home: remove nostatus to enable loading progress bar for outgoing links zefie 2021-07-21 23:18:33 -04:00
  • a67ad6b43c update: wtv-home:/home: add link to access downloaded DealerDemo zefie 2021-07-21 15:54:29 -04:00
  • d49b410443 fix: wtv-flashrom: fix search for local flashrom files zefie 2021-07-21 15:54:02 -04:00
  • 897bf10abb v0.9.2 wtvsec: use initial key for ticket signing update: initial work for future ability to update wtv-ticket to client update: wtv-flashrom: use zefie server only if file does not exist locally (allows both zefie server roms and local roms) update: wtv-flashrom:/get-lc2-path: experimental 'Cancel Update' button fix: wtv-tricks:/blastcache: return_to was not unescaped zefie 2021-07-20 23:44:55 -04:00
  • b07d74d2db wtvsec: use initial key for tickets zefie 2021-07-20 23:44:29 -04:00
  • 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." zefie 2021-07-20 22:25:28 -04:00
  • 6da7da5c34 update: change user_config.json to be a complete override instead of hacky override. copy config.json to user_config.json to get started. zefie 2021-07-20 22:12:25 -04:00
  • 9af6b4089f update .gitignore zefie 2021-07-20 21:02:04 -04:00
  • 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 zefie 2021-07-20 05:45:43 -04:00
  • 8f91ba2a5c fix: encrypted request headers were shown despite verbosity level zefie 2021-07-19 23:33:08 -04:00
  • 1a10505401 Reset wtvsec_login on every finish-prereg call zefie 2021-07-19 15:31:54 -04:00
  • 9f0163fe73 Update ServiceVault.md zefie 2021-07-19 15:06:32 -04:00
  • 91a883ba95 Update ServiceVault.md zefie 2021-07-19 15:06:15 -04:00
  • dcf8b3d5e9 Update README.md zefie 2021-07-19 15:03:35 -04:00
  • 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 zefie 2021-07-19 07:22:47 -04:00
  • be53b52487 update: removed useless dev stuff from git zefie 2021-07-19 06:08:47 -04:00
  • 7b9bd8fe37 v0.8.1 minor version increment zefie 2021-07-19 05:58:05 -04:00
  • 248354e5a1 Clean up session info into a class zefie 2021-07-19 05:57:34 -04:00
  • 3b65c7b254 update user-config example zefie 2021-07-19 05:56:56 -04:00
  • 8b5a390773 update: change config variable name, allow user override (user_config.json) zefie 2021-07-19 04:26:32 -04:00
  • ea3235957b fix: could not read service folders/files that had urlescape'd characters in them zefie 2021-07-19 00:04:43 -04:00
  • 851839f474 fix: In some cases SSID was not filtered zefie 2021-07-19 00:04:30 -04:00
  • cf8fa371d6 fix: reported verbosity levels zefie 2021-07-18 09:33:45 -04:00
  • a571699541 Update README.md zefie 2021-07-18 08:11:07 -04:00
  • a6f8674a0a v0.8.0 - FlashROM Support for LC2 and newer. - FlashROM system can handle local files, or proxy from server (default). No need to have a local FlashROM collection! - Added 'verbosity' configuration option - Update HTML Mode to async fileRead - Config option for sending tellyscripts or not - Config option to mask SSIDs in console log - Update wtv-home:/home and wtv-home:/zefie - Update .gitignore - Add wtv-music:/demo/index courtesy of MattMan69 - Update HTML Mode to async fileRead - Update Raw TXT Mode to async fileRead - Replaced .async.js feature with defining request_is_async in standard .js script - Cleaned up code a bit - Moved global var 'query' to 'request_headers.query' - Tidied ServiceDeps - Upgraded wtv-log:/log to async, now also logs query arguments, saves to .txt for easier reading. zefie 2021-07-17 19:32:35 -04:00
  • 87bd990383 Update ServiceVault.md zefie 2021-07-17 19:30:09 -04:00
  • d80ae376e8 Create ServiceVault.md zefie 2021-07-17 19:15:43 -04:00
  • bd1ef1415c v0.7.2 - Rename project - Add GPL3 License (RETROACTIVE) - Fill out package.json - Switch crc16 module to hopefully improve Windows end-user experience - Update README zefie 2021-07-17 17:28:22 -04:00
  • 627433b2c1 Sync servicevault files into vs project (nsjproj) file zefie 2021-07-17 17:16:06 -04:00
  • be10fbc58b add config.service_name variable for future use zefie 2021-07-17 17:15:16 -04:00
  • f72c73cfe6 fix: typo in zefie.html zefie 2021-07-17 17:14:45 -04:00
  • e27d283d66 begin initial work on wtv-flashrom (not yet ready) zefie 2021-07-17 17:14:12 -04:00
  • 3a433a82f4 fix: proxy binary data zefie 2021-07-17 11:00:36 -04:00
  • 56ced69897 fix: properly handle proxy dns error zefie 2021-07-17 10:29:45 -04:00
  • bffc7b7945 http proxy support (with support for external proxies such as WebOne) zefie 2021-07-17 09:23:00 -04:00
  • e542328093 v0.7.0 zefie 2021-07-15 03:20:20 -04:00
  • d64e9a0e94 fix file loading issues, v0.6.1 zefie 2021-07-15 02:09:37 -04:00
  • a0c8299a31 minor changes, included mini tutorial, version inc zefie 2021-07-15 00:21:35 -04:00
  • 1b4809f70b proper nodejs versioning, encryption working zefie 2021-07-14 08:54:54 -04:00
  • 06dd3d7ebf proper encryption sessions to maintain working RC4 stream zefie 2021-07-13 23:24:33 -04:00
  • 6229567272 full encrypted convo to splash zefie 2021-07-12 19:48:35 -04:00
  • e3c5c15a7c fix challenge exchange and tickets zefie 2021-07-11 18:28:53 -04:00