Commit graph

12185 commits

Author SHA1 Message Date
Paul Chavard
0b22788d60 experts_procedure should not be optional 2021-03-23 13:46:33 +01:00
Pierre de La Morinerie
25c85dd0f9
Merge pull request #6007 from tchak/fix-test-exports
Instructeur : les champs non-exportables sont correctement exclus de l'export (corrige l'export de certaines démarches) (#6007)
2021-03-23 11:56:47 +01:00
Paul Chavard
224c7ec6c3
Update spec/models/dossier_spec.rb
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-03-23 10:51:55 +01:00
Paul Chavard
84214f4bd4 Do not export non exportable champs on draft procedures 2021-03-23 09:55:37 +01:00
Kara Diaby
93e1852109
Merge branch 'production' into main 2021-03-22 15:40:32 +01:00
Kara Diaby
4d639dedce
Merge pull request #6004 from betagouv/fix-avis-data
after party task to clean existing data on avis table
2021-03-22 15:39:21 +01:00
kara Diaby
1c134fdf09 after party task to clean existing data on avis table 2021-03-22 15:29:28 +01:00
Kara Diaby
0c6cf93376
Merge pull request #6003 from betagouv/main
2021-03-22-01
2021-03-22 10:56:10 +01:00
Pierre de La Morinerie
8f383e77d5
Merge pull request #5998 from betagouv/bootsnap
Utilisation de Bootsnap pour accélérer le démarrage de l'application Rails
2021-03-19 08:12:21 +01:00
Pierre de La Morinerie
56b3601063 app: enable Bootsnap
Bootsnap speeds up the initial loading of the Rails app by:
- Optimizing the LOAD_PATH dynamically
- Caching the result of Ruby bytecode compilation

Cached data are written to `tmp/cache/bootsnap*`.

This is enabled in the default Rails app template.
2021-03-19 08:05:14 +01:00
Pierre de La Morinerie
5e7424a782
Merge pull request #5999 from betagouv/remove-unused-mailer
Nettoyage : suppression d'un mailer inutilisé
2021-03-19 08:04:39 +01:00
Pierre de La Morinerie
1cb430a87a lib: remove unused AttestationClosedMailDiscrepancyMailer 2021-03-19 07:57:56 +01:00
Kara Diaby
372a4e8eee
Merge pull request #6000 from betagouv/fix-experts-lookup
Correction de DossiersController#avis_for_expert
2021-03-18 20:55:30 +01:00
Kara Diaby
38837443aa
Merge branch 'main' into fix-experts-lookup 2021-03-18 20:46:56 +01:00
Pierre de La Morinerie
d42156b494
Merge pull request #5997 from tchak/fix-mandatory-multiple-drop-down
Usager : un champ "Liste déroulante à choix multiple" est correctement détecté comme vide si aucun élément n'a été ajouté (#5997)
2021-03-18 18:09:46 +01:00
Pierre de La Morinerie
239169e925 dossier: fix looking-up avis from Expert
This line causes an error on Rails 6.1.

And it isn't even necessary: this line is supposed to query avis where
the expert advice has been requested – but this is handled by the
`if expert.dossiers.include?(self)` condition just above.
2021-03-18 17:59:30 +01:00
Paul Chavard
1449fbbe67 Fix multiple_drop_down_list mandatory check 2021-03-18 15:22:28 +01:00
Kara Diaby
806469d72e
Merge pull request #5996 from betagouv/fix-dossier-link
fix dossier link helper
2021-03-18 14:50:58 +01:00
kara Diaby
bb47c88c5f fix expert spec feature 2021-03-18 14:36:08 +01:00
kara Diaby
64b94100f4 fix dossier link helper 2021-03-18 14:36:08 +01:00
Pierre de La Morinerie
97e34da1db
Merge pull request #5937 from betagouv/create-expert-logic
Ajout d'un profil "Expert". Les personnes externes à qui un Instructeur demande un Avis sont maintenant enregistrées non plus comme un Instructeur, mais comme un Expert (#5937)
2021-03-18 11:50:24 +01:00
kara Diaby
5e88ecc24c improve request to find an expert 2021-03-18 11:38:53 +01:00
kara Diaby
5e0cfbea07 add tmp_expert_migrated to avis table 2021-03-18 11:38:53 +01:00
kara Diaby
81f5a5254b tests 2021-03-18 11:38:52 +01:00
kara Diaby
328c2a8e3c change email to display for expert 2021-03-18 11:38:52 +01:00
kara Diaby
e7945594cf eager_load for expert 2021-03-18 11:38:52 +01:00
kara Diaby
2325023b1a after party task to fill claimant_type on avis table 2021-03-18 11:38:52 +01:00
kara Diaby
c7392d8140 changes routes 2021-03-18 11:38:52 +01:00
kara Diaby
38740d1b5b modify experts avis controllers, concern and serializer 2021-03-18 11:38:52 +01:00
kara Diaby
5519ee8417 Expert Layout 2021-03-18 11:38:52 +01:00
kara Diaby
e79b1204e0 change avis invitation mailer 2021-03-18 11:38:52 +01:00
kara Diaby
c55e4d0d98 remove unused instructeur logic 2021-03-18 11:38:52 +01:00
kara Diaby
e8207535ea modify instructeur views 2021-03-18 11:27:51 +01:00
kara Diaby
568b1c4e53 remove instructeur unused layout 2021-03-18 11:27:51 +01:00
kara Diaby
54d414b3b7 add expert to export 2021-03-18 11:27:51 +01:00
kara Diaby
a710116371 add expert profile to api 2021-03-18 11:27:51 +01:00
kara Diaby
d47fde3fcb add polymorphic relation to claimant on avis table 2021-03-18 11:27:51 +01:00
kara Diaby
d2ab2debb6 add expert logic 2021-03-18 11:27:51 +01:00
Paul Chavard
897064b0f9
Merge pull request #5995 from betagouv/main
2021-03-18-01
2021-03-18 11:16:59 +01:00
Pierre de La Morinerie
3cfbe38a8b
Merge pull request #5994 from betagouv/ignore-sentry-exceptions
Sentry : dans les jobs, ignore les exceptions que l'on gère déjà manuellement (#5994)
2021-03-18 10:58:49 +01:00
Pierre de La Morinerie
ac5303d56d config: make Sentry ignore rescued ActiveJob exceptions
For now the Sentry delayed_job integration reports errors that are
rescued with `retry_on`.

Ignore these errors manually for now.

See https://github.com/getsentry/sentry-ruby/issues/1347
2021-03-18 10:52:10 +01:00
Pierre de La Morinerie
6809621eec
Merge pull request #5993 from tchak/expose-rich-address-information
Instructeur : affichage de plus d’informations sur les champs Adresse, Commune et Région (#5993)
2021-03-18 08:30:49 +01:00
Paul Chavard
d59867c73b Exposer plus d’informations dans l’interface pour certains champs 2021-03-17 16:28:05 +01:00
Paul Chavard
de5c2d3032
Merge pull request #5992 from tchak/fix-more-address-null-fields
Return empty strings for incomplete api entreprise adresses
2021-03-17 14:38:11 +01:00
Paul Chavard
e96d2fb083 Return empty strings for incomplete api entreprise adresses 2021-03-17 12:12:21 +01:00
Paul Chavard
aabf28fa0c
Merge pull request #5970 from tchak/graphql-revisions-filters
Add revision dossiers filters to API
2021-03-17 12:08:55 +01:00
Paul Chavard
a6fe1df201 update graphql schema 2021-03-17 11:53:48 +01:00
Paul Chavard
4efc5ff273 Update app/graphql/schema.graphql
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-03-17 11:53:48 +01:00
Paul Chavard
046b36d386 Update app/graphql/schema.graphql
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2021-03-17 11:53:48 +01:00
Paul Chavard
866ae256a3 Add revision dossiers filters 2021-03-17 11:53:48 +01:00