Commit graph

19237 commits

Author SHA1 Message Date
Henry Oswald
1d21bddcf5 fix Onetime token handler path 2015-05-27 15:06:36 +01:00
Brian Gough
cdbd7af500 Merge branch 'fix-leak-in-smoke-tests' 2015-05-26 16:33:51 +01:00
Brian Gough
a5d14f4ffb handle unexplained case where smokeTestModule is undefined 2015-05-26 16:33:02 +01:00
Henry Oswald
481bd67fbd changed paths to use hyphens and add succesfull join page 2015-05-26 15:26:45 +01:00
Henry Oswald
94b26e71a4 ignore test script 2015-05-26 15:25:24 +01:00
Henry Oswald
841231dbf8 make PasswordResetTokenHandler generic so it can be used for invites 2015-05-26 15:24:09 +01:00
Brian Gough
2521c8f751 added npm packages for pack.coffee script 2015-05-26 14:14:51 +01:00
Henry Oswald
a715d60e1c Merge pull request #184 from sharelatex/fix-leak-in-smoke-tests
port leak fixes from smoke-test-sharelatex module
2015-05-26 11:07:51 +01:00
Brian Gough
66bca8d05c include the current date in the updates to docHistoryStats 2015-05-26 11:00:55 +01:00
Brian Gough
e51cdb81bd port leak fixes from smoke-test-sharelatex module 2015-05-26 10:54:55 +01:00
Henry Oswald
12bf268978 Merge branch 'master' into emailverification 2015-05-25 11:51:46 +01:00
Henry Oswald
d774ca7e0a added sigma-master 2015-05-25 11:37:53 +01:00
Brian Gough
bbbe2077f0 Merge pull request #3 from sharelatex/autopack
Move pack migration logic into PackManager
2015-05-22 15:49:01 +01:00
Brian Gough
1811ac2145 added support for cleaning old expired ops in packs 2015-05-22 15:40:02 +01:00
Brian Gough
5c4afd5303 add docHistoryStats collection to keep track of updates to docs 2015-05-22 15:40:01 +01:00
Brian Gough
78f0bdbae3 fix name of temporary parameter to match other methods 2015-05-22 15:40:01 +01:00
Brian Gough
adc2866a7d add check to exclude temporary ops from packs 2015-05-22 15:40:01 +01:00
Brian Gough
ffeb1cccb6 move pack migration code into PackManager 2015-05-22 15:40:01 +01:00
Henry Oswald
cad8d8a23b v1 basic invite works, not pretty or tested 2015-05-22 13:57:15 +01:00
Brian Gough
8d3e0b2353 added consistency check to pack migration script 2015-05-21 15:46:29 +01:00
Brian Gough
3dec42be2a Merge pull request #23 from sharelatex/add-mysql-indexes
add indexes to mysql db
2015-05-21 12:21:59 +01:00
Brian Gough
5b81a9b12e Merge pull request #22 from sharelatex/upgrade-sequelize
upgrade sequelize and mysql
2015-05-21 12:21:50 +01:00
Brian Gough
6ac7161f19 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
cbbe4f2ff6 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
44e1dc8c0c added comments 2015-05-21 11:33:13 +01:00
Brian
9a41def921 increase time allowed for exiting ASpellWorker test from 100ms to 1s 2015-05-20 20:42:49 +01:00
Brian
81fb8de1db allow mocha timeout to be specified on grunt command line 2015-05-20 20:41:51 +01:00
Brian Gough
f70476284b move callback _.once down to Worker, add handler for process close event
should fix timeout errors in tests
2015-05-20 11:53:28 +01:00
Brian Gough
6a241cba28 add grep option to grunt test:unit 2015-05-20 11:45:32 +01:00
Brian Gough
6e0d72a3b1 timeout does not need async test here 2015-05-20 11:45:17 +01:00
Brian Gough
da7250c6f2 disable logger in tests 2015-05-20 11:44:54 +01:00
Brian Gough
cc9c8fdc94 freeze Date in Recurly tests before all calls
beforeEach freezes and resets for each subtest, which does not give
the desired result as the time increases between each subtest, we want
to freeze once at the beginning and reset at the end using before/after.
2015-05-19 15:00:30 +01:00
Brian Gough
85a4bf0da6 add tests calling zlib.gzip directly (for debugging) 2015-05-19 14:39:47 +01:00
Brian Gough
85eab2e967 modify DispatchManager test to allow for slow shutdown 2015-05-19 14:23:32 +01:00
Henry Oswald
f5c39efcac patched xss hole with messages not setting the content type correctly 2015-05-19 11:04:52 +01:00
Henry Oswald
47d4ed9631 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2015-05-18 16:10:07 +01:00
Henry Oswald
2bc39ddf0b added sigma.js lib used for module spike 2015-05-18 16:09:47 +01:00
Brian Gough
3051d7dab6 modify LockManager test to avoid dependence on timing 2015-05-18 09:14:28 +01:00
Brian Gough
57f6919485 modify LockManager test to avoid dependence on timing 2015-05-18 09:03:51 +01:00
Brian Gough
e379068fa3 upgrade sequelize and mysql 2015-05-15 16:58:27 +01:00
Brian Gough
6ebcd9e8fd add indexes to db 2015-05-15 16:28:35 +01:00
Brian Gough
66fc2715dc clean up error handling in UrlFetcher 2015-05-15 16:28:11 +01:00
Brian Gough
608b1dd657 replace deprecated send(code,body) calls 2015-05-15 16:27:39 +01:00
Brian Gough
aa32cbc1ee clean up stream handling for file copy 2015-05-15 16:25:49 +01:00
Brian Gough
56f1ffa067 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
Winston Li
98007ae64c Merge pull request #11 from overleaf/fix-delete-directory-apart-from-npe
avoid NPE if project directory does not exist; fixes #10
2015-05-15 12:34:44 +01:00
James Allen
844b75cd21 Merge pull request #181 from dpasqualin/master
Update bcrypt to 0.8.3
2015-05-15 10:53:58 +01:00
Henry Oswald
9329249bc9 Revert "reduce memory capture in http logger"
This reverts commit fc2e043b20204e04f240814d4efc05762db7df96.

Had to revert this because req.route.path is not set until a matching
route has been hit, so it was always null inside res.end meaning
statsd data was never sent over.

This commit did not actually stop the memory leak so reverting it
has not short term repocusion
2015-05-14 16:14:24 +01:00
Henry Oswald
7dfdad02f5 change regex checking file request ensure other files can not be accessed 2015-05-12 15:18:09 +01:00
Diego Giovane Pasqualin
7c6ed0ff77 Update bcrypt to 0.8.3
This new version compiles successfully on nodejs newer than 0.10.
2015-05-11 16:43:29 -03:00