Commit Graph

80 Commits

Author SHA1 Message Date
Henry Oswald
bcb87620b5 change override to leave image name so it works for wl_texlive 2018-07-16 17:25:14 +01:00
Henry Oswald
8d846f64a9 move texliveImageNameOveride further down request so it works for
compile tests
2018-07-13 11:52:49 +01:00
Henry Oswald
a960614eb4 added texliveImageNameOveride 2018-07-13 10:37:22 +01:00
Henry Oswald
6464aefdb4 added filestoreDomainOveride 2018-07-03 16:41:34 +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
3bdd50a231 fix url fetcher tests so they exit correctly 2018-03-05 10:39:46 +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
d8858cfadd Merge branch 'bg-lock-compiles' 2017-09-28 13:16:29 +01:00
Brian Gough
f11468b595 remove stat test for missing files 2017-09-26 09:48:09 +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
8305268848 unit tests for ResourceStateManager 2017-09-15 13:42:57 +01:00
Brian Gough
a2c97e6f9a rename saveProjectStateHash to saveProjectState 2017-09-08 13:56:40 +01:00
Brian Gough
acab9d45a0 log any missing files 2017-09-07 16:54:09 +01:00
Brian Gough
97d7d76e61 combine the resource state and resource list
to prevent them getting out of sync
2017-09-07 13:52:34 +01:00
Brian Gough
6921cf25b8 splice state management into ResourceStateManager 2017-08-18 10:22:17 +01:00
Brian Gough
e8064f12a1 finish unit test for incremental update 2017-08-18 09:41:43 +01:00
Brian Gough
e4aad90f33 ResourceWriter unit tests (wip) 2017-08-17 16:59:37 +01:00
Brian Gough
a8aaf58e64 test syncType in RequestParser 2017-08-17 15:57:05 +01:00
Brian Gough
2b610030d5 store the resource list in a file 2017-08-17 14:53:35 +01:00
Brian Gough
00ddfdf42b fix unit tests 2017-08-09 15:22:44 +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
472531f617 fix exception for empty content in TikzManager 2017-07-18 11:29:59 +01:00
Shane Kilkelly
8e2584bab4 Mock out logger in tests 2017-06-20 08:25:50 +01:00
Brian Gough
aafa691119 check file exists before running synctex 2017-05-24 10:09:43 +01:00
Brian Gough
eb1364f249 check if file is optimised before running qpdf 2017-04-04 16:50:06 +01:00
Brian Gough
19dfaa7d55 Merge pull request #53 from sharelatex/bg-sanitise-paths
additional check for valid rootResource
2017-03-21 13:39:27 +00:00
Brian Gough
7ccc9500ed check for \tikzexternalize directly
instead of \usepackage{tikz} and \usepackage{pgf}
2017-03-21 11:36:08 +00:00
Brian Gough
750576d1b0 fix path match 2017-03-21 11:30:32 +00:00
Brian Gough
021d848819 create separate function for path checking 2017-03-21 11:29:37 +00: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
Brian Gough
5af137f60b additional check for valid rootResource 2017-03-20 10:03:48 +00: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
James Allen
f7b4883397 Don't delete knitr cache files 2016-09-22 14:14:29 +01:00
James Allen
79b3d2172b Sanitize resource path along with rootResourcePath 2016-09-21 15:09:01 +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
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
Henry Oswald
da324a8dd0 added logger.info to test setup 2016-05-24 14:12:02 +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
Brian Gough
bd036534e5 check directory exists before attempting to clear it 2016-03-31 11:59:17 +01:00
Brian Gough
3dcd4af62e always create project directory when syncing resources to disk
avoids errors when project is empty
2016-03-31 11:59:17 +01:00
James Allen
89acd36dde 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