demarches-normaliennes/app/controllers
Pierre de La Morinerie 3499f5af9a models: remove invalid Dossier ↔︎ Champ inverse relationship
`Dossier.champs` is not really an inverse of `Champs.dossier`: when a
Champ record is created, it should not always be added to dossier.champs
(for instance if the champ is private).

NB: this breaks the workaround we added in #3907 to fix the parent
dossier not being touched in some cases (the workaround was to add an
inverse relationship, but we now have to remove it).

The new workaround is to watch for `changed_for_autosave?` on champs.
Unlike `changed?`, `changed_for_autosave?` also detects changes to
attachments. This allows us to touch both `last_champ_updated_at` and
`updated_at` in a single pass.
2021-04-06 10:26:17 +02:00
..
admin remove old route 2020-09-17 14:03:31 +02:00
administrateurs fix error message during admin activation error 2020-03-05 12:01:16 +00:00
api controllers: use template: rather than file: to render PDFs 2021-03-25 13:24:53 +01:00
champs zeitwerk: Api -> API 2021-02-09 13:07:30 +01:00
concerns experts_procedure should not be optional 2021-03-23 13:46:33 +01:00
devise sign_in: extract the procedure context to a ProcedureContextConcern 2019-01-17 11:07:09 +01:00
experts modify experts avis controllers, concern and serializer 2021-03-18 11:38:52 +01:00
france_connect disable france connect authentication for admin and instructeurs 2021-02-10 18:13:47 +01:00
instructeurs controllers: use template: rather than file: to render PDFs 2021-03-25 13:24:53 +01:00
manager refacto: rename administration to super_admin 2020-11-05 16:03:55 +01:00
new_administrateur gems: update chunky_png 2021-02-16 16:31:30 +00:00
super_admins super_admin: check password complexity client side 2020-12-15 16:26:09 +01:00
users models: remove invalid Dossier ↔︎ Champ inverse relationship 2021-04-06 10:26:17 +02:00
admin_controller.rb Remove old css and js 2021-02-02 15:26:11 +01:00
api_controller.rb Enable flipflop on api requests 2019-03-12 14:02:55 +01:00
api_geo_test_controller.rb Update specs 2020-10-08 15:26:15 +02:00
application_controller.rb add expert logic 2021-03-18 11:27:51 +01:00
attachments_controller.rb attachments: remove the buggy fallback 2020-04-09 10:40:08 +02:00
invites_controller.rb send invite notifications using a hook 2020-09-29 18:15:38 +00:00
ping_controller.rb add maintenance mode 2020-06-22 11:17:22 +02:00
root_controller.rb supprime la page accessibilité 2021-03-30 15:12:18 +02:00
saml_idp_controller.rb act as an saml identity provider 2020-11-16 12:19:54 +01:00
stats_controller.rb refacto: rename administration to super_admin 2020-11-05 16:03:55 +01:00
super_admins_controller.rb super_admin: fix OTP generation 2021-02-11 11:14:14 +01:00
support_controller.rb Internationalization of the Contact page in FR and EN 2020-08-27 11:03:34 +02:00
webhook_controller.rb added helscout link for emails 2020-10-13 17:36:43 +02:00