Commit Graph

335 Commits

Author SHA1 Message Date
Erin Grasmick 4bbfd54297 add docker build + push to CI 2020-07-13 12:38:13 +02:00
Maciej Hirsz 48e7aa4306 WIP: reworking docker 2020-07-02 15:03:14 +02:00
dependabot[bot] 26c1c6d618 chore(deps): bump websocket-extensions from 0.1.3 to 0.1.4 in /frontend (#267)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-09 12:12:36 +02:00
Chevdor 615feb2af0 Better docker image for the backend (#245)
* Ignore vscode settings

* Add Dockerfile for the backend

* Shrink the docker image for the backend a little more

- fix some doc
- switch the rust static builder base image to nightly
- switch 2 stage base image
- remove version label

* Switch second stage base image to scratch

* Switch to the in-house base image

* Update README.md

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2020-05-27 09:08:40 +02:00
Maciej Hirsz 246ab4e251 Pin Polkadot CC1 ahead of Kusama (#265) 2020-05-26 19:23:32 +02:00
Maciej Hirsz be12d5f0f6 Pin Kusama (#264) 2020-05-14 11:15:44 +02:00
Maciej Hirsz 2ed13c16de Update fill color to currentColor on darwinia icons (#261) 2020-05-01 18:42:37 +02:00
Chevdor 289a78b38e Documentation (#260)
- bump up frontend version (to trigger the CI)
- bump up the backend version (to trigger the CI)
- add some docker related doc
- add CI badges
2020-05-01 18:36:20 +02:00
Chevdor 8ed8d01426 Documentation (#259)
* Documentation

- bump up frontend version (to trigger the CI)
- bump up the backend version (to trigger the CI)
- add some docker related doc
- add CI badges

* Fix CI step name

* Add screenshot
2020-04-24 12:49:52 +02:00
Chevdor f82bf6cb44 Fix prettifier checks (#258) 2020-04-23 19:17:04 +02:00
Chevdor 5b7f1ecbbb Fix the issues preventing to build (#257)
* Lock deps to fix build issues

* Upgrade some of the deps

* Upgrade to the latest polkadot util-crypto and stop reporting issues on the libs

* Remove buggy 'yarn check' and add prettifier check
2020-04-23 19:00:05 +02:00
Xavier Lau 999404d3e2 remove: unused testnet (#256) 2020-04-21 16:37:11 +02:00
Chevdor 3cbad1c0b3 Fix unit tests (#248)
* Fix tests

- Remove jest tests and add coverage

- Rebase master and fix tests

* Ignore local .vscode

Add clean script

* Fix deps

- Upgrade deps
- Switch to esnext

* Move tests to the right folder

* Deps cleanup and bump up

* Remove root level package.json

* Fix grumbles

* Remove the labeler action due to https://github.com/actions/labeler/issues/12

* Fix grumbles
2020-04-21 16:36:33 +02:00
Chevdor d03679a78a Fix the doc according to the recent changes (#250) 2020-04-17 22:05:59 +02:00
Chevdor 00d21ef16c Add github workflows (#254)
* Add new workflows to set labels and build/test the backend

* Add frontend workflow

* Limit triggers to PUSH only

* Fix so that BE and FE are mutually exclusive

* Bump up frontend

* Fix case to match current tags
2020-04-17 21:45:32 +02:00
Xavier Lau 35a9b1af2e update darwinia-network icons (#255) 2020-04-17 21:35:06 +02:00
Maciej Hirsz 6a255f359a Use currentColor on nodle icon (#253) 2020-04-15 11:38:43 +02:00
Eliott Teissonniere eeb0be3c7c add nodle icon (#252) 2020-04-15 11:16:23 +02:00
André Silva 5a6f89c8ad add new implementation names (#251) 2020-04-15 11:15:43 +02:00
Chevdor d15409bf2e Better docker for the frontend (#240)
* Exclude vscode local settings

* Switch the image to nginx with ENV support

* Add some doc

* Fix travis config

* Ignore coverage data

* Remove version labels

* Fix the Dockerfile according to the recent refactoring

* Cleanup

* Change maintainer

According to @woss request

* Fix travis config
2020-04-15 11:15:11 +02:00
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