Commit graph

21294 commits

Author SHA1 Message Date
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
Paul Chavard
429c7f43fc
Merge pull request #9997 from colinux/fix-flaky
Tech: fix flaky match_array test
2024-02-15 11:15:12 +00:00
Colin Darie
a650114671
test: fix flaky match_array test 2024-02-15 11:00:53 +01:00
Colin Darie
d3ef2cae69
Merge pull request #9926 from adullact/feature-ouidou/dossier_message_component_instead_of_groupe_gestionnaire_commentaire_component
Tech: refactor groupe gestionnaire commentaire component into existing message component
2024-02-15 09:32:19 +00: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
6199fab78d
Merge pull request #9993 from zeylos/del_csp_report_uri
Tech: supprime CSP_REPORT_URI env var et configuration
2024-02-14 15:17:45 +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
Bastien Ogier
2231931bb1 del(env): delete CSP_REPORT_URI env var and associated config. 2024-02-14 11:17:20 +01: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
447096ee48
Merge pull request #9987 from tchak/fix-communes-show-more-results
ETQ Usager, je veux trouver ma commune qui est trop bas dans la liste des résultats
2024-02-13 11:36:56 +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
Colin Darie
c0f9b8c1cd test: fix flaky test due to passing time 2024-02-13 09:54:23 +01: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
Colin Darie
5e859bd41f
test(rna): add test against RNA type 2024-02-12 17:20:08 +01:00
Lisa Durand
f09ab62620
add rna type de champ to harmonize api with rnf 2024-02-12 17:20:07 +01:00
Lisa Durand
a756ab0a63
add address infos for rna in show 2024-02-12 17:20:06 +01:00
Lisa Durand
9e3f28e87b
add rnf and rna address in form view 2024-02-12 17:20:05 +01:00
Colin Darie
7251a5ca01
Merge pull request #9983 from colinux/fix-address-champ
ETQ instructeur: fix génération d'attestation avec une balise "nom de la commune" depuis un champ adresse
2024-02-12 15:48:11 +00:00
Colin Darie
c7e25f5532
Merge pull request #9984 from colinux/fix-active-storage-integrity-error
Tech: fix ActiveStorage::IntegrityError sur l'analyse des titres d'identité après watermark
2024-02-12 15:48:04 +00:00
Colin Darie
bfb98554ff
fix(active-storage): don't fail on analyzing a blob derivated by watermark
Quand l'analyse du job se produit après le watermark, elle doit comparer
le checksum avec celui du fichier filigrané.
2024-02-12 16:30:58 +01:00
Colin Darie
ea89c2e8dd
fix(attestation): tag commune_name from address 2024-02-12 15:08:05 +01:00
Colin Darie
c148f5a389
Merge pull request #9982 from colinux/hotfix-graphql
Tech: rollback graphql to 2.2 => 2.0
2024-02-12 12:35:08 +01:00
Colin Darie
5379757b4b
chore(bundle): rollback graphql to 2.0 2024-02-12 12:17:28 +01:00
Colin Darie
2875991930
Merge pull request #9967 from colinux/bundle-update-phase-1
Tech: massive gems update, phase 1
2024-02-12 10:01:18 +00:00
Colin Darie
c4110c35bf
fix(graphql): json error is not anymore prefixed by unknown line number 2024-02-12 09:33:28 +01:00
Colin Darie
18e5e13eba
test: fix devise-i18n change courriel => email 2024-02-12 09:33:27 +01:00
Colin Darie
cd21eac330
fix(i18n): missing one value in pluralization 2024-02-12 09:33:26 +01:00
Colin Darie
d520e035d5
fix(rubocop): Style/SymbolProc config 2024-02-12 09:33:25 +01:00
Colin Darie
1f6bdc8286
fix(haml-lint): syntax error with ERB in haml scaffold file 2024-02-12 09:33:24 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine 2024-02-12 09:33:23 +01:00
Colin Darie
e3f233cd51
fix(rubocop): Layout/ExtraSpacing et Layout/SpaceAroundOperators 2024-02-12 09:33:22 +01:00
Colin Darie
e0d5dc84d5
fix(rubocop): Rails/TimeZone 2024-02-12 09:33:20 +01:00