Commit graph

109 commits

Author SHA1 Message Date
Jakob Ackermann
30cf22c8a9 Merge pull request #3678 from overleaf/jpa-back-fill-deleted-files-handle-duplicates
[scripts] back_fill_deleted_files: handle duplicate deleted files

GitOrigin-RevId: 3f2f1b662727d61d2da2800ad0d635b65562164b
2021-02-20 03:04:25 +00:00
Jakob Ackermann
6443e00e34 Merge pull request #3668 from overleaf/jpa-move-deleted-files
[scripts] add new script for back filling deletedFiles in own collection

GitOrigin-RevId: 82d48e60192ca90a7cd169b95d43187ef7febff5
2021-02-18 03:04:59 +00:00
Thomas
204117fcd1 Use safe characters in filenames when restoring documents (#3659)
* [admin-panel] Change format of restored snapshot filenames

* [scripts] Change format of restored soft-deleted filenames

GitOrigin-RevId: b928c4237150b38842aa1f2c8f43ffb7eca677b1
2021-02-17 03:04:06 +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
Alf Eaton
2ff1cf43d6 Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint

GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Timothée Alby
d5544f0626 Merge pull request #3406 from overleaf/timothee-sync-user-entitlements-doc
Update User Entitlements Sync Script README

GitOrigin-RevId: 0bcdc9c79ab4ca9229f38ab57d71019508b5792d
2020-11-27 03:04:59 +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
36f81a93b9 Merge pull request #3265 from overleaf/jpa-i18n-drop-html-from-vars
[misc] i18n: drop html from vars

GitOrigin-RevId: 3cf2aa5a70cc8710693c24bd4b65bddcd4ba09e8
2020-10-31 03:05:46 +00:00
Miguel Serrano
04c35c5a34 Merge pull request #3316 from overleaf/jpa-script-restore-soft-deleted-docs
[scripts] restore_soft_deleted_docs: port the script from the dev-manual

GitOrigin-RevId: e445cfad0d0f04275b3899c34b7963ddb29d4444
2020-10-28 03:04:39 +00:00
Miguel Serrano
f2eb4893fe Merge pull request #3315 from overleaf/jpa-i18n-transform-locales
[misc] i18n: transform locales

GitOrigin-RevId: 2306682eab2b10a69c14520cb22338d8537397cd
2020-10-28 03:04:33 +00:00
Jakob Ackermann
102a20931e Merge pull request #3310 from overleaf/jpa-validate-data-of-model-tweak-output
[scripts] validate-data-of-model: log after processing

GitOrigin-RevId: b9ab7989bf1b3af12469bbf8a0a82ad7c40e1f14
2020-10-23 02:04:44 +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
5256572356 Merge pull request #3274 from overleaf/jpa-i18n-upload-non-english
[scripts/translations] uploadNonEnglish: automate upload of translations

GitOrigin-RevId: 0d4453d17702955abe15497c64cb693ff945fda8
2020-10-22 02:04:27 +00:00
Jakob Ackermann
01712f1229 Merge pull request #3307 from overleaf/jpa-i18n-fixes
[misc] i18n fixes

GitOrigin-RevId: 862acff0a96b3717f1410327d1dcc469268f5e30
2020-10-22 02:04:22 +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
Jakob Ackermann
cec854de89 Merge pull request #3225 from overleaf/jpa-scripts-cleanup
[misc] delete unneeded scripts

GitOrigin-RevId: 30b1c97dfde8d2e93b40c0df4cb8be9a963580ad
2020-10-09 02:05:14 +00:00
Jakob Ackermann
ad52f7dc01 Merge pull request #3255 from overleaf/jpa-fix-scripts
[misc] add waitForDb wrapper to scripts with indirect mongo access

GitOrigin-RevId: 009331f91a45f075a35b0b6e90c4352e55908c21
2020-10-06 02:04:28 +00:00
Jessica Lawshe
e8b4629320 Merge pull request #3244 from overleaf/jpa-locales-trailing-new-line
[misc] add a trailing new line to the downloaded locales files

GitOrigin-RevId: 5111ca1147b2ae355cc9db87c010536e3861a23c
2020-09-30 02:04:51 +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
Simon Detheridge
2efd33eae6 Merge pull request #3217 from overleaf/jpa-translations-upload
[misc] i18n: translations upload

GitOrigin-RevId: f4bc24c9a645cc3eb9ab004d98ab4cd89d3cdce2
2020-09-29 02:05:24 +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
018a44eeb5 Merge pull request #3185 from overleaf/jpa-normalize-mongo-imports
[misc] normalize mongo imports

GitOrigin-RevId: ac653d9982e0d36736b90f4c03d4c00be88ea76a
2020-09-25 02:04:20 +00:00
Jakob Ackermann
435af75ef7 Merge pull request #3163 from overleaf/as-jpa-i18n-cleanup
[misc] Translations cleanup

GitOrigin-RevId: 46bf1142bb9415eeebf638c120597996aaa55f8b
2020-09-18 02:04:41 +00:00
Jessica Lawshe
bfb4da572b Merge pull request #3158 from overleaf/as-fix-react-replacement-tag-sanitisation
Fix stripping of "replacement" tags in translation strings for react-i18next

GitOrigin-RevId: a83ed2810689b00c85c34a47afc92462907fd5de
2020-09-05 02:05:17 +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
fa594e575b Merge pull request #3113 from overleaf/jpa-translations-mono-repo
[misc] mono repo with translations

GitOrigin-RevId: 1ed86d211f6a2031aafc3e7462687af0e957f9fd
2020-08-19 02:06:08 +00:00
Jakob Ackermann
1f0ee8e1ca Merge pull request #3093 from overleaf/jpa-offline-migration-image-name
[scripts] add a script for back-filling the imageName into projects

GitOrigin-RevId: 150d2e53f99a4b3baee0df3e2036576c36c7db43
2020-08-18 02:06:28 +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
Shane Kilkelly
b982493e08 Merge pull request #3032 from overleaf/msm-added-user-find-projections-scripts
Deleted scripts no longer needed

GitOrigin-RevId: 822aef0dbea7f2e7f664cb939ed75c9c658c00f5
2020-08-10 15:54:22 +00:00
Timothée Alby
52fafa96c5 Merge pull request #3060 from overleaf/cmg-wfh-export-updates
WFH Export: Account for user being undefined

GitOrigin-RevId: 8e653fda6eaea3cdde8e5677f24ef39c1c97bb94
2020-08-10 15:54:00 +00:00
Chrystal Maria Griffiths
e7107b7a8e Merge pull request #3057 from overleaf/cmg-wfh-export-updates
Export deletedSubscriptions not subscriptions for WFH 2020

GitOrigin-RevId: 4f9c37da27240c616d185076ab14daa1438de375
2020-07-28 02:06:37 +00:00
Chrystal Maria Griffiths
064ecda24f Merge pull request #3050 from overleaf/cmg-wfh-export
Logging updates to WFH export script

GitOrigin-RevId: ac6b9f92fcabe62a591d22c4efdb161da2758473
2020-07-25 02:06:54 +00:00
Chrystal Maria Griffiths
a4f4617b03 Merge pull request #3048 from overleaf/cmg-wfh-export
Export user details from WFH 2020 subscriptions

GitOrigin-RevId: 4f9be9d2b6309f7766f2855b571b81fc40870081
2020-07-25 02:06:48 +00:00
Chrystal Maria Griffiths
05abdd18d7 Merge pull request #2935 from overleaf/cmg-covid-upgrades
Add script for WFH offer ending

GitOrigin-RevId: b9291824a0712740d5d40439f759eb8a7d11d9ca
2020-06-30 02:10:14 +00:00
Chrystal Maria Griffiths
9aa0ca1131 Merge pull request #2875 from overleaf/cmg-covid-upgrades-script
Create notifications for current WFH 2020 users

GitOrigin-RevId: f40ae373815d834cfa4c81bb96a61a799385b8d9
2020-06-03 10:31:15 +00:00
Eric Mc Sween
a0809e1d85 Merge pull request #2833 from overleaf/jpa-ns-replace-spellcheck-languages
[script] replace_spellcheck_lng: use projectIds as additional filter

GitOrigin-RevId: 8813dd883c81174b7078b6af7c1dd148381fce4e
2020-05-21 03:22:45 +00:00
Jessica Lawshe
cbba4132e1 Merge pull request #2821 from overleaf/jpa-ns-replace-spellcheck-languages
[script] add a script to replace all unsupported spell check languages

GitOrigin-RevId: 597033b7ae7733f8bc7e5e0f4dfb1a49d0cae3b4
2020-05-13 03:23:28 +00:00
Simon Detheridge
bbe9f9a620 Merge pull request #2798 from overleaf/spd-count-files
Add script to delete deleted-project data from filestore

GitOrigin-RevId: 9a2c5861edddf5ed26fc684257369fac4cf95475
2020-05-02 03:19:27 +00:00
Simon Detheridge
ff38ea9533 Handle missing projects properly in file-count script
GitOrigin-RevId: 5968fc3c6646a6e75b2b84440d59d9c0cbcead5e
2020-04-30 03:19:54 +00:00
Simon Detheridge
07cd6b257a Merge pull request #2787 from overleaf/spd-count-files
Update file-count script for projects with no deleted-files array

GitOrigin-RevId: 63b3af4f3c419ed032a6de8a90c680e1446ee422
2020-04-30 03:19:48 +00:00
Timothée Alby
130d21b122 Merge pull request #2776 from overleaf/spd-count-files
Add script to count files and docs in projects

GitOrigin-RevId: 8d5e80ee9d48912d07c0f4ed61398b1a3f1ac0f5
2020-04-29 03:21:58 +00:00
Jessica Lawshe
e45c9d6c10 Merge pull request #2775 from overleaf/ew-update-metadata-processor
update metadata processor to match recommended workflow

GitOrigin-RevId: ecce921a1451e4ab544b437691cdde4356ae1804
2020-04-28 03:21:58 +00:00
Ersun Warncke
9d12d98855 report/sync on mongo/postgres entitlment mismatches
GitOrigin-RevId: 71258d5d7ca1b6700d70546f2c3be672f5524bef
2020-04-02 03:19:48 +00:00
nate stemen
d717ebb2e0 Merge pull request #2676 from overleaf/ew-check-sso-cert-expirations
show expiration data and throw on date errors when loading certs

GitOrigin-RevId: d81c96c722f0ce20352f2ef9a346b6d9bfa028d1
2020-03-19 04:16:59 +00:00
Eric Mc Sween
d772dbaceb Merge pull request #2673 from overleaf/ta-resync-subscriptions-fix
Resync Recurly Subscriptions Script Improvements

GitOrigin-RevId: b042465b7bffcbb73b40d1a7f23de784185d53ef
2020-03-17 04:18:03 +00:00
Timothée Alby
50ccc90815 Merge pull request #2664 from overleaf/ta-resync-subscriptions
Add Script To Resync Recurly Subscriptions

GitOrigin-RevId: 95f1263e5b3b782ec70d3d135f3c1866548a048f
2020-03-12 04:18:56 +00:00
Jessica Lawshe
a433235310 Merge pull request #2643 from overleaf/jel-affiliations-cron-job
Ensure affiliations cron job

GitOrigin-RevId: 4ac6f8b29b1e1460d627a86172fcdf1fa27a59a8
2020-03-12 04:18:47 +00:00
Timothée Alby
6734d9e107 Merge pull request #2641 from overleaf/ew-delete-orphaned-docs
Process and Script to Delete Orphaned Docs

GitOrigin-RevId: 0c428e36973a9131e3d379fdf4657e802576b23d
2020-03-10 04:14:46 +00:00
Timothée Alby
bb722f3bff Merge pull request #2628 from overleaf/jel-backfill-sso
Add script to backfill SSO affiliations

GitOrigin-RevId: 5dc6678531311871b09fd79ed96f45f718753ad5
2020-02-29 04:17:27 +00:00