Commit graph

17723 commits

Author SHA1 Message Date
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
Eric Mc Sween
62a0c57021 Merge pull request #1927 from overleaf/as-fix-hard-coded-module-import
Fix hard coded module import

GitOrigin-RevId: b41dbe5fc5c65a238f0a482023f19b023f6dc89f
2019-07-04 12:51:32 +00:00
Eric Mc Sween
f7b4ae1e1a Merge pull request #1938 from overleaf/jel-login-line-height
Only apply custom line-height on login page to <hr/>

GitOrigin-RevId: 43f8be3847de93f706fa04e5d09e19ff33fc0212
2019-07-04 12:51:27 +00:00
Eric Mc Sween
545b57d6be Merge pull request #1939 from overleaf/jel-no-search-results
Show message when there are no learn wiki search results

GitOrigin-RevId: cb1600baeb4a9860575385be78a825cb3942903a
2019-07-04 12:51:22 +00:00
Eric Mc Sween
a31090daab Merge pull request #1944 from overleaf/em-password-reset
Store the email address in the password reset token data

GitOrigin-RevId: 9aa2eaff49de9ac88258cb996202934dab71cc0a
2019-07-04 12:51:16 +00:00
Henry Oswald
8042a415ec move pubsub traffic over to a pubsub redis connection string 2019-07-04 13:38:39 +01:00
Henry Oswald
3b3b2da0f5 add pubsub redis connection and remove real time redis connection 2019-07-04 13:34:31 +01:00