Commit graph

2778 commits

Author SHA1 Message Date
Eric Leroy-Terquem
fc2c196cfa chore(groupe instructeur): move closed validation for defaut groupe to model 2023-08-21 16:31:54 +02:00
Martin
a3c6a2c46f correctif(dolist): utilise des liens vers les logos des procedures plutôt que des attachements.inlined 2023-08-14 13:09:05 +02:00
mfo
28de1a7453
Merge pull request #9396 from tchak/remove-piepdrive
chore(pipedrive): remove pipedrive
2023-08-14 09:26:50 +00:00
mfo
07b67679cc
Merge pull request #9376 from tchak/feat-public-logo
feat(demarche): expose public logo url
2023-08-14 08:36:16 +00:00
Martin
425d8867be amelioration(bulk_messages): ETQ instructeur, je peux envoyer un message aux usagers ayant un dossier en brouillon 2023-08-14 10:17:23 +02:00
Paul Chavard
ca4066939c chore(pipedrive): remove pipedrive 2023-08-10 10:29:25 +02:00
Lisa Durand
71f548dadb add usual traitement time on procedure description page 2023-08-02 14:28:20 +02:00
LeSim
bcb84d4070
Merge pull request #9382 from demarches-simplifiees/nicer_number
amélioration des affichages de numéro de dossiers et de procédure
2023-08-02 12:09:22 +00:00
Paul Chavard
b404064d3b feat(graphql): add mutation flag to lograge 2023-08-02 13:20:58 +02:00
simon lehericey
b0eba945b7 fix: small local changes 2023-08-02 12:22:03 +02:00
Paul Chavard
9c8b015b45
Merge pull request #9375 from colinux/fix-legacy-forms-layout
Améliore l'affichage de plusieurs petits formulaires résiduels
2023-08-01 14:21:50 +00:00
Paul Chavard
7c3ca54e18 feat(demarche): expose public logo url 2023-08-01 15:31:49 +02:00
Paul Chavard
0ca72492e3 feat(graphql): use camelize with inflection 2023-08-01 14:55:08 +02:00
Colin Darie
1c7bad2f5b
style(forms): convert various legacy admin forms to dsfr 2023-07-31 23:42:13 +02:00
Colin Darie
bf39ba4468
style(services): service form converted to dsfr 2023-07-31 23:42:11 +02:00
Paul Chavard
e28e31c23a fix: update spec with correct locales 2023-07-27 10:08:30 +02:00
krichtof
40eb77f782 improve syntax
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-07-27 10:08:30 +02:00
krichtof
21b7480646 improve syntax
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-07-27 10:08:30 +02:00
krichtof
67e2a9b51e improve wording
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-07-27 10:08:30 +02:00
Christophe Robillard
ef7b0c7377 alert admin with procedures without service 2023-07-27 10:08:30 +02:00
Christophe Robillard
beaf5751bb alert admin with service without siret 2023-07-27 10:08:30 +02:00
Martin
b88b537518 poc(erreur): sur les champs 2023-07-26 14:27:50 +02:00
seb-by-ouidou
243b8c239a feat(administrateur): add environment variable for Administrateur::UNUSED_ADMIN_THRESHOLD 2023-07-24 15:55:33 +00:00
Paul Chavard
03da5725d4
Merge pull request #9310 from demarches-simplifiees/feat-graphql-dossier-corrections
API graphql: expose les demandes de corrections
2023-07-21 22:00:42 +00:00
Paul Chavard
aa4865d566
Merge pull request #9332 from demarches-simplifiees/9062-flash-forbidden-access
rend plus actionnable message d'erreur
2023-07-21 14:49:05 +00:00
Colin Darie
873218222c feat(graphql): returns dossier & message correction status
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2023-07-21 16:45:47 +02:00
Colin Darie
5998cfe31f refactor(correction): rename kind => reason with default correction => incorrect 2023-07-21 16:45:47 +02:00
simon lehericey
e6194da82d DS_LOG_LEVEL control rails log level 2023-07-21 11:26:06 +02:00
Lisa Durand
68ca0a4f0d
Merge pull request #9323 from demarches-simplifiees/make-publication-page-clearer-for-admin
ETQ administrateur, je souhaite que la page "publier" soit plus claire
2023-07-20 14:04:28 +00:00
Lisa Durand
aaddce074f remove alert for link and add alert for test and small wording changes 2023-07-20 15:23:38 +02:00
Christophe Robillard
20d0585e31 rend plus actionnable message d'erreur 2023-07-19 18:16:04 +02:00
Lisa Durand
e24c77b027 add more specific url for FAQ 2023-07-19 18:04:55 +02:00
Lisa Durand
faf5cb8034 small design review : icon - spaces - placeholder 2023-07-19 15:51:11 +02:00
Paul Chavard
f4635db173
Merge pull request #9312 from demarches-simplifiees/add_redis
conf: ajoute redis comme backend de cache
2023-07-19 11:56:04 +00:00
Lisa Durand
b03e167eca fix translation missing in account dropdown adding 'guest' 2023-07-19 12:02:50 +02:00
simon lehericey
da507ff0ea conf: add redis 2023-07-19 11:43:54 +02:00
Paul Chavard
735c504c0f fix(postgis): do not try to create postgis extension if it is already created or it is disabled 2023-07-18 18:01:29 +02:00
Paul Chavard
573954c45f feat(postgis): enable postgis 2023-07-18 18:01:29 +02:00
Lisa Durand
3e4fdc9004 change wording and margin 2023-07-17 17:46:26 +02:00
Lisa Durand
b86de113bd add i18n for publication page 2023-07-17 17:24:12 +02:00
Lisa Durand
1bcaf884c4 make publication page clearer for admin
fix default padding on select
2023-07-17 17:23:43 +02:00
Martin
2c3cce104a tech(smtp): passe du relai SMTP de SendInBlue vers le relai SMTP Brevo [changement de nom de la boite] 2023-07-17 15:51:15 +02:00
Lisa Durand
074e3bf5f8 fix linter missing I18n key 2023-07-13 12:48:30 +02:00
Lisa Durand
e131bdd30e
Fix typo issue
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-07-13 10:10:32 +02:00
Lisa Durand
7b1b771b25 fix fropdown navbar profile 2023-07-12 18:07:10 +02:00
Colin Darie
f9eb458ff9
Merge pull request #9303 from demarches-simplifiees/fix-trad-pending-correction
[fix] Changer message à propos des corrections en attente
2023-07-11 14:00:26 +00:00
Lisa Durand
170e5d3718 fix: remove uncorrect message about pending correction 2023-07-11 15:41:26 +02:00
Colin Darie
4aaf5566c3
feat(sva): more details with example dates on procedure description 2023-07-11 10:02:47 +02:00
Colin Darie
7225f1b023
fix(sva): not compatible with declarative procedure 2023-07-11 10:02:47 +02:00
Colin Darie
e1b21f980f
feat(sva): pending correction email mention sva/svr 2023-07-11 10:02:47 +02:00
Colin Darie
e74f4db8c8
feat(sva): under feature flag 2023-07-11 10:02:45 +02:00
Lisa Durand
3607b6c593
feat(sva): add text sva for usager in dossier status overview 2023-07-11 10:01:48 +02:00
Colin Darie
168189c3ac
feat(sva): instructeurs can filter by sva/svr decision before a date 2023-07-11 10:01:48 +02:00
Colin Darie
f1504e9724
feat(sva): instructeurs dashboard sva/svr colonnes with multiple use cases 2023-07-11 10:01:47 +02:00
Lisa Durand
e43eea7fcf
display sva date and possibility to order in instructeur table 2023-07-11 10:01:47 +02:00
Lisa Durand
d7b0b1c01f
feat(sva): display encart SVA on procedure description when needed 2023-07-11 10:01:47 +02:00
Colin Darie
eb7f1f199a
feat(sva): block configuration changes when procedure is published 2023-07-11 10:01:46 +02:00
Colin Darie
7a8b83cfc9
feat(admin): card link to sva/svr configuration 2023-07-11 10:01:45 +02:00
Colin Darie
bb4a6e22ce
chore(schema): +procedures#sva_svr 2023-07-11 10:01:45 +02:00
Colin Darie
6cf9ea6459
Merge pull request #9256 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile-part-2
[refonte usager] Tableau de bord - Changer design de tableau à tuiles
2023-07-10 13:28:51 +00:00
Colin Darie
3885864200
Merge pull request #9289 from demarches-simplifiees/new_pj_scheme
Change le nommage des pjs à %Y/%m/%d/sd/sd.....
2023-07-10 13:20:34 +00:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
Paul Chavard
a9f431caa5 feat(dossier): implement champ polling 2023-07-10 14:57:34 +02:00
simon lehericey
db70624398 feat(pj): change naming scheme to %Y/%m/%d/sd/sd..... 2023-07-10 11:44:33 +02:00
Lisa Durand
6738dcf080 change design from table to cards for usager for deleted dossier tab 2023-07-10 10:53:07 +02:00
Lisa Durand
1edfaae354 remove hidden dossier partial for hidden usager tab 2023-07-10 10:53:07 +02:00
Lisa Durand
77240f40c8 fix specs 2023-07-10 10:53:07 +02:00
Lisa Durand
064e2abeed add missing translation for admin cards 2023-07-10 10:53:07 +02:00
Lisa Durand
1f5b551b24 change design from table to cards for usager dashboard 2023-07-10 10:53:07 +02:00
Colin Darie
d2f1af0830
Merge pull request #9281 from colinux/demande-usager-layout
ETQ usager/instructeur: augmente le contraste entre libellés et réponses sur la page de la demande
2023-07-10 08:31:34 +00:00
Colin Darie
f4f036ce81
fix(demande): extract missing i18n title 2023-07-10 10:17:12 +02:00
Colin Darie
57fa4a6be9
fix(identite): warn user why he's redirected to identity path 2023-07-07 17:34:47 +02:00
Paul Chavard
7136c96a36 feat(procedure): validate external links 2023-07-06 10:27:43 +02:00
Colin Darie
e899fe5f5f
style(demande): layout with 2 columns 2023-07-04 10:47:41 +02:00
Eric Leroy-Terquem
3b204faaae
Merge pull request #9168 from demarches-simplifiees/add-import-component-in-groupe-page
ETQ Admin je peux importer des instructeurs depuis la page d'un groupe
2023-07-03 13:31:51 +00:00
Eric Leroy-Terquem
a7babb2d3d remove unsused translations 2023-07-03 14:58:45 +02:00
Eric Leroy-Terquem
7598b0a513 remove previous routing sytem code 2023-07-03 14:58:45 +02:00
Eric Leroy-Terquem
97949fc168 fix(typo) adresse électronique 2023-06-28 10:24:37 +02:00
Martin
46b75c7525 tech(active-storage.queues.purge): place les jobs de purge ds low_priority 2023-06-27 16:30:52 +02:00
Colin Darie
8724212d83
style(demande): match general dates with mockup 2023-06-27 15:30:52 +02:00
Colin Darie
acd95177d4
style(demande): fix identity updated at mention 2023-06-27 15:30:51 +02:00
simon lehericey
7ce7a3f62c feat: change pj token to year/aa/bb/token to spread pjs under namespaces 2023-06-26 13:50:18 +02:00
mfo
8282403c07
Merge pull request #9030 from mfo/8164-additional-visible-content
ETQ usager, la page resumant ma demande est aux couleurs du DSFR
2023-06-26 09:44:01 +00:00
Lisa Durand
34609ffffe
Merge pull request #9210 from demarches-simplifiees/design-harmonize-header-admin
[design ADMIN] Mettre le libellé de la procédure en h1 et harmoniser le header
2023-06-26 08:15:15 +00:00
Martin
217f32deca review(colin): quelques suggestions de co-linux 2023-06-23 10:45:35 +02:00
Martin
43c6f03d10 amelioration(users/dossiers#demande): passage a la nouvelle ui/ux
wip
2023-06-22 16:54:17 +02:00
Lisa Durand
87347d34c6 change date with status + add a title on the page regarding to Olivier Figma 2023-06-22 15:38:49 +02:00
Lisa Durand
862318ffdd
Merge pull request #9234 from demarches-simplifiees/add-field-for-pj-for-description-procedure
[Page accueil demarche] Ajouter la possibilité de créer sa propre liste de PJ pour les Admins
2023-06-22 12:19:06 +00:00
Lisa Durand
9338a73362 add possibility to override generated pj list by admin 2023-06-22 09:50:38 +02:00
kleph
976f46717b prevent /ping requests from being written in centralized_logs
fix #8926
2023-06-21 17:11:32 +02:00
Lisa Durand
32cc6aefb8
Merge pull request #9225 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile
[design] Remplacer les cartes bleu et orange par des composants du DSFR
2023-06-21 14:29:41 +00:00
Lisa Durand
33cc696d81 replace info and warning old cards by DSFR components 2023-06-21 12:24:45 +02:00
mfo
ab1399da57
Merge pull request #9209 from mfo/US/intercept-email-delivering
amelioration(email_event): re-lever une erreur dans un rescue_from ne la fait pas remonter. change de stratégie pour savoir si oui ou non un mail a ete envoye avec success.
2023-06-20 14:55:49 +00:00
Martin
9b2d05b8a1 amelioration(email_event): re-lever une erreur dans un rescue_from ne la fait pas remonter. change de stratégie pour savoir si oui ou non un mail a ete envoye avec success. 2023-06-20 13:39:29 +02:00
Colin Darie
acc6456b08
Merge pull request #9201 from demarches-simplifiees/user-dashboard/add-filter-a-corriger
[refonte usager] Tableau de bord - remonter les dossiers à corriger
2023-06-19 19:21:32 +00:00
Lisa Durand
7ee62a170d harmonize admin header for dashboard view 2023-06-19 15:42:24 +02:00
Eric Leroy-Terquem
be4f8f57ab
Merge pull request #9093 from demarches-simplifiees/rerouter-un-dossier
ETQ instructeur je peux réaffecter un dossier à un autre groupe d'instructeurs
2023-06-16 12:01:10 +00:00
Lisa Durand
bcc37f4130 change states filter from checkbox to select and add 'a_corriger' 2023-06-15 18:17:36 +02:00
Lisa Durand
f4e33c068b
Merge pull request #9121 from demarches-simplifiees/add-detail-on-PJ-on-description-procedure-page
[Refonte page accueil demarche] Ajouter les infos concernant les PJ
2023-06-15 12:52:50 +00:00
Eric Leroy-Terquem
98cdc63d5c add rerouting feature flag 2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
35d28610aa move reaffectation view in a dynamic tab item 2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
18054fe346 feat(routing): add view for dossier a reaffecter 2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
e7e702a574 feat(routing): add reaffecter_un_dossier 2023-06-15 14:34:01 +02:00
Paul Chavard
10524643fb fix(hack): fix and test hack for procedures using groupe instructeur api 2023-06-14 19:24:58 +01:00
Lisa Durand
4b6d18608e split pj in two lists regarding to conditionnal 2023-06-13 11:00:16 +02:00
Lisa Durand
d2f91a6405 add list of PJ in procedure description 2023-06-13 10:58:05 +02:00
Julie Salha
551a065329 update content accessibility statement 2023-06-13 10:52:04 +02:00
Eric Leroy-Terquem
6bc15b8342 feat(groupe instructeur): add import - export partial in group page 2023-06-12 17:08:34 +02:00
Kara Diaby
804f89f444 Changements sur le caractère obligatoire / facultatif et l'asterisque interface usager et page de connexion 2023-06-12 14:43:10 +00:00
Eric Leroy-Terquem
cbd1f09e55 fix remaining locales 2023-06-12 15:13:25 +02:00
Eric Leroy-Terquem
ef73d9187d fix typos in view locales 2023-06-12 15:13:25 +02:00
Eric Leroy-Terquem
2cc0baf4db fix typos in model locales 2023-06-12 15:13:25 +02:00
simon lehericey
f85fa08415 fix: sentry use http_proxy if available 2023-06-09 11:03:04 +02:00
Lisa Durand
7de608cd64 add link notice on procedure presentation page and small refactor of download component 2023-06-05 15:15:24 +02:00
Colin Darie
b7f60c8e7a
Merge pull request #9116 from demarches-simplifiees/add-detail-on-time-estimation-on-description-procedure-page
[Refonte page accueil demarche] Ajout du détail sur le temps d'estimation
2023-06-05 08:09:08 +00:00
Colin Darie
7f871728c7
refactor(message): badges à corriger/en attente/corrigé when related to a correction 2023-06-02 16:18:33 +02:00
Colin Darie
734d88d80d
fix(pending-correction): wording alignement 2023-06-02 16:16:14 +02:00
Colin Darie
a32014d4fd
feat(correction): user can mark dossier en_construction as resolved 2023-06-02 16:16:14 +02:00
Colin Darie
b14a70abf7
feat(instructeur): filter dossiers "en attente" 2023-06-02 16:16:14 +02:00
Colin Darie
36efb31728
chore: badges "en attente" / "à corriger" in dossiers list & headers 2023-06-02 16:16:14 +02:00
Colin Darie
9565267170
feat(dossier): notify user by email about pending corrections 2023-06-02 16:16:13 +02:00
Colin Darie
ca3b127942
feat(instructeur): can flag a dossier as "pending corrections" 2023-06-02 16:16:12 +02:00
Colin Darie
ab1271efd9
fix(yaml): duplicate shared.procedures keys 2023-06-02 16:13:16 +02:00
Colin Darie
2a948c6145 chore(dev): report to CSP_REPORT_URI instead of non existing /csp 2023-06-01 19:11:20 +02:00
Colin Darie
ec244f1a94
fix(procedure): auto_archive_on must be in future 2023-06-01 16:49:52 +02:00
Lisa Durand
421ae6820b add detail on estimation time on description procedure page 2023-06-01 11:13:34 +02:00
Colin Darie
f23a92683e
Merge pull request #9108 from colinux/pj-accepts-audio
ETQ usager je peux joindre une pièce justificative audio en .m4a, .aac, .wav
2023-05-31 17:39:56 +00:00
Colin Darie
de0626eb7a feat(pj): accepts audio .m4a, .aac, .wav as attachment
Closes #9082
2023-05-31 12:52:22 +02:00
simon lehericey
9004dd9758 remove old logic 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
526f70f9c0 add wizard 2023-05-31 11:38:16 +02:00
simon lehericey
2e1b8b9ef2 add import export view 2023-05-31 11:38:16 +02:00
simon lehericey
01caa498d3 add simple_routing 2023-05-31 11:38:16 +02:00
simon lehericey
8b568c2035 add ajout 2023-05-31 11:38:16 +02:00
simon lehericey
6b3447d71b add options 2023-05-31 11:38:16 +02:00
simon lehericey
174f7a7c53 add one_groupe_management_component 2023-05-31 11:38:16 +02:00
Julie Salha
42ca8026ad fix PR remove unused translations 2023-05-30 16:06:49 +02:00
Julie Salha
bbce9ebcd2 update attributes wording and styles user search engine 2023-05-30 14:46:45 +02:00
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
krichtof
0051face93
Merge pull request #9014 from demarches-simplifiees/8859-default_zones
Etq admin, lors de la création ou modification d'une démarche, des zones par défaut me sont suggérées
2023-05-26 17:25:21 +00:00
simon lehericey
09d1649610 add groupe details to dossier 2023-05-26 14:10:54 +02:00
Julie Salha
b50698a30d
Merge branch 'main' into 8054-a11y-ways-of-navigating 2023-05-26 10:47:33 +02:00
Christophe Robillard
ceae9064e1 add config for api entreprise staging env 2023-05-26 08:01:35 +02:00
Lisa Durand
83884e08e3 remove duplicate translation and improve english translations 2023-05-25 17:24:23 +02:00
Colin Darie
60733ce44e
Merge pull request #9089 from colinux/update-sentry
ETQ tech je mets à jour Sentry pour essayer d'avoir de meilleures traces
2023-05-25 12:14:17 +00:00
Lisa Durand
1c409f0145 use DSFR input components for form 2023-05-25 10:18:26 +02:00
krichtof
601fde2147
Merge pull request #9084 from demarches-simplifiees/8472-migration-attestation-sociale
8472 migration attestation sociale
2023-05-25 07:11:59 +00:00
Colin Darie
9c71ddd257 chore(sentry): increase trace sample rate for PATCH/POST requests 2023-05-24 18:46:12 +02:00
Eric Leroy-Terquem
0caca0d81d update wording in procedure footer 2023-05-24 16:56:53 +02:00
Lisa Durand
6fa44a4c11 remove read more function because of accordion for procedure description 2023-05-24 12:08:57 +02:00
Christophe Robillard
9a38ec1184 prepare cohabitation of multiple versions of api entreprise 2023-05-24 11:34:29 +02:00
Lisa Durand
7340206f81 rollback - add just one new field and use actual description field 2023-05-24 11:31:24 +02:00
Paul Chavard
47f1e27f85
Merge pull request #9032 from colinux/password-email-wording
Usager: plus de détails sur les raisons qui expliquent pourquoi je ne reçois pas l'email "mot de passe perdu"
2023-05-24 08:30:03 +00:00
Paul Chavard
cf13b942e7
Merge pull request #9076 from colinux/fix-instructeurs-filter-avis
ETQ instructeur je peux filtrer les dossiers par avis
2023-05-24 08:05:07 +00:00
Paul Chavard
e1a25ee0e5 chore(sentry): read sentry release information from version file 2023-05-24 09:41:39 +02:00
Colin Darie
ff8fba3725
fix(instructeur): can filter by avis answer 2023-05-23 09:40:21 +02:00
Lisa Durand
4a51a9a351 add two more fields for procedure description what et and for_who 2023-05-22 15:36:48 +02:00
Eric Leroy-Terquem
642a79bffc update wording for dossiers total count in instructor view 2023-05-22 14:48:11 +02:00
Christophe Robillard
53dd2955e4 add tchap hs adapter 2023-05-16 09:40:53 +02:00
Christophe Robillard
d0ca05259a populate zones with tchap hs
NB: this after party task changes the structure of `config/zones.yml' file.
2023-05-16 09:40:53 +02:00
Colin Darie
5aac7f9282
fix(typo): interpolation bug in no procedure found message 2023-05-15 14:13:43 +02:00
Colin Darie
059dabb5ac fix(fork): don't fail when user submit twice en_construction (from 2 tabs) 2023-05-15 13:08:42 +02:00
Colin Darie
675af2776d
Merge pull request #9020 from demarches-simplifiees/add_administration_header
Ajouter des bannières visant soit les instructeurs / admins soit les usagers
2023-05-11 15:13:05 +00:00
Colin Darie
f33fb0a076
refactor(password-reset): improve message not received wording 2023-05-11 09:10:20 +02:00
Colin Darie
79f450a422
Merge pull request #9021 from colinux/feat-en-construction-fork
ETQ usager, je modifie et soumets à nouveau mon dossier “en construction"
2023-05-10 19:46:40 +00:00
Colin Darie
ac43d78b08
feat(dossier): warn users currently editing their dossier en_construction during deploy they will need to refresh 2023-05-09 17:25:16 +02:00
Paul Chavard
08a2a2c9aa
feat(dossier): fork dossier when editing en construction 2023-05-09 17:16:47 +02:00
simon lehericey
19c9d12e71 add banner for administrations / usagers 2023-05-09 17:14:23 +02:00
Martin
386523019d amelioration(instructeurs/procedure#show): ETQ instructeur, je souhaite avoir les mêmes compteurs entreles pages listant mes demarches et la page pour visualiser une démarches 2023-05-09 13:59:49 +02:00
Lisa Durand
2b2d65de87
Merge pull request #8994 from demarches-simplifiees/add-simple-filter-for-usagers
[refonte usager] Tableau de bord - Ajouter bouton filtres simples
2023-05-09 08:06:15 +00:00
mfo
2374ced5d2
Merge pull request #8987 from mfo/US/link-to-errored-champs
amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement
2023-05-09 07:06:36 +00:00
Colin Darie
5a6be72f27
chore(dev): fix attachment.url generation with ActiveStorage local disk service 2023-05-04 15:24:55 +02:00
Colin Darie
97049f7b2e chore(lograge): fix rails 7 initialization with ApplicationLogSubscriber 2023-05-03 13:18:09 +02:00
Lisa Durand
7aca10377c change no file message if filters are selected 2023-05-03 12:06:30 +02:00
Colin Darie
eb88c5e9de
chore: setup active record encryption from secrets 2023-05-03 11:35:32 +02:00
Colin Darie
2144c69e22
chore: disable cookies rotation until we enforce SHA256 digests 2023-05-03 11:35:32 +02:00
Colin Darie
ae88c1de6b
fix(devise): default config for devise and turbo stream as navigational format 2023-05-03 11:35:32 +02:00
Colin Darie
33a1e0f22d
fix(loading): in initializer, dolist must be manually loaded 2023-05-03 11:35:31 +02:00
Colin Darie
b3099214b1
chore(rails): we already use json as cookies_serializer 2023-05-03 11:35:31 +02:00
Nicolas Cavigneaux
9097664de5
chore: activate new config defaults for Rails 7 that should be compatible with current version 2023-05-03 11:35:30 +02:00
Nicolas Cavigneaux
6eef70750b
feat: add initializer to handle encrypted cookies rotation
This is needed to keep them working when switching from Rails 6.1 to Rails 7.0
2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
5ee60cbb0c
chore: update and default initializer for Rails 7 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
c1453c5f5c
fix: ensure turbo_stream request are not considered as navigational 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
db71323b92
fix: add missing encryption key / salt introduced in Rails 7 2023-05-03 11:35:28 +02:00
Nicolas Cavigneaux
00e640a21d
fix Zeitwerk check 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
42689e34ba
chore: bump Rails (and required dependencies) to 7.0.4.2 2023-05-03 10:10:38 +02:00
Martin
c8ab1e8e03 amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement 2023-05-03 07:36:42 +02:00
Paul Chavard
f2c1c071b4 Revert "Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique"
This reverts commit d3eda28f35, reversing
changes made to 6394996e7f.
2023-04-28 16:10:20 +02:00
simon lehericey
07d3496300 spec: always enable super_admin_otp for spec 2023-04-28 10:24:14 +02:00
Julie Salha
8cde00d0e1 update download link procedure footer 2023-04-27 17:31:07 +02:00
Julie Salha
0b127bfc4d fix PR remove unused key 2023-04-27 17:31:07 +02:00
Julie Salha
45898decba update structure, content and translations procedure footer 2023-04-27 17:31:07 +02:00
Julie Salha
578c4dd600 fix PR remove unused translations 2023-04-27 17:31:07 +02:00
Julie Salha
f5da547083 update structure management content procedure footer 2023-04-27 17:31:07 +02:00
Julie Salha
fe5e29c200 update information link dinum root footer 2023-04-27 17:31:07 +02:00
Julie Salha
1981357cbe update wording root footer 2023-04-27 17:31:07 +02:00
Julie Salha
4581c1e08f update wording root footer 2023-04-27 17:31:07 +02:00
Colin Darie
5cc2712873
refactor(dolist): drop smtp deliver method 2023-04-27 10:09:29 +02:00
Colin Darie
f7a80eb905
fix: dolist module/class mismatch 2023-04-27 10:09:00 +02:00
Paul Chavard
c7066573f6
Merge pull request #8921 from demarches-simplifiees/8827-user-path-translations-fix
ETQ usager, je veux que mon interface soit traduite en anglais
2023-04-26 17:17:35 +00:00
Paul Chavard
d3eda28f35
Merge pull request #8899 from demarches-simplifiees/8738-validate-adresse-electronique
ETQ usager, je veux que les champs de type adresse électronique soit validé
2023-04-26 16:52:02 +00:00
Lisa Durand
e393132fd8
Merge pull request #8936 from demarches-simplifiees/add-yes-no-column-for-instructeurs
[instructeur] ajout du nb de réponses oui/non aux avis dans le tableau d'une procedure
2023-04-26 09:05:58 +00:00
Lisa Durand
d52ee477b0 remove '+' and use variable in I18n 2023-04-25 14:30:39 +02:00
Lisa Durand
26ff82dbe4 Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into user-dashboard/add-alert-WIP-last-dossier 2023-04-25 13:01:40 +02:00
Julie Salha
e6004d83f3
Merge branch 'main' into 8827-user-path-translations-fix 2023-04-25 09:36:05 +02:00
Eric Leroy-Terquem
06de9bf4b4 do not use notifier verb in the wrong way 2023-04-21 09:56:32 +02:00
krichtof
c2461f230c validate value for email champ 2023-04-20 18:27:02 +02:00
Lisa Durand
65730bcfcb display avis_anwser yes/no in table 2023-04-20 15:55:31 +02:00
Paul Chavard
586286cb08
Merge pull request #8916 from demarches-simplifiees/can-update-defaut-groupe-instructeur-2
feat(routage): permet de changer le groupe par défaut
2023-04-20 08:28:46 +00:00
Martin
b9faa26560 amelioration(editeur-de-champs): permet de choisir un niveau de titre (de 1 à 3) pour les champs de type Champs::HeaderSectionChamp. Gère les erreurs dans le cas ou un administrateur supprimerait un HeaderSection qui casserait l'ordre des titre [ex: titre 1,2,3. et l'admin supprime le titre 1 et il reste que 2,3]. 2023-04-20 08:22:02 +02:00
Paul Chavard
ce466d072a feat(manager): display procedure state and unpublished date 2023-04-19 19:59:54 +02:00
Paul Chavard
63b7a83689 feat(graphql): log dossier and procedure id on dossier fetch endoint 2023-04-19 18:00:08 +02:00
Colin Darie
9728493bda
Merge pull request #8924 from colinux/rubocop-upgrades
Tech: update rubocop, active nouveaux cops Rails/*
2023-04-19 13:37:10 +00:00
simon lehericey
b38470368b feat(routing): can change defaut groupe 2023-04-19 13:52:41 +02:00
mfo
73184c6dac
Merge pull request #8907 from mfo/US/dolist-silence-some-errors
amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce
2023-04-19 11:49:01 +00:00
Colin Darie
b273e7b67e
chore(rubocop): fix Rails/RootPathnameMethods and assimiled cops 2023-04-19 12:55:13 +02:00
Paul Chavard
05cfb4055d fix(dossier): improuve dossier state display 2023-04-19 12:27:16 +02:00
Martin
534ce34f87 amelioration(Dolist::ApiSender): lève une Dolist::IgnorableError afin de l'inscrire dans l'historique des EmailEvent 2023-04-19 11:22:13 +02:00
Martin
8fa2bbb67d amelioration(dolist): ne log erreurs pas les erreurs dans sentry lorsque le contact chez dolist est injoingable ou hardbounce 2023-04-19 11:22:13 +02:00
Julie Salha
c6aff63ce7 remove phone contact accessibility statement 2023-04-18 17:25:20 +02:00
Julie Salha
f4ffbbf042 add missing translations 2023-04-18 14:21:09 +02:00
Julie Salha
f039b6687a add translations account confirmation page 2023-04-18 14:11:58 +02:00
Julie Salha
b1dfc83c17 add translations upload group notice 2023-04-18 14:04:32 +02:00
Julie Salha
be16cb6f5e add missing translations footer email change password 2023-04-18 13:56:50 +02:00
Lisa Durand
c565ed415b change scope and alert location after UI modification 2023-04-18 12:03:10 +02:00
Lisa Durand
bc3e67ab94 add alert on user dashboard to edit last editable dossier 2023-04-11 15:50:17 +02:00
Eric Leroy-Terquem
eda48567ef fix link for csv example file 2023-04-11 14:36:35 +02:00
Paul Chavard
0b95a912c6
Merge pull request #8858 from tchak/feat-refactor-dossier-link-champ
feat(dossier): use turbo to select linked dossier
2023-04-07 08:49:11 +00:00
Paul Chavard
7ea443f86a
Merge pull request #8860 from demarches-simplifiees/ay11-actions-multiples
[a11y] actions multiples
2023-04-05 16:41:06 +00:00
Paul Chavard
8049547326
Merge pull request #8866 from adullact/feat-sendmail-emails
feat: add ability to use local sendmail binary to send emails
2023-04-05 16:40:20 +00:00
Nicolas Cavigneaux
24a06a5e69
feat: add ability to use local sendmail binary to send emails 2023-04-05 14:44:16 +02:00
Nicolas Cavigneaux
4ea08d070b feat: add ability to use local sendmail binary to send emails 2023-04-05 14:37:30 +02:00
Paul Chavard
a5733002ed feat(graphql): improuve logs 2023-04-05 13:56:26 +02:00
Paul Chavard
52c8b0b297 feat(dossier): use turbo to select linked dossier 2023-04-05 11:40:03 +02:00
Lisa Durand
c9d21f2b4d add dossier id in checkbox aria-label 2023-04-05 10:40:20 +02:00
Paul Chavard
12f0c03bac
Merge pull request #8847 from tchak/feat-improuve-dossier-remove
fix(dossier): an invited user can remove (leave) a dossier
2023-04-04 13:10:18 +00:00
Julie Salha
0d9beaa223 add mobile environment test 2023-04-04 08:36:43 +02:00
Paul Chavard
0864666d0a fix(dossier): an invited user can remove (leave) a dossier 2023-04-03 20:10:44 +02:00
Paul Chavard
fce78bbf30 feat(dossier): multiselect without react 2023-04-03 16:54:50 +02:00
LeSim
b003fd8be8
Merge pull request #8774 from E-L-T/add-routing-to-groupe-instructeurs
Add routing rules to groupe instructeurs
2023-03-31 10:16:51 +00:00
Colin Darie
28656a96cd
fix(footer): add missing a11y external link attributes 2023-03-30 23:16:07 +02:00
Colin Darie
ef8906cb88
fix(footer): update maison france service link 2023-03-30 23:16:07 +02:00
Lisa Durand
dea04e2514 change wording to make it more explicit 2023-03-30 17:26:05 +02:00
Paul Chavard
b7a1d61c9b fix(rails): smtp config should be optional 2023-03-30 10:59:08 +02:00
Eric Leroy-Terquem
6f6bbd6ca1 feat(routing): put routing logic behind a feature flag 2023-03-30 10:52:53 +02:00
simon lehericey
b93e3776c4 feat(routing): add controller 2023-03-30 10:51:20 +02:00
mfo
0279966a98
Merge pull request #8818 from adullact/feat-smtp-emails
feat: allow classic SMTP for email sending
2023-03-30 06:44:43 +00:00
Colin Darie
b012d00745
Merge pull request #8814 from demarches-simplifiees/webinaire-link-fix
Webinaire link fix
2023-03-29 11:59:23 +00:00
Nicolas Cavigneaux
ffa015b71e feat: allow classic SMTP for email sending 2023-03-29 09:13:23 +02:00
Colin Darie
b26f477fe1
Merge pull request #8810 from demarches-simplifiees/ask-avis-remove-specific-css-v2
[UX] améliorer UX de la demande d'avis - partie 2 CSS
2023-03-27 14:02:13 +00:00
Lisa Durand
0424f9dff8
merge avis_list view expert and instructeur 2023-03-27 14:59:49 +02:00
Kara Diaby
7cdaf68cd8 locale 2023-03-27 14:14:18 +02:00
Kara Diaby
1790eb2a4e routes 2023-03-27 14:14:18 +02:00
Colin Darie
1a9f9a5803 fix(accessibility-statement): dynamic content depending of instance 2023-03-27 11:36:13 +02:00
Julie Salha
ed3b2cca6f
update content statement 2023-03-27 10:39:56 +02:00
Julie Salha
5a237333eb
add structure static page accessibility statement 2023-03-27 10:37:32 +02:00
Colin Darie
9a38da09ed
Merge pull request #8762 from demarches-simplifiees/8589-legal-notice
Accessibilité: internalise la page de mentions légales
2023-03-27 08:12:34 +00:00
Lisa Durand
d079f3ac98
Merge pull request #8770 from demarches-simplifiees/ask-question-in-avis-ux-part
[UX] améliorer UX de la demande d'avis
2023-03-24 10:50:33 +00:00
Colin Darie
6d3c0de2ab fix(legal): use constant url 2023-03-23 19:01:19 +01:00
Chaïb Martinez
3912f5c93b update link 2023-03-23 16:49:41 +01:00
Lisa Durand
a01564adcd create component for sidemenu and add locales for raw text 2023-03-22 09:30:26 +01:00
Lisa Durand
c1b5daadef remove unused view and routes from instructeurs avis 2023-03-22 09:30:26 +01:00
Lisa Durand
79552b496b add 3rd view for expert - form to ask avis to another expert 2023-03-22 09:30:26 +01:00
Lisa Durand
c51e6aa2e6 split form and avis answers in 2 views for experts and add sidemenu 2023-03-22 09:30:26 +01:00
Lisa Durand
603d66e020 split form and avis answers in 2 views for instructeurs 2023-03-22 09:30:26 +01:00
Colin Darie
08c68ef970
feat(manager): exports dashboard 2023-03-22 09:29:09 +01:00
Colin Darie
45eb53c26a chore(legal): rename legal notice controller to a StaticPages 2023-03-21 12:44:04 +01:00
Julie Salha
f181882c85 update links legal notices 2023-03-21 10:25:51 +01:00
Julie Salha
d43b4badc4 fix PR URL and DSFR styles 2023-03-21 10:05:50 +01:00
Julie Salha
d1f6c3c405 fix PR remove unused link 2023-03-21 10:05:50 +01:00
Julie Salha
7af378688e add static page legal notices 2023-03-21 10:05:50 +01:00
krichtof
da49497f0b
Merge pull request #8726 from demarches-simplifiees/disable-otp-4-super-admin
desactive le 2FA suivant la config
2023-03-20 10:34:27 +00:00
Martin
49080b3e62 amelioration(placeholder): les champs de type decimaux ont comme placeholder 49.3 2023-03-17 21:43:47 +01:00
Lisa Durand
215c989a6c add question_answer in pdf and change local for optional field 2023-03-16 11:32:05 +01:00
Lisa Durand
ee2f795dec pr feedbacks - add validation for yes/no answer - improve locales use 2023-03-16 11:32:05 +01:00
Lisa Durand
eddd7a2192 add flash alert if email field empty 2023-03-16 11:32:05 +01:00
Lisa Durand
a4a99a72ec first step to add question in experts avis 2023-03-16 11:32:05 +01:00
Colin Darie
17361b8644
Merge pull request #8761 from colinux/fix-siret-non-diffusible
Fix: masque le nom de l'entreprise aux usagers lorsqu'elle exerce sont droit de non diffusion
2023-03-15 17:09:45 +00:00
Colin Darie
c850986c96 chore: log pid for each request 2023-03-15 14:44:31 +01:00
Colin Darie
37afd142cb
fix(entreprise): don't leak entreprise name if it's not diffusable 2023-03-15 12:43:56 +01:00
Paul Chavard
cbaa77fca7 feat(annotations): activate autosave 2023-03-14 15:22:13 +01:00
Lisa Durand
1f03130d52
Merge pull request #8728 from demarches-simplifiees/revoke-usager-transfert-demande
[usager] peut révoquer une demande de transfert
2023-03-10 09:21:59 +00:00
Colin Darie
8835c10ac2
Merge pull request #8752 from kemenaran/fix-home-typo
locales: fix a typo on the Home page
2023-03-09 15:37:56 +00:00
Colin Darie
bc1ade02c0
Merge pull request #8750 from colinux/fix-jobs
Jobs: rallonge durée max pour les exports, fix des timeouts, isole DossierRebase
2023-03-09 15:22:30 +00:00
Pierre de La Morinerie
cdcf062cf6 locales: fix a typo 2023-03-09 16:11:16 +01:00
Lisa Durand
6ba47b731b refacto destroy action and add spec for unauthorized user 2023-03-09 14:58:47 +01:00
Lisa Durand
507d01dd44 use dsfr table for transfer receiver view 2023-03-09 14:58:44 +01:00
Lisa Durand
3d5bf40c0f allow transfer sender to revoke a transfer 2023-03-09 14:57:59 +01:00
Colin Darie
86f15b8c05 chore(job): config delayed job for long-living export jobs 2023-03-08 18:37:41 +01:00
Eric Leroy-Terquem
9f0f5b0dc5 feat(groupe instructeur): allow import of many groups when procedure is not routed yet 2023-03-08 10:48:02 +01:00
Christian Lautier
764b89db39 fix display of yes/no in english locale 2023-03-02 17:55:47 -10:00
Damien Le Thiec
687c05e6d1
Merge pull request #8622 from demarches-simplifiees/fix/stored_query_issue
Dossier prefill get without stored queries
2023-03-02 14:01:04 +00:00
Christophe Robillard
6af01077b6 disable 2FA according to config
2FA is disabled for superadmin unless `SUPER_ADMIN_OTP_ENABLED` is equal
to `enabled` (default value)
2023-03-02 13:47:48 +01:00
Eric Leroy-Terquem
f6c4986e86 feat(groupe instructeur mailer): do not notify group when instructeurs removed 2023-03-02 09:46:58 +01:00
sebastiencarceles
b92bb796b7 add example values 2023-03-01 14:04:53 +01:00
sebastiencarceles
b37b3355b5 add possible values 2023-03-01 14:04:53 +01:00
Damien Le Thiec
8a7cb3f1fe
Merge branch 'main' into fix/stored_query_issue 2023-03-01 10:22:40 +01:00
Damien Le Thiec
01f142183e Add and correct tests 2023-03-01 10:21:22 +01:00
Colin Darie
71d43e9591
feat(a11y/combosearch): translatations for screen reader 2023-03-01 09:38:44 +01:00
Sébastien Carceles
3c0eaae24c
Merge pull request #8625 from demarches-simplifiees/prefill/annuaire-education
feat(dossier): prefill annuaire education champ
2023-03-01 08:20:59 +00:00
Paul Chavard
294a5135ce feat(public/api): add dossier state api 2023-02-28 16:35:25 +01:00
sebastiencarceles
4f4f4baffd add possible and example values 2023-02-28 13:26:35 +01:00
kleph
120e13f9ba
Merge pull request #8688 from kleph/doc_apm_env_var
chore(env): add ELASTIC_APM_* environment variable to env.example.optional file
2023-02-28 09:39:17 +00:00
kleph
7676043ebc chore(env): add ELASTIC_APM_* environment variable to env.example.optional file 2023-02-28 10:24:11 +01:00
Colin Darie
a931bea712 feat(a11y/i18n): translate skiplinks 2023-02-27 17:23:43 +01:00
Colin Darie
11fb3a5ca8 fix(i18n): translate contextual procedure help dropdown
Cf #8665
2023-02-27 17:23:43 +01:00
sebastiencarceles
35f4874b69 allow integers only 2023-02-27 15:16:40 +01:00
sebastiencarceles
0aacaee2c2 add possible and example values 2023-02-27 15:16:27 +01:00
Sébastien Carceles
7e55aca107 allow rna prefill 2023-02-27 14:35:11 +01:00
sebastiencarceles
30eef3e128 review: detailled error message 2023-02-27 13:45:16 +01:00
Sébastien Carceles
3eb76d8a43 allow siret prefilling 2023-02-27 13:45:16 +01:00
sebastiencarceles
76c9d1ada5 add possible values 2023-02-27 11:53:25 +01:00
Damien Le Thiec
67bbacbb05
Merge pull request #8513 from demarches-simplifiees/feature/prefill_repetible
Prefill repeatable
2023-02-27 09:58:53 +00:00
krichtof
1e37e5ca60
Merge pull request #8616 from dzc34/patch-1
docs: add DATAGOUV_STATISTICS_DATASET environment variable  to env.example.optional
2023-02-23 14:03:43 +00:00
Eric Leroy-Terquem
d516d2a3eb feat(groupe instructeur): add a confirm modal before import 2023-02-23 10:56:55 +01:00
Damien Le Thiec
731cd56594 Merge branch 'main' into feature/prefill_repetible 2023-02-22 19:49:06 +01:00
Eric Leroy-Terquem
25df48f255 feat(groupe_instructeurs): import instructeurs in unrouted procedure with a proper CSV 2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
3aa7793ed3 fix(groupe_instructeurs): can parse a monocolumn csv file 2023-02-22 09:49:26 +01:00
Colin Darie
a71e8d9a81 chore(bundle): setup elastic_apm, disabled by default 2023-02-21 12:30:51 +01:00
Eric Leroy-Terquem
7b12ec3ffe refactor(groupe instructeur mailer): move translations in dedicated files 2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
343cb5fce6 feat(groupe instructeur mailer): add emailing to added instructeurs 2023-02-20 15:41:19 +01:00
Damien Le Thiec
989ff598d0 Remove unused locales 2023-02-20 15:40:28 +01:00
Damien Le Thiec
deb51e3880 Manage GET prefill by creating a dossier 2023-02-20 15:35:14 +01:00
Damien Le Thiec
dce4c84f9a Merge branch 'main' into feature/prefill_repetible 2023-02-16 17:08:30 +01:00
Colin Darie
31c99e935a refactor(admin): migrate password form to DSFR components 2023-02-16 16:15:40 +01:00
Colin Darie
1f930dfe23 feat(user): can show password when editing password 2023-02-16 16:15:40 +01:00
Julie Salha
ca12e3f58c Update french translation description
Co-authored-by: Colin Darie <colin@darie.eu>
2023-02-16 11:44:26 +01:00
Julie Salha
a38c6077a5 fix PR translations 2023-02-16 11:44:26 +01:00
Julie Salha
0e5deda86c add scrolling functionnality for description procedure 2023-02-16 11:44:26 +01:00
sebastiencarceles
d5ffd61ab6 validate values inclusion 2023-02-16 10:49:15 +01:00
Eric Leroy-Terquem
a46faf8cdf feat(groupe instructeur mailer): make two kind of notifications for removed instructeur 2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
5be58c8223 refactor(groupe instructeur mailer): rename mailer methods 2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
cbf072961c feat(groupe instructeur mailer): add emailing to removed instructeurs 2023-02-16 10:37:04 +01:00
Damien Le Thiec
539b9e4f10 Merge branch 'main' into feature/prefill_repetible 2023-02-15 17:53:06 +01:00
Damien Le Thiec
4876d583b6 Merge branch 'main' into feature/prefill_repetible 2023-02-15 17:39:19 +01:00
sebastiencarceles
edf90a77f3 validate epci to reject incorrect prefill values 2023-02-15 12:14:11 +01:00
sebastiencarceles
5ac80f968a add possible and example values 2023-02-15 12:14:11 +01:00
Damien Le Thiec
2533ca50d4 Merge branch 'main' into feature/prefill_repetible 2023-02-15 11:07:56 +01:00
Julie Salha
ee009a2c7e fix PR: delete translations 2023-02-14 11:09:36 +01:00
sebastiencarceles
67ef3a16fa review: put example values in translation yamls 2023-02-14 09:23:52 +01:00
sebastiencarceles
a56efe22e5 review: link about department numbers 2023-02-14 09:23:35 +01:00
Sébastien Carceles
12abf9045b add external_id and value validation 2023-02-14 09:23:11 +01:00
Damien Le Thiec
802a23057b Microtest dossier prefill get without stored queries 2023-02-13 18:15:24 +01:00
Damien Le Thiec
dbb92e7fd3 Merge branch 'main' into feature/prefill_repetible 2023-02-11 22:40:56 +01:00
Fabrice Gangler
d5f40cfd96
docs: add DATAGOUV_STATISTICS_DATASET environment variable to env.example.optional file
Refs: #8615
2023-02-10 12:40:38 +01:00
Damien Le Thiec
a4d707f942 Improve format prefill possible_values (tests missing) 2023-02-09 18:08:51 +01:00
Colin Darie
5526cb5173 fix(mail): limit generated subjects to 100 characters 2023-02-09 17:39:56 +01:00
sebastiencarceles
3404b5aa0b review: wordings 2023-02-09 13:51:52 +01:00
sebastiencarceles
b3af9108cb harmonize get and post: go to prefilled file 2023-02-09 13:51:52 +01:00
Colin Darie
8a859402ad chore(mailer): setup Services Publics+ by env var so instances can have their owns 2023-02-09 10:47:53 +01:00
Kara Diaby
f212fa1008 Permet de cloner une démarche depuis la page toutes les démarches 2023-02-09 08:28:30 +00:00
Paul Chavard
6f67ea09bb fix(lograge): send client_ip and request_id to es 2023-02-08 20:09:19 +01:00
Colin Darie
5aba442e2a chore(prod): decrease log level to info in production 2023-02-08 16:09:43 +01:00
Paul Chavard
f22cc8812b secu(graphql): log full queries and variables 2023-02-08 15:10:27 +01:00
Julie Salha
9f61b0db19 remove last commit 2023-02-07 10:34:28 +01:00
Julie Salha
cf99c0450d remove aria-label attribute burger menu 2023-02-07 10:31:57 +01:00
Martin
d82e705089 fix(dolist): dolist method not defined 2023-02-07 09:30:19 +01:00
Damien Le Thiec
b9c2d1251b Add missing tests repetition prefill 2023-02-06 17:38:59 +01:00
Colin Darie
cb98bbad21 Revert "chore(sentry): more traces" 2023-02-06 11:52:30 +01:00
simon lehericey
4f0f221e46 secu: remove a balise from sane user input 2023-02-06 11:01:28 +01:00
mfo
3cbb491cfc
Merge pull request #8574 from colinux/more-sentry-traces
chore(sentry): more traces
2023-02-06 11:01:06 +01:00
Colin Darie
b3702f4224
chore(sentry): more traces 2023-02-06 10:58:38 +01:00
Martin
6a25120f80 amelioration(dolist_api): echoue avec un fail pour remonter dans notre gestion des retry 2023-02-03 17:19:36 +01:00
Martin
2de9026c13 amelioration(dolist_api): forward le message_id afin de faciliter les investigations 2023-02-03 17:19:36 +01:00
Martin
709a9e82a2 amelioration(dolist): prepare l'usage de dolist par api
amelioration(email): ajoute la delivery_method dolist_api pour envoyer les mails via l'api comme recommandé par le fournisseur
2023-02-03 17:19:36 +01:00
Lisa Durand
1d1f5ad567 improve translation 2023-02-03 15:13:06 +01:00
Lisa Durand
8adb90b7e0 fix missing translations issues 2023-02-03 15:13:06 +01:00
Lisa Durand
9aa6c55d1f replace partial by component 2023-02-03 15:13:06 +01:00
Lisa Durand
4d1f164c43 be more specific on the count of dossiers we display in the table 2023-02-03 15:13:06 +01:00
Julie Salha
31e4a7fe19
Merge branch 'main' into a11y-8225-navigation 2023-02-03 09:34:03 +01:00
Julie Salha
b39d658c06 fix translations tabs menu 2023-02-03 09:17:16 +01:00
Julie Salha
9164abe988 fix translations quotes 2023-02-03 08:38:02 +01:00
Colin Darie
a221c57fbc feat(manager): resend reset password instructions 2023-02-02 22:15:10 +01:00
Julie Salha
c1ed6aa177 optimization burger menu 2023-02-02 16:46:46 +01:00
Julie Salha
2db959531a optimization navigation accessibility 2023-02-02 16:04:42 +01:00
Eric Leroy-Terquem
b306dea5cf refactor(avis): rename revive by remind 2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
2475bb1098 feat(avis): add remind text in view 2023-02-01 09:55:46 +01:00
Damien Le Thiec
d7b01255fe Merge branch 'main' into feature/prefill_repetible 2023-01-31 16:39:00 +01:00
Damien Le Thiec
20ba96ba3c POST working with prefill query example for repeating fields 2023-01-31 14:54:23 +01:00
sebastiencarceles
bad7b24bf2 fix: add title to new tab link 2023-01-30 15:17:59 +01:00
Colin Darie
43d854f6b1 fix(contact): yaml syntax 2023-01-30 12:46:04 +01:00
Julie Salha
160520c406 contact standardize links 2023-01-30 12:46:04 +01:00
Julie Salha
5f3ac1c61c update structure search engine 2023-01-26 14:11:21 +01:00
Sébastien Carceles
49ce255e29
feat(dossier): prefill region champ (#8442)
* make regions champ prefillable

* add possible and example value

* add external_id and value validation
2023-01-24 11:25:17 +00:00
Martin
5c48036cc6 correctif(patron): limite l'usage de la page patron aux devs 2023-01-24 09:39:31 +01:00
mfo
84a667b8bd
Merge pull request #8454 from tchak/feat-epci
feat(types de champ): add EPCI champ
2023-01-23 16:56:18 +01:00
Damien Le Thiec
962016e32e
Schema graph_ql (#8406)
* First draft schema graph_ql

* Add tests for json schema procedures
2023-01-23 11:31:06 +01:00
Sébastien Carceles
68ddae7382
feat(demarche): prefilling stats (#8436)
* force json content type for POST / PATCH / PUT

* add specs about stats dossiers funnel

* new endpoint to render stats about a procedure
2023-01-20 13:28:02 +00:00
Paul Chavard
a4cbbe721e feat(types de champ): add EPCI champ 2023-01-20 11:32:36 +01:00
Martin
3dc26efc61 infra(monitoring): ajoute le webhook pour les notifier des incidents cote sib 2023-01-19 09:50:25 +01:00
Damien Le Thiec
3a8a50a216
Allow prefill pays type de champs (#8344)
* Allow prefill pays type de champs

* Avoid conditional prefil params for pays champ

* Clean pays data with batch update

* Fix bug and add test batch update pays value

* Improve performance batch_update_pays

* Fix associated country code problem

* Fix after party task name

* Format country name if needed in batch update
2023-01-18 12:52:38 +01:00
Colin Darie
deb40caae1 feat(manager): schedule a dolist report from manager 2023-01-18 09:56:40 +01:00
Sébastien Carceles
5c7b2ba1f3
feat(dossier): prefill drop down list champ (#8361)
* feat(dossier): prefill drop down list champ

* decorate the types de champ to avoid if / else

In order to avoid doing if this a drop down ? / else at several places,
we decorate the types de champ and let the decorator give the possible
and example values.

* show all possible values when there are too many

* allow to prefill 'other' option

* review: remove duplicate

* review: refactor for readability

* validate that value is in options

* review: exclude disabled options
2023-01-18 09:47:22 +01:00
Colin Darie
ae7e3cf887 fix: indentation 2023-01-17 14:26:11 +01:00
Paul Chavard
44488c7014 feat(dossier): use select in filters bygroupe instructeur 2023-01-16 14:00:08 +01:00
Colin Darie
f02f9a13a8 fix(i18n): fix same typo with missing a word 2023-01-16 13:19:11 +01:00
Damien Le Thiec
5e26acb0e1
Make date and datetime prefillable (#8304)
* Make date and datetime prefillable

* Format in ISO8601 format
2023-01-12 17:42:02 +01:00
Paul Chavard
289d48f697 refactor(js): use autosubmit controller in filter_component 2023-01-12 11:58:46 +01:00
Paul Chavard
5641c2b078 fix(groupe_instructeur): only show to administrators the number of visible files 2023-01-11 21:49:08 +01:00
Martin
822eda7c42 correctif(safe_mailer): fix bug sur de la synthax 2023-01-11 20:29:51 +01:00
Martin
3e1f4f0209 correctif(safe_mailer): autorise le new/create depuis le manager 2023-01-11 18:34:30 +01:00
Martin
3e6b82ed9e amelioration(safe_mailer): ajoute au manager la fonction pour configurer le routage des mails sur un fournisseur unique
Update app/mailers/devise_user_mailer.rb

Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-01-11 17:32:24 +01:00
Damien Le Thiec
493a60f221 Add prefill api to rack_attack 2023-01-11 15:35:43 +01:00
François Vantomme
f430647064 refactor(storage): move S3_* variables to config/env.example.optional 2023-01-11 12:59:19 +01:00
François Vantomme
eb812032e1 security(csp): whitelist amazon AWS for S3 storage 2023-01-11 12:59:19 +01:00
François Vantomme
3ab4482ff7 feat(storage): add S3 storage support 2023-01-11 12:59:19 +01:00
François Vantomme
08d276472b refactor(links): use localized FAQ URLs 2023-01-11 11:28:03 +01:00
François Vantomme
fe518fed8c refactor(links): move FAQ from footer to common scope 2023-01-11 11:28:03 +01:00
Colin Darie
05b517a847
fix(mailer): observers on balancer and balanced delivery methods
- Les observers doivent être déclarés *avant*
  le chargement de nos delivery methods (Sendinblue & Dolist),
  sinon ils seront ignorés par ces derniers

- dans le balancer, on ne peut pas appeler `.deliver` une seconde fois,
  sinon les observers (et interceptors) sont invoqués deux fois.
2023-01-11 00:57:16 +01:00
Lisa Durand
7abf51ca81 split filter in 2 partials too display filters tags on its own div to have more spaces 2023-01-10 18:05:23 +01:00
Colin Darie
22e2749357 chore(manager): basic dashboard for EmailEvents 2023-01-10 16:07:35 +01:00
Colin Darie
6cb2389eef chore(email): add an observer which log the emails dispatched 2023-01-10 16:07:35 +01:00
Paul Chavard
5128b9a086 refactor(demarches): use turbo_stream template 2023-01-10 09:48:32 +01:00
Sébastien Carceles
177dec2bdb
feat(dossier): add dossier id to prefill response (#8382) 2023-01-06 13:46:27 +00:00
Lisa Durand
080747f60b reorganise multiple buttons on top of table from instructeur procedure view 2023-01-05 17:22:53 +01:00
Sébastien Carceles
7679ba26b2
⚰️ remove dead route (#8372) 2023-01-05 14:07:39 +00:00
Sébastien Carceles
fa6fc077b4
normalize boolean values (#8320)
* extract parent for yes no and checkbox champs

* checkbox stores true / false instead of on / off

* normalize blank value to nil

* normalize invalid value to false

* after party task: normalize checkbox values

* after party task: normalize yes_no values
2023-01-05 11:18:27 +00:00
Colin Darie
a91fc3bbe1 chore(usager/wording): Dossiers => Mes dossiers in main tab 2023-01-04 13:15:10 +01:00
Colin Darie
c05c765ba7 style(user/expiration): convert banner to DSFR 2023-01-04 13:15:10 +01:00
Colin Darie
6a9afdc2fc fix(dossier/i18n): correct pluralization of delay expiration button 2023-01-04 13:15:10 +01:00
Colin Darie
0b033a7025 refactor(email): improve wording of automatic deletion to user
Closes #7688
2023-01-04 13:15:10 +01:00
Colin Darie
7d16ae83e8 refactor(email): improve wording of near deletion to user
Closes #7688
2023-01-04 13:15:10 +01:00
Sébastien Carceles
456be420fa
feat(demarche): describe dossier prefilling with POST (#8298)
* feat(demarche): describe dossier prefilling with POST

* show response example
2023-01-04 07:31:31 +00:00
Martin
a4d6692bc6 accessibilite(pages-authentification): evolutions des pages de connexion/creation de compte pour respecter le DSFR et supporter une meilleure accessibilite
Update app/components/dsfr/input_component/input_component.html.haml

Co-authored-by: Colin Darie <colin@darie.eu>
2023-01-03 16:26:05 +01:00
Sébastien Carceles
20136b7ac8
feat(demarche): create and prefill a dossier with POST request (#8233)
* add base controller for public api

* add dossiers controller with basic checks

* create the dossier

* ensure content-type is json

* prefill dossier with given values

* mark a dossier as prefilled

When a dossier is prefilled, it's allowed not to have a user.

Plus, we add a secure token to the dossier, which we will need later to set a
user after sign in / sign up.

* set user as owner of an orphan prefilled dossier

When a visitor comes from the dossier_url answered by the public api,
the dossier is orphan:
- when the user is already authenticated: they become the owner
- when the user is not authenticated: they can sign in / sign up / france_connect
and then they become the owner

So here is the procedure:
- allow to sign in / sign up / france connect when user is unauthenticated
- set dossier ownership when the dossier is orphan
- check dossier ownership when the dossier is not
- redirect to brouillon path when user is signed in and owner

* mark the dossier as prefilled when it's prefilled
(even with a GET request, because it will be useful later on, for
exmample in order to cleanup the unused prefilled dossiers)

* system spec: prefilling dossier with post request
2023-01-03 14:46:10 +01:00
Eric Leroy-Terquem
f82fba3e2f add folders number for instructor group 2023-01-02 15:43:13 +01:00
Damien Le Thiec
ffdb6c0104
Merge branch 'main' into improvement/link_to_dossier_description 2023-01-02 10:15:39 +01:00
Damien Le Thiec
775eb16d95 Add link to prefill description from procedure show 2022-12-29 16:11:59 +01:00
Damien Le Thiec
e6d4b3061e Improve text for prefill description page 2022-12-29 10:56:42 +01:00
Paul Chavard
0e73415904 feat(revision): improuve changes dashboard 2022-12-27 11:06:51 +00:00
Paul Chavard
9b3fa4dd3c refactor(revision): changes should be domain objects 2022-12-27 10:58:53 +00:00
Paul Chavard
7aa6f172dc feat(revision): show number of pending dossiers for each revision 2022-12-27 10:58:53 +00:00
mfo
99a652c297
Merge pull request #8267 from mfo/a11y/use-alert-for-dossier-state
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-26 17:44:59 +01:00
mfo
36b86e99be
Merge pull request #8333 from adullact/refactor/remove-useless-env-var
remove useless DOSSIER_DEPOSIT_RECEIPT_LOGO_SRC env var
2022-12-26 16:19:52 +01:00
Damien Le Thiec
9e083ea3f7
Merge branch 'main' into feature/prefill_civility 2022-12-26 11:31:52 +01:00
Martin
f333fa6048 correctif(email.sans-confirmation): manque de la maj des traductions des mails sans confirmations 2022-12-26 10:32:19 +01:00
François Vantomme
043dde8841
refactor(env): remove useless DOSSIER_DEPOSIT_RECEIPT_LOGO_SRC var 2022-12-22 19:44:57 +01:00
Christophe Robillard
cfc2aec334 display all demarches only if zonage enabled 2022-12-21 09:02:16 +01:00
Christophe Robillard
11a18516b2 remove feature flag zonage 2022-12-21 09:02:16 +01:00
Colin Darie
7cc7c414ad style(instructeurs): improve dossier header layout
Closes #8292
2022-12-20 19:07:00 +01:00
Damien Le Thiec
c3c1801a62 Add example values civilité 2022-12-20 14:53:46 +01:00
Christophe Robillard
edffd0a7a8 extract ds_opendata_enabled 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
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
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
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
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
Eric Leroy-Terquem
2645ac85f7 update wording and order in types de champ select 2022-12-16 09:30:36 +01:00