Merge pull request #610 from kinode-dao/release-candidate

Release candidate 0.9.10
This commit is contained in:
doria 2024-11-19 18:48:20 -05:00 committed by GitHub
commit 4464b78f1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 17 additions and 9 deletions

6
Cargo.lock generated
View File

@ -3652,7 +3652,7 @@ dependencies = [
[[package]]
name = "kinode"
version = "0.9.9"
version = "0.9.10"
dependencies = [
"aes-gcm",
"alloy 0.2.1",
@ -3710,7 +3710,7 @@ dependencies = [
[[package]]
name = "kinode_lib"
version = "0.9.9"
version = "0.9.10"
dependencies = [
"lib",
]
@ -3855,7 +3855,7 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67"
[[package]]
name = "lib"
version = "0.9.9"
version = "0.9.10"
dependencies = [
"alloy 0.2.1",
"anyhow",

View File

@ -1,7 +1,7 @@
[package]
name = "kinode_lib"
authors = ["KinodeDAO"]
version = "0.9.9"
version = "0.9.10"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"

View File

@ -1,7 +1,7 @@
[package]
name = "kinode"
authors = ["KinodeDAO"]
version = "0.9.9"
version = "0.9.10"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"

View File

@ -322,7 +322,7 @@ footer {
width: 100%;
height: 100%;
text-align: center;
background-color: light-dark(var(--off-black), var(--off-white));
background-color: rgb(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;

View File

@ -295,7 +295,7 @@ async fn serve(
.and(warp::filters::host::optional())
.and(warp::query::<HashMap<String, String>>())
.and(warp::body::content_length_limit(1024 * 16))
.and(warp::body::json())
.and(warp::body::bytes())
.and(warp::any().map(move || cloned_our.clone()))
.and(warp::any().map(move || encoded_keyfile.clone()))
.and_then(login_handler)),
@ -332,10 +332,18 @@ async fn serve(
async fn login_handler(
host: Option<warp::host::Authority>,
query_params: HashMap<String, String>,
info: LoginInfo,
body: warp::hyper::body::Bytes,
our: Arc<String>,
encoded_keyfile: Arc<Vec<u8>>,
) -> Result<impl warp::Reply, warp::Rejection> {
let Ok(info) = serde_json::from_slice::<LoginInfo>(&body) else {
return Ok(warp::reply::with_status(
warp::reply::json(&"Failed to parse login info"),
StatusCode::BAD_REQUEST,
)
.into_response());
};
#[cfg(feature = "simulation-mode")]
let info = LoginInfo {
password_hash: "secret".to_string(),

View File

@ -1,7 +1,7 @@
[package]
name = "lib"
authors = ["KinodeDAO"]
version = "0.9.9"
version = "0.9.10"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"