Antoine Clausse
7f48c67512
Add prefer-node-protocol
ESLint rule ( #21532 )
...
* Add `unicorn/prefer-node-protocol`
* Fix `unicorn/prefer-node-protocol` ESLint errors
* Run `npm run format:fix`
* Add sandboxed-module sourceTransformers in mocha setups
Fix `no such file or directory, open 'node:fs'` in `sandboxed-module`
* Remove `node:` in the SandboxedModule requires
* Fix new linting errors with `node:`
GitOrigin-RevId: 68f6e31e2191fcff4cb8058dd0a6914c14f59926
2024-11-11 09:04:51 +00:00
Eric Mc Sween
a95c0bbfc3
Merge pull request #19151 from overleaf/em-history-ranges-quick-migration
...
Add quick history ranges support migration
GitOrigin-RevId: 8446beb6bcd7384c32fc1b216e4b72d8f5d91500
2024-07-03 08:04:44 +00:00
Christopher Hoskin
5855ba7b49
Merge pull request #15241 from overleaf/em-gcp-opentelemetry
...
Replace the GCP trace agent with OpenTelemetry
GitOrigin-RevId: 591410029349e4ef5a39a5b79868e57c7bd089b6
2023-10-19 08:02:52 +00:00
Jakob Ackermann
a797fb2be7
Merge pull request #14138 from overleaf/bg-em-jpa-mj-node-18
...
Upgrade all services to Node 18
GitOrigin-RevId: c53cd1aaab2fe99b51186911bb068f9fe31a9469
2023-08-03 08:03:56 +00:00
Eric Mc Sween
adfe7abaaf
Merge pull request #13255 from overleaf/em-socket-leak-detection
...
Reintroduce socket leak detection in all services
GitOrigin-RevId: 0a9a1ced0b886dbb267cb46beb5da7d0133d39aa
2023-05-31 08:05:24 +00:00
Eric Mc Sween
6077e73dd6
Merge pull request #13253 from overleaf/em-revert-leaked-socket-detection
...
Revert leaked socket detection
GitOrigin-RevId: 0f17864122a17fc69d0dac1ad5e2775805639871
2023-05-30 08:04:09 +00:00
Eric Mc Sween
c625fef364
Merge pull request #13214 from overleaf/bg-add-socket-leak-detection-to-all-services
...
add socket leak detection to all services
GitOrigin-RevId: 9481222258b796ca8c3b50cdd7ce60c05f0f9f61
2023-05-30 08:03:58 +00:00
Jakob Ackermann
5638f06b3a
Merge pull request #13055 from overleaf/jpa-monitor-sockets-everywhere
...
[metrics] collect HTTP socket stats for all the services
GitOrigin-RevId: 52872f4ca46d8cf351f7f4b4df90f9d6b05010b3
2023-05-23 08:05:03 +00:00
Jakob Ackermann
e4efe121da
Merge pull request #12229 from overleaf/jpa-reject-decrement-doc-version
...
[docstore] reject doc updates that decrement the doc version
GitOrigin-RevId: 533cc5ece8d5684c85b2f63fa2a093c68f6b5877
2023-03-22 09:04:55 +00:00
Eric Mc Sween
1f566c3556
Merge pull request #10911 from overleaf/em-upgrade-mongo-docstore
...
Upgrade the Mongo driver in docstore
GitOrigin-RevId: 35e5de558e7900fcb455f1044703912077273d47
2022-12-16 09:02:59 +00:00
Eric Mc Sween
e0d91eaa26
Merge pull request #7906 from overleaf/em-downgrade-logs
...
Downgrade all INFO logs to DEBUG
GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
2022-05-17 08:05:26 +00:00
Eric Mc Sween
ddb94d159a
Merge pull request #7627 from overleaf/em-docstore-archiving
...
Safer doc unarchiving
GitOrigin-RevId: 60f7aa39401d2f09c13570097c4f376cc401931f
2022-04-27 08:03:57 +00:00
Alexandre Bourdin
b1b9b9132a
Merge pull request #7004 from overleaf/ab-docstore-max-request-size-config
...
Add config for body parser max request size in docstore
GitOrigin-RevId: ee5cc319d44b1abdbae5b39270e56afb637bf2c7
2022-03-07 09:03:04 +00:00
Eric Mc Sween
f7275a6c4b
Merge pull request #6079 from overleaf/em-upgrade-logger
...
Upgrade logger and metrics in all services
GitOrigin-RevId: 2baf63eeeab77fb3559cf763ddacfbf4b745cd0b
2021-12-15 09:04:25 +00:00
Alexandre Bourdin
493b4ecfde
Merge pull request #6029 from overleaf/ab-docstore-socket-leak
...
Set timeout values on docstore server
GitOrigin-RevId: ea7a29532e53964b5b66367617e797160711c063
2021-12-08 09:03:57 +00:00
Brian Gough
dd082ad345
return a 409 for DocModified errors
2021-08-02 10:25:18 +01:00
Brian Gough
6ce28271eb
peek at docs without unarchiving
2021-07-30 16:06:16 +01:00
Jakob Ackermann
540b52c128
[misc] run format_fix and lint:fix
2021-07-13 12:04:48 +01:00
Jakob Ackermann
2c35adaf48
[misc] switch from settings-sharelatex to @overleaf/settings
2021-07-12 17:47:20 +01:00
Jakob Ackermann
e80d013268
[misc] drop the deleteDoc endpoint -- use patchDoc instead
2021-04-12 17:31:18 +01:00
Jakob Ackermann
8915e1d026
[misc] add a new endpoint for getting deleted docs
2021-02-18 10:10:14 +00:00
Jakob Ackermann
26bc074098
[DocstoreManager] patchDoc: allow updates after deletion
2021-02-17 11:31:01 +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
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
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
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
Simon Detheridge
ad4531ff01
Upgrade metrics to @overleaf/metrics'
2020-09-10 18:07:14 +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
Ersun Warncke
06ec5556b0
[misc] fix express deprecations
...
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-07-02 14:48:11 +01:00
Tim Alby
c854f1f570
prettier auto-format
2020-05-28 15:20:54 +02:00
Simon Detheridge
cfad4b585d
Fix linting errors missed by bulk-decaffienate
2020-02-17 10:49:34 +00:00
Simon Detheridge
5bca0c9bab
prettier: convert individual decaffeinated files to Prettier format
2020-02-17 10:49:26 +00:00
Simon Detheridge
421d6dabab
decaffeinate: convert individual files to js
2020-02-17 10:49:24 +00:00
Simon Detheridge
b8aa04b9ff
decaffeinate: rename individual coffee files to js files
2020-02-17 10:49:22 +00:00