Commit graph

19395 commits

Author SHA1 Message Date
Brian Gough
821f4b9a24 clean up timers when Aspell process exits 2015-03-12 11:13:58 +00:00
Brian Gough
00153e61ad trim output when error occurs 2015-03-12 11:12:46 +00:00
Brian Gough
3bbd0d49a9 don't let error events overwrite exit event
(not sure if this can happen but it would be bad if it did)
2015-03-12 10:27:50 +00:00
Brian Gough
c8103a4f35 don't run the idle shutdown timer if the process has errored 2015-03-12 10:27:11 +00:00
Brian Gough
3da42df92c log when a worker is removed from the pool 2015-03-12 10:26:52 +00:00
Brian Gough
3542918941 add logging for ASpell worker errors 2015-03-12 09:55:15 +00:00
Brian Gough
7936269804 add metrics for ASpell workers 2015-03-12 09:54:57 +00:00
Brian Gough
ed33cd59b7 show hit rate to 2dp only 2015-03-12 09:53:58 +00:00
Brian Gough
b684ed0837 put a unique end of stream marker in the session dictionary 2015-03-11 16:58:22 +00:00
Brian Gough
a655041bdd fix typo in iterator for cache object 2015-03-11 15:57:33 +00:00
Brian
31f6013172 increase delay for timeout in test 2015-03-11 15:38:19 +00:00
Brian
080f33335a added stress test example 2015-03-11 15:37:18 +00:00
Brian
c3a70b6184 fix bug in worker cleanup 2015-03-11 14:53:06 +00:00
Brian
220f82a395 store suggestions as language:word instead of word
avoid words like 'constructor' from accessing properties of
suggestions object.
2015-03-11 14:52:06 +00:00
Oliver Skånberg-Tippen
5df9f49a4e Rename 'javscript' to 'javascript' 2015-03-10 18:56:46 +00:00
Brian
9bb534707f shutdown workers when idle 2015-03-10 13:33:05 +00:00
Brian
9c0272445f extend worker to include request count 2015-03-10 13:32:42 +00:00
Brian
5ba5fd5533 fix caching logic to include valid words, as well as mispellings
include logging of cache hits
2015-03-10 13:31:06 +00:00
Winston Li
d697f75c77 pushFailsOnUnexpectedError integration test. 2015-03-10 12:14:10 +00:00
Winston Li
a0eb4b0946 pushFailsOnInvalidProject integration test. 2015-03-10 12:02:41 +00:00
Winston Li
c36a1de7c3 pushFailsOnInvalidFiles integration test. 2015-03-10 11:49:31 +00:00
Winston Li
105ab215b2 Bye travis. 2015-03-10 00:33:41 +00:00
Winston Li
896b00d4ac Add local repo config setting for travis. 2015-03-10 00:26:48 +00:00
Winston Li
7e803bb950 pushFailsOnSecondStageOutOfDate integration test. 2015-03-10 00:19:12 +00:00
Winston Li
d1156cb812 Remove exit code assertion from push failing as it is undefined. 2015-03-10 00:13:15 +00:00
Winston Li
9245037abf pushFailsOnFirstStageOutOfDate integration test. 2015-03-09 23:56:16 +00:00
Winston Li
4781a78926 canPushFilesSuccessfully integration test. 2015-03-09 23:37:58 +00:00
Winston Li
8f416cfd60 canPullDeletedNestedFiles integration test. 2015-03-09 23:22:40 +00:00
Winston Li
1de56ef76b canPullAModifiedNestedFile integration test. 2015-03-09 23:15:27 +00:00
Winston Li
f0f5333161 canPullADeletedBinaryFile integration test. 2015-03-09 23:08:53 +00:00
Winston Li
5e8e042ad2 canPullAModifiedBinaryFile integration test. 2015-03-09 23:02:57 +00:00
Winston Li
60ca2f1788 canPullAModifiedTexFile integration test. 2015-03-09 22:55:00 +00:00
Winston Li
5a00c84359 Refactor with deletion and tests. 2015-03-09 22:41:55 +00:00
Winston Li
8993702f69 Initial large refactor. 2015-03-09 22:41:55 +00:00
Winston Li
79307923ad Allow null directories in directory deletion methods. 2015-03-09 22:35:40 +00:00
Winston Li
83db4e6a10 Joda-Time for ISO6801 timestamps. 2015-03-09 21:38:53 +00:00
Winston Li
e7c1b29008 Change timestamp parsing to include milliseconds. 2015-03-09 21:29:03 +00:00
Brian
10c3d3eb70 replace deprecated res.send(code) with res.sendStatus(code) 2015-03-09 15:56:49 +00:00
Brian
21c664b28c fix variable mismatch in error handler 2015-03-09 15:52:25 +00:00
James Allen
0f69ee0f22 Add in proxy for /socket.io so that we don't need to faff with real-time service location 2015-03-09 14:09:09 +00:00
James Allen
bb61dfe34a Show nice error page if socket.io could not be loaded 2015-03-09 13:57:13 +00:00
James Allen
d376acdaa9 Allow an __appName__ parameter in translations 2015-03-09 12:14:30 +00:00
Brian Gough
b41cdb424b Merge branch 'master' of github.com:sharelatex/web-sharelatex
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-03-06 15:03:52 +00:00
Brian Gough
24b2844ece avoid race condition loading underscore
make underscore.coffee angular module depend on libs, which depends on
underscore-1.3.3

Have avoided adding an extra dependency on underscore itself so that
the version number is not duplicated.  We could have a single
definition of underscore in the requirejs config, to keep the version
number in one place.
2015-03-06 15:03:30 +00:00
Henry Oswald
1bd2404be1 remove whitespace before internal settings and add realtime config to settings.development.coffee.example 2015-03-05 18:06:06 +00:00
Winston Li
e6bdbe8f17 Fix the rest of the tests 2015-03-05 15:39:05 +00:00
Winston Li
5df8b2b65f Change 2 tests to launch git in separate process. 2015-03-05 15:21:28 +00:00
Henry Oswald
983f9bb870 Use nodejs 0.10.x 2015-03-04 22:42:11 +00:00
Henry Oswald
97f0fad525 add vat number option to payment form 2015-03-04 18:08:06 +00:00
Henry Oswald
80dc2f9224 send coupon code server side to be applied to users subscription 2015-03-04 17:50:24 +00:00