Commit Graph

39 Commits

Author SHA1 Message Date
zefie
58ce774797 update tricks 2022-11-29 13:49:37 -05:00
zefie
f18d1e2f7d add wtv-tricks:/home 2022-11-29 13:48:05 -05:00
zefie
44449eceee attempt to fix cSetup glitch 2022-11-28 14:33:21 -05:00
zefie
7f1a34e080 lock secondary user into relog if trying to unreg 2022-11-28 14:30:17 -05:00
zefie
6d15fbc9b4 fix could not unregister if multiple users existed 2022-11-28 14:28:40 -05:00
zefie
d81c97b5f2 cSetup switches to "other" preset when modified 2022-11-28 12:22:07 -05:00
zefie
81c77e505c undo more stuff I did for debugging 2022-11-28 11:57:05 -05:00
zefie
731582a09d fix wtv-int ip from testing 2022-11-28 11:48:37 -05:00
zefie
6fa4a0c368 fix server switching 2022-11-28 11:47:48 -05:00
zefie
260407ebad hotfix for cSetup 2022-11-28 10:10:53 -05:00
zefie
12dfd49992 version bump
- new homepage theme inspired by @GraspYonOx
- connect setup also mostly by @GraspYonOx
- some 'fixes' regarding module unloading, hopefully fixing call stack issue
- fixes to wtvshared.isAdmin() to not show log as if it was an access attempt
2022-11-28 09:51:13 -05:00
zefie
3113a5c20b add wtv-tricks:/charmap 2022-11-28 06:33:59 -05:00
zefie
37f1ab67ad BREAKING CHANGES: (for SeCuRiTy):
By default:
- `ssid_sessions[socket.ssid]` is now `session_data`
- `require` is no longer allowed in user scripts

To access global `socket_sessions` and `ssid_sessions`, as well as `require` additional modules, you must set `privileged: true` for the specific service. See `config.json`.
2022-10-09 13:26:14 -04:00
zefie
6a21c4a851 fix wtv-tricks:/info, tidy up eval VM related stuff 2022-09-26 17:20:27 -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
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
6a572fa0fa Revert "for some reason this pleases lzpf"
This reverts commit e6b758975f.
2021-09-10 23:36:05 -04:00
zefie
e6b758975f for some reason this pleases lzpf 2021-09-09 21:15:39 -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
1910ded10a delete user file store when unregistering 2021-08-11 01:27:39 -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
895397abee use service-style cookie links on tricks 2021-08-09 15:08:10 -04:00
zefie
e5d5b1e8e7 unescape query arguments during processing 2021-08-08 14:18:50 -04:00
zefie
9f102be02f fix acd90bc66b 2021-08-08 13:51:50 -04:00
zefie
acd90bc66b fix some mstv sim related issues 2021-08-08 13:11:54 -04:00
zefie
3bc839ed00 use lowercase sysconfig on wtv-tricks:/info 2021-08-08 11:39:44 -04:00
zefie
9c68dc5585 update version reporting to include git branch, in prep for v1.0 2021-08-08 11:18:31 -04:00
zefie
a37433132e wtv-tricks:/register: registering isn't dangerous! make it comfy 2021-08-07 20:55:05 -04:00
zefie
2b36ace012 update wtv-tricks system
- Info now shows Guest Mode or Subscriber Info
- Implemented wtv-tricks:/unregister
- Implemented wtv-tricks:/register
- Show correct link in wtv-tricks:/tricks based on Guest Mode status
2021-08-07 20:16:54 -04:00
zefie
f15f377f8e v0.9.12 - WILL REBASE - BE WARNED
- convert post_data to query if valid query data
- wtv-register system
- Store Session data as JSON flat file
- wtv-cookie support
- spent way too much time on a page no one will read
- move filterSSID to WTVClientSessionData
- disable compression until fixed
- do not delete WTVSec on last socket, instead recreate on prereg
- set 'wtv-bypass-proxy' to false
- rework header whitelist system for HTTP(s) proxy
- clean up SSID session data only if client is not seen for 3 minutes
- add shouldWeCompress() function
- add additional headers to wtv-setup:/get
- add initial blank wtv-music:/get-playlist
2021-08-07 17:00:26 -04:00
zefie
2fced1be8d update: add service ip to wtv-tricks:/info 2021-08-05 18:05:37 -04:00
zefie
33012515f5 fix: wtv-tricks:/info was not updated to use new ClientSessionData structure 2021-07-26 09:12:05 -04:00
zefie
a5806e8581 v0.9.6
- update: add initial wtv-capability-flags decoding, as well as wtv-tricks:/info demonstration
- update: rename classes
- minor update: quirky 'Special Thanks' in each custom class.
- minor update: notice about Initial Shared Key and multiple minisrvs
- update: wtv-music:/demo/index: update wtv-star image paths
- update: app.js: fix unencrypted post
- update: app.js: improve buffering and cleanup in attempt to fix occasional 'double-up' bug
- update: info.js: remove debug dump of capabilities
- Update: add test.js, syntax-testing script for `npm test`
- Update: wtv-chat:/home experimental nick change page thanks to MattMan (chat still giving issues on real boxes, works in Viewer)
- Update: README.md: Add ways to support the project
2021-07-25 08:56:52 -04:00
zefie
897bf10abb v0.9.2
wtvsec: use initial key for ticket signing
update: initial work for future ability to update wtv-ticket to client
update: wtv-flashrom: use zefie server only if file does not exist locally (allows both zefie server roms and local roms)
update: wtv-flashrom:/get-lc2-path: experimental 'Cancel Update' button
fix: wtv-tricks:/blastcache: return_to was not unescaped
2021-07-21 12:52:54 -04:00
zefie
248354e5a1 Clean up session info into a class 2021-07-19 05:57:34 -04:00
zefie
a6f8674a0a v0.8.0
- FlashROM Support for LC2 and newer.
- FlashROM system can handle local files, or proxy from server (default). No need to have a local FlashROM collection!
- Added 'verbosity' configuration option
- Update HTML Mode to async fileRead
- Config option for sending tellyscripts or not
- Config option to mask SSIDs in console log
- Update wtv-home:/home and wtv-home:/zefie
- Update .gitignore
- Add wtv-music:/demo/index courtesy of MattMan69
- Update HTML Mode to async fileRead
- Update Raw TXT Mode to async fileRead
- Replaced .async.js feature with defining `request_is_async` in standard .js script
- Cleaned up code a bit
- Moved global var 'query' to 'request_headers.query'
- Tidied ServiceDeps
- Upgraded wtv-log:/log to async, now also logs query arguments, saves to .txt for easier reading.
2021-07-18 08:05:26 -04:00
zefie
bd1ef1415c v0.7.2
- Rename project
- Add GPL3 License (RETROACTIVE)
- Fill out package.json
- Switch crc16 module to hopefully improve Windows end-user experience
- Update README
2021-07-17 18:50:20 -04:00