The engine samples live op state on a short cadence, scoring op-time per identity (account, else host) on the network view — a net +1 per pass while opped, -1 while idle, so trusted regulars rise and stale ops fade. ChanFix (operator-only) reads those scores: SCORES <#chan> shows the standings, CHANFIX <#chan> reops the present regulars scoring above a share of the top score, once the channel is opless enough and has real history. It defers to ChanServ — a registered channel is refused. Opt-in. C++ note: the original persists scores to the services DB and runs its own timers; here scoring rides the existing periodic loop and lives on the ephemeral network view, so it's node-local and rebuilds itself.
49 lines
1.7 KiB
TOML
49 lines
1.7 KiB
TOML
[workspace]
|
|
members = ["api", "inspircd", "chanserv", "nickserv", "example", "botserv", "memoserv", "statserv", "hostserv", "operserv", "diceserv", "infoserv", "reportserv", "groupserv", "chanfix"]
|
|
|
|
[package]
|
|
name = "fedserv"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
description = "Federated IRC services daemon (protocol-agnostic core, InspIRCd link first)"
|
|
|
|
[dependencies]
|
|
fedserv-api = { path = "api" }
|
|
fedserv-inspircd = { path = "inspircd" }
|
|
fedserv-chanserv = { path = "chanserv" }
|
|
fedserv-nickserv = { path = "nickserv" }
|
|
fedserv-example = { path = "example" }
|
|
fedserv-botserv = { path = "botserv" }
|
|
fedserv-memoserv = { path = "memoserv" }
|
|
fedserv-statserv = { path = "statserv" }
|
|
fedserv-hostserv = { path = "hostserv" }
|
|
fedserv-operserv = { path = "operserv" }
|
|
fedserv-diceserv = { path = "diceserv" }
|
|
fedserv-infoserv = { path = "infoserv" }
|
|
fedserv-reportserv = { path = "reportserv" }
|
|
fedserv-groupserv = { path = "groupserv" }
|
|
fedserv-chanfix = { path = "chanfix" }
|
|
tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macros", "time", "sync", "process"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
argon2 = { version = "0.5", features = ["std"] }
|
|
base64 = "0.22"
|
|
sha2 = "0.10"
|
|
hmac = "0.12"
|
|
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
|
|
subtle = "2"
|
|
regex = "1"
|
|
anyhow = "1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tokio-rustls = "0.26.4"
|
|
rustls-pemfile = "2.2.0"
|
|
tonic = { version = "0.12", features = ["tls"] }
|
|
axum = "0.7"
|
|
axum-server = { version = "0.7", features = ["tls-rustls"] }
|
|
prost = "0.13"
|
|
tokio-stream = "0.1"
|
|
|
|
[build-dependencies]
|
|
tonic-build = "0.12"
|