halkyon_base depends on halkyon_oidc_server, and its forwarding page is now the module's (`addOidcCallbackForwarding`) with Halkyon's table of apps and its page in English or German; its tests keep what is Halkyon's own, the rest is tested in the module. Every host now includes the module: migrations `…-oidc-module` in halkyon_base, Learn and Todo create its two tables (no data touched) and record its version; Learn's devices get them empty, as they have halkyon_base's server-only tables. halkyon_base_client depends on halkyon_oidc_client, whose models its generated code uses, and Learn's server image copies both packages into its narrowed workspace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
42 lines
1.4 KiB
YAML
42 lines
1.4 KiB
YAML
name: halkyon_base_server
|
|
description: >-
|
|
What every Halkyon server has, as a Serverpod module: signing in
|
|
(anonymous, a password with TOTP, a code by mail, GitHub), getting back
|
|
into an account, the account's ways in and its deletion, the pruning of
|
|
what nobody can return to, and the instance's basics.
|
|
version: 0.1.0
|
|
publish_to: none
|
|
|
|
environment:
|
|
sdk: ^3.13.0
|
|
|
|
resolution: workspace
|
|
|
|
dependencies:
|
|
clock: ^1.1.3
|
|
crypto: ^3.0.7
|
|
# Pure Dart XChaCha20-Poly1305, which keeps TOTP secrets under the
|
|
# instance's key, and Ed25519, which checks a recovery phrase's proof (ADR
|
|
# 0017): what a server needs of both, without libsodium. Pinned exactly, as
|
|
# what keeps secrets must never move by accident.
|
|
cryptography: 2.9.0
|
|
# Signing in with SimpleLogin (ADR 0020), on the OpenID Connect module
|
|
# (ADR 0023).
|
|
halkyon_oidc_server:
|
|
path: ../halkyon_oidc_server
|
|
# Reads the pages profile links point to, for their rel="me" back-links.
|
|
html: ^0.15.6
|
|
# Asks the instance's register, and tells its members (ADR 0016).
|
|
http: ^1.6.0
|
|
# Mails email sign-in's codes over SMTP (Halkyon Learn's ADR 0010).
|
|
mailer: ^7.2.0
|
|
meta: ^1.16.0
|
|
serverpod: 4.0.4
|
|
serverpod_auth_idp_server: 4.0.4
|
|
|
|
dev_dependencies:
|
|
# SRP's client half, to hold the register's half to it (test/unit/srp/).
|
|
halkyon_base_client:
|
|
path: ../halkyon_base_client
|
|
serverpod_test: 4.0.4
|
|
test: ^1.25.5
|