Commit graph

29 commits

Author SHA1 Message Date
Shane Kilkelly
3217b1d58f When serving output files, intelligently determine the appropriate content-type.
cherry pick 6fa3fda3ed28239cf3ac9720629f9707663aa197 from datajoy.
2015-09-21 16:59:35 +01:00
Henrique Dias
09032565e2 Merge remote-tracking branch 'upstream/master' into texcount 2015-09-08 09:13:04 -03:00
Brian Gough
b3c030b3ed add memory logger from metrics-sharelatex 2015-08-14 14:47:42 +01:00
Henrique Dias
59e87a8729 initial version of texcount 2015-06-08 18:35:24 -03:00
Brian Gough
608b1dd657 replace deprecated send(code,body) calls 2015-05-15 16:27:39 +01:00
Henry Oswald
91d0f0f2f8 make startup message consistent 2015-04-30 15:07:48 +01:00
Brian Gough
134058ccc0 add heapdump support for memory profiling 2015-04-09 14:40:02 +01:00
Brian Gough
9ee2706410 add v8 profiler on /profile?time=MS url 2015-03-16 15:02:45 +00:00
Brian Gough
e024fec82d 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
a6fb82513f use OutputCacheManager to construct static path to files 2015-02-27 13:16:01 +00:00
Brian Gough
5a5ef8baed accept build id parameter when serving static files 2015-02-25 17:05:19 +00:00
Henry Oswald
9742aa8fb4 replaced old symlink logic with tested middlewear based on fs.realpath 2014-12-04 23:54:22 +00:00
James Allen
2647eb0ec7 Check file is not a symlink before returning it 2014-12-04 22:07:37 +00:00
Brian Gough
95373d2b7e 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
c119d2ba79 err != error 2014-11-27 16:19:01 +00:00
Henry Oswald
d498076ab3 Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex 2014-11-27 16:11:11 +00:00
Henry Oswald
b8335b6b64 respect the status code on the error if it exists 2014-11-27 16:11:00 +00:00
James Allen
5216526191 Force mimetype of output files to be safe 2014-10-28 12:07:26 +00:00
Henry Oswald
ce8c6d824d Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex 2014-10-17 10:22:27 +01:00
Henry Oswald
a698795558 up timeout to 6 mins 2014-10-17 10:14:23 +01:00
James Allen
10413b876a Don't run smoke test by default 2014-08-19 12:11:56 +01:00
Henry Oswald
8d337a26db add null checks and defaults for the cached smoke test results 2014-06-05 16:13:06 +01:00
Henry Oswald
98efa96f3e 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
f8819fbbd7 Increase req and res stream timeouts to 3 minutes 2014-05-22 12:18:56 +01:00
James Allen
9261987bd8 Increase size limit (arbitrarily... *shrug*) 2014-05-19 20:03:05 +01:00
James Allen
5cd66aad58 Return more informative errors 2014-05-19 07:18:57 -04:00
James Allen
3213c562bc Add in new metrics 2014-05-09 14:55:37 +01:00
James Allen
892e6bf6d1 Add in a synctex end point 2014-04-08 15:18:56 +01:00
James Allen
46b36839e2 Initial open source commit 2014-02-12 17:27:43 +00:00