overleaf/services/web/scripts
Antoine Clausse cdd79e8ec0 Fix: unset recent users featuresUpdatedAt after wrong update (#18149)
* Copy previous script

* Remove `featuresUpdatedAt` that was wrongly set on recent users

* Fix! `signupDate` -> `signUpDate`

* Add test on `migration_compile_timeout_60s_to_20s_fixup_new_users.js`

* style: `$unset: { featuresUpdatedAt: 1 }` -> `$unset: { featuresUpdatedAt: '' }`

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Add comment on test (https://github.com/overleaf/internal/pull/18149#discussion_r1582999534)

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 408f5c7d48e60722aba736167b8e8858e9570d99
2024-04-30 08:04:33 +00:00
..
analytics Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
delete-duplicate-splittest-versions
delete-orphaned-docs Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
example
helpers Merge pull request #17926 from overleaf/jpa-batched-update-sorting 2024-04-17 08:04:09 +00:00
history
learn/checkSanitize
lezer-latex
oauth Merge pull request #17457 from overleaf/dp-local-collabratec-helpers 2024-03-26 09:04:00 +00:00
plan-prices [web] Use localized number formatting for currencies (#17622) 2024-04-19 08:03:54 +00:00
recurly
sync-user-entitlements
translations Merge pull request #17870 from overleaf/bg-node-upgrade-18-20-2 2024-04-24 08:05:16 +00:00
ukamf Merge pull request #16948 from overleaf/jpa-rails-sharelatex-rebranding-step-2 2024-02-13 09:03:35 +00:00
add_feature_override.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
add_notification_ieee_collabratec_users.js Merge pull request #17586 from overleaf/dp-fix-IEEE-script 2024-03-20 09:03:06 +00:00
add_user_count_to_csv.js
back_fill_deleted_files.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
back_fill_doc_name_for_deleted_docs.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
back_fill_doc_rev.js
back_fill_dummy_doc_meta.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
back_fill_staff_access.js
back_fill_warning_user_personal_and_group_subscription.js Merge pull request #15044 from overleaf/mf-send-warning-to-users-with-personal-and-group-subscriptions 2023-10-18 08:05:04 +00:00
backfill_mixpanel_user_properties.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
backfill_project_image_name.js
backfill_user_properties.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
backfill_users_sso_attribute.js
bench_bcrypt.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
check_institution_users.js
check_saml_emails.js
clear_feedback_collection.js
clear_institution_notifications.js
clear_project_tokens.js
clear_sessions_2fa.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
clear_sessions_set_must_reconfirm.js
confirmed_at_to_dates.js
convert_archived_state.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
convert_doc_to_file.js
count_encrypted_access_tokens.js
count_files_in_projects.js
count_image_files.js
count_project_size.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
create_oauth_personal_access_token.js
create_project.js
delete_dangling_file_refs.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
delete_orphaned_chat_threads.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
delete_orphaned_data_helper.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
delete_orphaned_doc_comment_ranges.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
delete_orphaned_docs_online_check.js Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
delete_subscriptions.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
disconnect_all_users.js Merge pull request #15923 from overleaf/jpa-tweak-delay-in-seconds 2023-11-27 09:04:02 +00:00
ensure_affiliations.js
extract_onboardingdatacollection_csv.js Create a script to extract OnboardingDataCollection (#17657) 2024-03-28 09:04:33 +00:00
find_malformed_filetrees.js
fix_group_invite_emails_to_lowercase.js
fix_malformed_filetree.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
fix_oversized_docs.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
force_doc_flush.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
inst_table.js
invalidate_tokens.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
mark_migration.js
merge_group_subscription_members.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
migrate_audit_logs.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
migration_compile_timeout_60s_to_20s.js [web] Create script to update forgotten featuresUpdatedAt after the migration to 20s compile timeout (#18113) 2024-04-30 08:04:28 +00:00
migration_compile_timeout_60s_to_20s_fixup_features_updated_at.js [web] Create script to update forgotten featuresUpdatedAt after the migration to 20s compile timeout (#18113) 2024-04-30 08:04:28 +00:00
migration_compile_timeout_60s_to_20s_fixup_new_users.js Fix: unset recent users featuresUpdatedAt after wrong update (#18149) 2024-04-30 08:04:33 +00:00
process_lapsed_reconfirmations.js
purge_non_logged_in_sessions.js Merge pull request #17291 from overleaf/bg-purge-non-logged-in-sessions 2024-02-27 17:02:10 +00:00
recover_docs_from_redis.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
refresh_features.js
refresh_institution_users.js
regenerate_duplicate_referral_ids.js Merge pull request #15172 from overleaf/em-promise-utils 2023-10-20 08:04:05 +00:00
remove_deleted_users_from_token_access_refs.js add missing token access fields to projects (#17372) 2024-03-06 17:27:26 +00:00
remove_email.js
remove_oauth_application.js
remove_unwanted_ieee_collabratec_users.js Merge pull request #17645 from overleaf/dp-ac-ieee-deprecation-script-remove-users 2024-03-29 09:04:17 +00:00
restore_orphaned_docs.js
restore_soft_deleted_docs.js Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
set_tex_live_image.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
soft_delete_project.js
split_tests_assigned_at_to_dates.js
sso_id_migration_check.js Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
sso_id_remove_not_migrated.js Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
stress_test.js Merge pull request #16186 from overleaf/mj-mongo-object-id 2023-12-19 09:04:02 +00:00
tsconfig.json Merge pull request #16353 from overleaf/em-typescript-in-web-backend 2024-01-04 09:03:43 +00:00
undelete_project_to_user.js
unlink_third_party_id.js Merge pull request #17611 from overleaf/dp-unlink-sso-script 2024-03-26 09:04:40 +00:00
validate-data-of-model.js