author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
20,244 | 04.06.2019 17:02:53 | 14,400 | 578fac40bd6bd3db180a72cb967fd620eb515cf0 | Handle Geoip being disabled | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/geoip.rs",
"new_path": "rita/src/rita_exit/database/geoip.rs",
"diff": "@@ -119,8 +119,16 @@ struct CountryDetails {\n/// get ISO country code from ip, consults a in memory cache\npub fn get_country(ip: IpAddr) -> impl Future<Item =... | Rust | Apache License 2.0 | althea-net/althea_rs | Handle Geoip being disabled |
20,244 | 05.06.2019 15:58:15 | 14,400 | bc930ebf9cb7baba866685dff1761b9dd726cb09 | Update exit prices once registered
This is a pretty big oversight to go unnoticed for so long, I
guess previously people ended up re-registering often enough that
we didn't notice | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/exit_manager/mod.rs",
"new_path": "rita/src/rita_client/exit_manager/mod.rs",
"diff": "@@ -186,6 +186,60 @@ fn exit_general_details_request(exit: String) -> impl Future<Item = (), Error =\nBox::new(r)\n}\n+fn update_exit_price(exit: String... | Rust | Apache License 2.0 | althea-net/althea_rs | Update exit prices once registered
This is a pretty big oversight to go unnoticed for so long, I
guess previously people ended up re-registering often enough that
we didn't notice |
20,244 | 07.06.2019 09:44:11 | 14,400 | 116bc0cb277abc18a4656b0c8ef9605aa46231c6 | Make connection pool size configurable add db timeout
Trying to handle some of the contention issues I saw this morning
trying to roll out the new async changes. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/exit.rs",
"new_path": "rita/src/exit.rs",
"diff": "@@ -142,7 +142,7 @@ lazy_static! {\nlet manager = ConnectionManager::new(SETTING.get_db_uri());\nArc::new(RwLock::new(\nr2d2::Pool::builder()\n- .max_size(4)\n+ .max_size(SETTING.get_connection_pool_s... | Rust | Apache License 2.0 | althea-net/althea_rs | Make connection pool size configurable add db timeout
Trying to handle some of the contention issues I saw this morning
trying to roll out the new async changes. |
20,244 | 07.06.2019 11:46:20 | 14,400 | 781e2a5527b3c9ecef0c3af2560137610a6b91d0 | Speed up exit loop and promote logging message | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/rita_loop/mod.rs",
"new_path": "rita/src/rita_exit/rita_loop/mod.rs",
"diff": "@@ -53,7 +53,9 @@ use std::net::IpAddr;\nuse std::time::Duration;\nuse tokio::util::FutureExt;\n-pub const EXIT_LOOP_TIMEOUT: Duration = Duration::from_secs(15);\... | Rust | Apache License 2.0 | althea-net/althea_rs | Speed up exit loop and promote logging message |
20,244 | 07.06.2019 11:46:34 | 14,400 | d6b464ebc6f186e0168d9d753ae9c488fef8e450 | Update default settings with connection pool | [
{
"change_type": "MODIFY",
"old_path": "settings/default_exit.toml",
"new_path": "settings/default_exit.toml",
"diff": "db_uri = \"postgres://postgres@localhost/test\"\n+connection_pool_size = 1\ndescription = \"just a normal althea exit\"\n[payment]\n"
},
{
"change_type": "MODIFY",
"old... | Rust | Apache License 2.0 | althea-net/althea_rs | Update default settings with connection pool |
20,244 | 07.06.2019 16:15:50 | 14,400 | 5cd0aa0d09c730c5bf766c5866b47d0469debe3e | Lets try with one more worker | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "rita/.vscode/settings.json",
"diff": "+{\n+}\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "rita/src/exit.rs",
"new_path": "rita/src/exit.rs",
"diff": "@@ -142,7 +142,7 @@ lazy_static! {\nlet mana... | Rust | Apache License 2.0 | althea-net/althea_rs | Lets try with one more worker |
20,244 | 09.06.2019 08:37:47 | 14,400 | a81cdf12a9eb661234435fdab56eeb4c7127aaf3 | Add depth limit to Babel monitor reads
If you are on a cpu starved system this can get out of control,
probably not going to happen on prod exits but we may as well add
the change | [
{
"change_type": "MODIFY",
"old_path": "babel_monitor/src/lib.rs",
"new_path": "babel_monitor/src/lib.rs",
"diff": "@@ -110,6 +110,7 @@ pub fn open_babel_stream(babel_port: u16) -> ConnectFuture {\nfn read_babel(\nstream: TcpStream,\nprevious_contents: String,\n+ depth: usize,\n) -> impl Future<Item... | Rust | Apache License 2.0 | althea-net/althea_rs | Add depth limit to Babel monitor reads
If you are on a cpu starved system this can get out of control,
probably not going to happen on prod exits but we may as well add
the change |
20,244 | 09.06.2019 08:39:08 | 14,400 | 3d8c83ae5675e1dc56490f58d1aeeac6205b66df | Add timeouts for geoip and enforcement operations | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/geoip.rs",
"new_path": "rita/src/rita_exit/database/geoip.rs",
"diff": "@@ -62,10 +62,12 @@ pub fn get_gateway_ip_bulk(\nmesh_ip_list: Vec<IpAddr>,\n) -> Box<Future<Item = Vec<IpPair>, Error = Error>> {\nlet babel_port = SETTING.get... | Rust | Apache License 2.0 | althea-net/althea_rs | Add timeouts for geoip and enforcement operations |
20,244 | 09.06.2019 08:40:07 | 14,400 | 2e258efc0e297f0cdc1a4dc1ec943d9b2e3c83e5 | SyncActor can't seem to spawn futures
I was told by the Actix author that this shouldn't be possible and recent
changes seem to have broken whatever automagic was making it work. We've also
removed a lot of blocking so we'll roll this back. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/rita_loop/mod.rs",
"new_path": "rita/src/rita_exit/rita_loop/mod.rs",
"diff": "@@ -29,8 +29,8 @@ use crate::rita_exit::traffic_watcher::{TrafficWatcher, Watch};\nuse crate::KI;\nuse crate::SETTING;\nuse actix::{\n- Actor, ActorContext, Arbit... | Rust | Apache License 2.0 | althea-net/althea_rs | SyncActor can't seem to spawn futures
I was told by the Actix author that this shouldn't be possible and recent
changes seem to have broken whatever automagic was making it work. We've also
removed a lot of blocking so we'll roll this back. |
20,244 | 10.06.2019 11:25:24 | 14,400 | 3d66075648fb6b940b15a99b7f4da1828ebb31b9 | Update Readme to reflect current progress | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "# Althea_rs\n-This contains many (although confusingly not all) of the Rust components for the Althea firmware. The only separated components are [guac_rs](https://github.com/althea-mesh/guac_rs) which we want to b... | Rust | Apache License 2.0 | althea-net/althea_rs | Update Readme to reflect current progress |
20,244 | 13.06.2019 07:51:52 | 14,400 | 3047b7cb300b842ddcea7584d52e1625faf7e628 | Update for Beta 6 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -168,7 +168,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.4.7\",\n+ \"rita 0.5.0\",\n]\n[[package]]\n@@ -1841,7 +1841,7 @@ dependencies = [\n[[package]]\nname ... | Rust | Apache License 2.0 | althea-net/althea_rs | Update for Beta 6 |
20,244 | 13.06.2019 12:52:37 | 14,400 | 2340b33d4a1803f7b90d3ff6907359858cacba2d | Prevent price higher than max-fee
This is mostly to protect users who don't understand what price they are
setting. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/babel.rs",
"new_path": "rita/src/rita_common/dashboard/babel.rs",
"diff": "@@ -33,6 +33,10 @@ pub fn set_local_fee(path: Path<u32>) -> Box<Future<Item = HttpResponse, Error =\nlet new_fee = path.into_inner();\ndebug!(\"/local_fee... | Rust | Apache License 2.0 | althea-net/althea_rs | Prevent price higher than max-fee
This is mostly to protect users who don't understand what price they are
setting. |
20,244 | 13.06.2019 16:19:58 | 14,400 | 078a29a4cae2cc142cac34dfe3dfb3dd53e3afea | Update neighbors page to show direct metric | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -50,6 +50,7 @@ This file documents the dashboard API found in Rita client.\n{\n\"nickname\": \"fd00::2\",\n\"route_metric_to_exit\": 0,\n+ \"route_metric\": 0,\n\"total_debt... | Rust | Apache License 2.0 | althea-net/althea_rs | Update neighbors page to show direct metric |
20,244 | 05.04.2019 19:42:20 | 14,400 | 2f92044c3d031fed71bf606652193590c35c6350 | Remove default features from httpauth | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -64,13 +64,11 @@ dependencies = [\n\"actix-net 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"bitflags 1.1.0 (re... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove default features from httpauth |
20,244 | 05.04.2019 19:48:33 | 14,400 | d7a2806524d9e866fea96f343e4365d44c8f227a | Hash and salt the dashboard password
Since we're using httpauth this can't be perfect, but now the router
at least secures the password at rest | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1947,6 +1947,7 @@ dependencies = [\n\"serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"settings... | Rust | Apache License 2.0 | althea-net/althea_rs | Hash and salt the dashboard password
Since we're using httpauth this can't be perfect, but now the router
at least secures the password at rest |
20,244 | 12.04.2019 10:03:24 | 14,400 | fd930c7619262e77be12e283d954dc15ac961914 | Fix trailing slashes on some endpoints | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -286,9 +286,9 @@ fn start_client_dashboard() {\nMethod::POST,\nset_system_blockchain,\n)\n- .route(\"/blockchain/get/\", Method::GET, get_system_blockchain)\n- .route(\"/nickname/get/\", Method... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix trailing slashes on some endpoints |
20,244 | 12.04.2019 11:53:03 | 14,400 | a958b46621836db7f06770179363c769b5613348 | Fix sha3 encoding differences
Using fixed enfocing to produce a fixed sized hash and double checking
against some testing references | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -944,6 +944,23 @@ name = \"hex\"\nversion = \"0.3.2\"\nsource = \"registry+https://github.com/rust-lang/crates.io-index\"\n+[[package]]\n+name = \"hex-literal\"\n+version = \"0.2.0\"\n+source = \"registry+http... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix sha3 encoding differences
Using fixed enfocing to produce a fixed sized hash and double checking
against some testing references |
20,244 | 25.04.2019 10:16:10 | 14,400 | ea15d476041eeaf5eff3105461f457aa37c19f35 | Cleanup dependencies in the main files | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -18,11 +18,9 @@ extern crate lazy_static;\nextern crate log;\n#[macro_use]\nextern crate serde_derive;\n-\n#[cfg(test)]\n#[macro_use]\nextern crate hex_literal;\n-\nextern crate arrayvec;\nuse ... | Rust | Apache License 2.0 | althea-net/althea_rs | Cleanup dependencies in the main files |
20,244 | 25.04.2019 10:17:12 | 14,400 | 395f15ee55371a41cec60b3a60aec13c3df79904 | Update docs to reflect sha3 length change | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1300,7 +1300,7 @@ Manually runs the update script\n## /router/password\nNote a cleartext password is submitted to this endpoint but when actually used to login\n-a sha256 h... | Rust | Apache License 2.0 | althea-net/althea_rs | Update docs to reflect sha3 length change |
20,244 | 25.04.2019 13:37:26 | 14,400 | 507a6fe2740a4499d6045961d7b8df832b35a846 | Passwd setting needs newline chars | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/set_system_password.rs",
"new_path": "althea_kernel_interface/src/set_system_password.rs",
"diff": "@@ -8,7 +8,11 @@ impl dyn KernelInterface {\n/// Sets the system password on openwrt\npub fn set_system_password(&self, password: St... | Rust | Apache License 2.0 | althea-net/althea_rs | Passwd setting needs newline chars |
20,244 | 28.04.2019 09:27:28 | 14,400 | ee914667cd86204959ae290293c1ae79c6dc7f06 | Use upstream httpauth
My upstream patch was accepted | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -109,11 +109,11 @@ dependencies = [\n[[package]]\nname = \"actix-web-httpauth\"\n-version = \"0.1.0\"\n-source = \"git+https://github.com/jkilpatr/actix-web-httpauth#a97a9664b36ed3b269adc8c984bd33a5c302b15b\"\... | Rust | Apache License 2.0 | althea-net/althea_rs | Use upstream httpauth
My upstream patch was accepted |
20,249 | 07.06.2019 16:58:22 | 25,200 | bb391b620aff2015006bcf584e6e222ba0b3bbea | Fork actix httpauth to return 403 instead of 401 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -110,7 +110,7 @@ dependencies = [\n[[package]]\nname = \"actix-web-httpauth\"\nversion = \"0.2.0\"\n-source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+source = \"git+https://github.com/asolt... | Rust | Apache License 2.0 | althea-net/althea_rs | Fork actix httpauth to return 403 instead of 401 |
20,244 | 14.06.2019 09:15:23 | 14,400 | 34b64a2c75004cc45aca8ab97fb37cd121e8a6e9 | Use althea-mesh repo for httpauth | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -110,7 +110,7 @@ dependencies = [\n[[package]]\nname = \"actix-web-httpauth\"\nversion = \"0.2.0\"\n-source = \"git+https://github.com/asoltys/actix-web-httpauth#5f984f95a0b777d548ec68618671d26a96d92fde\"\n+so... | Rust | Apache License 2.0 | althea-net/althea_rs | Use althea-mesh repo for httpauth |
20,244 | 17.06.2019 07:24:49 | 14,400 | d490046f811e61126e24c0e8f81463645d90bed7 | Save bw usage data every 4 hours
Data was often not being saved because routers got rebooted | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/usage_tracker/mod.rs",
"new_path": "rita/src/rita_common/usage_tracker/mod.rs",
"diff": "@@ -31,7 +31,7 @@ use std::time::UNIX_EPOCH;\n/// On year worth of usage storage\nconst MAX_ENTRIES: usize = 8760;\n/// Save every 24 hours\n-const SA... | Rust | Apache License 2.0 | althea-net/althea_rs | Save bw usage data every 4 hours
Data was often not being saved because routers got rebooted |
20,244 | 17.06.2019 13:12:51 | 14,400 | 9d299a76fc18038432da0f79a15bc495abcc51d5 | Use 105% of the provided median gas price | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -191,7 +191,7 @@ pub fn update_nonce(our_address: Address, web3: &Web3, full_node: String) {\n/// This function updates the gas price and in the process adjusts ... | Rust | Apache License 2.0 | althea-net/althea_rs | Use 105% of the provided median gas price |
20,249 | 17.06.2019 15:26:40 | 25,200 | 6f07fc9d06e6cdc7b0fe8caf39c23cb805afc28c | Accept authorization headers | [
{
"change_type": "MODIFY",
"old_path": "rita/src/middleware.rs",
"new_path": "rita/src/middleware.rs",
"diff": "@@ -30,7 +30,7 @@ impl<S> Middleware<S> for Headers {\n);\nresp.headers_mut().insert(\nheader::HeaderName::try_from(\"Access-Control-Allow-Headers\").unwrap(),\n- header::HeaderValue::from... | Rust | Apache License 2.0 | althea-net/althea_rs | Accept authorization headers |
20,244 | 19.06.2019 11:13:16 | 14,400 | e94cbb2299e6bbb309c45eb7b9b16bb5f068beb0 | Add back content type header, bump for Beta6 rc2 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -170,7 +170,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.5.0\",\n+ \"rita 0.5.1\",\n]\n[[package]]\n@@ -1930,7 +1930,7 @@ source = \"registry+https://github.c... | Rust | Apache License 2.0 | althea-net/althea_rs | Add back content type header, bump for Beta6 rc2 |
20,244 | 19.06.2019 11:14:47 | 14,400 | b8f9de204638684d846fb7596c3f8ffc6377bc06 | Update human readable version | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dashboard/own_info.rs",
"new_path": "rita/src/rita_common/dashboard/own_info.rs",
"diff": "@@ -6,7 +6,7 @@ use clarity::Address;\nuse failure::Error;\nuse num256::{Int256, Uint256};\n-pub static READABLE_VERSION: &str = \"Beta 6 RC1\";\n+p... | Rust | Apache License 2.0 | althea-net/althea_rs | Update human readable version |
20,244 | 21.06.2019 16:49:44 | 14,400 | 309827114f9765df2f24ceb690fa3b1eb1227406 | Fix doc inconsistency with trailing /'s | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1255,7 +1255,7 @@ is longer than 32 chars when utf-8 encoded (not always 32 assci chars)\nGets the nickname used by the router\n-- URL: `<rita ip>:<rita_dashboard_port>/nic... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix doc inconsistency with trailing /'s |
20,244 | 21.06.2019 17:11:41 | 14,400 | e19e11c22a2fd48af45c4855d1bc6b6eaf439659 | It's better to have a tunnel without traffic shaping
If we fail in this case we will set up infinite untracked tunnels
and generally nothing will work right. We would prefer to log this
error case over the alternative | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -127,7 +127,8 @@ impl KernelInterface {\nif !output.status.success() {\nlet res = String::from_utf8(output.stderr)?;\n- bail!(\"Failed to... | Rust | Apache License 2.0 | althea-net/althea_rs | It's better to have a tunnel without traffic shaping
If we fail in this case we will set up infinite untracked tunnels
and generally nothing will work right. We would prefer to log this
error case over the alternative |
20,244 | 21.06.2019 17:15:12 | 14,400 | aabfd9f2d8cc5e8739643c3b6cf3550da222818e | Bump Rita version for Beta 6 RC3 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -170,7 +170,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.5.1\",\n+ \"rita 0.5.2\",\n]\n[[package]]\n@@ -1930,7 +1930,7 @@ source = \"registry+https://github.c... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump Rita version for Beta 6 RC3 |
20,244 | 22.06.2019 07:30:47 | 14,400 | 39e00140c9b2944d1d95947c01c2cff3e15e7e2f | Update bounty hunter deps | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -349,7 +349,7 @@ dependencies = [\n\"actix-web 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"clarity 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"diesel 1.4.2 (re... | Rust | Apache License 2.0 | althea-net/althea_rs | Update bounty hunter deps |
20,244 | 22.06.2019 07:32:59 | 14,400 | 24efb86feec2df27c3d0b95fa7df4018b1f17f49 | Upgrade Settings deps | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -2213,7 +2213,7 @@ dependencies = [\n\"serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"serde_json 1.... | Rust | Apache License 2.0 | althea-net/althea_rs | Upgrade Settings deps |
20,244 | 22.06.2019 07:39:13 | 14,400 | d9874922881f9e581534f66ad56742a17c8bf90d | Update other minor deps | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -179,7 +179,7 @@ version = \"0.1.0\"\ndependencies = [\n\"actix 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)\",\n-... | Rust | Apache License 2.0 | althea-net/althea_rs | Update other minor deps |
20,244 | 22.06.2019 18:02:21 | 14,400 | a8680ac9a4bc5d0bffae07c4a09c27e8dc1ef401 | Use crates.io Lettre | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -1086,7 +1086,7 @@ source = \"registry+https://github.com/rust-lang/crates.io-index\"\n[[package]]\nname = \"lettre\"\nversion = \"0.9.2\"\n-source = \"git+https://github.com/lettre/lettre/#089b811bbcb9d9f5e9a... | Rust | Apache License 2.0 | althea-net/althea_rs | Use crates.io Lettre |
20,244 | 23.06.2019 07:58:12 | 14,400 | 817a49d2f2feab42bc584b39e16c60971447f771 | Don't error out for traffic that can't be forwarded
Our logs are filled with error messages for linklocal undeliverable
traffic, since this traffic can't go anywhere it can't be billed
in a pay per forward system and should be more gracefully ignored. | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/lib.rs",
"new_path": "althea_kernel_interface/src/lib.rs",
"diff": "@@ -29,7 +29,7 @@ mod iptables;\nmod is_openwrt;\nmod link_local_tools;\nmod manipulate_uci;\n-mod open_tunnel;\n+pub mod open_tunnel;\nmod openwrt_ubus;\nmod ping_... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't error out for traffic that can't be forwarded
Our logs are filled with error messages for linklocal undeliverable
traffic, since this traffic can't go anywhere it can't be billed
in a pay per forward system and should be more gracefully ignored. |
20,244 | 23.06.2019 09:31:59 | 14,400 | f496602a87caf154a9b9a5bc89fe2d5f7d0342ae | Move linklocal check to reduce cyclomatic complexity | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"diff": "@@ -150,6 +150,15 @@ pub fn get_input_counters() -> Result<HashMap<(IpAddr, String), u64>, Error> {\n};\nfor (k, v) in input_counters {\n+ let ip ... | Rust | Apache License 2.0 | althea-net/althea_rs | Move linklocal check to reduce cyclomatic complexity |
20,244 | 23.06.2019 09:32:47 | 14,400 | 745530f8bbba4612f6d9616a4555b62a0858a63f | Turns out this is possible | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_client/traffic_watcher/mod.rs",
"diff": "@@ -141,7 +141,7 @@ impl Handler<QueryExitDebts> for TrafficWatcher {\nDebtKeeper::from_registry().do_send(exit_replace);\n} else {\n- error!(\"Th... | Rust | Apache License 2.0 | althea-net/althea_rs | Turns out this is possible |
20,244 | 22.06.2019 20:34:48 | 14,400 | 4da44517fa4569acca26305700c0be8ecbb48c1a | Fix bounty hunter dir | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -22,7 +22,7 @@ BABELD = os.path.join(os.path.dirname(__file__), 'deps/babeld/babeld')\nRITA_DEFAULT = os.path.join(os.path.dirname(__file__), '../target/debug/rita')\nRITA_EXIT_DE... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix bounty hunter dir |
20,244 | 23.06.2019 13:18:12 | 14,400 | 1b6d000773bbbf4b8aa57e0334905222bacd364a | Trace messages for common traffic watcher route debugging | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_common/traffic_watcher/mod.rs",
"diff": "@@ -87,7 +87,7 @@ pub fn prepare_helper_maps(\n}\npub fn get_babel_info(routes: Vec<Route>) -> Result<(HashMap<IpAddr, i128>, u32), Error> {\n- tr... | Rust | Apache License 2.0 | althea-net/althea_rs | Trace messages for common traffic watcher route debugging |
20,244 | 24.06.2019 21:28:18 | 14,400 | 2d130e44dda9fbf74826101ba44fd398d2a35fed | Add retries to babel monitor and unmonitor operations
I had some sense that this would eventually be required when I first
wrote these handlers. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"new_path": "rita/src/rita_common/tunnel_manager/mod.rs",
"diff": "@@ -29,6 +29,7 @@ use std::fmt;\nuse std::net::{IpAddr, SocketAddr};\nuse std::path::Path;\nuse std::time::{Duration, Instant};\n+use tokio::timer::... | Rust | Apache License 2.0 | althea-net/althea_rs | Add retries to babel monitor and unmonitor operations
I had some sense that this would eventually be required when I first
wrote these handlers. |
20,244 | 25.06.2019 08:15:22 | 14,400 | 3529ec69c673f066563139b8894d77986ab3c03a | Hand edit Cargo.lock to revert openssl and openssl-sys
This was causing a segfault between r2d2 and diesel | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -41,7 +41,7 @@ dependencies = [\n\"mio 0.6.19 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"num_cpus 1.10.1 (registry+h... | Rust | Apache License 2.0 | althea-net/althea_rs | Hand edit Cargo.lock to revert openssl and openssl-sys
This was causing a segfault between r2d2 and diesel |
20,244 | 25.06.2019 08:16:40 | 14,400 | 2edfc503ecd448d9a11e32c9c3a29db146582801 | Bump for Beta 6 RC4 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -170,7 +170,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.5.2\",\n+ \"rita 0.5.3\",\n]\n[[package]]\n@@ -1905,7 +1905,7 @@ source = \"registry+https://github.c... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 6 RC4 |
20,244 | 27.06.2019 07:04:16 | 14,400 | 9453a278974c54483159aa927397981146faedca | Speed up balance requests
Placing the oracle in the slow loop is technically superior but annoys
people when they make a deposit. So we will make more requests instead | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -62,7 +62,7 @@ impl Default for Oracle {\n}\n/// How long we wait for a response from the full node\n-pub const ORACLE_TIMEOUT: Duration = Duration::from_secs(5)... | Rust | Apache License 2.0 | althea-net/althea_rs | Speed up balance requests
Placing the oracle in the slow loop is technically superior but annoys
people when they make a deposit. So we will make more requests instead |
20,244 | 27.06.2019 07:08:21 | 14,400 | 77b674ed50d85063239225c461e033e7fd0c9b53 | Update for mandatory dyn syntax | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/traffic_control.rs",
"new_path": "althea_kernel_interface/src/traffic_control.rs",
"diff": "@@ -8,7 +8,7 @@ use super::KernelInterface;\nuse failure::Error;\nuse std::net::Ipv4Addr;\n-impl KernelInterface {\n+impl dyn KernelInterfac... | Rust | Apache License 2.0 | althea-net/althea_rs | Update for mandatory dyn syntax |
20,244 | 27.06.2019 07:11:45 | 14,400 | 7907a05091e3590d2cd206db4b28ca009a893637 | Put the price oracle on the file wide timeout | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -282,7 +282,7 @@ fn update_our_price() {\n.finish()\n.unwrap()\n.send()\n- .timeout(Duration::from_secs(1))\n+ .timeout(ORACLE_TIMEOUT)\n.then(move |response| {\... | Rust | Apache License 2.0 | althea-net/althea_rs | Put the price oracle on the file wide timeout |
20,244 | 28.06.2019 09:10:42 | 14,400 | 21ae5f87f231c4e1bf3cd18557ddfca91d73d2b9 | Always reboot the router after toggling of any kind
The linklocal address listener bug is very persistant, but this should
slay it for all cases. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/interfaces.rs",
"new_path": "rita/src/rita_client/dashboard/interfaces.rs",
"diff": "@@ -312,20 +312,25 @@ pub fn ethernet_transform_mode(\nerror_occured = true;\n}\n}\n+ let locally_owned_ifname = ifname.to_string();\nif error_o... | Rust | Apache License 2.0 | althea-net/althea_rs | Always reboot the router after toggling of any kind
The linklocal address listener bug is very persistant, but this should
slay it for all cases. |
20,244 | 28.06.2019 10:51:33 | 14,400 | 820ec6578bbcaf2cbea0435b9887fd08ab11ce04 | Bump for Beta 6 RC5 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -170,7 +170,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.5.3\",\n+ \"rita 0.5.4\",\n]\n[[package]]\n@@ -1905,7 +1905,7 @@ source = \"registry+https://github.c... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 6 RC5 |
20,244 | 28.06.2019 21:30:04 | 14,400 | 572640bae95b1eac4165a23d89d127f798dcc7b2 | Remove println from Rita slow loop
left these in by accident when debugging | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/rita_loop/slow_loop.rs",
"new_path": "rita/src/rita_common/rita_loop/slow_loop.rs",
"diff": "@@ -101,13 +101,9 @@ fn set_babel_price() {\nopen_babel_stream(babel_port)\n.from_err()\n.and_then(move |stream| {\n- println!(\"We opened the str... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove println from Rita slow loop
left these in by accident when debugging |
20,244 | 29.06.2019 17:01:54 | 14,400 | 195067c36ec8859a2f9ffa74c65727214f494fa6 | Store usage data in /etc/
This wasn't being persisted, I need to nail that unix file system page to
my wall | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/usage_tracker/mod.rs",
"new_path": "rita/src/rita_common/usage_tracker/mod.rs",
"diff": "@@ -30,7 +30,7 @@ use std::time::UNIX_EPOCH;\n/// On year worth of usage storage\nconst MAX_ENTRIES: usize = 8760;\n-/// Save every 24 hours\n+/// Sav... | Rust | Apache License 2.0 | althea-net/althea_rs | Store usage data in /etc/
This wasn't being persisted, I need to nail that unix file system page to
my wall |
20,244 | 01.07.2019 10:49:20 | 14,400 | c22ca3d5255efcb8191d970289bc473f4fc59ed1 | Log price oracle status
Most of the network isn't updating prices, but I can't tell if that's
because of oracle issues or just because it's disabled. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/oracle/mod.rs",
"new_path": "rita/src/rita_common/oracle/mod.rs",
"diff": "@@ -85,6 +85,8 @@ impl Handler<Update> for Oracle {\nget_net_version(&web3, full_node);\nif oracle_enabled {\nupdate_our_price();\n+ } else {\n+ info!(\"User has di... | Rust | Apache License 2.0 | althea-net/althea_rs | Log price oracle status
Most of the network isn't updating prices, but I can't tell if that's
because of oracle issues or just because it's disabled. |
20,244 | 02.07.2019 08:26:28 | 14,400 | d82cf02d3f8d8c80aa86ae07550363075dfd6c54 | Add saving to debt keeper
This persists debts to the disk for the first time | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -22,11 +22,19 @@ use althea_types::{Identity, PaymentTx};\nuse failure::Error;\nuse num256::{Int256, Uint256};\nuse num_traits::Signed;\n+use serde_jso... | Rust | Apache License 2.0 | althea-net/althea_rs | Add saving to debt keeper
This persists debts to the disk for the first time |
20,244 | 02.07.2019 09:58:31 | 14,400 | 6dd4702b3116f5a6b886c47b576fe5051bd9cf0f | update wifi docstrings | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/wifi.rs",
"new_path": "rita/src/rita_client/dashboard/wifi.rs",
"diff": "@@ -10,22 +10,22 @@ use serde_json::Value;\nuse settings::RitaCommonSettings;\nuse std::collections::HashMap;\n-// legal in the US and around the world, don... | Rust | Apache License 2.0 | althea-net/althea_rs | update wifi docstrings |
20,244 | 02.07.2019 09:58:47 | 14,400 | 787f579b0da9333be87925f8c9a8ae76164a6e86 | Remove usage tracker file change for Beta 7 | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/usage_tracker/mod.rs",
"new_path": "rita/src/rita_common/usage_tracker/mod.rs",
"diff": "@@ -159,8 +159,6 @@ impl Supervised for UsageTracker {}\nimpl SystemService for UsageTracker {\nfn service_started(&mut self, _ctx: &mut Context<Self>... | Rust | Apache License 2.0 | althea-net/althea_rs | Remove usage tracker file change for Beta 7 |
20,244 | 02.07.2019 13:46:03 | 14,400 | 6efca104ab64b79fb097de9c3555b7350f693c7b | Add release feed toggles | [
{
"change_type": "MODIFY",
"old_path": "docs/api/router-dashboard.md",
"new_path": "docs/api/router-dashboard.md",
"diff": "@@ -1404,3 +1404,59 @@ amounts are in wei\n`curl -v -XGET http://192.168.10.1:4877/usage/payments`\n---\n+\n+## /release_feed/set/{feed}\n+\n+Sets the release feed for the rout... | Rust | Apache License 2.0 | althea-net/althea_rs | Add release feed toggles |
20,244 | 02.07.2019 13:46:49 | 14,400 | 2f8dc0609e908b0797d72d5db544d0578d05329a | Lazy static some missed regexes | [
{
"change_type": "MODIFY",
"old_path": "althea_kernel_interface/src/get_neighbors.rs",
"new_path": "althea_kernel_interface/src/get_neighbors.rs",
"diff": "@@ -16,8 +16,13 @@ impl dyn KernelInterface {\ntrace!(\"Got {:?} from `ip neighbor`\", output);\nlet mut vec = Vec::new();\n- let re = Regex::ne... | Rust | Apache License 2.0 | althea-net/althea_rs | Lazy static some missed regexes |
20,244 | 08.07.2019 09:51:32 | 14,400 | 36fecdb7099fcf0bbffcbec6a5919c38a7b27132 | Add more details to the suspend message
Seeing some strange behavior where a node will suspend for a very brief few seconds
I don't see any way for the debt to change that fast so we'll improve the logging to
see what's going on. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -506,7 +506,9 @@ impl DebtKeeper {\n}\ninfo!(\n- \"debt is below close threshold for {}. suspending forwarding\",\n+ \"debt {} is below close threshold... | Rust | Apache License 2.0 | althea-net/althea_rs | Add more details to the suspend message
Seeing some strange behavior where a node will suspend for a very brief few seconds
I don't see any way for the debt to change that fast so we'll improve the logging to
see what's going on. |
20,244 | 09.07.2019 07:58:18 | 14,400 | 38f9a08d033e43f9cdb006a4ace53a030ebba8b1 | Fix debtkeeper error messages | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -281,19 +281,19 @@ impl Default for DebtKeeper {\nmatch deserialized {\nOk(value) => value,\nErr(e) => {\n- error!(\"Failed to deserialize usage tracke... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix debtkeeper error messages |
20,244 | 09.07.2019 08:03:10 | 14,400 | 971572dd739b2b6c1bd7a7b306dc40d8423779cb | Fix debtkeeper var name | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -265,7 +265,7 @@ impl Default for DebtKeeper {\nassert!(SETTING.get_payment().close_threshold <= Int256::from(0));\nlet file = File::open(SETTING.get_p... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix debtkeeper var name |
20,244 | 09.07.2019 08:31:49 | 14,400 | 574955f5b3be0a729e4dbbcdeaddee1f22a64f54 | Save debts on start | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -266,7 +266,7 @@ impl Default for DebtKeeper {\nlet file = File::open(SETTING.get_payment().debts_file.clone());\n// if the loading process goes wrong ... | Rust | Apache License 2.0 | althea-net/althea_rs | Save debts on start |
20,244 | 10.07.2019 19:18:44 | 14,400 | 068911225123f756148ef23040c6812bf323b3ec | Check all major user properties in check_user() | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -77,10 +77,6 @@ pub fn update_client(client: &ExitClientIdentity, conn: &PgConnection) -> Result\n.execute(&*conn)?;\n}\n- diesel::update(c... | Rust | Apache License 2.0 | althea-net/althea_rs | Check all major user properties in check_user() |
20,249 | 03.07.2019 12:22:12 | 25,200 | 3d026eb6ac2b5dd1c79c975d1dd257e18c1f2ca5 | Add /router/reboot endpoint | [
{
"change_type": "MODIFY",
"old_path": "rita/src/client.rs",
"new_path": "rita/src/client.rs",
"diff": "@@ -55,8 +55,8 @@ use crate::rita_client::dashboard::mesh_ip::*;\nuse crate::rita_client::dashboard::neighbors::*;\nuse crate::rita_client::dashboard::notifications::*;\nuse crate::rita_client::da... | Rust | Apache License 2.0 | althea-net/althea_rs | Add /router/reboot endpoint |
20,249 | 05.07.2019 09:07:09 | 25,200 | 0ecf81d8282a295a6228006d61c915a6ce65aff8 | Reset all exit states to NEW after private key import | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/eth_private_key.rs",
"new_path": "rita/src/rita_client/dashboard/eth_private_key.rs",
"diff": "use crate::ARGS;\nuse crate::KI;\nuse crate::SETTING;\n-use ::actix_web::{HttpRequest, HttpResponse, Json};\n+use actix_web::{HttpRequ... | Rust | Apache License 2.0 | althea-net/althea_rs | Reset all exit states to NEW after private key import |
20,249 | 11.07.2019 16:30:43 | 25,200 | cb0fa24367770bc8c1b0cac4c5961d4d2f153bf6 | Reset wireguard pub key after private key import, release write locks | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/eth_private_key.rs",
"new_path": "rita/src/rita_client/dashboard/eth_private_key.rs",
"diff": "@@ -38,13 +38,27 @@ pub fn set_eth_private_key(data: Json<EthPrivateKey>) -> Result<HttpResponse, Er\ndebug!(\"/eth_private_key POST h... | Rust | Apache License 2.0 | althea-net/althea_rs | Reset wireguard pub key after private key import, release write locks |
20,244 | 12.07.2019 17:13:27 | 14,400 | 793d2f9f3ee37dff893a859415b5c2f8f64dc934 | Fix DAO fee payment
We would panic when trying to pay the dao fee becuase the wgkey was
not valid | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/dao_manager/mod.rs",
"new_path": "rita/src/rita_common/dao_manager/mod.rs",
"diff": "@@ -92,7 +92,9 @@ impl Handler<Tick> for DAOManager {\nlet dao_identity = Identity {\neth_address: address,\n- wg_public_key: \"FFFFFFFFFFFFFFFFFFFFFFFFFF... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix DAO fee payment
We would panic when trying to pay the dao fee becuase the wgkey was
not valid |
20,244 | 13.07.2019 18:43:24 | 14,400 | 7510a2b252a5f60d0189e11716f6cd7cc709fcd8 | Check for client conflicts on registration | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -152,6 +152,22 @@ pub fn client_exists(client: &ExitClientIdentity, conn: &PgConnection) -> Result\nOk(select(exists(filtered_list)).get_re... | Rust | Apache License 2.0 | althea-net/althea_rs | Check for client conflicts on registration |
20,244 | 14.07.2019 08:36:06 | 14,400 | 8b4e1ab7bc00e10062207761a75f4ea38de7a0b3 | There's no conflict if the client exists | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/database/database_tools.rs",
"new_path": "rita/src/rita_exit/database/database_tools.rs",
"diff": "@@ -155,6 +155,12 @@ pub fn client_exists(client: &ExitClientIdentity, conn: &PgConnection) -> Result\n/// True if there is any client with th... | Rust | Apache License 2.0 | althea-net/althea_rs | There's no conflict if the client exists |
20,244 | 09.07.2019 11:08:01 | 14,400 | 82c7b9ddfe82060033afb12fc2c438897f4d4e0f | Add local Docker image that runs the integration tests
This handles the pesky problem of running a local Postgres server
in order to run the integration tests. | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -5,17 +5,18 @@ This contains many (although confusingly not all) of the Rust components for the\nThe primary binary crate in this repo is 'rita' which produces two binaries 'rita' and 'rita_exit'\nsee the file h... | Rust | Apache License 2.0 | althea-net/althea_rs | Add local Docker image that runs the integration tests
This handles the pesky problem of running a local Postgres server
in order to run the integration tests. |
20,244 | 09.07.2019 17:04:07 | 14,400 | 2957e572564823e227358022219aabd029bfbbc6 | Update for Gotcha | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -49,6 +49,8 @@ If you wish to test a commit you are developing, or just see Rita in action loca\nThis runs both the unit and integration tests you will need to have installed the depenencies listed in the Buildi... | Rust | Apache License 2.0 | althea-net/althea_rs | Update for Gotcha |
20,244 | 09.07.2019 17:04:22 | 14,400 | d648fe7df2d49b41089355b799e9401c77e847fa | Update suspension check phrase | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/rita.py",
"new_path": "integration-tests/rita.py",
"diff": "@@ -1071,12 +1071,12 @@ def main():\nprint(\"Check that tunnels have not been suspended\")\n- assert_test(not check_log_contains(\"rita-n1.log\", \"debt is below close threshold\"), ... | Rust | Apache License 2.0 | althea-net/althea_rs | Update suspension check phrase |
20,244 | 11.07.2019 09:46:51 | 14,400 | da1e993d3cbfa9809925ef1ac56d44abe68ad4c4 | Better integration test balance checking | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/container/Dockerfile",
"new_path": "integration-tests/container/Dockerfile",
"diff": "@@ -4,7 +4,8 @@ FROM postgres\nADD rita.tar.gz /rita\nRUN echo \"deb http://deb.debian.org/debian/ unstable main\" > /etc/apt/sources.list.d/unstable.list\n... | Rust | Apache License 2.0 | althea-net/althea_rs | Better integration test balance checking |
20,244 | 14.07.2019 09:23:59 | 14,400 | 0ee0ca402a6371dd7b7cfcd81961765a8a9da5cf | Fix exit wg-key copying in tests | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/world.py",
"new_path": "integration-tests/integration-test-script/world.py",
"diff": "@@ -190,7 +190,7 @@ class World:\ntime.sleep(1)\nEXIT_SETTINGS[\"exits\"][\"exit_a\"][\"id\"][\"wg_public_key\"] = get_rita_settings... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix exit wg-key copying in tests |
20,244 | 14.07.2019 09:35:38 | 14,400 | 8d0e6a87b28a9a5a3f3c330339ac52a56d5a5d5d | Test exit reachability | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -293,6 +293,7 @@ def main():\nif choice != 'y':\nsys.exit(0)\n+ world.test_exit_reach_all()\nworld.test_traffic(traffic_test_pairs)... | Rust | Apache License 2.0 | althea-net/althea_rs | Test exit reachability |
20,244 | 14.07.2019 10:31:32 | 14,400 | 33186b2f9fa9d12be4ac3bc580786a496f747415 | Test balance agreement | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -125,7 +125,6 @@ def setup_seven_node_config():\ne5 = Node(5, 0, COMPAT_LAYOUT, COMPAT_LAYOUTS)\nf6 = Node(6, 50, COMPAT_LAYOUT, CO... | Rust | Apache License 2.0 | althea-net/althea_rs | Test balance agreement |
20,244 | 14.07.2019 13:22:58 | 14,400 | 5a590af12321998765036e9585a2b736246452f3 | Correct traffic matching rules | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -301,9 +301,9 @@ def main():\nprint(\"Check that tunnels have not been suspended\")\n- for node in world.nodes:\n- assert_test(not ... | Rust | Apache License 2.0 | althea-net/althea_rs | Correct traffic matching rules |
20,244 | 15.07.2019 07:05:39 | 14,400 | 89a52826215dda780f093ea5bc607a9410ecfc4b | Travis can't use this flag and we don't really need it anyways | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -7,7 +7,7 @@ before_install:\n- sudo add-apt-repository ppa:wireguard/wireguard -y\n- sudo add-apt-repository universe\n- sudo apt-get -qq update\n- - sudo apt-get install -y libsqlite3-dev postgresql-client... | Rust | Apache License 2.0 | althea-net/althea_rs | Travis can't use this flag and we don't really need it anyways |
20,244 | 12.07.2019 15:32:39 | 14,400 | e943ef23b3bacc555f22e04a71d4536e19469cea | Log all debts
This will be a little noisy but it will allow us to chart debts
divergence, somthing I want to watch over longer periods of time now | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -461,12 +461,12 @@ impl DebtKeeper {\nlet debt_data = self.get_debt_data_mut(ident);\n// the debt we started this round with\n- trace!(\n- \"send_updat... | Rust | Apache License 2.0 | althea-net/althea_rs | Log all debts
This will be a little noisy but it will allow us to chart debts
divergence, somthing I want to watch over longer periods of time now |
20,244 | 15.07.2019 15:17:29 | 14,400 | 5c8bbb27fc8b73e750fe48e843b3ac3c52282103 | Don't log clients that aren't online
This is just a bit of log spam | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"new_path": "rita/src/rita_exit/traffic_watcher/mod.rs",
"diff": "@@ -96,7 +96,7 @@ fn get_babel_info(\ndestinations.insert(id.wg_public_key, u64::from(price));\n}\n- None => warn!(\"Can't find destination for client... | Rust | Apache License 2.0 | althea-net/althea_rs | Don't log clients that aren't online
This is just a bit of log spam |
20,244 | 15.07.2019 15:34:21 | 14,400 | b68e5bed66baed6c00519bd6e25ffe87f889e556 | Add integration test network map in readme | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/readme.md",
"new_path": "integration-tests/readme.md",
"diff": "This folder must be located in a folder containing the Althea projects being tested together:\n+Default virtual network topology:\n+\n+Where 5 is the exit and 7 is the gateway\n+... | Rust | Apache License 2.0 | althea-net/althea_rs | Add integration test network map in readme |
20,249 | 15.07.2019 12:47:35 | 25,200 | 096edbaf2262d4f24f322bd461a1952b9282e81a | Regenerate mesh IP on private key import | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/dashboard/eth_private_key.rs",
"new_path": "rita/src/rita_client/dashboard/eth_private_key.rs",
"diff": "@@ -4,6 +4,7 @@ use crate::SETTING;\nuse actix_web::{HttpRequest, HttpResponse, Json};\nuse althea_types::ExitState;\nuse clarity::Pri... | Rust | Apache License 2.0 | althea-net/althea_rs | Regenerate mesh IP on private key import |
20,244 | 16.07.2019 08:24:28 | 14,400 | db6d436a4fff4e51ac4a5247ffaec4822c4209ce | Fix -n option for travis | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -9,7 +9,6 @@ before_install:\n- sudo apt-get -qq update\n- sudo apt-get install -y iperf3 libsqlite3-dev postgresql-client-11 postgresql-server-dev-11 libpq-dev python3-pip bridge-utils wireguard linux-sourc... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix -n option for travis |
20,244 | 16.07.2019 09:43:00 | 14,400 | 69bc02e32526364557fed8b7b7c72b9b8bed3dc9 | Print overpayment percentage | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/utils.py",
"new_path": "integration-tests/integration-test-script/utils.py",
"diff": "@@ -344,7 +344,8 @@ def fuzzy_traffic_match(numA, numB):\n# this should only happen if there is packet loss\novercounting = pos_abs ... | Rust | Apache License 2.0 | althea-net/althea_rs | Print overpayment percentage |
20,244 | 16.07.2019 12:10:56 | 14,400 | 4f6e2bdf9420cca5be22948356de354c1f795097 | Fix Gateway client billing corner case
This creates an alternate billing path for a gateway that is both a
client and a relay for a given exit. It identifies that such a network
organization exits, then evaluates billing in the same way the exit
will in that case. | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_client/rita_loop/mod.rs",
"new_path": "rita/src/rita_client/rita_loop/mod.rs",
"diff": "//! tunnel if the signup was successful on the selected exit.\nuse crate::rita_client::exit_manager::ExitManager;\n+use crate::rita_client::traffic_watcher::T... | Rust | Apache License 2.0 | althea-net/althea_rs | Fix Gateway client billing corner case
This creates an alternate billing path for a gateway that is both a
client and a relay for a given exit. It identifies that such a network
organization exits, then evaluates billing in the same way the exit
will in that case. |
20,244 | 16.07.2019 15:55:53 | 14,400 | ce27358358ae9ea66eba64d2511d692fc1250e47 | Reduce throughput for travis | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/world.py",
"new_path": "integration-tests/integration-test-script/world.py",
"diff": "@@ -385,7 +385,7 @@ class World:\ntime.sleep(2)\nclient = subprocess.Popen(\n[\"ip\", \"netns\", \"exec\", \"netlab-{}\".format(to_n... | Rust | Apache License 2.0 | althea-net/althea_rs | Reduce throughput for travis |
20,244 | 17.07.2019 07:38:11 | 14,400 | c655fd26334fbd120aad95bf068d48eaf7168e77 | Send sigterm instead of sigint
It looks like the lockup issue in travis is the iperf server not
closing, maybe it just needs a stronger signal | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/world.py",
"new_path": "integration-tests/integration-test-script/world.py",
"diff": "@@ -385,7 +385,7 @@ class World:\ntime.sleep(2)\nclient = subprocess.Popen(\n[\"ip\", \"netns\", \"exec\", \"netlab-{}\".format(to_n... | Rust | Apache License 2.0 | althea-net/althea_rs | Send sigterm instead of sigint
It looks like the lockup issue in travis is the iperf server not
closing, maybe it just needs a stronger signal |
20,244 | 17.07.2019 10:10:07 | 14,400 | 86c33370e3b1bc9fcad0208b24fac59f4bd8f7b7 | Test for gateway detection | [
{
"change_type": "MODIFY",
"old_path": "integration-tests/integration-test-script/rita.py",
"new_path": "integration-tests/integration-test-script/rita.py",
"diff": "@@ -35,6 +35,10 @@ dname = os.path.dirname(os.path.dirname(abspath))\nos.chdir(dname)\nEXIT_NAMESPACE = \"netlab-5\"\n+EXIT_ID = 5\n+\... | Rust | Apache License 2.0 | althea-net/althea_rs | Test for gateway detection |
20,244 | 18.07.2019 17:59:12 | 14,400 | b3763f22971c211e4e8a6fa93c81b0e8fe20591c | Bump for Beta 7 RC1 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -170,7 +170,7 @@ dependencies = [\nname = \"althea_rs\"\nversion = \"0.1.10\"\ndependencies = [\n- \"rita 0.5.5\",\n+ \"rita 0.5.6\",\n]\n[[package]]\n@@ -1905,7 +1905,7 @@ source = \"registry+https://github.c... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 7 RC1 |
20,244 | 23.07.2019 16:24:53 | 14,400 | 5b6804c3e19a9b9ccbe9ea61466c555043d56492 | Modify debts saving to not use structs as keys | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -79,6 +79,25 @@ impl NodeDebtData {\n}\npub type DebtData = HashMap<Identity, NodeDebtData>;\n+/// a datatype used only for the serializing of DebtData... | Rust | Apache License 2.0 | althea-net/althea_rs | Modify debts saving to not use structs as keys |
20,244 | 23.07.2019 16:33:32 | 14,400 | 89ab9cb9d6221362a9e7164ad4da599013150886 | Clean up rustdoc comment for SAVE_FREQENCY | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/debt_keeper/mod.rs",
"new_path": "rita/src/rita_common/debt_keeper/mod.rs",
"diff": "@@ -32,7 +32,7 @@ use std::io::Write;\nuse std::time::Duration;\nuse std::time::Instant;\n-/// Four hours\n+/// How often we save the nodes debt data, cur... | Rust | Apache License 2.0 | althea-net/althea_rs | Clean up rustdoc comment for SAVE_FREQENCY |
20,244 | 24.07.2019 10:39:20 | 14,400 | 97995f687ae51f313c98bed84fef38c56b0ce85c | Follow hardlinks for tests | [
{
"change_type": "MODIFY",
"old_path": "scripts/test.sh",
"new_path": "scripts/test.sh",
"diff": "@@ -18,7 +18,7 @@ tar --exclude $REPOFOLDER/target \\\n--exclude $REPOFOLDER/integration-tests/target_b \\\n--exclude $REPOFOLDER/integration-tests/deps \\\n--exclude $REPOFOLDER/integration-tests/conta... | Rust | Apache License 2.0 | althea-net/althea_rs | Follow hardlinks for tests |
20,244 | 24.07.2019 11:43:36 | 14,400 | a78d1c848427abbd586d5cca35023e84cae038d2 | Mute cargo Audit for now
We're going to have to upgrade Actix to fix this bug and that is
a pile of technical debt we can't really address right now. | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -44,7 +44,7 @@ matrix:\n- cargo fmt --all -- --check\n# to stop opt level 3 from sneaking in\n- 'grep -q ''opt-level = \"z\"'' Cargo.toml'\n- - \"cargo install cargo-audit --force && cargo audit\"\n+ #- \"ca... | Rust | Apache License 2.0 | althea-net/althea_rs | Mute cargo Audit for now
We're going to have to upgrade Actix to fix this bug and that is
a pile of technical debt we can't really address right now. |
20,244 | 24.07.2019 13:14:19 | 14,400 | f19d6f0b17088087476e75445e99579340bb2427 | Bump up pay threshold in tests to prevent race condition
It's possible that we mesure debts in between an attempt to pay
and the resulting failure of that attempt. | [
{
"change_type": "MODIFY",
"old_path": "settings/default.toml",
"new_path": "settings/default.toml",
"diff": "[payment]\n-pay_threshold = \"0\"\n+pay_threshold = \"10000000000000\"\nclose_threshold = \"-10000000000000\"\nclose_fraction = \"100\"\nbuffer_period = 3\n"
},
{
"change_type": "MOD... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump up pay threshold in tests to prevent race condition
It's possible that we mesure debts in between an attempt to pay
and the resulting failure of that attempt. |
20,244 | 24.07.2019 15:49:40 | 14,400 | 1b5d162606b38655c1aadf0095c98e779f3bdafe | Bump for Beta 7 RC2 | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -168,9 +168,9 @@ dependencies = [\n[[package]]\nname = \"althea_rs\"\n-version = \"0.1.10\"\n+version = \"0.1.11\"\ndependencies = [\n- \"rita 0.5.6\",\n+ \"rita 0.5.7\",\n]\n[[package]]\n@@ -1969,7 +1969,7 @@... | Rust | Apache License 2.0 | althea-net/althea_rs | Bump for Beta 7 RC2 |
20,244 | 21.05.2019 19:00:22 | 14,400 | 5c9dc0759417120808ed80bc7fee311f28f85251 | WIP: Eth to xdai autoconversion | [
{
"change_type": "MODIFY",
"old_path": "Cargo.toml",
"new_path": "Cargo.toml",
"diff": "@@ -20,3 +20,4 @@ codegen-units = 1\nincremental = false\n[patch.crates-io]\n+clarity = {git = \"https://github.com/althea-mesh/clarity/\"}\n"
},
{
"change_type": "MODIFY",
"old_path": "rita/Cargo.tom... | Rust | Apache License 2.0 | althea-net/althea_rs | WIP: Eth to xdai autoconversion |
20,248 | 26.05.2019 15:30:57 | 25,200 | 411c1af857c382574cb4307fdf999cfb6a790403 | WIP worked out system in english | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "//! For the withdraw process we create a withdraw request object which does a best effort sheparding of the\n//! requested withdraw amount back to Eth a... | Rust | Apache License 2.0 | althea-net/althea_rs | WIP worked out system in english |
20,248 | 26.05.2019 22:03:40 | 25,200 | aeed8896e5e974b7f70f902658f0d798962e68a2 | WIP compiles but no retry | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "@@ -83,6 +83,7 @@ fn is_timed_out(started: Instant) -> bool {\n// }\n/// Represents a withdraw in progress\n+#[derive(Clone)]\npub enum State {\nDeposit... | Rust | Apache License 2.0 | althea-net/althea_rs | WIP compiles but no retry |
20,248 | 28.05.2019 17:41:20 | 25,200 | a1f1d3ee6fd857528696f4d2a173f941a8f74fc0 | Complete, compiles, but needs code review | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "//!\n//! It is implemented as a state machine:\n//!\n-//! DefaultState:\n+//! State::Deposit:\n//! TickEvent:\n-//! If there is an `eth_balance` that is... | Rust | Apache License 2.0 | althea-net/althea_rs | Complete, compiles, but needs code review |
20,244 | 17.06.2019 07:23:34 | 14,400 | 4b0057068f90dfe2591644279cec87e78ac7d5ee | WIP: Integrate exchanging | [
{
"change_type": "MODIFY",
"old_path": "Cargo.lock",
"new_path": "Cargo.lock",
"diff": "@@ -180,7 +180,7 @@ dependencies = [\n\"actix 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)\",\n\"base64 0.10.1 (regis... | Rust | Apache License 2.0 | althea-net/althea_rs | WIP: Integrate exchanging |
20,248 | 29.06.2019 15:13:53 | 25,200 | d0f99386ef233ecd3edadf8d8e6298550192e489 | update state machine definition | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "//!\n//!\n//! TickEvent:\n-//! State::Deposit:\n+//! State::Ready:\n//! If there is a Dai balance, send it thru the bridge into xdai (this rescues stuck... | Rust | Apache License 2.0 | althea-net/althea_rs | update state machine definition |
20,248 | 01.07.2019 12:18:18 | 25,200 | 1d5e154a86cb4b6a7340881d82839d66ab8be37f | work on new state machine | [
{
"change_type": "MODIFY",
"old_path": "rita/src/rita_common/token_bridge/mod.rs",
"new_path": "rita/src/rita_common/token_bridge/mod.rs",
"diff": "//! subtract the `reserve` amount and send it through uniswap into DAI. Change to State::Depositing.\n//!\n//! State::Depositing:\n-//! If there is a Da... | Rust | Apache License 2.0 | althea-net/althea_rs | work on new state machine |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.