Sergejs Kostjucenko
bd1555e7d7
ci test dockerfiles description publishing ( #524 )
...
* test dockerfiles description publishing
* fix formatting
* add link
2023-02-21 14:15:45 +02:00
Sergejs Kostjucenko
1c9a29a3cf
fix ci ( #523 )
2023-02-21 13:59:14 +02:00
Sergejs Kostjucenko
ed3c74ee66
ci: publish docker images description ( #522 )
...
* ci publish docker images description
* fix extend refs
2023-02-21 13:41:51 +02:00
Alexandru Vasile
b25f3fbf22
Add per Node Hardware Information to Telemetry Feed ( #519 )
...
* code: Add `sysinfo` and `hwbench` to the `AddedNode` message
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* code: Update `AddedNode` on `hwbench` updates
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* core: Rename cli flag `expose_node_ips` to `expose_node_details`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* core: Add hardware info only if the cli flag is enabled
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* tests: Adjust testing to the new `AddedNode` message
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* core: Move serialization of fields to the details array
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2023-01-27 17:33:48 +02:00
James Wilson
779c5698a0
Update frontend build system to shed old dependencies, and address fallout from that ( #521 )
...
* get tests working and update copyright headers
* lint fix
* eslint ts update
* update CI to use NPM
* fix CI
* prettier
* npm, not yarn for docker
* remove unused package
* bump dockerfile to latest node LTS and no need for cache clean
* make frontend Dockerfile work and remove unused SUBSTRATE_TELEMETRY_SAMPLE
* remove final yarn references
* add another comment
* remove unused import
* remove more unused deps
* comment typo
2023-01-27 14:13:34 +00:00
Alexandru Vasile
dc2bc7704d
cargo: Update vulnerable crates ( #520 )
...
* cargo: Update primitive-types to v 0.12.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update base64 to v 0.21
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update simple_logger to v 4.0.0
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update parking_lot to v 0.12.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update soketto to v 0.7.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update tokio-util to v 0.7.4
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update sha-1 to v 0.10.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update jemallocator to v 0.5.0
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update criterion to v 0.4.0
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* cargo: Update cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2023-01-26 17:17:40 +02:00
dependabot[bot]
0af5bcf356
Bump Swatinem/rust-cache from 2.1.0 to 2.2.0 ( #511 )
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/b894d59a8d236e2979b247b80dac8d053ab340dd...359a70e43a0bb8a13953b04a90f76428b4959bb6 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 10:57:41 +00:00
Vlad
f36353fe25
Pin buildah image to the working one ( #515 )
2022-11-30 13:50:28 +00:00
Igor Matuszewski
bbf2a5d4b0
fix(shard): Ignore duplicate node adds with same message ID ( #514 )
...
* fix(shard): Ignore duplicate node adds with same message ID
* adapt the test
2022-11-30 13:17:07 +00:00
Igor Matuszewski
f72d62bbc1
Mention running yarn in the frontend/ in README.md ( #513 )
...
This just keeps it consistent with every other code snippets that explicitly mention `cd <target_dir>` before running other operations
2022-11-30 13:11:00 +00:00
dependabot[bot]
3b5ea055ed
Bump loader-utils from 2.0.2 to 2.0.4 in /frontend ( #512 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 14:58:17 +00:00
dependabot[bot]
8b51124c69
Bump Swatinem/rust-cache from 2.0.1 to 2.1.0 ( #509 )
...
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/22c9328bcba27aa81a32b1bef27c7e3c78052531...b894d59a8d236e2979b247b80dac8d053ab340dd )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 10:04:02 +01:00
dependabot[bot]
4ae06f48bf
Bump Swatinem/rust-cache from 2.0.0 to 2.0.1 ( #505 )
...
* Bump Swatinem/rust-cache from 2.0.0 to 2.0.1
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/6720f05bc48b77f96918929a9019fb2203ff71f8...22c9328bcba27aa81a32b1bef27c7e3c78052531 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* match hash with version
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergejs Kostjucenko <sergejs@parity.io >
2022-10-19 10:18:49 +02:00
James Wilson
e7d15d03b3
Tweak logs and attempt to avoid races around removing nodes ( #504 )
...
* Tweak logs and attempt to avoid races around removing nodes
* wrapping_add in assign_id
2022-10-10 13:12:07 +01:00
serge
41c93a8a19
Update frontend dependencies ( #498 )
...
* update npm packages
* update tsconfig
* remove babelrc, babel presets as well as stable package
* fix svg namespace tag syntax errors
* fix reference error due to namespace and class component having same name
* replace tslint with eslint
* make eslint happier
* update .nvmrc to 14
* update node version to 14 in gh workflow
* fix eslint warnings due to warnings treated as errors on CI (process.env.CI = true)
* pretty fix
* bump node version in Dockerfile
* use createRoot instead of react-dom render
* update browsers list in package.json
2022-09-16 11:07:51 +01:00
Alexandru Vasile
d525056190
core: Fix noisy logs caused by closing the /feed browser ( #496 )
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2022-08-29 16:20:35 +03:00
Sergejs Kostjucenko
fc460d74d3
Tune up backend GHA ( #495 )
...
* run cargo steps in sequence
* reorder jobs and gha push event only for master
* split backend gha
2022-08-25 18:34:19 +03:00
Sergejs Kostjucenko
0813e4504d
fix rust cache inputs ( #493 )
2022-08-25 11:51:38 +03:00
Sergejs Kostjucenko
db661a76dc
pin gha versions and add dependabot ( #492 )
2022-08-25 01:09:21 +03:00
Alexandru Vasile
09b44ad00f
Expose node's IP address via feed ( #491 )
...
* Fix typos
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* core: Extend `feed::LocatedNode` message with optional IP address
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* core: Expose IpAddr from locator task
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* core: Expose CLI flag to handle IP
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* tests: Consider Option<String> for IP address
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* core: Add node's IP directly to the Node's details
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Adjust testing and serialize node's ip address
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* frontend: Propagate IP address for deserialization purposes
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* core: Clarify the CLI flag documentation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2022-08-17 15:35:36 +03:00
James Wilson
ad21d0cff0
Remove unused AuthoritySet bits. Fix soak test warnings ( #489 )
2022-08-08 11:13:26 +01:00
Renjie Cai
65ad10b715
support https and wss core url in shard's ws client ( #488 )
...
* support https and wss core url in shard's ws client
* fmt
* small fix
2022-08-04 17:01:32 +01:00
Milos Kriz
24fd27e0bd
Docker compose restart unless stopped ( #487 )
2022-07-29 14:57:53 +01:00
James Wilson
8067b0caa2
Remove unused scripts and consistify readme steps ( #485 )
2022-07-26 14:48:30 +02:00
Ivan
5bff41d0c1
Add geoip db ( #477 )
...
* Use geoip for ipv4 city lookup
Signed-off-by: i1i1 <vanyarybin1@live.ru >
* Add support for ipv6
Signed-off-by: i1i1 <vanyarybin1@live.ru >
* Wrap locator into a blocking task
* Dummy change to try and trigger CI pipeline.
Co-authored-by: James Wilson <james@jsdw.me >
2022-07-19 22:06:07 +01:00
James Wilson
a93a6cadfc
Add manual deploy step with no restrictions. ( #481 )
2022-06-16 14:26:57 +01:00
Stefan Popov
561b27b934
Add icon for Kagome Node ( #470 )
2022-05-20 10:38:42 +01:00
Koute
45878f9876
Add per-chain aggregate software/hardware telemetry ( #464 )
...
* Add per-chain aggregate software/hardware telemetry
* Fix tests' compilation
* Add extra comments for the `Counter` struct
* Replace the boolean argument with an enum
* Rename `replace_hwbench` to `update_hwbench`
* Move `Counter` into a separate file
* Move `ChainStatsCollator` to `chain_stats.rs`
* Fix incorrect key on the unknown table
* Improve types for the stats component; get rid of `any`
2022-04-27 18:44:34 +09:00
Sergejs Kostjucenko
978c070bdd
Remove Vault integration from CI ( #468 )
2022-04-21 17:49:00 +03:00
Sergejs Kostjucenko
18cc7586cf
Remove Travis CI ( #465 )
2022-04-08 14:18:27 +01:00
dependabot[bot]
d6ed878cb4
Bump urijs from 1.19.6 to 1.19.10 in /frontend ( #458 )
...
Bumps [urijs](https://github.com/medialize/URI.js ) from 1.19.6 to 1.19.10.
- [Release notes](https://github.com/medialize/URI.js/releases )
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md )
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.6...v1.19.10 )
---
updated-dependencies:
- dependency-name: urijs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 13:55:19 +00:00
dependabot[bot]
4c0eb8d5fb
Bump url-parse from 1.5.7 to 1.5.10 in /frontend ( #456 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 13:54:35 +00:00
dependabot[bot]
d584de58a6
Bump tmpl from 1.0.4 to 1.0.5 in /frontend ( #408 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 13:53:14 +00:00
dependabot[bot]
0120c419e8
Bump follow-redirects from 1.13.0 to 1.14.8 in /frontend ( #452 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.13.0 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 13:53:00 +00:00
dependabot[bot]
6aee253d2a
Bump url-parse from 1.5.3 to 1.5.7 in /frontend ( #454 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 17:18:46 +01:00
Maciej Hirsz
530cf6f7b0
Off viewport tabs + favicon ( #451 )
...
* Show off-viewport selected tab to the right
* Add favicon
2022-02-04 17:43:28 +01:00
James Wilson
b9f93242cd
fix readme image names and remove network bit in docker-compose ( #447 )
...
* fix readme image names and remove network bit in docker-compose
* undo naff tweak
2022-01-18 11:12:33 +00:00
James Wilson
c00cab33c9
Allow chains to be sorted and filtered ( #440 )
...
* Allow soak tests to generate lots of chains for testing
* Style tweaks, and redo 'all chains' modal
* make highlighted text readable on selected chain
* cargo fmt
* Update frontend/src/index.css
Fix a typo
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com >
* A couple more wee telemetry style tweaks
* ..but make the tab animation faster
* Be more defensive checking for event target
* Comment out animation for now
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com >
2022-01-10 14:57:18 +00:00
James Wilson
b4fd955c78
catch icon generation errors and log to console ( #441 )
2022-01-07 20:37:07 +00:00
Alessio Onori
bb9f257397
Update README.md ( #435 )
...
fixed typo
2021-12-03 16:58:01 +00:00
James Wilson
17432d712f
Remove broken "Consensus" tab from UI and related code ( #434 )
...
* Remove consensus-tab related stuff, and unused messages, from the telemetry backend
* also remove AfgAuthoritySet feed message, and handle same from node
* Blat everything consensus related that I can find in the UI
* cargo fmt
* README: had -> has
Co-authored-by: David <dvdplm@gmail.com >
Co-authored-by: David <dvdplm@gmail.com >
2021-11-25 12:34:36 +00:00
Maciej Hirsz
73a4cf29b9
Fix duplicte chains ( #433 )
2021-11-24 19:32:02 +01:00
Sergejs Kostjucenko
4d7d2eb2e4
Add CODEOWNERS file ( #431 )
2021-11-23 18:12:14 +02:00
Sergejs Kostjucenko
80f5a1af5d
Add retry failed CI jobs twice ( #429 )
2021-11-17 14:30:33 +02:00
Dan Shields
006cf76d3b
move to rust 2021, tweak macro ( #428 )
...
* cargo fix --edition
* move to rust 2021
* simplify macro now that patterns are supported natively
Co-authored-by: James Wilson <james@jsdw.me >
2021-11-15 14:52:16 +00:00
James Wilson
6e2faa43be
We settled on using tags to deploy to live, so reflect that in the docs ( #426 )
...
* We settled on using tags to deploy to live, so reflect that in the docs
* not semantic versioning, and how to generate short hash
2021-10-14 09:24:06 +01:00
James Wilson
7ff9a316d1
First/Third party by genesis hash, not label. Make limit configurable and default to 1k ( #424 )
...
* First/Third party by genesis hash, not label. Make limit configurable
* Fix a test that relies on not being a node limit
* remove a now-invalid comment
* Cargo fmt
* Fix another naff comment
* Update backend/telemetry_core/src/state/chain.rs
Comment tweak
Co-authored-by: David <dvdplm@gmail.com >
Co-authored-by: David <dvdplm@gmail.com >
2021-10-13 13:08:53 +01:00
James Wilson
82f0b234c4
Timeout based on last msg received and not ping timeout ( #418 )
...
* Timeout based on last msg received and not ping timeout
* Use object method shorthand
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com >
* Types.Milliseconds instead of number
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com >
2021-10-01 17:27:19 +01:00
James Wilson
38c5dff0b7
Saturating sub timestamp from now to avoid possible undeflowr ( #420 )
2021-10-01 16:55:35 +01:00
James Wilson
18a3d7a42f
Add internal deployment steps to the README ( #414 )
...
* Add internal deployment steps to the README
* wee tweak in deployment steps
* use FORCE_DEPLOY as primary deploy approach
* slight wording tweak
2021-10-01 12:09:38 +01:00