Commit Graph

86 Commits

Author SHA1 Message Date
zefie
0f0cc623c0 streaming output data with drain detection support
- other stuff x.x
2021-08-11 19:48:27 -04:00
zefie
265a96689a re-add wtv-name-server 2021-08-11 11:03:08 -04:00
zefie
f09f9f1672 oops again 2021-08-11 02:31:56 -04:00
zefie
0dd849b505 add no_debug option to WTVFlashrom
for get-lc2-page
2021-08-11 02:08:55 -04:00
zefie
d452f331a9 fix broken flashrom from previous update 2021-08-11 01:57:13 -04:00
zefie
1910ded10a delete user file store when unregistering 2021-08-11 01:27:39 -04:00
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
9b25b0b860 update userstore to allow path= too 2021-08-10 22:56:49 -04:00
zefie
3dd6e51832 hopefully fix POST for real
- main function still could use a rewrite
- more class branching and moving of functions
- Pass minisrv_config to classes
2021-08-10 21:41:34 -04:00
zefie
5d07f02490 remove 'psuedo-encryption' crap
- was really just the caused by an early minisrv bug
2021-08-10 20:21:12 -04:00
zefie
e9c883d85a too much to remember
- rewrote sync system yet again
- more classes
    - WTVShared class for shared functions
    - clientShowAlert class for easy client:showalert urls
- User File Store
    - Can upload with PUT commands in wtv-disk
    - Programmically access files with new functions in WTVClientSessionData
    - TODO: file browser
- other stuff I can't remember
2021-08-10 18:30:59 -04:00
zefie
2f19b16454 shorten DealerDemo line 2021-08-10 14:03:02 -04:00
zefie
83f44d7867 Move download list stuff to WTVDownloadList class
- easier to create your own download list in JS
- possible future client upload ability via PUT
2021-08-10 13:31:29 -04:00
zefie
e53de05d76 fix wtv-disk:/sync force update did not place downloaded files in correct area 2021-08-10 10:11:53 -04:00
zefie
ce7f6259b8 fix: new user registration did not save 2021-08-10 10:00:00 -04:00
zefie
255a96a85c do not reset services on reconnect 2021-08-10 02:45:49 -04:00
zefie
fac915108f fix issue with reconnect in guest mode 2021-08-10 02:42:17 -04:00
zefie
87c5e3a676 remove debugging from wtv-disk:/sync 2021-08-10 02:17:29 -04:00
zefie
5083b51c6b fix flashrom yet again 2021-08-10 01:17:39 -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
e359644998 fix potential issue with local flashroms 2021-08-09 18:48:15 -04:00
zefie
a078e58ce0 flashrom system updates
- fix bugs
- more WNI-like flow path
- make scripts use `service_name` variable so that they should work in a renamed service (eg not wtv-flashrom, untested)
2021-08-09 18:48:14 -04:00
zefie
7ae8fdc816 escape query in willie 2021-08-09 18:48:14 -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
1aa1755664 update wtv-home:/home
- remove spacing in favor of right alignment
- add compression status
2021-08-08 22:55:22 -04:00
zefie
b6be54dc03 correct branding in TOS 2021-08-08 22:16:31 -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
4befbc08a5 add username to home 2021-08-08 19:54:38 -04:00
zefie
04b5b7f578 fix possible loss of trust chain 2021-08-08 18:47:50 -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
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
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
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
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
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
zefie
d5fa489b9c some more fixes to the registration/login system 2021-08-07 19:41:33 -04:00
zefie
95d069582b fix guest login feature 2021-08-07 19:03:07 -04:00
zefie
00f80c9ea5 Merge branch 'lzpf-compression'
- fix issues caused by my rebasing
2021-08-07 17:27:28 -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
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
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