Jakob Ackermann
f4561c2fe2
[misc] bump the dev-env to 3.3.2
2020-08-10 17:01:11 +01:00
Jakob Ackermann
384d544bf2
Merge pull request #183 from overleaf/jpa-clsi-allowed-image-names
...
[misc] RequestParser: restrict imageName to an allow list and add tests
2020-07-15 10:58:36 +02:00
Jakob Ackermann
53cc80fc7f
[misc] fix formatting
2020-07-03 11:47:53 +01:00
Jakob Ackermann
267ff9e7f1
[ExampleDocumentTests] drop out in case of an error during compilation
...
Signed-off-by: Jakob Ackermann <das7pad@outlook.com >
2020-07-03 11:38:12 +01:00
Jakob Ackermann
6edb458910
[misc] wordcount: restrict image to an allow list and add tests
2020-06-26 13:28:12 +01:00
Jakob Ackermann
5ed09d1a98
[misc] RequestParser: restrict imageName to an allow list and add tests
2020-06-26 13:28:09 +01:00
Brian Gough
bad3850fcc
add acceptance test for synctex when project/file does not exist
2020-06-15 10:55:01 +01:00
Brian Gough
6569da0242
use json parsing in request
2020-06-12 15:15:51 +01:00
Henry Oswald
0bd99a3edc
add pipeUrlToFileWithRetry function to retry file downloads 3 times
2020-05-14 13:24:58 +01:00
Jakob Ackermann
3db40804ba
[misc] use a directory in /tmp for temporary data
2020-04-03 12:36:32 +02:00
mserranom
71a50dd11f
prettier: convert test/acceptance decaffeinated files to Prettier format
2020-02-19 12:16:14 +01:00
mserranom
7996f44942
decaffeinate: rename test/acceptance/coffee to test/acceptance/js
2020-02-19 12:16:11 +01:00
decaffeinate
95854a3abb
decaffeinate: Run post-processing cleanups on BrokenLatexFileTests.coffee and 9 other files
2020-02-19 12:16:07 +01:00
decaffeinate
955749a7c4
decaffeinate: Convert BrokenLatexFileTests.coffee and 9 other files to JS
2020-02-19 12:16:00 +01:00
decaffeinate
a2a3fddd54
decaffeinate: Rename BrokenLatexFileTests.coffee and 9 other files from .coffee to .js
2020-02-19 12:15:54 +01:00
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
bd42fe5776
increase timeout for long-running acceptance tests
2019-04-01 09:42:54 +01:00
Christopher Hoskin
4c8b619ee8
Switch to node 10
2019-01-16 15:11:49 +00:00
Henry Oswald
a781c7f600
change timeout test latex code
2018-09-11 11:34:25 +01:00
Henry Oswald
b330ee2d5b
grep works with command
...
updated build scripts
acceptence tests break, files are written as root when user is node
2018-03-29 17:07:22 +01: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
5cb3bfcbbb
uncomment tests
2018-03-02 17:59:37 +00:00
Henry Oswald
1a47887e80
make timeout latex more complex(slower)
2018-03-02 17:58:34 +00:00
Henry Oswald
70f016af1f
unit tests pass, acceptence fail
...
uncomment tests
2018-03-02 17:34:41 +00:00
Henry Oswald
b8c22f4d74
wip, docker container is correctly created
2018-03-02 17:14:23 +00:00
Henry Oswald
a2a8b70b74
acceptence tests pass inside docker container (apart from sync)
2018-03-02 17:14:23 +00:00
Henry Oswald
017ba3a4ec
mvp
...
needs hacked pacth in docker runner
wip
most tests pass
2018-03-02 17:14:20 +00:00
James Allen
b64106b730
Provide hosts and siblings container as environment settings and add npm run start script
...
wip acceptence tests run, but don't all pass
wip
removed npm-debug from git
2018-03-02 17:14:18 +00:00
Brian Gough
360e8220ce
exit if mock server fails to start
2017-10-20 15:16:35 +01:00
Joe Green
bd5a0ef36f
Jg jenkinsfile cleanup ( #75 )
...
* Update Jenkinsfile
make sure we don't ship unneeded build files
* Update ExampleDocumentTests.coffee
* use node 6.11.2 in jenkins file
2017-09-28 11:50:33 +01:00
Joe Green
d04f93855b
Add jenkinsfile ( #72 )
...
* create Jenkinsfile
* allow textlive image to be set with env vars
* log error message in test
* use sandboxed compiles variables
* Add SANDBOXED_COMPILES_HOST_DIR var to test config
* add SIBLING_CONTAINER_USER env var
2017-09-08 14:06:04 +01:00
Brian Gough
ea34a1a89d
update acceptance test images for texlive 2017
2017-07-13 13:15:51 +01:00
Brian Gough
2e91f07014
update acceptance tests settings to 2017 image
2017-07-12 16:59:33 +01:00
Brian Gough
e1b44beb3f
use pdfinfo on output to ensure pdfs are optimised
...
needed to check that qpdf runs correctly inside the docker container
2017-04-07 11:11:27 +01:00
Brian Gough
f059948e27
update xelatex acceptance test pdf
2017-03-08 11:49:21 +00:00
Brian Gough
7a7c2ee992
improve debugging of failed acceptance tests
...
use the example name in the output filename
2017-03-08 11:49:12 +00:00
Brian Gough
efe5e22b4c
include otf extension in fontawesome test
2017-03-08 11:25:25 +00:00
Shane Kilkelly
a0969ec839
Don't compile acceptance test files during test run
2017-03-06 14:43:14 +00:00
Brian Gough
29594fd0f7
fix acceptance test config file for latex prefix
...
latex command prefix was in wrong scope
2017-02-21 09:37:05 +00:00
Brian Gough
a50582fd7c
add fontawesome acceptance test for xelatex
2017-02-21 09:37:05 +00:00
Brian Gough
071b2269b3
update acceptance tests for reversion to dvipdf
2017-02-13 13:42:44 +00:00
Brian Gough
fde8149579
fix #! in test script
2017-02-09 15:38:25 +00:00
Brian Gough
6b7e33bbc6
show debug info for acceptance tests
2017-02-09 14:17:38 +00:00
Brian Gough
2898a82de8
update acceptance test output for fontawesome
2017-02-07 11:51:21 +00:00
Brian Gough
5b71b849ca
added fontawesome acceptance test
2017-02-07 10:00:41 +00:00
Brian Gough
6cb5926c21
fix lualatex require
2017-02-07 08:59:45 +00:00
Brian Gough
3cffb61c74
add luatex85 package to tikz feynman test
2017-02-07 08:49:19 +00:00
Brian Gough
5705455ce1
added acceptance test for tikz-feynman
2017-02-07 08:12:47 +00:00
Brian Gough
71fb15e0ee
update knitr_utf acceptance test output
...
needs to include table of contents from multiple latexmk runs
2017-02-06 16:27:47 +00:00
Brian Gough
819c642b8d
add knitr utf8 acceptance test
2017-02-03 15:38:06 +00:00