Jakob Ackermann
28b1ad3243
[misc] add a new endpoint for querying the deleted status of a doc
...
`/project/:project_id/doc/:doc_id/deleted` responds with:
- 404: the doc does not exist
- 200 and body `{"deleted":true}`: doc exists and is deleted
- 200 and body `{"deleted":false}`: doc exists and is not deleted
2021-01-15 14:49:27 +00:00
Christopher Hoskin
5b552ce74a
Merge pull request #88 from overleaf/csh-issue-3895-node-10-23-1
...
Updates Node version from 10.22.1 to 10.23.1
2021-01-07 12:32:15 +00:00
Christopher Hoskin
ad45f295ef
Merge branch 'master' into csh-issue-3895-node-10-23-1
2021-01-07 08:20:37 +00:00
Christopher Hoskin
0e6a9bd792
Merge pull request #83 from overleaf/jpa-fix-ci
...
[misc] fix ci -- pin fake-gcs to a compatible version
2021-01-07 08:19:26 +00:00
Christopher Hoskin
fa101a44f7
Update Node to 10.23.1
2021-01-06 09:57:08 +00:00
Jakob Ackermann
bbcc47a2c4
[misc] fix ci -- pin fake-gcs to a compatible version
2021-01-04 11:57:35 +00:00
Jakob Ackermann
595e0f3f72
Merge pull request #81 from overleaf/jpa-no-git-install
...
[misc] install @overleaf/object-persistor from tar-ball
2020-12-02 15:14:41 +00:00
Jakob Ackermann
9d633c5fa7
[misc] install @overleaf/object-persistor from tar-ball
2020-12-02 12:39:01 +00:00
Eric Mc Sween
fe39cf053d
Merge pull request #79 from overleaf/em-docker-compose-healthchecks
...
Upgrade build-scripts to 3.4.0
2020-11-26 10:54:40 -05:00
Eric Mc Sween
ca8a180401
Merge pull request #80 from overleaf/jpa-bump-metrics-module
...
[misc] bump metrics module to 3.4.1
2020-11-26 10:54:25 -05:00
Jakob Ackermann
1e4bc43e08
[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:23 +00:00
Eric Mc Sween
f472594819
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
6dd15ceb16
Merge pull request #78 from overleaf/spd-handle-404s
...
Don't throw 404 errors when unarchiving, if the doc is already unarchived
2020-09-25 10:15:17 +01:00
Simon Detheridge
31c757cce2
Don't throw 404 errors when unarchiving, if the doc is already unarchived
2020-09-25 09:17:01 +01:00
Simon Detheridge
0386b871ee
Merge pull request #67 from overleaf/jpa-mongodb-shared-db
...
[misc] simplify mongodb collection access using a shared db construct
2020-09-17 15:42:02 +01:00
Simon Detheridge
867a145843
Merge pull request #74 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 15:41:45 +01:00
Jakob Ackermann
3644db6848
[misc] mongodb: use the new db connector by default
...
mongojs was enabling it by default as well.
2020-09-17 15:40:23 +01:00
Jakob Ackermann
b37e27f023
[misc] run the codemod for moving mongo projections into options
2020-09-17 15:40:20 +01:00
Jakob Ackermann
54a82b8c62
[misc] mongodb: export a helper for adding new collections to db
...
Co-Authored-By: Eric Mc Sween <eric.mcsween@overleaf.com>
Co-Authored-By: Simon Detheridge <s@sd.ai>
2020-09-17 15:39:46 +01:00
Jakob Ackermann
1e7fa2246d
[misc] mongodb: refactor the process of setting up the db construct
...
Co-Authored-By: John Lees-Miller <jdleesmiller@gmail.com>
2020-09-17 15:39:46 +01:00
Jakob Ackermann
8a8a830ad3
[misc] simplify mongodb collection access using a shared db construct
...
Resolve the getCollection Promises once and store the result in a shared
`db` object which can get imported by all the call-sites.
The http server is starting only after a Promise of `waitForDb()`
resolves. This covers the app code and the acceptance tests.
2020-09-17 15:39:44 +01:00
Simon Detheridge
f90d12ed21
Merge pull request #77 from overleaf/spd-node-upgrade
...
Upgrade node to 10.22.1
2020-09-17 15:37:59 +01:00
dependabot[bot]
7dd2d95b16
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-17 14:37:55 +00:00
Simon Detheridge
360830d3cd
Merge pull request #76 from overleaf/spd-remove-old-scripts
...
Remove rearchive script
2020-09-17 15:37:48 +01:00
Simon Detheridge
9ec93ca0d6
Merge pull request #75 from overleaf/spd-p-map
...
Replace tiny-async-pool with p-map
2020-09-17 15:37:37 +01:00
Simon Detheridge
1b73733625
Merge pull request #73 from overleaf/spd-metrics-upgrade
...
Upgrade metrics to @overleaf/metrics'
2020-09-17 15:37:08 +01:00
Simon Detheridge
2ce0ea7e72
Merge pull request #68 from overleaf/dependabot-npm_and_yarn-bl-2.2.1
...
Bump bl from 2.2.0 to 2.2.1
2020-09-17 15:36:15 +01:00
Simon Detheridge
465bf473d9
Upgrade node to 10.22.1
2020-09-17 14:30:25 +01:00
Simon Detheridge
5d76859622
Remove rearchive script
2020-09-14 16:41:40 +01:00
Simon Detheridge
90a6642b33
Replace tiny-async-pool with p-map
2020-09-14 16:34:34 +01:00
Simon Detheridge
96b85da43e
Update package hashes
2020-09-14 16:13:18 +01:00
Simon Detheridge
ad4531ff01
Upgrade metrics to @overleaf/metrics'
2020-09-10 18:07:14 +01:00
Simon Detheridge
f7e4c95cb8
Merge pull request #70 from overleaf/spd-rearchive-end-parameter
...
Add 'endId' parameter to rearchive script
2020-09-04 14:54:43 +01:00
Simon Detheridge
1988d0afb5
Update scripts/rearchive-all-docs.js
...
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-09-04 14:50:50 +01:00
Simon Detheridge
0911011624
Add 'endId' parameter to rearchive script
2020-09-04 14:14:20 +01:00
dependabot[bot]
96f909deaa
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-03 19:15:41 +00:00
Simon Detheridge
38cc0488b1
Merge pull request #65 from overleaf/spd-migration-script
...
Add script to migrate data from S3
2020-08-26 12:58:50 +01:00
Simon Detheridge
f9862081b7
Add script to migrate data from S3
2020-08-26 11:46:40 +01:00
Jakob Ackermann
ed0426478c
Merge pull request #66 from overleaf/jpa-mongodb-native
...
[misc] migrate to the native mongo driver
2020-08-25 11:00:34 +02:00
Jakob Ackermann
2fa09928ee
[misc] migrate acceptance tests to the native mongo driver, drop mongojs
2020-08-25 09:41:23 +01:00
Jakob Ackermann
df0747ec48
[misc] migrate the app to the native mongo driver
...
acceptance tests to follow in a separate commit
2020-08-25 09:40:59 +01:00
Christopher Hoskin
a548f0c1a4
Merge pull request #64 from overleaf/csh-issue-1123-bump-logger-220
...
[misc] bump logger-sharelatex to version 2.2.0
2020-08-13 12:49:57 +01:00
Christopher Hoskin
16c9ab38b2
Fix formating
2020-08-12 15:29:19 +01:00
Christopher Hoskin
2be47a6820
Add missing eslint-plugin-chai-friendly@^0.5.0
2020-08-12 15:24:43 +01:00
Christopher Hoskin
d1da5e43af
[misc] bump logger-sharelatex to version 2.2.0
2020-08-12 15:17:06 +01:00
Simon Detheridge
0c83e19863
Merge pull request #63 from overleaf/spd-object-persistor
...
Add support for object-persistor
2020-08-11 10:44:25 +01:00
Simon Detheridge
d5214d4351
Update object-persistor module
2020-08-10 16:53:18 +01:00
Simon Detheridge
1575cd41eb
Don't pass empty array to asyncPool when archiving
2020-08-10 15:44:41 +01:00
Simon Detheridge
e4d7c253c0
Fallback to AWS_BUCKET env var in settings for backwards compatiblity
2020-08-10 11:55:39 +01:00
Simon Detheridge
a18146612a
Remove unhandled-promise-rejection handler
2020-07-31 16:25:33 +01:00