Commit Graph

19 Commits

Author SHA1 Message Date
shockrah
591e993329 + Adding cache handler for adding lots of messages from one server call
+ Better error logging in cache

! There is still lots of debug logs which at some point need to be built _out_ from prod builds
Also I need some prod builds

+ Adding more return type annotations for clarity/docs sake

- Removed ancient docs in messages module as they were basically just straight up wrong
2021-04-15 19:57:13 -07:00
shockrah
40351f934e + New cache ipc handlers for adding server caches
Interface for this is fiddly and probably requires real docs to be further developed
without losing my mind doc the whole cache at some point
+ New cache ipc handlers for adding a new open web socket
Web socket comes with some basic listeners, however very litte/nothing
is being done check the health of these connections or to try when possible.

+ Cache now adds actual message objects to its message arrays instead of raw strings (wew)
+ Events module has been added to move the parsing logic/validation away from everything else

+ The basic Event structure has some niftier-than-you-think behavior for data acccess which the cache can leverage for more concise+ correct behavior
2021-04-14 23:00:26 -07:00
shockrah
8812ff7198 + text/plain Message sending works now
+ More skeleton code for the caching system

! Ready for rtc on text based message listening which is where heavy caching comes into play
2021-03-20 19:35:38 -07:00
shockrah
c4e3fa72ce More comprehensive example user config
 Moving main.js to use more async code and make things a bit more homogeneous
2021-03-08 19:50:01 -08:00
shockrah
7d3325fdc6 ipcMain now uses handle instead of .on for
 config-request probably doesn't need to be async like at all
2021-03-07 23:51:51 -08:00
shockrah
8e6c90b3c4 Removing superflous css in some jquery
 Messages now has its own properly named type exposed for other modules to use if it's required
 New jquery calls in messages to actually populate the message box with the last 48 hours worth of messages
2021-03-05 17:48:59 -08:00
shockrah
24a49663d2 dev_env environment var check 2021-02-12 18:13:24 -08:00
shockrah
d42c39d117 Hiding menu but not removing it anymore 2021-02-12 18:12:33 -08:00
shockrah
6904e8eb26 using env vars for some comfy defaults for development 2021-02-12 15:50:05 -08:00
shockrah
687b514d0d Adding listener for update-config requests from the render proc 2021-02-11 22:18:22 -08:00
shockrah
51fa07158f Mutable config now 2021-02-11 16:20:05 -08:00
shockrah
6e0919e32c Adding event handler for config request that only happens once on load 2021-01-01 20:01:37 -08:00
shockrah
430e10e6b6 Moved config loading to its own proper module 2021-01-01 17:14:00 -08:00
shockrah
4e657e2710 skeleton code for loading configs into the client at init time 2020-12-12 13:26:02 -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
cc0699f095 new directory structure and starting settings pages 2020-04-17 18:46:05 -07:00
shockrahwow
0529a0342e removing menu bar cuz its ugly 2019-11-27 00:46:43 -08:00
shockrahwow
76f002dacf basic windows stuff(that really needs tweaking duh) 2019-11-26 23:42:45 -08:00