James Allen
|
6aaa7ba8d5
Group toV and fromV by the doc they correspond to
|
12 anni fa |
James Allen
|
5595910122
Return a summary of the entire project changes
|
12 anni fa |
James Allen
|
b7de4c9c6c
Implement project update getter methods
|
12 anni fa |
James Allen
|
962fc18329
Store project_id alongside each change
|
12 anni fa |
James Allen
|
fec648666c
Add in project_id to flushing HTTP endpoint
|
12 anni fa |
James Allen
|
d32b0ee12f
Fetch updates up to the limit, even after summarising
|
12 anni fa |
James Allen
|
81811d7cc5
Move update summarizing logic into UpdatesManager
|
12 anni fa |
James Allen
|
22a806a200
Fix issues with consuming delete updates beyond the end of the diff
|
12 anni fa |
James Allen
|
540aaf0672
Add in some null checks
|
12 anni fa |
James Allen
|
9977a418c3
Compare diffs with user.id, not user_id
|
12 anni fa |
James Allen
|
575afae048
Compress adjacent inserts and deletes into one diff item
|
12 anni fa |
James Allen
|
7fa88f6b41
Summarise updates when returning them
|
12 anni fa |
James Allen
|
4ecb17b16e
Put multiple ops in one update
|
12 anni fa |
James Allen
|
064bdc3eea
Take user id in from request header and pass to doc updater
|
12 anni fa |
James Allen
|
3d1d962501
Don't try to fetch user when id doesn't exist
|
12 anni fa |
James Allen
|
83b2aa3082
add in restore end point
|
12 anni fa |
James Allen
|
7eb8699b93
Refactor diff manager
|
12 anni fa |
James Allen
|
866084ee6b
Pop last version, not last timestamp
|
12 anni fa |
James Allen
|
b45db3aa2b
Return user details like email and name in updates
|
12 anni fa |
James Allen
|
5fc139db00
Return version numbers of updates
|
12 anni fa |
James Allen
|
aadce232a1
Use version numbers for sorting and querying, not dates
|
12 anni fa |
James Allen
|
2e1307bd82
Doc is always one version ahead of latest op version
|
12 anni fa |
James Allen
|
3660253fd4
Add in /updates end point to get updates
|
12 anni fa |
James Allen
|
a46963a349
Refactor arguments to MongoManager.getUpdatesBetweenDates
|
12 anni fa |
James Allen
|
188d620ce1
Log out and put the last update back when an error occurs
|
12 anni fa |
James Allen
|
e4d8cc7a11
Add in acceptance tests for getting a diff
|
12 anni fa |
James Allen
|
8b71d222d4
Create DiffManager.getDiff
|
12 anni fa |
James Allen
|
1d1dcdfa2f
Add in methods for retrieving updates and doc version
|
12 anni fa |
James Allen
|
20d70859aa
Create buildDiff function
|
12 anni fa |
James Allen
|
8d044b7f13
Fix acceptance tests
|
12 anni fa |