docbrown/lib/data_update_scripts
Daniel Uber 591577e6b8
[hotfix] website_url update script should handle parse errors (#14306)
* Add additional test cases to the DUS

And then handle them.

* rubocop changes

Keep let blocks together
prefer blank? to ! + present?

* Test copied script as well

Since the file was fixed, then copied - we want to test the copy that
will actually run (these _should_ be idempotent and running both back
to back will cause no harm).
2021-07-22 14:16:43 -05:00
..
20200226193303_backfill_column_for_broadcasts.rb
20200305201642_index_feed_content_to_elasticsearch.rb
20200313123108_index_users_to_elasticsearch.rb
20200324133751_update_tag_hotness_scores.rb
20200503134234_remove_github_issues.rb
20200526181850_update_public_reaction_counts_again.rb
20200530085153_backfill_broadcasts_timestamps.rb
20200708163323_backfill_broadcastable_for_broadcasts.rb
20200715140848_backfill_user_registered_at.rb
20200723070918_update_articles_cached_entities.rb
20200810083831_remove_orphaned_ahoy_rows.rb
20200813072205_remove_orphaned_display_ad_events.rb
20200818103028_nullify_orphaned_by_article_html_variant_trials.rb
20200818170410_remove_orphaned_poll_votes.rb
20200818170433_remove_orphaned_poll_skips.rb
20200818170505_remove_orphaned_poll_options.rb
20200818170523_remove_orphaned_polls.rb
20200820153340_insert_facebook_connect_broadcast_message.rb Bump rubocop from 1.17.0 to 1.18.0 (#14107) 2021-07-01 13:51:49 +02:00
20200821103125_nullify_orphaned_articles_by_organization.rb
20200821103305_nullify_orphaned_collections_by_organization.rb
20200821103405_remove_orphaned_credits_by_organization.rb
20200821103718_remove_orphaned_display_ads_by_organization.rb
20200821103834_remove_orphaned_listings_by_organization.rb
20200822082229_remove_orphaned_notifications_by_organization.rb
20200822083050_remove_orphaned_sponsorships_by_organization.rb
20200825095512_nullify_orphaned_comments_by_article.rb
20200825102635_remove_orphaned_notification_subscriptions_by_article.rb
20200825102956_remove_orphaned_notifications_by_article.rb
20200825103119_remove_orphaned_profile_pins_by_article.rb
20200825103244_remove_orphaned_rating_votes_by_article.rb
20200826075937_migrate_profile_field_groups.rb
20200826092816_remove_orphaned_notes_by_user.rb
20200826133748_nullify_orphaned_tweets_by_user.rb
20200826140317_remove_orphaned_articles_by_user.rb
20200826140754_remove_orphaned_collections_by_user.rb
20200826140924_remove_orphaned_credits_by_user.rb
20200826141015_remove_orphaned_github_repos_by_user.rb
20200826141105_remove_orphaned_mentions_by_user.rb
20200826141145_remove_orphaned_organization_memberships_by_user.rb
20200826141447_nullify_orphaned_page_views_by_user.rb
20200826141550_nullify_orphaned_rating_votes_by_user.rb
20200826141652_remove_orphaned_reactions_by_user.rb
20200901040521_create_profile_fields.rb
20200901085230_remove_draft_articles_with_duplicate_canonical_url.rb
20200904141057_cleanup_articles_with_invalid_feed_source_url.rb
20200910135958_remove_draft_articles_with_duplicate_user_id_title_body_markdown.rb
20200910140109_cleanup_published_articles_with_duplicate_user_id_title_body_markdown.rb Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
20200916202343_backfill_co_author_ids_for_articles.rb
20200917115821_backfill_listing_published_date.rb
20200917150808_nullify_orphaned_tags_by_mod_chat_channel_id.rb
20200917150838_nullify_orphaned_feedback_messages_by_reporter_id.rb
20200922065307_fix_dribbble_url_profile_field.rb
20200922072907_backfill_profile_skills_languages.rb
20201015190914_update_article_main_image_path.rb
20201019192035_backfill_registered_for_users.rb
20201022161311_backfill_user_registrations_in_registrations_controller_path.rb
20201026155851_resave_to_bust_cache_for_imgproxy.rb
20201030015634_make_tags_with_mods_supported.rb
20201118141822_gradual_article_cache_bust.rb
20201120001727_populate_explicit_follow_points.rb
20201130041949_remove_name_profile_field.rb
20201208151516_set_onboarding_profile_fields_for_existing_forems.rb
20201209134953_touch_articles_with_capitalized_paths.rb
20201217162454_cleanup_orphan_git_hub_repositories.rb
20201223013903_set_proper_display_area_for_profile_fields.rb
20210107151449_remove_feeds_import_feature_flag.rb
20210108033107_remove_looking_for_work_profile_fields.rb
20210114174504_update_user_update_rate_limit_default.rb Create settings model for rate limits (#13381) 2021-04-20 11:29:22 +07:00
20210119060219_make_local_navigation_links_relative.rb
20210119131811_replace_instances_of_banned_and_comment_banned.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00
20210209152726_add_fastly_http_purge_feature_flag.rb
20210209185037_add_single_resource_role_to_tech_admins.rb
20210210124346_add_data_updates_scripts_feature_flag.rb
20210211164634_fix_profile_field_edge_cases.rb
20210329172336_remove_pro_roles.rb Remove pro role from users and database (#13176) 2021-03-31 09:34:10 -07:00
20210405152916_invoke_update_reading_list_document_trigger_on_articles.rb [Search 2.0] Optimize search reading list (#13275) 2021-04-12 16:40:40 +02:00
20210412183428_resave_all_comment_mentioned_messages.rb Rename comment-mentioned-user class added by Html::Parser (#13263) 2021-04-13 14:33:22 -07:00
20210412185444_resave_all_comment_mentioned_comments.rb Rename comment-mentioned-user class added by Html::Parser (#13263) 2021-04-13 14:33:22 -07:00
20210412185449_resave_all_comment_mentioned_articles.rb Rename comment-mentioned-user class added by Html::Parser (#13263) 2021-04-13 14:33:22 -07:00
20210503175027_move_summary_website_url_and_location_to_profile.rb Fix misnamed data update script (#13862) 2021-05-26 15:50:31 -05:00
20210503202046_remove_unused_data_update_scripts.rb Cleanup unused DataUpdateScripts (#13640) 2021-05-04 09:19:24 -04:00
20210506052235_remove_runtime_banner_feature_flag.rb Remove :runtime_banner feature flag (#13662) 2021-05-28 15:10:15 -06:00
20210512030719_mark_mascot_setting_dus_as_obsolete.rb Remove settings_mascots table (#13737) 2021-05-13 10:03:25 +07:00
20210512032437_remove_settings_data_update_scripts.rb Clean up SiteConfig (#13738) 2021-05-18 09:38:31 +07:00
20210518043957_remove_site_config_scripts.rb [Hotfix] Fix DataUpdateScripts::RemoveSiteConfigScripts script (#13824) 2021-05-21 16:34:21 +02:00
20210604104735_remove_email_addresses_scripts.rb Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
20210622145212_backfill_forem_consumer_app_team_id.rb Make Consumer Apps dictate aasa results (#14015) 2021-06-24 08:36:11 -06:00
20210630034523_add_work_profile_field.rb Add 'Work' profile field (#14106) 2021-07-09 09:24:08 +07:00
20210630041322_migrate_data_to_work_field.rb Add 'Work' profile field (#14106) 2021-07-09 09:24:08 +07:00
20210630063635_drop_profile_fields_for_static_attributes.rb Drop profile fields for static attributes (#14109) 2021-07-01 14:30:40 -04:00
20210701134702_remove_notification_setting_migration_scripts.rb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
20210712054300_remove_unused_profile_fields.rb Remove unused profile fields (#14206) 2021-07-16 09:45:12 -04:00
20210712162220_backfill_section_column_for_navigation_links.rb Static Sections for Site Navigation - Pt1 (#14213) 2021-07-14 11:01:56 -04:00
20210722135549_profile_website_url_format.rb [hotfix] website_url update script should handle parse errors (#14306) 2021-07-22 14:16:43 -05:00
20210722160452_profile_website_url_format_fixup.rb [hotfix] website_url update script should handle parse errors (#14306) 2021-07-22 14:16:43 -05:00