aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/store.rs
Commit message (Collapse)AuthorAgeFilesLines
* api: /admin/changes read ops, not diffstv30 hours1-0/+86
| | | | | | | | | | | | The new store::changed_by reads each change's own operations instead of diffing the document before and after it. Each object's path is found once per change, as it was right after that change. So the cost now grows with the size of the change, not the size of the map it touched. - It names paths the same way the diff did: a map entry by its key, and list and text edits by the list or text. - It relies on import_obj, which Automerge marks as hidden from its docs, to turn an operation's object ID back into an object.
* api: drop $float as JSON number is OKtv30 hours1-16/+37
|
* api: add type caststv30 hours1-0/+31
|
* api: types are stickytv30 hours1-33/+216
|
* api: add application/vnd.continuum.typed+jsontv31 hours1-130/+82
|
* api: add application/vnd.continuum.* scalar typestv31 hours1-45/+155
|
* document: create new compound values at oncetv43 hours1-11/+29
| | | | | This speeds up large writes as new maps and lists are created in one batch operation instead of one operation per value.
* document: introduce patch logtv43 hours1-1/+6
|
* api: add support for counterstv43 hours1-0/+57
|
* api: allow reading past versionstv43 hours1-0/+3
|
* api: PUT changes only what differstv43 hours1-23/+148
|
* document: reject writes during rejointv2 days1-0/+4
|
* use Automerge as Document instead of AutoCommittv3 days1-5/+5
| | | | This allows a lot of operations to drop mut.
* store function accept any documenttv3 days1-42/+50
|
* tests write through document::testing helperstv3 days1-16/+54
|
* one function for changed pathstv3 days1-0/+61
|
* move ChangeSet from swarm to documenttv4 days1-0/+11
|
* store reads go through resolve_loggedtv4 days1-21/+25
|
* consistently use resolve_throughtv4 days1-15/+7
|
* unify path deleterstv4 days1-50/+30
|
* unify path walkerstv4 days1-32/+7
|
* api: support list indexes in pathtv4 days1-39/+294
|
* add support to insert values at list indextv4 days1-0/+77
|
* api: add support for shallow store readstv4 days1-0/+72
|
* make clippy happy againtv8 days1-8/+8
|
* turn all pub into pub(crate)tv8 days1-17/+24
|
* add votes registertv10 days1-0/+23
|
* add store::copy_path_to(src, from, dst, to)tv14 days1-4/+14
|
* reorganize all the modulestv14 days1-0/+696