소스 검색

Make track changes api a first class citizen

James Allen 12 년 전
부모
커밋
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"
 	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()

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