Просмотр исходного кода

Make track changes api a first class citizen

James Allen 12 лет назад
Родитель
Сommit
66ab033ebe
2 измененных файлов с 9 добавлено и 6 удалено
  1. 4 6
      server-ce/Gruntfile.coffee
  2. 5 0
      server-ce/README.md

+ 4 - 6
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()

+ 5 - 0
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
 ------------