Commit graph

19073 commits

Author SHA1 Message Date
James Allen
185514ea35 Fix failing unit test 2015-03-19 16:41:09 +00:00
Brian Gough
3bdf2158c1 avoid exception on page size change 2015-03-19 14:26:06 +00:00
James Allen
9b8cf7bcfa Remove public registration and require that a user be registered by an admin 2015-03-19 14:22:48 +00:00
Brian Gough
6320fcccec remove underscore from pollSavingStatus
the underscore module is not loading in time for some users on MacOS
2015-03-19 14:22:22 +00:00
James Allen
d76ef86077 Tell user to contact admin email to register 2015-03-18 16:20:26 +00:00
James Allen
93a088618a Return proper error from registration handler 2015-03-18 16:19:48 +00:00
James Allen
cb948fede2 Move email sending into registration controller 2015-03-18 15:57:01 +00:00
Brian Gough
adb98d05b5 sentry 1.1.16 does not yet support release parameter, use build tag instead 2015-03-18 15:50:26 +00:00
Brian Gough
27d59eeac9 Merge pull request #160 from sharelatex/report-build-to-sentry
add grunt version target to report version to sentry
2015-03-18 13:23:31 +00:00
Sibren Vasse
f4f74a2baf Fix for adblock blocking loginscreen. 2015-03-17 20:14:55 +01:00
Brian Gough
5d788ca7c5 add grunt version target to report version to sentry
it writes the git commit id and Jenkins build number into the sentry
configuration
2015-03-17 16:59:17 +00:00
Brian Gough
d7e53941b6 Merge branch 'master' of github.com:sharelatex/clsi-sharelatex 2015-03-16 16:47:56 +00:00
Brian Gough
59c25fc703 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
896a7c36ce Merge pull request #17 from sharelatex/add-v8-performance
add v8 profiler
2015-03-16 15:18:48 +00:00
Brian Gough
9ee2706410 add v8 profiler on /profile?time=MS url 2015-03-16 15:02:45 +00:00
Brian Gough
a5e63f7261 Merge pull request #18 from sharelatex/terminate-processes
Use process group to terminate processes
2015-03-13 11:32:57 +00:00
Brian Gough
143d44e54b add tests for SafeExec module 2015-03-13 10:15:53 +00:00
Brian Gough
a7b9376919 use SIGTERM instead of SIGKILL to allow process to shut down cleanly 2015-03-13 10:15:37 +00:00
Brian Gough
9aaef729ad cleanup and comments 2015-03-13 10:10:51 +00:00
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