Commit Graph

187 Commits

Author SHA1 Message Date
zefie
4f36dd7829 fix errpage issue on validate-change-password 2022-03-22 18:34:00 -04:00
zefie
0fa54babfb implement remove-user functionality 2022-03-18 21:36:09 -04:00
zefie
ffa0d7e63e implement mail signature colors 2022-03-18 16:35:44 -04:00
zefie
2ebc2d392b implement message_url support 2022-03-18 15:59:33 -04:00
zefie
a3c5e437e8 wtv-disk fixes
- Fix Karaoke/Music diskmaps not working if partition didn't already exist
- Fix downloadlist sending backslash on windows hosts (did not break functionality tho)
2022-03-17 19:56:32 -04:00
zefie
d70cb5bf36 mostly fix bad-disk detection
- may still get bad-disk screen once after fixing disk
- may only be an issue if the user reconnects before the cleanup
2022-03-17 19:24:06 -04:00
zefie
3269ec55a5 Don't close connection in lc2-download-complete 2022-03-17 18:18:33 -04:00
zefie
e081d34903 Add wtv-1800 service to wtv-1800:/noflash 2022-03-16 16:12:47 -04:00
zefie
2be8c66b01 Bug fixes
- wtv-tricks:/unregister properly deletes SSID folder
- Registration properly saves account data if SSID folder doesn't exist
- do not send wtv-mail-count if SSID is not yet registered
- Registration now correctly creates the welcome message for user0
- update wtv-tricks:/unregister to only allow the primary user to unregister the account
2022-03-12 15:14:32 -05:00
zefie
8acb801ef0 add wtv-mail-url header to login 2022-03-09 17:38:16 -05:00
zefie
a711e05a1d update the correct file 2022-03-09 17:38:15 -05:00
zefie
dddbbff478 now to fix passwords 2022-03-09 17:38:15 -05:00
zefie
6efbf465f0 more user creation tweaks 2022-03-09 17:38:14 -05:00
zefie
aa2fbfbbb3 tweat adding users 2022-03-09 17:38:14 -05:00
zefie
0a00e34537 fix login, probably break 5 other things 2022-03-09 17:38:14 -05:00
zefie
2a526c0702 initial attempt to fix security issue
- likely adds new bug where users will be kicked to relogin after the
  server restarts
- TODO: figure out a way to safely check the user login when session
  data is unknown (eg restart) (hint: ticket?)
2022-03-09 17:38:14 -05:00
zefie
c295f81ccc fix hangup button on user select page 2022-03-09 17:38:14 -05:00
zefie
cf3e15412e Using an invalid user_id is the better way to force null bug 2022-03-09 17:38:13 -05:00
zefie
59ba999b5a fix null user bug, but also make a page to intentionally trigger it 2022-03-09 17:38:13 -05:00
zefie
f32c4b1926 fix DealerDemo and other stuff 2022-03-09 17:38:13 -05:00
zefie
445e28c91a implement internal shared ROMCache
- make most ROMCache URLS relative
- create wtvshared.htmlEntitize function
- update wtv-mail:/readmail to use wtvshared.htmlEntitize
2022-03-09 17:38:12 -05:00
zefie
afb236e7da remove 'D:\test.jpg' testing from get-attachment 2022-03-09 17:38:12 -05:00
zefie
bc401765e8 remove iconv-lite module and accomplish the same failure with our own function 2022-03-09 17:38:11 -05:00
zefie
35471fd098 new module (iconv-lite) to attempt char encodings 2022-03-09 17:38:11 -05:00
zefie
81b2ea8faf handle message elements with special characters that get flagged as binary 2022-03-09 17:38:11 -05:00
zefie
264b7f576c readmail update 2022-03-09 17:38:11 -05:00
zefie
9e7549cec8 fix mail always sent to sender 2022-03-09 17:38:11 -05:00
zefie
9a7d4ec035 signatures still need voodoo for bgcolor and such 2022-03-09 17:38:10 -05:00
zefie
51a0576a3e only embed signature if its html, otherwise just write it 2022-03-09 17:38:10 -05:00
zefie
56e8fdd215 fix post on sendmail 2022-03-09 17:38:10 -05:00
zefie
dd38f65ec9 fix cache:snapshot.jpg >.> 2022-03-09 17:38:10 -05:00
zefie
06ea64fb07 more mail stuff again 2022-03-09 17:38:10 -05:00
zefie
123c8f7823 even more mail stuff 2022-03-09 17:38:09 -05:00
zefie
a5a035438b implement saveoff (saves draft when leaving compose) 2022-03-09 17:38:09 -05:00
zefie
4e6893ab02 add delete message function 2022-03-09 17:38:09 -05:00
zefie
fe821095aa fix password check when adding user 2022-03-09 17:38:09 -05:00
zefie
ccf48f3093 some more mail stuff 2022-03-09 17:38:08 -05:00
zefie
8068f842df fix minisrv branding on wtv-setup:/accounts 2022-03-09 17:38:08 -05:00
zefie
955f21039c even more fixes 2022-03-09 17:38:08 -05:00
zefie
4d8bc314b4 more fixes 2022-03-09 17:38:07 -05:00
zefie
db1b03fd99 update checkUserExists and inconsistencies 2022-03-09 17:38:07 -05:00
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
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
4297364e6c update legal and add some more config flags 2022-03-09 17:38:06 -05:00
zefie
2b345b7349 cosmetic fix to choose-user screen 2022-03-09 17:38:05 -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
e11c2c41ed Add 'Music' DiskMap 2022-01-15 05:29:51 -05:00
zefie
b13af2b8a2 Add Karaoke DiskMap 2022-01-15 05:29:50 -05:00