overleaf/services/clsi/app/coffee
Eric Mc Sween dab6e9aa8e Send output files on timeout
The unconventional use of callbacks to return both an error and data
after compilation created a subtle bug where the output files were
dropped by the LockManager in case of an error such as a timeout.

This prevented the frontend to show error logs when a timeout occurs,
creating confusion among users.

We now attach the output files to the error so that they reach the
controller and are sent back to the web service.
2019-10-22 16:31:37 -04:00
..
CommandRunner.coffee added docker runner into core codebase 2018-03-14 15:44:49 +00:00
CompileController.coffee Send output files on timeout 2019-10-22 16:31:37 -04:00
CompileManager.coffee Send output files on timeout 2019-10-22 16:31:37 -04:00
ContentTypeMapper.coffee Send .svg files as text/plain to prevent executable JS if they are loaded as SVG in the browser 2016-03-10 09:32:32 +00:00
db.coffee fix expired projects command 2018-07-30 17:37:30 +01:00
DbQueue.coffee change console.log for logger.log 2019-03-22 20:42:26 +00:00
DockerLockManager.coffee added docker runner into core codebase 2018-03-14 15:44:49 +00:00
DockerRunner.coffee Send output files on timeout 2019-10-22 16:31:37 -04:00
DraftModeManager.coffee avoid adding draft mode more than once 2017-08-17 15:03:37 +01:00
Errors.coffee lock compile directory 2017-09-22 16:19:33 +01:00
LatexRunner.coffee Add flags option to request JSON 2019-05-14 16:24:34 +01:00
LocalCommandRunner.coffee fix CompileManager and LocalCommandRunner 2019-10-04 23:02:03 +08:00
LockManager.coffee fix unit tests 2018-08-23 00:21:05 +01:00
Metrics.coffee Add in new metrics 2014-05-09 14:55:37 +01:00
OutputCacheManager.coffee use a separate function for hidden file check 2017-09-26 11:03:20 +01:00
OutputFileFinder.coffee mvp 2018-03-02 17:14:20 +00:00
OutputFileOptimiser.coffee check if file is optimised before running qpdf 2017-04-04 16:50:06 +01:00
ProjectPersistenceManager.coffee fix sql query checking last access time 2018-08-22 18:21:15 +01:00
RequestParser.coffee Increase the hard-timeout to 10 minutes. 2019-06-06 16:39:16 +01:00
ResourceStateManager.coffee move logging from SafeReader into caller 2017-10-02 15:44:00 +01:00
ResourceWriter.coffee extend caching for tikz, minted and markdown files 2018-10-04 16:56:48 +01:00
SafeReader.coffee move logging from SafeReader into caller 2017-10-02 15:44:00 +01:00
StaticServerForbidSymlinks.coffee don't log missing files as warnings, but do report file access errors 2016-03-31 11:14:39 +01:00
TikzManager.coffee fix exception when content undefined in TikzManager 2018-10-15 10:01:52 +01:00
UrlCache.coffee reduce logging 2018-08-01 13:59:09 +01:00
UrlFetcher.coffee remove some console.logs 2018-07-30 15:11:41 +01:00