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
b7a57dbfeat: a repository can be taken away as a file17h
6pub mod archive;
11e7a39feat: create_repo use case24d
7pub(crate) mod authz;
dce0bf3feat: browse a repository's files and history8d
8pub mod browse;
c1a35b0feat: claim the instance on first run instead of bootstrapping from config1mo
9pub mod claim;
0d12f7dfeat: config from env and SQLite pool in app context1mo
10pub mod config;
0e162fdfeat: bootstrap_owner and login use cases1mo
11pub mod error;
8ac00bdfeat: decide who may reach the git protocol8d
12pub mod git;
40ab5c7feat: /api/me and a shared identity read model1mo
13pub mod identity;
0e162fdfeat: bootstrap_owner and login use cases1mo
14pub mod login;
26d9828feat: password hashing behind a port1mo
15pub mod port;
a69e380feat: public profile page at /{handle}1mo
16pub mod profile;
11e7a39feat: create_repo use case24d
17pub mod repo;
54a0eaffeat: session storage and actor resolution1mo
18pub mod session;
dd5b600feat: the facts a repository page states about itself17h
19pub mod summary;
c25b985feat: issue, list, revoke and authenticate tokens8d
20pub mod token;
0d12f7dfeat: config from env and SQLite pool in app context1mo
21
b7a57dbfeat: a repository can be taken away as a file17h
22pub use archive::{ArchiveTarget, archive_repo, open_archive};
4ef3945feat: repository settings, README rendering, branch switcher, raw files7d
23pub use browse::{
7ba8b8efeat: the branches and tags a page shows, and what it says when there are none17h
24 Browsed, FileView, LOG_LIMIT, MAX_BLOB_BYTES, MAX_RAW_BYTES, RawFile, RefList, RefPage,
25 browse_repo, list_branches, list_refs, list_tags, read_raw_file, repo_log,
4ef3945feat: repository settings, README rendering, branch switcher, raw files7d
26};
8ed4e5afeat: the root is the owner's profile1d
27pub use claim::{OwnerSpec, claim_instance, is_claimed, sole_owner_handle};
3dd7293feat: ship Steid as an installable binary8d
28pub use config::{AppConfig, Secret};
0e162fdfeat: bootstrap_owner and login use cases1mo
29pub use error::{Error, Result};
8ac00bdfeat: decide who may reach the git protocol8d
30pub use git::{GitClientHeaders, GitEndpoint, GitOperation, GitService, serve_git};
40ab5c7feat: /api/me and a shared identity read model1mo
31pub use identity::{Identity, describe_identity};
0e162fdfeat: bootstrap_owner and login use cases1mo
32pub use login::login;
c50d9adfeat: profile settings with flash feedback25d
33pub use profile::{PublicProfile, update_profile, view_profile};
4ef3945feat: repository settings, README rendering, branch switcher, raw files7d
34pub use repo::{
35 NewRepo, RepoEdit, RepoSummary, RepoView, create_repo, delete_repo, list_repos, update_repo,
36 view_repo,
37};
54a0eaffeat: session storage and actor resolution1mo
38pub use session::{SESSION_LIFETIME, end_session, record_session, resolve_actor, sweep_expired};
dd5b600feat: the facts a repository page states about itself17h
39pub use summary::{Licence, RepoFacts, repo_summary};
c25b985feat: issue, list, revoke and authenticate tokens8d
40pub use token::{
41 IssuedToken, TokenSummary, authenticate_token, issue_token, list_tokens, revoke_token,
42};