Commit Graph
5375 Commits
Author SHA1 Message Date
Jakob Ackermann f036a7098b Merge pull request #177 from overleaf/jpa-bg-issue-3291
clean up join/leave handling
2020-08-12 13:04:29 +02:00
Jakob Ackermann a0028646a5 [app] ignore errors from accessing disconnected client sockets
Technically `EHOSTUNREACH` and `ETIMEDOUT` should go into a
 'disconnected_read' metric. But this would require changes to
 dashboards and a larger diff.
2020-08-12 11:45:49 +01:00
Brian GoughandJakob Ackermann 831d794bf4 clean up join/leave handling
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-08-12 10:54:22 +01:00
Simon Detheridge 0c83e19863 Merge pull request #63 from overleaf/spd-object-persistor
Add support for object-persistor
2020-08-11 10:44:25 +01:00
Jakob Ackermann 7b64820484 [misc] add back environment variables for gcs buckets 2020-08-10 18:01:52 +01:00
Jakob Ackermann c722a79e93 [misc] bump the dev-env to 3.3.2 2020-08-10 17:23:15 +01:00
Jakob Ackermann 370baa06c3 [misc] bump the dev-env to 3.3.2 2020-08-10 17:10:31 +01:00
Jakob Ackermann e92b1fa063 [misc] bump the dev-env to 3.3.2 2020-08-10 17:10:30 +01:00
Jakob Ackermann 7f19fa6081 [misc] bump the dev-env to 3.3.2 2020-08-10 17:01:12 +01:00
Jakob Ackermann f0551307d2 [misc] bump the dev-env to 3.3.2 2020-08-10 17:01:12 +01:00
Jakob Ackermann 56abdff05a [misc] bump the dev-env to 3.3.2 2020-08-10 17:01:11 +01:00
Jakob Ackermann 1d1b9ebebc [misc] bump the dev-env to 3.3.2 2020-08-10 17:01:11 +01:00
Jakob Ackermann e992166680 [misc] bump the dev-env to 3.3.2 2020-08-10 17:01:11 +01:00
Simon Detheridge d5214d4351 Update object-persistor module 2020-08-10 16:53:18 +01:00
Simon Detheridge 1575cd41eb Don't pass empty array to asyncPool when archiving 2020-08-10 15:44:41 +01:00
Simon Detheridge e4d7c253c0 Fallback to AWS_BUCKET env var in settings for backwards compatiblity 2020-08-10 11:55:39 +01:00
Shane Kilkelly 16f5bd1f60 Merge pull request #140 from overleaf/jpa-bump-dev-env-3-3-1
[misc] bump the dev-env to 3.3.1
2020-08-07 10:31:59 +01:00
Jakob Ackermann bd5cb98517 [misc] bump the dev-env to 3.3.1 2020-08-06 12:39:58 +01:00
Shane Kilkelly 1041b8d332 Merge pull request #81 from overleaf/sk-lfs-error-message
Handle Git LFS requests, with error message
2020-08-06 09:43:42 +01:00
Shane Kilkelly 2b8f3f4de8 Use 422 status when rejecting Git LFS request 2020-08-05 13:00:20 +01:00
Jakob Ackermann 8f7d846ed9 Merge pull request #175 from overleaf/jpa-bump-dev-env
[misc] bump the dev-env to 3.3.1
2020-08-05 12:12:51 +02:00
Jakob Ackermann 51e56dafcf [misc] bump the dev-env to 3.3.1 2020-08-05 10:46:23 +01:00
Shane Kilkelly f7125b9159 Handle Git LFS requests, with error message
We don't support Git LFS. This change adds a handler for
POST requests to "<project>.git/info/lfs/objects/batch",
and sends back a 406 response, with json data that the
client can use to print a nice error message.
2020-08-05 10:08:40 +01:00
Jakob Ackermann 1b52366c61 Merge pull request #174 from overleaf/jpa-bump-dev-env
[misc] bump the dev-env to 3.3.0
2020-08-04 12:29:22 +02:00
Jakob Ackermann cc5d908efb Merge pull request #173 from overleaf/jpa-harden-cleanup
[misc] bump socket.io and socket.io-client: harden cleanup
2020-08-04 12:29:14 +02:00
Jakob Ackermann f4d9ae1150 [misc] bump the dev-env to 3.3.0 2020-08-04 11:07:19 +01:00
Jakob Ackermann a91f78634b [misc] bump socket.io and socket.io-client 2020-07-31 16:32:03 +01:00
Simon Detheridge a18146612a Remove unhandled-promise-rejection handler 2020-07-31 16:25:33 +01:00
Simon Detheridge a4d0813acb Update build scripts 2020-07-31 16:24:41 +01:00
Simon Detheridge cb8c2bf4b5 AsyncPool -> asyncPool 2020-07-31 16:21:59 +01:00
Simon Detheridge 9724407e31 Export .promises from MongoManager 2020-07-31 16:20:07 +01:00
Shane Kilkelly 39c7cd3cd5 Merge pull request #172 from overleaf/sk-upgrade-redis
Upgrade redis-sharelatex to 1.0.13
2020-07-30 11:23:54 +01:00
Shane Kilkelly fc389af7d6 Merge pull request #139 from overleaf/sk-update-redis
Upgrade to redis-sharelatex 1.0.13
2020-07-30 10:56:40 +01:00
Simon Detheridge 268f436461 Don't call AsyncPool with an empty array 2020-07-24 11:51:18 +01:00
Simon Detheridge fdefb311ab Fix sha1 package hashes 2020-07-24 11:50:53 +01:00
Shane Kilkelly f331c89da5 Fix integrity hash on coffee-script dependency 2020-07-24 11:14:20 +01:00
Shane Kilkelly 3d92858939 Upgrade redis-sharelatex to 1.0.13 2020-07-24 10:42:46 +01:00
Shane Kilkelly 2ef5f471ab Upgrade to redis-sharelatex 1.0.13 2020-07-24 10:14:48 +01:00
Simon Detheridge 04ae868fe2 Update unit tests for object-persistor 2020-07-23 19:43:51 +01:00
Simon Detheridge e302c1d844 Update acceptance tests for object-persistor and gcs 2020-07-23 19:43:33 +01:00
Simon Detheridge 6e04db552a Implement object-persistor support 2020-07-23 19:42:49 +01:00
Simon Detheridge 812c996c47 Add required settings for object-persistor 2020-07-23 19:42:20 +01:00
Simon Detheridge 287d705671 Update buildscripts to use fake-gcs instead of S3 credentials 2020-07-23 19:30:13 +01:00
Simon Detheridge 99a3266105 Add object-persistor module and upgrade deps to latest minor release 2020-07-23 19:29:25 +01:00
Simon Detheridge de81ab2f70 Merge pull request #129 from overleaf/spd-remove-gcs-module
Move @google-cloud/storage to a dev dependency
2020-07-23 14:13:43 +01:00
Simon Detheridge 7e44dc7ba3 Merge pull request #128 from overleaf/spd-app-name-env
Use METRICS_APP_NAME env var to initialise metrics, if present
2020-07-23 14:13:16 +01:00
Simon Detheridge cb86ee8c10 Initialise metrics before logger 2020-07-23 13:35:52 +01:00
Simon Detheridge 4bb6509b9c Update object-persistor and make aws a dev dependency 2020-07-23 10:45:27 +01:00
Simon Detheridge 5329cf24b0 Remove unneeded @google-cloud/storage module from main deps 2020-07-22 17:18:17 +01:00
Simon Detheridge 89fc640ec4 Use METRICS_APP_NAME env var to initialise metrics, if present 2020-07-22 16:57:41 +01:00