Commit graph

640 commits

Author SHA1 Message Date
Brian Gough
3f4295b070 Merge pull request #5035 from overleaf/bg-upgrade-track-changes-dependencies
[track-changes] update package-lock.json

GitOrigin-RevId: bb6af305f1a769a1c0c508aeabc246f0d10b14a3
2021-09-13 08:03:10 +00:00
Eric Mc Sween
b83c35fdbb Merge pull request #4665 from overleaf/bg-zip-manager
add streaming zip export of history (migrated from track-changes#117)

GitOrigin-RevId: 45e6a66332541f463241f148892817725c0be39c
2021-08-17 08:03:24 +00:00
Jakob Ackermann
c2d44d16e3 [misc] upgrade node version to latest v12 LTS version 12.22.3 2021-07-13 12:26:31 +01:00
Jakob Ackermann
181a895c04 [misc] temporary override a few new/changed eslint rules 2021-07-13 12:24:37 +01:00
Jakob Ackermann
9178394dd6 [misc] run format_fix and lint:fix 2021-07-13 12:04:43 +01:00
Jakob Ackermann
1e577e24b1 [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:14 +01:00
Jakob Ackermann
9af4425915 [misc] run npm dedupe 2021-07-12 17:51:02 +01:00
Jakob Ackermann
b5bb7c3b04 [misc] switch from settings-sharelatex to @overleaf/settings 2021-07-12 17:47:16 +01:00
Jakob Ackermann
7495d2114a [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
Alf Eaton
2764b9c606 Merge pull request #112 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-28 10:25:11 +01:00
Alf Eaton
3aeaafaee4 Merge pull request #111 from overleaf/dependabot-npm_and_yarn-lodash-4.17.21
build(deps): bump lodash from 4.17.20 to 4.17.21
2021-05-28 10:25:01 +01:00
Alf Eaton
4f57b6ee37 Merge pull request #110 from overleaf/dependabot-npm_and_yarn-underscore-1.13.1
build(deps): bump underscore from 1.9.2 to 1.13.1
2021-05-28 10:24:30 +01:00
Alf Eaton
93b4bc8a4a Merge pull request #108 from overleaf/jpa-explicit-dependencies
[misc] add linting for missing explicit dependencies and fix any errors
2021-05-28 10:24:14 +01:00
Alf Eaton
0ea35ab52b Merge pull request #107 from overleaf/dependabot-npm_and_yarn-y18n-4.0.1
build(deps): bump y18n from 4.0.0 to 4.0.1
2021-05-28 10:23:30 +01:00
Alf Eaton
f716134b53 Delete CoffeeScript scripts 2021-05-26 15:56:08 +01:00
dependabot[bot]
218f0fd4d8 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:33:05 +00:00
dependabot[bot]
39bc2b7685 build(deps): 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 03:21:10 +00:00
dependabot[bot]
c30fe0364a 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:08:44 +00:00
Jakob Ackermann
666e9f22cd [misc] add linting for missing explicit dependencies and fix any errors 2021-04-29 15:30:49 +01:00
dependabot[bot]
e325bec7f3 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:25:02 +00:00
Eric Mc Sween
065095f53d Merge pull request #104 from overleaf/jpa-metrics-module-3-5-1
[misc] bump the version of the metrics module to 3.5.1
2021-03-25 08:27:45 -04:00
Eric Mc Sween
9b009efd46 Upgrade to Node 12 2021-03-23 15:19:57 -04:00
Eric Mc Sween
a793ecd41b Add global test setup
Configure chai and SandboxedModule in a central place. Configure
SandboxedModule globals that are required in Node 12.
2021-03-23 15:19:57 -04:00
Jakob Ackermann
ed70b99d8a [misc] exportProject: collect and send user ids of updates in trailer 2021-02-25 09:52:54 +00:00
Jakob Ackermann
f411049b82 [misc] add a new endpoint for exporting all the project history 2021-02-23 18:02:58 +00:00
Jakob Ackermann
6bd5120dcf [misc] bump the version of the metrics module to 3.5.1 2021-02-16 15:10:15 +00:00
Christopher Hoskin
2ca170d31c Merge pull request #102 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 16:17:56 +00:00
Christopher Hoskin
a506b11245 Update Node to 10.23.1 2021-01-06 09:57:08 +00:00
dependabot[bot]
a25246106e 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:36:01 +00:00
Jakob Ackermann
c3ff0af7e4 Merge pull request #101 from overleaf/jpa-bump-metrics-module
[misc] bump metrics module to 3.4.1
2020-11-27 09:02:49 +00:00
Jakob Ackermann
8ef3aa1767 [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
76d0865c21 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
Jakob Ackermann
68a1b4d459 [misc] bump @overleaf/redis-wrapper to version 2.0.0 2020-11-11 16:21:11 +00:00
Jakob Ackermann
2c8916f2e0 [PackWorker] fix the db cleanup process -- we do not expose db.close 2020-09-29 12:23:18 +01:00
Jakob Ackermann
41a65ee41e [PackWorker] wait for the db setup before starting to process updates 2020-09-29 12:22:22 +01:00
Jakob Ackermann
31ad29e8c4 Merge pull request #95 from overleaf/dependabot-npm_and_yarn-yargs-parser-13.1.2
Bump yargs-parser from 13.1.1 to 13.1.2
2020-09-29 12:01:09 +02:00
Jakob Ackermann
c6119c5bcb Merge pull request #92 from overleaf/dependabot-npm_and_yarn-lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20
2020-09-29 12:00:43 +02:00
Jakob Ackermann
d06d2cdc36 Merge pull request #96 from overleaf/dependabot-npm_and_yarn-node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-29 11:56:55 +02:00
dependabot[bot]
724e616df9 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-29 09:56:48 +00:00
dependabot[bot]
7603e328cd 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-29 09:56:07 +00:00
Jakob Ackermann
5ffbac59e8 Merge pull request #97 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-29 11:55:44 +02:00
Jakob Ackermann
f052625396 [misc] bump the dev-env to 3.3.4 and bump the node version to 10.22.1 2020-09-17 15:43:32 +01:00
dependabot[bot]
a292bd7b1c 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 15:08:04 +00:00
Jakob Ackermann
9dddf59a9d [misc] migrate acceptance tests to the native mongo driver, drop mongojs 2020-09-10 17:39:16 +01:00
Jakob Ackermann
c630cbb4e3 [misc] migrate the app to the native mongo driver
acceptance tests to follow in a separate commit.
2020-09-10 17:39:12 +01:00
Jakob Ackermann
3a4aa45e2e Merge branches 'jpa-bump-bson', 'jpa-mongo-find-query-cleanup', 'jpa-mongo-js-cleanup' and 'jpa-mongo-update-query-cleanup' into jpa-mongodb-native 2020-09-10 16:41:45 +01:00
Jakob Ackermann
c42561c38a [misc] update the bson package 2020-09-10 16:40:56 +01:00
Jakob Ackermann
6d3fa2ee5b [misc] mongodb: use findOne and find().toArray() 2020-09-10 14:54:18 +01:00
Jakob Ackermann
b86acf3ea1 [misc] mongodb: change findAndModify queries to updateOne
There is no need to fetch mongo data when the call-site does not look at
 it. Also handle mongo errors in `setTTLOnArchivedPack`.
2020-09-10 14:18:14 +01:00
Jakob Ackermann
e74af0bee6 [misc] PackWorker: drop workaround for db.close in mongojs@1
REF: 3ed3932ee837920e95661b0308dee012f40a71dd
2020-09-10 11:10:59 +01:00
Christopher Hoskin
f39e31c6fd [misc] bump logger-sharelatex to version 2.2.0 2020-08-12 16:16:42 +01:00
Jakob Ackermann
05d2712eb1 [misc] bump the dev-env to 3.3.2 2020-08-10 17:23:17 +01:00
Shane Kilkelly
abe3653286 Upgrade redis-sharelatex to 1.0.13 2020-07-28 09:25:30 +01:00
Miguel Serrano
522e04d769 Merge pull request #86 from overleaf/msm-remove-source-maps
Remove source maps
2020-06-30 12:24:06 +02:00
Miguel Serrano
4dba0a3170 Removed pinned version of adobe/s3mock docker image 2020-06-29 12:59:38 +02:00
Miguel Serrano
e96538f7ba Added new line at the end of .gitignore 2020-06-19 19:25:40 +02:00
Miguel Serrano
0f00aa4d47 Added *.js.map entry to .gitignore 2020-06-19 19:24:59 +02:00
Miguel Serrano
105335c62a Remove source maps 2020-06-19 19:19:15 +02:00
Miguel Serrano
fc6d810972 Merge pull request #85 from overleaf/msm-pinned-s3mock-docker-image
Pinned adobe/s3mock docker image
2020-06-18 16:10:43 +02:00
Miguel Serrano
4fb6c82fc4 Merge pull request #82 from overleaf/ew-jpa-fix-express-deprecations
[misc] fix express deprecations
2020-06-18 16:10:33 +02:00
Miguel Serrano
16922bf177 Pinned adobe/s3mock docker image 2020-06-17 16:36:57 +02:00
Tim Alby
472d65d15c Revert "[misc] make: ignore a lint/format task failure"
This reverts commit 85f3dc661b17f8b99aa073c376aa2aa5af8998af.
2020-06-04 10:39:35 +02:00
Tim Alby
8335f31d6c fix linting 2020-06-04 10:37:43 +02:00
Tim Alby
d3a7ffd1a9 fix formatting 2020-06-04 10:24:21 +02:00
Jakob Ackermann
9baf54ac00 [misc] make: ignore a lint/format task failure 2020-06-03 11:32:07 +01:00
Brian Gough
bb3e562d8d update buildscript.txt to node 10.21.0 2020-06-03 11:12:38 +01:00
Brian Gough
6ee56438aa update to node 10.21.0 2020-06-03 10:27:34 +01:00
Ersun Warncke
98c1ffefff [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-16 09:39:57 +02:00
Henry Oswald
5cb369cba8 bump redis to 1.0.12 2020-03-31 13:22:38 +01:00
Eric Mc Sween
42049d5e0d Upgrade metrics-sharelatex to 2.6.2
This version fixes the HTTP request timing metrics, which were not
reporting correctly.
2020-03-25 10:13:07 -04:00
mserranom
87737a403d updated sandboxed-module and tests 2020-03-23 11:34:57 +01:00
mserranom
cd0e7b3afd updated async, byline, line-reader and cli 2020-03-23 11:28:26 +01:00
mserranom
f321144d8c fixed unit test using legacy express methods 2020-03-23 11:25:28 +01:00
mserranom
dd3673d5c0 updated mock methods to express v4 signatures 2020-03-23 11:17:32 +01:00
mserranom
79f6b9a877 updated express to v4 2020-03-23 11:10:24 +01:00
mserranom
ddcdbb6448 updated mocha and sinon, fixed test 2020-03-23 10:35:53 +01:00
mserranom
3464088c94 updated prettier and other minor dependencies 2020-03-23 10:21:46 +01:00
mserranom
3f2bb30980 updated aws-sdk and mongojs 2020-03-20 17:39:23 +01:00
mserranom
592cae3698 updated minor/patch dependencies 2020-03-20 17:33:45 +01:00
mserranom
bcc1c9d4f9 npm audit fix 2020-03-20 17:32:23 +01:00
mserranom
3d10196ebd updated build-scripts and sharelatex-xxx modules 2020-03-20 17:31:01 +01:00
Shane Kilkelly
622ab898d9 upgrade requestretry to 4.1 2020-02-26 12:25:13 +00:00
dependabot[bot]
705ee285c1 Bump request from 2.33.0 to 2.88.2
Bumps [request](https://github.com/request/request) from 2.33.0 to 2.88.2.
- [Release notes](https://github.com/request/request/releases)
- [Changelog](https://github.com/request/request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/request/request/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-19 11:38:33 +00:00
mserranom
61fa73b147 Uninstall coffee-script 2020-02-17 18:36:21 +01:00
mserranom
572446956e prettier: convert individual decaffeinated files to Prettier format 2020-02-17 18:36:02 +01:00
mserranom
0a8e936c47 decaffeinate: convert individual files to js 2020-02-17 18:36:01 +01:00
mserranom
0c8873fd2e decaffeinate: rename individual coffee files to js files 2020-02-17 18:35:59 +01:00
mserranom
3183aca524 prettier: convert test/acceptance decaffeinated files to Prettier format 2020-02-17 18:35:59 +01:00
mserranom
011262986d decaffeinate: rename test/acceptance/coffee to test/acceptance/js 2020-02-17 18:35:55 +01:00
decaffeinate
8fdf89b87c decaffeinate: Run post-processing cleanups on AppendingUpdatesTests.coffee and 11 other files 2020-02-17 18:35:50 +01:00
decaffeinate
11c39cde65 decaffeinate: Convert AppendingUpdatesTests.coffee and 11 other files to JS 2020-02-17 18:35:39 +01:00
decaffeinate
c97a2a3c07 decaffeinate: Rename AppendingUpdatesTests.coffee and 11 other files from .coffee to .js 2020-02-17 18:35:33 +01:00
mserranom
7741730574 prettier: convert test/unit decaffeinated files to Prettier format 2020-02-17 18:35:16 +01:00
mserranom
201bfbbf32 decaffeinate: rename test/unit/coffee to test/unit/js 2020-02-17 18:35:11 +01:00
decaffeinate
a35c69c0c8 decaffeinate: Run post-processing cleanups on DiffGeneratorTests.coffee and 13 other files 2020-02-17 18:35:01 +01:00
decaffeinate
86a9593ec0 decaffeinate: Convert DiffGeneratorTests.coffee and 13 other files to JS 2020-02-17 18:34:50 +01:00
decaffeinate
fa5256d3c2 decaffeinate: Rename DiffGeneratorTests.coffee and 13 other files from .coffee to .js 2020-02-17 18:34:39 +01:00
mserranom
3587b42311 prettier: convert app/js decaffeinated files to Prettier format 2020-02-17 18:34:28 +01:00
mserranom
e79e044644 decaffeinate: rename app/coffee dir to app/js 2020-02-17 18:34:25 +01:00
decaffeinate
65ecd31c3a decaffeinate: Run post-processing cleanups on DiffGenerator.coffee and 17 other files 2020-02-17 18:34:21 +01:00