Commit Graph

282 Commits

Author SHA1 Message Date
zefie
cc88570466 WTVP does not use \r, so swapping the internal header's usage for now. May remove internal header in future update 2021-08-08 15:34:45 -04:00
zefie
514a4bf11d missed this in d4e355a0a3 2021-08-08 15:03:31 -04:00
zefie
75c59d9e56 re-add git commit to console version string 2021-08-08 14:26:17 -04:00
zefie
d4e355a0a3 fix e5d5b1e8e7 2021-08-08 14:25:05 -04:00
zefie
649a6d2fd2 Revert "config.json: enable compression by default"
This reverts commit e55f9e610e.
2021-08-08 14:19:15 -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
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
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
6741e1e374 Merge branch 'lzpf-compression' 2021-08-08 12:57:23 -04:00
zefie
18e74dc53c update getConType with known WTV overrides 2021-08-08 12:11:19 -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
760ee5ea75 set compression default to on for test branch 2021-08-07 21:44:08 -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
f0930ee8d3 Update README.md
big doings
2021-08-07 20:36:08 -04:00
zefie
63a1d8dae4 update Dockerfile to use official node sources 2021-08-07 20:25:27 -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
Eric MacDonald
47f54dda46 Whoopies. Needed to define things 2021-08-07 19:49:45 -04:00
Eric MacDonald
72dcce0f8f Use uncompressed length for Content-length like WNI (fixes HTML pages) 2021-08-07 19:46:15 -04:00
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