From 66ab033ebecd2861c74f78e1a4904366425b704b Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 5 Mar 2014 13:39:21 +0000 Subject: [PATCH] Make track changes api a first class citizen --- server-ce/Gruntfile.coffee | 10 ++++------ server-ce/README.md | 5 +++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/server-ce/Gruntfile.coffee b/server-ce/Gruntfile.coffee index 1138879520..3868f235fc 100644 --- a/server-ce/Gruntfile.coffee +++ b/server-ce/Gruntfile.coffee @@ -18,12 +18,10 @@ SERVICES = [{ }, { name: "filestore" repo: "https://github.com/sharelatex/filestore-sharelatex.git" -}] - -TRACK_CHANGES = +}, { name: "track-changes" repo: "https://github.com/sharelatex/track-changes-sharelatex.git" - +}] module.exports = (grunt) -> grunt.loadNpmTasks 'grunt-bunyan' @@ -32,7 +30,7 @@ module.exports = (grunt) -> grunt.loadNpmTasks 'grunt-concurrent' execute = {} - for service in SERVICES.concat([TRACK_CHANGES]) + for service in SERVICES execute[service.name] = src: "#{service.name}/app.js" @@ -70,7 +68,7 @@ module.exports = (grunt) -> "Config tasks": ["install:config"] "Checks": ["check", "check:redis", "check:latexmk", "check:s3", "check:make"] - for service in SERVICES.concat([TRACK_CHANGES]) + for service in SERVICES do (service) -> grunt.registerTask "install:#{service.name}", "Download and set up the #{service.name} service", () -> done = @async() diff --git a/server-ce/README.md b/server-ce/README.md index e550a8eeb8..470424714d 100644 --- a/server-ce/README.md +++ b/server-ce/README.md @@ -99,6 +99,11 @@ documents. An API for performing CRUD (Create, Read, Update and Delete) operations on binary files (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 ------------