Commit graph

12422 commits

Author SHA1 Message Date
Paul Chavard
3f994a6fc8 Revert "Try to fix orange badge hell"
This reverts commit 1fd92565f3.
2021-04-07 18:43:09 +01:00
Paul Chavard
2e8673c702
Merge pull request #6067 from betagouv/main
2021-04-07-02
2021-04-07 15:18:32 +01:00
Paul Chavard
113dbe4969
Merge pull request #6066 from tchak/fix-notifications
Try to fix orange badge hell
2021-04-07 15:17:12 +01:00
Paul Chavard
1fd92565f3 Try to fix orange badge hell 2021-04-07 15:07:05 +01:00
Paul Chavard
1a4091c596
Merge pull request #6065 from betagouv/main
2021-04-07-01
2021-04-07 09:35:03 +01:00
LeSim
8c5c360c4d
Merge pull request #6063 from tchak/fix-preview
Prevent crash in preview where there is no siblings
2021-04-07 09:56:41 +02:00
Paul Chavard
5e5122a436 Prevent crash in preview where there is no siblings 2021-04-06 18:15:29 +01:00
LeSim
f9c9a7c115
Merge pull request #6057 from betagouv/reduce_flipper_impact
Diminue l'impact de flipper sur les temps de réponse
2021-04-06 18:33:15 +02:00
simon lehericey
44f9ae3c65 only preload what is needed on most requests 2021-04-06 18:23:14 +02:00
simon lehericey
b87a691176 use env for localization to avoid db round trip 2021-04-06 18:23:14 +02:00
simon lehericey
cd4ad6878c remove insee_api_v3 feature 2021-04-06 18:23:14 +02:00
simon lehericey
06d2eb2d21 remove feature xray 2021-04-06 18:23:14 +02:00
simon lehericey
c2847d1481 remove unused mini_profiler var 2021-04-06 18:23:14 +02:00
simon lehericey
6f2b2c3c1f use env for maintenance mode to avoid DB roundtrip 2021-04-06 18:23:14 +02:00
simon lehericey
1715a4899f remove coronavirus banner 2021-04-06 18:23:14 +02:00
LeSim
d2045913ae
Merge pull request #6061 from betagouv/integrity_error
Marque les fichiers qui ont un pb d'intégrité comme corrompus et prévient l'utilisateur
2021-04-06 18:21:41 +02:00
simon lehericey
7567e51a3f add ui for integrity error 2021-04-06 18:11:26 +02:00
simon lehericey
e636e3a752 add merge_and_update_metadata method 2021-04-06 18:11:26 +02:00
simon lehericey
d552e364fc retry 5 times on integrity error and then block processing 2021-04-06 18:03:39 +02:00
Pierre de La Morinerie
8549d73a20
Merge pull request #6054 from betagouv/accessible-blank-link
Améliorations d'accessibilité (icône pour les liens externes, statut d'accessibilité) (#6054)
2021-04-06 17:19:50 +02:00
Christophe Robillard
10cd0fece6 modifie la cible des liens du footer 2021-04-06 17:09:56 +02:00
Christophe Robillard
2f7a7f8c83 indique que l'accessibilité n'est pas conforme 2021-04-06 17:09:56 +02:00
Christophe Robillard
b8d203fbf8 rend accessible les liens avec cible _blank 2021-04-06 17:09:56 +02:00
Pierre de La Morinerie
dd40b17e60
Merge pull request #6056 from betagouv/rename-expert-controller-actions
`ExpertsProceduresController` utilise maintenant les actions par défaut de Rails (#6056)
2021-04-06 15:04:41 +02:00
Pierre de La Morinerie
62051c926a app: move update_allow_decision_access to ExpertsController 2021-04-06 14:54:18 +02:00
Pierre de La Morinerie
c82c72402d app: move the experts list to ExpertsProceduresController 2021-04-06 14:29:02 +02:00
Pierre de La Morinerie
7acb4cee83 controllers: use standard action names in ExpertsProceduresController 2021-04-06 13:45:51 +02:00
Pierre de La Morinerie
3f25624a5a routes: nest ExpertsProcedures routes in a resource 2021-04-06 13:18:51 +02:00
Pierre de La Morinerie
2400d094de
Merge pull request #6055 from betagouv/main
2021-04-06-02
2021-04-06 12:58:30 +02:00
Pierre de La Morinerie
586028d064
Merge pull request #6036 from betagouv/use-rails-6-1-defaults
Mise à jour de la configuration Rails pour utiliser les réglages par défaut de Rails 6.1 (#6036)
2021-04-06 12:49:50 +02:00
Pierre de La Morinerie
42b3ba1e1b config: migrate all config to Rails 6.1 defaults 2021-04-06 12:12:57 +02:00
Pierre de La Morinerie
ce427784e7 config: enable has_many_inversing 2021-04-06 12:12:57 +02:00
Pierre de La Morinerie
6bc608a821 config: enable most Rails 6.1 defaults 2021-04-06 12:12:57 +02:00
Pierre de La Morinerie
c2ce20d40c config: form_with now generates local forms by default
We can remove the `local: true` parameter, as it is now implied by
default.
2021-04-06 12:12:57 +02:00
Pierre de La Morinerie
b65de3e583 config: make the queue names explicit
With Rails 6.1, the default queue is now the global application queue.

We want to retain our custom queues in some cases, so configure them
epxlicitely.
2021-04-06 12:12:57 +02:00
Pierre de La Morinerie
95b6fdf86d controllers: unload failed avis from dossier
This avoid the subsequent dossier update to fail because some Avis
may be invalid.
2021-04-06 12:12:57 +02:00
Pierre de La Morinerie
9096a3885c specs: fix creating dossiers :en_construction 2021-04-06 12:12:56 +02:00
Pierre de La Morinerie
02743365eb specs: make build and create consistent in downloadable_file_spec 2021-04-06 12:12:56 +02:00
Paul Chavard
233f51e8ca
Merge pull request #6049 from tchak/improuve-title-numbers
Show section numbers only if none of sections start with numbers
2021-04-06 11:01:47 +01:00
Paul Chavard
2702660d72 Update app/models/champs/header_section_champ.rb
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-04-06 10:45:16 +01:00
Paul Chavard
4feda01b6f Show section numbers only if none of sections start with numbers 2021-04-06 10:45:16 +01:00
Pierre de La Morinerie
f77285ded6
Merge pull request #6051 from adullact/6050_doc_add_ACCESSIBILITE_URL_to_env.example.optional
Ajout d'une variable d'environnement `ACCESSIBILITE_URL` (optionnelle)
2021-04-06 11:41:59 +02:00
Kara Diaby
e6faafa314
Merge pull request #6052 from betagouv/main
2021-04-06-01
2021-04-06 11:41:24 +02:00
Fabrice Gangler
6f0b594fc5 doc: add ACCESSIBILITE_URL to env.example.optional file
Refs: #6050
2021-04-06 11:33:42 +02:00
Kara Diaby
c152ac0e45
Merge pull request #6041 from betagouv/feat/5813
ETQ Admin, je peux ajouter/supprimer des experts notifiables
2021-04-06 10:52:56 +02:00
kara Diaby
2a0c40c25f add experts_procedures controller 2021-04-06 10:39:25 +02:00
kara Diaby
a8b30c0cdc add react component (expert view) and block it when the flag is activated 2021-04-06 10:39:24 +02:00
kara Diaby
03fd6eaeea add react component to invite an expert 2021-04-06 10:39:24 +02:00
kara Diaby
f9e4d9c982 add variable to dossier controller 2021-04-06 10:39:24 +02:00
kara Diaby
436f567067 change create avis concern 2021-04-06 10:39:24 +02:00