Commit Graph

389 Commits

Author SHA1 Message Date
zefie
bf7369431e add wtv-ticket store api
- fix broken session bust crap from before
- properly resume session as user when server restarted
- api available to store other things in the wtv-ticket
2022-03-09 17:38:07 -05:00
zefie
d1c70c7ab1 disable session buster detection code for now
- breaks guest mode
- breaks registration
- really just breaks more than it fixes
- need ticket key/value system
2022-03-09 17:38:06 -05:00
zefie
433fc3db19 more patches to previous updates
- fixed getUnreadMailCount
- added unread mail count to login screen
- added session busted detection (new bug that when you restart minisrv it loses the user_id, so we send the client to relog) (todo: maybe add api to add key/value to ticket so we can retain data over server restarts)
2022-03-09 17:38:06 -05:00
zefie
c31f4cfa8c various fixes to previous commit 2022-03-09 17:38:05 -05:00
zefie
0d991d5eac user account updates
- move user accounts to subdir
- add password support
- implemented basics of multi-user support
- Can add users, edit them, and log in with them (password or not)
- Cannot delete users (with service) yet
2022-03-09 17:37:57 -05:00
zefie
622698ee66 attempt to fix: bad disk units are perpetually banned 2022-02-06 11:34:55 -05:00
zefie
16b7b91cfb update comments and formatting 2022-01-21 11:19:55 -05:00
zefie
e9ede65602 Add X-Forwarded-For for HTTP Proxy 2022-01-21 10:21:46 -05:00
zefie
efbef7e8f5 Add 'Object.getCaseInsensitiveKey()' prototype override 2022-01-15 05:29:24 -05:00
zefie
495db31ae1 add support for custom wtv-explanation-url on errors 2022-01-12 10:26:53 -05:00
zefie
b20d09d3dd Add friendlier HTTP error messages 2022-01-11 01:48:34 -05:00
zefie
b1d4c4c0bd fix issue with a certain site with invalid urls 2021-11-18 00:36:39 -05:00
zefie
ee76fd5190 more mail stuff
- todo: alot, but mainly track new/read and get local working
2021-11-15 00:51:31 -05:00
zefie
3da57455eb re-write security system to be more like WNI
- can get telly and reach stage-two
- narrow whitelist of allowed URLS in WTVClientSessionData constructor
- enough to show wtv-1800:/unauthorized with trust priv
- Times out lockeddown users really fast ;)
- untested disk error page
2021-11-12 15:35:40 -05:00
zefie
4e6b541cc9 add fancy block page 2021-11-10 12:55:10 -05:00
zefie
149adae3d5 do not trigger pc services when webtv client uses http 2021-09-10 23:43:36 -04:00
zefie
80b45e7707 remove whatever this is 2021-08-27 14:49:32 -04:00
zefie
cf10504f32 don't assume an incarnation header was sent with a ticket 2021-08-16 08:32:31 -04:00
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