Commit Graph

764 Commits

Author SHA1 Message Date
Henrique Dias
25d73ab6f9 initial version of texcount 2015-06-08 18:35:24 -03:00
Brian Gough
f707ad0926 Merge pull request #23 from sharelatex/add-mysql-indexes
add indexes to mysql db
2015-05-21 12:21:59 +01:00
Brian Gough
779d79ebfd Merge pull request #22 from sharelatex/upgrade-sequelize
upgrade sequelize and mysql
2015-05-21 12:21:50 +01:00
Brian Gough
03c516a87e Merge pull request #21 from sharelatex/fix-urlfetcher-streams
clean up error handling in UrlFetcher
2015-05-21 12:21:31 +01:00
Brian Gough
19993f4548 Merge pull request #20 from sharelatex/fix-deprecated-express-calls
replace deprecated express send(code,body) calls
2015-05-21 12:21:09 +01:00
Brian Gough
ff5b203ecf added comments 2015-05-21 11:33:13 +01:00
Brian Gough
7d8bc9fed9 upgrade sequelize and mysql 2015-05-15 16:58:27 +01:00
Brian Gough
484c0da84f add indexes to db 2015-05-15 16:28:35 +01:00
Brian Gough
3c97b98fc4 clean up error handling in UrlFetcher 2015-05-15 16:28:11 +01:00
Brian Gough
03c105c3d9 replace deprecated send(code,body) calls 2015-05-15 16:27:39 +01:00
Brian Gough
889fa65d0c clean up stream handling for file copy 2015-05-15 16:25:49 +01:00
Brian Gough
558b5e000f only run qpdf for the main output.pdf file
was previously matching any pdf file, which caused it to run for
embedded pdf figures produced during the mklatex run
2015-05-15 16:23:58 +01:00
Henry Oswald
94c4187eb2 change regex checking file request ensure other files can not be accessed 2015-05-12 15:18:09 +01:00
Brian Gough
9d3fdcf8b4 additional validation of requests 2015-05-11 12:10:13 +01:00
Brian Gough
58ecfa69e6 use the latest versions of metrics and smoketest modules 2015-05-05 10:54:59 +01:00
Brian Gough
d90fe49a4e avoid leak when calling chai.should() repeatedly in smoke test 2015-05-05 10:03:17 +01:00
Brian Gough
2e91868bc8 disable sequelize logging by default
prevent any leaking of objects to console during debugging
2015-05-05 10:03:17 +01:00
Henry Oswald
d9d16b7189 make startup message consistent 2015-04-30 15:07:48 +01:00
Brian Gough
fd6386207b remove debugging from tests 2015-04-29 16:05:49 +01:00
Brian Gough
9892751ff6 prevent leak of urlStream on failed downloads 2015-04-29 16:05:49 +01:00
Brian Gough
651279b21f log errors when downloading files and clean up failed downloads 2015-04-29 16:05:49 +01:00
Brian Gough
8db907c766 invalidate the cache if there is an error copying a file 2015-04-29 15:54:38 +01:00
Brian Gough
85c6c3fe2b log errors when copying files from cache 2015-04-29 15:54:08 +01:00
Brian Gough
143f948193 add heapdump support for memory profiling 2015-04-09 14:40:02 +01:00
James Allen
a35df6d829 Release version 0.1.4 v0.1.4 2015-03-20 15:25:02 +00:00
Brian Gough
1a794d804a Merge branch 'master' of github.com:sharelatex/clsi-sharelatex 2015-03-16 16:47:56 +00:00
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