demarches-normaliennes/app/models
simon lehericey 6826bf03b0 Sign in with a user linked by france connect sub (openid)
instead of looking linked user by email because :

- follows FC recommendation to fetch ds account by openid
- the email is not a valid key as many user can share the same FCI email.

The following scenario is now working

A user A (email: 1@mail.com) uses FC to connect to DS
=> It is connected as 1@mail.com

Another user B (email: generic@mail.com) uses FC to connect
=> It is connected as generic@mail.com

The first user A change its FC email to generic@mail.com and connect to DS
=> It is still connected as 1@mail.com
2021-10-14 14:47:50 +02:00
..
champs allow draft to be saved with invalid cnaf champ 2021-10-12 14:27:20 +02:00
concerns models: document upstream PR about file size validation 2021-09-30 15:45:30 +02:00
mails Fix apostrophes ‘ -> ’ 2021-05-26 18:05:14 +02:00
types_de_champ add cnaf type de champ 2021-10-12 14:26:40 +02: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_instructeur.rb merge instructeur 2021-10-07 15:51:31 +02:00
administrateurs_procedure.rb feat(manager): add become administrateur button in manager (with 24h expiration) 2021-10-07 11:32:12 +02:00
api_entreprise_token.rb zeitwerk: Api -> API 2021-02-09 13:07:30 +01:00
application_record.rb Add id argument to most collections on dossier 2021-03-02 12:42:22 +01:00
archive.rb Revert "Revert "Export de tous les dossier d'une démarche"" 2021-04-29 17:29:47 +02:00
assign_to.rb Remove ignored_columns 2021-04-13 17:00:07 +01:00
attestation.rb models: require belong_to associations on attestation 2020-08-18 15:57:36 +02:00
attestation_template.rb Add File Validation concern after refactoring 2021-09-21 12:11:20 -05:00
avis.rb Add File Validation concern after refactoring 2021-09-21 12:11:20 -05:00
bill_signature.rb fix(virus scan): prevent virus scan on archives and signatures uploads 2021-09-07 14:21:48 +02:00
bulk_message.rb add procedure to bulk messages 2021-08-04 11:35:06 +02:00
champ.rb add champ value_json jsonb column 2021-10-12 14:27:20 +02:00
commentaire.rb Add File Validation concern after refactoring 2021-09-21 12:11:20 -05: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 feat(i18n): expose locale on dossier and deleted_dossier 2021-09-07 09:51:23 +02:00
demande.rb [fix #1601] show pipedrive demandes in manager 2018-03-22 15:37:16 +01:00
dossier.rb fix(dossier): do not attempt to destroy transfers when a dossier is destroyed 2021-10-06 17:51:09 +02:00
dossier_operation_log.rb Add SerializerService 2021-03-02 12:42:22 +01:00
dossier_transfer.rb feat(dossier): add dossier transfer models 2021-09-08 14:39:46 +02:00
dossier_transfer_log.rb feat(dossier): add dossier transfer models 2021-09-08 14:39:46 +02:00
entreprise.rb Add default nil value for numero_tva_intracommunautaire 2021-03-16 12:57:10 +01:00
etablissement.rb fix(virus scan): prevent virus scan on archives and signatures uploads 2021-09-07 14:21:48 +02:00
exercice.rb models: require belong_to associations on exercice 2020-08-18 15:57:36 +02:00
expert.rb add case when the old_expert or old_instructeur is nil 2021-10-12 11:04:06 +02:00
experts_procedure.rb add revoked at to experts_procedures 2021-04-06 10:39:22 +02:00
export.rb Add last_month export 2021-06-23 09:23:10 +02:00
follow.rb models: require belong_to associations on follow 2020-08-18 15:57:37 +02:00
france_connect_information.rb Sign in with a user linked by france connect sub (openid) 2021-10-14 14:47:50 +02:00
france_connect_particulier_client.rb FC initializers: remove Hashie 2018-01-15 17:08:38 +01:00
geo_area.rb Do not crash when properties is nil 2021-05-26 12:40:07 +02:00
groupe_instructeur.rb Rename for consistency with defaut_groupe_instructeur 2021-03-04 10:45:02 +01:00
individual.rb affiche Madame ou Monsieur 2020-12-08 21:30:54 +01:00
instructeur.rb add case when the old_expert or old_instructeur is nil 2021-10-12 11:04:06 +02: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 show cnaf tdc when procedure is compatible 2021-10-12 14:27:20 +02:00
procedure_overview.rb Fix apostrophes ‘ -> ’ 2021-05-26 18:05:14 +02:00
procedure_presentation.rb Fix sort with revisions 2021-07-23 10:57:04 +02:00
procedure_revision.rb Refactor clone_attachments 2021-07-01 16:21:46 +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 models: extract password complexity to a concern 2021-09-09 09:40:39 -05:00
traitement.rb feat(dossiers): enable dossiers termine expiration behind feature flag 2021-08-18 16:11:35 +01: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 show cnaf tdc when procedure is compatible 2021-10-12 14:27:20 +02:00
user.rb models: extract password complexity to a concern 2021-09-09 09:40:39 -05:00