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;
1b7587dfeat: finding a string in a repository, and landing on the line17h
18pub mod search;
54a0eaffeat: session storage and actor resolution1mo
19pub mod session;
dd5b600feat: the facts a repository page states about itself17h
20pub mod summary;
c25b985feat: issue, list, revoke and authenticate tokens8d
21pub mod token;
0d12f7dfeat: config from env and SQLite pool in app context1mo
22
b7a57dbfeat: a repository can be taken away as a file17h
23pub use archive::{ArchiveTarget, archive_repo, open_archive};
4ef3945feat: repository settings, README rendering, branch switcher, raw files7d
24pub use browse::{
7ba8b8efeat: the branches and tags a page shows, and what it says when there are none17h
25 Browsed, FileView, LOG_LIMIT, MAX_BLOB_BYTES, MAX_RAW_BYTES, RawFile, RefList, RefPage,
26 browse_repo, list_branches, list_refs, list_tags, read_raw_file, repo_log,
4ef3945feat: repository settings, README rendering, branch switcher, raw files7d
27};
8ed4e5afeat: the root is the owner's profile1d
28pub use claim::{OwnerSpec, claim_instance, is_claimed, sole_owner_handle};
3dd7293feat: ship Steid as an installable binary8d
29pub use config::{AppConfig, Secret};
0e162fdfeat: bootstrap_owner and login use cases1mo
30pub use error::{Error, Result};
8ac00bdfeat: decide who may reach the git protocol8d
31pub use git::{GitClientHeaders, GitEndpoint, GitOperation, GitService, serve_git};
40ab5c7feat: /api/me and a shared identity read model1mo
32pub use identity::{Identity, describe_identity};
0e162fdfeat: bootstrap_owner and login use cases1mo
33pub use login::login;
c50d9adfeat: profile settings with flash feedback24d
34pub use profile::{PublicProfile, update_profile, view_profile};
4ef3945feat: repository settings, README rendering, branch switcher, raw files7d
35pub use repo::{
36 NewRepo, RepoEdit, RepoSummary, RepoView, create_repo, delete_repo, list_repos, update_repo,
37 view_repo,
38};
1b7587dfeat: finding a string in a repository, and landing on the line17h
39pub use search::{MAX_QUERY_BYTES, SEARCH_LIMIT, SearchFile, SearchResults, Searched, search_repo};
54a0eaffeat: session storage and actor resolution1mo
40pub use session::{SESSION_LIFETIME, end_session, record_session, resolve_actor, sweep_expired};
dd5b600feat: the facts a repository page states about itself17h
41pub use summary::{Licence, RepoFacts, repo_summary};
c25b985feat: issue, list, revoke and authenticate tokens8d
42pub use token::{
43 IssuedToken, TokenSummary, authenticate_token, issue_token, list_tokens, revoke_token,
44};