demarches-normaliennes/app/models
Nicolas Bouilleaud 8fa630d2bb Remove Gestionnaire.visible_procedures
It is actually the same thing as Gestionnaire.procedures. It already included the procedures with paths as well as the archived procedures, and in production, there were no Gestionnaire for who procedures was returning a different result than visible_procedures (expect for two baddata brouillon procedures with a nil path).

In addition, Procedure.path is now nonnull, which means the Procedure.avec_lien scope is pointless.

Finally, the current spec showed that the only procedure not visible to the gestion was the one he was not assigned to.
2019-09-17 16:30:48 +02:00
..
champs Serialize champ repetition for tags 2019-09-12 17:23:18 +02:00
concerns Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
mails mailers: improve wording of transactional emails and default templates 2019-07-25 12:25:50 +02:00
types_de_champ Serialize champ repetition for tags 2019-09-12 17:23:18 +02:00
.keep First Commit 2015-08-10 11:05:06 +02:00
administrateur.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
administrateurs_procedure.rb [Ref #1626] Add the administrateurs_procedures table and associations 2018-03-23 11:40:03 +01:00
administration.rb Add User.create_or_promote_to_administrateur 2019-08-20 12:20:12 +02:00
application_record.rb Bootstrap Action Cable and Unicorn 2016-12-22 21:49:31 +01:00
assign_to.rb Link assign_to and procedure by groupe_instructeur 2019-09-03 06:47:02 +02:00
attestation.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
attestation_template.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
avis.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
bill_signature.rb Add BillSignature Model 2019-06-17 16:16:28 +02:00
champ.rb Serialize champ repetition for tags 2019-09-12 17:23:18 +02:00
commentaire.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
current.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
deleted_dossier.rb Enforce Timezone rule in Rubocop 2019-02-18 16:19:42 +01:00
demande.rb [fix #1601] show pipedrive demandes in manager 2018-03-22 15:37:16 +01:00
dossier.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
dossier_operation_log.rb Migrate to flipper 2019-09-10 16:10:14 +02:00
drop_down_list.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
entreprise.rb Remove entreprise and rna_information models 2018-05-24 17:54:51 +02:00
etablissement.rb Add default etablissement champ name 2019-07-30 17:17:36 +02:00
exercice.rb Remove unused alias 2018-05-24 17:54:51 +02:00
feedback.rb Add AR validation for Feedback rating 2018-08-28 10:36:36 +02:00
follow.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
france_connect_information.rb Remove the mandataire_social guess 2018-03-20 16:09:00 +01:00
france_connect_particulier_client.rb FC initializers: remove Hashie 2018-01-15 17:08:38 +01:00
geo_area.rb Save selection utilisateur as geo area 2019-08-01 11:38:09 +02:00
groupe_instructeur.rb groupe_instructeur: unsassign instructeurs on group destroy 2019-09-09 17:29:29 +02:00
individual.rb introduce constants for M./Mme 2019-08-01 17:42:32 +02:00
instructeur.rb Remove Gestionnaire.visible_procedures 2019-09-17 16:30:48 +02:00
invite.rb [Fix #1619] Do not consider invitations to deleted dossiers 2018-03-15 11:32:21 +01:00
module_api_carto.rb Remove unused carto models 2018-11-27 16:11:25 +01:00
procedure.rb Remove Gestionnaire.visible_procedures 2019-09-17 16:30:48 +02:00
procedure_overview.rb DateTime.now => Time.zone.now 2018-10-26 10:10:20 +00:00
procedure_presentation.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
service.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
siret.rb Do one thing per line 2018-10-01 16:15:46 +02:00
trusted_device_token.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
type_de_champ.rb Enable the Rails/InverseOf cop and add missing inverse_of 2019-06-17 13:44:07 +02:00
user.rb Migrate to flipper 2019-09-10 16:10:14 +02:00