steid

@jamesgill /

0e162fdfeat: bootstrap_owner and login use cases1mo
1//! The application layer: use cases and the ports they depend on.
2//!
3//! Every use case takes an actor or a credential plus the ports it needs, and enforces
4//! the rules before any side effect. Nothing here knows about HTTP or Topcoat.
5
11e7a39feat: create_repo use case24d
6pub(crate) mod authz;
dce0bf3feat: browse a repository's files and history8d
7pub mod browse;
c1a35b0feat: claim the instance on first run instead of bootstrapping from config1mo
8pub mod claim;
0d12f7dfeat: config from env and SQLite pool in app context1mo
9pub mod config;
0e162fdfeat: bootstrap_owner and login use cases1mo
10pub mod error;
8ac00bdfeat: decide who may reach the git protocol8d
11pub mod git;
40ab5c7feat: /api/me and a shared identity read model1mo
12pub mod identity;
0e162fdfeat: bootstrap_owner and login use cases1mo
13pub mod login;
26d9828feat: password hashing behind a port1mo
14pub mod port;
a69e380feat: public profile page at /{handle}1mo
15pub mod profile;
11e7a39feat: create_repo use case24d
16pub mod repo;
54a0eaffeat: session storage and actor resolution1mo
17pub mod session;
dd5b600feat: the facts a repository page states about itself19h
18pub mod summary;
c25b985feat: issue, list, revoke and authenticate tokens8d
19pub mod token;
0d12f7dfeat: config from env and SQLite pool in app context1mo
20
4ef3945feat: repository settings, README rendering, branch switcher, raw files7d
21pub use browse::{
22 Browsed, FileView, LOG_LIMIT, MAX_BLOB_BYTES, MAX_RAW_BYTES, RawFile, RefList, browse_repo,
23 list_refs, read_raw_file, repo_log,
24};
8ed4e5afeat: the root is the owner's profile1d
25pub use claim::{OwnerSpec, claim_instance, is_claimed, sole_owner_handle};
3dd7293feat: ship Steid as an installable binary8d
26pub use config::{AppConfig, Secret};
0e162fdfeat: bootstrap_owner and login use cases1mo
27pub use error::{Error, Result};
8ac00bdfeat: decide who may reach the git protocol8d
28pub use git::{GitClientHeaders, GitEndpoint, GitOperation, GitService, serve_git};
40ab5c7feat: /api/me and a shared identity read model1mo
29pub use identity::{Identity, describe_identity};
0e162fdfeat: bootstrap_owner and login use cases1mo
30pub use login::login;
c50d9adfeat: profile settings with flash feedback25d
31pub use profile::{PublicProfile, update_profile, view_profile};
4ef3945feat: repository settings, README rendering, branch switcher, raw files7d
32pub use repo::{
33 NewRepo, RepoEdit, RepoSummary, RepoView, create_repo, delete_repo, list_repos, update_repo,
34 view_repo,
35};
54a0eaffeat: session storage and actor resolution1mo
36pub use session::{SESSION_LIFETIME, end_session, record_session, resolve_actor, sweep_expired};
dd5b600feat: the facts a repository page states about itself19h
37pub use summary::{Licence, RepoFacts, repo_summary};
c25b985feat: issue, list, revoke and authenticate tokens8d
38pub use token::{
39 IssuedToken, TokenSummary, authenticate_token, issue_token, list_tokens, revoke_token,
40};