Commit graph

341 commits

Author SHA1 Message Date
Brian Gough
3d1c3a1d27 combine the resource state and resource list
to prevent them getting out of sync
2017-09-07 13:52:34 +01:00
Shane Kilkelly
5b33129138 Merge pull request #70 from sharelatex/sk-node-6
Upgrade to node 6.11
2017-08-31 13:35:27 +01:00
Shane Kilkelly
ae2af06f7b Upgrade to node 6.9 2017-08-29 14:30:43 +01:00
Brian Gough
ea3ee82e74 added logging 2017-08-29 12:09:31 +01:00
James Allen
30dd9655bf Merge pull request #69 from sharelatex/as-update-docker-runner-config
Update docker-runner-sharelatex config
2017-08-24 15:17:16 +02:00
Alasdair Smith
87935f30c5 Update docker-runner-sharelatex config 2017-08-24 13:34:24 +01:00
Brian Gough
43f424295e Merge pull request #66 from sharelatex/bg-compile-from-redis
Write files incrementally
2017-08-23 15:35:56 +01:00
Brian Gough
26f85ba75f read resource files safely
put a limit on the amount of data read
2017-08-18 11:17:01 +01:00
Brian Gough
a84c884fc9 splice state management into ResourceStateManager 2017-08-18 10:22:17 +01:00
Brian Gough
96b801b093 fix whitespace 2017-08-18 09:41:59 +01:00
Brian Gough
d614af2860 finish unit test for incremental update 2017-08-18 09:41:43 +01:00
Brian Gough
d3da4e1d3f ResourceWriter unit tests (wip) 2017-08-17 16:59:37 +01:00
Brian Gough
c7a9487216 test syncType in RequestParser 2017-08-17 15:57:05 +01:00
Brian Gough
b901884248 avoid adding draft mode more than once 2017-08-17 15:03:37 +01:00
Brian Gough
8415ea2f71 store the resource list in a file 2017-08-17 14:53:35 +01:00
Brian Gough
c0ed71f65c fix unit tests 2017-08-09 15:22:44 +01:00
Brian Gough
2950c01130 add comment about syncType/syncState 2017-08-09 15:22:38 +01:00
Henry Oswald
68ec76fa25 Merge pull request #68 from sharelatex/ho-mkdir-cache-comiles
use grunt to make compiles and cache dirs
2017-08-09 11:07:36 +01:00
Brian Gough
4ebc7e5e4a clean up the state file if no state passed in 2017-08-08 16:29:57 +01:00
Henry Oswald
1e34f6371e use grunt to make compiles and cache dirs 2017-08-07 16:21:37 +01:00
Henry Oswald
17d8edd1c6 Merge pull request #67 from sharelatex/revert-65-add-compiles-folder
Revert "Keep compiles and cache directories"
2017-08-07 15:29:30 +01:00
Henry Oswald
c3511e91ef Revert "Keep compiles and cache directories" 2017-08-07 15:29:18 +01:00
Brian Gough
567a89350b fix broken unit tests 2017-08-07 15:00:16 +01:00
Brian Gough
3a930a636e fix incremental request 2017-08-07 14:32:28 +01:00
Brian Gough
fe5ba5b619 restrict syncType values to full/incremental 2017-08-07 10:19:56 +01:00
Brian Gough
44ae011703 added files out of sync error object 2017-08-03 15:56:59 +01:00
Brian Gough
d4aad06c1f use syncType and syncState for clsi state options 2017-08-03 12:00:32 +01:00
Brian Gough
da86a094a8 write files incrementally 2017-08-02 13:46:10 +01:00
Henry Oswald
2ac4f7ac44 Merge pull request #65 from sharelatex/add-compiles-folder
Keep compiles and cache directories
2017-07-28 11:24:36 +01:00
Hayden Faulds
931abb7c81 keep cache directory 2017-07-27 15:54:20 +01:00
Hayden Faulds
d382f2929f keep compiles directory 2017-07-27 14:02:24 +01:00
Henry Oswald
2aeec8a12f Revert "change"
This reverts commit 104ce81ebdf41d88acd7fb6f2abf99fbc4eb91df.
2017-07-23 22:45:04 +01:00
Henry Oswald
19c4d020b5 change 2017-07-23 22:42:07 +01:00
Brian Gough
54852b216b Merge pull request #63 from sharelatex/bg-fix-tikzmanager-exception
fix tikzmanager exception
2017-07-20 13:22:58 +01:00
Brian Gough
d43357e8c8 stub out unwanted dependency in unit tests 2017-07-18 11:30:22 +01:00
Brian Gough
fd5b557dde fix exception for empty content in TikzManager 2017-07-18 11:29:59 +01:00
Brian Gough
4a4f3bb24c update acceptance test images for texlive 2017 2017-07-13 13:15:51 +01:00
Brian Gough
0c7a89dfa5 update acceptance tests settings to 2017 image 2017-07-12 16:59:33 +01:00
Shane Kilkelly
577cf7ef4c Merge branch 'sk-reduce-kill-project-errors' 2017-06-27 10:03:51 +01:00
Shane Kilkelly
a55debb79f 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
Shane Kilkelly
4b14de05c9 Killing an already stopped project is not an error
Log a warning instead and continue.
2017-06-20 09:18:15 +01:00
Shane Kilkelly
65eaf0ad10 Mock out logger in tests 2017-06-20 08:25:50 +01:00
Brian Gough
7b8e9963e8 Merge pull request #60 from sharelatex/bg-delete-xdv-files
delete intermediate xdv files from xelatex
2017-06-16 09:13:43 +01:00
Brian Gough
f2746b7d5b delete intermediate xdv files from xelatex 2017-06-15 15:37:45 +01:00
Brian Gough
8d8f441ff8 Merge pull request #58 from sharelatex/bg-check-dir-before-synctex
check file exists before running synctex
2017-05-31 10:16:06 +01:00
Brian Gough
550979991f check directory exists and bail out on error 2017-05-31 10:06:27 +01:00
Brian Gough
411860cfb0 Merge pull request #59 from sharelatex/bg-reduce-clsi-error-reporting
don't report compile timeouts to sentry
2017-05-30 15:39:04 +01:00
Brian Gough
42fa852b76 check file exists before running synctex 2017-05-24 10:09:43 +01:00
Brian Gough
7d93e77102 don't report compile timeouts to sentry
just log them instead
2017-05-24 09:42:05 +01:00
Brian Gough
8892a50486 Merge pull request #56 from sharelatex/bg-disable-qpdf-setting
add setting to avoid optimisations outside docker
2017-04-11 14:16:19 +01:00