nate stemen
cee6c0aad9
Merge pull request #105 from overleaf/dependabot-npm_and_yarn-underscore-1.13.1
...
Bump underscore from 1.10.2 to 1.13.1
2021-05-27 11:53:50 -04:00
nate stemen
081201f796
Merge pull request #103 from overleaf/jpa-retry-archive-deletion
...
[DocArchiveManager] retry the deletion of doc archives three times
2021-05-27 11:45:53 -04:00
nate stemen
3bbc9156cd
Merge pull request #108 from overleaf/ae-decaffeinate-config
...
Finish decaffeinating settings.default.js
2021-05-27 11:45:13 -04:00
nate stemen
64e201283b
Merge pull request #107 from overleaf/dependabot-npm_and_yarn-hosted-git-info-2.8.9
...
Bump hosted-git-info from 2.8.5 to 2.8.9
2021-05-27 11:45:00 -04:00
nate stemen
fcf0e026c3
Merge pull request #106 from overleaf/dependabot-npm_and_yarn-lodash-4.17.21
...
Bump lodash from 4.17.19 to 4.17.21
2021-05-27 11:44:52 -04:00
dependabot[bot]
91c19e1f88
Bump underscore from 1.10.2 to 1.13.1
...
Bumps [underscore](https://github.com/jashkenas/underscore ) from 1.10.2 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases )
- [Commits](https://github.com/jashkenas/underscore/compare/1.10.2...1.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 15:43:37 +00:00
nate stemen
d0d9cec7e2
Merge pull request #102 from overleaf/jpa-explicit-dependencies
...
[misc] add linting for missing explicit dependencies and fix any errors
2021-05-27 11:43:04 -04:00
nate stemen
20f70b120a
Merge pull request #97 from overleaf/dependabot-npm_and_yarn-y18n-4.0.1
...
Bump y18n from 4.0.0 to 4.0.1
2021-05-27 11:42:43 -04:00
Alf Eaton
acbf8b5898
Tidy and format
2021-05-19 20:22:02 +01:00
dependabot[bot]
eb8a3118d8
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 13:04:24 +00:00
dependabot[bot]
847ff87ce3
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:33:05 +00:00
Jakob Ackermann
9ba8237850
[DocArchiveManager] retry the deletion of doc archives three times
2021-05-05 10:58:33 +01:00
Jakob Ackermann
7e583c1bcd
[misc] drop request from devDependencies
...
Co-Authored-By: Alf Eaton <alf.eaton@overleaf.com>
2021-04-30 09:44:26 +01:00
Jakob Ackermann
f5274e52c1
[misc] add linting for missing explicit dependencies and fix any errors
2021-04-29 16:20:31 +01:00
Jakob Ackermann
54c6cce902
Merge pull request #100 from overleaf/jpa-drop-name-filter
...
[MongoManager] drop name filter from getProjectsDeletedDocs
2021-04-21 14:38:40 +02:00
Jakob Ackermann
74aaa73ad2
Merge pull request #101 from overleaf/jpa-destroy-in-small-batches
...
[DocArchiveManager] destroy in small batches
2021-04-16 11:24:04 +02:00
Jakob Ackermann
3f94dd4dbf
[DocArchiveManager] destroy in small batches
...
Also add settings options for PARALLEL_JOBS and DESTROY_BATCH_SIZE.
2021-04-16 09:51:41 +01:00
Jakob Ackermann
3ac7cdf433
Merge pull request #99 from overleaf/jpa-drop-delete-doc-endpoint
...
[misc] drop the deleteDoc endpoint -- use patchDoc instead
2021-04-13 14:16:26 +02:00
Jakob Ackermann
5bcd142b6f
[MongoManager] drop name filter from getProjectsDeletedDocs
...
All the doc names we had in the projects collection are back-filled now.
A few docs will get dummy values back-filled.
2021-04-12 17:31:26 +01:00
Jakob Ackermann
e80d013268
[misc] drop the deleteDoc endpoint -- use patchDoc instead
2021-04-12 17:31:18 +01:00
dependabot[bot]
a21a6a2e72
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 15:23:12 +00:00
Eric Mc Sween
ccf1f502e2
Merge pull request #96 from overleaf/em-upgrade-node-12
...
Upgrade to Node 12
2021-03-17 09:12:43 -04:00
Eric Mc Sween
71470d3410
Upgrade to Node 12
2021-03-16 08:41:46 -04:00
Eric Mc Sween
5efae3bee6
Add a global test setup file
...
Configure chai and SandboxedModule globally instead of in every test
file. Also add globals that are required for SandboxedModule to work in
Node 12.
2021-03-16 08:41:46 -04:00
Jakob Ackermann
5d4105dcda
Merge pull request #95 from overleaf/jpa-add-endpoint-get-deleted-docs-take-2
...
[misc] add a new endpoint for getting deleted docs
2021-02-18 10:37:37 +00:00
Jakob Ackermann
8915e1d026
[misc] add a new endpoint for getting deleted docs
2021-02-18 10:10:14 +00:00
Jakob Ackermann
c97afede90
Merge pull request #94 from overleaf/jpa-metrics-module-3-5-1
...
[misc] bump the version of the metrics module to 3.5.1
2021-02-18 09:36:41 +00:00
Jakob Ackermann
99287c2537
Merge pull request #93 from overleaf/jpa-delete-via-patch
...
[misc] add a new endpoint for changing a docs meta data -- incl. deleted
2021-02-18 09:36:29 +00:00
Jakob Ackermann
0c169cb242
[HttpController] double down on request validation
2021-02-17 11:31:27 +00:00
Jakob Ackermann
26bc074098
[DocstoreManager] patchDoc: allow updates after deletion
2021-02-17 11:31:01 +00:00
Jakob Ackermann
f6ab3a33af
[misc] bump the version of the metrics module to 3.5.1
2021-02-16 15:15:52 +00:00
Jakob Ackermann
dd4f4057f4
[misc] add a new endpoint for changing a docs meta data -- incl. deleted
...
- Validate the request payload with joi -- includes acceptance tests.
- Reject updates to docs that have been deleted.
2021-02-15 13:13:48 +00:00
Christopher Hoskin
7a73b8a247
Merge pull request #90 from overleaf/csh-update-README
...
Update README as Credentials are no longer required for acceptance tests
2021-02-09 13:37:57 +00:00
Christopher Hoskin
21d0b05dff
Update README as Credentials are no longer required for acceptance tests
2021-02-09 12:45:57 +00:00
Jakob Ackermann
50cc1c1119
Merge pull request #87 from overleaf/jpa-restore-non-deleted-only
...
[DocArchiveManager] optionally do not un-archive soft deleted docs
2021-02-09 11:26:01 +00:00
Jakob Ackermann
628943fd26
Merge pull request #85 from overleaf/jpa-background-flush-on-delete
...
[DocManager] optionally flush docs out of mongo when deleting them
2021-02-09 11:25:14 +00:00
Jakob Ackermann
12bef53645
[DocArchiveManager] optionally do not un-archive soft deleted docs
2021-02-09 11:20:26 +00:00
Jakob Ackermann
708bdfd197
[DocManager] optionally flush docs out of mongo when deleting them
2021-02-09 11:17:46 +00:00
Jakob Ackermann
915fa4ca67
Merge pull request #82 from overleaf/dependabot-npm_and_yarn-ini-1.3.8
...
Bump ini from 1.3.5 to 1.3.8
2021-02-09 11:14:39 +00:00
Jakob Ackermann
2cf9ff7b41
Merge pull request #89 from overleaf/jpa-is-doc-deleted
...
[misc] add a new endpoint for querying the deleted status of a doc
2021-02-09 11:14:28 +00:00
Jakob Ackermann
3ef1f91f47
Merge pull request #86 from overleaf/jpa-drop-expensive-default
...
[misc] MongoManager: drop unused, potentially expensive default options
2021-02-09 11:14:02 +00:00
Jakob Ackermann
ae453d463d
Merge pull request #84 from overleaf/jpa-offload-deleted-items
...
[app] add a new route for archiving a single doc
2021-02-09 11:10:12 +00:00
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
1edc628454
[misc] MongoManager: drop unused, potentially expensive default options
...
All call-sites specify an options object.
2021-01-04 16:07:14 +00:00
Jakob Ackermann
9298f486ad
[app] add a new route for archiving a single doc
...
There is a minor opportunity for optimizing the mongo call(s) for
archiving: we should include `{ inS3: false }` in the queries instead
of filtering locally. It's been like that for years now, so it can
stay a little longer.
2021-01-04 13:47:55 +00:00
Jakob Ackermann
bbcc47a2c4
[misc] fix ci -- pin fake-gcs to a compatible version
2021-01-04 11:57:35 +00:00