Commit Graph

174 Commits

Author SHA1 Message Date
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
zefie
ef6f53f238 Fix wtv-disk:/sync to accept 'diskmap' query case insensitively 2022-01-15 05:29:49 -05:00
zefie
ee0b2fb09d Update unread message support
- also tweaked listmail string
- still cannot send messages yet
2022-01-11 01:21:30 -05:00
zefie
75a5266b9d maybe add unread support whatever 2022-01-10 04:53:45 -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
a088ea1e42 initial work on wtv-mail system:
- WTVMail Class
- MailStore functions
- Can show user mail intro page (see home.js for link example)
- Create initial welcome email (poop for now) when creating mailstore
- Can list Inbox
- no sending yet
- no reading yet
- no receiving yet
2021-11-13 02:41:30 -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
2f51c3e7b5 add config option to disable splash screen info table 2021-11-10 23:45:10 -05:00
zefie
9657379f27 update splash page 2021-11-10 23:40:27 -05:00
zefie
d5f612acd2 update default homepage 2021-11-10 12:55:16 -05:00
zefie
72e0ae1560 Fix Setup page formatting 2021-11-10 12:55:10 -05:00
zefie
a76c31a9c8 more BGMusic updates
- update getCategoryList to return obj
- 2 custom categories
- improved classic support
- only tell client to refresh playlist if the playlist has changed
- move reset defaults for bgmusic due to autosubmit onleave on category page
- rearrange songs: move Lufia Fortress near Lufia Map
2021-11-10 12:54:00 -05:00
zefie
2251aad735 add mail signature (useless for now) 2021-11-09 16:25:00 -05:00
zefie
2ff327fb02 show ScreenBorder option to Old Classic units since it seems to work 2021-11-09 11:56:56 -05:00