Commit graph

17886 commits

Author SHA1 Message Date
Shane Kilkelly
04c3e4340d Merge pull request #534 from sharelatex/ho-group-plan-redirect
null check subscription for group admin panel
2017-06-27 08:24:10 +01:00
Brian Gough
59ace9d5c5 avoid long lines in timeout check 2017-06-26 16:36:05 +01:00
Paulo Reis
f993966935 Typo in gruntfile. 2017-06-26 16:27:12 +01:00
Paulo Reis
7e7bfa866d Ignore map files in git. 2017-06-26 16:15:28 +01:00
Paulo Reis
5b9e5ecd13 Update grunt tasks to generate source maps. 2017-06-26 16:14:03 +01:00
Paulo Reis
3bc4beee07 Add Angular source maps and unminified bundle. 2017-06-26 16:13:05 +01:00
Shane Kilkelly
0d5d59bb66 Remove user field from log, var not in scope 2017-06-26 13:56:22 +01:00
Brian Gough
8e1e14c9ca update to redis-sharelatex 1.0.3
adds keepalive support
2017-06-26 13:49:44 +01:00
Brian Gough
cf87ef7dd1 Merge pull request #3 from sharelatex/bg-support-opts-for-cluster
add support for passing options to cluster
2017-06-26 13:43:36 +01:00
Paulo Reis
1bc38b2ea7 Use Angular minified bundle. 2017-06-26 10:07:15 +01:00
Paulo Reis
9ffec6eb16 Correctly access response parameters. 2017-06-26 10:00:47 +01:00
Brian Gough
963e513057 add a timeout for getPreviousDocOps
it uses several redis operations and this makes it prone to subsequent
timeouts if getDoc succeeds but is slow
2017-06-23 15:50:21 +01:00
Shane Kilkelly
a55debb79f Send a 404 if the project files have gone away when running synctex.
This is semantically nicer than the 500 response which used to be
produced in these circumstances.
2017-06-23 14:46:40 +01:00
Shane Kilkelly
a03bfbc020 Use post-filtering for whitelist, like learnedWords 2017-06-23 10:00:47 +01:00
Shane Kilkelly
407283ee3c Fix a daft mistake, blank out whitelisted words, rather than remove
This had caused an issue whereby spelling-mistakes would be highlighted
on the wrong word in the client. This was a function of how many whitelisted
words had already occured in the sequence. An off-by-n error.
2017-06-23 09:14:39 +01:00
Shane Kilkelly
23fe93ccfd Prevent double-logging 2017-06-22 15:28:08 +01:00
Henry Oswald
3da5ef818c null check subscription for group admin panel 2017-06-22 14:07:07 +01:00
Shane Kilkelly
00358aa14b Use more robust checking of error values 2017-06-22 10:09:30 +01:00
Shane Kilkelly
b7f79699fc Pin sinon version 2017-06-22 10:09:20 +01:00
Shane Kilkelly
ba9477cdb3 Re-work error checking 2017-06-22 09:41:36 +01:00
Shane Kilkelly
e19806cf8b Mock out metrics in test 2017-06-22 09:24:08 +01:00
Shane Kilkelly
7842bcd24f Add a whitelist of words which should not be spellchecked 2017-06-22 09:23:47 +01:00
Paulo Reis
33be384206 Avoid implicitly returning from a directive controller constructor function. 2017-06-21 16:00:56 +01:00
Shane Kilkelly
d0bbe8beae If optipng is sigkilled by timeout, then ignore that error 2017-06-21 15:18:36 +01:00
James Allen
950c1249eb Support per user track changes (proof of concept) 2017-06-21 13:40:28 +01:00
Shane Kilkelly
0c65c4d963 add the driver field to email config 2017-06-21 10:59:19 +01:00
Shane Kilkelly
1112a1f085 Instantiate the ses client if explicitly specified.
This allows end-users to use AWS features such as instance roles,
avoiding the use of explicit crendentials
2017-06-21 10:57:13 +01:00
Paulo Reis
ddee75e479 Use a getterSetter to manage int values in settings. 2017-06-20 17:08:53 +01:00
Paulo Reis
669c705d32 Also refactor signatures from methods wrapping the HTTP service. 2017-06-20 16:27:05 +01:00
Paulo Reis
3dda383d70 Use promise method signatures, instead of old HTTP service ones. 2017-06-20 16:04:06 +01:00
Paulo Jorge Reis
2dda430691 Merge pull request #522 from sharelatex/bg-hide-textlayer-for-performance
set text layer to display:none for faster scroll
2017-06-20 13:58:20 +01:00
Shane Kilkelly
8b7a1bd4d9 Merge branch 'sk-labels-ac-debounce' 2017-06-20 13:53:23 +01:00
Paulo Reis
155f515a50 Use standard promises with the http service. 2017-06-20 11:50:23 +01:00
Paulo Reis
eab00c95df Include Angular 1.6. 2017-06-20 11:49:33 +01:00
Paulo Reis
97f3f7c2db Add latest Angular bundles. 2017-06-20 10:38:56 +01:00
Shane Kilkelly
4b14de05c9 Killing an already stopped project is not an error
Log a warning instead and continue.
2017-06-20 09:18:15 +01:00
Shane Kilkelly
3d2d7652c6 Simplified and faster blanking 2017-06-20 08:46:47 +01:00
Shane Kilkelly
b4e2dcf7ef Match prefixes of ref and cite up to 16 characters 2017-06-20 08:46:28 +01:00
Shane Kilkelly
a299af12e8 Remove debug helper 2017-06-20 08:46:18 +01:00
Shane Kilkelly
65eaf0ad10 Mock out logger in tests 2017-06-20 08:25:50 +01:00
Brian Gough
bac275962f put /ip on web router 2017-06-19 15:54:57 +01:00
Brian Gough
d32a3fbaf5 support status and health check on web and web-api 2017-06-19 15:54:14 +01:00
Brian Gough
02cb0f2295 make compiler health check available on web 2017-06-19 15:52:04 +01:00
Brian Gough
bda88c0356 remove the key_schema from options passed to redis 2017-06-19 15:46:21 +01:00
Brian Gough
412c823483 remove the red highlighting of the text layer 2017-06-19 14:58:22 +01:00
Brian Gough
bce937f562 add support for passing options to cluster 2017-06-16 15:28:55 +01:00
Shane Kilkelly
85ddff15cb Move command-matching regex to the class level 2017-06-16 10:20:55 +01:00
Shane Kilkelly
0163ffc4bd Extend, and clean up the command-matching regex 2017-06-16 10:17:30 +01:00
Shane Kilkelly
1d905bd5ff Clean up string replacement 2017-06-16 09:49:16 +01:00
Shane Kilkelly
d9aff3c3f4 Blacklist more commands 2017-06-16 09:41:40 +01:00