demarches-normaliennes/lib/tasks/deployment
2024-02-16 10:08:36 +01:00
..
20200326133630_cleanup_deleted_dossiers.rake tasks: restore older after_party tasks 2022-02-22 15:39:16 +01:00
20200401123317_process_expired_dossiers_en_construction.rake tech(refactor): deplace les service d'expiration usager/dossier dans un namespace dedié 2023-11-17 11:33:14 +01:00
20200527124112_fix_champ_etablissement.rake tasks: restore older after_party tasks 2022-02-22 15:39:16 +01:00
20200528124044_fix_dossier_etablissement.rake tasks: restore older after_party tasks 2022-02-22 15:39:16 +01:00
20200618121241_drop_down_list_options_to_json.rake fix(after_party): rescue from ActiveRecord::ConfigurationError 2022-03-22 12:02:43 +01:00
20200625113026_migrate_revisions.rake fix(after_party): check constant presence before processing 2022-03-22 12:07:40 +01:00
20200630154829_add_traitements_from_dossiers.rake fix(after_party): use find_or_create_by to respect idempotency 2022-03-17 10:02:43 +01:00
20200708101123_add_default_skip_validation_to_piece_justificative.rake tasks: restore older after_party tasks 2022-02-22 15:39:16 +01:00
20200728150458_fix_cloned_revisions.rake fix(after_party): rescue from PG::UndefinedColumn 2022-03-23 10:57:32 +01:00
20200813111957_fix_geo_areas_geometry.rake fix(after_party): use find_or_create_by to respect idempotency 2022-03-17 10:10:10 +01:00
20201001161931_migrate_filters_to_use_stable_id.rake tasks: restore older after_party tasks 2022-02-22 15:39:16 +01:00
20201006123842_setup_first_stats.rake tasks: restore older after_party tasks 2022-02-22 15:39:16 +01:00
20201218163035_fix_types_de_champ_revisions.rake tasks: restore older after_party tasks 2022-02-22 15:39:16 +01:00
20210118084107_add_default_skip_content_type_validation_to_piece_justificative.rake add task to skip content type validation for old pj 2021-01-18 14:07:35 +01:00
20210118142539_backfill_experts_procedure_id_on_avis_table.rake fix(rubocop): Rails/FindEach 2024-02-12 09:33:17 +01:00
20210307144755_backfill_claimant_type_on_avis_table.rake fix(task): deal nicely with nil claimant_type on avis table 2022-02-08 16:14:59 +01:00
20210310170650_remove_invalid_geometries.rake fix n+1 on remove_invalid_geometries after_party 2021-03-16 18:25:14 +01:00
20210311085419_backfill_claimant_id_for_experts_on_avis_table.rake fix(task): deal nicely with dropped tmp_expert_migrated column on avis table 2022-02-04 18:46:16 +01:00
20210324081552_backfill_experts_procedure_id_on_avis_table.rake Merge pull request #6925 from adullact/fix/6883-afterparty-backfill-experts-procedure 2022-02-08 14:58:11 +01:00
20210402000000_null_exports_key_to_uuid.rake tasks: rename after_party task to the proper name 2022-03-15 16:20:15 +01:00
20210409131949_populate_bypass_email_login.rake add after_party task to populate bypass_email 2021-04-13 09:43:38 +02:00
20210412093054_fill_missing_date_of_fc.rake [#6084] add after_party task to fill missing data 2021-04-13 09:59:28 +02:00
20210429172327_rename_conservation_extension.rake chore(rubocop): fix Rails/IgnoredColumnsAssignment 2023-04-19 12:55:14 +02:00
20210513093316_use_jsonb_in_geo_areas_properties.rake Convert geo_areas properties to jsonb 2021-05-24 11:57:00 +02:00
20210525114448_fix_published_revisions.rake Fix published revisions 2021-06-03 13:11:16 +02:00
20210630101910_migrate_type_de_champ_parent.rake task(type_de_champ): migrate type_de_champ parent_id 2021-12-06 21:45:54 +01:00
20210720133539_remove_migration_status_on_filters.rake lib: remove the 'migrated' key on filters 2021-08-24 08:42:22 -05:00
20211006154552_remove_orphaned_avis.rake fix(avis): remove avis without dossier 2021-10-06 18:10:55 +02:00
20211110093332_set_dossiers_processed_at.rake fix(task): fix scope in set_dossiers_processed_at 2021-12-07 16:15:43 +01:00
20211124112843_add_depose_at_to_dossiers.rake task(traitements): add depose_at to existing dossiers 2021-11-25 12:57:55 +03:00
20211126152402_move_traitement_process_expired_to_procedure.rake fix(spec/lint/review): lint and fix spec of previous commits, also fix based on tchak feedback 2021-12-06 07:05:17 +01:00
20211259131949_populate_bypass_email_login_again.rake lib: fix after_party task name 2021-11-30 15:51:25 +01:00
20220112184331_revise_attestation_templates.rake refactor(attestation_template): cleanup relationships 2022-02-11 08:45:32 +01:00
20220211090402_reassign_redundant_attestation_templates.rake task(attestation_template): reassign_redundant_attestation_templates 2022-02-11 11:30:24 +01:00
20220309101504_seed_hidden_at_dossiers.rake fix(migration): add with_discarded to seed_hidden_at_dossiers 2022-03-09 17:53:49 +01:00
20220310115522_copy_user_association_to_user_related_models.rake db: copy user-related ids to the respective models 2022-03-15 15:57:22 +01:00
20220316105857_delete_roles_without_users.rake db: add a data migration to remove invalid roles 2022-03-29 08:30:48 +02:00
20220405092317_remove_duplicate_attestations.rake after_party task which removes duplicate attestation 2022-04-05 13:01:32 +02:00
20220408100411_fix_dossiers_expiration_dates.rake fix(dossiers): dossier extend_conservation actually works 2022-04-08 13:40:28 +02:00
20220427195148_set_default_for_procedure_preview_on_dossiers.rake feat(dossier): add preview flag 2022-04-28 11:52:38 +02:00
20220506105510_fix_wrong_parent.rake after_party: fix wrong parent 2022-05-10 13:52:58 +02:00
20220512072704_fix_child_types_de_champ.rake fix(revision): add fix_child_types_de_champ task to create join tables on repetition children 2022-05-12 12:54:18 +02:00
20220513135112_fix_depose_at_nil_on_dossier_state_not_brouillon.rake fix(sentry/3139111475): clean up some "corrupted" data, some dossier still have depose_at nil while en_construction_at is set 2022-05-16 13:58:50 +02:00
20220516160033_fix_hidden_by_reason_nil.rake sentry(3002560608): some Dossier ready to be purged are missing the hidden_by_reason 2022-05-16 21:18:13 +02:00
20220517040643_remove_old_cron_job_from_delayed_job_table.rake clean(data): remove old cron UpdateAdministrateurUsageStatisticsJob from delayed job table 2022-05-17 16:57:55 +02:00
20220517120321_remove_old_dubious_proc_job_from_delayed_job_table.rake remove old FindDubiousProceduresJob from delayed_job table 2022-05-25 14:44:53 +02:00
20220601070414_move_new_children_to_new_parent_coordinate.rake fix(procedure): fix wrong parents 2022-06-01 09:33:39 +02:00
20220614053743_fix_procedure_presentation_with_depose_since.rake fix(procedure_presentation): can not present a 'virtual field' like depose_since 2022-06-14 09:02:37 +02:00
20220614053744_fix_procedure_presentation_with_updated_since.rake fix(20220614053743_fix_procedure_presentation_with_depose_since): missed case of procedure_presentation with Mis à jour depuis 2022-06-14 17:11:20 +02:00
20220705164551_remove_unused_champs.rake task(dossier): remove orphan champs 2022-07-06 13:28:00 +02:00
20220725075951_migrate_champs_engagement_to_checkbox.rake clean(Champs::Engagement): migrate to Champs::Checkbox, some for TypeDeChamp 2022-09-27 19:09:28 +02:00
20220726154500_truncate_exports.rake chore(schema): add exports#job_status 2022-07-26 17:53:24 +02:00
20220728062218_cleanup_attachments.rake fix(db): remove bad attachments 2022-07-28 10:11:27 +02:00
20220802133502_destroy_dossier_transfer_without_email.rake fix(db): remove DossierTransfer without email 2022-08-03 11:44:54 +02:00
20220822135410_remove_unused_column_on_type_de_champs.rake fix(migration): following e764aade13 ; we still need to remove those columns otherwise destroying a procedure fails due to index on types_de_champ.revision_id 2022-08-22 16:00:56 +02:00
20220914090549_cleanup_champs_types_de_champ_foreign_keys.rake fix(after_party): split foreign key cleanup task 2022-09-14 11:20:35 +02:00
20220914090601_cleanup_champs_dossier_foreign_keys.rake fix(after_party): split foreign key cleanup task 2022-09-14 11:20:35 +02:00
20220914090615_cleanup_champs_etablissement_foreign_keys.rake fix(after_party): split foreign key cleanup task 2022-09-14 11:20:35 +02:00
20220914090631_cleanup_etablissements_dossier_foreign_keys.rake fix(after_party): split foreign key cleanup task 2022-09-14 11:20:35 +02:00
20220922151100_populate_zones.rake chore(rubocop): fix Rails/RootPathnameMethods and assimiled cops 2023-04-19 12:55:13 +02:00
20220922154831_backfill_etablissement_as_degraded_mode.rake fix(etablissement.as_degraded_mode): backfill missing data via a cron 2022-09-23 15:12:25 +02:00
20221004112700_clean_orphaned_targeted_user_links.rake fix(data): remove orphaned targeted_user_links 2022-10-04 13:37:53 +02:00
20221005142610_enable_procedure_expires_when_termine_enabled_on_procedure_without_dossiers.rake fix: typo in task 2022-10-18 15:29:52 +02:00
20221006135016_format_iban_champ_values.rake fix(iban): apply correct format to all ibans 2022-10-11 10:45:03 +02:00
20221007085741_clean_champs_and_type_de_champ_with_no_revision.rake fix(type_de_champ.data): drop former orphan from type_de_champ and champ without coordinates 2022-10-07 11:08:36 +02:00
20221011071912_backfill_procedure_routing_criteria_name.rake fix(procedure.clone): le clonage des procédure était bloqué car nous avions des données inconsistantes 2022-10-11 09:33:48 +02:00
20221011075758_backfill_procedure_routing_criteria_name_blank.rake correctif(routing_criteria_name ne doit pas etre vide): ne pas oublier les procedures.routing_criteria_name ayant une chaine de caractère vide ex: ' ' 2022-10-11 10:23:38 +02:00
20221019094123_nullify_commentaire_deleted_instructeurs.rake fix(dossier): nullify instructeur and expert id on messages when they are deleted 2022-10-19 11:53:10 +02:00
20221026074507_update_procedure_routing_enabled.rake add after party 2022-11-04 12:03:44 +01:00
20221104122104_backfill_users_team_account.rake amelioration(bdd): mise en place d'un flag pour identifier les anciens comptes d'admin de DS 2022-11-08 09:55:21 +01:00
20221108114545_assign_attestation_templates_to_procedures.rake feat(attestation_template): assign attestations templates to procedures 2022-11-23 12:26:26 +01:00
20221109115352_update_procedure_with_only_inactive_instructor_group.rake fix procedure with only inactive group 2022-11-09 13:56:00 +01:00
20221109124456_update_procedure_with_active_group_and_routing_nil.rake fix procedure with active group and routing nil 2022-11-09 14:15:59 +01:00
20221121163201_clean_invalid_procedures.rake fix(procedure): backfill duree_conservation 2022-11-23 12:19:14 +01:00
20221128205201_clean_old_gates.rake clean(flipper): remove unused gates 2022-12-05 12:22:29 +01:00
20221129162903_migrate_api_tokens.rake feat(api_token): add api_tokens table 2022-12-07 18:19:37 +01:00
20221215135522_backfill_row_id_on_champs.rake refactor(repetition): add row_id to champs 2023-01-05 18:04:54 +01:00
20221221090151_schedule_rebase_for_all_dossiers.rake fix(dossier): schedule a rebase to all pending dossiers 2022-12-21 10:12:33 +01:00
20221221115241_fix_geo_area_missing_source.rake fix(geo_area): missing source on 1 record 2022-12-21 12:57:38 +01:00
20221221153640_normalize_checkbox_values.rake Revert "migrate(champs): normalize departements (#8505)" 2023-02-06 15:57:26 +01:00
20221221155508_normalize_yes_no_values.rake Revert "migrate(champs): normalize departements (#8505)" 2023-02-06 15:57:26 +01:00
20221221170137_normalize_datetime_values.rake fix(after_party): BatchUpdateDatetimeValueJob -> BatchUpdateDatetimeValuesJob 2023-01-17 16:40:34 +01:00
20221222164435_backfill_watermarked_blobs.rake refactor(watermark): use column instead of metadata on blob 2023-01-04 12:07:08 +01:00
20221222173733_backfill_virus_scan_blobs.rake refactor(virus_scan_result): use column instead of metadata on blob 2023-01-04 12:12:11 +01:00
20230103170917_normalize_pays_values.rake Allow prefill pays type de champs (#8344) 2023-01-18 12:52:38 +01:00
20230118102035_backfill_repetition_champ_without_row_id.rake fix(after_party): backfill children Champs without row_ids 2023-01-18 17:42:40 +01:00
20230131132616_fix_dossier_transfer_with_uppercase.rake fix(rubocop): Rails/RedundantActiveRecordAllMethod 2024-02-12 09:33:18 +01:00
20230131154015_fix_bad_invitation_targeted_user_link.rake amelioration(data): re-associe les anciennes invitation avec un nouveau targeted_user_link pour concerver des données homogènes 2023-01-31 17:09:36 +01:00
20230201090535_backfill_dossiers_repetitions.rake fix(task): improuve after party backfill_dossiers_repetitions 2023-02-01 15:27:07 +01:00
20230203155423_rename_email_event_dolist_method.rake data(migration): renomme les anciennes method dolist en dolist_smtp 2023-02-03 17:19:36 +01:00
20230207144243_normalize_regions.rake migrate(champs): normalize regions 2023-02-09 10:46:17 +01:00
20230208084036_normalize_departements.rake review: avoid in_batches 2023-02-13 16:32:34 +01:00
20230208154144_fix_geo_area_without_geometry.rake fix(geo_area): geo_area.geometry must be valid JSON, not nil 2023-02-08 16:55:35 +01:00
20230209093144_backfill_revisions_published_at.rake fix(revision): backfill missing published_at 2023-02-09 11:52:41 +01:00
20230216135218_reclean_attachments.rake correctif(data): supprime les attachment sans blob 2023-02-16 14:54:13 +01:00
20230221100840_strip_type_de_champ_libelle.rake chore(type_de_champ): normalize (strip) all libelles 2023-02-27 17:29:22 +01:00
20230223103427_update_procedure_dossiers_count.rake compute once dossiers count for each procedure 2023-02-21 10:06:07 +01:00
20230302161322_fix_again_hidden_by_reason_nil.rake fix(dossier): fix again hidden_by_reason nil to fix Cron::DiscardedDossiersDeletionJob 2023-03-02 17:16:52 +01:00
20230316125244_fix_private_champ_type_mismatch.rake fix(after-party): typo in task name 2023-03-16 18:06:44 +01:00
20230322172910_populate_zones_with_tchap_hs.rake populate zones with tchap hs 2023-05-16 09:40:53 +02:00
20230404141339_fix_backfill_procedure_routing_criteria_name.rake correctif(data): certaines procedures supprimées etaient invalides du fait qu'elle n'avaient pas ete mise a jour sur le critere du nom de routage 2023-04-04 16:17:39 +02:00
20230407124517_back_fill_procedure_defaut_groupe_instructeur_id.rake feat(routing): task to backfill procedure.defaut_groupe_instructeur_id 2023-04-13 10:44:06 +02:00
20230407132756_normalize_communes.rake fix(dossier): normalize champs commune data 2023-04-07 16:02:13 +02:00
20230417083259_migrate_data_for_routing_with_dropdown_list.rake feat(routing): task to backfill procedure.defaut_groupe_instructeur_id 2023-05-12 10:10:27 +02:00
20230421091957_fix_defaut_groupe_instructeur_id_for_cloned_procedure.rake fix defaut_groupe_instructeur for mismatching label 2023-04-24 10:16:09 +02:00
20230421160218_fix_geo_area_without_geometry_again.rake fix(geoarea): fix again new geo_areas#geometry nil 2023-04-22 16:23:39 +02:00
20230424154715_fix_include_in_logic.rake fix: replace ds_eq operator by ds_include when targeted_champ is a multiple_drop_down_list 2023-04-26 09:37:03 +02:00
20230427090118_fix_dossiers_with_missing_identification.rake fix(dossiers): rollback dossiers en construction to brouillon if they have no identification 2023-04-27 11:21:08 +02:00
20230427094648_normalize_commune_code_departement.rake fix(commune): fix ‘undefined’ departement codes 2023-04-27 12:07:43 +02:00
20230512103830_fix_cloned_published_revisions.rake simplify 2023-05-12 16:52:59 +02:00
20230515155606_fix_champs_after_merge.rake chore(afterparty): do not delete dossiers on draft revisions 2023-05-19 11:16:13 +02:00
20230516152457_fix_procedure_revision_publiee_without_published_at.rake fix(revision): backfill missing published_at on published revisions 2023-05-16 19:10:05 +02:00
20230522065646_fix_champs_revisions.rake task(revision): find and correct all champs with wrong type de champ 2023-05-24 16:34:46 +02:00
20230601121416_fix_instructeurs_self_management_for_routed_procedures.rake fix(instructeurs self management): make instructeurs self management for routed procedures 2023-06-01 16:22:11 +02:00
20230602165134_migrate_remaining_data_for_routing_with_dropdown_list.rake fix(routing): migrate remaining data 2023-06-16 12:01:07 +02:00
20230613114744_replay_routing_engine_for_a_cloned_procedure.rake add routing rules for cloned routed procedure 2023-06-13 15:58:04 +02:00
20230615175221_fix_champs_communes_99.rake fix(commune): a commune can not be located in 99 2023-06-16 08:38:01 +01:00
20230615182245_validate_procedure_liens.rake chore(after_party): validate all existing procedure liens 2023-07-06 10:27:43 +02:00
20230707121855_force_dossiers_to_fill_missing_individual.rake chore: flag dossiers with missing individual "nom" so users can update them 2023-07-07 17:34:47 +02:00
20230712095348_backfill_dossier_correction_reason.rake refactor(correction): rename kind => reason with default correction => incorrect 2023-07-21 16:45:47 +02:00
20230718143350_reset_dossier_brouillon_groupe_instructeur_id.rake amelioration(data): pour les dossiers en brouillon ayant un groupe_instructeur_id, supprime cette information 2023-08-14 10:17:23 +02:00
20230721142825_purge_motivation_dossiers_not_termine.rake fix(dossier): purge motivations on dossiers non terminé 2023-07-24 09:52:12 +02:00
20230725101602_remove_toplevel_communes.rake feat(commune): remove Paris, Marseille and Lyon top level insee code 2023-07-26 14:15:20 +02:00
20230728085422_update_routing_rule_for_groups_routing_from_drop_down_other.rake db(routing): task to update routing rule for groupe instructeurs routing from drop down other option 2023-07-28 14:15:51 +02:00
20230906124541_update_brouillon_dossiers_with_forced_groupe_instructeur.rake db(after party): set forced_groupe_instructeur to false for brouillon dossiers without groupe_instructeur 2023-09-06 17:28:01 +02:00
20230918143300_fix_prefilled_empty_individual.rake fix: destroy Individual of dossier for etablissements 2023-09-18 17:34:27 +02:00
20230921132123_unroute_cloned_procedures_from_diffent_admin.rake fix(procedure): do not route cloned procedures from different admin retry 2023-09-28 18:10:59 +02:00
20231003123111_delete_optional_champ_feature_flag.rake chore(flipper): delete disable_label_optional_champ_2023_06_29 feature flag 2023-10-03 14:37:41 +02:00
20231011144554_remove_orphan_dossier_operation_logs.rake first test for sidekiq 2023-11-13 11:40:48 +01:00
20231109145911_backfill_procedure_expires_when_termine_enabled_without_dossiers.rake amelioration(data): backfill procedure_expires_when_termine_enabled:true pour les procedures ou c'est pas activé qui n'ont pas de dossiers 2023-11-17 11:33:14 +01:00
20231110092044_fix_not_normalized_champs_commune.rake correctif(Champs::CommuneChamp): il restait des champs commune a normaliser 2023-11-10 10:42:42 +01:00
20231226140149_backfill_invites_missing_existing_user.rake fix(data): backfill invites where missing user can be linked 2024-01-04 07:05:34 +01:00
20240215164807_backfill_procedure_instructeurs_self_management_enabled.rake feat(procedure.instructeurs_self_management_enabled): backfill instructeurs_self_management_enabled since routing_enabled is not one of the option conditionning it 2024-02-16 10:08:36 +01:00