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
Andrew Rumble
57d12dfb17
Update to node 18.20.4
...
GitOrigin-RevId: 4b613ea3973cb7944c3d414ea91bcf367dbf50a6
2024-11-07 09:04:31 +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
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
Antoine Clausse
fc34b41b5b
[web] Promisify two-factor-authentication ( #19004 )
...
* Fixup typos
* Promisify `getPendingUser`
* Promisify `getPendingUserWithExpectations`
* Add promises to `AccessTokenEncryptor`
* Promisify `TwoFactorAuthenticationHandler`
* Promisify/Expressify `TwoFactorAuthenticationController`
* Centralise `unprocessableEntity` error handling into a function
* Fixup: entralise `unprocessableEntity` error handling into a function
Avoid "responding to the query twice"
* Remove unnecessary try/catch
* Fixup: Add `async` to AccessTokenEncryptor promises
* Add tests on `AccessTokenEncryptor.promises`
* Revert "Fixup: entralise `unprocessableEntity` error handling into a function"
This reverts commit 23bd9d73260733062908b98961846733c61171e9.
* Revert "Centralise `unprocessableEntity` error handling into a function"
This reverts commit 197ca3da02412d5224d411b29df1d7b9e5327d01.
GitOrigin-RevId: 1a2864d28e87fd5e48cd3723a3da8047b79a1596
2024-06-26 08:05:06 +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
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
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
Jakob Ackermann
39189978ac
Merge pull request #17170 from overleaf/jpa-node-18-19-1
...
[misc] upgrade Node.js to 18.19.1
GitOrigin-RevId: 1bd2008682b585c3fccc65f74c90ba7fc9edc023
2024-02-20 09:04:55 +00:00
David
19aaed64f8
Merge pull request #17034 from overleaf/dp-remove-access-token-encryptor-mongo-dependency
...
Remove mongodb dependency for libraries/access-token-encryptor
GitOrigin-RevId: 47241e200df6a9cba34d1effc6ef3203ea95a8a7
2024-02-13 09:04:12 +00:00
Eric Mc Sween
5c517a56c3
Merge pull request #16661 from overleaf/em-fix-tsconfig
...
Small backend Typescript config fixes
GitOrigin-RevId: d600c1f3fa9ef88e9a06aaa5743d454a620c122d
2024-01-24 09:05:09 +00:00
Eric Mc Sween
b92d1a0251
Merge pull request #16524 from overleaf/em-fix-typescript-backend
...
Fix typescript config in the backend
GitOrigin-RevId: fb292968bc14da6d7c17bee1da00803a74901899
2024-01-17 09:03:42 +00:00
Eric Mc Sween
d227dfba0c
Merge pull request #16393 from overleaf/em-typescript-libraries
...
Add type checking to libraries
GitOrigin-RevId: bed79f5123081773d6ac6e27698246726184c5e6
2024-01-12 09:03:25 +00:00
Mathias Jakobsen
4763cfd59e
Merge pull request #16058 from overleaf/jpa-faster-restart
...
[misc] faster service shutdown in dev-env
GitOrigin-RevId: c5589844aefe3ca097756b188e02354ab518b94d
2023-12-08 09:04:01 +00:00
Jakob Ackermann
f061a4add4
Merge pull request #15506 from overleaf/jpa-node-18-18-2
...
[misc] upgrade Node.js from 18.18.0 to 18.18.2
GitOrigin-RevId: 747783fcb9c2a09d79a82268531f612d1ad157be
2023-11-01 09:02:48 +00:00
Jakob Ackermann
efb36b7193
Merge pull request #14698 from overleaf/bg-sg-use-node-watch
...
[misc] replace nodemon with "node --watch"
GitOrigin-RevId: 8b34861887b39ffe1c64d9e4679f8ebef09302bd
2023-10-03 08:04:36 +00:00
Jakob Ackermann
a2cf7b459c
Merge pull request #14902 from overleaf/jpa-node-18-18-0
...
[misc] upgrade Node.js to latest LTS 18.18.0
GitOrigin-RevId: 96c7171065ceb8797c28efa4ab331d86a84868d2
2023-09-25 08:04:25 +00:00
Jakob Ackermann
5e9498c528
Merge pull request #14280 from overleaf/jpa-latest-node-18
...
[misc] upgrade Node.js to latest version of 18, 18.17.1
GitOrigin-RevId: 58328bbd630686877c0db6266593ef186851bcc5
2023-08-15 08:03:33 +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
Miguel Serrano
2252bdb836
Merge pull request #13545 from overleaf/msm-fix-build-scripts
...
Fix build scripts and update to 4.3.0
GitOrigin-RevId: 90e57a410bc12e8cdfc7f757445c8352cd5d49eb
2023-07-17 11:08:32 +00:00
Jakob Ackermann
0b985c7a0b
Merge pull request #12723 from overleaf/jpa-revert-node-18-upgrade
...
[misc] revert node 18 upgrade
GitOrigin-RevId: 752d45b015e2e8802b875b5de8ee044ba1170345
2023-04-21 08:03:22 +00:00
Brian Gough
ed0acd8e58
Merge pull request #12658 from overleaf/bg-node-18-upgrade
...
Upgrade to node 18
GitOrigin-RevId: 1b25d20a8987950a72a7bf966a825794de4ad960
2023-04-20 08:03:37 +00:00
Eric Mc Sween
cff54eae78
Merge pull request #12575 from overleaf/em-fix-chunk-replace-transaction
...
Fix history chunk replacement transaction
GitOrigin-RevId: fc0fa8f4a55ae5f402ba87db5e4ac2856fe6627b
2023-04-19 08:03:10 +00:00
Jakob Ackermann
b30d838c49
Merge pull request #11858 from overleaf/jpa-access-token-encryptor-cleanup
...
[access-token-encryptor] drop support for encryption scheme v2
GitOrigin-RevId: b720997e01239a7b6443138c68485d5ab0c813ed
2023-02-23 09:03:55 +00:00
Jakob Ackermann
79f7d259e9
Merge pull request #11833 from overleaf/jpa-v2-fallback
...
[access-token-encryptor] scripts: fallback version to v2
GitOrigin-RevId: 232e6b1f6b8667a58c5fd0f5caf604209f100809
2023-02-16 09:04:39 +00:00
Jakob Ackermann
d06a578492
Merge pull request #11816 from overleaf/jpa-re-encrypt-v2
...
[access-token-encryptor] flag v2 tokens for re-encryption
GitOrigin-RevId: 4ccb6d220d74a821f2fef8c72267f174cc2c502f
2023-02-16 09:04:31 +00:00
Jakob Ackermann
82d59a18d9
Merge pull request #11536 from overleaf/jpa-access-token-encryptor-v3
...
[access-token-encryptor] rewrite module and add scheme v3
GitOrigin-RevId: d23ec86d63739a61f1e45f04ed41ea7d991ddb0e
2023-02-15 09:05:12 +00:00
Jakob Ackermann
01aebbf69d
Merge pull request #11559 from overleaf/jpa-access-token-encryptor-remove-v1
...
[access-token-encryptor] drop support for legacy v1 token scheme
GitOrigin-RevId: 2d32453ad38119fa45cfd77463091f2c91dfe647
2023-02-02 18:22:42 +00:00
Jakob Ackermann
246d62b578
Merge pull request #11582 from overleaf/jpa-count-tokens-empty-result
...
[access-token-encryptor] nicer log message for zero access token found
GitOrigin-RevId: 2a28fdc71a1e063f091f55bc247d9dd26bbd0ee3
2023-02-02 09:03:02 +00:00
Jakob Ackermann
9e6a767c96
Merge pull request #11544 from overleaf/jpa-re-encrypt-access-tokens
...
[misc] add scripts for rotating all the encrypted access-tokens
GitOrigin-RevId: ce3374bb5d318a7f16a416ac1719a819c1160fb4
2023-02-01 09:03:56 +00:00
Eric Mc Sween
d01e83b453
Merge pull request #11170 from overleaf/em-upgrade-mocha
...
Upgrade mocha to 10.2.0
GitOrigin-RevId: e49606c73e813904d9b794792a838a951a814585
2023-01-17 09:06:28 +00:00
Brian Gough
51806703b7
Merge pull request #9819 from overleaf/bg-node-upgrade
...
upgrade from node 16.16.0 to 16.17.1
GitOrigin-RevId: e1db74d950ce452303212c66ce3fe06fbd1dfe59
2022-10-04 08:02:41 +00:00
Brian Gough
e7531eb047
Merge pull request #8871 from overleaf/briangough-issue8868
...
Upgrade node to v16.16.0
GitOrigin-RevId: 6bc6d63aa4af1940649f1eb5966f182250ecac22
2022-07-18 08:04:37 +00:00
Jakob Ackermann
f0bd6dda23
Merge pull request #7986 from overleaf/jpa-eslint-8
...
[misc] upgrade eslint packages to the latest version everywhere
GitOrigin-RevId: f1480d4a171acef82fb26c4aa54be3a6088b0ab3
2022-05-17 08:05:59 +00:00
Jakob Ackermann
81b935e317
Merge pull request #7977 from overleaf/jpa-use-local-libraries
...
[misc] use local libraries
GitOrigin-RevId: ec16907c0ce4f9a79689c522f37d52502559e7b2
2022-05-17 08:05:52 +00:00
Eric Mc Sween
3235119302
Merge pull request #7228 from overleaf/em-node-16
...
Upgrade to Node 16
GitOrigin-RevId: 3db1ae57ffb02f8a2b9012ffbb3efecfc01d2b04
2022-04-05 12:20:52 +00:00
Jakob Ackermann
ae0c347f27
Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces
...
[misc] npm workspaces
GitOrigin-RevId: 87aa72db6637fb238d7cd35b0a48ac3ed58ab3eb
2022-02-16 11:31:07 +00:00
Jakob Ackermann
2ed696b3e0
Merge pull request #6517 from overleaf/jpa-node-fetch-2-6-7
...
[misc] upgrade node-fetch from 2.6.x to 2.6.7
GitOrigin-RevId: 5a43e82e23d78fd6e68a38655dab4665a401a9db
2022-02-01 09:03:24 +00:00
Jakob Ackermann
8789296f5a
Merge pull request #6481 from overleaf/jpa-node-14-18-3
...
[misc] upgrade node version from 14.18.1 to 14.18.3
GitOrigin-RevId: 976542fcc0271e323695c59a987dcf1614ee633e
2022-01-28 09:03:53 +00:00
Eric Mc Sween
f3f0be5c56
Merge pull request #6211 from overleaf/em-code-sharing
...
Change directory layout in service containers
GitOrigin-RevId: 09ff19db2a123cbf7691d51e9ce9be6eee264287
2022-01-07 09:03:22 +00:00
Jakob Ackermann
729cbf3fce
Merge pull request #6224 from overleaf/jpa-cache-install-deps
...
[misc] add docker image caching for install_deps, pre-fetch node image
GitOrigin-RevId: b52e52351c62b780538e0668b99fc1c28723addc
2022-01-06 09:03:07 +00:00
Jakob Ackermann
4b308553be
Merge pull request #6120 from overleaf/jpa-same-linting-packages
...
[misc] move the linting setup to the root of the monorepo
GitOrigin-RevId: 1633e2a58598add0b727738cd3bfba0ab7bae781
2021-12-17 09:03:06 +00:00
Jakob Ackermann
2261e761f4
Merge pull request #5705 from overleaf/jpa-node-14
...
[misc] upgrade node version from 12 to 14
GitOrigin-RevId: 15c465c7bb5e42b0c71e2dedb09cf4fe9f1d8ec6
2021-11-19 09:02:56 +00:00
Jakob Ackermann
8945373715
Merge pull request #5724 from overleaf/jpa-lean-docker-build
...
[build_scripts] library: add a dockerignore file
GitOrigin-RevId: 229029f74024a9ca77c11fac53740d2d6ebd02ca
2021-11-09 09:04:02 +00:00
Brian Gough
d9d65ac31c
Merge pull request #5246 from overleaf/bg-upgrade-logger-in-all-libraries
...
upgrade logger in libraries
GitOrigin-RevId: 5968f5abc5f77061cd90b5ebbccf86349619c4a7
2021-10-29 08:03:14 +00:00
Brian Gough
43c381e4d5
Merge pull request #5552 from overleaf/bg-node-upgrade-other
...
upgrade node to v12.22.7 (other services)
GitOrigin-RevId: 889cf9a77173119fec8f200eeef9ddeefca0720b
2021-10-26 08:03:13 +00:00
Brian Gough
7ef6864204
Merge pull request #5066 from overleaf/bg-upgrade-access-token-encryptor
...
[access-token-encryptor] update package-lock.json
GitOrigin-RevId: 343061cfe70d9815a92928296c07934f4944a383
2021-09-13 08:03:21 +00:00
Jakob Ackermann
1bf89f7dd1
Merge pull request #4766 from overleaf/dependabot-npm_and_yarn-libraries-access-token-encryptor-lodash-4.17.21
...
Bump lodash from 4.17.15 to 4.17.21 in /libraries/access-token-encryptor
GitOrigin-RevId: 8c97a49c660629d5ec8335c145240cc2418fc218
2021-08-17 08:03:20 +00:00