Commit Graph

572 Commits

Author SHA1 Message Date
Eric MacDonald
f28d63708c Scratch that. Do what offers better compression over replicating the service. RC4 is too random 2021-08-09 18:48:13 -04:00
Eric MacDonald
fa02d6c802 Less problems compressing after RC4 2021-08-09 18:48:13 -04:00
Eric MacDonald
b0f28852da Add missing ;s 2021-08-09 18:48:12 -04:00
zefie
60f76bdac3 version increment 2021-08-09 17:42:58 -04:00
zefie
b4f5db925a update user_config readme 2021-08-09 17:41:56 -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
28c2c80889 more accurately mimic WTVP
by accepting URLs without /
2021-08-09 15:03:04 -04:00
zefie
1e0fd20ae6 guest mode session store update
- allow calls to saveSessionData() but do not actually write if user is guest
- saveSessionData() returns true even if guest, because false is meant to define an error
- You can also use SaveIfRegistered(), this will return false on both saveSessionData() errors AND guest mode;
- if you want to block guests, check for isRegistered() and block the request if it is false
- otherwise this update will allow all tools (including any logins) to work with guest mode, but the stored SessionData will not be persistently saved, and lost when the cleanup timeout hits (default 3 min), or the server is restarted.
2021-08-09 14:39:11 -04:00
zefie
fe53525b39 do not compress if softmodem minibrowser 2021-08-09 14:07:14 -04:00
zefie
7d102033fc fix socket cleanup timeout system 2021-08-09 13:07:44 -04:00
zefie
376aadd762 Revert "respect Connection: close"
This reverts commit c09d0d6989.
2021-08-09 10:47:38 -04:00
zefie
62eba01ddd only compress if http status 200 2021-08-09 10:47:26 -04:00
zefie
e99a9a5e51 missed a this 2021-08-09 10:08:16 -04:00
zefie
3a6a47124a update Dockerfile 2021-08-08 23:40:14 -04:00
zefie
a426a36a24 fix quiet logging undefined bytes 2021-08-08 23:34:15 -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
177c43192e Merge branch 'dev' 2021-08-08 22:27:47 -04:00
zefie
72f1c989c6 add gzip compression for LC2 and newer 2021-08-08 22:25:42 -04:00
zefie
337eecc9eb this might be crazy but it appears to help a bit (at least on the ServeLegal page) 2021-08-08 22:22:14 -04:00
zefie
b6be54dc03 correct branding in TOS 2021-08-08 22:16:31 -04:00
zefie
e917132437 fix f0861e2f21 2021-08-08 21:47:42 -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
26fe50ea17 add username to home 2021-08-08 19:55:26 -04:00
zefie
7e3d340fec improve session retention 2021-08-08 19:55:17 -04:00
zefie
304968a364 version increment for dev 2021-08-08 19:54:44 -04:00
zefie
4befbc08a5 add username to home 2021-08-08 19:54:38 -04:00
zefie
f0861e2f21 improve session retention 2021-08-08 19:54:29 -04:00
zefie
34d4893f30 fix possible loss of trust chain 2021-08-08 18:49:34 -04:00
zefie
04b5b7f578 fix possible loss of trust chain 2021-08-08 18:47:50 -04:00
zefie
d6b8ed40ed minor updates 2021-08-08 18:19:56 -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
e09af90908 further fix d4e355a0a3
- was only replacing one +
- code for single post element was erroneous
2021-08-08 18:06:55 -04:00
zefie
00d0d59f07 Revert "lzpf: updated function flow path"
This reverts commit 02c92b8527.
2021-08-08 17:26:33 -04:00
zefie
c81279310b update class header comments 2021-08-08 17:24:57 -04:00
zefie
02c92b8527 lzpf: updated function flow path 2021-08-08 17:24:50 -04:00
zefie
5e8aebd621 fix documentation update from 1949ccb01a 2021-08-08 16:45:33 -04:00
zefie
9deb84b9d2 WTVSec Updates
- optimize WordArray to Buffer functions
- update documentation in WTVSec
- update WTVSec barrowed function in WTVLzpf
- removed NewRC4Session, was a pointless alias to SecureOn
2021-08-08 16:41:03 -04:00
zefie
1949ccb01a lzpf: this doesn't fix anything but doesn't break it more either :)
- renamed some functions
- fixed some param documentation
- added ConvertToBuffer function
2021-08-08 16:05:02 -04:00
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