Commit Graph

1183 Commits

Author SHA1 Message Date
zefie
3dbb258b8f add wtvchat://
(and unofficial irc://)
2022-11-30 21:26:56 -05:00
zefie
2cde307e20 add news: url support 2022-11-30 21:02:51 -05:00
zefie
3ffadd8422 dont send pc services to webtv client
+ fix stuff
2022-11-30 20:43:59 -05:00
zefie
24dc795680 remove ZefieTV.gif
(it belongs in zefieTV's UserServiceVault)
2022-11-30 16:15:30 -05:00
zefie
5cf94173c9 allow user logo on homepage 2022-11-30 15:48:14 -05:00
zefie
5c74ea22ec update sanitizer 2022-11-30 14:23:11 -05:00
zefie
d8e9496296 this should render new updates in proper order 2022-11-30 14:10:26 -05:00
zefie
c1ad83b152 html news post is proper RFC mime attachment 2022-11-30 14:05:59 -05:00
zefie
eba56942a1 fix debugging 2022-11-30 13:41:52 -05:00
zefie
0bdc16b0cb enable html mail and usenet bodies
- also move subject for usenet
2022-11-30 13:33:10 -05:00
zefie
bb60066100 Feature Packs -> Feature Bits 2022-11-30 12:23:28 -05:00
zefie
5c9fb66a2e remove unused debug var 2022-11-30 12:23:04 -05:00
zefie
4b3d778c39 restore servicedeps to project file 2022-11-30 12:21:54 -05:00
zefie
ccdb115d9d ssl redirect also includes path 2022-11-30 12:17:15 -05:00
zefie
93259f8d84 fix wtvshared getServiceDep 2022-11-30 12:03:36 -05:00
zefie
7059e82aeb fix dirs and ignores 2022-11-30 11:55:39 -05:00
zefie
e4542542cf fix 4th line of welcome table 2022-11-30 11:37:46 -05:00
zefie
46688eb8ee add service_description option 2022-11-30 11:28:24 -05:00
zefie
5678472dde change order of configuration messages 2022-11-30 11:14:05 -05:00
zefie
d93ff2e2a6 dev should always be one version ahead of master 2022-11-30 11:12:30 -05:00
zefie
0af88f56cb fix last commit 2022-11-30 11:11:19 -05:00
zefie
3c896aa53e show ssl request on less verbosity 2022-11-30 11:09:30 -05:00
zefie
0dcc6bdcee add missing function getServiceByVaultDir 2022-11-30 11:07:16 -05:00
zefie
ca18ab3de6 add https pc services support 2022-11-30 10:45:35 -05:00
zefie
08de059758 clean up file structure 2022-11-30 10:42:10 -05:00
zefie
89407e7d51 before I forget 2022-11-30 10:20:14 -05:00
zefie
e3d9ef22fe ?? delete this 2022-11-30 07:11:02 -05:00
zefie
c05d7eae6a remove outdated info from user config readme 2022-11-30 07:04:45 -05:00
zefie
b7b17b7a33 prepend 0 if crc is <= 16 2022-11-29 16:51:12 -05:00
zefie
83e2d779f2 generate proper ssids 2022-11-29 16:47:20 -05:00
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
10069e1faa dont autogen ssid since we default to server 2022-11-29 13:47:16 -05:00
zefie
8bc30fb164 add wtv-viewer header with viewer version for future server handling 2022-11-29 13:38:09 -05:00
zefie
e22c4b1b79 remove zip since its a featire bit now 2022-11-29 13:27:55 -05:00
zefie
5eeaf63696 add 'feature bit' option for byte patching features 2022-11-29 13:24:56 -05:00
zefie
040e035548 v0.9.37
- remove extra debugging
- fix: could not unregister if multiple users existed
- fix: http(s) proxy
- add example in user_config.example.json to use public proxy
- maybe fix: double reg
- add support for "modpacks" to viewergen
  - first mod is "BackgroundSound" by @Sgeo (and https://github.com/elishacloud/dxwrapper)
2022-11-29 08:29:32 -05:00
zefie
c2a3081afd v0.9.36
- BREAKING CHANGE from v0.9.35 and eariler: Move accounts into subfolder of SessionStore
 - viewergen and viewer updates from @GraspYonOx
 - new homepage theme inspired by @GraspYonOx
 - connect setup also mostly by @GraspYonOx
 - numerous bug fixes
 - nntp-server-zefie is now on npmjs
 - implement proper nodejs debugging
   - will start to phase out using console.log for actual debugging
   - existing "debug" (verbose) messages will stay as is
   - future code debugging will use debug() to debug WIP, therefore not showing to most users if it is accidently left in
2022-11-29 08:29:31 -05:00
zefie
b89e0e932c v0.9.35
- numerous bug fixes
 - wtv-news goodies, ready for local testing
   - custom patched nntp-server node module with support for POSTing
   - should be able to post locally
   - 4 groups are made by default
   - can override in user_config.json (look at the config.json changes but dont do them there)
   - can sync down from an upstream server with sync_nntp.js
   - sync does not push new posts to upstream yet
2022-11-29 08:29:31 -05:00
zefie
1165b245ce v0.9.33
- numerous bug fixes
 - wtv-mail system
 - user account updates
 - viewergen alpha (experimental webtv viewer patcher on pc_service)
 - implement wtv-favorites with huge help from @JarHead4
 - add wtv-ticket store api
 - Bump vm2 from 3.9.5 to 3.9.7 in /zefie_wtvp_minisrv
 - fix bf0app default rom
 - Add wtv-1800 service to wtv-1800:/noflash
 - handle webtvism:
   - allow get/post variables to be the same name multiple times
   - rather than overwrite, the server will now change the variable from a string to an array.
 - Rewrite script processing a bit
   - Instead of using eval() we now use a proper VM Context
   - As a result, any scripting errors will now give a more useful filename and line number.
   - However, some things may break, if they are dependant on variables we are not allowing in the context.
 - BREAKING CHANGES:
   - `ssid_sessions[socket.ssid]` is now `session_data`
   - `require` is no longer allowed in user scripts
 - add star service
 - change how we handle modules for services in the VM
 - fixed wtv-disk:/sync always failed the first time
 - implement production-like wtv-star handling (when a service port becomes unavailable, it requests the url over the wtv-star port to show an error page)
 - renamed WTVDownloadList.js to WTVDisk.js
 - a bit more work on WTVNews (created class)
 - probably more stuff I can't remember
2022-11-29 08:29:25 -05:00
zefie
4544e815cb v0.9.24
- numerous bug fixes
2022-11-29 08:28:34 -05:00
zefie
94e44cad41 v0.9.23
- numerous bug fixes
 - wtv-setup + bgmusic
  - wtv-setup pages thanks to https://github.com/JarHead4
  - wtv-backgroundmusic support
  - keyboard and text size settings support
  - removed small midi music demo in favor of backgroundmusic system
2022-11-29 08:28:25 -05:00
zefie
3b761a495c v0.9.22
- numerous bug fixes
2022-11-29 08:27:59 -05:00
zefie
245e126298 v0.9.21
- numerous bug fixes
 - add UTV tellyscripts
 - BREAKING CHANGE: doErrorPage moved to wtvshared.doErrorPage
	- but I fixed flashrom error handling..
	- added a passthrough for old scripts
 - added eMac's lzpf compression
 - Bump vm2 from 3.9.3 to 3.9.5 in /zefie_wtvp_minisrv
2022-11-29 08:27:59 -05:00
zefie
72c15305fa v0.9.19
- numerous bug fixes
 - add `npm start` support
 - minibrowser theme thanks to @GraspYonOx
 - remove TOS coz no one cares anyway
2022-11-29 08:27:58 -05:00
zefie
b96718555b v0.9.18
- numerous bug fixes
 - 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
  - work on post data bug
  - 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
  - update to v90 modem firmware
    - offer kflex with `Old` diskmap
2022-11-29 08:27:58 -05:00
zefie
6f2fa1d510 v0.9.16
- numerous bug fixes
 - improve session retention
 - use wtv-head-waiter:/relogin for boot url
   - viewer seems to retain only wtv-* and wtv-head-waiter, so lets try to be closer to protocol and boot with a wtv-head-waiter address instead of wtv-1800
   - we still handle via wtv-1800 but we accept wtv-head-waiter:/relogin and send the client on its way to the relogin path
 - update wtv-home:/home
   - remove spacing in favor of right alignment
   - add compression status
 - guest mode session store update
   - allow calls to saveSessionData() but do not actually write if user is guest
   - saveSessionData() returns true even if guest, because false is meant to define an error
   - You can also use SaveIfRegistered(), this will return false on both saveSessionData() errors AND guest mode;
   - if you want to block guests, check for isRegistered() and block the request if it is false
   - otherwise this update will allow all tools (including any logins) to work with guest mode, but the stored SessionData will not be persistently saved, and lost when the cleanup timeout hits (default 3 min), or the server is restarted.
 - more accurately mimic WTVP by accepting URLs without /
 - use service-style cookie links on tricks
 - add catchall system & http pc server
   - define a catchall name to run globally or per service
   - catchall must be javascript, but not necessarily a .js file
   - catchall can request async mode
   - catchall will catch any non-existing requests under its directory
   - see wtv-flashrom:/content/content-serve.js as an example, which will catch wtv-flashrom:/content/ URLs.
 - http pc: sends HTTP/1.0 to PC clients
   - can be disabled with `pc_server_hidden_service_enabled`: false
   - can change servicevault path by changing string of pc_server_hidden_service
   - get.js in default PC service vault to get any WTV Url on the service
 - 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)
 - 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
2022-11-29 08:27:57 -05:00
zefie
df472ab91f v0.9.13
- wtv-cookie support
 - further development will be in dev branch (may rebase alot)
 - compression not yet ready, leave it disabled
 - update: do not delete WTVSec on last socket, instead recreate on prereg
 - update: clean up SSID session data only if client is not seen for 3 minutes
 - update: add shouldWeCompress() function
 - update: tweak lzpf (still corrupted)
 - update: rename wtv-setup:/get to wtv-setup:/get-settings
 - update: add additional headers to wtv-setup:/get-settings
 - update: add initial blank wtv-music:/get-playlist
 - 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
 - config.json: enable compression by default
 - WTVP does not use \r, so swapping the internal header's usage for now. May remove internal header in future update
 - lzpf: this doesn't fix anything but doesn't break it more either :)
  - renamed some functions
  - fixed some param documentation
  - added ConvertToBuffer function
 - WTVSec Updates
  - optimize WordArray to Buffer functions
  - update documentation in WTVSec
  - update WTVSec barrowed function in WTVLzpf
  - removed NewRC4Session, was a pointless alias to SecureOn
2022-11-29 08:27:52 -05:00
zefie
cb8e69d7af v0.9.37 2022-11-29 08:20:57 -05:00
zefie
622afce5c7 v0.9.12
- 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
 - update: WTVClientCapabilities: add unknown bits instead of logging error
 - update: fix flashrom system
 - update: webone example config
 - update: app.js: more 'binary block' exclusions
 - update: fix tellyscript folder name for case-sensitive filesystems
 - add Lzpf compression
2022-11-29 07:43:53 -05:00