zefie
fdd2f16f3b
breaking change: doErrorPage moved to wtvshared.doErrorPage
...
- but I fixed flashrom error handling..
- added a passthrough for old scripts
2021-08-16 08:12:27 -04:00
zefie
1967c076a9
add protection against requesting direct service files
2021-08-15 18:51:48 -04:00
zefie
7b0200eac8
misc fixes
2021-08-15 17:54:53 -04:00
zefie
78f6adee6e
allow space in url without urlencoding
2021-08-13 22:13:43 -04:00
zefie
1127f8def7
use HUFFMAN encoding for large files (seems to work)
2021-08-13 17:01:35 -04:00
zefie
c9d8cba7db
no, its not
2021-08-13 16:02:27 -04:00
zefie
b99dc82ca6
switch to deflate
2021-08-13 12:31:52 -04:00
zefie
1a204c4df5
fix crash when handling denied connections
2021-08-13 11:24:52 -04:00
zefie
ce5b2eeb3d
minibrowser theme thanks to MattMan
...
- remove TOS coz no one cares anyway
2021-08-13 03:54:19 -04:00
zefie
bef2f9e248
add aif/aiff to compressable
2021-08-13 01:30:52 -04:00
zefie
5b0b25bca6
apply system-wide dont_compress query to only wtv downloads
2021-08-12 17:58:10 -04:00
zefie
7bcead69c1
add compress: false option to diskmaps
2021-08-12 17:57:10 -04:00
zefie
7bf1314044
fix server crashing when file not found
2021-08-12 17:28:33 -04:00
zefie
3133a83197
move some functions to WTVShared
2021-08-12 16:15:39 -04:00
zefie
5e3d6f607c
yet another possible POST fix
2021-08-12 02:22:39 -04:00
zefie
63680781b3
just in case
2021-08-12 01:40:12 -04:00
zefie
0a4cbf10cf
move a comment
2021-08-12 01:29:46 -04:00
zefie
a498d6066d
fix formatting for compression debug log
2021-08-12 01:18:17 -04:00
zefie
c511632e91
fix streamed data out
2021-08-12 00:55:04 -04:00
zefie
896bba7c4b
Revert "undo streaming data out"
...
This reverts commit d37c2f60ec .
2021-08-12 00:42:54 -04:00
zefie
d37c2f60ec
undo streaming data out
2021-08-11 23:18:09 -04:00
zefie
e32913b10d
fix
2021-08-11 22:55:18 -04:00
zefie
4009b9d2f7
hopefully fix POST issues again
2021-08-11 22:09:48 -04:00
zefie
853218713a
update output streaming
2021-08-11 20:17:57 -04:00
zefie
0f0cc623c0
streaming output data with drain detection support
...
- other stuff x.x
2021-08-11 19:48:27 -04:00
zefie
fecbd032da
POST test 3?
2021-08-11 12:10:05 -04:00
zefie
97d65320ca
POST test 2
2021-08-11 12:05:52 -04:00
zefie
3d37c45f59
do not process wtv/download-list
2021-08-11 11:48:32 -04:00
zefie
fe7e076ff0
add calculating message
2021-08-11 11:44:34 -04:00
zefie
8e234e4841
POST test 1
2021-08-11 11:33:42 -04:00
zefie
da6827a377
dyslexia is fun :/
2021-08-11 11:20:25 -04:00
zefie
181d276820
catch error
2021-08-11 11:04:25 -04:00
zefie
d16b979ea9
oops
2021-08-11 01:59:23 -04:00
zefie
1403080eda
fix catchall log string
2021-08-11 01:58:13 -04:00
zefie
8655417927
do not wtv-checksum on 0 byte content
2021-08-11 01:29:45 -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
Eric MacDonald
53998c236b
Add ratio to compression log line
2021-08-10 22:57:55 -04:00
Eric MacDonald
7b3b7325a7
Change to % reduced so it's more useful info (ratio is usually uncomp_size:comp_size)
2021-08-10 22:57:54 -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
ca72399c08
move security check function
...
to try to clean up hellish data stream function
2021-08-10 20:10:46 -04:00
zefie
12d50f6e1c
fix post data
2021-08-10 19:14:40 -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
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
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
9f9bebf351
fix content type overrides
2021-08-09 23:40:27 -04:00
zefie
b87c1adac0
don't compress files under 256 bytes
2021-08-09 18:57:29 -04:00
zefie
23535780f3
remove this for now
...
- bf0app does it when logging back in with a tellyscript
- server did its job but box was not responding to wtv-visit
2021-08-09 18:48:14 -04:00
Eric MacDonald
56ab5228cd
fix encryption errors
2021-08-09 18:48:13 -04:00
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