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;
c25b985feat: issue, list, revoke and authenticate tokens8d
18pub mod token;
0d12f7dfeat: config from env and SQLite pool in app context1mo
19
dce0bf3feat: browse a repository's files and history8d
20pub use browse::{Browsed, FileView, LOG_LIMIT, MAX_BLOB_BYTES, browse_repo, repo_log};
c1a35b0feat: claim the instance on first run instead of bootstrapping from config1mo
21pub use claim::{OwnerSpec, claim_instance, is_claimed};
0d12f7dfeat: config from env and SQLite pool in app context1mo
22pub use config::AppConfig;
0e162fdfeat: bootstrap_owner and login use cases1mo
23pub use error::{Error, Result};
8ac00bdfeat: decide who may reach the git protocol8d
24pub use git::{GitClientHeaders, GitEndpoint, GitOperation, GitService, serve_git};
40ab5c7feat: /api/me and a shared identity read model1mo
25pub use identity::{Identity, describe_identity};
0e162fdfeat: bootstrap_owner and login use cases1mo
26pub use login::login;
c50d9adfeat: profile settings with flash feedback25d
27pub use profile::{PublicProfile, update_profile, view_profile};
0c5ca49feat: list repositories on the profile8d
28pub use repo::{NewRepo, RepoSummary, RepoView, create_repo, list_repos, view_repo};
54a0eaffeat: session storage and actor resolution1mo
29pub use session::{SESSION_LIFETIME, end_session, record_session, resolve_actor, sweep_expired};
c25b985feat: issue, list, revoke and authenticate tokens8d
30pub use token::{
31 IssuedToken, TokenSummary, authenticate_token, issue_token, list_tokens, revoke_token,
32};