Commit Graph

1056 Commits

Author SHA1 Message Date
Eric MacDonald
1bc7cadac5 Remove other junk not needed 2021-08-07 19:44:38 -04:00
Eric MacDonald
8775eba32e Remove debug log 2021-08-07 19:44:22 -04:00
Eric MacDonald
a2f3ce67a1 Using session capabilities to enable compression now 2021-08-07 19:43:22 -04:00
zefie
d5fa489b9c some more fixes to the registration/login system 2021-08-07 19:41:33 -04:00
zefie
12be904b5c enable config flag for compression, default false (until working fully) 2021-08-07 19:20:42 -04:00
zefie
95d069582b fix guest login feature 2021-08-07 19:03:07 -04:00
zefie
c09d0d6989 respect Connection: close 2021-08-07 18:34:56 -04:00
zefie
00f80c9ea5 Merge branch 'lzpf-compression'
- fix issues caused by my rebasing
2021-08-07 17:27:28 -04:00
zefie
2d1893e450 revert sendToClient() to the state at which eMac merged his changes 2021-08-07 17:04:17 -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
Eric MacDonald
36a2aebe17 Remove wtv-lzpf detection to do stream comp outside sendToClient 2021-08-07 16:43:48 -04:00
Eric MacDonald
e6958fb2c3 'Working' Lzpf stream compression 2021-08-07 16:10:40 -04:00
Eric MacDonald
eb6fc5f89a Initial code for Lzpf stream compression 2021-08-07 15:29:20 -04:00
Eric MacDonald
1c8e0adbaf More removing Zefie's asyc stuff 2021-08-07 15:24:24 -04:00
Eric MacDonald
9fc9636b2c More removing Zefie's chunking 2021-08-07 15:23:09 -04:00
Eric MacDonald
7a69d3e8da Remove Zefie's chunking and async stuff. Will revisit later. Fixing alg first. 2021-08-07 15:11:18 -04:00
Eric MacDonald
6a286d6851 Change lookback to ring buffer 2021-08-07 14:52:09 -04:00
zefie
3da637dfb0 update: compression system: make asynchronous 2021-08-06 16:24:55 -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
Eric MacDonald
345f106b2c Fix type 2021-08-06 02:02:42 -04:00
Eric MacDonald
849467939c Change scope of clen so we can use and abuse it 2021-08-06 02:02:22 -04:00
Eric MacDonald
10bce64b83 Merge pull request #1 from zefie/lzpf-compression
Add Lzpf compression
2021-08-06 01:50:38 -04:00
Eric MacDonald
a75eb03942 Fix whitespace 2021-08-06 01:48:32 -04:00
Eric MacDonald
f12717bfef Add Lzpf compression 2021-08-06 01:42: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
60dc9bcc4c update: app.js: enable graceful shutdown with SIGTERM 2021-08-05 17:59:53 -04:00
zefie
5d48c58c1d http(s) proxy updates:
- allow ~ character
- fix HTTPS when using HTTP proxy
- include example webone.conf for external HTTP Proxy
2021-08-05 16:54:39 -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
5a6d1c2470 update: WTVClientCapabilities.js: catch exception when sent unknown configuration bits 2021-08-03 23:10:27 -04:00
zefie
3187236c27 update: app.js: getServiceString overrides should only be temporary for that request 2021-08-03 23:09:48 -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
63eeb3245a update: app.js: add special filtering for Dreamcast clients 2021-07-26 14:02: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
ef7bf82ee1 v0.9.7 version increment 2021-07-26 08:03:22 -04:00
zefie
822136f1ea update: app.js: add logging errors to file 2021-07-26 07:59:02 -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
7826891070 update: add isMiniBrowser() to WTVClientSessionData for easier detection of MiniBrowser. 2021-07-26 06:18:03 -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
03a3337cd4 update: WTVClientCapabilities.js: allow setting flags to false, to prevent potential issue with changing cap flags 2021-07-26 02:44:55 -04:00
zefie
cef29832e3 minor update: app.js: fix found file path in log on windows 2021-07-25 10:12:36 -04:00