aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/store.rs
Commit message (Collapse)AuthorAgeFilesLines
* access: values sealed for their readerstv6 days1-0/+11
| | | | | | | | | | cs1.<age file>: a value encrypted with age to its readers' SSH keys, which no node decrypts. _continuum/access/sealed declares paths whose values must be sealed, for named readers or anyone; nodes check the recipients by age's key tags, at the API and on receipt. Auth plan M8, reworked: sealed values instead of containers, readers as users only (nodes hold no keys).
* access: signed values judged on receipttv6 days1-1/+5
| | | | | | | | | Inspection gives each operation's kind; under strict every node refuses, at a signed place, anything but an envelope that checks and replaces the one there (deleting first as replacing does), anything within one, and above one anything replacing what holds one. Auth plan M7.
* api: signed values at the storetv6 days1-6/+267
| | | | | | | | | PUT with application/continuum-signed writes an envelope where values are signed (403/409 saying why); reads open envelopes and name the signer (x-continuum-signed-by), ?raw=true shows them. Under strict, unsigned writes reaching a signed value and the users API are 409. Auth plan M7.
* signatures: changes signed by their nodetv6 days1-5/+27
| | | | | | | | | | Every node signs the changes it commits with its node key, an Ed25519 signature over the change's hash, kept beside the document. One signature on an actor's latest change vouches for its earlier ones. Protocol data and paths listed in _continuum/access/signed are signed, and writes with ?signed=true. Auth plan M5.
* access: the users endpointstv6 days1-65/+1
| | | | | | | | /admin/users: list, add (one or several), remove, disable, grant and revoke capabilities; each one change, refused if it would lock its writer out. Capabilities as the store's paths name them. Auth plan M1.
* access: keeping the swarm manageabletv6 days1-18/+96
| | | | | | | | | A write that would leave its own writer unable to manage users (deleting, disabling or narrowing its entry, removing the registry) is refused; --protocol-writers can set a registry right that nobody may manage any more. Auth plan M1.
* access: authorization at the APItv6 days1-30/+109
| | | | | | | | | Every request is judged by the registry the node holds: store reads pruned to what the user may read, writes refused where it may not, admin endpoints by protocol capabilities. Without a registry, as before (--protocol-writers for protocol data). Auth plan M1.
* fixup 700, 701, 702tv11 days1-3/+3
|
* add stream heartbeattv11 days1-1/+21
|
* api: /stream & dashboard send X-Accel-Bufferingtv11 days1-0/+5
|
* api: drop $float as JSON number is OKtv12 days1-7/+8
|
* api: add type caststv12 days1-5/+45
|
* api: types are stickytv12 days1-43/+80
|
* api: add application/vnd.continuum.typed+jsontv12 days1-58/+68
|
* api: add application/vnd.continuum.* scalar typestv12 days1-77/+287
|
* api: add x-continuum-heads to writestv12 days1-20/+35
|
* api: add support for counterstv12 days1-2/+25
|
* api: allow reading past versionstv12 days1-8/+54
|
* record node ID and API user for every writetv12 days1-3/+9
|
* rename AutoMerge to Documenttv13 days1-1/+1
|
* api: unify media-type strippingtv14 days1-8/+4
|
* unify hex builderstv14 days1-7/+2
|
* api: unify error responsestv14 days1-28/+23
|
* api: unify store readstv14 days1-36/+22
|
* move store helpers to store moduletv14 days1-3/+93
|
* move ChangeSet from swarm to documenttv14 days1-2/+1
|
* unify path deleterstv14 days1-1/+1
|
* api: support list indexes in pathtv2026-10-301-22/+81
|
* add support to insert values at list indextv2026-10-301-15/+61
|
* api: add support for shallow store readstv2026-10-301-0/+37
|
* make clippy happy againtv2026-10-261-4/+4
|
* replace utoipa by static openapi.yamltv2026-10-261-70/+4
|
* add GET /stream endpointtv2026-10-261-2/+16
|
* only protocol-writers may modify _continuumtv2026-10-241-3/+9
|
* add heads to readstv2026-10-211-4/+28
| | | | | | | | | | GET /store?heads=true and GET /store/{key}?heads=true add the header x-continuum-heads (sorted, comma-separated hex). The heads come from the same moment as the read. - It's opt-in because reading the heads takes the write lock. Reads without the flag don't change. - Stale reads during a rejoin never carry heads.
* reorganize all the modulestv2026-10-211-2/+2
|
* serve stale reads during rejointv2026-10-201-12/+28
|
* cargo fmttv2026-10-191-1/+4
|
* initial committv2026-10-191-0/+359