Commit Graph

55 Commits

Author SHA1 Message Date
Brian Gough
5b5f7b0690 avoid adding draft mode more than once 2017-08-17 15:03:37 +01:00
Brian Gough
2b610030d5 store the resource list in a file 2017-08-17 14:53:35 +01:00
Brian Gough
6542ce20b6 fix incremental request 2017-08-07 14:32:28 +01:00
Brian Gough
7e1d3d98e7 write files incrementally 2017-08-02 13:46:10 +01:00
Shane Kilkelly
a74f4ac1a6 Send a 404 if the project files have gone away when running synctex.
This is semantically nicer than the 500 response which used to be
produced in these circumstances.
2017-06-23 14:46:40 +01:00
Brian Gough
c62f8b4854 check directory exists and bail out on error 2017-05-31 10:06:27 +01:00
Brian Gough
aafa691119 check file exists before running synctex 2017-05-24 10:09:43 +01:00
Brian Gough
8803762081 support for tikz externalize
make copy of main file as output.tex for tikz externalize
2017-03-20 10:55:28 +00:00
Shane Kilkelly
61089eca40 Increase memory limit to 64mb 2016-09-28 11:02:58 +01:00
Shane Kilkelly
0900340282 Add CHKTEX_ULIMIT_OPTIONS 2016-09-23 15:32:37 +01:00
Brian Gough
ee170b4e67 only run chktex on .tex files, not .Rtex files
the .tex files produced from knitr have macros which confuse chktex
2016-09-12 16:29:36 +01:00
Brian Gough
095e16e953 handle failed compile due to validation error 2016-08-24 15:46:47 +01:00
Brian Gough
748caeee7d remove chktex error
too many false positives from 'unable to execute latex command'
2016-08-22 15:11:39 +01:00
Brian Gough
2200ac2cf2 capture texcount error output 2016-08-11 10:26:08 +01:00
Brian Gough
928ffc96e6 read wordcount output asynchronously 2016-08-11 09:32:53 +01:00
Brian Gough
ade3da7e0d add missing argument parameter to wordcount call 2016-08-11 09:29:03 +01:00
Brian Gough
e66b1ecdea use a command wrapper for synctex
instead of an alternative child_process object
2016-08-04 16:08:14 +01:00
Brian Gough
c6744caeeb change logging message to be different from LatexRunner 2016-08-04 16:07:36 +01:00
Brian Gough
189648e39a Merge pull request #44 from sharelatex/add-chktex-support
Add chktex support
2016-08-02 14:55:38 +01:00
Brian Gough
8da29e6024 provide setting to override child_process.execFile for synctex 2016-07-29 14:54:24 +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
6524439699 add support for passing additional environment parameters to command runner
includes an example of passing environment variables to chktex
2016-07-26 12:30:29 +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
Henry Oswald
ac3b7a571a log out error on synctex 2016-05-27 16:18:18 +01:00
Henry Oswald
cda1e301f6 log out errors more clearly 2016-05-27 14:45:39 +01:00
Henry Oswald
b2f687c061 log out which command logger is used 2016-05-24 14:08:39 +01:00
Brian Gough
51f87c5f79 fix logic excluding smoke test in metric 2016-05-10 10:10:01 +01:00
Brian Gough
143913c67f fix tagname for graphite 2016-05-10 09:41:39 +01:00
Brian Gough
e70bd3ae8e preserve existing metric name 2016-05-10 09:12:00 +01:00
Brian Gough
0a5ca6b0fa add timing information from /usr/bin/time 2016-05-09 16:00:24 +01:00
Brian Gough
834668b033 add a metric for the TeXLive image used on each compile 2016-05-09 15:36:11 +01:00
Brian Gough
5d6fb4579a remove console.log 2016-03-31 11:59:17 +01:00
Brian Gough
bd036534e5 check directory exists before attempting to clear it 2016-03-31 11:59:17 +01:00
Brian Gough
9f104a4f57 bugfix - avoid double counting compiles 2016-03-17 14:37:34 +00:00
Brian Gough
e64b08fcbe add metrics for latexmk runs and errors 2016-03-17 09:55:18 +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
James Allen
4497352a3a Allow optional image name to be passed 2016-01-15 09:59:06 +00:00
Henry Oswald
c178458223 added try catch around word count where a file is not created 2015-11-12 15:19:22 +00:00
Henry Oswald
74c393cda3 - fixed bug with texcount returning wrong data for nauty lines
- improved acceptence test for word count to use nauty lines
2015-09-09 13:52:45 +01: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
caef254b80 move texcount to docker 2015-09-08 10:19:46 -03:00
Henrique Dias
a04d951b40 add unit test 2015-06-08 19:27:47 -03:00
Henrique Dias
25d73ab6f9 initial version of texcount 2015-06-08 18:35:24 -03:00
Brian Gough
151ea99639 accept build id parameter when serving static files 2015-02-25 17:05:19 +00:00
Brian Gough
1923352e66 save output files in a .cache directory 2015-02-24 14:40:05 +00:00
James Allen
a42232f3e2 Don't normalize path passed to synctex 2014-05-29 16:40:58 +01:00