Commit graph

211 commits

Author SHA1 Message Date
Jakob Ackermann
2261e761f4 Merge pull request #5705 from overleaf/jpa-node-14
[misc] upgrade node version from 12 to 14

GitOrigin-RevId: 15c465c7bb5e42b0c71e2dedb09cf4fe9f1d8ec6
2021-11-19 09:02:56 +00:00
Jakob Ackermann
159eff2097 Merge pull request #5700 from overleaf/jpa-re-generate-build-scripts
[misc] set mongo version in build_script templates and re-generate files

GitOrigin-RevId: 3338084025374f451b1208109407c688ddb68f0a
2021-11-08 09:03:20 +00:00
Jakob Ackermann
638fbd5510 Merge pull request #5573 from overleaf/jpa-prefer-regex-literals
[misc] fix eslint violations for prefer-regex-literals

GitOrigin-RevId: 216288af22b9eeb18cddace7ec285e0a8046f94a
2021-10-28 08:03:41 +00:00
Jakob Ackermann
f6795a324a Merge pull request #5572 from overleaf/jpa-no-path-concat
[misc] fix eslint violations for node/no-path-concat

GitOrigin-RevId: 5122826fb9ae23c373e8c5a6802ebb35eb20314f
2021-10-28 08:03:37 +00:00
Jakob Ackermann
669606f797 Merge pull request #5568 from overleaf/jpa-node-no-callback-literal
[misc] fix eslint violations for node/no-callback-literal

GitOrigin-RevId: af5aace52e1476b1b0ee48cc8be2aabbe04efac6
2021-10-28 08:03:33 +00:00
Jakob Ackermann
489df8360e Merge pull request #5523 from overleaf/jpa-no-loss-of-precision
[misc] fix eslint violations for no-loss-of-precision

GitOrigin-RevId: 06ecbeb5f10569933e99a472a92fd3efbe546278
2021-10-28 08:03:30 +00:00
Jakob Ackermann
7f9fd00bda Merge pull request #5367 from overleaf/jpa-node-handle-callback-err
[misc] fix eslint violations for node/handle-callback-err

GitOrigin-RevId: 83a4900e8861010df1917bff49382bd9c93375bd
2021-10-28 08:03:26 +00:00
Jakob Ackermann
5862359ff0 Merge pull request #5518 from overleaf/jpa-no-empty
[misc] fix eslint violations for no-empty

GitOrigin-RevId: 8fc1688ac28ccf29b830ba43cd6091e64b5e3b07
2021-10-27 08:03:14 +00:00
Jakob Ackermann
4cefebec5d Merge pull request #5517 from overleaf/jpa-no-dupe-else-if
[misc] fix eslint violations for no-dupe-else-if

GitOrigin-RevId: 5f72eb1d033322b2d419c1dbad29ea378ee776f5
2021-10-27 08:03:09 +00:00
Jakob Ackermann
0f529df1e4 Merge pull request #5360 from overleaf/jpa-array-callback-return
[misc] fix eslint violations for array-callback-return

GitOrigin-RevId: 4104342239f4da32c541855d6fc7032c4c96004f
2021-10-27 08:03:05 +00:00
Jakob Ackermann
a6f05109a3 Merge pull request #5352 from overleaf/jpa-no-var
[misc] fix eslint violations for `no-var`

GitOrigin-RevId: c52e82f3a8a993b8662cc5aa56e7b95ca3c55832
2021-10-27 08:03:00 +00:00
Brian Gough
43c381e4d5 Merge pull request #5552 from overleaf/bg-node-upgrade-other
upgrade node to v12.22.7 (other services)

GitOrigin-RevId: 889cf9a77173119fec8f200eeef9ddeefca0720b
2021-10-26 08:03:13 +00:00
Jakob Ackermann
7996f90c7b Merge pull request #5306 from overleaf/jpa-clear-institution-notifications
[web] add a new script for clearing institution notifications

GitOrigin-RevId: d102b484c4fb9816832b48c2dfa66953bc996667
2021-10-21 08:03: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
Henry Oswald
8197411cdf Merge pull request #4891 from overleaf/ho-web-mongo-4-2
bump mongo to 4.2.15

GitOrigin-RevId: 1ac2057f264bd6dbe042d8f999a4ab1054c9edf5
2021-09-15 08:03:54 +00:00
Jakob Ackermann
7cc8b54a1d [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:32 +01:00
Jakob Ackermann
0616b1b31c [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:37 +01:00
Jakob Ackermann
9a2bb1044f [misc] run format_fix and lint:fix 2021-07-13 12:04:44 +01:00
Jakob Ackermann
938f1f8543 [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:15 +01:00
Jakob Ackermann
9fe23031cd [misc] goodbye coffee-script 2021-07-13 10:07:01 +01:00
Jakob Ackermann
9343325480 [misc] run npm dedupe 2021-07-12 17:51:02 +01:00
Jakob Ackermann
f72362a668 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:16 +01:00
Jakob Ackermann
0869923375 [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:46 +01:00
nate stemen
290c0d90c8 Merge pull request #44 from overleaf/dependabot-npm_and_yarn-hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-17 11:02:06 -04:00
nate stemen
1de6c67910 Merge pull request #43 from overleaf/dependabot-npm_and_yarn-lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21
2021-05-17 11:01:50 -04:00
nate stemen
b076823e7a Merge pull request #42 from overleaf/dependabot-npm_and_yarn-underscore-1.13.1
Bump underscore from 1.9.2 to 1.13.1
2021-05-17 11:01:41 -04:00
nate stemen
c33d6e4188 Merge pull request #40 from overleaf/jpa-explicit-dependencies
[misc] add linting for missing explicit dependencies and fix any errors
2021-05-17 11:01:30 -04:00
dependabot[bot]
54bbb3dbbd Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 10:38:18 +00:00
dependabot[bot]
39249d0b7e Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 00:17:10 +00:00
dependabot[bot]
dd88d03254 Bump underscore from 1.9.2 to 1.13.1
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.9.2 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.9.2...1.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 05:10:51 +00:00
Jakob Ackermann
ed8c38908e [misc] add linting for missing explicit dependencies and fix any errors 2021-04-29 15:30:49 +01:00
dependabot[bot]
b6cd7bca9c Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 08:56:10 +00:00
Jakob Ackermann
01059af954 [misc] drop unused node-statsd package 2021-03-30 09:45:07 +01:00
Eric Mc Sween
af72b4224c Merge pull request #36 from overleaf/jpa-metrics-module-3-5-1
[misc] bump the version of the metrics module to 3.5.1
2021-03-22 08:52:09 -04:00
Eric Mc Sween
9dc54cc9d0 Upgrade to Node 12 2021-03-17 16:34:52 -04:00
Eric Mc Sween
821972b791 Add global test setup
Configure chai and SandboxedModule in a central place and add
SandboxedModule globals that are required in Node 12.
2021-03-17 16:34:06 -04:00
Jakob Ackermann
f652a62975 [misc] bump the version of the metrics module to 3.5.1 2021-02-16 15:10:12 +00:00
Christopher Hoskin
c3a4cf692b Merge pull request #34 from overleaf/dependabot-npm_and_yarn-ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2021-01-06 10:53:48 +00:00
Christopher Hoskin
b172ce28af Update Node to 10.23.1 2021-01-06 09:57:08 +00:00
dependabot[bot]
0d7dc837d6 Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:33:47 +00:00
Jakob Ackermann
ec6e8c6ff4 Merge pull request #33 from overleaf/jpa-bump-metrics-module
[misc] bump metrics module to 3.4.1
2020-11-25 17:30:07 +00:00
Jakob Ackermann
f16fbdcdbf [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:20 +00:00
Eric Mc Sween
093fe78c3a 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:29 -05:00
Simon Detheridge
728736e080 Merge pull request #28 from overleaf/dependabot-npm_and_yarn-yargs-parser-13.1.2
Bump yargs-parser from 13.1.1 to 13.1.2
2020-09-18 09:40:57 +01:00
dependabot[bot]
11260e8f9b 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-09-18 08:40:39 +00:00
dependabot[bot]
4a8aad7a4e Bump yargs-parser from 13.1.1 to 13.1.2
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-18 08:40:33 +00:00
Simon Detheridge
d6d5537962 Merge pull request #31 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:40:09 +01:00
Simon Detheridge
acbf152de8 Merge pull request #29 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:39:38 +01:00
Jakob Ackermann
521f25b51e [misc] bump the dev-env to 3.3.4 and bump the node version to 10.22.1 2020-09-17 15:25:11 +01:00
dependabot[bot]
f0f8f51494 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:16:13 +00:00
Jakob Ackermann
3626243692 [misc] mongodb: use the new db connector by default
mongojs was enabling it by default as well.
2020-09-10 10:53:08 +01:00
Jakob Ackermann
9d28208870 [misc] mongodb: refactor the process of setting up the db construct
Co-Authored-By: John Lees-Miller <jdleesmiller@gmail.com>
2020-09-07 11:28:09 +01:00
Jakob Ackermann
74a3a95dc6 [misc] migrate the health-check to the native mongo driver, drop mongojs 2020-09-07 11:28:08 +01:00
Jakob Ackermann
d77834ab55 [misc] migrate the app to the native mongo driver
health-check to follow in a separate commit
2020-09-07 11:27:59 +01:00
Christopher Hoskin
f517d31e15 [misc] bump logger-sharelatex to version 2.2.0 2020-08-13 09:07:30 +01:00
Jakob Ackermann
e92b1fa063 [misc] bump the dev-env to 3.3.2 2020-08-10 17:10:30 +01:00
Tim Alby
361f8ff123 Revert "[misc] make: ignore a lint/format task failure"
This reverts commit 26e27b0ff22d694ce58b0e721416c2b775f7ae6a.
2020-06-04 10:21:50 +02:00
Tim Alby
311d7cefa1 fix linting 2020-06-04 10:17:40 +02:00
Tim Alby
61dc3435c4 fix formatting 2020-06-04 09:50:05 +02:00
Jakob Ackermann
ebf86bc997 [misc] make: ignore a lint/format task failure 2020-06-03 11:32:08 +01:00
Brian Gough
70dcf9400a update buildscript.txt to node 10.21.0 2020-06-03 11:12:13 +01:00
Brian Gough
59bbd35e18 update to node 10.21.0 2020-06-03 10:23:45 +01:00
Ersun Warncke
7302c0ce0b [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-15 19:04:56 +02:00
mserranom
3a73c390fc Fixed unit test 2020-04-01 17:03:52 +02:00
mserranom
a7311ff5d3 Added spread operator to value in db update 2020-04-01 15:28:29 +02:00
mserranom
7183b88a37 added to update operation, required by mongojs 3.x 2020-03-28 13:58:33 +01:00
mserranom
682fd526c0 updated express.send to express.sendStatus 2020-03-26 15:36:49 +01:00
mserranom
2f3d664db0 updated express to v4 and mongojs 2020-03-26 15:17:07 +01:00
mserranom
6f398625a3 updated prettier, mocha, sinon, node-statsd 2020-03-26 13:25:39 +01:00
mserranom
7135e03cad updated async to latest v2.x 2020-03-26 13:21:44 +01:00
mserranom
0b2c4cb1b7 updated minor/patch dependencies 2020-03-26 13:21:02 +01:00
mserranom
d1673ea92c npm audit fix 2020-03-26 13:17:02 +01:00
mserranom
2b4e44f047 updated build scripts 2020-03-26 13:16:08 +01:00
Jakob Ackermann
2555dbdd36 [misc] cleanup unused dependency on redis 2020-02-12 14:43:17 +01:00
Jakob Ackermann
00e15a383f [misc] fix prettier-eslint errors 2020-02-11 12:29:20 +01:00
Jakob Ackermann
f901064a59 [misc] update the build scripts to 1.3.5 2020-02-11 12:27:54 +01:00
Brian Gough
5a52c38197 update to node 10.19.0 2020-02-07 14:16:31 +00:00
Tim Alby
4323b6a155 remove compile:* commands 2020-01-14 17:02:13 +01:00
Tim Alby
36a899fd2f prettier: convert individual decaffeinated files to Prettier format 2020-01-13 20:04:04 +01:00
Tim Alby
30860286c3 decaffeinate: convert individual files to js 2020-01-13 20:04:04 +01:00
Tim Alby
2eda6119c9 decaffeinate: rename individual coffee files to js files 2020-01-13 20:04:04 +01:00
Tim Alby
fc0d1f8485 prettier: convert test/unit decaffeinated files to Prettier format 2020-01-13 20:04:03 +01:00
Tim Alby
100209c2db decaffeinate: rename test/unit/coffee to test/unit/js 2020-01-13 20:04:03 +01:00
decaffeinate
c7ee5c6f58 decaffeinate: Run post-processing cleanups on NotificationsControllerTest.coffee and 1 other file 2020-01-13 20:04:03 +01:00
decaffeinate
34a61b9c6b decaffeinate: Convert NotificationsControllerTest.coffee and 1 other file to JS 2020-01-13 20:04:03 +01:00
decaffeinate
d4fa6e2672 decaffeinate: Rename NotificationsControllerTest.coffee and 1 other file from .coffee to .js 2020-01-13 20:04:03 +01:00
Tim Alby
dc218cd503 prettier: convert app/js decaffeinated files to Prettier format 2020-01-13 20:04:03 +01:00
Tim Alby
9835481cbf decaffeinate: rename app/coffee dir to app/js 2020-01-13 20:04:03 +01:00
decaffeinate
b667b9ad1c decaffeinate: Run post-processing cleanups on HealthCheckController.coffee and 2 other files 2020-01-13 20:04:03 +01:00
decaffeinate
ddccb85dda decaffeinate: Convert HealthCheckController.coffee and 2 other files to JS 2020-01-13 20:04:03 +01:00
decaffeinate
27afdd47cd decaffeinate: Rename HealthCheckController.coffee and 2 other files from .coffee to .js 2020-01-13 20:04:03 +01:00
Tim Alby
8ba667fd20 decaffeinate: add eslint and prettier packages 2020-01-13 20:04:02 +01:00
Tim Alby
f82f4cac46 decaffeinate: update .gitignore 2020-01-13 20:04:02 +01:00
Tim Alby
d2ed80a1fb decaffeinate: update build scripts to es 2020-01-13 20:04:02 +01:00
Tim Alby
ce80f99487 update build scripts to 1.3.1
This also completes the Node version update.
2020-01-13 19:20:38 +01:00
Simon Detheridge
70f5c71864 Handle duplicate-notification race condition when using forceCreate 2019-11-28 16:40:14 +00:00
Shane Kilkelly
ab9689bd54 Upgrade to node 10, and migrate to package-lock.json 2019-09-30 10:48:36 +01:00
Shane Kilkelly
429c593cdf update logger and metrics 2019-06-21 10:06:02 +01:00
Jakob Ackermann
5a2e9f5088 [misc] Add a copy the the GNU Affero General Public License v3.0
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2019-05-09 13:36:04 +02:00
John Lees-Miller
e9e7f23686 Add missing license statement 2019-05-09 12:03:27 +01:00