gristlabs_grist-core/app
Paul Fitzpatrick 87f2fd15fb (core) add more detail to /compare endpoint
Summary:
 * Extends `/api/docs/docId1/compare/docId2` endpoint with a `detail=1` option to include details of what changed in the document content.
 * Adds an `/api/docs/docId/compare?left=HASH&right=HASH` endpoint for comparing two versions of a single document. This is needed to implement the extension to `/api/docs/docId1/compare/docId2`.
 * Adds a `HashUtil` class to allow hash aliases like `HEAD` and `HEAD~`.

Everything is a bit crude:
 * Changes are expressed as ActionSummary objects, which aren't fully fleshed out.
 * Extra data about formula columns is inserted in an inflexible way.

This is extracted and cleaned up from https://phab.getgrist.com/D2600.

Test Plan: added tests

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2614
2020-09-18 16:31:29 -04:00
..
client (core) Show a welcome card when a user opens an example for the first time. 2020-09-09 23:08:50 -04:00
common (core) add more detail to /compare endpoint 2020-09-18 16:31:29 -04:00
gen-server (core) Show a welcome card when a user opens an example for the first time. 2020-09-09 23:08:50 -04:00
plugin (core) Improve object serialization, to help get RECORD data to Custom Widgets. 2020-08-21 18:33:28 -04:00
server (core) add more detail to /compare endpoint 2020-09-18 16:31:29 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00