Commit Graph

15 Commits

Author SHA1 Message Date
shockrah
33b8bcd180 * Updating tslib and wslib 2021-09-23 10:29:31 -07:00
shockrah
42d6a77050 - Removing network control from the cache
From this point forward the cache should basically just be a data container.
Methods on the cache object are there for convenience and should only ever
return very simple data [booleans, integers, () etc.].
The cache should also have very litter/no concept of commands to decouple it
from the renderer process.
! list_channels is still implemented in the cache however it remaains a vestige
and will be moved to the net module

Also the client is getting some new packages for websocket connections and
while they work some additional work has to be put in to figure out where fug to
actually place the websocket so that it can update the cache+DOM in a seomewhat sensible fashion
2021-04-11 17:39:54 -07:00
shockrah
72f3461341 ! Due to user-id's being randomly generated it is now much more likely that id's can't be parsed by javascript properly
Json-bigint should help alleviate this issue by correctly parsing numbers for us

- Removing url method in favor of new url property in server config model

+ Building UserConfigs and ServerConfig from typical JS Obects
This should reduce some up front complexity regarding parameters

! Fix: using new url property instead of protocol + host + port

- Reducing upfront complexity of public channels API
* Also moving to using new updated server.url property
* Channels also handles its part of updating the dom now

bigint parsing in configs now

* More switches to server.url property
2021-04-10 17:09:21 -07:00
shockrah
498da4c899 Updating dependancies to latest versions and removing some fluff interim libs 2021-03-30 22:49:20 -07:00
shockrah
d620d3cc61 New types module written with typescript to slowly start migrating code over to typescript
The main reason for this change is for writing more descriptive code
Such a change isn't impossible with JS but requires annoying doccing that  most dev environments don't really pick up on ever

Also the cache system is goingto be much more complex than anything else in this project so static compilation should help remove annoyances
2021-03-11 17:22:05 -08:00
shockrah
94c36a7ce9 adding npm test command 2021-02-11 16:19:18 -08:00
shockrah
90563b3214 Updating packages to newest version and opting to use gotjs for requests 2021-02-11 15:08:06 -08:00
shockrah
e2360834f1 jsonwebtoken library added 2021-01-28 16:20:08 -08:00
shockrah
12e9c07d60 New launch scripts, basically at this point package.json it just for building but not for running anything 2021-01-01 17:14:36 -08:00
shockrah
ed3a185689 adding easy cmd line options parser 2020-12-07 22:17:17 -08:00
shockrah
4aea1b66ce updating bootstrap and removing purecss 2020-12-06 19:33:13 -08:00
shockrah
09f27dd554 ! More restructuring changes
The client is basically gonna get served from a localhost server via electron. It's a little weird but it has to do for now, also fuck mobile
2020-12-06 14:45:06 -08:00
shockrah
e3c8381cba Setting up skeleton to start implementing webrtc at the client level 2020-11-22 12:33:58 -08:00
shockrahwow
811395c4db project deps at start 2019-11-26 22:31:56 -08:00
shockrahwow
6c6c0d0c36 adding base package.json
fixed type in .gitignore
2019-11-26 20:33:52 -08:00