Commit Graph

343 Commits

Author SHA1 Message Date
Brian Gough
9f104a4f57 bugfix - avoid double counting compiles 2016-03-17 14:37:34 +00:00
Brian Gough
595bfe09ac add metric for qpdf 2016-03-17 09:55:18 +00:00
Brian Gough
e64b08fcbe add metrics for latexmk runs and errors 2016-03-17 09:55:18 +00:00
Henry Oswald
dcfe1118d4 increased EXPIRY_TIMEOUT from 1.5 days to 2.5 days 2016-03-10 10:30:37 +00:00
James Allen
89acd36dde Send .svg files as text/plain to prevent executable JS if they are loaded as SVG in the browser 2016-03-10 09:32:32 +00:00
James Allen
a3383f11a1 Make draft mode regex global 2016-02-02 15:28:59 +00:00
James Allen
2df886e330 Remove left over debug log line 2016-02-02 14:28:51 +00:00
James Allen
d96605d5e8 Inject [draft] option to documentclass if draft option is passed 2016-02-02 14:26:14 +00:00
James Allen
03b75b12cf Download up to 5 files in parallel 2016-02-01 13:19:16 +00:00
James Allen
86cf05c732 Support configurable images in wordcount end point 2016-01-19 14:12:41 +00:00
James Allen
4497352a3a Allow optional image name to be passed 2016-01-15 09:59:06 +00:00
Henry Oswald
601a3e4805 Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex 2015-12-15 19:34:34 +00:00
Henry Oswald
0ea28710f5 fixed missing value in logger 2015-12-15 19:33:37 +00:00
James Allen
2b5e7be964 Remove undefined reference to dst 2015-12-03 14:54:48 +00:00
Henry Oswald
c178458223 added try catch around word count where a file is not created 2015-11-12 15:19:22 +00:00
Henry Oswald
3ed29b3489 increased cache time to 1.5 days 2015-10-21 10:02:30 +01:00
Shane Kilkelly
29be2dc700 When serving output files, intelligently determine the appropriate content-type.
cherry pick 6fa3fda3ed28239cf3ac9720629f9707663aa197 from datajoy.
2015-09-21 16:59:35 +01:00
Henry Oswald
d83efdbc98 lock down smoke test and metrics version v0.2.0 2015-09-17 10:30:12 +01:00
Henry Oswald
f6af22879f Merge pull request #33 from sharelatex/pr/28
wordcount
2015-09-09 14:03:20 +01:00
Henry Oswald
74c393cda3 - fixed bug with texcount returning wrong data for nauty lines
- improved acceptence test for word count to use nauty lines
2015-09-09 13:52:45 +01:00
Henry Oswald
561eaa0d66 add -inc to word count
use -inc to word count included files

also moved private function to bottom
2015-09-09 12:47:08 +01:00
Henry Oswald
440d1c605f added test to check compile should continue on error downloading http
resource

also improved logging
2015-09-09 09:44:38 +01:00
Henry Oswald
6fae6ff40c don't error if a http resource can not be download
try and continue, log the error but you might still be able to
compile. prevents issue with badly uploaded images in filstore
2015-09-08 21:58:27 +01:00
Henrique Dias
caef254b80 move texcount to docker 2015-09-08 10:19:46 -03:00
Henrique Dias
ba475db052 Merge remote-tracking branch 'upstream/master' into texcount 2015-09-08 09:13:04 -03:00
Brian Gough
c2054a5ec3 add memory logger from metrics-sharelatex 2015-08-14 14:47:42 +01:00
Henry Oswald
f270ff9801 Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex 2015-06-12 17:11:11 +01:00
Henry Oswald
71d2427cf1 added some load tests in 2015-06-12 17:11:03 +01:00
Henrique Dias
a04d951b40 add unit test 2015-06-08 19:27:47 -03:00
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