Commit Graph

1068 Commits

Author SHA1 Message Date
zefie
8655417927 do not wtv-checksum on 0 byte content 2021-08-11 01:29:45 -04:00
zefie
f2ad0f81a3 Merge branch 'dev' 2021-08-11 01:27:58 -04:00
zefie
1910ded10a delete user file store when unregistering 2021-08-11 01:27:39 -04:00
zefie
107ddf0fa8 Merge branch 'dev' 2021-08-11 01:14:21 -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
11935a5886 remove dev files from vs project 2021-08-10 23:01:41 -04:00
Eric MacDonald
53998c236b Add ratio to compression log line 2021-08-10 22:57:55 -04:00
Eric MacDonald
a8f43ea5d5 Return when Finish() is called (makes it easier when we add stream comp) 2021-08-10 22:57:55 -04:00
Eric MacDonald
002c221f05 Remove WordArray from allowed input types then fix garbled text encoding issue 2021-08-10 22:57:54 -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
9b25b0b860 update userstore to allow path= too 2021-08-10 22:56:49 -04:00
zefie
0c0d1821d6 fix PUT commands 2021-08-10 22:48:28 -04:00
zefie
792c2390f3 remove dev testing scripts 2021-08-10 21:55:17 -04:00
zefie
be984557ae Merge branch 'dev' 2021-08-10 21:43:55 -04:00
zefie
d914710d94 add DOOM WADs to compression whitelist 2021-08-10 21:43:16 -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
59be925516 update .gitignore 2021-08-10 20:11:41 -04:00
zefie
fb83c5917b add extra newline to PUT command 2021-08-10 20:11:25 -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
7e8e9208e0 add registration checks to file store 2021-08-10 18:41:37 -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
a8039aeb7e remove debugging from sync 2021-08-10 14:33:33 -04:00
zefie
2f19b16454 shorten DealerDemo line 2021-08-10 14:03:02 -04:00
zefie
3a9674bda9 finish documentation in WTVDownloadList class 2021-08-10 13:37:17 -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
0d0fcdee59 Don't report zefie rom server status if not debug 2021-08-10 01:26:21 -04:00
zefie
5083b51c6b fix flashrom yet again 2021-08-10 01:17:39 -04:00
zefie
28adff5a59 v0.9.16 2021-08-10 00:25:17 -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
e359644998 fix potential issue with local flashroms 2021-08-09 18:48:15 -04:00
zefie
65b2a2061a Update README.md 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
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
2781fc10d4 Undo 337eecc9eb. Good intentions but doesn't really fix the core issue (and will break other things) 2021-08-09 18:48:14 -04:00
Eric MacDonald
56ab5228cd fix encryption errors 2021-08-09 18:48:13 -04:00
Eric MacDonald
410ce9f95e Remove event emitter
We can add non-blocking code at a later time
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
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