Commit graph

18604 commits

Author SHA1 Message Date
Brian Gough
63ee4d1e7d use close event instead of exit to capture stdout/stderr correctly 2015-03-13 10:10:21 +00:00
Brian Gough
0e5abe1ff8 update tests to use safe_exec 2015-03-13 09:31:43 +00:00
Brian Gough
33d8974d02 kill process group on timeout of convert commands 2015-03-12 17:09:27 +00:00
Brian Gough
01d5322ef3 fix end of stream marker to handle languages like en_GB
when using language like 'en_GB' aspell reports it as 'en' in response
to $$l
2015-03-12 14:41:23 +00:00
James Allen
5da5c5c435 Accept arrays of messages to send to client 2015-03-12 14:32:35 +00:00
Brian Gough
a91faaf55c use the language code $$l as the end of stream marker
cannot use a custom word in the session dictionary due to language
restrictions on allowed characters, e.g. armenian 'hy' does not allow
latin characters
2015-03-12 12:33:45 +00:00
Brian Gough
86d1092f85 include log line for each spell check 2015-03-12 11:43:09 +00:00
Brian Gough
e4a3e63ff7 remove unused parameter 2015-03-12 11:42:59 +00:00
Brian Gough
c9771272df include log message for process timeout 2015-03-12 11:24:04 +00:00
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