Make track changes api a first class citizen

This commit is contained in:
James Allen 2014-03-05 13:39:21 +00:00
parent 26cd9c78be
commit 66ab033ebe
2 changed files with 9 additions and 6 deletions

View file

@ -18,12 +18,10 @@ SERVICES = [{
}, { }, {
name: "filestore" name: "filestore"
repo: "https://github.com/sharelatex/filestore-sharelatex.git" repo: "https://github.com/sharelatex/filestore-sharelatex.git"
}] }, {
TRACK_CHANGES =
name: "track-changes" name: "track-changes"
repo: "https://github.com/sharelatex/track-changes-sharelatex.git" repo: "https://github.com/sharelatex/track-changes-sharelatex.git"
}]
module.exports = (grunt) -> module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-bunyan' grunt.loadNpmTasks 'grunt-bunyan'
@ -32,7 +30,7 @@ module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-concurrent' grunt.loadNpmTasks 'grunt-concurrent'
execute = {} execute = {}
for service in SERVICES.concat([TRACK_CHANGES]) for service in SERVICES
execute[service.name] = execute[service.name] =
src: "#{service.name}/app.js" src: "#{service.name}/app.js"
@ -70,7 +68,7 @@ module.exports = (grunt) ->
"Config tasks": ["install:config"] "Config tasks": ["install:config"]
"Checks": ["check", "check:redis", "check:latexmk", "check:s3", "check:make"] "Checks": ["check", "check:redis", "check:latexmk", "check:s3", "check:make"]
for service in SERVICES.concat([TRACK_CHANGES]) for service in SERVICES
do (service) -> do (service) ->
grunt.registerTask "install:#{service.name}", "Download and set up the #{service.name} service", () -> grunt.registerTask "install:#{service.name}", "Download and set up the #{service.name} service", () ->
done = @async() done = @async()

View file

@ -99,6 +99,11 @@ documents.
An API for performing CRUD (Create, Read, Update and Delete) operations on binary files An API for performing CRUD (Create, Read, Update and Delete) operations on binary files
(like images) stored in ShareLaTeX. (like images) stored in ShareLaTeX.
### [track-changes](https://github.com/sharelatex/track-changes-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/track-changes-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/track-changes-sharelatex)
An API for compressing and storing the updates applied to a document, and then rendering a diff of the changes
between any two time points. *Still in development and not hooked into the UI yet*.
Contributing Contributing
------------ ------------