Commit graph

22469 commits

Author SHA1 Message Date
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
Paul Chavard
2ecaee6fe2
fix(graphql): use null_session forgery protection on graphql controller to allow open data requests 2024-06-06 16:29:34 +02: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
Eric Leroy-Terquem
48c092a74a
test(gallery): test gallery helper 2024-06-06 12:17:56 +02:00
Colin Darie
bb3e53a6fe
chore(job): log request_id enqueueing a job 2024-06-06 12:07:19 +02:00
Eric Leroy-Terquem
f6e54a540b
chore(gallery): add activestorage error catching in job 2024-06-06 12:01:42 +02:00
Eric Leroy-Terquem
ffc0ddc446
chore(gallery): add activestorage error catching in front 2024-06-06 12:01:41 +02:00
Eric Leroy-Terquem
f73a1e1d54
refactor(gallery): add helper methods 2024-06-06 12:01:41 +02:00
Eric Leroy-Terquem
05ad5dcbd6
feat(gallery): display large variant for rare image types 2024-06-06 12:01:40 +02:00
Eric Leroy-Terquem
f3795ebc98
feat(gallery): add pdf previews 2024-06-06 12:01:40 +02:00
Benoit Queyron
ed496a45b4 ajout du texte introductif du bouton JDMA dans merci 2024-06-06 11:53:08 +02:00
Colin Darie
3a4e8b2a32
Merge pull request #10464 from demarches-simplifiees/remove-card-for-historique-modifications-V2
[admin] Simplifier interface en déplacant la tuile de modifs de l'historique du formulaire
2024-06-06 07:41:21 +00:00
Colin Darie
d9451aa64b
Merge pull request #10463 from demarches-simplifiees/reorganize-config-expert-ldu
[admin] améliorer configuration des experts invités
2024-06-06 07:16:49 +00:00
mfo
4cba334fcc
Merge pull request #10491 from colinux/rails-7.0.8.4
Tech (sécurité): rails 7.0.8.3 => 7.0.8.4
2024-06-05 17:08:31 +00:00