Brian Gough
|
910b27357d
|
add more logging to resync operations
|
2018-08-16 11:14:11 +01:00 |
|
Hayden Faulds
|
1b63141e49
|
Revert "Revert "Add projectHistoryId to updates""
|
2018-04-23 12:08:04 +01:00 |
|
Hayden Faulds
|
3cc20d6311
|
Revert "Add projectHistoryId to updates"
|
2018-04-23 11:41:29 +01:00 |
|
Hayden Faulds
|
25c0be4eaa
|
add projectHistryId to project structure updates
|
2018-04-13 15:22:05 +01:00 |
|
Hayden Faulds
|
a220794d32
|
add projectHistoryId to resync updates
|
2018-04-13 15:22:05 +01:00 |
|
Hayden Faulds
|
fb1852a593
|
cache projectHistoryId with doc in Redis
|
2018-04-13 15:22:05 +01:00 |
|
Hayden Faulds
|
4a5731440a
|
Merge pull request #21 from sharelatex/hof-history-sync
resync project history endpoint
|
2018-03-14 10:40:59 +00:00 |
|
Hayden Faulds
|
1226f96fc3
|
extract ProjectHistoryRedisManager
|
2018-03-09 15:36:38 +00:00 |
|
Hayden Faulds
|
088ab6e7ba
|
rename queueResyncDocContents -> queueResyncDocContent
|
2018-03-09 12:21:37 +00:00 |
|
Hayden Faulds
|
d46217be52
|
queue doc content sync updates
|
2018-03-02 15:02:27 +00:00 |
|
James Allen
|
939eaa2d4b
|
Don't allow a document to be loaded without a pathname
|
2018-03-02 10:02:49 +00:00 |
|
Hayden Faulds
|
0f87ae1f74
|
simplify comments
|
2018-02-22 10:16:29 +00:00 |
|
Hayden Faulds
|
ea0dd9700b
|
reduce the number of times we flush project history
|
2018-02-22 10:01:05 +00:00 |
|
Hayden Faulds
|
944e633bac
|
add acceptance test for entity renaming
|
2017-11-08 09:20:38 +00:00 |
|
Hayden Faulds
|
6d571e6d23
|
version document renames
|
2017-11-08 09:20:37 +00:00 |
|
Hayden Faulds
|
962520fca8
|
flush track-changes and project-history in HistoryManager
|
2017-10-23 15:32:25 +01:00 |
|
Hayden Faulds
|
d003aef31c
|
conditionally enqueue history updates for project
|
2017-10-23 15:32:25 +01:00 |
|
Hayden Faulds
|
81f998afe9
|
return pathname from DocumentManager.getDoc
|
2017-10-23 14:23:21 +01:00 |
|
Hayden Faulds
|
748315aadc
|
handle pathname in DocumentManager.getDoc
|
2017-10-23 14:23:21 +01:00 |
|
Brian Gough
|
8d3f82360c
|
update DocumentManager.getDoc signature
keep alreadyLoaded flag at the end for consistency
|
2017-10-11 14:25:33 +01:00 |
|
Brian Gough
|
2bbbf3c005
|
add unflushed time to doc in redis
|
2017-10-06 12:34:28 +01:00 |
|
Brian Gough
|
b15d2ef796
|
Revert "fail safely if doc cannot be loaded"
|
2017-05-15 16:18:40 +01:00 |
|
Paulo Jorge Reis
|
2c3f0aa6b4
|
Merge pull request #34 from sharelatex/pr-bulk-actions
Add methods to bulk accept changes.
|
2017-05-15 15:14:33 +01:00 |
|
Paulo Reis
|
05d7d1b8c6
|
Merge branch 'master' into pr-bulk-actions
|
2017-05-15 10:35:16 +01:00 |
|
Brian Gough
|
2ee40d0748
|
ensure document is in redis before consuming ops
|
2017-05-12 14:22:18 +01:00 |
|
Paulo Reis
|
9b8a2c3030
|
Consolidate methods to accept changes.
|
2017-05-05 15:12:06 +01:00 |
|
Paulo Reis
|
d530ee9501
|
Add methods to bulk accept changes.
|
2017-05-04 15:32:54 +01:00 |
|
James Allen
|
ed493d8ad3
|
Rename web -> realtime for consistency with realtime
|
2017-05-02 15:38:33 +01:00 |
|
James Allen
|
0245bfd031
|
Support an incoming undo flag for history restores
|
2017-03-21 11:20:38 +00:00 |
|
James Allen
|
8725aeab03
|
Allow deleting of comment ranges
|
2017-01-24 15:57:11 +01:00 |
|
James Allen
|
be19532a1d
|
Add HTTP end point for accepting changes
|
2017-01-09 14:41:18 +01:00 |
|
James Allen
|
e3fee1a1d1
|
Rename 'track changes entries' -> 'ranges'
|
2016-12-08 12:31:43 +00:00 |
|
James Allen
|
418405e8b9
|
Return track changes entries in HTTP request
|
2016-12-02 11:37:27 +00:00 |
|
James Allen
|
4fadd75ef3
|
Track changes based on flag on op, not global setting
|
2016-12-02 11:04:21 +00:00 |
|
James Allen
|
e739e86c48
|
Get basic ChangeTracker hooked up. WIP
|
2016-11-28 10:14:42 +00:00 |
|
James Allen
|
2d82d56f93
|
Process updates one at a time and write into redis after each one
|
2016-09-09 11:01:14 +01:00 |
|
James Allen
|
c85fd7ef41
|
Merge branch 'master' into ja-consistency-refactor
|
2016-09-07 11:08:04 +01:00 |
|
Brian Gough
|
9bc7594226
|
clean up redis query
|
2016-09-05 10:31:54 +01:00 |
|
James Allen
|
8779f3f686
|
Only write DocOps atomically with version and lines, after all docs are applied
|
2016-08-23 16:00:46 +01:00 |
|
James Allen
|
af5d01e440
|
Flush track changes when unloading data from redis
|
2016-01-20 15:05:31 +00:00 |
|
James Allen
|
184c9031cd
|
Delete doc from redis after a full set if it wasn't in redis before
|
2016-01-20 14:31:25 +00:00 |
|
Brian Gough
|
e8f09f3357
|
added comment about flushing to track changes
|
2015-12-01 16:03:05 +00:00 |
|
Brian Gough
|
6e97521971
|
Revert "Merge pull request #4 from sharelatex/flush-ops-from-redis"
This reverts commit 84a9ad8b67b860a92271cf7bb669cf21cc0b5b86, reversing
changes made to a6d4649f4f2db06862e8cbc5e132a073ce8c20b2.
|
2015-12-01 15:58:40 +00:00 |
|
Brian Gough
|
13e22e1802
|
Revert "only flush to track-changes when ops are queued"
This reverts commit 0baa8f989481ca263fa71e90af21f13b29c29504.
|
2015-12-01 15:48:49 +00:00 |
|
Brian Gough
|
7a9577e081
|
only flush to track-changes when ops are queued
|
2015-11-30 15:17:11 +00:00 |
|
Brian
|
60db8bf5de
|
flush ops when document is flushed
|
2015-05-28 14:48:44 +01:00 |
|
James Allen
|
8973969224
|
Merge branch 'master' into remove_mongo_doc_ops
Conflicts:
app/coffee/DocOpsManager.coffee
test/acceptance/coffee/ApplyingUpdatesToADocTests.coffee
test/acceptance/coffee/FlushingDocsTests.coffee
test/unit/coffee/DocOpsManager/DocOpsManagerTests.coffee
test/unit/coffee/RedisManager/prependDocOpsTests.coffee
test/unit/coffee/RedisManager/pushDocOpTests.coffee
|
2014-05-14 12:39:40 +01:00 |
|
James Allen
|
4f878e000b
|
Allow source and user_id to be included when setting a document
|
2014-03-11 12:47:26 +00:00 |
|
James Allen
|
3d70f9126e
|
Flush track changes api every 50 updates
|
2014-02-28 18:29:05 +00:00 |
|
James Allen
|
f3192da87f
|
Tell track changes api to flush doc when flushing doc to mongo
|
2014-02-26 15:56:52 +00:00 |
|