overleaf/services/web/scripts
Thomas 97a636b0dd Set force/origin params in project history migration script (None types), handle errors (#5693)
* Use a force resync when initialising full project history, improve error handling, increase default mongo timeout

* Don't remove history ID if error on initialisation

* Rename MAX_PROJECT_UPGRADES to MAX_UPGRADES_TO_ATTEMPT and skip upgrades in the current batch once we reach the limit

* Catch SIGINT and wait for a safe time to exit

* Set overleaf.history.upgradeFailed when errors during history initialisation

GitOrigin-RevId: 2c987926cac9c9727a7b39e9003aa8626d56423f
2021-11-09 09:04:37 +00:00
..
delete-orphaned-docs
example
helpers
history Set force/origin params in project history migration script (None types), handle errors (#5693) 2021-11-09 09:04:37 +00:00
learn/checkSanitize
recurly
sync-user-entitlements
translations
ukamf
add_feature_override.js
back_fill_deleted_files.js
back_fill_doc_name_for_deleted_docs.js
back_fill_dummy_doc_meta.js
backfill_project_image_name.js
check_institution_users.js Merge pull request #5627 from overleaf/jpa-use-mongo-secondary-for-script 2021-11-03 09:03:21 +00:00
cleanup_incorrectly_expired_projects.js
clear_institution_notifications.js
clear_project_tokens.js
clear_sessions_set_must_reconfirm.js
confirmed_at_to_dates.js
convert_archived_state.js
count_files_in_projects.js
create_project.js
delete_orphaned_docs_online_check.js
delete_subscriptions.js
disconnect_all_users.js
ensure_affiliations.js Merge pull request #5648 from overleaf/em-revert-gcp-logging-web 2021-11-02 09:03:29 +00:00
inst_table.js
invalidate_tokens.js
mark_migration.js
process_lapsed_reconfirmations.js
refresh_features.js
refresh_institution_users.js
regenerate_duplicate_referral_ids.js
restore_soft_deleted_docs.js
set_tex_live_image.js
split_tests_assigned_at_to_dates.js
validate-data-of-model.js