Commit graph

70 commits

Author SHA1 Message Date
June Kelly
a450a74351 Upgrade async package to 3.2.2 (#8447)
* Revert "Revert "Bump async to 3.2.2 (#7618)""

This reverts commit 75153a555211d654744c2e61e27fe21085826c22.

* [web] fix usage of async.queue.drain in script

* [clsi] fix usage of async.queue.drain

* [spelling] fix usage of async.queue.drain

* [redis-wrapper] fix usage of async.queue.drain

* [web] Test that LockManager queue is cleared

This protects against a regression found when upgrading the
async package. Here we test that the `queue.drain` callback
is really getting called, and the lock is being removed from
the LOCK_QUEUES map.

* [redis-wrapper] Upgrade async to 3.2.2

GitOrigin-RevId: df921e6d7f1d505bd467f22e58600ba1aff48869
2022-06-22 08:03:35 +00:00
Jakob Ackermann
8cdb746628 Merge pull request #8434 from overleaf/revert-7618-dependabot-npm_and_yarn-async-3.2.2
Revert "Bump async to 3.2.2"

GitOrigin-RevId: a5deaea558011fa5a2e1aebe07856e8b0c87c4fc
2022-06-16 08:03:10 +00:00
dependabot[bot]
d55f4dfafa Bump async to 3.2.2 (#7618)
[all] Upgrade async package to 3.2.2

- [web] Fix usages of async library
- [project-history] Fix usage of async library
- [third-party-references] Fix usage of async library
- [track-changes] Fix usage of async library

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: June Kelly <june.kelly@overleaf.com>
GitOrigin-RevId: 90cf132f13da53b2bd6690ee3cdf4d6c8563ecd2
2022-06-16 08:02:49 +00:00
Jakob Ackermann
c21bb9623a Merge pull request #8075 from overleaf/jpa-nodemon
[misc] move nodemon to the root of the monorepo

GitOrigin-RevId: 235a8de422025da1dc2d88a56dfa15f7bb18aacb
2022-05-31 08:04:06 +00:00
Jakob Ackermann
ae0c347f27 Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces
[misc] npm workspaces

GitOrigin-RevId: 87aa72db6637fb238d7cd35b0a48ac3ed58ab3eb
2022-02-16 11:31:07 +00:00
Jakob Ackermann
4b308553be Merge pull request #6120 from overleaf/jpa-same-linting-packages
[misc] move the linting setup to the root of the monorepo

GitOrigin-RevId: 1633e2a58598add0b727738cd3bfba0ab7bae781
2021-12-17 09:03:06 +00:00
Eric Mc Sween
f7275a6c4b Merge pull request #6079 from overleaf/em-upgrade-logger
Upgrade logger and metrics in all services

GitOrigin-RevId: 2baf63eeeab77fb3559cf763ddacfbf4b745cd0b
2021-12-15 09:04:25 +00:00
Jakob Ackermann
9e24affe7a Merge pull request #5161 from overleaf/jpa-drop-errorhandler
[misc] drop errorhandler middleware

GitOrigin-RevId: e95628b6ba5808e4bf4c1df291b6d9eb91d9bc10
2021-09-21 08:03:17 +00:00
Brian Gough
e687230f8a Merge pull request #4992 from overleaf/bg-chat-npm-upgrades
upgrade chat dependencies

GitOrigin-RevId: 4497ae4f8b50d5432b62432bb973c0e1ecb872bb
2021-09-09 08:02:53 +00:00
Jakob Ackermann
d6aee00057 [misc] upgrade build scripts to version 3.11.0 and cleanup packages
```
npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint
npm dedupe
```
2021-07-13 11:55:19 +01:00
Jakob Ackermann
b1123d3179 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:21 +01:00
Jakob Ackermann
91b130665a [misc] install bunyan as production dependency
```
Error: Cannot find module 'bunyan'
Require stack:
- .../node_modules/@google-cloud/logging-bunyan/build/src/middleware/express.js
- .../node_modules/@google-cloud/logging-bunyan/build/src/index.js
- .../node_modules/logger-sharelatex/logging-manager.js
- .../node_modules/logger-sharelatex/index.js
- .../app.js
```
2021-07-12 17:35:51 +01: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
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
Brian Gough
e08865646f upgrade from metrics-sharelatex to @overleaf/metrics 2020-09-09 10:37:56 +01:00
Jakob Ackermann
0c8f04a011 [misc] migrate to native mongo driver 2020-08-19 13:04:47 +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
Jakob Ackermann
db30170228 [misc] bump logger-sharelatex to 1.9.1 2020-03-23 16:18:07 +01:00
mserranom
6f90684fa6 Removed morgan logger 2020-03-17 17:23:17 +01:00
mserranom
2afc0894bc updated to express 4 2020-03-06 19:33:17 +01:00
mserranom
9bbc8c7483 updated mongojs 2020-03-06 17:47:30 +01:00
mserranom
5926aa511a updated mocha 2020-03-06 17:39:43 +01:00
mserranom
3f066ea757 updated ajv 2020-03-06 17:32:59 +01:00
mserranom
aaf68cd898 updated acorn and sinon 2020-03-06 17:31:40 +01:00
mserranom
6f931ee52b npm audit fix and minor+patch version upgrades 2020-03-06 17:00:47 +01:00
mserranom
267607995e updated build scripts to 1.4.0 2020-03-06 16:50:14 +01:00
Jakob Ackermann
f9cefa6f06 [misc] specify dependency versions to counter unrelated lockfile changes
Also delete unused redis dependency.
2020-02-12 14:49:00 +01:00
Jakob Ackermann
16f2dbb58c [misc] delete unused redis dependency 2020-02-12 14:47:30 +01:00
Alasdair Smith
89a7d6db7c Remove unnecessary eslint dependencies 2019-08-12 10:34:28 +01:00
mserranom
c70a6bb92b Removed V8 profiler 2019-07-18 09:42:38 +00:00
Shane Kilkelly
ef0d9c5afc Update logger, metrics, and redis client
Also fix acceptance tests, broken by a change in behaviour of the redis client.
It now returns a promise from most operations. This interferes with how mocha
handles callbacks in `before` blocks.
2019-06-18 15:31:19 +01:00
Christopher Hoskin
27c51ae5aa Fix npm shrinkwrap 2019-04-08 14:35:44 +01:00
Henry Oswald
6f06598eb5 bulk update build scripts
- logger, metrics build scripts updates
2019-01-31 15:01:49 +00:00
Christopher Hoskin
c59e74f80f Seems to need this too 2019-01-11 12:48:28 +00:00
Christopher Hoskin
f3d0ab6219 Bump settings to v1.1.0 2019-01-04 15:47:56 +00:00
Christopher Hoskin
f7b8678ff5 Add ajv as a dependency to stop prettier-eslint-cli from squawking 2019-01-04 15:31:02 +00:00
Christopher Hoskin
4079baa570 Revert "Pin eslint and friends to versions used by Nate to avoid peer invalid: ajv@^5.0.0, required by ajv-keywords@2.1.1"
This reverts commit 23bb3439ce4b606f5e3ef8a20ed98042a7f60a0c.
2019-01-04 15:28:48 +00:00
Christopher Hoskin
b7feb3f42a Pin eslint and friends to versions used by Nate to avoid peer invalid: ajv@^5.0.0, required by ajv-keywords@2.1.1 2019-01-04 15:19:23 +00:00
Christopher Hoskin
ae815df999 Add back in missing eslint and friends dependencies 2019-01-04 14:09:20 +00:00
Christopher Hoskin
d651e41bc1 Pin logger to version 1.5.9 2019-01-04 13:24:15 +00:00
Christopher Hoskin
a42be80d0b Remove grunt 2019-01-04 13:21:03 +00:00
Christopher Hoskin
72c03bc9da Remove references to coffeescript left over from decaf 2019-01-04 11:53:34 +00:00
Christopher Hoskin
03f7982bae Switch to v2 metrics 2019-01-04 11:37:48 +00:00
Christopher Hoskin
7280b18fe5 Get ready for decaffinate 2019-01-04 11:05:35 +00:00
Christopher Hoskin
f6dc55c16b Bump buildscripts to 1.1.10 2019-01-04 11:03:03 +00:00
Henry Oswald
2555fb7df5 update build scripts 2018-10-03 11:34:48 +01:00
Henry Oswald
872f28117c update build scripts 2018-06-12 10:02:06 +01:00
Henry Oswald
88edf63ab5 dockerised with 1.1.3 2018-05-22 17:25:17 +01:00
James Allen
02918189ca Make :run npm commands 'private' 2018-01-29 14:21:22 +00:00