Antoine Clausse
b0419a86f2
[web] Add audit logs for clear_sessions_set_must_reconfirm
script, "must-reset-password-set" and "must-reset-password-unset" ( #21776 )
...
* Promisify clear_sessions_set_must_reconfirm.mjs
* Add test on PasswordResetTests.mjs
* Add `must-reset-password-unset` audit log
* Add `must-reset-password-set` audit log
* Add test ClearSessionsSetMustReconfirmTests.mjs
* Fixup bad copy-paste in test: `must-reset-password-set` -> `must-reset-password-unset`
* Check `must_reconfirm` before calling `removeReconfirmFlag`
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
* Fix unit test
* Use `promiseMapWithLimit`
* Add `{ script: true }` to AuditLog. Also use `undefined` instead of `null` for consistency
---------
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 522026c82196d263c196503d899b8c57b05b31dd
2024-11-15 09:05:21 +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
252533b2fd
Merge pull request #21668 from overleaf/jpa-mongo-utils
...
[mongo-utils] create new home for batchedUpdate helper
GitOrigin-RevId: 9f61c5e367a9f4cef63b5cc4c0bbbd3ef57c8ca8
2024-11-08 09:07:09 +00:00
Andrew Rumble
57d12dfb17
Update to node 18.20.4
...
GitOrigin-RevId: 4b613ea3973cb7944c3d414ea91bcf367dbf50a6
2024-11-07 09:04:31 +00:00
Liangjun Song
b00483653e
Merge pull request #21568 from overleaf/ls-script-to-lowercase-external-user-id-lint-fix
...
fix lint error
GitOrigin-RevId: 4aac5657e46ba638737e9eba9c156ecc9e8bd1fd
2024-11-05 09:05:19 +00:00
Liangjun Song
7af96a49f6
Merge pull request #21547 from overleaf/ls-script-to-lowercase-external-user-id
...
script to lowercase external user ids
GitOrigin-RevId: 8651f638feab4a92c15fe3748377492d5107b539
2024-11-05 09:05:15 +00:00
Antoine Clausse
eea27a36a4
[web] Add prefer-node-protocol
ESLint rule ( #21523 )
...
* Add `unicorn/prefer-node-protocol`
* Revert non-web changes
* Run `npm run lint:fix` (prefer-node-protocol)
GitOrigin-RevId: c3cdd88ff9e6b3de6a4397d45935c4d026c1c1ed
2024-11-05 09:04:33 +00:00
Jakob Ackermann
bf2ad1952c
Merge pull request #21506 from overleaf/jpa-fix-batched-update-edge
...
[web] fix edge behavior of batchedUpdate
GitOrigin-RevId: 5d1c0b884aa02c52682d114fa66b2d9b201e724e
2024-11-04 09:04:55 +00:00
Jakob Ackermann
9745c045ba
Merge pull request #21510 from overleaf/jpa-dependency-cleanup
...
[web] dependency cleanup
GitOrigin-RevId: 5b1e0ace2b0acfd7b1b839520f7c24acda8027e3
2024-11-01 09:05:28 +00:00
Jakob Ackermann
0e4c87d131
Merge pull request #21441 from overleaf/jpa-batched-update-types
...
[web] add types to batchedUpdate
GitOrigin-RevId: a4ab8951bb43fbae6d90ac7a7afbaa781accdc39
2024-11-01 09:05:19 +00:00
Jakob Ackermann
a7517eefcb
Merge pull request #21427 from overleaf/jpa-populate-db-on-import
...
[web] populate db with collections on import, ahead of waitForDb() call
GitOrigin-RevId: 7eb4cd61c2052187acd9947d7060f54d9822d314
2024-11-01 09:05:15 +00:00
Andrew Rumble
df3be1bd5e
Merge pull request #21288 from overleaf/ar-convert-modules-saas-authentication-to-es-modules
...
[web] Convert modules/saas-authentication to ES modules
GitOrigin-RevId: 5589bb2a7ad86da689994b6336cdac228de66c17
2024-10-31 09:05:08 +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
Liangjun Song
8293771f58
Merge pull request #21290 from overleaf/ls-scripts-to-esm-translations
...
Migrate scripts/translation to esm
GitOrigin-RevId: 475ec949f0ba238791df91de109169584e68c701
2024-10-25 08:06:12 +00:00
Liangjun Song
14cd8f5479
Merge pull request #21282 from overleaf/ls-scripts-to-esm-5
...
Migrate rest of the scripts to esm
GitOrigin-RevId: 421f3ccd15342d34113be8d22e343d08533177ea
2024-10-25 08:05:41 +00:00
Liangjun Song
e3b93f0a22
Merge pull request #21284 from overleaf/ls-scripts-to-esm-6
...
Migrate scripts/ukamf to esm
GitOrigin-RevId: e7318d9fb112304153912303649fc597ef7a19db
2024-10-25 08:05:37 +00:00
Eric Mc Sween
13ecddaef1
Merge pull request #20898 from overleaf/em-ai-add-on-setup-recurly
...
Script for setting up the Assistant add-on in Recurly
GitOrigin-RevId: 25a94961e4068456795b6be6b5e047efc65363fa
2024-10-24 08:06:29 +00:00
Liangjun Song
902ae750dc
Merge pull request #21202 from overleaf/ls-scripts-to-esm-2
...
Migrate scripts folder to esm 2/x
GitOrigin-RevId: 1698bc4f13e026fa281d37a4914a2f997849c761
2024-10-23 08:04:53 +00:00
Liangjun Song
26f3f3e2e2
Merge pull request #21097 from overleaf/ls-scripts-to-esm-1
...
Migrate scripts folder to esm 1/x
GitOrigin-RevId: 4a4bc9a161f144fdb40ce3f2a0a9313b36c6df81
2024-10-21 08:04:42 +00:00
Miguel Serrano
a753d3c1d9
Merge pull request #21114 from overleaf/msm-add-missing-test-base
...
[web] check `web/test` folder on `esm-check-migration.js`
GitOrigin-RevId: 0665f208664fc969932d627c994d986c2f97d51a
2024-10-17 08:05:32 +00:00
Andrew Rumble
d2e6608f01
Convert export_institution_chat script to ES module
...
GitOrigin-RevId: 8570922654049edb514f8091421e5be2f04988cd
2024-10-17 08:04:59 +00:00
Andrew Rumble
3f0cf84318
Convert scripts that use institutions module
...
GitOrigin-RevId: d5819904f746c04fdb63971af93e8f8cc6f9fda8
2024-10-16 08:04:52 +00:00
Andrew Rumble
e60297bd04
Convert refresh_features to es module
...
GitOrigin-RevId: c3fd7ec4c0f3ce5560f6a8b4e3fff1d2eec5c4ab
2024-10-16 08:04:41 +00:00
Jakob Ackermann
7f6c2afc92
Merge pull request #20980 from overleaf/jpa-extend-create-project
...
[web] scripts/create_project: fix and extend
GitOrigin-RevId: 4df41d02138a2214c83e7237794995d534e3c603
2024-10-14 11:08:04 +00:00
Andrew Rumble
e05c181af4
Ignore test settings file
...
GitOrigin-RevId: 5f9e901f4358bb631299ec165b72305ea814e343
2024-10-14 11:07:18 +00:00
Miguel Serrano
ce130a8bc5
Merge pull request #20909 from overleaf/msm-check-esm-test
...
[scripts] lookup `test` dirs on `esm-check-migration.js`
GitOrigin-RevId: 79a0961e3b018b440cdb15980a194b63b2211aec
2024-10-14 11:06:50 +00:00
roo hutton
8f593757e9
Merge pull request #20801 from overleaf/rh-odc-never-latex
...
Add script for extracting ODC users without LaTeX experience
GitOrigin-RevId: 5680a4e8ad1e7331c9b22752b7292b23bb169869
2024-10-14 11:02:19 +00:00
Liangjun Song
9e15c73228
Merge pull request #20732 from overleaf/revert-20731-revert-20480-ls-convert-migration-scripts-to-esm
...
Revert "Revert "Convert migration scripts to ESM""
GitOrigin-RevId: 0430a3cd02b9d23bf0f4573346351dcf4ee17fa6
2024-10-14 10:58:50 +00:00
Jakob Ackermann
39ee8de1a5
Merge pull request #20756 from overleaf/jpa-clear-admin-sessions
...
[web] add script for clearing admin sessions
GitOrigin-RevId: c5103b233073db62276698067b2262d7a785592b
2024-10-14 10:58:12 +00:00
Miguel Serrano
a6016ff984
[web] esm-check-migration
to lookup scripts and migrations ( #20736 )
...
* [web] `esm-check-migration` to lookup scripts and migrations
* Remove unnecessary minimist default
GitOrigin-RevId: 55b0900d2d1dc2669e297ddc778dcd236c2912a7
2024-10-14 10:57:37 +00:00
Liangjun Song
b69ff9417a
Merge pull request #20731 from overleaf/revert-20480-ls-convert-migration-scripts-to-esm
...
Revert "Convert migration scripts to ESM"
GitOrigin-RevId: ca9ddda6ddee8964f72797d3b653ef9cee6a7a49
2024-10-14 10:57:02 +00:00
Liangjun Song
492fe24a75
Merge pull request #20480 from overleaf/ls-convert-migration-scripts-to-esm
...
Convert migration scripts to ESM
GitOrigin-RevId: 46f04a1837ebb8244b1156af2d58162d024b6b2d
2024-10-14 10:56:57 +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
andrew rumble
0c428e149f
Update mongoose count usages to countDocuments
...
count was removed see:
https://mongoosejs.com/docs/migrating_to_8.html#removed-count .
GitOrigin-RevId: 308c8f4b681269c29669c45b5f2022404b3af463
2024-09-24 08:06:32 +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
Miguel Serrano
8ca24b104b
Script to track ES Modules migration progress ( #20448 )
...
* Script to track ES Modules migration progress
GitOrigin-RevId: 8582f529313c40c26d27d7c2f1542b1828c5a7e4
2024-09-19 08:05:16 +00:00
Jimmy Domagala-Tang
707790e51e
Merge pull request #20256 from overleaf/jdt-enable-writefull-unset
...
Differentiate between unset and disabled Writefull
GitOrigin-RevId: 3cf8f12ede851dab5a8067bdbcddba6c69870573
2024-09-06 08:05:52 +00:00
Alexandre Bourdin
4997b7f1ee
Merge pull request #20062 from overleaf/ab-saas-authentication-module-renaming
...
[web] Rename overleaf-integration module to saas-authentication
GitOrigin-RevId: 7d69e06a19da9855fa9a0962114ad97b45ad8875
2024-08-23 08:04:43 +00:00
Miguel Serrano
0346ba2698
[web] CE script to verify TexLive versions on startup ( #19653 )
...
* [web] CE script to verify TexLive versions on startup
---------
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: b99001d38468a775991a7284611aa333e956b919
2024-08-22 14:01:07 +00:00
andrew rumble
032deaf05c
Switch to mongodb-legacy
...
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
2024-08-21 08:04:24 +00:00
Alf Eaton
901d79dd55
Merge pull request #19757 from overleaf/ae-eslint-upgrade
...
Upgrade `@typescript-eslint` dependencies
GitOrigin-RevId: b953e795d705b817ec3669b04cd6a289be12b20d
2024-08-08 08:04:09 +00:00
Jakob Ackermann
e08b0b3d9e
Merge pull request #19686 from overleaf/jpa-fix-ce
...
[web] sync overleafModuleImports between environments and check in CI
GitOrigin-RevId: c36c41d87d1b6fd687942bca8284a4725bb6c300
2024-08-01 08:04:37 +00:00
Alexandre Bourdin
dcf6e502b9
Merge pull request #19443 from overleaf/ab-overleaf-integration-refacto-move-institutions
...
[web] Move onboarding related code to onboarding module
GitOrigin-RevId: 405d4c3588f3911867fecd02b36e55fcd7633615
2024-07-30 08:04:31 +00:00
roo hutton
523e340a0d
Merge pull request #19398 from overleaf/rh-rm-ieee-notification
...
[web] Remove IEEE Collabratec notification
GitOrigin-RevId: 14ec3e50ed4913b815620f5215df59b17fc03054
2024-07-18 08:04:41 +00:00
Lucie Germain
71a6353dfc
Merge pull request #13265 from overleaf/ab-more-fr-translations
...
[web] French translations batch
GitOrigin-RevId: 28bdacada29615398c9b1d69004f5fa78b589614
2024-07-15 09:05:20 +00:00
Eric Mc Sween
fbdf245517
Merge pull request #19273 from overleaf/em-history-migration-concurrency
...
Add concurrency option to history ranges support migration script
GitOrigin-RevId: 8707abc9b76116090332b6abb11030adb17ceb4e
2024-07-15 09:00:46 +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
Antoine Clausse
ebec84540f
Add waitForDb
in scripts/resync_subscriptions.js ( #19154 )
...
GitOrigin-RevId: 608bce2654d2b6dbeb662ad0da8bb5c5ce3d68f3
2024-06-28 08:04:29 +00:00