summaryrefslogtreecommitdiffstats
path: root/src/remake/api.rs
Commit message (Collapse)AuthorAgeFilesLines
* wrap unix timestamps in newtypetv2 days1-16/+17
|
* allow humand-friendly durations in APItv2 days1-7/+28
|
* remove /admin/compaction endpointtv2 days1-22/+3
|
* remove unit suffixes from fieldstv2 days1-27/+30
|
* unify API error responsestv2 days1-12/+1
|
* add clock moduletv3 days1-7/+8
| | | | | The Clock module is the system clock that every unix timestamp new goes through. It comes with an offset that only tests can set.
* bump abort margin & allow aborting active remaketv3 days1-38/+174
|
* add force module usable by API and CLItv3 days1-40/+7
|
* compact remake fixes base at the committv4 days1-17/+29
| | | | | | | Instead of fixing base heads at when proposed, compact fixes them when committing. This shrinks the window where writes can be lost if their author restarts to the switch delay; during replace and import remakes writes can still be lost during the voting period.
* allow superseding expired remakestv4 days1-23/+188
|
* add votes registertv4 days1-4/+25
|
* put remake content into blobstv4 days1-12/+16
|
* introduce majority voting on remakestv4 days1-42/+27
|
* allow import remake using the raw documenttv4 days1-6/+85
|
* add the import kind of remaketv4 days1-2/+8
|
* rename cluster to swarm everywhere!tv7 days1-2/+2
|
* make remake switch delay configurabletv7 days1-1/+33
|
* add the replace kind of remaketv7 days1-1/+11
| | | | | | | | | | | | | | POST /admin/remakes accepts specs with replace kind, e.g.: { "kind": "replace", "baseHeads": ["..."], "spec": { "document": { "accounts": { ... } }, "rules": [ { "from": "users", "to": "accounts" }, { "from": "users/admin", "drop": true }, { "from": "", "to": "" } ] } }
* allow choosing the base in remakestv7 days1-4/+53
| | | | | | | | | POST /admin/remakes accepts "baseHeads": ["<hex>", ...], for example the heads of an earlier GET /store?heads=true. Every head must be in the coordinating node's document, otherwise the request gets a 400. Without it, the base is the current heads. This works for any kind.
* turn compaction into a kind of remaketv8 days1-2/+55
|
* rename compaction to remaketv8 days1-0/+474