Commit graph

16 commits

Author SHA1 Message Date
Miguel Serrano
c5f93bedea Merge pull request #8335 from overleaf/msm-fix-reset-rev-script
Fixed `reset_incorrect_doc_revision.js` script

GitOrigin-RevId: 59448881e372ca7ca6f3b50f76cab5476279a1ab
2022-06-09 08:02:23 +00:00
Jakob Ackermann
cfaec97a3d Merge pull request #6393 from overleaf/ta-backfill-user-properties
Backfill User Properties

GitOrigin-RevId: ea2ffeaaf71d5ce41c76a1bfb2f0014006ef0d08
2022-01-26 09:03:06 +00:00
Thomas
40b087fee8 Merge pull request #5952 from overleaf/tm-batched-update-ranges
Add BATCH_RANGE_END(/BATCH_RANGE_START) env vars for batchedUpdate scripts

GitOrigin-RevId: e74f30368194584a6fb398963e0c04f850a8b31d
2021-12-01 09:03:09 +00:00
Thomas
302a6fddc8 Merge pull request #5756 from overleaf/tm-history-batched-update-descending
Add BATCH_DESCENDING to reverse processing order of batchedUpdate

GitOrigin-RevId: fb6aff20713dfd8fe6c6a78b64505d96ce4bfb14
2021-11-12 09:02:53 +00:00
Thomas
e25d8b1440 Merge pull request #4381 from overleaf/tm-history-upgrade-batched-update-hints
Extend batchedUpdate to accept find() options, and use a hint in upgrade script query to suggest mongo uses the _id index

GitOrigin-RevId: 7115f84d8be0c78ccb443051e911c931bf4aa0de
2021-08-05 02:08:07 +00:00
Alf Eaton
1be43911b4 Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5"

GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +00:00
Shane Kilkelly
9c38d41652 Merge pull request #3872 from overleaf/jpa-batched-update-work-around-mongo-bug
[scripts] work around broken .setReadPreference() on mongo cursor

GitOrigin-RevId: 127c0593f4c20e45acb15ec26b45a45d9449d9ba
2021-04-02 02:04:56 +00:00
Alasdair Smith
7cbf2cdd9e Merge pull request #3496 from overleaf/ae-eslint-dot-notation
Enable the eslint dot-notation rule

GitOrigin-RevId: e11cbad3e8a77a4a60590d3674fbf34feccc5bc9
2020-12-17 03:07:31 +00:00
Shane Kilkelly
0450c52187 Merge pull request #3335 from overleaf/jpa-cmg-archived-script-logging
Update archiving script for re-run

GitOrigin-RevId: 0251ca8d6f864f697395deac9470398519b704de
2020-11-05 03:04:30 +00:00
Jakob Ackermann
224c5a0f23 Merge pull request #3306 from overleaf/jpa-script-validate-data-of-model
[scripts] validate-data-of-model: add the new script

GitOrigin-RevId: c432598a1efee58e95f3751ac0f63113ec837344
2020-10-22 02:04:48 +00:00
Jakob Ackermann
403332d80d Merge pull request #3226 from overleaf/jpa-mongodb-native-scripts
[misc] migrate active scripts to the native mongo driver

GitOrigin-RevId: f3b441bc53754dc2f83ca24c3e57d2cc978dd7fe
2020-10-09 02:05:19 +00:00
Jessica Lawshe
2a3cb615ee Merge pull request #3241 from overleaf/jpa-speedup-acceptance-tests
[misc] speedup the ConvertArchivedState test suite

GitOrigin-RevId: e7d6471955aabbc6af76e27fdf23d97e2fd87901
2020-09-30 02:04:46 +00:00
Alasdair Smith
394f160679 Merge pull request #2963 from overleaf/cmg-archive-state-script
Script to convert old archived state into new array state

GitOrigin-RevId: 64cd3a236dc627f922488e1fa9d8aa2e7df1eb15
2020-09-27 02:05:32 +00:00
Jakob Ackermann
b61ab62efb Merge pull request #3120 from overleaf/jpa-batched-update-continue
[scripts] batchedUpdate: add support for passing in the tail of the log

GitOrigin-RevId: 50b573ec4f90026c3c2c660a5313fdd62817dbd9
2020-08-20 02:06:31 +00:00
Jakob Ackermann
00e59a9afe Merge pull request #3118 from overleaf/jpa-delay-mongo-connection-use
[scripts] batchedUpdate: try to work around flaky mongo connection setup

GitOrigin-RevId: 2bba7117b8f8892a41703569fef3f97d5e8d6835
2020-08-19 02:06:34 +00:00
Jakob Ackermann
b5d3919911 Merge pull request #3092 from overleaf/jpa-batched-update
[scripts] add helper for batched updates on non-indexed fields

GitOrigin-RevId: d24c4ccfd9d112573ddf303655d4c8ac552f30a1
2020-08-18 02:06:23 +00:00