mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-05-01 00:31:09 +00:00
chore(*): remove or update obsolete TODOs
This commit is contained in:
parent
ff7fd9e4b2
commit
b8921a5485
6 changed files with 5 additions and 7 deletions
|
@ -89,7 +89,6 @@ impl UserIdentityDesc {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: JWS or alike?
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||||
#[serde(tag = "typ", rename = "user_act_key")]
|
#[serde(tag = "typ", rename = "user_act_key")]
|
||||||
pub struct UserActKeyDesc {
|
pub struct UserActKeyDesc {
|
||||||
|
|
|
@ -12,7 +12,7 @@ anyhow = "1"
|
||||||
axum = { version = "0.7", features = ["ws"] }
|
axum = { version = "0.7", features = ["ws"] }
|
||||||
axum-extra = "0.9"
|
axum-extra = "0.9"
|
||||||
clap = { version = "4", features = ["derive"] }
|
clap = { version = "4", features = ["derive"] }
|
||||||
data-encoding = "2" # TODO: Also use it for hex?
|
data-encoding = "2"
|
||||||
ed25519-dalek = "2"
|
ed25519-dalek = "2"
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
hex = { version = "0.4", features = ["serde"] }
|
hex = { version = "0.4", features = ["serde"] }
|
||||||
|
|
|
@ -24,7 +24,8 @@ address = "localhost:8080"
|
||||||
|
|
||||||
# Use systemd socket activation mechanism to get listener fd from envvars.
|
# Use systemd socket activation mechanism to get listener fd from envvars.
|
||||||
# See also sd_listen_fds(3) and systemd.socket(5).
|
# See also sd_listen_fds(3) and systemd.socket(5).
|
||||||
# NB. Currently only TCP sockets are supported. UNIX domain socket is TODO.
|
# NB. Currently only TCP sockets are supported. UNIX domain socket support is
|
||||||
|
# blocked by axum 0.5, see https://github.com/tokio-rs/axum/pull/2941
|
||||||
#systemd = true
|
#systemd = true
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
|
|
|
@ -176,7 +176,6 @@ impl fmt::Display for AtomFeed {
|
||||||
r#" <link rel="next" type="application/atom+xml" href="{esc_next_url}"/>"#
|
r#" <link rel="next" type="application/atom+xml" href="{esc_next_url}"/>"#
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
// TODO: HTML links.
|
|
||||||
|
|
||||||
for msg in msgs {
|
for msg in msgs {
|
||||||
let content = &msg.msg.signee.payload.rich_text;
|
let content = &msg.msg.signee.payload.rich_text;
|
||||||
|
|
|
@ -417,7 +417,7 @@ fn server() -> Server {
|
||||||
server_with(db, &CONFIG)
|
server_with(db, &CONFIG)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Testing config is hard to build because it does have a `Default` impl.
|
// TODO: Testing config is hard to build because it lacks a `Default` impl.
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
fn server_with(db: Database, config: &dyn Fn(u16) -> String) -> Server {
|
fn server_with(db: Database, config: &dyn Fn(u16) -> String) -> Server {
|
||||||
// Use std's to avoid async, since we need no name resolution.
|
// Use std's to avoid async, since we need no name resolution.
|
||||||
|
@ -1215,7 +1215,6 @@ async fn register_flow(server: Server) {
|
||||||
req.server_url = BASE_URL.parse().unwrap();
|
req.server_url = BASE_URL.parse().unwrap();
|
||||||
|
|
||||||
// Trailing dot in id_url.
|
// Trailing dot in id_url.
|
||||||
// TODO: Rule this out in `IdUrl` parser?
|
|
||||||
register_fast(&req)
|
register_fast(&req)
|
||||||
.await
|
.await
|
||||||
.expect_api_err(StatusCode::FORBIDDEN, "disabled");
|
.expect_api_err(StatusCode::FORBIDDEN, "disabled");
|
||||||
|
|
|
@ -31,7 +31,7 @@ let
|
||||||
settingsType = types.submodule {
|
settingsType = types.submodule {
|
||||||
freeformType = toml.type;
|
freeformType = toml.type;
|
||||||
|
|
||||||
# TODO: Auto-generate these options? Now only required options are documented.
|
# TODO: Auto-generate these options?
|
||||||
options = { };
|
options = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue