mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04:00
Merge branch 'master' into csh-stackdriver
This commit is contained in:
commit
68ee9a4ead
3 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ A web api for compiling LaTeX documents in the cloud
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/sharelatex/clsi-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/clsi-sharelatex)
|
[![Build Status](https://travis-ci.org/sharelatex/clsi-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/clsi-sharelatex)
|
||||||
|
|
||||||
The CLSI provide a RESTful interface to traditional LaTeX tools (or, more generally, any command line tool for composing marked-up documents into a display format such as PDF or HTML). The CLSI listens on the following ports by default:
|
The Common LaTeX Service Interface (CLSI) provides a RESTful interface to traditional LaTeX tools (or, more generally, any command line tool for composing marked-up documents into a display format such as PDF or HTML). The CLSI listens on the following ports by default:
|
||||||
|
|
||||||
* TCP/3009 - the RESTful interface
|
* TCP/3009 - the RESTful interface
|
||||||
* TCP/3048 - reports load information
|
* TCP/3048 - reports load information
|
||||||
|
|
|
@ -33,7 +33,7 @@ module.exports = CompileController =
|
||||||
else
|
else
|
||||||
status = "error"
|
status = "error"
|
||||||
code = 500
|
code = 500
|
||||||
logger.error err: error, project_id: request.project_id, "error running compile"
|
logger.warn err: error, project_id: request.project_id, "error running compile"
|
||||||
|
|
||||||
else
|
else
|
||||||
status = "failure"
|
status = "failure"
|
||||||
|
@ -42,7 +42,7 @@ module.exports = CompileController =
|
||||||
status = "success"
|
status = "success"
|
||||||
|
|
||||||
if status == "failure"
|
if status == "failure"
|
||||||
logger.err project_id: request.project_id, outputFiles:outputFiles, "project failed to compile successfully, no output.pdf generated"
|
logger.warn project_id: request.project_id, outputFiles:outputFiles, "project failed to compile successfully, no output.pdf generated"
|
||||||
|
|
||||||
# log an error if any core files are found
|
# log an error if any core files are found
|
||||||
for file in outputFiles
|
for file in outputFiles
|
||||||
|
|
|
@ -14,7 +14,7 @@ describe "CompileController", ->
|
||||||
clsi:
|
clsi:
|
||||||
url: "http://clsi.example.com"
|
url: "http://clsi.example.com"
|
||||||
"./ProjectPersistenceManager": @ProjectPersistenceManager = {}
|
"./ProjectPersistenceManager": @ProjectPersistenceManager = {}
|
||||||
"logger-sharelatex": @logger = { log: sinon.stub(), error: sinon.stub(), err:sinon.stub() }
|
"logger-sharelatex": @logger = { log: sinon.stub(), error: sinon.stub(), err:sinon.stub(), warn: sinon.stub()}
|
||||||
@Settings.externalUrl = "http://www.example.com"
|
@Settings.externalUrl = "http://www.example.com"
|
||||||
@req = {}
|
@req = {}
|
||||||
@res = {}
|
@res = {}
|
||||||
|
|
Loading…
Reference in a new issue