Commit graph

178 commits

Author SHA1 Message Date
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
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
53c19fa50d [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:35 +01:00
Jakob Ackermann
91c567e31d [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:41 +01:00
Jakob Ackermann
9074ddd8a5 [misc] run format_fix and lint:fix 2021-07-13 12:04:47 +01:00
Jakob Ackermann
21f5c25dbe [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:18 +01:00
Jakob Ackermann
eac9ae4ff5 [misc] run npm dedupe 2021-07-12 17:51:06 +01:00
Jakob Ackermann
072d970d33 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:20 +01:00
Jakob Ackermann
0ceaff1f3c [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:50 +01:00
Alf Eaton
de3e7a82c3 Delete prepopulate.coffee 2021-05-26 13:21:14 +01:00
nate stemen
0592a6be74 Merge pull request #65 from overleaf/dependabot-npm_and_yarn-hosted-git-info-2.8.9
build(deps): bump hosted-git-info from 2.8.5 to 2.8.9
2021-05-17 17:07:51 -04:00
nate stemen
ee62d864e5 Merge pull request #64 from overleaf/dependabot-npm_and_yarn-lodash-4.17.21
build(deps): bump lodash from 4.17.19 to 4.17.21
2021-05-17 17:07:44 -04:00
nate stemen
fcaaef09b8 Merge pull request #63 from overleaf/dependabot-npm_and_yarn-underscore-1.13.1
build(deps): bump underscore from 1.9.2 to 1.13.1
2021-05-17 17:07:37 -04:00
nate stemen
bc99218596 Merge pull request #61 from overleaf/jpa-explicit-dependencies
[misc] add linting for missing explicit dependencies and fix any errors
2021-05-17 17:07:30 -04:00
dependabot[bot]
bc423fa0cd build(deps): bump hosted-git-info from 2.8.5 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.5 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.5...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 12:49:25 +00:00
dependabot[bot]
c0fc4c329e build(deps): bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 04:20:08 +00:00
dependabot[bot]
7d8f439b4c build(deps): 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:21:44 +00:00
Jakob Ackermann
fe272bf89a [misc] add linting for missing explicit dependencies and fix any errors 2021-04-29 15:30:52 +01:00
dependabot[bot]
3202e64f23 build(deps): 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-31 14:56:55 +00:00
Eric Mc Sween
2c1f81c4a4 Merge pull request #58 from overleaf/jpa-metrics-module-3-5-1
[misc] bump the version of the metrics module to 3.5.1
2021-03-18 11:08:55 -04:00
Eric Mc Sween
2f9b9951e6 Upgrade to Node 12 2021-03-12 16:40:30 -05:00
Eric Mc Sween
c68e1a2dfe Add a global test setup
Configure SandboxedModule with common options, including some globals
that are required in Node 12.
2021-03-12 16:39:45 -05:00
Jakob Ackermann
b35381f275 [misc] bump the version of the metrics module to 3.5.1 2021-02-16 15:10:10 +00:00
Christopher Hoskin
96399470c3 Merge pull request #56 from overleaf/dependabot-npm_and_yarn-ini-1.3.8
build(deps): bump ini from 1.3.5 to 1.3.8
2021-01-06 10:15:33 +00:00
Christopher Hoskin
e966ed07dc Update Node to 10.23.1 2021-01-06 09:57:08 +00:00
dependabot[bot]
dbbb1b0b4c build(deps): 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:42 +00:00
Jakob Ackermann
8a55cc545a Merge pull request #55 from overleaf/jpa-bump-metrics-module
[misc] bump metrics module to 3.4.1
2020-11-25 16:39:53 +00:00
Jakob Ackermann
010fa596e9 [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
16f562d826 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
Jakob Ackermann
f79aba7bb1 Merge pull request #52 from overleaf/dependabot-npm_and_yarn-yargs-parser-13.1.2
Bump yargs-parser from 13.1.1 to 13.1.2
2020-09-17 17:35:27 +02:00
Jakob Ackermann
3577849957 Merge pull request #50 from overleaf/dependabot-npm_and_yarn-bl-2.2.1
Bump bl from 2.2.0 to 2.2.1
2020-09-17 17:34:18 +02:00
dependabot[bot]
ec2d724d52 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-17 15:30:01 +00:00
dependabot[bot]
ef86aa5344 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-17 15:29:50 +00:00
Jakob Ackermann
5d2c658baf Merge pull request #51 from overleaf/dependabot-npm_and_yarn-node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-17 17:29:30 +02:00
Jakob Ackermann
e8a0041b63 Merge pull request #41 from overleaf/dependabot-npm_and_yarn-lodash-4.17.19
[Security] Bump lodash from 4.17.15 to 4.17.19
2020-09-17 17:29:00 +02:00
Jakob Ackermann
9e87bc010d Merge pull request #53 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-17 17:28:31 +02:00
Jakob Ackermann
4207cc1110 [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]
20f5e5820d 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:17:53 +00:00
Jakob Ackermann
97480c259d [misc] mongodb: use the new db connector by default
mongojs was enabling it by default as well.
2020-09-10 10:31:48 +01:00
Jakob Ackermann
882db8484c [misc] migrate to the native mongo driver 2020-09-07 09:32:39 +01:00
dependabot-preview[bot]
2d5506fc0f [Security] Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-13 11:44:11 +00:00
Christopher Hoskin
cbf385b0ef [misc] bump logger-sharelatex to version 2.2.0 2020-08-13 08:51:37 +01:00
Jakob Ackermann
56abdff05a [misc] bump the dev-env to 3.3.2 2020-08-10 17:01:11 +01:00
Jakob Ackermann
21176b028f Merge pull request #39 from overleaf/csh-issue-1123-bump-logger-210
Update logger to 2.1.0
2020-07-02 13:45:04 +02:00
Ersun Warncke
89c46ea5fa [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-07-02 12:30:17 +01:00
Christopher Hoskin
8774d39a1e Update logger to 2.1.0 2020-07-01 15:56:47 +01:00
Tim Alby
85d8b04a6c Revert "[misc] make: ignore a lint/format task failure"
This reverts commit 6daa8ff2467557f710adcddbf7277b1ce135991d.
2020-06-04 10:19:52 +02:00
Tim Alby
48bc7595a8 fix formatting 2020-06-04 09:49:46 +02:00
Jakob Ackermann
96a0835710 [misc] make: ignore a lint/format task failure 2020-06-03 11:32:09 +01:00
Brian Gough
ed82adb59b update buildscript.txt to node 10.21.0 2020-06-03 11:11:57 +01:00
Brian Gough
372ccb3a2b update to node 10.21.0 2020-06-03 10:22:39 +01:00
Eric Mc Sween
1ebed438e4 Upgrade metrics-sharelatex to 2.6.2
This version fixes the HTTP request timing metrics, which were not
reporting correctly.
2020-03-25 10:00:31 -04:00
mserranom
3df58861e8 fixed missing done() in acceptance tests 2020-03-23 14:55:35 +01:00
mserranom
400ddf36ed fixed unit tests 2020-03-23 12:57:02 +01:00
mserranom
cf7ed3f76e updated mongojs, chai, bunyan, mocha, sandboxed-module, sinon and timekeeper 2020-03-23 12:56:42 +01:00
mserranom
ba2268936d updated async to v2.x 2020-03-23 12:50:27 +01:00
mserranom
06f606bf74 npm audit fix and bumped minor/patch dependencies 2020-03-23 12:49:40 +01:00
mserranom
7e5b42e790 updated build scripts 2020-03-23 12:47:58 +01:00
dependabot[bot]
164222ade7 Bump express from 4.1.2 to 4.5.0
Bumps [express](https://github.com/expressjs/express) from 4.1.2 to 4.5.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.1.2...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-17 10:55:16 +00:00
dependabot[bot]
5e02b1240c Bump request from 2.34.0 to 2.47.0
Bumps [request](https://github.com/request/request) from 2.34.0 to 2.47.0.
- [Release notes](https://github.com/request/request/releases)
- [Changelog](https://github.com/request/request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/request/request/compare/v2.34.0...v2.47.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-17 10:55:15 +00:00
Simon Detheridge
f4f44fa2a9 Remove empty test 2020-02-17 10:55:14 +00:00
Simon Detheridge
d5b373defb Remove unused variable 2020-02-17 10:55:13 +00:00
Simon Detheridge
739067e0f2 Fix formatting 2020-02-17 10:55:12 +00:00
Simon Detheridge
f57d909f69 Upgrade hashes to sha512 2020-02-17 10:55:11 +00:00
Simon Detheridge
84c096a108 Uninstall coffee-script 2020-02-17 10:55:10 +00:00
Simon Detheridge
2e84069653 prettier: convert individual decaffeinated files to Prettier format 2020-02-17 10:55:09 +00:00
Simon Detheridge
06b93447d5 decaffeinate: convert individual files to js 2020-02-17 10:55:08 +00:00
Simon Detheridge
2616cde05e decaffeinate: rename individual coffee files to js files 2020-02-17 10:55:07 +00:00
Simon Detheridge
167dfadfea prettier: convert test/acceptance decaffeinated files to Prettier format 2020-02-17 10:55:06 +00:00
Simon Detheridge
42ea536ece decaffeinate: rename test/acceptance/coffee to test/acceptance/js 2020-02-17 10:55:05 +00:00
decaffeinate
1aab5bd086 decaffeinate: Run post-processing cleanups on ContactsApp.coffee and 1 other file 2020-02-17 10:55:04 +00:00
decaffeinate
01e42e2b1c decaffeinate: Convert ContactsApp.coffee and 1 other file to JS 2020-02-17 10:55:03 +00:00
decaffeinate
2c3d8739ed decaffeinate: Rename ContactsApp.coffee and 1 other file from .coffee to .js 2020-02-17 10:55:02 +00:00
Simon Detheridge
9f46abc0d1 prettier: convert test/unit decaffeinated files to Prettier format 2020-02-17 10:55:01 +00:00
Simon Detheridge
856b428272 decaffeinate: rename test/unit/coffee to test/unit/js 2020-02-17 10:55:00 +00:00
decaffeinate
afbc798fda decaffeinate: Run post-processing cleanups on ContactsManagerTests.coffee and 1 other file 2020-02-17 10:54:59 +00:00
decaffeinate
9c06e4fa9a decaffeinate: Convert ContactsManagerTests.coffee and 1 other file to JS 2020-02-17 10:54:58 +00:00
decaffeinate
1dc82b4342 decaffeinate: Rename ContactsManagerTests.coffee and 1 other file from .coffee to .js 2020-02-17 10:54:57 +00:00
Simon Detheridge
8f6dfedc6c prettier: convert app/js decaffeinated files to Prettier format 2020-02-17 10:54:56 +00:00
Simon Detheridge
31f06e13d6 decaffeinate: rename app/coffee dir to app/js 2020-02-17 10:54:55 +00:00
decaffeinate
0b7e05732e decaffeinate: Run post-processing cleanups on ContactManager.coffee and 3 other files 2020-02-17 10:54:54 +00:00
decaffeinate
af36ed629b decaffeinate: Convert ContactManager.coffee and 3 other files to JS 2020-02-17 10:54:53 +00:00
decaffeinate
683b9a7cb3 decaffeinate: Rename ContactManager.coffee and 3 other files from .coffee to .js 2020-02-17 10:54:52 +00:00
Simon Detheridge
57df7b00ca decaffeinate: add eslint and prettier packages 2020-02-17 10:54:51 +00:00
Simon Detheridge
4b3795ede8 decaffeinate: update .gitignore 2020-02-17 10:53:46 +00:00
Simon Detheridge
abf640c547 decaffeinate: update build scripts to es 2020-02-17 07:35:05 +00:00
Jakob Ackermann
0d5ba66bfe Merge pull request #17 from overleaf/jpa-dependencies-cleanup
[misc] cleanup unused dependency on redis
2020-02-14 10:55:47 +01:00
Jakob Ackermann
a248d6b0a2 [misc] cleanup unused dependency on redis 2020-02-12 14:43:18 +01:00
Brian Gough
a5816a0c23 remove unused .travis.yml file 2020-02-12 12:37:00 +00:00
Jakob Ackermann
834adc369c [misc] update the build scripts to 1.3.5 2020-02-11 12:27:58 +01:00
Brian Gough
5ee4766e99 update node version in buildscript.txt 2020-02-07 15:31:03 +00:00
Brian Gough
65c6d9cbad update .nvmrc 2020-02-07 15:30:41 +00:00
Brian Gough
56c198da7c update to node 10.19.0 2020-02-07 14:16:31 +00:00
Shane Kilkelly
d944746671 Upgrade to node 10, and migrate to package-lock.json 2019-09-30 11:30:56 +01:00
Shane Kilkelly
cb46848e2e update logger and metrics 2019-06-19 09:11:59 +01:00
Timothée Alby
8ccb639a69 update Git URL in Jenkinsfile 2019-05-07 17:36:42 +01:00
Timothée Alby
018bfeeff5 Update README.md 2019-05-07 16:23:02 +01:00
Henry Oswald
fd143cf2bf bulk update build scripts, internal packages
moved internal packages from git to npm
2019-02-01 16:23:24 +00:00
Christopher Hoskin
8843f99ef3 Add **/*.map to .gitignore 2019-01-10 09:29:12 +00:00