Commit Graph

265 Commits

Author SHA1 Message Date
Chevdor 2c8e8ed7d3 Add clap support (#247)
* Add clap support

* Version bump

* Switch to using a single SokectAddr
2020-04-06 16:54:07 +02:00
Daniel Maricic bb8e804567 Restructure the js app (#243)
* prettier

* linter

* add prettier, and format the code

* remove common, merge it with frontend

* refactor the app

* better lint and code fix

* travis for the frontend app

* travis build script

Signed-off-by: Daniel Maricic <daniel@woss.io>

* lint and build

* update the README.md

Signed-off-by: Daniel Maricic <daniel@woss.io>

* change the commands to reflect refactor

Signed-off-by: Daniel Maricic <daniel@woss.io>

* prettier and tslint are friends

Signed-off-by: Daniel Maricic <daniel@woss.io>

* code that wasn't linted properly before

Signed-off-by: Daniel Maricic <daniel@woss.io>

* prettier rc got deleted

* workgin on making the travis pass

Signed-off-by: Daniel Maricic <daniel@woss.io>

* travis build please?

Signed-off-by: Daniel Maricic <daniel@woss.io>

* update readme.md

Signed-off-by: Daniel Maricic <daniel@woss.io>

* dockerfile deleted from fronted - out of scope

Signed-off-by: Daniel Maricic <daniel@woss.io>

* remove

Signed-off-by: Daniel Maricic <daniel@woss.io>

* tsconfig

Signed-off-by: Daniel Maricic <daniel@woss.io>

* found the reason why EOL wasn't happening

Signed-off-by: Daniel Maricic <daniel@woss.io>

* type for the event in the ConnectionInput

as suggested

* strictnullCheck to true

* noImplicitAny

* noUnusedParams

* AfgHandling

* update

* fix Location.tsx

* Few minor fixes

* remove connection input and revert to original

* esnext fixes the imports for icons and non default `* as `

* update to the tsconfig.test.json don't use commonjs please

* fixed wrong comment for TIMEOUT_BASE

* return totem.svg and type decraration of maybe

Signed-off-by: Daniel Maricic <daniel@woss.io>

Co-authored-by: Will <w.kopp@kigroup.de>
2020-04-06 15:38:45 +02:00
Daniel Maricic 20a0283380 Add prettier and format the code (#242)
* prettier

* linter

* add prettier, and format the code

* make the travis pass

Signed-off-by: Daniel Maricic <daniel@woss.io>

* travis to make a build

Signed-off-by: Daniel Maricic <daniel@woss.io>

* tslint and prettier + travis

Signed-off-by: Daniel Maricic <daniel@woss.io>

* useless setting, we use spaces

Signed-off-by: Daniel Maricic <daniel@woss.io>

* backend tests added to the travis

Signed-off-by: Daniel Maricic <daniel@woss.io>
2020-03-31 16:14:48 +02:00
Chevdor b9853be186 Listen by default to the local interface and allows changing it (#246) 2020-03-31 15:53:16 +02:00
Maciej Hirsz 699d4cdb09 Remove browserslist from fe package.json 2020-03-30 11:43:23 +02:00
Maciej Hirsz 9b96e206bf Merge branch 'master' of github.com:paritytech/substrate-telemetry 2020-03-30 11:42:52 +02:00
Maciej Hirsz bd7b5305fe Link Totem icon to node name (#239)
* Link Totem icon to node name

* Use currentColor on Totem icon
2020-03-30 11:40:16 +02:00
Maciej Hirsz 556f71c7d0 Link Totem icon to node name 2020-03-30 11:07:08 +02:00
Chris D'Costa 14ea2044ae Add logo and update icon selection (#236) 2020-03-30 11:03:27 +02:00
Chevdor 3dc21d1123 Reduce the size of the docker images (#238) 2020-03-30 10:59:26 +02:00
Maciej Hirsz 85b7809533 Force Kusama CC3 nodes into Kusama chain (#235) 2020-03-19 17:10:43 +01:00
Maciej Hirsz d492b85091 Aggregate chains by network_id (#234)
* Aggregate chains by network_id

* Fix network_id handling
2020-03-19 16:29:24 +01:00
Maciej Hirsz d824851a96 chore: Pin Kusama without CC3 (#233) 2020-03-17 18:09:26 +01:00
Maciej Hirsz 38ccc02eaa Quick subscribe (#232)
* feat: Send chain head ahead of node list

* feat: Partition node list into batches of 32
2020-02-20 14:38:58 +01:00
Maciej Hirsz ff29540d56 feat: Added a /health endpoint (#230) 2020-02-18 13:59:12 +01:00
Maciej Hirsz 483cf81c2d chore: Update Edgeware to new node name (#229) 2020-02-18 13:04:38 +01:00
Axel Chalon b40afd64a3 Use kind-of >=6.0.3 everywhere (#227) 2020-02-14 18:03:49 +01:00
Daniel Maricic b665555de6 working backend on docker (#226)
* working backend on docker

refactor of the dockerfiles to be more readable and independent.
full build of the backend (release only) within docker

* read `PORT` to u16

* Only need one `PORT` in the new backend

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2020-02-07 18:27:25 +01:00
Maciej Hirsz 0a6cd08747 feat: Live-update IO stats (#225) 2020-01-30 15:39:46 +01:00
Maciej Hirsz 19f57d71be I/O metrics (#224)
* feat: Proxy Node IO stats to the FE

* chore: Sync up FE

* feat: Charts for cache sizes

* feat: All graphs are in

* chore: Remove browserlist
2020-01-30 15:03:19 +01:00
Maciej Hirsz 668065c1a8 chore: Remove package-lock (#222) 2020-01-21 17:45:50 +01:00
dependabot[bot] 496841cb08 chore(deps): bump lodash.template in /packages/frontend (#221)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-21 16:58:56 +01:00
dependabot[bot] b7fc53a2a5 chore(deps): bump lodash.template from 4.4.0 to 4.5.0 (#220)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-21 16:58:40 +01:00
dependabot[bot] 67aea28c9e chore(deps): bump handlebars from 4.0.12 to 4.5.3 (#216)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-21 16:24:13 +01:00
dependabot[bot] 5e7a12b771 Bump mixin-deep from 1.3.1 to 1.3.2 (#192)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-21 16:23:31 +01:00
dependabot[bot] 10c791d239 Bump mixin-deep from 1.3.1 to 1.3.2 in /packages/frontend (#187)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-21 16:23:13 +01:00
dependabot[bot] da68597e86 Bump react-dom from 16.4.0 to 16.4.2 (#190)
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.4.0 to 16.4.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.4.2/packages/react-dom)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-21 16:06:29 +01:00
Maciej Hirsz 63795e48a0 Remove JS backend (#219)
* chore: Remove JS backend

* chore: Update travis to run Rust backend tests

* chore(travis): Install dependencies before building
2020-01-14 14:04:13 +01:00
Simon Littlejohns b9d658e2e6 Fixed warnings by handlings absent voter fields in afg messages (#214) 2019-12-19 22:32:55 +01:00
Maciej Hirsz 65bfd1b943 chore: Bitfrost in currentColor 2019-12-15 12:28:25 +01:00
lurpis 1f3a07fa3e add Bifrost icon (#211) 2019-12-15 12:24:07 +01:00
Maciej Hirsz 0a89382127 AFG messaging (#210)
* First draft of afg messaging

* AfgReceivedPrevote, AfgReceivedPrecommit and AfgFinalized added to rust backend

* Tidy up
2019-12-06 18:21:25 +01:00
Maciej Hirsz 92fb9d28de Set block timestamp when reseting stale nodes (#209)
* fix: Prevent stale nodes from updating chain head

* Set block timestamp when reseting stale nodes
2019-12-06 13:50:30 +01:00
Maciej Hirsz f2fc89e374 fix: Prevent stale nodes from updating chain head (#208) 2019-12-06 13:30:30 +01:00
Maciej Hirsz 516fb0376d feat: Pin Kusama CC3 (#205) 2019-11-28 16:04:49 +01:00
Maciej Hirsz c48ea807e7 feat: Attempt ipinfo.io if ipapi.co returns no results (#204)
* feat: Attempt ipinfo.io if ipapi.co returns no results

* fix: Use the GET method

* feat: Added tests

* chore: DRY
2019-11-28 13:31:58 +01:00
Maciej Hirsz a021622cf7 Fix average time (#202)
* fix: Average Time

* fix: Average time if stats are reset
2019-11-26 11:43:05 +01:00
Maciej Hirsz 550e96432f fix: Average Time (#201) 2019-11-25 15:06:37 +01:00
Alexander Krupenkin 41fd866e2b ICONS: robonomics-node -> airalab-robonomics (#199) 2019-11-19 13:34:20 +01:00
Maciej Hirsz b62f89efb7 Sort by column (#198)
* chore: Split HeaderCell out of Row.tsx

* feat: toggle and highlight selected column header

* feat: Fixed sorting, added stylized headers

* fix: Performance and hardware column sorting

* fix: Rebuild the sorted list when changing the comparator
2019-11-12 14:19:40 +01:00
Maciej Hirsz 735b2b431f feat: Use array for node map (#197)
* feat: Use array for node map
* fix: Map growing
2019-11-09 15:19:16 +01:00
Maciej Hirsz 3e34720f66 Node Uptime (#196)
* fix: node stats updating live
* fix: Propagation time for first node to hit a block
* chore: Leaner feed serialization
* fix: Handle old nodes with stringified network_state
* feat: Add Node Uptime to the list
* chore: Remove old backend from test pipeline
2019-11-09 12:16:39 +01:00
Maciej Hirsz b69adbb096 fix: node stats updating live (#195) 2019-11-08 14:12:27 +01:00
Maciej Hirsz adbd7cb592 Fix network ID and validator icons (#189)
* fix: Validator icons

* fix: Propagation time for blocks < highest

* fix: Reintroduce network_id to Rust backend
2019-11-08 13:36:19 +01:00
Maciej Hirsz a3b6f6a5a1 Rust backend (#185) 2019-11-07 10:52:38 +01:00
Reto Trinkler 31784131d6 Add Katal Chain Icon (#186) 2019-11-01 11:51:55 +01:00
Maciej Hirsz 2d419637de feat: Add support for system.network_state (#183) 2019-10-28 13:48:33 +01:00
Jaco Greeff 26f91a28fb Pin Kusama CC2 (#182) 2019-10-01 17:16:00 +02:00
Maciej Hirsz a2ce9a574e feat: Mark nodes as stale after a minute (#181) 2019-09-27 16:16:30 +02:00
Maciej Hirsz 75a5a8a598 chore: Optimize Dothereum, set color to currentColor 2019-09-27 15:20:06 +02:00