Commit graph

16953 commits

Author SHA1 Message Date
Colin Darie
7cc7c414ad style(instructeurs): improve dossier header layout
Closes #8292
2022-12-20 19:07:00 +01:00
Colin Darie
9feb3cfe70
Merge pull request #8308 from colinux/fix-instructeurs-notification
fix(instructeurs): behavior of sort by notifications checkbox
2022-12-20 16:07:11 +01:00
Colin Darie
c673950e56 fix(instructeurs): behavior of sort by notifications checkbox (updated_at desc) 2022-12-20 15:51:47 +01:00
Damien Le Thiec
c3c1801a62 Add example values civilité 2022-12-20 14:53:46 +01:00
Damien Le Thiec
c4e427642f Allow prefill civility 2022-12-20 14:38:05 +01:00
Sébastien Carceles
e4a7a4c391
hide values and examples for unprefillable champs (#8309)
* hide values and examples for unprefillable champs

*  put prefillable champs first
2022-12-20 13:37:25 +00:00
krichtof
32b5daeb9a
Merge pull request #8302 from demarches-simplifiees/remove-feature-flag-opendata
Remove feature flag opendata
2022-12-20 12:59:44 +01:00
Christophe Robillard
a0da04e83c use config.ds_opendata_enabled
don't use anymore opendata feature flag
2022-12-20 12:52:56 +01:00
Christophe Robillard
edffd0a7a8 extract ds_opendata_enabled 2022-12-20 12:52:56 +01:00
Christophe Robillard
daa4411abe Revert "unschedule export demarches opendata"
This reverts commit da0738c661.
`ExportAndPublishDemarchesPubliqjesJob` is now schedulable
2022-12-20 12:52:56 +01:00
Sébastien Carceles
dd0a05c1d8
feat(prefill): add possible values (#8299)
* update layout in order to show possible values

* filter out non fillable types de champ
2022-12-20 11:04:42 +01:00
Damien Le Thiec
d9bc44ac8b
Fix css bug code_blocks (#8301) 2022-12-20 09:45:13 +01:00
Kara Diaby
5135e28426
Merge pull request #8070 from demarches-simplifiees/seed-database-tags
ETQ SuperAdmin, je souhaite associer en masse des tags avec des démarches
2022-12-19 16:02:03 +01:00
Kara Diaby
7bdc7c2cad manager procedure controller 2022-12-19 15:28:09 +01:00
Kara Diaby
86e1d1dd97 layout 2022-12-19 15:28:09 +01:00
Kara Diaby
b1b8f1b12e routes 2022-12-19 15:28:09 +01:00
Martin
4e201a245b accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers 2022-12-19 15:16:57 +01:00
Sébastien Carceles
0a10a08c21
feat(demarche): describe procedure prefilling (#8187)
* feat(demarche): description

Show the description of an opendata procedure (published or draft),
with help about how to prefill a dossier for this procedure.

Co-authored-by: Damien Le Thiec <damien.lethiec@gmail.com>
2022-12-19 11:32:09 +00:00
mfo
936a1bfd91
Merge pull request #8289 from mfo/US/improve-tags-info
amelioration(attestation.et.mail): clarifie les problèmes de tag sur les attestations & mail
2022-12-19 09:35:04 +01:00
Martin
2be4441a70 amelioration(attestion.et.mail): deduplique les message d'erreur, améliore les messages d'erreur, gère la pluralisation des erreurs lorsque plusieurs tags sont concernés 2022-12-19 09:28:46 +01:00
Martin
dd74834689 amelioration(attestation.et.mail): desactive les tags sur les champs conditionnés et informe l'usager que ca arrivera 2022-12-19 09:28:46 +01:00
Martin
ef389eab41 amelioration(attestation.et.mail): repositionne les messages d'erreur lié à la substitution des balises a proximité du formulaire pour faciliter la comprehension. passage des champs au DSFR 2022-12-19 09:28:46 +01:00
krichtof
06ad436ded
Merge pull request #8296 from demarches-simplifiees/fix-datagouv-job
schedule job during a no-busy time
2022-12-16 18:48:05 +01:00
Christophe Robillard
672e56a099 schedule job during a no-busy time 2022-12-16 18:02:36 +01:00
krichtof
4a169e1a5a
Merge pull request #8193 from demarches-simplifiees/export-result-filter
ETQ admin, je peux exporter la liste des demarches (filtrées ou non)
2022-12-16 15:59:27 +01:00
Christophe Robillard
f1595d1f50 wrap resultset tuples in ProcedureDetail 2022-12-16 15:51:49 +01:00
Christophe Robillard
5de0c8722e i18n for procedure attributes and values 2022-12-16 15:51:49 +01:00
Christophe Robillard
f3f8bc74c7 fetch procedure info on demand
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
Co-authored-by: Martin <martin@sharypic.com>
2022-12-16 15:51:49 +01:00
Christophe Robillard
112fae8f00 improve style 2022-12-16 15:51:49 +01:00
Christophe Robillard
3a660349ad export all demarches 2022-12-16 15:51:49 +01:00
Christophe Robillard
cea92c0488 perf: remove n+1 queries to count admin 2022-12-16 15:51:49 +01:00
Christophe Robillard
d167a3ec71 fix: select distinct procedures 2022-12-16 15:51:49 +01:00
Colin Darie
3f34414145
Merge pull request #8290 from colinux/champ-commune-pdf
feat(pdf): list department with champ commune
2022-12-16 10:46:56 +01:00
Colin Darie
acb227bffe feat(pdf): list department with champ commune 2022-12-16 10:25:54 +01:00
Eric Leroy-Terquem
36bc1d200e
Merge pull request #8147 from E-L-T/feat-update-types-de-champ-select-elt
feat(type_de_champ) update wording and order in select
2022-12-16 09:52:17 +01:00
Eric Leroy-Terquem
2645ac85f7 update wording and order in types de champ select 2022-12-16 09:30:36 +01:00
Paul Chavard
e1cdbbda0b
Merge pull request #8280 from tchak/feat-enable-conditions-in-repetitions
Les conditions dans les répétitions sans le n+1 cette fois-ci :)
2022-12-15 19:16:18 +01:00
Paul Chavard
cb5b60ccda Revert "Revert "Merge pull request #7907 from tchak/feat-cond-repetitions""
This reverts commit 0d10d36cb0.

# Conflicts:
#	app/models/dossier.rb
#	app/models/dossier_preloader.rb
2022-12-15 19:09:25 +01:00
mfo
9b379dcabf
Merge pull request #8291 from demarches-simplifiees/US/poc-multiple-fix-displaying-checkbox
US/po-multiple (fix) Afficher les checkbox uniquement sur les pages des batchs
2022-12-15 14:59:19 +01:00
Lisa Durand
2fff6faed6 fix checkbox rendering in all pages 2022-12-15 14:46:05 +01:00
Paul Chavard
bcfa8ccc2f
Merge pull request #8287 from tchak/fix-fetchas-post
fix(fetch): always use post http method
2022-12-15 12:13:05 +01:00
Paul Chavard
17901d9be2 fix(fetch): always use post http method 2022-12-15 11:52:11 +01:00
Sébastien Carceles
b8ff0ba4a2
feat(demarche): sign up when prefilling a dossier (#8247)
* store prefill params in session

Instead of using query params on /dossier/new, we assume the user comes
from /commencer/:path, which is the new prefill link.

There, we store the prefill params in session, and use them to prefill
the dossier when creating it, in /dossiers/new.

* spec: cover the case

* review: serialize with json instead of yaml

* review: rename method

* review: store only query params

* review: comment why we dont override already stored params
2022-12-15 10:58:17 +01:00
mfo
663c13f819
Merge pull request #8268 from demarches-simplifiees/US/poc-multiple-accepter
Us/poc multiple passer en instruction
2022-12-15 10:34:29 +01:00
Lisa Durand
39a9660df6 remove redundant and failing test 2022-12-15 10:04:25 +01:00
Lisa Durand
eea42aad6b fix linter 2022-12-15 10:04:25 +01:00
Lisa Durand
ff7c1fef65 adapt button icons to bulk action 2022-12-15 10:04:25 +01:00
Lisa Durand
89730b485b add bulk action feature for 'passer_en_instruction' 2022-12-15 10:04:25 +01:00
Paul Chavard
2e072702ce
Merge pull request #8286 from colinux/instructeurs-table-dsfr
style(instructeurs): dossiers table with dropdown DSFR
2022-12-15 09:55:14 +01:00
Colin Darie
7ff04c1a05
style(instructeurs): human/i18n value for state filter 2022-12-15 09:34:10 +01:00