NickServ: add UPDATE and LIST
All checks were successful
CI / check (push) Successful in 3m46s

UPDATE re-applies your auto-joins and vhost and re-checks for waiting
memos without re-identifying. LIST (auspex-gated) shows registered
accounts matching a glob, capped at 100. Adds an accounts_matching store
method.
This commit is contained in:
Jean Chevronnet 2026-07-15 18:24:52 +00:00
parent 959d085e7a
commit 21efbd32c1
No known key found for this signature in database
6 changed files with 91 additions and 0 deletions

View file

@ -851,6 +851,8 @@ pub trait Store {
fn account(&self, name: &str) -> Option<AccountView>;
// Canonical account name for a nick (following a grouping), if registered.
fn resolve_account(&self, name: &str) -> Option<&str>;
/// Registered accounts whose name matches `pattern` (a glob), for oper LIST.
fn accounts_matching(&self, pattern: &str) -> Vec<AccountView>;
// The canonical account name if the password is correct, else None.
fn authenticate(&self, name: &str, password: &str) -> Option<&str>;
fn grouped_nicks(&self, account: &str) -> Vec<String>;