Skip to main content

Module scout

Module scout 

Source
Expand description

What a server offers for one address (docs/client.md, “Accounts”): mail (the provider’s own settings, as discover finds them), calendars and contacts (DAV, at the domain’s well-known addresses or on the server already known), and, on a Nextcloud (Murena’s among them), its apps: files, notes, Talk, Deck… what Sioul takes, and what it does not yet. Asked without a password, except a Nextcloud’s list of apps, which needs the one its calendars use.

Structs§

Nextcloud
A Nextcloud’s name and version, and the apps it says it has (when it was asked with a password).
Scouted
What was found.

Functions§

agent 🔒
dav_at 🔒
Whether https://<host>/.well-known/caldav answers as a DAV server would: a redirection, or asking who you are.
known_app
What a Nextcloud app is, as the window says it, and whether Sioul takes it: (“files”, false) is Files, which Sioul does not use yet.
nextcloud_apps 🔒
A Nextcloud’s capabilities, asked with a login and password: the apps it has.
nextcloud_at 🔒
A Nextcloud’s status.php: its product’s name and version.
scout
What the server of address offers: its mail’s settings, a DAV server (dav_host when one is known already, else the domain’s), and a Nextcloud’s apps when login gives the password of the calendars at dav_host: it goes to that server only, never to another one found.