Commit graph

219 commits

Author SHA1 Message Date
Jakob Ackermann
6e123b873d [misc] add linting for missing explicit dependencies and fix any errors 2021-04-29 15:30:53 +01:00
Eric Mc Sween
262385da84 Merge pull request #68 from overleaf/jpa-metrics-module-3-5-1
[misc] bump the version of the metrics module to 3.5.1
2021-03-18 11:32:45 -04:00
Eric Mc Sween
9e061fdd52 Merge pull request #69 from overleaf/em-upgrade-node-12
Upgrade to Node 12
2021-03-17 08:43:59 -04:00
Eric Mc Sween
8b6f1f5750 Upgrade to Node 12 2021-03-12 14:44:55 -05:00
Jakob Ackermann
1705d3d133 [misc] bump the version of the metrics module to 3.5.1 2021-02-16 15:10:09 +00:00
Jakob Ackermann
8ae3a43b79 Merge pull request #67 from overleaf/jpa-issue-3895-node-10-23-1
[misc] bump the node version to 10.23.1
2021-01-05 18:46:53 +00:00
Jakob Ackermann
9eb32e5900 [misc] bump the node version to 10.23.1 2021-01-05 18:38:55 +00:00
Jakob Ackermann
8a93c6fea0 Merge pull request #64 from overleaf/jpa-bump-metrics-module
[misc] bump metrics module to 3.4.1
2020-11-25 17:20:21 +00:00
Jakob Ackermann
e644056c29 Merge pull request #63 from overleaf/em-docker-compose-healthchecks
Upgrade build-scripts to 3.4.0
2020-11-25 17:20:05 +00:00
Jakob Ackermann
d482e0e4ee [misc] bump metrics module to 3.4.1
- renamed package from `metrics-sharelatex` to `@overleaf/metrics`
- drop support for statsd backend
- decaffeinate
- compress `/metrics` response using gzip
- bump debugging agents to latest versions
- expose prometheus interfaces for custom metrics (custom tags)
- cleanup of open sockets metrics
- fix deprecation warnings for header access
2020-11-25 11:57:24 +00:00
Eric Mc Sween
e3c1854eb4 Upgrade build-scripts to 3.4.0
This version fixes docker-compose health checks for dependent services. See
https://github.com/overleaf/dev-environment/pull/409 for details.
2020-11-24 08:03:28 -05:00
Simon Detheridge
8d8adba38c Merge pull request #55 from overleaf/dependabot-npm_and_yarn-lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20
2020-09-18 09:35:20 +01:00
Simon Detheridge
3c0ae226c4 Merge pull request #58 from overleaf/dependabot-npm_and_yarn-bl-2.2.1
Bump bl from 2.2.0 to 2.2.1
2020-09-18 09:35:11 +01:00
Simon Detheridge
8dd1082316 Merge pull request #61 from overleaf/dependabot-npm_and_yarn-node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-18 09:35:00 +01:00
Simon Detheridge
abfaf12e5c Merge pull request #62 from overleaf/jpa-bump-dev-env-3-3-4-node-10-22-1
[misc] bump the dev-env to 3.3.4 and bump the node version to 10.22.1
2020-09-18 09:34:48 +01:00
Jakob Ackermann
f7879711ee [misc] bump the dev-env to 3.3.4 and bump the node version to 10.22.1 2020-09-17 13:36:26 +01:00
dependabot[bot]
ef11f1a1d1 Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 09:13:18 +00:00
Jakob Ackermann
d95f7062c5 Merge pull request #60 from overleaf/jpa-mongo-unified-topology
[misc] mongodb: use the new db connector by default
2020-09-10 11:18:00 +02:00
Jakob Ackermann
06917a27c4 Merge pull request #57 from overleaf/jpa-module-local-db-object
[misc] simplify the mongodb collection access using a shared db construct
2020-09-10 11:17:25 +02:00
Jakob Ackermann
918cd0bfbe [misc] mongodb: use the new db connector by default
mongojs was enabling it by default as well.
2020-09-10 10:09:30 +01:00
Jakob Ackermann
f6083a2d51 [misc] mongodb: refactor the process of setting up the db construct
Co-Authored-By: John Lees-Miller <jdleesmiller@gmail.com>
2020-09-10 10:08:30 +01:00
Jakob Ackermann
0cf5cad3b8 [misc] mongodb: drop the getCollection helper 2020-09-10 10:08:30 +01:00
Jakob Ackermann
4080784310 [misc] simplify mongodb collection access using a shared db construct
Resolve the getCollection Promises once and store the result in a shared
 `db` object which can get imported by all the call-sites.

The http server is starting only after a Promise of `waitForDb()`
 resolves. This covers the app code and the acceptance tests:
REF: 586706a9439c3591fc9613dc877f055096ca073a
REF: d026569d2eb4123e30c771a55a001b42d5ade72f
2020-09-10 10:08:30 +01:00
Jakob Ackermann
a52c0fe9fb [misc] mongodb: drop intermediate dbPromise
It would confuse the logic of a follow-up commit.
2020-09-10 10:08:23 +01:00
Jakob Ackermann
1b70189fb1 [misc] wait for the mongo connection before starting acceptance tests 2020-09-10 10:08:23 +01:00
dependabot[bot]
525216380e Bump bl from 2.2.0 to 2.2.1
Bumps [bl](https://github.com/rvagg/bl) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v2.2.0...v2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-10 08:35:12 +00:00
Brian Gough
84406fd947 Merge pull request #59 from overleaf/bg-use-overleaf-metrics
upgrade from metrics-sharelatex to @overleaf/metrics
2020-09-10 09:32:51 +01:00
Brian Gough
e08865646f upgrade from metrics-sharelatex to @overleaf/metrics 2020-09-09 10:37:56 +01:00
Jakob Ackermann
b5e770daff Merge pull request #56 from overleaf/jpa-wait-for-db
[misc] simplify the naming around waiting for a mongo connection
2020-08-25 10:20:37 +02:00
Jakob Ackermann
39ea30355e [misc] simplify the naming around waiting for a mongo connection
Co-Authored-By: Eric Mc Sween <eric.mcsween@overleaf.com>
Co-Authored-By: Miguel Serrano <mserranom@gmail.com>
Co-Authored-By: Simon Detheridge <s@sd.ai>
2020-08-24 17:41:03 +01:00
dependabot[bot]
851d4bda46 Bump lodash from 4.17.15 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-20 15:07:10 +00:00
Jakob Ackermann
d345911730 Merge pull request #54 from overleaf/jpa-wait-for-mongo
[misc] complete the connection setup before starting the http server
2020-08-20 17:06:12 +02:00
Jakob Ackermann
9693c349b4 Merge pull request #52 from overleaf/jpa-drop-unsafe-buffer-usage
[misc] get rid of unsafe Buffer usage
2020-08-20 17:04:18 +02:00
Jakob Ackermann
959b5853a6 [misc] complete the connection setup before starting the http server 2020-08-19 13:06:22 +01:00
Jakob Ackermann
0c8f04a011 [misc] migrate to native mongo driver 2020-08-19 13:04:47 +01:00
Jakob Ackermann
4b3ed5e9b1 [misc] get rid of unsafe Buffer usage 2020-08-19 12:59:33 +01:00
Christopher Hoskin
bd5eb4eef6 Merge pull request #47 from overleaf/jpa-bump-dev-env-3-3-2-testing
[misc] bump the dev-env to 3.3.2
2020-08-13 11:21:15 +01:00
Christopher Hoskin
a188730d95 Merge pull request #51 from overleaf/csh-issue-1123-bump-logger-220
[misc] bump logger-sharelatex to version 2.2.0
2020-08-13 11:18:45 +01:00
Christopher Hoskin
0b1f61cb02 [misc] bump logger-sharelatex to version 2.2.0 2020-08-12 12:48:05 +01:00
Jakob Ackermann
e992166680 [misc] bump the dev-env to 3.3.2 2020-08-10 17:01:11 +01:00
Brian Gough
512cb5df79 Merge branch 'update-node-10.21.0' 2020-06-03 11:10:10 +01:00
Brian Gough
1dd24d1a4b update buildscript.txt to node 10.21.0 2020-06-03 11:09:57 +01:00
Brian Gough
020b6c2293 Merge pull request #44 from overleaf/update-node-10.21.0
Update node to 10.21.0
2020-06-03 10:53:29 +01:00
Brian Gough
c3345d6551 update to node 10.21.0 2020-06-03 10:22:19 +01:00
Jakob Ackermann
f6f20fdcb6 Merge pull request #43 from overleaf/ew-jpa-fix-express-deprecations
[misc] fix express deprecations
2020-04-17 11:21:04 +02:00
Ersun Warncke
686f0f0102 [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-15 18:43:23 +02:00
Jakob Ackermann
eb909a4a21 Merge pull request #42 from overleaf/jpa-logger-1-9-1
[misc] bump logger-sharelatex to 1.9.1
2020-03-26 13:03:19 +01:00
Jakob Ackermann
db30170228 [misc] bump logger-sharelatex to 1.9.1 2020-03-23 16:18:07 +01:00
Miguel Serrano
0f8cf588cd Merge pull request #41 from overleaf/msm-remove-morgan-logger
Removed morgan logger
2020-03-17 18:57:32 +01:00
mserranom
6f90684fa6 Removed morgan logger 2020-03-17 17:23:17 +01:00