Commit Graph

338 Commits

Author SHA1 Message Date
Brian Gough
24e20a79f4 remove unnecessary call to async.series in OutputFileFinder
callback was previously async but is now synchronous, so high stack
usage.
2015-03-16 16:47:25 +00:00
Brian Gough
c47f49e24b Merge pull request #17 from sharelatex/add-v8-performance
add v8 profiler
2015-03-16 15:18:48 +00:00
Brian Gough
65f2f23cf6 add v8 profiler on /profile?time=MS url 2015-03-16 15:02:45 +00:00
Brian Gough
8d7d637eed Merge pull request #16 from sharelatex/cache-output-files
Keep output files in cache
2015-03-02 12:06:06 +00:00
Brian Gough
7551bc3135 reduce cache limit for pdfs 2015-03-02 11:31:48 +00:00
Brian Gough
75ef0d6581 skip cache directory error when empty 2015-03-02 09:58:20 +00:00
Brian Gough
31f62c7a7b Merge branch 'master' into cache-output-files 2015-03-02 09:18:44 +00:00
Brian Gough
3a4dd9df50 fix double callback for proc.on 'error' and proc.on 'close' 2015-02-27 16:07:02 +00:00
Brian Gough
916b4cb40b move convert tests from middleware to restricted static server 2015-02-27 15:38:57 +00:00
Brian Gough
37cc9f3715 provide a static server which forbids symlinks
prevents mismatch between rootdir of server and rootdir of symlink
checking middleware
2015-02-27 13:57:57 +00:00
Brian Gough
0692e964ef use OutputCacheManager to construct static path to files 2015-02-27 13:16:01 +00:00
Brian Gough
198e1ef492 cleanup and logging 2015-02-27 13:15:35 +00:00
Brian Gough
280d64cf60 remove debugging code 2015-02-26 15:32:01 +00:00
Brian Gough
e7ed8d786a fix tests to allow for build parameter 2015-02-26 15:31:12 +00:00
James Allen
81e85de169 Release version 0.1.3 v0.1.3 2015-02-26 11:20:56 +00:00
Brian Gough
151ea99639 accept build id parameter when serving static files 2015-02-25 17:05:19 +00:00
Brian Gough
b8cdd4fa85 added package dependencies for caching 2015-02-24 16:09:55 +00:00
Brian Gough
163a33674b add an optimisation pass for the cached output files 2015-02-24 15:48:34 +00:00
Brian Gough
67bfeacab8 skip the cache directory when finding output files 2015-02-24 14:40:22 +00:00
Brian Gough
1923352e66 save output files in a .cache directory 2015-02-24 14:40:05 +00:00
Brian Gough
f37004cec6 update sanitizePath regex
remove accidental inclusion of , and add null char \x00
2015-02-13 11:28:43 +00:00
James Allen
1a7500f102 Allow non-latin characters in the rootResourcePath 2015-02-13 11:21:35 +00:00
James Allen
90cda12ed9 Sanitize rootResourcePath 2015-02-11 16:39:43 +00:00
James Allen
c84bd4fa3f Release version 0.1.2 v0.1.2 2015-02-10 13:19:42 +00:00
James Allen
84f3d3061d Don't return error if directory doesn't exist yet 2014-12-09 11:25:23 +00:00
James Allen
2c4fbd10ed Add in some debugging logging 2014-12-09 11:16:16 +00:00
James Allen
ff94a76eb9 Use find -type f to get a list of output files 2014-12-09 11:08:07 +00:00
Henry Oswald
92338ab419 replaced old symlink logic with tested middlewear based on fs.realpath 2014-12-04 23:54:22 +00:00
James Allen
5b2031b84f Check file is not a symlink before returning it 2014-12-04 22:07:37 +00:00
James Allen
94397854c6 Add in missing error check 2014-12-04 21:37:09 +00:00
Brian Gough
6bf8c22d78 send a strong etag for the output.pdf file, needed for byte ranges in pdf.js 2014-12-02 14:30:24 +00:00
Henry Oswald
b4f0da0c42 err != error 2014-11-27 16:19:01 +00:00
Henry Oswald
4886620d8a Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex 2014-11-27 16:11:11 +00:00
Henry Oswald
fc674370bd respect the status code on the error if it exists 2014-11-27 16:11:00 +00:00
James Allen
b418ea201b Update acceptance tests for new knitr, and remove markdown 2014-10-29 10:59:32 +00:00
James Allen
7f9c9176a9 Force mimetype of output files to be safe 2014-10-28 12:07:26 +00:00
Henry Oswald
af86745112 increase max compile to 4 mins 2014-10-17 11:03:08 +01:00
Henry Oswald
22e8ee59af Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex 2014-10-17 10:22:27 +01:00
Henry Oswald
225a12fcd2 up timeout to 6 mins 2014-10-17 10:14:23 +01:00
James Allen
f5ce83118c Bump version to 0.1.1 v0.1.1 2014-09-29 16:05:44 +01:00
James Allen
ae52819056 Lock down sequelize version 2014-09-23 10:52:01 +01:00
James Allen
da53de3faf Release version 0.1.0 v0.1.0 2014-08-19 14:05:09 +01:00
James Allen
5fa7cbd5e5 Lock down module versions 2014-08-19 14:01:01 +01:00
James Allen
7ee099b8b9 Merge branch 'master' of github.com:sharelatex/clsi-sharelatex 2014-08-19 12:14:38 +01:00
James Allen
4635052393 Don't run smoke test by default 2014-08-19 12:11:56 +01:00
James Allen
de7cbceb57 Add updated knitr example output.pdf for TexLive 2014 2014-08-13 10:35:51 +00:00
Henry Oswald
a1ebd60b9f added url into error message when downloading from filestore 2014-06-10 14:09:36 +01:00
Henry Oswald
d67f18c1c4 add null checks and defaults for the cached smoke test results 2014-06-05 16:13:06 +01:00
Henry Oswald
6f5d068eb0 added caching of health checks so we can hit them heaviy from multiple places without potential concurency problems 2014-06-05 15:51:24 +01:00
James Allen
a42232f3e2 Don't normalize path passed to synctex 2014-05-29 16:40:58 +01:00