Commit graph

12579 commits

Author SHA1 Message Date
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