Commit graph

17862 commits

Author SHA1 Message Date
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
Miguel Serrano
6ca60b8724 improved error handling and increased timeout (#26) 2019-07-04 11:55:16 +01:00
Timothée Alby
c63cc52fda Merge pull request #3 from overleaf/ta-info-undefined
Handle Custom Errors Created Without Info
2019-07-04 10:40:02 +02:00
Tim Alby
7bb8a5bd11 handle custom errors created without info 2019-07-04 10:38:56 +02:00
Miguel Serrano
0518840b4e updated node version to v10 and removed v8 profiler (#25) 2019-07-03 14:19:01 +01:00
Simon Detheridge
0e1c021353 Merge pull request #40 from overleaf/spd-destroy-docs
Add endpoint to completely purge a project's documents
2019-07-03 13:57:34 +01:00
Miguel Serrano
0eba057cef Initial decaffeination (#24) 2019-07-03 13:41:01 +01:00
Simon Detheridge
02a4289422 Merge pull request #1928 from overleaf/jel-email-after-registration
Send welcome email after registration

GitOrigin-RevId: 1f2b34299e6f4a1e4e44c100711e8f3b8db54595
2019-07-03 11:11:00 +00:00
Henry Oswald
a42aa45a36 Merge branch 'sk-dep-upgrades-2019-06' into ho-pubsub-connection 2019-07-03 10:18:13 +01:00
Jessica Lawshe
f8d895100a Return custom error if provider linked to another account
GitOrigin-RevId: c34a615b210a22e220736c9ba44d17be5add491b
2019-07-03 08:50:51 +00:00
Shane Kilkelly
11e42ecb6f Point local config to v2 2019-07-03 09:37:11 +01:00
Henry Oswald
eed8e215d7 bump redis-sharelatex (and io redis) to 1.0.9 2019-07-02 16:58:30 +01:00