demarches-normaliennes/app/models
Pierre de La Morinerie 9f676c76e1 config: fix zeitwerk warning about DynamicSmtpSettingsInterceptor
Fix a warning when running tests:

> DEPRECATION WARNING: Initialization autoloaded the constant DynamicSmtpSettingsInterceptor.
>
> Being able to do this is deprecated. Autoloading during initialization is going
to be an error condition in future versions of Rails.
> 
> Reloading does not reboot the application, and therefore code executed during
> initialization does not run again. So, if you reload DynamicSmtpSettingsInterceptor, for example,
> the expected changes won't be reflected in that stale Class object.
> 
> This autoloaded constant has been unloaded.
> 
> Please, check the "Autoloading and Reloading Constants" guide for solutions.

However if we fix as recommanded, the interceptor will get added
each time the classes are reloaded. And as the actual class instance
changed after the reloading, they won't be de-duplicated – *and*
there's no way to remove the old interceptor without having a reference
to the (now-deleted) class.

Instead we load the interceptor once, and add a message about the class
not being auto-reloaded.
2021-02-24 19:00:29 +01:00
..
champs fix constant 2021-02-19 11:29:08 +01:00
concerns Show titre identite link only once watermark is added 2020-12-10 16:50:03 +01:00
mails models: require belong_to associations on mail templates 2020-08-18 15:57:37 +02:00
types_de_champ Add annuaire_education champ 2021-01-14 17:57:48 +01:00
.keep First Commit 2015-08-10 11:05:06 +02:00
administrateur.rb remove dead code in admin model 2020-09-18 11:16:34 +02:00
administrateurs_procedure.rb models: generate annotations 2020-08-12 11:45:53 +02:00
api_entreprise_token.rb zeitwerk: Api -> API 2021-02-09 13:07:30 +01:00
application_record.rb Resolve models and types 2019-09-24 10:47:21 +02:00
assign_to.rb Update Raven references to use Sentry 2021-01-28 19:46:36 +01:00
attestation.rb models: require belong_to associations on attestation 2020-08-18 15:57:36 +02:00
attestation_template.rb models: require belong_to associations on attestation_template 2020-08-18 15:57:36 +02:00
avis.rb instead of call Avis table, we now call Experts Procedure table to see the experts list 2021-01-26 13:59:10 +01:00
bill_signature.rb factorize read_attachment 2020-12-14 14:09:15 +01:00
champ.rb Add ChampFetchExternalDataJob 2021-02-17 19:10:16 +01:00
commentaire.rb Add content validation for avis and messages 2021-01-18 17:23:08 +01:00
current.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
current_confirmation.rb mailers: add procedure context to the confirmation link 2020-02-25 11:45:36 +00:00
deleted_dossier.rb EQT instructeur, je peux supprimer un dossier terminé 2020-12-16 15:00:26 +01:00
demande.rb [fix #1601] show pipedrive demandes in manager 2018-03-22 15:37:16 +01:00
dossier.rb [GraphQL] modifier annotation 2021-02-11 17:45:14 +01:00
dossier_operation_log.rb add grace period to deleted dossiers 2020-12-16 15:00:26 +01:00
dynamic_smtp_settings_interceptor.rb config: fix zeitwerk warning about DynamicSmtpSettingsInterceptor 2021-02-24 19:00:29 +01:00
entreprise.rb Make some api entreprise fields optional 2021-01-27 11:53:00 +01:00
etablissement.rb Ignore entreprise_id on etablissements 2021-01-27 11:53:00 +01:00
exercice.rb models: require belong_to associations on exercice 2020-08-18 15:57:36 +02:00
expert.rb add an email method to expert model 2021-01-26 13:59:09 +01:00
experts_procedure.rb change active record request to get expert list 2021-02-16 09:46:18 +00:00
export.rb compute async only after create 2020-09-29 14:00:31 +02:00
feedback.rb models: require belong_to associations on feedback 2020-08-18 15:57:36 +02:00
follow.rb models: require belong_to associations on follow 2020-08-18 15:57:37 +02:00
france_connect_information.rb ignore when FranceConnect calls callback 2 times 2021-02-10 18:13:47 +01:00
france_connect_particulier_client.rb FC initializers: remove Hashie 2018-01-15 17:08:38 +01:00
geo_area.rb Remove legacy geo sources 2020-12-10 11:26:16 +01:00
groupe_instructeur.rb models: require belong_to associations on groupe_instructeur 2020-08-18 15:57:37 +02:00
individual.rb affiche Madame ou Monsieur 2020-12-08 21:30:54 +01:00
instructeur.rb refactor Dossier#with_notifications 2020-09-21 08:28:42 +00:00
invite.rb use after_create instead of after_save 2020-09-29 18:15:38 +00:00
module_api_carto.rb models: require belong_to associations on module_api_carto 2020-08-18 15:57:37 +02:00
procedure.rb admin: durée de conservation des données hors ds n'est plus demandée 2021-02-17 16:41:57 +01:00
procedure_overview.rb removed routing condition in weekly summary 2020-01-20 14:23:19 +01:00
procedure_presentation.rb Add migration task to use stable_id in filters 2020-12-17 10:51:09 +01:00
procedure_revision.rb Include in exports types_de_champ from all revisions 2020-09-30 13:42:38 +02:00
procedure_revision_type_de_champ.rb Remove migration service 2020-09-02 11:26:26 +02:00
service.rb models: require belong_to associations on service 2020-08-18 15:57:37 +02:00
siret.rb Do one thing per line 2018-10-01 16:15:46 +02:00
stat.rb cache landing data 2020-10-06 16:12:01 +02:00
super_admin.rb extract password complexity validator 2020-12-15 16:26:09 +01:00
traitement.rb models: require belong_to associations on traitement 2020-08-18 15:57:37 +02:00
trusted_device_token.rb models: require belong_to associations on trusted_device_token 2020-08-18 15:57:37 +02:00
type_de_champ.rb add skip_content_type_pj_validation attr to pj 2021-01-18 15:12:17 +01:00
user.rb disable france connect authentication for admin and instructeurs 2021-02-10 18:13:47 +01:00