Michael Mazour
663ec88718
Add flags option to request JSON
...
Adds a `flags` parameter to the request JSON, appearing under the `compile.options` key (alongside such stalwarts as `compiler`, `timeout`, etc.).
This is primarily to support `-file-line-error` as an option, but could have other uses as well.
`flags` should be an array of strings, or absent. If supplied, the listed arguments are added to the base latexmk command.
2019-05-14 16:24:34 +01:00
Henry Oswald
b07b7a84be
fix unit tests
2018-09-11 10:21:37 +01:00
Henry Oswald
5f9fb85613
bump wordcount timeouts, taken from 82b996b145
2018-09-11 09:55:10 +01:00
Henry Oswald
b9d94fb428
fixed commended tests
2018-03-14 15:44:58 +00:00
Henry Oswald
b202af3cf2
added docker runner into core codebase
...
supports both local command runner and docker runner
added docker files for tex live
also fixed tests so they exit correctly & removed debug lines
2018-03-14 15:44:49 +00:00
Henry Oswald
70f016af1f
unit tests pass, acceptence fail
...
uncomment tests
2018-03-02 17:34:41 +00:00
Brian Gough
1da918e13c
simplify tikzexternalize checks
2017-09-29 17:00:53 +01:00
Brian Gough
eaa99c7274
fix unit tests for use of fs-extra
2017-09-25 15:28:31 +01:00
Brian Gough
b0f879d652
lock compile directory
2017-09-22 16:19:33 +01:00
Brian Gough
2b610030d5
store the resource list in a file
2017-08-17 14:53:35 +01:00
Brian Gough
206adc2d04
fix broken unit tests
2017-08-07 15:00:16 +01:00
Brian Gough
11cd569ed9
stub out unwanted dependency in unit tests
2017-07-18 11:30:22 +01:00
Brian Gough
aafa691119
check file exists before running synctex
2017-05-24 10:09:43 +01:00
Shane Kilkelly
61089eca40
Increase memory limit to 64mb
2016-09-28 11:02:58 +01:00
Shane Kilkelly
4827aec30b
Add test for new ulimit options
2016-09-23 15:34:29 +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
cd7ed6ce66
update tests
2016-08-11 10:31:37 +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
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
da324a8dd0
added logger.info to test setup
2016-05-24 14:12:02 +01:00
Brian Gough
bd036534e5
check directory exists before attempting to clear it
2016-03-31 11:59:17 +01: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
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
Brian Gough
fd6386207b
remove debugging from tests
2015-04-29 16:05:49 +01:00
Brian Gough
e7ed8d786a
fix tests to allow for build parameter
2015-02-26 15:31:12 +00:00
James Allen
835acee5f9
Use simpler exec command with a timeout
2014-04-09 15:34:54 +01:00
James Allen
9fc0ef2885
Add in a synctex end point
2014-04-08 15:18:56 +01:00
James Allen
3851f5510f
Use system rm -r to allow removal of files with broken char encodings
2014-04-02 12:53:02 +01:00
James Allen
e688913fcb
Fix unit tests
2014-02-13 11:11:53 +00:00
James Allen
c83b03e93f
Initial open source commit
2014-02-12 17:27:43 +00:00