Commit graph

637 commits

Author SHA1 Message Date
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
ccb8a022a9 Merge pull request #105 from overleaf/jpa-project-export
[misc] add a new endpoint for exporting all the project history
2021-03-05 09:46:42 +00: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
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
fd94725d12 Merge pull request #103 from overleaf/csh-issue-3895-node-10-23-1
Updates Node version from 10.22.1 to 10.23.1
2021-01-06 16:17:30 +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
Eric Mc Sween
d2e10bb27c Merge pull request #100 from overleaf/em-docker-compose-healthchecks
Upgrade build-scripts to 3.4.0
2020-11-25 08:21:54 -05: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
5fc1e49660 Merge pull request #99 from overleaf/jpa-redis-wrapper-rewrite
[misc] bump @overleaf/redis-wrapper to version 2.0.0
2020-11-12 13:12:07 +01:00
Jakob Ackermann
68a1b4d459 [misc] bump @overleaf/redis-wrapper to version 2.0.0 2020-11-11 16:21:11 +00:00
Jakob Ackermann
3da2e0370a Merge pull request #98 from overleaf/jpa-hotfix-pack-worker
[PackWorker] fixes for the native mongo driver
2020-09-29 15:17:39 +02: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
712a4c11e2 Merge pull request #94 from overleaf/jpa-mongodb-native
[misc] migrate to the native mongo driver
2020-09-29 11:55:11 +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
0bfe84db47 Merge pull request #90 from overleaf/jpa-bump-dev-env-3-3-2
[misc] bump the dev-env to 3.3.2
2020-08-14 08:58:47 +01:00
Christopher Hoskin
47f8984483 Merge pull request #91 from overleaf/csh-issue-1123-bump-logger-220
[misc] bump logger-sharelatex to version 2.2.0
2020-08-14 08:54:41 +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
802691a951 Merge pull request #89 from overleaf/sk-upgrade-redis
Upgrade redis-sharelatex to 1.0.13
2020-07-29 09:38:51 +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
af3be13cf3 Merge pull request #87 from overleaf/msm-set-s3mock-image-latests
Removed pinned version of adobe/s3mock docker image
2020-06-30 12:18:28 +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
Miguel Serrano
aad135b7c8 Merge pull request #84 from overleaf/lint-format
Lint & Format
2020-06-17 14:59:43 +02:00