Commit graph

22130 commits

Author SHA1 Message Date
Benoit Queyron
ee35dba37e
linter check 2024-06-14 18:04:16 +02:00
Benoit Queyron
cf787d322a
linter check 2024-06-14 17:43:13 +02:00
Benoit Queyron
98782f8bf0
suggestion de Colin
Co-authored-by: Colin Darie <colin@darie.eu>
2024-06-14 17:37:05 +02:00
Benoit Queyron
97ef01b075
Merge branch 'main' into etq-usager-bouton-jdma 2024-06-11 18:09:01 +02:00
Benoit Queyron
0ea8877927 update branch 2024-06-11 17:56:04 +02:00
Benoit Queyron
c5fa25ee78 unless to if condition 2024-06-11 17:45:51 +02:00
mfo
069cb04e17
Merge pull request #10508 from mfo/US/fix-annotation-having-condition-on-public-tdc-with-smaller-position-than-the-annotation
ETQ admin, je veux que mes conditions d'annotations privées ne soient pas en erreur pour des raisons d'ordre
2024-06-11 14:19:30 +00:00
mfo
06a870a083 fix(draft_types_de_champ_private.condition): condition must be validated with upper_tdcs. considering that types_de_champ_private can have a condition using a types_de_champ_public, we have to include all types_de_champs_public plus only types_de_champs_private.upper_tdcs 2024-06-11 16:05:45 +02:00
mfo
8cb902821f bug(draft_types_de_champ_private.condition): condition must be validated with upper_tdcs. considering that types_de_champ_private can have a condition using a types_de_champ_public, we have to include all types_de_champs_public plus only types_de_champs_private.upper_tdcs 2024-06-11 16:05:45 +02:00
Colin Darie
ed3630e621
Merge pull request #10506 from colinux/fix-clipboad-targets
Bouton copier/coller: améliore support quand le clipboard n'est pas disponible
2024-06-11 09:59:38 +00:00
mfo
f6a5e932b8
Merge pull request #10292 from mfo/US/elligible-on-submit
ETQ administrateur, je peux ajouter des conditions d'eligibilité auxquelles les dossiers doivent correspondre sans quoi l'usager ne peut déposer son dossier
2024-06-11 09:46:25 +00:00
mfo
03381c05b3
Merge pull request #10499 from mfo/US/email-check-with-levenshtein
tech: ETQ usager je souhaite une verification de mes mails plus efficace
2024-06-11 08:55:28 +00:00
mfo
8e3d45b0b1
review(pr): some enhancement, tx @colinux
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-06-11 10:48:10 +02:00
mfo
4d6b8d9536
Merge pull request #10507 from demarches-simplifiees/fix-clone-monavis
ETQ admin: je souhaite que le lien JDMA soit réinitialisé lors du clonage d'une procédure
2024-06-11 08:23:03 +00:00
mfo
f819da8921
tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage 2024-06-11 09:57:36 +02:00
mfo
a011576757
feat(procedure_revision.validates): ineligibilite_rules 2024-06-11 09:39:21 +02:00
mfo
e3a24d53ea
tech(refactor): procedure::error_summary and dossier::ErrorsFullMessagesComponent use same behaviour to compact/expand errors 2024-06-11 09:39:20 +02:00
mfo
c480bc00c3
feat(Users/Dossiers#submit_brouillon_or_en_construction): prevent transition to en_construction if ineligibilite_rules matches. pop error nicely 2024-06-11 09:32:54 +02:00
mfo
178685b34b
feat(TypeDeChampEditor): prevent to destroy a type de champ used by inligibilite rules 2024-06-11 09:32:54 +02:00
mfo
be5f580237
feat(Users/Dossiers#update): track changes live and pop modal when ineligibilite_rules matches 2024-06-11 09:32:54 +02:00
mfo
2210db3b81
feat(Dossier::EditFooterComponent): disable submit button when inligibilite_rules matches 2024-06-11 09:32:54 +02:00
mfo
5644692448
feat(Logic.computable?): add computable? to know if a ineligibilite_rules set is computable 2024-06-11 09:32:53 +02:00
mfo
5de4ce889f
feat(ProcedureRevision.ineligibilites_rules): keep track of changes and show it to admin for republication 2024-06-11 09:32:53 +02:00
mfo
aca3e38859
feat(ProcedureRevision.ineligibilite_rules): add ineligibilite_rules management to procedure revision based on conditional logic 2024-06-11 09:32:53 +02:00
mfo
12d23f1498
feat(Procedure::Cards::IneligibleDossier): add an ineligibilite dossier card to procedure dashboard 2024-06-11 09:32:53 +02:00
mfo
810d272be2
feat(procedure_revision): add ineligibilite columns 2024-06-11 09:32:53 +02:00
mfo
080a818164
Merge pull request #10497 from mfo/US/download-dossier-on-merci
Amélioration: ETQ usager, je souhaite pouvoir télécharger mon dossier sur la page de confirmation de dépôt
2024-06-11 07:11:25 +00:00
Eric Leroy-Terquem
c893f8de99
Merge pull request #10505 from colinux/fix-api-v1-commentaire-pj
API v1: fix régression commentaire -> attachment url qui avait sauté
2024-06-10 14:04:44 +00:00
Eric Leroy-Terquem
bffca0cfe2
Merge pull request #10504 from demarches-simplifiees/more-error-catching-in-gallery
Correctif (galerie) : catche les erreurs de type ActionViewTemplate
2024-06-10 13:50:45 +00:00
Eric Leroy-Terquem
603bb97679
fix(gallery): catch StandardError 2024-06-10 15:41:23 +02:00
Benoit Queyron
a8e382d0d0 fix(clone): le lien monavis est reinitialise lors du clonage 2024-06-10 14:55:51 +02:00
Colin Darie
1d4a8795c8
fix(clipboard): if unsupported, don't hide element when button is on another target 2024-06-10 14:28:50 +02:00
Benoit Queyron
ef2a021971 fix condition si monavis est nil 2024-06-10 13:06:54 +02:00
Colin Darie
915aec6894
chore(apiv1): fix regression with attachment url in commentaire 2024-06-10 13:06:31 +02:00
mfo
ab522a3e40
Merge pull request #10503 from mfo/US/fix-condition-validator-on-private-champ-using-public-tdc
Correctif: ETQ admin, je souhaite pouvoir utiliser des champs public pour conditionner une annotation privée
2024-06-10 09:33:22 +00:00
Benoit Queyron
1ee667af75 fix(brakeman): maj avec le nouvel appel dans la vue 2024-06-10 11:26:37 +02:00
mfo
27b86f9848
fix(TypesDeChamp::ConditionValidator): allow to use types_de_champ_public on condition for types_de_champ_private 2024-06-10 11:26:01 +02:00
Benoit Queyron
0983f35dfd ajout d'un helper pour la source 2024-06-10 11:09:55 +02:00
mfo
d2ccea700b
bug(TypesDeChamp::ConditionValidator): should allow to use types_de_champ_public on condition for types_de_champ_private 2024-06-10 09:35:29 +02:00
Benoit Queyron
d7a19bd421 ajout du JDMA au mail de depot de dossier (avec nb_source=email) 2024-06-07 18:20:28 +02:00
mfo
66eb3dc821
feat(email_check): change strategy to check email, dropping email_buttler package and using a custom EmailChecker 2024-06-07 16:09:32 +02:00
mfo
c813c02975
feat(EmailChecker.check): add class to search for typo in email addresses 2024-06-07 15:13:50 +02:00
Benoit Queyron
a9b56459c8 on fait ouvrir dans un nouvel onglet 2024-06-07 12:52:27 +02:00
Benoit Queyron
0f1c1302a9 on affiche uniquement si JDMA activé 2024-06-07 12:32:55 +02:00
Benoit Queyron
f106e558c0 pour le site nb_source=site 2024-06-07 12:25:30 +02:00
mfo
ae103e049c
feat(DossiersController#merci): add download link 2024-06-06 17:35:02 +02:00
Colin Darie
fe0619af7f
Merge pull request #10296 from demarches-simplifiees/container-contact
ETQ usager, améliore le thème sombre et responsivité de la page contact
2024-06-06 15:33:29 +00:00
Colin Darie
1846ab469c
Merge pull request #10495 from colinux/activejob-log-request-id
Tech: log request_id enqueueing a job
2024-06-06 15:32:57 +00:00
Eric Leroy-Terquem
204953b1ee
Merge pull request #10449 from demarches-simplifiees/fix-gallery-with-pdf-previews-and-variants-for-exotic-formats
ETQ instructeur, dans la galerie, je peux prévisualiser des pdfs et voir des images au format rare
2024-06-06 13:01:24 +00:00
Kara Diaby
e1002beaca Met le conteneur au DSFR pour assurer la responsive sur la page contact 2024-06-06 10:46:40 +00:00