Commit Graph
18729 Commits
Author SHA1 Message Date
Brian Gough e632f9f29d only create per-client metrics when there are multiple redis clients 2019-07-11 11:35:48 +01:00
Miguel Serrano 74c9a3c095 updated API Manager to call aspell in batches (#30) 2019-07-11 12:29:00 +02:00
Miguel Serrano 6b3e7e4ffc replace bunyan error serializer with custom one (#14) 2019-07-11 12:11:09 +02:00
Brian Gough 80f8f2465e remove unused pubsub client 2019-07-11 11:10:33 +01:00
Brian Gough 0c8922c769 Merge pull request #76 from overleaf/bg-get-updates-from-cluster
fix cluster/sentinel connection with real-time
2019-07-10 09:53:18 +01:00
Brian Gough 97487a077e fix cluster/sentinel connection with real-time 2019-07-10 09:42:05 +01:00
Miguel Serrano a28ecc0c39 Added acceptance tests for the spelling module (#29) 2019-07-09 20:12:30 +02:00
Brian Gough a50c096eae Merge pull request #58 from overleaf/bg-support-multiple-redis-pubsub
support multple redis instances for pubsub
2019-07-09 15:07:42 +01:00
Brian Gough 689a75f397 add logging for redis clients at start up 2019-07-09 14:18:39 +01:00
Brian Gough dd54789e2b fix build problems 2019-07-09 12:20:59 +01:00
Brian Gough 580b100362 only publish to one redis client in WebsocketLoadBalancer
but listen to all of them
2019-07-09 12:03:13 +01:00
Brian Gough 999cbd8ee6 add a per-client metric 2019-07-09 12:01:58 +01:00
Shane Kilkelly 7b308966d2 Merge pull request #56 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-09 11:50:23 +01:00
Brian Gough cb289f2dec make redis client list dynamic based on settings 2019-07-09 11:45:00 +01:00
Shane Kilkelly dbede8509c Merge pull request #54 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-09 10:18:16 +01:00
Henry Oswald 95a7069178 Merge pull request #1953 from overleaf/ho-update-error-package
Ho update error package

GitOrigin-RevId: 83904fc3f29ad830223d4f961c0ee3d967d5625b
2019-07-08 15:41:39 +00:00
Henry Oswald 97356e3e23 Merge pull request #1941 from overleaf/ho-pubsub-redis-connection
use pubsub redis connection

GitOrigin-RevId: 9c0686098c63f9d573abe5c3d0a450db3f609ef1
2019-07-08 15:41:33 +00:00
Brian Gough b5f9bc422b support multple redis instances for pubsub 2019-07-08 15:56:25 +01:00
Simon Detheridge a9d8e938ca Merge pull request #39 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-08 14:03:58 +01:00
Henry Oswald 06ad0f7acd Merge pull request #75 from overleaf/ho-pubsub-connection
Remove real time redis connection and consolidate on pubsub
2019-07-08 13:58:41 +01:00
Henry Oswald 374585f47d Merge pull request #72 from overleaf/sk-dep-upgrades-2019-06
Update logger, metrics, and redis
2019-07-08 13:58:28 +01:00
Henry Oswald 94b787f467 Merge pull request #71 from overleaf/ho-detailed-flush-status
return failed and succesfully flushed projects when flushing everything
2019-07-08 13:58:17 +01:00
Henry Oswald 6d4649c842 Merge pull request #60 from overleaf/ho-pubsub-healthcheck
Ho pubsub healthcheck
2019-07-08 13:32:52 +01:00
John Lees-Miller 0dd8b124bd Remove private from package.json 2019-07-08 13:24:03 +01:00
John Lees-Miller bc224b43c9 Add repository to package.json 2019-07-08 13:22:49 +01:00
John Lees-Miller bf8448073c Merge pull request #5 from overleaf/publish
Prepare to publish v2
2019-07-08 13:18:56 +01:00
Henry Oswald 520857cf7a simplify redis continual traffic
we can't send double health check events to same redis, it causes
health check duplicate errors. Commit just sends health check data to
pub sub pair and then sends non health check traffic to cluster to keep
the connection open
2019-07-08 12:07:28 +01:00
John Lees-Miller 79804a8e2f Remove unreachable code 2019-07-08 11:57:28 +01:00
Henry Oswald 1038c5cd0d send health check to pubsub channel and use different var name 2019-07-08 11:53:42 +01:00
John Lees-Miller 9725b1bf0c Bump to 2.0.0 2019-07-08 11:52:59 +01:00
John Lees-Miller 96ab30883a Remove ES5 interface 2019-07-08 11:52:59 +01:00
John Lees-Miller bdde7fac65 Move shrinkwrap to package-lock 2019-07-08 11:46:11 +01:00
John Lees-Miller 295a603ca5 Update readme for @overleaf/o-error 2019-07-08 11:45:41 +01:00
John Lees-Miller 970dcb4e8e Update metadata for publishing 2019-07-08 11:35:29 +01:00
John Lees-Miller 5563844151 Merge pull request #4 from overleaf/ta-update
Update to OError
2019-07-08 11:32:59 +01:00
Henry Oswald eadef7b133 Merge pull request #59 from overleaf/ho-redis-natmap-sentinel
Move pubsub to seperate connection
2019-07-08 11:18:12 +01:00
Henry Oswald 9953c933ee Update package.json 2019-07-08 11:18:02 +01:00
Henry Oswald 487865fad3 Merge pull request #57 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-08 11:17:29 +01:00
Henry Oswald 42e5d2fb6e Update app.coffee 2019-07-08 11:17:08 +01:00
Shane Kilkelly 26af3e091f Merge pull request #1940 from overleaf/sk-catch-gitbridge-content-errors
GitBridge: catch 404 errors when fetching content from git-bridge api
GitOrigin-RevId: 411759ebae1fb81ebfa942e117d1ef3c47215d0e
2019-07-08 09:06:35 +00:00
Shane Kilkelly bc646829b4 Merge pull request #70 from overleaf/sk-handle-files-with-spaces
Use UUID in file url, not (encoded) file path.
2019-07-08 09:28:41 +01:00
Tim Alby d63812c557 update tests 2019-07-05 18:55:53 +02:00
Tim Alby 9afd8e4e5d change exports 2019-07-05 18:45:43 +02:00
Tim Alby 626e6267ae update README with OError naming 2019-07-05 15:50:58 +02:00
Tim Alby 76b13e7d35 rename to OError 2019-07-05 15:25:22 +02:00
Tim Alby 9c1b48a5e4 remove ErrorWithStatusCode 2019-07-05 15:24:11 +02:00
Shane Kilkelly 88adce3a02 Use UUID in file url, not (encoded) file path.
This fixes a bunch of issues where funny characters in the file path
(spaces, unicode, etc) would cause the file server in this process to
respond with a 404 when asked for the file. The 404 would then cause
the push to fail.

Now we just use a UUID as an opaque and unambiguous identifier for each file.
2019-07-05 11:07:47 +01:00
Shane Kilkelly 1e3b973d9a Merge pull request #69 from overleaf/sk-update-local-config-2019-07
Point local OAuth config at v2
2019-07-05 11:06:46 +01:00
Miguel Serrano ba642b9807 fixed renaming missing callback (#28) 2019-07-05 10:30:43 +01:00
Miguel Serrano 46d0cf9c4b increased logging info (#27) 2019-07-04 15:17:14 +01:00