Commit graph

12773 commits

Author SHA1 Message Date
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
Corinne Durrmeyer
9e87662c8f
Distinguish links from content 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
e358f196e9
Change help__content to help-content to conform linting Regex 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
bbfcb689d3
Change help menu design pattern (offline pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
bc95b5b323
Change help menu design pattern (instructor pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
33eece94fd
Change help menu design pattern (user pages) 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
399f020047
Replace span with h1 2024-08-14 09:56:52 +02:00
Corinne Durrmeyer
5501be17c6
Remove legacy code 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
87ab67fee5
Replace aria-label with visually-hidden label 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
f3bca9bfeb
Replace paragraphs with list 2024-08-14 09:56:51 +02:00
Corinne Durrmeyer
e847e9263e
Add label to icons carrying information 2024-08-14 09:56:51 +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
Lisa Durand
ae1a6e1b3d
improve hidden_by_expired scope 2024-07-24 17:07:47 +02:00
Lisa Durand
5c26073af7
small refacto with hidden_by_expired? method 2024-07-24 17:07:47 +02:00
Lisa Durand
df13e53815
small refactos from Sim review 2024-07-24 17:07:47 +02:00
Lisa Durand
94e1f048ce
fix tabs count 2024-07-24 17:07:47 +02:00
Lisa Durand
eb3b928cf2
change scope to include new column for expiring dossiers 2024-07-24 17:07:47 +02:00
Lisa Durand
0dcdcb5643
add column hidden_by_expired_at 2024-07-24 17:07:41 +02:00
Lisa Durand
954ab39de8
remove badge supprimé and display state dossier badge 2024-07-24 17:06:31 +02:00
Lisa Durand
0bf1790682
change wording to clarify emails 2024-07-24 17:06:31 +02:00
Lisa Durand
1441855fe8
fix query for instructeur tabs count 2024-07-24 17:06:31 +02:00
Lisa Durand
2d66a67564
use automatic flag for dossier operation log 2024-07-24 17:06:31 +02:00
Lisa Durand
9346020889
dont use depreciated column hidden_at 2024-07-24 17:06:30 +02:00
Lisa Durand
8b88fafc25
add correct action for instructeur 2024-07-24 17:06:30 +02:00
Lisa Durand
c2abceaa72
hide expired dossiers instead of delete them 2024-07-24 17:06:30 +02:00
mfo
8e6c5d1567
api(mutation.dossier_modifier_annotation_drop_down_list): add mutation to change drop_down_list annotations value 2024-07-24 15:02:24 +02:00
Paul Chavard
5aee51d5ac
refactor(routing_roules): simplify refresh conditions 2024-07-24 12:53:26 +02:00
Benoit Queyron
420ebc70f9
remontee bouton dossier en cours + icones 2024-07-24 12:33:01 +02:00
Eric Leroy-Terquem
d8d2094909
db(task): remove pj files for not visible champs 2024-07-24 09:21:12 +02:00
Corinne Durrmeyer
4233c9aee5
Force line breaks in pre 2024-07-23 11:18:02 +02:00
Corinne Durrmeyer
54a32a2e97
Add content to link title attributes 2024-07-23 11:18:02 +02:00
Eric Leroy-Terquem
e413c0881e
chore(routing): update turbo stream only if champ used by routing rules has been updated 2024-07-23 10:23:54 +02:00
Eric Leroy-Terquem
f30057e585
feat(routing): replace contact information with turbo_stream 2024-07-23 10:23:54 +02:00
Eric Leroy-Terquem
f860745629
feat(routing): route when autosave of champ used by routing rules 2024-07-23 10:23:53 +02:00
Colin Darie
60ba6a2241
Merge pull request #10628 from colinux/helpscout-robust-api-limit
Tech: essaie de contourner les crash aléatoires sur le non respect du rate limit
2024-07-23 07:26:51 +00:00
Colin Darie
4f5f860405
fix(helpscout): rate limit respect 1 minute window 2024-07-22 15:12:54 +02:00
Paul Chavard
229483d16c
refactor(champ): remove type_de_champ_id and champ factories 2024-07-22 13:53:45 +02:00
Paul Chavard
d6f9e57e77
secu(graphql): without a token, only persisted queries are allowed 2024-07-22 11:39:32 +02:00
Paul Chavard
c31321d695
chore(graphql): API::V2::DossiersController is not using tokens 2024-07-22 11:38:11 +02:00
Paul Chavard
38243434d2
refactor(graphql): add graphql_error helper 2024-07-22 11:38:11 +02:00
simon lehericey
bb6c43cbb9
do not give bad advice 2024-07-22 11:15:27 +02:00
Colin Darie
d4a9b63b00
Merge pull request #10622 from demarches-simplifiees/a11y-fix-faq-page
Accessibilité: Amélioration de la page FAQ
2024-07-22 09:06:59 +00:00
Eric Leroy-Terquem
5fbe2daca2
db(maintenance task): create representations for pjs sent by messagerie 2024-07-22 10:07:40 +02:00
Eric Leroy-Terquem
3bbcda9c04
refactor(dossier): refactor pieces jointes 2024-07-22 10:07:39 +02:00
Eric Leroy-Terquem
3516bae008
feat(gallery): create representations for pjs sent by messagerie 2024-07-22 10:07:39 +02:00
Eric Leroy-Terquem
59ddaf5b0b
feat(gallery): add pjs from messagerie to gallery 2024-07-22 10:07:39 +02:00
Benoit Queyron
5434e0a4d6
remonter bouton nouveau dossier 2024-07-19 10:02:02 +02:00
Corinne Durrmeyer
cdbdcffa5b
Remove empty <p>. 2024-07-18 12:06:40 +02:00
Paul Chavard
f7c5f8fb14
fix(intl): polyfill intl-listformat 2024-07-18 09:33:07 +02:00
Paul Chavard
be83f2c7d1
Merge pull request #10609 from tchak/champs-selection-multiple-combobox
Utiliser les nouvelles combobox pour les champs de sélection multiple
2024-07-16 13:17:41 +00:00
Paul Chavard
888be8df89
feat(champs): use new combobox for champs selection multiple 2024-07-16 15:10:45 +02:00
Paul Chavard
d640ab8428
fix(combobox): dispatch change event on multiple combo changes 2024-07-16 15:10:45 +02:00
Paul Chavard
f88fb3babc
Merge pull request #10613 from tchak/refactor-remove_piece_justificative_file_not_visible
refactor(dossier): use each instead of filter with side effects
2024-07-16 13:06:55 +00:00
Paul Chavard
6e37a3faf1
chore(champs): task to move non unique champs to a bad_data stream 2024-07-16 14:17:12 +02:00
mfo
64811d836a
Merge pull request #10616 from mfo/US/enhance-siret-champ
Amélioration, ETQ usager je souhaite pouvoir copier/coller un siret contenant des espaces
2024-07-16 09:50:08 +00:00
mfo
23d9c62245
feat(champ.siret): allow copy/paste from web 2024-07-16 11:29:54 +02:00
Benoit Queyron
79ba52317a
limitation des params selon le type de PJ 2024-07-16 10:59:57 +02:00
Benoit Queyron
ec24ce3dad
ajustement test PJ dossier en construction 2024-07-16 10:51:17 +02:00
Paul Chavard
42ed6d7c87
refactor(dossier): use each instead of filter with side effects 2024-07-16 09:03:56 +02:00
Lisa Durand
7630cc39fa
Merge pull request #10595 from demarches-simplifiees/email-mandant-need-confirmation-ldu
ETQ Mandant, je dois confirmer mon mail avant de recevoir des notifs
2024-07-15 14:00:38 +00:00
Lisa Durand
e9f5389f83
resent email if link too old and better style email 2024-07-15 12:00:03 +02:00
Lisa Durand
3eabcb0736
add tests 2024-07-15 11:56:18 +02:00
mfo
b55ed262ed
Merge pull request #10607 from mfo/US/fix-invisible-pj
Amélioration: ETQ usager, je souhaite que les PJs d'un champ qui n'est plus visible ne soient pas soumise a l'administration
2024-07-15 09:36:01 +00:00
mfo
ad8a664fe4
Merge pull request #10608 from mfo/US/fix-regexp-error
Correctif: ETQ administrateur je souhaite qu'un type de champ expression régulière ne bloque pas l'edition de ma demarche
2024-07-15 09:34:16 +00:00
mfo
1cd539297f
feat(dossier.passer_en_construction!): clean up PJ for champs that are not visible [condition is false] 2024-07-15 11:28:59 +02:00
mfo
19268345db
fix(tdc.expression_reguliere): invalid regexp shows nice error message 2024-07-15 09:59:50 +02:00
Benoit Queyron
249da03287
adaptation attestation v2 2024-07-12 20:14:13 +02:00
LeSim
2e13943c5d
Merge pull request #10606 from tchak/menu-combobox
feat(combobox): trigger menu on focus
2024-07-12 18:36:07 +02:00
Benoit Queyron
dbacbd8ae2
ajustement pour PJ attestation 2024-07-12 18:08:51 +02:00
Paul Chavard
00df0305fd
feat(combobox): trigger menu on focus 2024-07-12 17:44:12 +02:00
Paul Chavard
d6e0d83c5d
fix(education): query annuaire education in the browser 2024-07-12 17:32:34 +02:00
Paul Chavard
91b398d039
fix(education): improve some settings to make champ education more reliable 2024-07-12 17:32:34 +02:00
mfo
fe37f1acfe
Merge pull request #10604 from mfo/US/fix-race-with-lock
pan pan
2024-07-12 14:56:33 +00:00
mfo
d5c8b7464c
fix(users.update_email): optimistic 2024-07-12 15:42:50 +02:00
Benoit Queyron
3e4aa0cde3
disabled input with PJ and insert input when PJ is deleted 2024-07-11 17:33:52 +02:00
Eric Leroy-Terquem
f31f70e9b9
feat(routing): configurate routage custom if no simple_routable_types_de_champ 2024-07-11 14:55:03 +02:00
Eric Leroy-Terquem
ea8112b8b3
fix(routing): open routing wizard to all conditionable types 2024-07-11 14:55:03 +02:00
Eric Leroy-Terquem
70d9d72a59
refactor(routing): extract configurate_routage_custom method 2024-07-11 12:17:46 +02:00
Eric Leroy-Terquem
60ff785009
refactor(type de champ): rename routable_types in simple_routable_types 2024-07-11 12:17:46 +02:00
Eric Leroy-Terquem
ad7f01f97b
fix(maintenance task): catch active storage errors 2024-07-11 10:37:00 +02:00
Eric Leroy-Terquem
30da11823b
db(task): create previews for pjs in one week 2024-07-10 17:38:05 +02:00
Eric Leroy-Terquem
c9d74c46d1
db(task): create variants for pjs in one week 2024-07-10 17:38:04 +02:00
Lisa Durand
72f840e393
Merge pull request #10579 from demarches-simplifiees/instructeur-invitation-include-typo-suggestion-ldu
ETQ admin et instructeur, lorsque je gère ma liste d'instructeurs sur une démarche, je suis guidé pour eviter les typos
2024-07-10 14:48:49 +00:00
Benoit Queyron
ceedbe9c45
Merge branch 'main' into bug-input-pj-apres-suppression 2024-07-10 16:35:07 +02:00
Benoit Queyron
9e4b7cc84e
liaison for label/input 2024-07-10 16:33:39 +02:00
Lisa Durand
7539d2ddea
fix specs 2024-07-10 16:11:38 +02:00
mfo
4fce812dea
Merge pull request #10589 from tchak/update-js
chore(npm): update dependencies
2024-07-10 13:27:27 +00:00
Lisa Durand
42633c0012
Merge branch 'main' of github.com:betagouv/demarches-simplifiees.fr into instructeur-invitation-include-typo-suggestion-ldu 2024-07-10 14:58:55 +02:00
Lisa Durand
3b138d5bb7
add confirmation for tiers email 2024-07-10 10:57:26 +02:00
Paul Chavard
6016ec6049
chore(npm): update dependencies 2024-07-09 22:30:13 +02:00
Colin Darie
a020aefa05
fix(expert): demande layout like in instructeurs view 2024-07-09 19:36:59 +02:00
mfo
f3690d8890
Merge pull request #10587 from tchak/refactor-no-validate-on-format
refactor(champ): remove call to validation from value formatting code
2024-07-09 14:31:10 +00:00
Paul Chavard
9468471164
fix(combobox): allow for null emptyFilterKey and fix setSelection 2024-07-09 16:18:39 +02:00
Colin Darie
142ed6f762
fix(cojo): fetch external data when "-01" suffix is typed, even if its deleted later by .to_i 2024-07-09 12:49:22 +02:00
Benoit Queyron
ebea9e3818
find champ by dossier stable_id row_id 2024-07-08 16:09:29 +02:00
Benoit Queyron
4bee40caa4
suppresion de la logique hidden 2024-07-08 16:09:23 +02:00
Benoit Queyron
70c1d30fe4
disabled attribut on input 2024-07-08 16:09:21 +02:00
Benoit Queyron
a2389f14af
annulation des modifs précédentes 2024-07-08 16:09:20 +02:00
Benoit Queyron
bfd455986f
ajout de la condition sur PJ uniquement autorisee 2024-07-08 16:09:18 +02:00
Benoit Queyron
a46ebea4ee
détachement de l'attribut for dans le label d'une PJ avec l'id de l'input 2024-07-08 16:09:09 +02:00
Paul Chavard
133689b4d3
refactor(champ): remove call to validation from value formatting code 2024-07-08 15:39:28 +02:00
Colin Darie
f954d07cf6
Merge pull request #10577 from colinux/alert-procedure-draft
ETQ usager et admin, je suis prévenu au moment de commencer un dossier sur une démarche ou révision en test
2024-07-08 09:43:57 +00:00
Paul Chavard
09db22f81c
Merge pull request #10586 from tchak/combo-distinct-values
fix(combobox): allow non unique lists of options
2024-07-08 09:43:15 +00:00
Colin Darie
3e9cb6f388
Merge pull request #10576 from colinux/secure-cookies
Tech: cookies avec flag `secure` et `httponly`
2024-07-08 09:33:30 +00:00
Colin Darie
ba6fdc4748
feat: /commencer alert about draft procedure 2024-07-08 11:32:37 +02:00
Colin Darie
029db3b1cb
refactor(alert): standard methods order 2024-07-08 11:32:36 +02:00
Colin Darie
06c93f0c0f
Merge pull request #10575 from colinux/fix-demande-alignemnts
ETQ usager, corrige l'alignement de la page demande d'un dossier en construction
2024-07-08 09:31:10 +00:00
Paul Chavard
7ead0a82de
fix(combobox): allow non unique lists of options 2024-07-08 10:27:56 +02:00
mfo
75a6c8b4b6
Merge pull request #10555 from mfo/US/normalize-number-cahmp
tech: Normalisation des champs de type number/decimal pr enlever les espace blanc à la saisi
2024-07-08 07:31:29 +00:00
Paul Chavard
14a1bfa1a3
refactor(js): use superstruct instead of zod 2024-07-05 16:07:41 +02:00
Paul Chavard
c6f1d16451
feat(combobox): reset value on form reset 2024-07-05 09:36:33 +02:00
Paul Chavard
89fb0abe6e
fix(spec): fix system test 2024-07-05 09:36:33 +02:00
Paul Chavard
e2ba14583c
chore(combobox): remove old styles 2024-07-05 09:36:33 +02:00
Paul Chavard
c17351e50a
refactor(combo): use new multicombobox 2024-07-05 09:36:33 +02:00
Paul Chavard
8d6dc625f3
refactor(dossier): instructeur filter 2024-07-05 09:36:33 +02:00
Paul Chavard
dc6af4fb85
refactor(champ): update champ chorus 2024-07-05 09:36:33 +02:00
Paul Chavard
f0f88ef3f0
refactor(champ): update champ drop_down_list 2024-07-05 09:36:33 +02:00
Paul Chavard
cb01f15570
refactor(champ): update champ commune 2024-07-05 09:36:33 +02:00
Paul Chavard
4e8b29b21c
refactor(js): remove old code 2024-07-05 09:36:33 +02:00
Paul Chavard
2f2edfdfc7
refactor(champ): update champ carte 2024-07-05 09:36:33 +02:00
Paul Chavard
f1f1af4e61
refactor(champ): update champ annuaire education 2024-07-05 09:36:33 +02:00
Paul Chavard
79a65a4847
refactor(champ): update champ address 2024-07-05 09:36:33 +02:00
Paul Chavard
df34784d5c
feat(js): implement react aria combobox 2024-07-05 09:36:33 +02:00
Paul Chavard
1e11ad4ce6
chore(js): update coldwired and react 2024-07-05 09:36:33 +02:00
Lisa Durand
8ff2bbbaab
fix specs 2024-07-04 14:41:37 +02:00
Lisa Durand
67be27e18f
add typo detection and suggestion for instructeur adding instructeur 2024-07-04 13:56:02 +02:00
mfo
c50f949acd
feat(Champs::number*): normalize values by stripping spaces. 2024-07-04 09:56:23 +02:00
Lisa Durand
f163c04da6
add typo detection and suggestion for admin adding instructeurs 2024-07-03 16:53:23 +02:00
Lisa Durand
c8906d20b8
add reusable code in concern for typo detection email 2024-07-03 16:09:34 +02:00
Colin Darie
990dfbcf9e
chore(cookies): cookies http only 2024-07-03 11:54:10 +02:00
Colin Darie
1eb0bdb4ae
chore: cookies with "secure" flag (only transmitted through https) 2024-07-03 11:18:16 +02:00
Colin Darie
ca55fc9c40
style(demande): fix horizontal alignements en construction 2024-07-03 10:24:06 +02:00
Colin Darie
68cf6b58a3
Merge pull request #10574 from colinux/fix-experts-invits
ETQ admin, fix l'invitation d'experts n'ayant pas de compte DS
2024-07-02 17:33:11 +02:00
Colin Darie
b3ccfc16c4
Merge pull request #10547 from colinux/mandatory-by-default
ETQ admin, un nouveau champ est obligatoire par défaut
2024-07-02 14:26:29 +00:00
Colin Darie
a53fc0fac9
fix(admin): invitation for experts not having an account 2024-07-02 16:15:24 +02:00
Colin Darie
b2514dd16c
Merge pull request #10567 from colinux/fix-hardcoded-name
Tech: corrige le nom de l'application hardcodé dans un email
2024-07-02 12:36:19 +00:00
Colin Darie
5e25547b7b
fix(attestation): don't delete v1 published when building a v2 2024-07-02 14:10:23 +02:00
Paul Chavard
1bc714a81a
feat(manager): export administrators and instructeurs list 2024-07-02 11:07:39 +02:00
Lisa Durand
337689333e
Merge pull request #10559 from demarches-simplifiees/change-button-print-to-download-for-user-ldu
ETQ usager, je veux pouvoir télécharger mon dossier sans avoir à passer par le bouton "imprimer"
2024-07-02 08:54:16 +00:00
Eric Leroy-Terquem
5397c84918
clean: remove failing maintenance tasks 2024-07-02 09:58:28 +02:00
Eric Leroy-Terquem
2b0c53cd82
Merge pull request #10565 from demarches-simplifiees/add-demarches-publiees-page-in-manager
ETQ superadmin, je peux accéder aux informations essentielles des dernières démarches publiées
2024-07-02 07:46:30 +00:00
Lisa Durand
8b4e12a407
replace wording, use download instead of print 2024-07-01 17:20:55 +02:00
Colin Darie
867e4105cb
Merge pull request #10561 from colinux/hide-demande-xl-sidebar
ETQ instructeur, le sommaire sur la page demande s'affiche uniquement sur les écrans XL
2024-07-01 10:10:48 +00:00
mfo
896ee76d74
Merge pull request #10524 from mfo/US/expert-invitation-by-admin
ETQ administrateur, lorsque je gère ma liste d'expert invités sur une démarche, je suis guidé pour eviter les typos
2024-07-01 09:59:15 +00:00
Colin Darie
eb6fafa400
Merge pull request #10568 from colinux/fix-helpscout-limit-int
Tech (helpscout): corrige encore plus mieux le rate limiting
2024-07-01 09:14:13 +00:00
mfo
77bf93dfc2
feat(experts_procedures#create): link to typo errors 2024-07-01 11:01:38 +02:00
Colin Darie
327ebf106f
fix(mailer): hardcoded application name 2024-07-01 10:55:58 +02:00
Colin Darie
0adadf77fa
fix(helpscout): rate limit compared to integer
Signed-off-by: Colin Darie <colin@darie.eu>
2024-07-01 10:54:31 +02:00
mfo
e6a3f210d4
fix(experts_procedures#create): ensure to reload expert list after addition 2024-07-01 10:46:06 +02:00
Lisa Durand
159cc942f6
Merge pull request #10549 from demarches-simplifiees/new-instructeur-need-mail-confirmation-ldu
ETQ nouvel instructeur, je dois confirmer mon mail
2024-07-01 08:45:57 +00:00
mfo
ced634295e
clean(tech): EmailChecker, use class method, not instance 2024-07-01 10:40:55 +02:00
Colin Darie
d36d7b0d48
chore(instructeurs): sections summary only on xl screens 2024-07-01 10:32:44 +02:00
Eric Leroy-Terquem
0a70c6b90f
manager: add a page for demarches publiees 2024-06-28 18:20:05 +02:00
Corinne Durrmeyer
0d744a0eb7
Merge pull request #10538 from demarches-simplifiees/a11y-fix-unordered-list
Correction des listes mal structurées
2024-06-28 09:57:28 +00:00
Corinne Durrmeyer
e2dfabd61a
Merge pull request #10563 from demarches-simplifiees/a11y-fix-legal-notice-page
Améliore l'accessibilité des mentions légales
2024-06-28 09:56:36 +00:00
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