Commit graph

10495 commits

Author SHA1 Message Date
Colin Darie
44578ba65c fix(attachment): keep direct_upload behavior in poll url
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Christophe Robillard
c121a8b2dc admin can add groupe_instructeur signature 2023-09-22 10:24:16 +02:00
Christophe Robillard
5482863eea add signature to groupe_instructeur 2023-09-22 10:24:16 +02:00
Christophe Robillard
7529294845 fix: uninterlace only interlaced png 2023-09-22 10:24:16 +02:00
Christophe Robillard
46edaed6bc extract uninterlace_png method 2023-09-22 10:24:16 +02:00
seb-by-ouidou
d29bbf6d4f
Merge branch 'main' into feature-ouidou/existing_procedure_hidden_as_template 2023-09-21 15:53:38 +02:00
seb-by-ouidou
5b9423bab3 fix: remove hidden_at_as_template from filter 2023-09-21 13:50:23 +00:00
Eric Leroy-Terquem
70cc8dac4c fix(procedure): do not route cloned procedures from different admin 2023-09-21 15:24:17 +02:00
Eric Leroy-Terquem
5e4d96654f fix(dossier clone): always rebase cloned dossiers 2023-09-21 13:50:40 +02:00
Martin
04fe3ad2b6 correctif(repetition.commune): ETQ usager, lorsque j'ai plus d'une repetition ayant un champ commune, les ids des options des input[type=radio] des communes partageant le meme code postal ne sont pas uniques, on boucle sur la 1ere repetition 2023-09-20 17:56:17 +02:00
simon lehericey
4a17dec87b refactor procedure_controller 2023-09-20 14:11:10 +02:00
simon lehericey
40a15b9be4 refactor dossier_controller 2023-09-20 14:11:10 +02:00
simon lehericey
c248f96f31 fixup base controller 2023-09-20 14:11:10 +02:00
simon lehericey
118242dbd2 refactor api_controller 2023-09-20 14:11:09 +02:00
simon lehericey
2664c3671f api_tokens_controller: only use turbo 2023-09-20 14:11:09 +02:00
simon lehericey
954c5334ef use new procedure in view 2023-09-20 14:11:09 +02:00
simon lehericey
9047c2a7de api_tokens_controller: extract become full_access 2023-09-20 14:11:09 +02:00
simon lehericey
9b440b6c44 api_tokens_controller: extract disallow_procedure 2023-09-20 14:11:09 +02:00
simon lehericey
2a109d3aa4 api_tokens_controller: use before_action set_api_token 2023-09-20 14:11:09 +02:00
simon lehericey
01efae960b fix component 2023-09-20 14:11:09 +02:00
simon lehericey
05a8fd8ee1 refactor of api_token 2023-09-20 14:11:09 +02:00
simon lehericey
24fd12ed70 explicit about different contexts 2023-09-20 14:11:09 +02:00
simon lehericey
f434c6a6ad refactor: try base controller 2023-09-20 14:11:09 +02:00
simon lehericey
40ed59a231 rename find_and_verify => authenticate 2023-09-20 14:11:09 +02:00
simon lehericey
87933d3567 introduce token bearer 2023-09-20 14:11:09 +02:00
simon lehericey
0b03ba4d68 remove v1/v2 api token logic 2023-09-20 14:11:09 +02:00
Lisa Durand
83957a41cd add min height for table with max 2 files to display dropdown 2023-09-19 17:50:38 +02:00
seb-by-ouidou
0d2cd0fe5d feat(procedure): hide as template 2023-09-19 11:21:27 +00:00
Paul Chavard
b1dc376d1d fix(champs-editor): add dsfr classes to select elements 2023-09-19 11:09:29 +02:00
Paul Chavard
cf3a35724c fix(champs-editor): remove unnecessary background color 2023-09-19 11:09:09 +02:00
LeSim
e6f8400cfd
Merge pull request #9477 from demarches-simplifiees/can-route-from-epci-champ
ETQ admin je peux router par département depuis le champ EPCI
2023-09-19 08:21:26 +00:00
LeSim
29c52d191e
Merge pull request #9487 from mfo/US/fix-expert-invitation
correctif(expert.invite-autre-expert): ETQ expert, je ne pouvais pas demander d'autres avis d'expert
2023-09-19 08:16:53 +00:00
LeSim
3f9f7d59a2
Merge pull request #9489 from colinux/form-identity-siret-dsfr
ETQ usager le form pour renseigner son SIRET passe au DSFR et est dispo en anglais
2023-09-19 08:14:03 +00:00
Colin Darie
bccad19e13
chore(siret): translate identity siret form 2023-09-18 19:11:27 +02:00
mfo
25d7333ac3
Update app/controllers/experts/avis_controller.rb
Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-18 16:55:07 +02:00
Colin Darie
8358fec884
fix(prefill): don't create Individual for non-individual procedures
Closes #9486
2023-09-18 16:45:02 +02:00
Martin
aa10f23b43 correctif(expert.invite-autre-expert): ETQ expert, je ne pouvais pas demander d'autres avis d'expert 2023-09-18 16:23:42 +02:00
Colin Darie
3be39f5a58 style(identite): passe le form d'identité siret au DSFR 2023-09-18 15:05:31 +02:00
Paul Chavard
ae2d9bba47
Merge pull request #9479 from tchak/graphql-fix-pending-deleted-dossiers-sort
fix(graphql): improuve sort for pending deleted dossiers
2023-09-18 09:17:26 +00:00
mfo
2e2782c8b0
Merge pull request #9478 from mfo/US/fix-manager-dossier-show
correctif(manager#dossiers/show): ETQ superadmin, l'affichage d'un dossier pouvait timeouter car non préloadé
2023-09-18 08:36:54 +00:00
Martin
d203ab2321 amelioration(mail.invitation_instructeur): ajout d'une mention à AgentConnect ds le mail d'invitation des instructeurs
Update app/views/agent_connect/agent/index.html.haml

Co-authored-by: Colin Darie <colin@darie.eu>

Update app/views/agent_connect/agent/index.html.haml

Co-authored-by: Colin Darie <colin@darie.eu>

Update app/views/agent_connect/agent/index.html.haml

Co-authored-by: Colin Darie <colin@darie.eu>

Update config/locales/views/agent_connect/agent/fr.yml

Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-18 09:48:41 +02:00
Eric Leroy-Terquem
aac9182ce4 wording(routing): update routing configuration notice 2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
967139ec88 feat(routing): make routing engine work with epci champ 2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
588143f9fd feat(routing): can create simple routing from epci tdc 2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
60e5abd266 feat(routing): add departements options to value tag if routing by epci 2023-09-18 09:32:07 +02:00
Eric Leroy-Terquem
cf7c7d9761 feat(routing): add epci to routable_types_de_champ 2023-09-18 09:32:07 +02:00
Martin
876e5ef231 amelioration(design): utilise le modele du dsfr pour avoir les boutons en pleinne largueur sur les page de connexion/creation de compte 2023-09-15 17:42:27 +02:00
Martin
038b4cd10b amelioration(agent_connect): ameliore le design pour fitter aux maquettes ainsi que change le message comme quoi la feature est dispo pour tous 2023-09-15 17:42:27 +02:00
Paul Chavard
21b9a491cb fix(graphql): improuve sort for pending deleted dossiers 2023-09-15 16:15:43 +02:00
Paul Chavard
fb917a221d feat(combobox): use ComboboxComponent on drop_down_list champs 2023-09-15 14:49:13 +02:00
Paul Chavard
85024174d4 feat(combobox): implement ComboboxComponent 2023-09-15 14:48:25 +02:00
Paul Chavard
bea8cba6ce feat(combobox): implement ComboboxController 2023-09-15 14:48:25 +02:00
Paul Chavard
1a531d018f feat(combobox): implement ComboboxUI 2023-09-15 14:48:25 +02:00
Paul Chavard
628bef562b feat(combobox): implement Combobox 2023-09-15 14:48:25 +02:00
Martin
720056e844 correctif(manager#dossiers/show): preload un dossier sur le manager 2023-09-15 11:34:20 +02:00
Eric Leroy-Terquem
0454d2066e
Merge pull request #9474 from demarches-simplifiees/can-route-from-commune-champ
ETQ admin je peux router par département depuis un type de champ communes
2023-09-15 08:18:24 +00:00
Eric Leroy-Terquem
956048ffea refactor(type de champ): extract routable? method 2023-09-15 10:02:14 +02:00
Lisa Durand
7311bcebb9
Merge pull request #9363 from demarches-simplifiees/dashboard-usager/make-search-work-with-procedure-filter
[refonte usager] Tableau de bord - rendre recherche complémentaire avec filtre par procédure
2023-09-13 12:55:42 +00:00
Colin Darie
f28739d648
Merge pull request #9372 from colinux/svr
Admin: permet l'activation du SVR
2023-09-13 12:08:39 +00:00
Colin Darie
50a5e363bd
fix(pdf): enlève des espaces insécables qui étaient affichés comme "?" dans le pdf 2023-09-13 13:50:27 +02:00
Colin Darie
680919a68f
feat(svr): instructor filters with svr wording specific 2023-09-13 13:50:26 +02:00
Colin Darie
d7a9bee63e
feat(svr): instructor menu actions with svr actions 2023-09-13 13:50:25 +02:00
Colin Darie
d7297067af
fix(sva): examples dates in documentation 2023-09-13 13:50:24 +02:00
Colin Darie
e8000adecf
feat(svr): refuses automatically a dossier 2023-09-13 13:50:23 +02:00
Colin Darie
69e673e47e
feat(svr): enablable from configuration 2023-09-13 13:50:22 +02:00
Eric Leroy-Terquem
632314bc0e wording(routing): update routing configuration notice 2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
46ff36c2bc feat(routing): make routing engine work with commune champ 2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
370d853378 feat(routing): can create simple routing from communes tdc 2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
d1cf60585a feat(routing): add departements options to value tag if routing by communes 2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
50d0587a81 feat(routing): add communes to routable_types_de_champ 2023-09-13 10:45:20 +02:00
Eric Leroy-Terquem
97bfdc774d wording(routing): update routing configuration notice 2023-09-13 10:22:01 +02:00
Eric Leroy-Terquem
d37fb90b2f feat(routing): make routing engine work with region champ 2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
e255bb9929 refactor(routing): extract methods to create groups from tdcs 2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
c2beca7d6d feat(routing): can create simple routing from regions tdc 2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
e9760e5aa3 feat(routing): add regions options to value tag 2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
5afaa458e2 feat(routing): add regions to routable_type_de_champ 2023-09-13 10:22:00 +02:00
Colin Darie
c9bde31ef2
Merge pull request #9470 from colinux/improve-watermark
ETQ instructeur: nouveau filigrane des titres d'identité qui améliore la lisibilité des images
2023-09-12 12:09:58 +00:00
Colin Darie
201b31bf36
refactor(watermark): small text based watermarked to increase document visibility 2023-09-12 13:04:31 +02:00
LeSim
fdb30b9546
Merge pull request #9471 from demarches-simplifiees/feat/9467
ETQ Instructeur, je souhaite avoir un autocomplete lorsque je demande l'avis aux experts
2023-09-12 07:51:22 +00:00
LeSim
31db8429b3
Merge pull request #9475 from colinux/favicons-updates
Favicons: ajout de l'apple touch icon + mise à jour avec vraies couleurs de la charte graphique
2023-09-12 07:45:54 +00:00
LeSim
fc4d59ec7b
Merge pull request #9469 from demarches-simplifiees/fix_doomed_archive_creation_job
fix(archive): ne réessaye de construire une archive périmée
2023-09-12 07:43:19 +00:00
Colin Darie
6e5c466e57 style: update favicons with chart color, apple touch icon and shortcuts names 2023-09-11 17:48:12 +02:00
Kara Diaby
7472b17009 Autocomplete pour instructeurs qui veulent affecter un expert au dossier, avec tous les experts sollicités sur la démarche 2023-09-11 09:13:04 +00:00
Lisa Durand
2f5310a470
Merge pull request #9457 from demarches-simplifiees/create-export-page-ldu
Reorganisation des boutons sur l'interface instructeur
2023-09-11 07:59:20 +00:00
krichtof
5aabce488b
Merge pull request #9425 from demarches-simplifiees/9356-service-gi
ETQ Usager, je veux voir dans mon dossier les informations de contact de mon groupe instructeur
2023-09-11 07:38:34 +00:00
Christophe Robillard
5b9fbf40ed fix: admin is redirected to admin groupe instructeur page
after creating or editing groupe instructeur service
2023-09-11 08:58:04 +02:00
Christophe Robillard
c5d02cdd6a display telephone and horaires of service
even if the dossier is not in brouillon state
2023-09-11 08:58:04 +02:00
Christophe Robillard
587960cfd9 clone groupe instructeur service
if admin owns original procedure
2023-09-11 08:58:04 +02:00
Christophe Robillard
fa70cffa31 display groupe instructeur service for admin 2023-09-11 08:58:04 +02:00
Christophe Robillard
af195d9158 display for user groupe instructeur service when available 2023-09-11 08:58:04 +02:00
Christophe Robillard
e9ff4292fa instructeur can destroy groupe instructeur service 2023-09-11 08:58:04 +02:00
Christophe Robillard
41b2c9355b instructeur can update contact information for groupe instructeur 2023-09-11 08:58:04 +02:00
Christophe Robillard
ba0d3fa678 instructeur can create contact information for groupe instructeur 2023-09-11 08:58:03 +02:00
Christophe Robillard
46dec40543 add contact information model 2023-09-08 11:04:06 +02:00
simon lehericey
9cb94f92a6 fix(archive): do not retry 25 times if the related objected does not exist no more 2023-09-07 16:53:37 +02:00
simon lehericey
5534190c89 chore: build openstack client without calling now private service.client 2023-09-07 15:57:39 +02:00
Damien Le Thiec
be02dd965f Add link and query examples with identity prefill 2023-09-07 10:17:19 +02:00
simon lehericey
4cbb8e91f2 Workable draft prefill identity (no link or query help) 2023-09-07 10:17:19 +02:00
Eric Leroy-Terquem
6198de1f43
Merge pull request #9466 from demarches-simplifiees/track-dossiers-with-no-groupe-instructeur
Fix brouillon dossiers with forced_groupe_instructeur
2023-09-06 16:30:38 +00:00
LeSim
56f1627b26
Merge pull request #9465 from colinux/fix-log-destruction-trace
ETQ exploitant: amélioration du log de destruction de dossier
2023-09-06 15:30:37 +00:00
Eric Leroy-Terquem
d63787cf5c fix(routing): create assignments even for brouillon dossiers (it used to be possible for brouillon dossiers to have a groupe instructeur) 2023-09-06 17:28:01 +02:00
Eric Leroy-Terquem
9d0447c14a fix(routing): track assigned dossiers without groupe_instructeur 2023-09-06 17:28:01 +02:00
Colin Darie
31db96cf41
fix(log): fix caller of log destroyed dossiers 2023-09-06 16:32:47 +02:00
LeSim
d8bfe07246
Merge pull request #9461 from colinux/fix-spinner-position
ETQ usager, fix position du spinner pour les champs conditionnels
2023-09-06 14:32:09 +00:00
LeSim
d69636c411
Merge pull request #9230 from colinux/log-destroyed-dossiers
Tech: log technique de la destruction de dossiers
2023-09-06 14:17:57 +00:00
Colin Darie
20c7921abe
chore(log): log destroyed dossiers 2023-09-06 16:07:18 +02:00
Lisa Durand
c6a6a584af
Merge pull request #9463 from demarches-simplifiees/fix-dropdown-invisible-input-with-dsfr-update
[fix] Selecteur de filtres pour instructeurs - le champ est invisible
2023-09-06 12:28:52 +00:00
Lisa Durand
bf64110b20 put back max value length 2023-09-06 14:07:26 +02:00
Colin Darie
95159feb25 fix(spinner): remove obsolete siret spinner 2023-09-06 13:17:01 +02:00
Colin Darie
d56e3908ac style(spinner): fix positioning for conditional champs 2023-09-06 13:16:41 +02:00
Kara Diaby
be55bba553 tests 2023-09-06 10:51:58 +00:00
Lisa Durand
5fed1c0330 make dropdown filter for instructeur to DSFR 2023-09-06 12:40:01 +02:00
Kara Diaby
47f305216f champ civilite au DSFR 2023-09-06 09:02:25 +00:00
Lisa Durand
5fe5320127 style checkbox for notification as regular checkbox instead of switch button 2023-09-05 18:07:04 +02:00
Lisa Durand
387c89f23c move personnalize button inside the table 2023-09-05 17:14:18 +02:00
Eric Leroy-Terquem
32b446deee refactor(groupe instructeur): add valid_rule? method
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-05 15:59:11 +02:00
Eric Leroy-Terquem
a7859a8a9c clean(routing): use translations for operator_tag 2023-09-05 15:57:31 +02:00
Eric Leroy-Terquem
d0da808325 feat(routing): can add a routing rule with not_eq operator 2023-09-05 15:57:31 +02:00
Eric Leroy-Terquem
e1ab65e62a feat(routing): can route from not_eq routing rules 2023-09-05 15:57:31 +02:00
simon lehericey
9e0aadd2dd fix: always add an empty option in mandatory 2023-09-05 14:18:44 +02:00
Colin Darie
253ddc56e2
Merge pull request #9454 from demarches-simplifiees/update-dependencies
chore(npm): update dependencies
2023-09-05 09:34:06 +00:00
Colin Darie
606a56807a
Merge pull request #9453 from colinux/fix-layout-zones
ETQ admin, fix UX du formulaire de design de zones
2023-09-05 09:14:12 +00:00
Colin Darie
5e99250546 fix(admin): zones selector checkbox as dsfr 2023-09-05 11:02:29 +02:00
Paul Chavard
65de28a97c chore(npm): update dependencies 2023-09-05 10:53:02 +02:00
LeSim
b39e6ebf28
Merge pull request #9450 from colinux/sva-improve-repasser-en-instruction-flow
ETQ instructeur d'une démarche SVA/SVR je visualise mieux un dossier terminé qui est repassé en instruction
2023-09-05 08:45:52 +00:00
Colin Darie
f8c6863c4c
Merge pull request #9447 from adullact/fix/fix_faq_link_confirmer_compte_chaque_connexion
fix: fix link confirmer_compte_chaque_connexion_url to faq
2023-09-04 16:20:19 +00:00
krichtof
6ca53f4d2c
Merge pull request #9448 from demarches-simplifiees/9436-instructeurs-procedure-manager
ETQ superadmin, je vois pour une procédure la liste des instructeurs et des groupe instructeurs
2023-09-04 16:15:32 +00:00
Lisa Durand
f0821ce467 remove recherche action from user controller and route 2023-09-04 16:42:19 +02:00
Lisa Durand
5ff5923612 make dossiers search compatible with filter by procedure 2023-09-04 16:42:19 +02:00
Colin Darie
b5e2c9b860
fix(sva): improvements when a dossier has already been terminated 2023-09-04 16:09:01 +02:00
Christophe Robillard
d79219a46b display instructeurs and groupe instructeurs in procedure manager view 2023-09-04 13:47:33 +02:00
Martin
4d2307f683 amelioration(choix.simple): lorsqu'il y a un champ autre, le positionne proprement 2023-09-04 10:55:48 +02:00
Martin
9f5a64b7cb amelioration(ui): pas de bordure en bas des inputs 2023-09-04 10:55:48 +02:00
Martin
9a754e4559 amelioration(choix.multiple): utilise le aria-pressed plutot qu'une class custom 2023-09-04 10:55:48 +02:00
Martin
094f4f3ce6 tech(refacto): extrait la logique de rendu du dsfr sur les composants 2023-09-04 10:55:48 +02:00
Martin
f54ab0bf96 amelioration(form): utilise les bonnes classes DSFR pour divers composants 2023-09-04 10:55:48 +02:00
Martin
2c04be5289 amelioration(champs.multiple_dropdown_list): passe le champs choix multiple au DSFR, l'encapsule dans un fieldset 2023-09-04 10:55:48 +02:00
Martin
b4593a947d amelioration(champs.linked_dropdown_list): passe le champs liste liées au DSFR, l'encapsule dans un fieldset 2023-09-04 10:55:48 +02:00
Martin
3697d8335d correctif(checkbox_component): ajoute le labelledby_id au <label> des checkbox unique car elles n'ont pas de de ChampLabelComponent (inlinées) 2023-09-04 10:55:48 +02:00
Martin
40d1de22ea correctif(champ_label_component): ajoute le labelledby_id aux <legend> sans quoi les ancres vers les erreurs plantent 2023-09-04 10:55:48 +02:00
Martin
77106ee84c amelioration(dsfr): quelques maj de style pour des espacements 2023-09-04 10:55:48 +02:00
Martin
b34b4fcb0c tech(extraction.erreurs): isole l'affichage des erreurs d'un champs ds un composant 2023-09-04 10:55:48 +02:00
Martin
d164605f32 amelioration(champs.commune): passe le champs commune au DSFR, l'encapsule dans un fieldset et améliore le wording 2023-09-04 10:55:48 +02:00
Martin
a947457b57 amelioration(champs.epci): passe le champs epci au DSFR et l'encapsule dans un fieldset 2023-09-04 10:55:48 +02:00
Martin
f40192faec amelioration(dsfr.radio/checkbox): utilise les classes de fieldset error/valid plutot que les classes pour les input-group 2023-09-04 10:55:48 +02:00
Kara Diaby
b42fd4ceb6 Fix admin/show after dsfr 1.10 2023-09-04 10:55:48 +02:00
Kara Diaby
27e7bc1dbd Deux menus deroulants liés au DSFR 2023-09-04 10:55:48 +02:00
Kara Diaby
74d04c84f5 Multiple drop down list au DSFR 2023-09-04 10:55:48 +02:00
Kara Diaby
58bcdb406d Multiple drop down list au DSFR 2023-09-04 10:55:48 +02:00
Kara Diaby
37796b8843 Checkbox au DSFR 2023-09-04 10:55:48 +02:00