Commit Graph
5375 Commits
Author SHA1 Message Date
James Allen 320e225700 Send .svg files as text/plain to prevent executable JS if they are loaded as SVG in the browser 2016-03-10 09:32:32 +00:00
Brian Gough 8239bcd0b5 dump the cache every 30 minutes and load at startup 2016-03-04 11:58:37 +00:00
Brian Gough fdd9357a42 upgrade lru-cache module to avoid performance regression with node 4.2
Fix performance regression on Node 4x #55
https://github.com/isaacs/node-lru-cache/pull/55
2016-03-04 11:33:35 +00:00
Henry Oswald ef133cbf9a fix bad res.send 2016-03-01 13:22:51 +00:00
Henry Oswald b872fbee32 add error check into health check 2016-03-01 13:20:20 +00:00
Henry Oswald 872612a8d3 added null check to health check controller 2016-02-29 12:50:37 +00:00
Henrique Dias 957e9cd486 Merge branch 'master' of https://bitbucket.org/sharelatex/notifications-sharelatex 2016-02-05 07:41:34 -02:00
Henrique Dias c3514fd453 add mark key endpoint 2016-02-05 07:38:32 -02:00
Marc Egea i Sala 0669f53fcb Merge pull request #9 from overleaf/file-too-big-exception
Provide sensible error message for LargeObjectException
2016-02-05 08:14:39 +00:00
Henry Oswald 8050f5ea08 change settings to 3042 2016-02-04 14:22:13 +00:00
Henry Oswald 7f74263cdc default port to 3042 2016-02-04 13:46:59 +00:00
Henry Oswald 35e0eafc95 cleaned up health check a little 2016-02-04 13:44:17 +00:00
Henry Oswald b53dd50340 default port 3041 2016-02-04 13:38:33 +00:00
Henry Oswald 5dd890bfc3 Merge branch 'master' of bitbucket.org:sharelatex/notifications-sharelatex 2016-02-04 11:48:25 +00:00
Marc Egea i Sala 7048032463 Exception to handle files too big to be processed 2016-02-04 10:22:18 +00:00
James Allen 263ee43cb5 Make draft mode regex global 2016-02-02 15:28:59 +00:00
James Allen 97b5ac6a7f Remove left over debug log line 2016-02-02 14:28:51 +00:00
James Allen 0f55ce18ac Inject [draft] option to documentclass if draft option is passed 2016-02-02 14:26:14 +00:00
James Allen 37dbdc21bb Download up to 5 files in parallel 2016-02-01 13:19:16 +00:00
Henrique Dias 6291a8d2cf fix user_id type 2016-01-21 14:34:12 -02:00
Henry Oswald 84aad3e184 unset messageOpts as well 2016-01-21 13:40:24 +00:00
James Allen 030abc5340 Don't flush to track changes now that this happens in doc updater 2016-01-20 17:51:24 +00:00
James Allen 3c7c318ea0 Clean up and speed up unit tests by making sure requires are mocked 2016-01-20 17:36:06 +00:00
James Allen af5d01e440 Flush track changes when unloading data from redis 2016-01-20 15:05:31 +00:00
James Allen 184c9031cd Delete doc from redis after a full set if it wasn't in redis before 2016-01-20 14:31:25 +00:00
Henrique Dias 50d66e9f31 add metrics 2016-01-20 11:57:29 -02:00
Marc Egea i Sala 1e845bafc2 Merge pull request #8 from overleaf/custom-error-on-auth-fail
Provide custom message on 401 errors
2016-01-20 08:23:22 +00:00
James Allen de280d0ed4 Support configurable images in wordcount end point 2016-01-19 14:12:41 +00:00
Marc Egea i Sala b3e140ed40 Provide custom message on 401 errors 2016-01-19 10:44:03 +00:00
Henrique Santos 797353de15 add basic unit tests 2016-01-16 18:28:19 -02:00
James Allen d924da0d2d Allow optional image name to be passed 2016-01-15 09:59:06 +00:00
Henrique Santos 2c81b978cf make it works 2016-01-14 18:42:48 -02:00
Henrique Santos 1e60327f2e create scaffolding base on tags repo 2016-01-14 10:35:16 -02:00
Winston Li 850cbcf0c6 Merge bug fixes with oauth2 skipping 2016-01-04 04:34:26 +00:00
Winston Li 53d3033b5c Implement auth skipping on non-protected projects 2016-01-04 04:14:50 +00:00
Winston Li a9a74890d2 Delete stuff that should be gitignored 2016-01-04 02:53:40 +00:00
Henry Oswald 9b6999085a Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex 2015-12-15 19:34:34 +00:00
Henry Oswald e8e0b673eb fixed missing value in logger 2015-12-15 19:33:37 +00:00
James Allen b28e5ac6b2 Use configurable app name if present 2015-12-07 11:49:55 +00:00
Marc Egea i Sala 00cadba2b0 Merge pull request #7 from overleaf/fix-error-log-folder
Fix error log folder
2015-12-07 10:16:02 +00:00
James Allen 73cd1a3e92 Use latest version of metrics with suitable event loop monitoring 2015-12-03 16:50:56 +00:00
James Allen 3b559d3966 Remove undefined reference to dst 2015-12-03 14:54:48 +00:00
Henry Oswald 1541eb319c add more null checks to health check 2015-12-02 10:10:52 +00:00
Henry Oswald a964119b5e check err in health check and null check res 2015-12-01 21:50:18 +00:00
James Allen 5b17764da2 Pin down logger version number 2015-12-01 17:28:26 +00:00
James Allen 3580e3ba6b Update to latest logger 2015-12-01 17:18:45 +00:00
Brian Gough e8f09f3357 added comment about flushing to track changes 2015-12-01 16:03:05 +00:00
Brian Gough 6e97521971 Revert "Merge pull request #4 from sharelatex/flush-ops-from-redis"
This reverts commit 84a9ad8b67b860a92271cf7bb669cf21cc0b5b86, reversing
changes made to a6d4649f4f2db06862e8cbc5e132a073ce8c20b2.
2015-12-01 15:58:40 +00:00
Brian Gough 13e22e1802 Revert "only flush to track-changes when ops are queued"
This reverts commit 0baa8f989481ca263fa71e90af21f13b29c29504.
2015-12-01 15:48:49 +00:00
Brian Gough 64f5d5526e Revert "update tests"
This reverts commit 501e891760fd5c5bd0e6ffc75f866fd565561f31.
2015-12-01 15:48:31 +00:00