Eric Mc Sween
775306aa63
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
Brian Gough
d20856f799
use explicit json content-type to avoid security issues with text/html
2019-02-12 16:54:59 +00:00
Henry Oswald
49f3b7d54f
have failed compiles warn rather than be an error
2018-11-23 15:10:35 +00:00
Henry Oswald
b4107b7391
fse.ensureDir when running synctex and wordcount
2018-08-23 08:34:18 +01:00
Henry Oswald
ae7357778e
Merge branch 'ho-dockerise' of github.com:sharelatex/clsi-sharelatex into ho-dockerise
2018-03-02 18:31:09 +00:00
Henry Oswald
3de14a3f17
Merge branch 'master' into ho-dockerise
2018-03-02 18:16:16 +00:00
Henry Oswald
49a35c5e11
Merge branch 'master' into ho-dockerise
2018-03-02 18:12:32 +00:00
Henry Oswald
017ba3a4ec
mvp
...
needs hacked pacth in docker runner
wip
most tests pass
2018-03-02 17:14:20 +00:00
Brian Gough
a0d5e6a54b
log an error if core file is found in output
2018-01-03 15:41:31 +00:00
Brian Gough
a36ec7f54e
fix comment
2017-09-25 16:06:45 +01:00
Brian Gough
b0f879d652
lock compile directory
2017-09-22 16:19:33 +01:00
Brian Gough
6542ce20b6
fix incremental request
2017-08-07 14:32:28 +01:00
Brian Gough
11898b897e
added files out of sync error object
2017-08-03 15:56:59 +01:00
Brian Gough
7e1d3d98e7
write files incrementally
2017-08-02 13:46:10 +01:00
Brian Gough
a98b2b8032
don't report compile timeouts to sentry
...
just log them instead
2017-05-24 09:42:05 +01:00
Brian Gough
664e908378
provide validation mode where compilation always exits after chktex
2016-07-27 16:54:27 +01:00
Brian Gough
14837a57ec
run chktex when request has check:true
2016-07-26 16:22:38 +01:00
Brian Gough
fdf274fb82
remove dead code
2016-07-18 11:05:45 +01:00
Brian Gough
69666bef60
add support for stopping compile
2016-07-14 16:43:52 +01:00
Brian Gough
0887fe3a72
add per-user routes for clearing cache and extend expiry methods
...
this adds separate functionality for clearing the cache (assets and
database) and the project compile directory for a specific user
2016-06-02 15:32:33 +01:00
Brian Gough
226e6c87b1
add per-user routes and methods
2016-06-02 15:32:31 +01:00
Brian Gough
8c42a353e1
put the build id in the output file urls
...
the url attribute will now give the preferred location for accessing
the output file, without the url having to be constructed by the web
client
2016-06-02 15:30:50 +01:00
Brian Gough
d26c6b933e
return the file path in the output file list for easy lookup
2016-05-19 16:38:18 +01:00
Henry Oswald
5f7cd5ece5
added project status endpoint
...
used for getting the server a project is on
2016-04-20 15:38:05 +01:00
James Allen
2df886e330
Remove left over debug log line
2016-02-02 14:28:51 +00:00
James Allen
d96605d5e8
Inject [draft] option to documentclass if draft option is passed
2016-02-02 14:26:14 +00:00
James Allen
86cf05c732
Support configurable images in wordcount end point
2016-01-19 14:12:41 +00:00
Henry Oswald
561eaa0d66
add -inc to word count
...
use -inc to word count included files
also moved private function to bottom
2015-09-09 12:47:08 +01:00
Henrique Dias
25d73ab6f9
initial version of texcount
2015-06-08 18:35:24 -03:00
Brian Gough
03c105c3d9
replace deprecated send(code,body) calls
2015-05-15 16:27:39 +01:00
Brian Gough
151ea99639
accept build id parameter when serving static files
2015-02-25 17:05:19 +00:00
James Allen
d80172942f
Explicitly look for output.pdf file, not any pdf
2014-05-29 15:49:48 +01:00
James Allen
2ea64cddc7
Return more informative errors
2014-05-19 07:18:57 -04:00
James Allen
9fc0ef2885
Add in a synctex end point
2014-04-08 15:18:56 +01:00
James Allen
c83b03e93f
Initial open source commit
2014-02-12 17:27:43 +00:00