Commit graph

12385 commits

Author SHA1 Message Date
Corinne Durrmeyer
6cd5bdf1f0
Merge pull request #10553 from demarches-simplifiees/a11y-fix-contact-page
Améliore l'accessibilité de la page de contact
2024-06-28 09:29:23 +00:00
Corinne Durrmeyer
43c8ea7bee
Replace a series of <p> with a <dl> 2024-06-28 11:24:26 +02:00
Corinne Durrmeyer
0065d8933e
Combine address in a single paragraph 2024-06-28 11:09:46 +02:00
Corinne Durrmeyer
9e54a0dbb4
Invert term and description 2024-06-28 10:38:22 +02:00
Corinne Durrmeyer
5f2e9659ad
Remove useless line breaks 2024-06-28 10:38:22 +02:00
Corinne Durrmeyer
229c48de7b
Replace <ul> by <dl> on landing pages 2024-06-28 10:38:22 +02:00
Corinne Durrmeyer
900d17d269
Skiplink : Remove useless list 2024-06-28 10:38:22 +02:00
Lisa Durand
9f03b4cfee
correct typos and remove agent connect suggestion in mail 2024-06-27 17:43:30 +02:00
Lisa Durand
b43b06cf3e
send correct mail if invitation from instructeur 2024-06-27 17:30:36 +02:00
Lisa Durand
1b2d4368ae
place button to the left 2024-06-26 18:24:20 +02:00
Lisa Durand
772ae47521
change print to download button for user 2024-06-26 16:47:53 +02:00
mfo
bc6e2a40ba
Merge pull request #10554 from mfo/US/fix-export-decimal
ETQ admin/instructeur, je souhaite récupérer la valeur d'un type de champ decimal même si la valeur est précédé et ou suivi d'espace blanc
2024-06-26 02:06:39 +00:00
mfo
cfda807b66
fix(data): decimal number having spaces are no more exportable 2024-06-25 21:17:46 +02:00
Colin Darie
48e5a237e3
chore(schema): change default types_de_champ#mandatory from false to true 2024-06-25 17:17:21 +02:00
Corinne Durrmeyer
52b78a51d5
Restrict document selection to authorized types only 2024-06-25 16:57:06 +02:00
Corinne Durrmeyer
d82e84d711
Add expected data type to email field 2024-06-25 16:57:06 +02:00
Corinne Durrmeyer
07f063829e
Remove forbidden attribute 2024-06-25 16:57:06 +02:00
Colin Darie
22a4f471e5
fix(helpscout): rate limit take into deletions into account 2024-06-25 16:45:41 +02:00
Lisa Durand
d7893b9102
instructeur need to confirm mail after invitation 2024-06-25 15:14:26 +02:00
mfo
f83c565297
fix(expert_procedure): flash once 2024-06-25 14:42:00 +02:00
mfo
afa9821edb
perf(InvitationWithTypoComponent): check email once from controller, forward actuel/suggestion email from ctrl to view 2024-06-25 14:37:54 +02:00
mfo
4771c45bce
clean(InvitationWithTypoComponent): simplier interface 2024-06-25 14:36:41 +02:00
mfo
2bb7584246
feat(administrateurs/experts_procedures#create): avoid typo on expert
list management
2024-06-25 14:04:01 +02:00
Corinne Durrmeyer
9cbf1d3341
Merge pull request #10545 from demarches-simplifiees/a11y-fix-focus-visibility
Restaure la visibilité de la prise de focus dans le sélecteur de langue
2024-06-24 14:56:31 +00:00
Colin Darie
b552138c48
chore(faq): update screenshots mentionning demarches.gouv.fr 2024-06-24 16:29:33 +02:00
Colin Darie
417cac5b83
feat(faq): dynamic substitutions support
Ce code avait été initalement codé, mais le contenu de la FAQ n'en a à
ce stade plus besoin. On le garde sous le coude car c'est peu touchy
et ça pourrait bientôt resservir.
2024-06-24 16:29:32 +02:00
Colin Darie
e9920c76d5
feat(faq): can add dsfr alert from markdown 2024-06-24 16:28:35 +02:00
Corinne Durrmeyer
5bcd849d0b
Restore focus visibility 2024-06-24 14:35:15 +02:00
Colin Darie
169f07cadd
Merge pull request #10543 from mfo/US/fix-invite-guest
Correctif: ETQ usager, je souhaite pouvoir envoyer une invitation à un email qui n'est pas deja un usager DS
2024-06-24 10:53:16 +00:00
mfo
0e3ab79b28
fix(invite_mailer.invite_guest): bypass_unverified_mail_protection! for guests otherwise they will never receive the email
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-06-24 12:45:51 +02:00
Eric Leroy-Terquem
1ab77cede9
Merge pull request #10512 from demarches-simplifiees/safer-gallery
Technique : mise à jour de la galerie et transformation des images uniquement côté jobs
2024-06-24 10:16:57 +00:00
Colin Darie
a1edbd08a2
Merge pull request #10496 from tchak/fix-graphql-allow-requests-with-no-token
fix(graphql): use null_session forgery protection on graphql controller to allow open data requests
2024-06-24 10:11:35 +00:00
Colin Darie
93c73e319c
Merge pull request #10541 from demarches-simplifiees/dark-mode-fix-admin-contact
Adapte le titre de la page contact admin pour le dark mode
2024-06-24 10:10:58 +00:00
Eric Leroy-Terquem
c94c2f55c8
task(pj): create representations for latest pieces jointes 2024-06-24 11:13:37 +02:00
Eric Leroy-Terquem
b638b2e45a
feat(gallery): gallery in demande page only for instructeurs 2024-06-24 11:13:37 +02:00
Eric Leroy-Terquem
0c95a098a5
feat(gallery): do not create representations in web machines 2024-06-24 11:13:36 +02:00
Colin Darie
ccf5b255ed
Merge pull request #10465 from colinux/attestations-v2-prod
ETQ admin je peux activer la délivrance des attestations v2 (sous feature flag)
2024-06-24 08:56:31 +00:00
Kara Diaby
a2f225c1b0
Adapte le titre de la page contact admin pour le dark mode 2024-06-24 10:19:05 +02:00
Colin Darie
5ac2315b5a
Merge pull request #10535 from mfo/US/page-procedure-show
Améliroation, ETQ instructeur le nombre de dossier par page passe de 25 a 100
2024-06-24 08:14:56 +00:00
Colin Darie
a80a1fefd4
Merge pull request #10532 from colinux/mailer-logo-size
Emails: réduit légèrement la taille du nom du logo ds.fr
2024-06-24 07:39:02 +00:00
mfo
9b63543afa
Merge pull request #10537 from demarches-simplifiees/a11y-fix-titles
Pied de page - correction des titres de liens
2024-06-22 04:07:43 +00:00
simon lehericey
7c1b26930b
tech: move cron tab to specific time 2024-06-21 17:15:01 +02:00
mfo
4e67255405
feat(instructeurs/procedure#show): increase dossier page size but keep request count same 2024-06-21 16:50:08 +02:00
Corinne Durrmeyer
390844c92b
Merge pull request #10533 from demarches-simplifiees/a11y-fix-mobile-menu-overflow
Supprime le débordement du menu en version mobile sur les terminaux de faible largeur
2024-06-21 14:47:53 +00:00
mfo
2ee6f2350a
Merge pull request #10536 from mfo/US/summary-in-instructeur-demande
ETQ instructeur, je peux naviguer dans le formulaire de l'usager via un sommaire, idem pour les annotations privées.
2024-06-21 14:44:50 +00:00
Corinne Durrmeyer
d34aabe4dc
Fix linting error: Avoid defining in attributes hash for static class names 2024-06-21 16:19:32 +02:00
Corinne Durrmeyer
b9ba2d9a01
Align contents of language selector list 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
8cfef1bc8f
Add space between button edge and content 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
f3181f1f5e
Moves separating margin 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
f12f7c15e5
Remove border on when there is one item only 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
d8f7269f70
Align links & buttons in mobile version 2024-06-21 16:11:54 +02:00
Corinne Durrmeyer
df94e11c4f
Prevents menu overflow in mobile version 2024-06-21 16:11:54 +02:00
mfo
2f6772c879
tech(review): add missing sticky behaviour to summary for instructeur
Co-Authored-By: LeSim <mail@simon.lehericey.net>
2024-06-21 16:03:58 +02:00
Corinne Durrmeyer
e5532eb74f
Add hreflang=fr attribute to links pointing to French content 2024-06-21 15:48:32 +02:00
Corinne Durrmeyer
1d872fb28f
Remove useless titles 2024-06-21 15:41:59 +02:00
Corinne Durrmeyer
517c87b078
Use the translation for the etalab license 2024-06-21 15:41:59 +02:00
Corinne Durrmeyer
5745923007
Add hreflang=fr attribute to links pointing to French content 2024-06-21 15:41:59 +02:00
Corinne Durrmeyer
ff6f26b920
Remove useless class 2024-06-21 15:09:42 +02:00
Corinne Durrmeyer
efae3c3116
Replace title by <abbr> 2024-06-21 15:09:42 +02:00
Corinne Durrmeyer
45d92a3ae8
Merge pull request #10523 from demarches-simplifiees/update-accessibility-statement
Mise à jour de la décalaration d'accessibilité
2024-06-21 12:49:23 +00:00
mfo
4caeecadff
Merge pull request #10534 from mfo/US/fix-ineligibilite-rules-check-without-rules
Correctif: ETQ admin, je ne peux pas activer l'inéligibilité des dossiers sans règles d'inéligibilité
2024-06-21 09:47:43 +00:00
mfo
d46dc7055d
feat(instructeurs/dossiers): add summary to dossier.champs and dossier.champ_private views, also extract summary in
two component. one of type de champ editor. one for viewable champs
2024-06-21 11:06:45 +02:00
Corinne Durrmeyer
aefd7fd351
Update accessibility statement content 2024-06-21 10:47:22 +02:00
mfo
5a5ebfb235
Merge pull request #10531 from mfo/US/add-champ-summary-to-annotations
ETQ administrateur, je peux naviguer dans l'editeur des annotations en utilisant le sommaire façon editeur des champs du formulaire
2024-06-21 08:34:12 +00:00
mfo
25ffd902ff
feat(admin/annotations): add link to show annotations history 2024-06-21 05:50:24 +02:00
mfo
6eaf870cbf
feat(administrateurs/procedure#annotations): add summary 2024-06-21 05:50:24 +02:00
mfo
43a7364229
Merge pull request #10522 from mfo/US/fix-submitted-dossier-error
Correctif: ETQ admin, j'aimerais pouvoir modifier le message de confirmation de dépôt de dossier
2024-06-21 03:22:48 +00:00
Colin Darie
372c732458
Merge pull request #10513 from colinux/helpscount-api
ETQ opérateur je peux supprimer les vieilles conversations helpscout
2024-06-20 19:57:46 +00:00
mfo
84cdeaa4cc
Merge pull request #10527 from mfo/US/fix-eligibilite-rules-caching-champs.visible
fix(eligibilite_rules): checking for eligibilites rules should not cache champs.visible
2024-06-20 14:11:11 +00:00
mfo
24d7b0b014
fix(ineligibilite_rules): prevent admin to enable ineligibilite rules without rules 2024-06-20 15:35:36 +02:00
mfo
cbe8d92f81
Merge pull request #10530 from demarches-simplifiees/a11y-fix-nav
Correction de la structure de navigation
2024-06-20 13:25:54 +00:00
Colin Darie
395dd5046a
Merge pull request #10519 from colinux/fix-see-more
Correctif ETQ usager : bouton "Afficher toutes les erreurs" s'affiche en français
2024-06-20 13:20:59 +00:00
mfo
9adb1bcf49
fix(ineligibilite_rules): cache bust champs.visible after checking for ineligibilite rules
Update app/models/dossier.rb

Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-06-20 15:20:32 +02:00
Colin Darie
617c0e4c8f
fix(attestation): sticky header don't overlap above preview 2024-06-20 14:31:05 +02:00
Colin Darie
666b51fa9c
fix(textarea): merge data controllers from opts & autoresize 2024-06-20 14:31:05 +02:00
Colin Darie
f2669fbca8
fix(attestation): fix unspecified_attestation_champs for v2 2024-06-20 14:15:06 +02:00
Colin Darie
70aee9c9de
refactor(autosave): extract in component, better wording for attestation 2024-06-20 14:15:06 +02:00
Colin Darie
ce998f7864
feat(attestation): already published without publication when procedure is draft 2024-06-20 14:15:06 +02:00
Colin Darie
cf58c48843
feat(attestation): can toggle activation 2024-06-20 14:15:05 +02:00
Colin Darie
cd07ee173f
feat(attestation): can reset draft attestation 2024-06-20 14:15:05 +02:00
Colin Darie
a540f8dccb
feat(attestation): can render & attach attestations v2 2024-06-20 14:15:05 +02:00
Colin Darie
ffd8c5617a
chore(attestation): card link to v2 if exist 2024-06-20 11:08:16 +02:00
Colin Darie
151b3f83ed
chore(attestation): publish button on sticky header 2024-06-20 11:08:16 +02:00
Colin Darie
11d29f5574
chore(attestation): publish a v2 attestation 2024-06-20 11:08:15 +02:00
Colin Darie
4af6957237
fix(attestation): dup keep all attributes 2024-06-20 11:08:15 +02:00
Colin Darie
c5c24c01d8
chore(attestation): procedure#attestation_template always returns the published attestation 2024-06-20 11:08:15 +02:00
Colin Darie
ad3c5a7493
chore(schema): add attestation_templates#state 2024-06-20 11:08:15 +02:00
Colin Darie
038df4e7e6
style(mailer): reduce app name logo size 2024-06-20 09:46:14 +02:00
mfo
d7f953f08c
Merge pull request #10525 from colinux/stats-dark
Pages stats au DSFR, déclinées en thème sombre et adaptées aux mobiles
2024-06-19 07:04:20 +00:00
Corinne Durrmeyer
20d6a37d85
Remve useless title 2024-06-18 14:39:08 +02:00
Corinne Durrmeyer
044ee25a41
Remove useless <nav> 2024-06-18 14:35:09 +02:00
Corinne Durrmeyer
e3a5944ccc
Standardisation: Replace 'account' by 'profile' 2024-06-18 14:24:54 +02:00
Corinne Durrmeyer
31bf30830d
Place the menu in the <nav> tag in desktop version 2024-06-18 14:24:54 +02:00
mfo
d1e983ed97
fix(EmailCheckerController): with partial email, should not raise error 2024-06-17 13:25:28 +02:00
Colin Darie
2252064259
style: cleanup stats.scss 2024-06-17 11:59:02 +02:00
Colin Darie
c288d340d8
style(stats): better responsive & dark theme for procedure stats 2024-06-17 11:59:01 +02:00
Colin Darie
266a7dbcdd
style(stats): better responsiveness & dark theme 2024-06-17 11:59:01 +02:00
Colin Darie
5a7316bc5b chore(css): import segmented controls 2024-06-17 10:36:46 +02:00
Benoit Queyron
06b8194359
Merge pull request #10502 from demarches-simplifiees/etq-usager-bouton-jdma
ETQ usager : j'accède au bouton JDMA depuis la page Merci et depuis le mail de dépôt de dossier
2024-06-14 16:31:12 +00:00
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
Colin Darie
eaee4164a6
Merge pull request #10515 from colinux/contact-form-async
ETQ opérateur, le form de contact devient asynchrone et l'antivirus passe sur les PJ
2024-06-14 10:29:24 +00:00
Colin Darie
2dda5e44f9
chore(kredis): use default shared connection name, fixing dossier index debounce 2024-06-14 11:53:36 +02:00
mfo
2e1e1c060b
fix(dossier_submitted_message#edit): missing dossier for preview 2024-06-14 11:42:42 +02:00
Colin Darie
e6d761b915
fix(dossier): see_more errors missing translation 2024-06-14 10:36:55 +02:00
Benoit Queyron
7a9b1a5763
Merge pull request #10517 from demarches-simplifiees/traduction-lien-connexion
ETQ Admin, Instructeur: fix traduction dans la page lien envoyé
2024-06-14 08:15:21 +00:00
Colin Darie
e283f2d8cd
chore(search): don't index on autosave 2024-06-13 14:12:00 +02:00
Benoit Queyron
88c957806f fix link faq 2024-06-13 14:01:05 +02:00
Colin Darie
a1469b04fe
refactor(support): create HS conversation in async and run virus scanner on attachments 2024-06-13 13:27:51 +02:00
Benoit Queyron
d124127f10 ajustements de front avec la page confirmation 2024-06-13 12:35:02 +02:00
Benoit Queyron
44cb588c42 mise en page & traduction page session 2024-06-13 12:08:37 +02:00
Colin Darie
9d4113befb
feat(helpscout): delete old conversations 2024-06-13 11:16:52 +02:00
Benoit Queyron
97ef01b075
Merge branch 'main' into etq-usager-bouton-jdma 2024-06-11 18:09:01 +02:00
Benoit Queyron
c5fa25ee78 unless to if condition 2024-06-11 17:45:51 +02: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
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
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
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
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
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
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