dynco-nym
94c6cdc7b2
Type coercion into time::Date
2024-10-29 17:46:35 +01:00
Jon Häggblad
fce322c789
Remove unused workflow
2024-10-29 17:46:35 +01:00
Jon Häggblad
ac5baab693
Add to default workspace
2024-10-29 17:46:35 +01:00
Jon Häggblad
23da0f4d8e
Workspace updates
2024-10-29 17:46:35 +01:00
Jon Häggblad
25e3b4cd83
Delete old Cargo files
2024-10-29 17:46:35 +01:00
Jon Häggblad
8e4d72a565
Update for rebase
2024-10-29 17:46:34 +01:00
Jon Häggblad
ad84a6d85d
Add nym-vpn-api crates to main workspace
2024-10-29 17:45:56 +01:00
Jędrzej Stuczyński
34c5f23684
Merge pull request #5061 from nymtech/merge1/release/2024.13-magura
...
checkpoint merge release/2024.13-magura into develop
2024-10-29 16:17:16 +00:00
Jędrzej Stuczyński
000f2f1c29
Merge branch 'release/2024.13-magura' into develop
2024-10-29 15:31:51 +00:00
Dinko Zdravac
b747308f74
Add subcommand to image ( #5056 )
nym-node-status-agent-0.1.0
2024-10-29 10:52:33 +01:00
Dinko Zdravac
afdd721cc3
Ns agent workflow ( #5055 )
...
* feat: add dockerfile
* add github workflow for node status agent
---------
Co-authored-by: Fran Arbanas <arbanasfran@gmail.com >
2024-10-29 10:39:58 +01:00
Jędrzej Stuczyński
317f7fffa9
added hacky routes to return nymnodes alongside legacy nodes ( #5051 )
...
* added hacky routes to return nymnodes alongside legacy nodes
* fixed mixing role
* Update client (#5054 )
* removed hacky mixnodes endpoint for its not used
* construct explorer-api client with timeout
---------
Co-authored-by: Dinko Zdravac <173912580+dynco-nym@users.noreply.github.com >
2024-10-29 08:35:07 +00:00
Dinko Zdravac
9f5c4c5968
Merge pull request #5050 from nymtech/dz-node-status-api
...
Node Status API
2024-10-29 00:43:33 +01:00
dynco-nym
9583a5c6c8
Fix build script
2024-10-29 00:24:18 +01:00
Tommy Verrall
da60fc0ade
Merge pull request #5052 from nymtech/feat/add-node-status-agent-workflow
...
feat: add simple node-status-agent
2024-10-28 19:30:52 +00:00
Fran Arbanas
96b54c455e
feat: add simple node-status-agent
2024-10-28 19:16:46 +01:00
Dinko Zdravac
cc983963d4
Fully functional network scores ( #5048 )
...
* Compile & copy wg probe
* Node status agent WIP
* Enable debug logging
* Agent submits results
- add clap to agent
- agent runs network probe
- /submit endpoint on NS API
* Build clients with timeouts
* Update logging and dev scripts
* Replace /blaclisted endpoint
* Testruns fully functional
- task that queues testruns periodically
- testruns read/write in DB
* Probe scores fully working
- testruns are assigned on API
- submit updates testruns correctly on NS API side
- agent registers with API
- agent submits results correctly
* Clippy fixes
* PR feedback
* Clippy again
* PR feedback
* Run clippy earlier in CI
* Make refresh delay configurable in server & agent
2024-10-28 17:31:43 +01:00
Fran Arbanas
40d9321aec
Node status API dockerfile and env vars ( #4986 )
...
* feat: add dockerfile and env variables
* Added workflow for pushing node status api on harbor
* Misc changes to pathing and using yq instead of jq
* fix: change the way we read env vars for nyxd, nym api and explorer
* fix: docker build workflow
* Remove config in favor of clap args
* Added naming and tags
* change from value to result
---------
Co-authored-by: Lawrence Stalder <lawrence@nymtech.net >
Co-authored-by: dynco-nym <173912580+dynco-nym@users.noreply.github.com >
2024-10-28 17:07:38 +01:00
dynco-nym
e5a29cc76e
Work with directory pre-v2.1
...
Rebase + point to earlier network client code
Adjust to new Nym API types
Refer to earlier client code
Revert "Rebase + point to earlier network client code"
This reverts commit dd75e7dc0695c25b0883e2f5dd15b7d70165e9e8.
Point to earlier commit
2024-10-28 17:04:22 +01:00
Dinko Zdravac
56c55f6b95
Working HTTP server ( #4941 )
...
* Server file structure
* Create HTTP server
- graceful shutdown
- routes
- logging, CORS
* gateways WIP
* gateways API + swagger docs complete
* Mixnodes API + swagger docs complete
* Services API + swagger docs complete
* Commit summary insert
* Make troubleshooting DB easier
* Summary API + swagger docs
* Client log changes
* QOL improvements
- remove implicit panics via `as`
- safer DTO conversions
- add logging
- new config
2024-10-28 16:59:12 +01:00
Dinko Zdravac
2f051fd943
Node Status API background task ( #4854 )
...
* Setup new package
* Setup DB
* Fetch & store mixnodes/GWs
- refactor db package structure
- finally solve DATABASE_URL: absolute path works best
* Additional query functionality
- missing only daily summary, which requires type refactoring
* Replace type alias tuples with structs
* Insert summary
* Add github job to build package
* Build script for sqlx
* Remove data dir
- useless now that sqlx DB sits in OUT_DIR
* PR feedback
2024-10-28 16:54:26 +01:00
Bogdan-Ștefan Neacşu
c03cf86000
Authenticator CLI client mode ( #5044 )
2024-10-28 16:42:05 +02:00
Jędrzej Stuczyński
4396def133
bugfix: adjust runtime storage migration ( #5047 )
2024-10-28 10:07:51 +00:00
Jędrzej Stuczyński
a56a318a7f
bugfix: supersede 'cb13be27f8f61d9ae74d924e85d2e6787895eb14' by using query parameters ( #5046 )
2024-10-28 09:57:14 +00:00
Jędrzej Stuczyński
4d08047c57
bugfix: restore default http port for nym-api ( #5045 )
...
when it was run under 'rocket' server the port used was 8000. let's restore that value
2024-10-28 09:28:47 +00:00
Jędrzej Stuczyński
cb13be27f8
bugfix: fix ecash handlers routes ( #5043 )
2024-10-28 09:12:40 +00:00
Jędrzej Stuczyński
fa392169c1
bugfix: use human readable roles for annotations ( #5036 )
...
* bugfix: use human readable roles for annotations
* update the wallet code to use 'DisplayRole'
2024-10-28 09:08:17 +00:00
Simon Wicky
ab11508235
[Product Data] Introduce data persistence on gateways ( #5022 )
...
* add stats storage to gateways
* config fix
* add stats storage model and logic
* adapt stats collection to new storage
* stats cleanup on start
* change to linux only code
* tweaks
* modified stats cleanup + change session started
* change wrong table name
* store crashed session as 0 duration
* adapt for sqlx 0.7
* remove unused dependencies
* revert changes from gateway config, as it is broken anyway
* copyright and misc stuff
---------
Co-authored-by: Simon Wicky <simon@linode2-2.net >
nym-data-observatory-0.1.0
2024-10-28 09:25:37 +01:00
Jędrzej Stuczyński
3167fb34e6
bugfix: don't assign exit gateways to standby set ( #5041 )
2024-10-25 16:53:51 +01:00
Jędrzej Stuczyński
9ca6301e1c
bugfix: make sure nym-nodes are also tested by network monitor ( #5040 )
2024-10-25 15:20:39 +01:00
Jędrzej Stuczyński
e16a73338e
bugfix: use bonded nym-nodes for determining initial network monitor nodes ( #5039 )
2024-10-25 12:34:25 +01:00
Bogdan-Ștefan Neacşu
bfa3825d70
Pass the Poisson flag on authenticator config ( #5037 )
2024-10-25 14:08:52 +03:00
Jędrzej Stuczyński
d626e7689f
bugfix: make gateways insert themselves into [local] topology ( #5038 )
...
* added explicit SP suffix to started tasks
* added 'GatewayTopologyProvider' that always injects itself into the network
* use the new topology provider to bypass described bootstrapping problem
2024-10-25 12:06:16 +01:00
Jędrzej Stuczyński
9234474565
bugfix: use old name for 'epoch_role' in SkimmedNode ( #5034 )
...
* bugfix: use old name for 'epoch_role' in SkimmedNode
* clippy
2024-10-25 09:29:37 +01:00
Jędrzej Stuczyński
29f8386b50
bugfix: make sure to use correct highest node id when assigning role ( #5032 )
...
* bugfix: make sure to use correct highest node id when assigning role
* make sure nym-api provides sorted values for older contracts
2024-10-24 17:47:57 +01:00
Jędrzej Stuczyński
0edb9631a6
feature: use axum_client_ip for attempting to extract source ip ( #5031 )
2024-10-24 17:38:32 +01:00
Fran Arbanas
e65bfaeb31
Fix/nym data observatory dockerfile ( #5021 )
...
* fix: added needed env vars to dockerfile, updated db env for a bit
* feat: add github workflow for pushing data observatory
* feat: split the postgresql connection string into multiple variables
* fix docker compose
* fix workflow
* fix: short in clap
2024-10-24 18:10:34 +02:00
Jędrzej Stuczyński
4b0153f5f2
bugfix: fixed backwards incompatibility for /gateways/described endpoint ( #5030 )
2024-10-24 15:37:41 +01:00
Jędrzej Stuczyński
c09a17b66d
bugfix: verifying signed information of legacy nodes ( #5029 )
...
* Added new legacy variant of HostInformation
* fixed 'option_bs58_x25519_pubkey' for empty string
* 'Debug' impl for x25519 and ed25519 to use human-readable representation
* HttpClient to use explicit 'serde_json' conversion for better errors
* additional 'Debug' derives
2024-10-24 15:00:34 +01:00
Jędrzej Stuczyński
d18ddcdc11
bugfix: introduce 'LegacyPendingMixNodeChanges' that does not contain 'cost_params_change' ( #5028 )
...
* bugfix: introduce 'LegacyPendingMixNodeChanges' that does not contain 'cost_params_change'
* updated schema files due to removal of '#[serde(deny_unknown_fields)]'
2024-10-24 10:54:00 +01:00
benedetta davico
f8317f5a03
Merge pull request #5025 from nymtech/release/2024.12-aero
...
Aero to master
2024-10-24 10:54:37 +02:00
Jędrzej Stuczyński
d2df542280
bugfix: missing #[serde(default)] for announce port ( #5024 )
2024-10-23 16:52:17 +01:00
Jędrzej Stuczyński
6fafd8c03a
bugfix: directory v2.1 get_all_avg_gateway_reliability_in_interval query ( #5023 )
...
* log full storage errors on failures
* use query_as! macro
2024-10-23 16:36:21 +01:00
Jędrzej Stuczyński
5a6982fd10
Merge pull request #5011 from nymtech/dependabot/cargo/patch-updates-9a83837eff
...
Bump the patch-updates group across 1 directory with 10 updates
2024-10-23 10:51:55 +01:00
Jędrzej Stuczyński
38e66f6ddf
added 'get_all_described_nodes' to NymApiClient and adjusted return type on api itself ( #5016 )
2024-10-23 09:48:25 +01:00
Bogdan-Ștefan Neacşu
b9fbe0b8f3
Reapply fixes to new branch ( #5014 )
2024-10-22 18:33:18 +03:00
dependabot[bot]
7abe1f505c
Bump the patch-updates group across 1 directory with 10 updates
...
Bumps the patch-updates group with 9 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.89` | `1.0.90` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.18` | `4.5.20` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.29` | `4.5.33` |
| [pin-project](https://github.com/taiki-e/pin-project ) | `1.1.5` | `1.1.6` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.210` | `1.0.211` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.128` | `1.0.132` |
| [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) | `0.2.93` | `0.2.95` |
| [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) | `0.4.43` | `0.4.45` |
| [web-sys](https://github.com/rustwasm/wasm-bindgen ) | `0.3.70` | `0.3.72` |
Updates `anyhow` from 1.0.89 to 1.0.90
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.90 )
Updates `clap` from 4.5.18 to 4.5.20
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.18...clap_complete-v4.5.20 )
Updates `clap_complete` from 4.5.29 to 4.5.33
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.29...clap_complete-v4.5.33 )
Updates `pin-project` from 1.1.5 to 1.1.6
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.5...v1.1.6 )
Updates `serde` from 1.0.210 to 1.0.211
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.211 )
Updates `serde_derive` from 1.0.210 to 1.0.211
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.211 )
Updates `serde_json` from 1.0.128 to 1.0.132
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.132 )
Updates `wasm-bindgen` from 0.2.93 to 0.2.95
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.93...0.2.95 )
Updates `wasm-bindgen-futures` from 0.4.43 to 0.4.45
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
Updates `web-sys` from 0.3.70 to 0.3.72
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_derive
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: wasm-bindgen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: wasm-bindgen-futures
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: web-sys
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-22 14:56:39 +00:00
Bogdan-Ștefan Neacşu
daafb5cae4
Consume only positive bandwidth ( #5013 )
2024-10-22 17:46:46 +03:00
Fran Arbanas
0ec2514edf
fix: working directory for nym-credential-proxy ( #4997 )
2024-10-22 15:58:45 +02:00
Jędrzej Stuczyński
d6435a8270
Merge pull request #5012 from nymtech/merge/release/2024.12-aero
...
Merge/release/2024.12 aero
2024-10-22 14:32:56 +01:00