Commit Graph

5226 Commits (e949123a08c42adead8cc130d5d9372d857759ab)

Author SHA1 Message Date
derekpierre ba930356c2 Ensure wss is subscribed to state and node events
Use default host as 127.0.0.1 instead of 0.0.0.0
2019-11-25 16:22:50 -08:00
Kieran Prasch a7f9ad22fe Respond to RFCs in PR #1313 - Cleanup Moe Websocket param handling. 2019-11-25 16:22:50 -08:00
Kieran Prasch a0a113a9a4 temp. hardcode for ws host 2019-11-25 16:22:50 -08:00
Kieran Prasch 3208e52630 Accept TLS private key filepath via Moe CLI 2019-11-25 16:22:50 -08:00
Kieran Prasch 2fb9df8bc3 Allow pre-existing certs via Moe CLI 2019-11-25 16:22:50 -08:00
Kieran R. Prasch c17dbb00f8 Include origin host IP in socket templating. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 3e380e3183 WSS Support for Moe services. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch f796180eb5 Self-Signed Cert for Mo via TLSHostingPower. 2019-11-25 16:22:50 -08:00
derekpierre aef1055146 Ensure that Moe graphs start at 0 for the y-axis 2019-11-25 16:22:50 -08:00
derekpierre 16b15fd7f7 Fix staker checksum and show correct previous states - the current states shown are not the latest. 2019-11-25 16:22:50 -08:00
derekpierre 5c3b866ac0 Improve coloring of graphs, ticks used for x-axis, layout of nickname in nodes table 2019-11-25 16:22:50 -08:00
Kieran Prasch 7652dd3c11 Status App Reorg and Layout Improvments for mobile. Hack and Slash. 2019-11-25 16:22:50 -08:00
Kieran Prasch 669d0a6716 Dark Theme and Layout improvements - Caching future stakes, influxdb integration. 2019-11-25 16:22:50 -08:00
derekpierre 3e2408fec6 Add historical graph for number of stakers - I'm pretty sure the Influx queries can be improved but suffices for now.
Improve graph layouts (titles, zerolines, number of ticks on x-axis)
2019-11-25 16:22:50 -08:00
derekpierre 3a39a5465c Created a graph based on historical locked tokens 2019-11-25 16:22:50 -08:00
derekpierre c2e9abb8d6 Fixed status column alignment and commented out locked tokens graph for now 2019-11-25 16:22:50 -08:00
derekpierre c0a4479bc6 Use named constants for crawler DB properties. 2019-11-25 16:22:50 -08:00
derekpierre 8b7c4b2a6b Fix incorrect start date for start date for stake 2019-11-25 16:22:50 -08:00
derekpierre afb3b85498 Add client cleanup functions to close the InfluxDBClient when no longer needed. 2019-11-25 16:22:50 -08:00
derekpierre ab615629e0 Fix bug where node table components were generated multiple times for the same node
Use label property of daq.Indicator
Fix colour value for 'Idle' status
Added axes titles to locked token graph
2019-11-25 16:22:50 -08:00
derekpierre 6d6d00490e Store `start_date` and `end_date` as floats instead of strings for comparison operations
Replicate bar graph of locked stake tokens on MoeStatusPage using the MoeBlockchainCrawler
2019-11-25 16:22:50 -08:00
derekpierre 92aaed7670 Added InfluxDB functionality - node data can read from blockchain and added to DB 2019-11-25 16:22:50 -08:00
derekpierre 413406c284 Initial simple retrieval of information by utility from blockchain. Tested using simple creation and start() within moe cli 2019-11-25 16:22:50 -08:00
derekpierre 84720edfa6 Initial skeleton for Moe status page utility to read data from blockchain. 2019-11-25 16:22:50 -08:00
derekpierre 268b811084 Some initial cleanup changes for Moe/Ursula status pages now that the blockchain agent is being used. 2019-11-25 16:22:50 -08:00
Kieran Prasch 722ebc30eb Implements Plotly/Dash graph components from on-chain data. 2019-11-25 16:22:50 -08:00
Kieran Prasch daa7e52bfb jotting down some new deps and realizing the need to break-away./scripts/local_fleet/run_local_fleet.sh 2019-11-25 16:22:50 -08:00
derekpierre 0417f3540a Fixed Ursula status pages test to pass once federated ursula status pages work
Add circleci_only marker for tests
2019-11-25 16:22:50 -08:00
derekpierre 748fd0e34d Update reasoning for skipping Ursula status page tests 2019-11-25 16:22:50 -08:00
derekpierre 95bbc502f0 Remove pytest-dash from all dependencies
Rebuild dependencies to include dash[testing]
2019-11-25 16:22:50 -08:00
derekpierre 7daedf4bf6 Initial code to transition tests to dash[testing] from pytest-dash.
Note, tests are skipped and don't yet work with dash[testing] - this is to allow for CI builds to pass
2019-11-25 16:22:50 -08:00
derekpierre c6814ec996 Add border around coloured dot since it's possible for the nickname's color to be white. 2019-11-25 16:22:50 -08:00
derekpierre cbdaabf894 Clean up previous states widget.
1. no longer uses square border
2. added coloured circle
3. nickname is at the bottom with the timestamp below in small text
2019-11-25 16:22:50 -08:00
derekpierre e7b54818b3 Open links on status page in new window/tab 2019-11-25 16:22:50 -08:00
derekpierre 9e5c3b4819 Make headers slightly larger than values for Moe widgets
Reduce previous states to last 3 instead of 5
Fix periodic updates of Ursula status page that weren't firing
2019-11-25 16:22:50 -08:00
derekpierre 473f2ced2f Allow Moe's ws-port to be templated so that it can be specified from the CLI. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 0f7b51df43 More Moe Styles and stats. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 437b3d7503 More Flexbox Layout for Moe 2019-11-25 16:22:50 -08:00
derekpierre b2e98930e4 Setup tests to work once latest stable Chrome version can be used by instapy-chromedriver
Specify named parameters to UrsulaStatusPage
2019-11-25 16:22:50 -08:00
Kieran R. Prasch 2f1f4076c4 Introduce Flexbox Layout. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 8f73d974d9 Working live updates on dash with latest versions. Code optimization for Moe Status app. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch cccac5615c Use latest dash versions & Relock dependencies. 2019-11-25 16:22:50 -08:00
Kieran Prasch 5b74d0cf15 Moe Style and Portable HTML 2019-11-25 16:22:50 -08:00
Kieran Prasch 69254ec3de Quick restoration of Moe real-time teacher indication. 2019-11-25 16:22:50 -08:00
Kieran Prasch 6ad4c07fa6 Bringing Moe up to speed on things a bit. 2019-11-25 16:22:50 -08:00
Kieran Prasch ad4dce6dd3 Allow the init of a character without a checksum address until Moe inherets from Learner directly. 2019-11-25 16:22:50 -08:00
derekpierre 39fd967222 Add list of learning domains for Ursula and Moe - on par with previous status page
Add default values for http/ws-ports for Moe
2019-11-25 16:22:50 -08:00
Kieran Prasch 15314924ff Code cleanup and conventions. 2019-11-25 16:22:50 -08:00
derekpierre cd865526ca Use old dependencies and update status pages to work after rebase 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 5bcd54509b Snag relock 2019-11-25 16:22:50 -08:00