Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Scalzi
e76eb91ac9
Test improvements.
Clean mojang test directory.
Added test for server status.
Disable winston in test mode.
2020-08-27 21:55:24 -04:00
Daniel Scalzi
c7b95f3719
Clean up structure of Mojang API/Util files. 2020-08-27 21:27:56 -04:00
Daniel Scalzi
bc43d842e3
Pull out common got error handling for generic use. Initial distribution loading (no application state storage yet). 2020-08-24 20:18:08 -04:00
Daniel Scalzi
c670b7d88d
Initial work on overlay system.
The overlay display is driven by an array in the global redux store. Overlay
content is now queueabale, so alerts can be asynchronously dispatched without
interferring with existing displayed content.

The server/account select overlay components are yet to be completed. Some usability
features also need to be implemented, such as keybinds for the acknowledge/dismiss
buttons.
2020-06-12 20:58:07 -04:00
Daniel Scalzi
9a67087766
Move code to common.
Renderer will be only react/redux code.
Common code can be used in both main and renderer.
2020-05-24 15:44:16 -04:00
Daniel Scalzi
c9147d86a8
Added Index Processor for Mojang Indices.
Also added test for the mojang processor.
TBD: Progress System for Validations.
TBD: Processor for Distribution.json.
2020-04-18 04:59:35 -04:00
Daniel Scalzi
8764c52fcc
Use Got instead of Axios.
The lack of maintainers on Axios is worrying. Got seems like a more solid option.
2020-04-17 23:50:18 -04:00
Daniel Scalzi
75a7e0f713
File structure refactor, move old files to old directory.
Removed legacy config path support in ConfigManager.
Moved model files to corresponding subdirectories, rather than being in
an uber model directory.
2020-04-13 22:51:32 -04:00
Daniel Scalzi
9097bafb5d
Added Axios + Logging & Testing Frameworks.
Rewrote mojang.ts to use axios. This included creating a more robust error handling
system and response payload structure. Also included unit tests.

Added axios (HTTP Library to replace request)
Added winston (Logging Framework)
Added mocha (Testing Framework)
Added chai (assertion library)
Added nock (mock server)
2020-04-13 22:21:48 -04:00