Commit graph

12578 commits

Author SHA1 Message Date
simon lehericey
379c9fb812
procedure should provide its facets 2024-08-19 15:29:59 +02:00
simon lehericey
e19f1bd8c2
sortable? -> sorted_by 2024-08-19 15:29:59 +02:00
simon lehericey
14c5c26bb6
rubocop 2024-08-19 15:29:59 +02:00
simon lehericey
c5c2d5782d
lets keep it private 2024-08-19 15:29:59 +02:00
simon lehericey
7a1c25271d
small refactors 2024-08-19 15:29:56 +02:00
simon lehericey
772424ff5e
move field_enum to instructeur filter component 2024-08-19 15:28:36 +02:00
simon lehericey
73293b0d06
give facet object instead of field_id to instructeur_filter_component 2024-08-19 15:28:36 +02:00
simon lehericey
437e632f6a
move facet_find to Facet.find 2024-08-19 15:28:36 +02:00
simon lehericey
969282e453
remove last field_hash 2024-08-19 15:28:36 +02:00
simon lehericey
305b8c13c7
! BREAKING : break previous filter by type_de_champ_private
simplify type_de_champ_private -> type_de_champ, fix spec, add facet_spec
2024-08-19 15:28:36 +02:00
simon lehericey
2239172fac
move facets list to facets 2024-08-19 15:28:36 +02:00
simon lehericey
49eaf10bce
fields -> facets 2024-08-19 15:28:36 +02:00
simon lehericey
5c09581228
move id to facet and search_by facet_id 2024-08-19 15:28:34 +02:00
mfo
41eb99ce5a
fix(dossier_projection_service.rb): do not fwd internal id_value_h to the view by deep duping fields 2024-08-19 15:27:50 +02:00
mfo
b3cb3e974e
refactor(Facet): extract Facet from ProcedurePresentation
Co-Authored-By: LeSim <mail@simon.lehericey.net>

clean(code): no comment 🎶
2024-08-19 15:27:39 +02:00
Kara Diaby
88cd4a94dd
Ajoute la validation sur le modèle Individual 2024-08-19 12:51:39 +00:00
simon lehericey
9d847ef57a
fix: do not show notifications filter on unfollowed dossiers 2024-08-19 11:46:42 +02:00
benoitqueyron
ae87fd72fd
views/instructeurs/procedures/_dossiers_actions: fix http verb 2024-08-12 17:11:03 +02:00
benoitqueyron
67d9ef2eac
fix alert info on dossiers_list & deleting the delete procedure button for published procedure 2024-08-07 17:23:51 +02:00
Paul Chavard
065000cae3
Merge pull request #10674 from colinux/really-fix-rnf
ETQ usager, permet de saisir un champ RNF en ignorant les espaces/tabulations
2024-08-01 18:09:21 +00:00
Colin Darie
c2159ca0bf
fix(contact): allow deletion of contact form of users having dossiers 2024-08-01 19:44:44 +02:00
Colin Darie
720a312b00
fix(rnf): really normalize spaces
Fix #10653
2024-08-01 18:54:50 +02:00
Paul Chavard
25d4e7dfee
fix(rnf): no crash on identifiers with spaces 2024-08-01 18:00:46 +02:00
Colin Darie
3469527637
fix(contact): use user email when no email was specified 2024-08-01 16:43:28 +02:00
Paul Chavard
807d43a9a7
feat(graphql): add desarchiver mutation 2024-08-01 09:50:01 +02:00
Colin Darie
e415c79ade
refactor(contact): builtin piece jointe attachment 2024-07-31 17:08:02 +02:00
Colin Darie
4b6d3ee16d
refactor(contact): support => contact 2024-07-31 17:08:02 +02:00
Colin Darie
e71c1781a9
fix(contact): add missing notices locales 2024-07-31 17:08:02 +02:00
Colin Darie
5af32b46f4
refactor(contact): form is persisted in db before pushed to HS 2024-07-31 17:08:01 +02:00
Colin Darie
4bc0a04106
chore(schema): add contact_forms 2024-07-31 17:08:01 +02:00
Colin Darie
ff62e99e7b
refactor(contact): suggest email correction, strict email validation, fix admin form 2024-07-31 11:23:17 +02:00
Colin Darie
49be3a797a
refactor(input): don't duplicate hint logic 2024-07-31 11:23:17 +02:00
Colin Darie
90e6c8a6f6
Merge pull request #10603 from demarches-simplifiees/bug-input-pj-apres-suppression
ETQ Admin (bug), je veux pouvoir modifier des PJ sans recharger la page
2024-07-30 12:14:11 +00:00
Colin Darie
e467be1dbc
fix(dossier): can download an expired dossier 2024-07-30 14:06:43 +02:00
Paul Chavard
bced38eb78
Merge pull request #10665 from demarches-simplifiees/a11y-fix-suspect-email
Accessibilité : Assure la restitution par les TA du bloc de suggestion de l'adresse mail
2024-07-30 09:53:01 +00:00
Corinne Durrmeyer
523a295be0
Replace aria-live with focus shift 2024-07-30 11:42:29 +02:00
Paul Chavard
9d7d7da85a
Merge pull request #10572 from demarches-simplifiees/add-pj-from-messagerie-to-gallery
ETQ instructeur je peux voir les pjs envoyées par la messagerie dans l‘onglet "pièces jointes"
2024-07-30 09:35:14 +00:00
Paul Chavard
337eaff3f0
Merge pull request #10602 from demarches-simplifiees/fix-routing-fields-list
Correctif : ouvre l‘assistant de routage à tous les types de champ conditionnables
2024-07-30 09:01:24 +00:00
Benoit Queyron
81932915c6
suppresion du form_object_name dans input_id 2024-07-30 10:39:12 +02:00
Paul Chavard
4e180f8f05
Merge pull request #10642 from mfo/US/api.dossier_modifier_annotation_drop_down_list
Amélioration, ETQ consommateur de l'API graphql, je souhaite pouvoir modifier une annotation de type choix simple
2024-07-30 08:25:05 +00:00
Paul Chavard
9aa86031cc
Merge pull request #10660 from colinux/fix-attestation-draft
ETQ admin sur une démarche en brouillon, l'attestation v2 est créé en brouillon si on a déjà une v1 active
2024-07-30 08:12:55 +00:00
Paul Chavard
12c11c563f
Merge pull request #10656 from colinux/fix-when-removing-all-displayed-fields
ETQ instructeur, pas d'erreur quand on veut enlever la dernière colonne affichée dans le tableau
2024-07-30 08:11:02 +00:00
Paul Chavard
c559028990
Merge pull request #10649 from colinux/fix-attestation-titles-multilines
ETQ usager mon attestation v2 n'a pas ses titres chevauchés lorsqu'ils passent sur 2 lignes
2024-07-30 08:09:17 +00:00
Colin Darie
8d70f68146
fix(attestation): link to published v1 from v2 2024-07-29 17:06:55 +02:00
Colin Darie
2689bc6721
fix(attestation): build v2 draft on draft procedure when a v1 is published 2024-07-29 17:06:54 +02:00
Colin Darie
25014a71b8
Merge pull request #10659 from colinux/fix-devise-confirmation-leak
ETQ usager, redirige les utilisateurs déjà confirmés qui réutilisent le lien de confirmation
2024-07-29 12:15:21 +00:00
Colin Darie
a6554aa7bf
fix(users): don't expose email of accounts already confirmed 2024-07-29 12:07:02 +02:00
Paul Chavard
2fe40343a7
Merge pull request #10646 from colinux/faq-allow-custom-image-attributes
Accessibilité: permet au markdown FAQ d'intégrer n'importe quel attribut html dans les `<img>`
2024-07-29 08:27:04 +00:00
Corinne Durrmeyer
afa43ef84c
Merge pull request #10654 from demarches-simplifiees/a11y-forgotten-password
Améliore l'accessibilité de la page mot de passe oublié
2024-07-26 14:08:42 +00:00
Colin Darie
6a6e643771
fix(instructeurs): don't fail when removing all displayed fields 2024-07-26 15:55:02 +02:00
LeSim
12c174f6cf
Merge pull request #10548 from demarches-simplifiees/choose_pjs_to_export
ETQ Instructeur, je peux choisir les pjs que j'exporte
2024-07-26 11:43:02 +00:00
simon lehericey
0dbeb822e4
layout: add possibiilty to export outdated pjs 2024-07-26 13:34:51 +02:00
simon lehericey
e9abdcbbf1
make it beautiful 2024-07-26 13:34:50 +02:00
simon lehericey
57f698853f
some layouts 2024-07-26 13:34:50 +02:00
simon lehericey
393db312c2
a little js 2024-07-26 13:34:50 +02:00
simon lehericey
c4403bffeb
work on controller 2024-07-26 13:34:50 +02:00
simon lehericey
30e79b735d
route: allow standard path helper to work
for example `form_with model: [:instructeur, procedure, export_template]`
2024-07-26 13:34:49 +02:00
simon lehericey
248da3a896
work on validator 2024-07-26 13:34:49 +02:00
simon lehericey
057868a48e
small work on tiptap 2024-07-26 13:34:49 +02:00
simon lehericey
f973c59c9a
stop exporting bills with export_template 2024-07-26 13:34:49 +02:00
simon lehericey
33244f6d70
adapt pieces_justificatives_service to new export_template.attachment_path 2024-07-26 13:34:49 +02:00
simon lehericey
8906a59635
simplify export_template model and spec 2024-07-26 13:34:49 +02:00
simon lehericey
977cfc87ce
Add export_item type 2024-07-26 13:31:06 +02:00
simon lehericey
24109a0128
add exportables_pieces_jointes_for_all_versions and outdated to pj_list_concern 2024-07-26 13:31:06 +02:00
simon lehericey
53a48f963d
tdc: add libelle_as_filename 2024-07-26 13:31:05 +02:00
Paul Chavard
b7bdf0be92
Merge pull request #10652 from tchak/fix-dsfr-theme-switch
fix(dsfr): theme switch is back
2024-07-26 11:26:38 +00:00
Corinne Durrmeyer
190addd317
Merge pull request #10647 from demarches-simplifiees/a11y-authentification-page
Améliore l'accessibilité de la page d'authentification
2024-07-26 09:38:18 +00:00
Corinne Durrmeyer
a415775e17
Merge pull request #10632 from demarches-simplifiees/a11y-fix-faq-content
Améliore l'accessibilité des pages de contenu de la FAQ
2024-07-26 09:18:02 +00:00
Corinne Durrmeyer
8057f050f4
Apply DSFR instead of custom classes 2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
f596216208
Remove code legacy 2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
07b4d59426
Add forgetten alt attribute 2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
444a96a5ee
Prevent buttons from overflowing their container 2024-07-26 10:52:42 +02:00
Corinne Durrmeyer
6383dc359b
Remove useless aria-labelledby attribute 2024-07-26 10:52:42 +02:00
Paul Chavard
25c4d6d237
fix(dsfr): theme switch is back 2024-07-26 10:43:59 +02:00
Paul Chavard
b9000eeb65
Merge pull request #10651 from tchak/fix-rebase-with-new-pj
fix(rebase): avoid errors when adding pj champs to a new revision
2024-07-25 18:35:57 +00:00
Paul Chavard
11cb856921
Merge pull request #10635 from tchak/improuve-combobox
feat(combobox): improve style and menu trigger mode
2024-07-25 18:29:41 +00:00
Paul Chavard
223317fb5a
fix(rebase): avoid errors when adding pj champs to a new revision 2024-07-25 18:29:01 +02:00
Lisa Durand
e93ea356ab
Merge pull request #10488 from demarches-simplifiees/improve-mails-for-deleted-dossiers-ldu
[usager] Laisser un délai avant suppression des dossiers expirés
2024-07-25 15:14:30 +00:00
Paul Chavard
8f313a036e
fix(dossier): fix crash when dossier has no service 2024-07-25 17:04:31 +02:00
Lisa Durand
4f7b0c93d0
fix multiple errors from creation of dedicated method to restore and extend 2024-07-25 16:55:00 +02:00
Colin Darie
30b7dd0dce
fix(attestation): don't overlap multilines titles 2024-07-25 16:33:46 +02:00
Corinne Durrmeyer
e98dbf3898
Move expected format of email field to <span class='fr-hint-text'> 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
1b9ba64f7e
Remove code legacy (agent connect page) 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
f8974921c9
Add asterisk explanation (agent connect page) 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
280da9fd6c
Remove unnecessary lists around link & button (agent connect page) 2024-07-25 11:07:20 +02:00
Corinne Durrmeyer
2e3ee18a32
Prevent image overflow 2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
6bb9d708ab
Remove code legacy 2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
0ea4159027
Place catchphrase in a single paragraph 2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
96f1f101a9
Remove unnecessary lists around link & button 2024-07-25 11:07:19 +02:00
Corinne Durrmeyer
1eb012924b
Add asterisk explanation 2024-07-25 11:07:19 +02:00
Paul Chavard
2a225013ff
Merge pull request #10636 from tchak/improuve-dynamic-routage
refactor(routing_roules): simplify refresh conditions
2024-07-25 08:29:27 +00:00
Benoit Queyron
3493736133
Merge pull request #10624 from demarches-simplifiees/usager-remonter-bouton-nouveau-dossier
ETQ usager - je veux pouvoir accéder plus facilement au bouton "nouveau dossier"
2024-07-25 07:20:45 +00:00
Colin Darie
efa5122ce0
feat(a11y): allow trusted markdown (FAQ) to set any custom attributes in img 2024-07-24 19:13:08 +02:00
Paul Chavard
65dffd0e19
feat(combobox): improve style and menu trigger mode 2024-07-24 19:00:17 +02:00
Paul Chavard
634d78e369
chore(dsfr): only load dsfr js we use 2024-07-24 19:00:17 +02:00
simon lehericey
746ff92118
Add PhishingAlert maintenance task and mailer 2024-07-24 18:10:57 +02:00
mfo
e63b777bd9
feat(api.dossier.modifier_annotation): stop validation only with graphql schema, also validate with our validations methods 2024-07-24 17:48:00 +02:00
Lisa Durand
4b1e743ecf
fix wrong method on projected dossier 2024-07-24 17:19:59 +02:00
Lisa Durand
7da3e05752
small refacto to simplify scope 2024-07-24 17:07:48 +02:00
Lisa Durand
b820577461
create a method to extend and restore 2024-07-24 17:07:48 +02:00