Jakob Ackermann
4f25b0de91
Merge pull request #22028 from overleaf/jpa-logging
...
[misc] logging tweaks
GitOrigin-RevId: 7757b81b6c684955374038376035dc2bd272c4e8
2024-11-21 09:05:41 +00:00
Jakob Ackermann
44e0428496
Merge pull request #22019 from overleaf/jpa-cleanup
...
[history-v1] back_fill_file_hash: cleanup BUFFER_DIR when done
GitOrigin-RevId: 6413292bbe8cca470919b740d7e2b45fc5e7d824
2024-11-21 09:05:05 +00:00
Jakob Ackermann
2e630e50dc
Merge pull request #22017 from overleaf/jpa-process-all-projects
...
[history-v1] back_fill_file_hash: process all projects
GitOrigin-RevId: 41c3cd59022bbac09552684ef2a99c58f2235ac3
2024-11-21 09:04:50 +00:00
Jakob Ackermann
1fca37af61
Merge pull request #22016 from overleaf/jpa-fix-flaky-test
...
[history-v1] back_fill_file_hash: fix typo in tests and add comments
GitOrigin-RevId: a4055d7dd33ba584a2a86053470585f412392305
2024-11-21 09:04:46 +00:00
Jakob Ackermann
6de1817ef5
Merge pull request #22013 from overleaf/jpa-flush-mongo-queues-early
...
[history-v1] back_fill_file_hash: flush mongo write queues early
GitOrigin-RevId: 9b6c6ff9861945e69e42d15dc19f4c03c39193e9
2024-11-21 09:04:42 +00:00
Jakob Ackermann
73aea01f37
Merge pull request #21996 from overleaf/jpa-stream-pg-result
...
[history-v1] postgres: getProjectBlobsBatch: stream records
GitOrigin-RevId: 94ed6dfc4a263fd9369cd380e6cc25c7bbf6decc
2024-11-21 09:04:38 +00:00
Jakob Ackermann
67ca6a74b2
Merge pull request #22004 from overleaf/jpa-default-s3-timeout
...
[history-v1] increase default HTTP timeout for backupPersistor
GitOrigin-RevId: 4bcf849488211f074a2200646b048e963070ee52
2024-11-21 09:04:11 +00:00
Andrew Rumble
adecf0d5fe
Merge pull request #21998 from overleaf/ar-fix-flaky-project-archive-test
...
[history-v1] Handle race condition in project archive test
GitOrigin-RevId: c32f4646f08223da0ed42068fa3fb613a6595b95
2024-11-21 09:03:35 +00:00
Jakob Ackermann
0253130c36
Merge pull request #21972 from overleaf/jpa-get-project-blobs-batch
...
[history-v1] implement getProjectBlobsBatch
GitOrigin-RevId: f03dcc690ef63f72400ccf001c6e497bd4fbe790
2024-11-20 09:05:34 +00:00
Jakob Ackermann
4964d6414b
Merge pull request #21982 from overleaf/jpa-cleanup
...
[history-v1] back_fill_file_hash: cleanup fs and graceful shutdown
GitOrigin-RevId: 362669ff988ad71fda713bf4896b1abcb36caf35
2024-11-20 09:05:30 +00:00
Jakob Ackermann
24f2388aa2
Merge pull request #21948 from overleaf/bg-jpa-back-fill-project-blobs
...
[history-v1] back_fill_file_hash: process blobs
GitOrigin-RevId: e54d0f8ab537ce43a12f9c972ba2ee82836073c8
2024-11-20 09:05:04 +00:00
Jakob Ackermann
fb36fff63d
Merge pull request #21931 from overleaf/bg-get-all-blobs-for-project
...
add getProjectBlobs method to retrieve metadata for all blobs in a project
GitOrigin-RevId: 38f504a4fb56cd8ef8beaff1d8917ead26e85f5a
2024-11-20 09:04:56 +00:00
Jakob Ackermann
8e74d3c58c
Merge pull request #21947 from overleaf/bg-jpa-back-fill-script-tweaks
...
[history-v1] back_fill_file_hash: performance tweaks
GitOrigin-RevId: c3d0c7906707fc902addcde64eaf41c24ceeece7
2024-11-20 09:04:51 +00:00
Jakob Ackermann
27076c50cc
Merge pull request #21670 from overleaf/jpa-mongo-backend-types
...
[history-v1] add types to mongo BlobStore backend
GitOrigin-RevId: 7d91074eaa781904f7f3b56390aacee1800a7f67
2024-11-19 09:05:23 +00:00
Jakob Ackermann
ca0a46b5bb
Merge pull request #21928 from overleaf/jpa-handle-already-hard-deleted
...
[history-v1] backup-deletion-app: use deletedProjectOverleafHistoryId
GitOrigin-RevId: 169ba0fba71c42b0415e5fa40424547b054dd5b0
2024-11-18 09:06:13 +00:00
Jakob Ackermann
dd15ade2b9
Merge pull request #21880 from overleaf/jpa-history-store
...
[history-v1] make HistoryStore generic and add backupHistoryStore
GitOrigin-RevId: 65d275de182dbcf5d4b6bf3c610b71b58db68e70
2024-11-18 09:05:48 +00:00
Jakob Ackermann
9cc6f2a9d5
Merge pull request #21829 from overleaf/jpa-backup-deletion
...
[history-v1] backup-deletion-app: initial revision
GitOrigin-RevId: 9e05c0e16595cb8d180861ef503c7b4522110d39
2024-11-18 09:05:44 +00:00
Jakob Ackermann
97b39ef98f
Merge pull request #21681 from overleaf/jpa-back-fill-file-hash
...
[history-v1] add script for back filling hash into project file-tree
GitOrigin-RevId: 70ab8c72f3eea1062708e4471b4ad1c60317ad26
2024-11-18 09:05:39 +00:00
Andrew Rumble
73b17dd694
Merge pull request #21627 from overleaf/ar-node-20
...
[all] node 20 upgrade v2
GitOrigin-RevId: aed13a800894717a796062e3dd4050e045040258
2024-11-15 09:04:32 +00:00
Jakob Ackermann
805c4f8321
Merge pull request #21764 from overleaf/jpa-esm-build-scripts
...
[misc] prepare linting for ESM files in services
GitOrigin-RevId: 468983ebff40617158bac28514381a6aaf725893
2024-11-12 09:05:50 +00:00
Jakob Ackermann
61c7c728ad
Merge pull request #21755 from overleaf/jpa-history-initialize-project
...
[history-v1] tests: use createEmptyProject helper consistently
GitOrigin-RevId: 80d979091d80c53c780919700561849d9703368e
2024-11-12 09:05:46 +00:00
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
Jakob Ackermann
a3d8caf87b
Merge pull request #21664 from overleaf/jpa-blob-hash
...
[overleaf-editor-core] stricter types for Blob interface
GitOrigin-RevId: 8595fce0d5c98074d2313be5a5634e80f92c68b5
2024-11-08 09:07:05 +00:00
Andrew Rumble
57d12dfb17
Update to node 18.20.4
...
GitOrigin-RevId: 4b613ea3973cb7944c3d414ea91bcf367dbf50a6
2024-11-07 09:04:31 +00:00
Jakob Ackermann
5bb90dc6cb
Merge pull request #21442 from overleaf/jpa-align-mongo-version
...
[misc] align all the mongodb dependency versions
GitOrigin-RevId: 1194fe57601af98bb61250a285bfc85b4b8179dd
2024-11-01 09:05:23 +00:00
Andrew Rumble
79d80cc266
Merge pull request #21462 from overleaf/revert-18828-ac-node-20
...
Revert "Upgrade Node from `18.20.2` to `20.17.0`"
GitOrigin-RevId: cc12c33b4588caa2959817a113547d20d437d6f4
2024-10-30 09:05:07 +00:00
Andrew Rumble
a480df8a89
Merge pull request #18828 from overleaf/ac-node-20
...
Upgrade Node from `18.20.2` to `20.17.0`
GitOrigin-RevId: 0ba9b0921fc246a97d3da0aad7d48635c0e24ae8
2024-10-30 09:04:38 +00:00
Antoine Clausse
6c2cf20125
Merge pull request #20552 from overleaf/ac-update-node-fetch-2
...
Reapply "Upgrade node-fetch to 2.7.0", Fix fetch-utils tests
GitOrigin-RevId: b42a2d2c50ce73f474e39755845e4df065f30b48
2024-10-01 08:05:18 +00:00
Brian Gough
37806a9505
Merge pull request #20695 from overleaf/bg-issue15972
...
Await knex.transaction for deleteProjectChunks in history-v1
GitOrigin-RevId: fcf342c5d1e0e9beed35c75d0317f8cba5976e24
2024-10-01 08:04:52 +00:00
Liangjun Song
cfd0b39b96
Merge pull request #20557 from overleaf/ls-bump-express
...
update express and other dependencies
GitOrigin-RevId: 22107eab0fa95d534ab07360548ae2b2123776db
2024-09-27 08:04:18 +00:00
Jakob Ackermann
e3feafb7b0
Merge pull request #20332 from overleaf/jpa-small-runner
...
[misc] CI improvements
GitOrigin-RevId: 819d4d357fcb130f133337668644eedcf5f4a688
2024-09-26 08:04:38 +00:00
Eric Mc Sween
9648c6711c
Merge pull request #20592 from overleaf/em-mj-load-history-version
...
Load a specific version in the admin history debugging panel
GitOrigin-RevId: 302832b981688a6697c21122372230c285911d24
2024-09-25 08:06:24 +00:00
Antoine Clausse
2179d62d74
Merge pull request #20549 from overleaf/revert-20165-ac-update-node-fetch
...
Revert "Upgrade node-fetch to 2.7.0"
GitOrigin-RevId: 928df97c6fbc81f21097aaf9c331b0c70eeac002
2024-09-24 08:04:44 +00:00
Antoine Clausse
da3553d800
Upgrade node-fetch to 2.7.0 ( #20165 )
...
* Set `node-fetch` to `^2.7.0`
* Update package-lock.json
```
# root
bin/npm update node-fetch
bin/npm update cross-fetch
# in other path in docker
npm update node-fetch
```
* Update node-fetch patch
* [fetch-utils] Skip the test: destroys the request body if it doesn't get consumed
```
1) fetch-utils
fetchJson
destroys the request body if it doesn't get consumed:
FetchError: Invalid response body while trying to fetch http://example.com:30001/json/ignore-request : write EPIPE
at PassThrough.<anonymous> (/overleaf/node_modules/node-fetch/lib/index.js:400:12)
at PassThrough.emit (node:events:529:35)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
```
* [fetch-utils] Delete the test: destroys the request body if it doesn't get consumed
* Remove the `setTimeout` in the node-fetch patch
Fixes a test and doesn't break filestore acceptance tests
* Update node-fetch patch again: bring changes from https://github.com/node-fetch/node-fetch/blob/e87b093/src/index.js
* Update node-fetch patch again: bring changes from https://github.com/node-fetch/node-fetch/blob/e87b093/src/index.js
* Update node-fetch patches back to single lines
Per https://github.com/overleaf/internal/pull/20165#discussion_r1739035513
GitOrigin-RevId: 945e5a12e838673b7bc87b588b7aca1bcd9109e2
2024-09-24 08:04:39 +00:00
Alf Eaton
2976fd0b44
Fix Dockerfile FromAsCasing warnings ( #20388 )
...
GitOrigin-RevId: 6d6be3ba17eec695907dde25da2dbe98818fae10
2024-09-23 08:04:52 +00:00
Eric Mc Sween
250acbf33c
Merge pull request #20520 from overleaf/em-ts-import
...
Use new import JSDoc syntax for Typescript annotations
GitOrigin-RevId: 782456d637fc8f2de6163b5d70fabf06c1d74964
2024-09-23 08:04:47 +00:00
Jakob Ackermann
84be385550
Merge pull request #20331 from overleaf/jpa-build-scripts-sync
...
[misc] sync build scripts
GitOrigin-RevId: 343fd861b6c7b3d81b21babbd41bbb968f0fd448
2024-09-10 08:05:01 +00:00
Jakob Ackermann
3836323724
Merge pull request #19817 from overleaf/jpa-types
...
[overleaf-editor-core] stronger type checking via web
GitOrigin-RevId: 427019f40e2905f2e0ec11dc09f5fccdbb1f905b
2024-08-08 08:05:01 +00:00
Brian Gough
9babc70df7
Merge pull request #17362 from overleaf/bg-chai-object-id-tests
...
fix for chai object id tests
GitOrigin-RevId: 98123dbc930c6ee57be3a118177426120482c5f4
2024-07-16 08:04:46 +00:00
Jakob Ackermann
cbe7a2f5a9
Merge pull request #19282 from overleaf/jpa-filestore-sharding
...
[filestore] add sharding to test_acceptance in CI
GitOrigin-RevId: dd16a0370878d76a934d277838083e08ae0ad8c2
2024-07-15 09:05:11 +00:00
Eric Mc Sween
9e5223ac6b
Merge pull request #19191 from overleaf/em-history-body-limit
...
Increase the request body limit for history
GitOrigin-RevId: b4b30b005a99ef6a60983333c4babd7ec5caa3f2
2024-07-03 08:04:57 +00:00
Brian Gough
344b4d0fa0
Merge pull request #18088 from overleaf/ab-session-secret-rotation
...
[web/realtime/history-v1] Support session secret rotation
GitOrigin-RevId: 3c2fa27b1b3e0a8e0c9d1af2e616ce873d54aedf
2024-05-27 10:23:33 +00:00
Andrew Rumble
71187a51ba
Merge pull request #18289 from overleaf/ac-ar-eslint-return-await
...
Add ESLint rule @typescript-eslint/return-await to backend services
GitOrigin-RevId: 75e3e32597827fcc852e69d479515fc72e8f45e4
2024-05-27 10:22:49 +00:00
Eric Mc Sween
e87df4a791
Merge pull request #18167 from overleaf/em-simpler-typescript-backend
...
Simpler Typescript setup in the backend
GitOrigin-RevId: 3a90f26a5ac8029d14203faa98008375ce933e7d
2024-05-07 08:04:00 +00:00
Jakob Ackermann
a540754f6e
Merge pull request #18116 from overleaf/jpa-bulk-replace-localhost
...
[misc] bulk replace localhost with 127.0.0.1
GitOrigin-RevId: d238f3635302e8ff5500d611108c4d1bef216726
2024-04-26 08:04:39 +00:00
Eric Mc Sween
b8195f537d
Merge pull request #18065 from overleaf/em-doc-versions-recovery-fix
...
Doc versions recovery for Server Pro 5.0.3
GitOrigin-RevId: 226b09383f9499c7eb1c20bf9e8e8e549bdbccb0
2024-04-25 08:04:50 +00:00
roo hutton
2469c93da4
Merge pull request #17870 from overleaf/bg-node-upgrade-18-20-2
...
upgrade node to 18.20.2
GitOrigin-RevId: e4ac30c740ced3885353f1472cf690eb5ec0ece1
2024-04-24 08:05:16 +00:00
Eric Mc Sween
a2d5e030c6
Merge pull request #18041 from overleaf/em-jpa-recovery-script
...
[history-v1] add doc version recovery script
GitOrigin-RevId: 3f240f313465ce5fa9c53f72a992807f9396ebb4
2024-04-23 08:05:40 +00:00
roo hutton
d75024a7a1
Merge pull request #17974 from overleaf/rh-express-4192
...
Upgrade express to 4.19.2
GitOrigin-RevId: 383877c39670093033d802af0fae54ec578ba327
2024-04-23 08:05:01 +00:00
Brian Gough
a9d1ddcb22
Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05
...
upgrade node version to 18.20.1
GitOrigin-RevId: 28f8f7c7f63285f7b7355e65713d9ed2dbda8a0e
2024-04-08 08:04:41 +00:00