Commit graph

11419 commits

Author SHA1 Message Date
mfo
b9f6e3424c
Merge pull request #10047 from mfo/US/api-graphql-email-beneficiaire
feat(api.dossier.for_tiers): expose email of tier
2024-02-28 08:46:27 +00:00
mfo
9b328828fd feat(api.dossier.for_tiers): expose email of tier
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-28 06:26:12 +01:00
Martin
a13594792a feat(cross-domain-redirect): redirect to APP_HOST when user is on APP_HOST_LEGACY 2024-02-28 06:23:55 +01:00
Colin Darie
0a07c9cd72
fix: encode reset link email in param because it's rendered in view later 2024-02-27 18:59:52 +01:00
Colin Darie
9db7b5b864
fix: encode reset password email in param because it's rendered in view later 2024-02-27 18:53:07 +01:00
Martin
b9e2f20cc0 feat(api.dossier.for_tiers): expose email of tier 2024-02-27 17:38:08 +01:00
mfo
01d6ef3f60
Merge pull request #10046 from mfo/US/a11y-attestation-pdf
fix(dossiers/papertrail.pdf): more compatible with state design. larger body and darker font
2024-02-27 13:37:38 +00:00
Martin
da0edb683a fix(dossiers/papertrail.pdf): more compatible with state design. larger body and darker font 2024-02-27 10:20:29 +01:00
Martin
8ca853c79c feat(application_controller): add method to check if request is on app_host_legacy? 2024-02-23 10:42:23 +01:00
Colin Darie
3cf2e3ecde
Merge pull request #10031 from colinux/fix-typo-tiers
ETQ instructeur: corrige une typo tier => tiers dans les exports
2024-02-23 09:13:19 +00:00
Colin Darie
f04420812b
fix(export): typo tier => tiers 2024-02-22 15:58:29 +01:00
Colin Darie
85eef97392
Merge pull request #10035 from colinux/revert-mailjet
Tech: supprime support de mailjet
2024-02-22 14:29:00 +00:00
Colin Darie
a99c20e1b3
Merge pull request #10032 from mfo/US/fix-api-attestations
API: fix régression d'accès aux attestations PDF
2024-02-22 14:24:20 +00:00
Colin Darie
f9e7d5536b
chore: remove mailjet support 2024-02-22 15:18:34 +01:00
Martin
c9ea79c7cc fix(api/attestations#pdf): missing acl 2024-02-22 15:08:40 +01:00
Colin Darie
7143c7e8e2
Merge pull request #9995 from colinux/attestation-v2-improvements
ETQ admin, quelques améliorations sur l'éditeur v2
2024-02-22 11:30:41 +00:00
Colin Darie
c70d848788
fix(attestation): preload revisions & types de champs 2024-02-22 12:19:09 +01:00
Colin Darie
4a45fdb3d6
fix(attestation): marianne label until 5 lines because of Economie & Finances long name 2024-02-22 12:19:08 +01:00
Colin Darie
3c22f4ea48
fix(attestation): always return v1 template when exists, otherwise it's a v2 2024-02-22 12:19:07 +01:00
Colin Darie
8ba1c0e481
feat(attestation): can toggle optional champs tags visibility 2024-02-22 12:19:06 +01:00
Colin Darie
c5174f7d43
feat(attestation): dossier for preview priorize termine dossier: all data are available 2024-02-22 12:19:05 +01:00
Colin Darie
accc5af7d2
chore(tags): don't list champs Carte, PJ, Titre identité
Note: ils ne sont pas validés par le TagsValidator, donc ça ne cassera
pas les attestations existantes. L'objectif est juste de ne pas les
proposer dans les interfaces.
2024-02-22 12:19:04 +01:00
Colin Darie
2d039cd410
style(attestation): preview on side 2024-02-22 12:18:54 +01:00
Colin Darie
e34eca11e4
style(attestation): tools above editor 2024-02-22 12:18:53 +01:00
Colin Darie
bacfc0c5d1
Merge pull request #10015 from mfo/US/feat-export-include-mandataire
ETQ instructeur, ETQ API les exports contiennent plus de donnée (mandataire & info de france connection france connect)
2024-02-22 10:33:15 +00:00
Colin Darie
3492bf398f
Merge pull request #10026 from colinux/usager-form-improvements
ETQ Usager : légères améliorations de lisibilité et d'espacement sur le formulaire
2024-02-22 08:51:57 +00:00
mfo
aaf5f08f25
Merge pull request #10020 from mfo/US/a11y-invite-with-nice-feedback
ETQ usager utilisant un lecteur d'écran: l'envoie d'une invitation est confusant (le form reste rempli, le message de confirmation n'est pas lu)
2024-02-22 06:02:26 +00:00
Colin Darie
01ab59c2ed
style(form): position correctly the mandatory star on checkbox when text is on multiple lines 2024-02-21 18:04:33 +01:00
Colin Darie
e1eba45739
style: improve readibility of updated-at/rebase notices, closer to dsfr colors 2024-02-21 18:04:32 +01:00
Colin Darie
896f48a7b3
style(form): fix spacing before error in inlined elements 2024-02-21 18:04:31 +01:00
mfo
8579736c03
Merge pull request #10025 from colinux/fix-filter-too-long-error
ETQ instructeur, message d'erreur plutôt que crash lorsqu'on ajoute un filtre trop long (plus de 100 caractères)
2024-02-21 14:51:26 +00:00
mfo
b361da97e6
Merge pull request #10024 from colinux/fix-clipboard-blocked
Tech: cache le bouton de c/c lorsque le navigateur bloque l'accès au clipboard
2024-02-21 14:51:22 +00:00
Martin
a4a232dda2 a11y(invite): rework invite menu for easier readability by screen reader 2024-02-21 15:49:55 +01:00
Martin
77927e41bc feat(api.mandataire): add missing mandataire_first_name/last_name
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-21 15:15:55 +01:00
Martin
c2675dfb4d feat(export.user): add when user passthru FranceConnect or not 2024-02-21 14:44:49 +01:00
Martin
c9235c8a3d feat(export.for_tier): add to export 2024-02-21 14:44:49 +01:00
Colin Darie
5f5756a034
Merge pull request #10017 from mfo/US/a11y-after-signup
ETQ usager utilisant un lecteur d'écran: la page de demande de confirmation de compte ne concentre pas le lecteur d'écran sur le champ pour renvoyer un mail de confirmation
2024-02-21 12:25:35 +00:00
Colin Darie
41a27fbad2
Merge pull request #10014 from mfo/US/better-expert-exports
ETQ expert: je retrouve mes avis confidentiel dans les exports. ETQ instructeur, je retrouve les fichiers joint a une demande d'avis expert
2024-02-21 11:25:58 +00:00
Colin Darie
76d903b04e
Merge pull request #10011 from adullact/feature-ouidou/admin_creation_delegation_review
ETQ gestionnaire d'admins: sépare les commentaires par origine + correctifs
2024-02-21 11:21:45 +00:00
Colin Darie
5ab1d45b8a fix(instructeur): don't crash when adding a filter too long 2024-02-21 12:13:47 +01:00
Colin Darie
bda8d66047
fix(clipboard): hide clipboard button when clipboard is blocked 2024-02-21 10:55:24 +01:00
seb-by-ouidou
52db6f712f separate commentaires by origin + few fixes 2024-02-21 09:47:03 +00:00
Paul Chavard
5a8859cd28
Merge pull request #10018 from tchak/fix-address-champ
fix(champ): do not reset data on champs without fetch_external_data
2024-02-21 09:06:24 +00:00
Colin Darie
1671a783a2
Merge pull request #10021 from colinux/fix-email-subject-double-encode
ETQ usager je dois voir de vraies apostrophes à la place de `&#39;` dans les sujets d'email
2024-02-21 08:33:44 +00:00
Paul Chavard
702b9dd8b3 fix(champ): do not reset data on champs without fetch_external_data 2024-02-21 08:54:08 +01:00
Martin
48336f0ca4 a11y(users/confirmations#new): avoid autofocus on input to resend the mail, otherwise screen reader goes straight to the input 2024-02-21 07:56:00 +01:00
Paul Chavard
12598229a7 chore(browser): mark samsung browser as supported browser 2024-02-20 20:22:05 +01:00
Colin Darie
c05aaa5f35 fix(email): dynamic subject should be escaped, cf RFC 2047 which have its own encoding 2024-02-20 18:29:41 +01:00
Colin Darie
560d50f52d fix(dropdown-multiple): a valid option starting by [ may not be a JSON value 2024-02-20 17:41:53 +01:00
Martin
6117aa503f a11y(flash_message): make them assertive, feedback from a request is the priority. 2024-02-20 17:26:13 +01:00
Martin
11eb0a9c56 feat(invite): i18n create/destroy 2024-02-20 17:22:47 +01:00
Martin
497146081d fix(monavisvalidator): restrict to known domains 2024-02-20 11:51:00 +01:00
mfo
de4369db29
Merge pull request #10010 from mfo/US/fix-expert-signup
amelioration(expert.signup): passe la page de creation de compte expert au dsfr
2024-02-19 16:43:31 +00:00
Martin
a151a304e2 feat(pj_service): add expert's avis (even when confidential) to exports asked by same expert 2024-02-19 16:22:08 +01:00
Martin
dd39ac313b feat(pj_service): add introduction_file to exports 2024-02-19 16:21:26 +01:00
Martin
8dc3103ac1 fix(champs.email): allow nil 2024-02-19 15:13:20 +01:00
Martin
e788846894 feat(expert.signup): dsfrize 2024-02-19 11:28:38 +01:00
Paul Chavard
46b12c0c3d
Merge pull request #9990 from tchak/refactor-adresse-champ
refactor(address): use directly BAN data
2024-02-16 16:42:17 +00:00
Martin
1a424beb6f fix(tags): libelle with double dash, becomes double underscore. no worries it was already broken 2024-02-16 14:00:18 +01:00
Paul Chavard
20307f1d21 refactor(address): use directly BAN data 2024-02-16 12:15:14 +01:00
Martin
2200310877 fixup! tech(refactor): extract clone logic inside its own class 2024-02-16 11:23:39 +01:00
Martin
32e8f34511 refactor(PiecesJustificativesService): stop passing flags, pass user_profile and manage ACL from the service itself 2024-02-16 11:23:39 +01:00
Martin
83690529ca tech(refactor): inline PiecesJustificativesService.serialize_champs_as_pjs(object) within DossierSerializer 2024-02-16 11:23:39 +01:00
Martin
56ed901703 tech(clean): remove dead code 2024-02-16 11:23:39 +01:00
Martin
3e64a3bbbc tech(refactor): extract clone logic inside its own class 2024-02-16 11:23:39 +01:00
Martin
72a3f6e89c refactor(export/archives): holds user profile asking for the archive or export 2024-02-16 11:23:38 +01:00
mfo
4dfb3b86ef
Merge pull request #10000 from mfo/US/groupe-instructeur-manageable-for-routee-procedure
ETQ administrateur, je peux gerer la liste des instructeurs même si le routage est activé sur ma démarche
2024-02-16 09:26:06 +00:00
mfo
cc53946d22
Merge pull request #9978 from mfo/US/enforce-real-email-validation
feat(email): stricter validation
2024-02-16 09:25:58 +00:00
Martin
c719a42f8a feat(procedure.instructeurs_self_management_enabled): backfill instructeurs_self_management_enabled since routing_enabled is not one of the option conditionning it 2024-02-16 10:08:36 +01:00
Colin Darie
fc482c1607
Merge pull request #10008 from colinux/fix-draft-procedure-description-cache
ETQ admin: correction du cache de la liste des PJ d'une démarche en brouillon
2024-02-16 07:22:22 +00:00
mfo
4f58795eaa
Merge pull request #10002 from mfo/US/dsfrize-instructeur-invitation-page
ETQ instructeur, la page de gestion des groupes d'instructeur est au format du DSFR
2024-02-16 06:37:49 +00:00
mfo
3e9abd73e4
Merge pull request #10004 from mfo/add_missing_acl_on_instructeurs_self_management_enabled
secu(instructeurs/groupes_instructeurs): s'assure que seul les instructeurs d'une demarche ayant la gestion activé puisse acceder aux ecrans
2024-02-16 06:37:45 +00:00
Colin Darie
a783c50026 fix(commencer): cache on description of draft procedure
Des changements dans le formulaire d'une démarche en brouillon
ne mettent pas à jour la cache_key de la procedure, donc au fait au plus
simple pour éviter un cache stale dans ces cas là.
2024-02-15 18:45:13 +01:00
Martin
a274629719 fix(instructeurs/groupes_instructeurs#*): add some ACL here 2024-02-15 17:11:25 +01:00
Martin
b6c2742cda bug(instructeurs/groupes_instructeurs#*): any ACL here ? 2024-02-15 17:11:25 +01:00
Martin
8488e74bbb review(suggestion): better code with reviews, normalize Champs::EmailChamp.value, simplier default strict validation activation
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-15 16:41:00 +01:00
Martin
5f77c0cd06 feat(email.validation): expand email validation to Avis, ContactInformation, Invite, DossierTransfert 2024-02-15 16:41:00 +01:00
Martin
05193e1d1e feat(User.validation): validates email when env var is present 2024-02-15 16:41:00 +01:00
Martin
25f92a7760 feat(email.validator): define a strict email validator, validates Champs::EmailChamp.value only on validation context
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-02-15 16:41:00 +01:00
mfo
51c5244545 review(dsfr): enforce fr-container, fr-table, fr-spacers
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-15 16:11:16 +01:00
Martin
2f32468d36 feat(instructeurs/groupes_instructeur): dsfrize 2024-02-15 15:34:22 +01:00
Martin
5407011668 feat(procedure.routing): allow admin to manage instructeur even when procedure has some routing 2024-02-15 13:40:48 +01:00
seb-by-ouidou
9ddd55d5cd feat: remove commentaire_component and replace it by message_component + replace commentaires/_form by messages/_form + few fixes 2024-02-15 07:50:20 +00:00
Paul Chavard
f5f94d9e52
Merge pull request #9989 from tchak/fix-allow-to-edit-more-geo-areas
ETQ usager je peux éditer jusqu'à 50 points ou éléments sélectionnés dans le champ carte
2024-02-14 21:13:09 +00:00
Colin Darie
bd3c2c070a
Merge pull request #9957 from demarches-simplifiees/finalize-rna-rnf-ldu
ETQ instructeur et consommateur API, la vue du champ RNA est harmonisée avec le champ RNF
2024-02-14 15:30:54 +00:00
Colin Darie
a9b24b897e
Merge pull request #9971 from demarches-simplifiees/harmonize-merci-message-from-admin-apercu-to-user-ldu
ETQ admin, je veux que le message de fin de dépot d'une démarche déclarative soit correct
2024-02-14 15:14:20 +00:00
mfo
3237ea8e9f
Merge pull request #9991 from mfo/US/fix-attestation-template-revision-preloader
perf(mail_template/attestation): preload procedure revisions
2024-02-14 08:58:16 +00:00
Martin
85fa75e8f0 perf(mail_template/attestation): preload procedure revisions 2024-02-13 17:11:21 +01:00
Colin Darie
48644ae407
Merge pull request #9846 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_contact_parent_gestionnaires
Délégation de compte: ETQ gestionnaire je peux contacter les gestionnaires des groupes parents
2024-02-13 14:42:03 +00:00
Paul Chavard
7d9cb4d497
Merge pull request #9988 from tchak/refactor-logic-compute-sub-values
refactor(logic): compute sub champ values
2024-02-13 14:22:09 +00:00
Paul Chavard
ff95a812e2 fix(combobox): always sort on the client 2024-02-13 12:26:43 +01:00
Paul Chavard
cf10b68d0d fix(geo_area): allow up to 50 geo_area to be edited 2024-02-13 12:09:03 +01:00
Paul Chavard
93635b3516 refactor(logic): compute sub champ values 2024-02-13 11:57:31 +01:00
seb-by-ouidou
08cffda440 fix: few fixes after review 2024-02-13 11:19:52 +01:00
seb-by-ouidou
fba3cbe331 feat: as gestionnaire, contact gestionnaire of parent groupe 2024-02-13 11:19:52 +01:00
Paul Chavard
641a33e1e0
Merge pull request #9985 from tchak/fix-update-dossier-en-construction
ETQ Usager, je ne veux pas voir un message d'alerte indiquant que la démarche est close lorsque je modifie un dossier en construction
2024-02-13 09:38:08 +00:00
Lisa Durand
f57be9e455 fix(dossier): harmonize merci message from admin apercu to user 2024-02-13 09:28:47 +01:00
Eric Leroy-Terquem
7b539c72b1
Merge pull request #9955 from demarches-simplifiees/fix-simple-routing
ETQ admin je peux faire un routage simple à partir d'un type de champ communes ou epci
2024-02-13 07:56:42 +00:00
Paul Chavard
034015384b fix(dossier): do not warn about closed demarche when updating a fork 2024-02-13 08:19:19 +01:00
Lisa Durand
f09ab62620
add rna type de champ to harmonize api with rnf 2024-02-12 17:20:07 +01:00