Commit graph

12481 commits

Author SHA1 Message Date
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
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
LeSim
2e13943c5d
Merge pull request #10606 from tchak/menu-combobox
feat(combobox): trigger menu on focus
2024-07-12 18:36:07 +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
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
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