Lisa Durand
dc46430c40
display link to delete PJ in instruction button
2023-03-29 10:26:42 +02:00
Lisa Durand
3137f508ed
make cancel button to reset form for instruction button
2023-03-29 10:26:42 +02:00
Kara Diaby
12e0b232dc
Garde les tags dans les params lors de la pagination
2023-03-28 21:47:02 +02:00
Martin
c6e9674de2
correctif(export.pdf): ETQ expert, lorsque j'exporte un dossier au format PDF, celui ci contenient les avis non confidentiels ainsi que mes avis
2023-03-28 17:16:34 +02:00
Martin
4f9c45c489
bug(export.pdf): ETQ expert, lorsque j'exporte un dossier, celui ci devrait contenir les avis non confidentiels ainsi que mes avis
2023-03-28 16:55:12 +02:00
Paul Chavard
dc605015b3
feat(commune): chose commune by postal code
2023-03-28 16:34:19 +02:00
Colin Darie
4865fb368f
fix(avis): don't list question_answer radios on empty question
2023-03-28 15:38:13 +02:00
Colin Darie
b26f477fe1
Merge pull request #8810 from demarches-simplifiees/ask-avis-remove-specific-css-v2
...
[UX] améliorer UX de la demande d'avis - partie 2 CSS
2023-03-27 14:02:13 +00:00
Lisa Durand
ac886d011a
merge form view expert and instructeur
2023-03-27 14:59:49 +02:00
Lisa Durand
0424f9dff8
merge avis_list view expert and instructeur
2023-03-27 14:59:49 +02:00
Lisa Durand
9dc3ef7368
remove specific css for avis and fix broken display in list of avis for instructeurs
2023-03-27 14:59:49 +02:00
Kara Diaby
2f9c375fad
layout
2023-03-27 14:14:18 +02:00
Colin Darie
1a9f9a5803
fix(accessibility-statement): dynamic content depending of instance
2023-03-27 11:36:13 +02:00
Julie Salha
ed3b2cca6f
update content statement
2023-03-27 10:39:56 +02:00
Julie Salha
5a237333eb
add structure static page accessibility statement
2023-03-27 10:37:32 +02:00
Colin Darie
9a38da09ed
Merge pull request #8762 from demarches-simplifiees/8589-legal-notice
...
Accessibilité: internalise la page de mentions légales
2023-03-27 08:12:34 +00:00
Lisa Durand
d079f3ac98
Merge pull request #8770 from demarches-simplifiees/ask-question-in-avis-ux-part
...
[UX] améliorer UX de la demande d'avis
2023-03-24 10:50:33 +00:00
Colin Darie
6d3c0de2ab
fix(legal): use constant url
2023-03-23 19:01:19 +01:00
Chaïb Martinez
c1c083654f
Change text
2023-03-23 16:49:48 +01:00
Lisa Durand
aa9c94a20e
fix display in view and export if answer is 'no'
2023-03-22 11:56:52 +01:00
Paul Chavard
0eceed4126
Merge pull request #8793 from tchak/chore-update-dependencies
...
chore(npm): update dependencies
2023-03-22 10:19:22 +00:00
Paul Chavard
234846eb33
graphql(playground): build with vite
2023-03-22 10:19:56 +01:00
Lisa Durand
a01564adcd
create component for sidemenu and add locales for raw text
2023-03-22 09:30:26 +01:00
Lisa Durand
4a2982dc37
fix tests and linter
2023-03-22 09:30:26 +01:00
Lisa Durand
c1b5daadef
remove unused view and routes from instructeurs avis
2023-03-22 09:30:26 +01:00
Lisa Durand
d21ff7a762
add sidemenu for instructeurs instead of links at top of page
2023-03-22 09:30:26 +01:00
Lisa Durand
79552b496b
add 3rd view for expert - form to ask avis to another expert
2023-03-22 09:30:26 +01:00
Lisa Durand
c51e6aa2e6
split form and avis answers in 2 views for experts and add sidemenu
2023-03-22 09:30:26 +01:00
Lisa Durand
603d66e020
split form and avis answers in 2 views for instructeurs
2023-03-22 09:30:26 +01:00
Colin Darie
08c68ef970
feat(manager): exports dashboard
2023-03-22 09:29:09 +01:00
Colin Darie
ab84222ce4
fix(manager): archives must not be downloadable from manager
2023-03-22 09:29:09 +01:00
Colin Darie
45eb53c26a
chore(legal): rename legal notice controller to a StaticPages
2023-03-21 12:44:04 +01:00
Colin Darie
3a9b2d99e3
Merge pull request #8776 from colinux/fix-deadlocks
...
Fix: corrige peut-être des deadlocks postgresql sur le champ SIRET
2023-03-21 11:11:46 +00:00
Julie Salha
c71a41de13
update DSFR styles
2023-03-21 12:08:01 +01:00
Paul Chavard
b750be75d6
Merge pull request #8782 from tchak/fix-champ-carte-too-many-features
...
fix(dossier): do not show features list if more then 20
2023-03-21 10:18:05 +00:00
Julie Salha
f181882c85
update links legal notices
2023-03-21 10:25:51 +01:00
Julie Salha
8523d310bf
update DSFR styles
2023-03-21 10:05:50 +01:00
Julie Salha
d43b4badc4
fix PR URL and DSFR styles
2023-03-21 10:05:50 +01:00
Julie Salha
24a744537f
remove custom css
2023-03-21 10:05:50 +01:00
Julie Salha
92c79b32b9
fix PR indentation(4)
2023-03-21 10:05:50 +01:00
Julie Salha
7af378688e
add static page legal notices
2023-03-21 10:05:50 +01:00
Paul Chavard
281ee20af9
fix(dossier): do not show features list if more then 20
2023-03-20 18:30:00 +01:00
simon lehericey
1ffeaf6c34
feat(siret): add copy shortcut on siret
2023-03-20 17:45:58 +01:00
Colin Darie
f8d075c187
fix(siret): remove message "nous récupérons…" without siret
2023-03-20 14:32:14 +01:00
krichtof
da49497f0b
Merge pull request #8726 from demarches-simplifiees/disable-otp-4-super-admin
...
desactive le 2FA suivant la config
2023-03-20 10:34:27 +00:00
Lisa Durand
893ee5801e
Merge pull request #8743 from demarches-simplifiees/ask-question-in-avis
...
[instructeurs] Je peux poser une question dans une demande d'avis
2023-03-17 15:10:51 +00:00
Colin Darie
397b5ac489
Merge pull request #8765 from colinux/pdf-timeout-carte-generation
...
Fix dossier/pdf: remplace les feature collections du champ carte par les libellés de sélection utilisateur
2023-03-16 15:40:00 +00:00
simon lehericey
ca63cc34ab
feat(token depreciation): add mail alert
2023-03-16 16:16:45 +01:00
Colin Darie
5231ad8d7d
fix(dossier/pdf): champ carte with geo area labels instead of future collection
...
Parfois des geo areas sont extrêmement détaillés avec des milliers de points,
et empêchaient la génération de PDF avec l'ensemble des feature
collections.
A la place on liste les labels de type "un ligne de 85 m"
2023-03-16 15:38:21 +01:00
Lisa Durand
215c989a6c
add question_answer in pdf and change local for optional field
2023-03-16 11:32:05 +01:00
Lisa Durand
ee2f795dec
pr feedbacks - add validation for yes/no answer - improve locales use
2023-03-16 11:32:05 +01:00
Lisa Durand
38c84115e6
reorganise file order for more consistency
2023-03-16 11:32:05 +01:00
Lisa Durand
1cbafd1e0b
remove unused view instruction for instructeur
2023-03-16 11:32:05 +01:00
Lisa Durand
0679fdc55f
delete duplicated form file
2023-03-16 11:32:05 +01:00
Lisa Durand
a4a99a72ec
first step to add question in experts avis
2023-03-16 11:32:05 +01:00
Colin Darie
b628cf85cd
feat(siret): render siret formatted like INSEE
2023-03-15 12:43:56 +01:00
Colin Darie
37afd142cb
fix(entreprise): don't leak entreprise name if it's not diffusable
2023-03-15 12:43:56 +01:00
Colin Darie
fc0f9ce193
Merge pull request #8757 from colinux/manager-save-click-to-admin
...
Manager: liens directs vers les pages ETQ admin et ETQ instructeur d'une démarche
2023-03-14 15:55:01 +00:00
Paul Chavard
cbaa77fca7
feat(annotations): activate autosave
2023-03-14 15:22:13 +01:00
Lisa Durand
2554f72668
remove useless class in html
2023-03-14 11:04:19 +01:00
Colin Darie
219c50ccaa
feat(manager): direct link to procedure admin & instructeur pages
2023-03-13 11:01:14 +01:00
Lisa Durand
17c8450450
adjust badge alignement for users dossiers
2023-03-10 17:54:10 +01:00
mfo
df05c4fbc5
Merge pull request #8754 from mfo/US/fix-duree-conservation-dans-ds
...
correctif(procedure.maj): quand la duree conservation dans ds est supérieur a 12, on ne pouvait plus mettre a jour la procedure
2023-03-10 09:28:31 +00:00
Lisa Durand
1f03130d52
Merge pull request #8728 from demarches-simplifiees/revoke-usager-transfert-demande
...
[usager] peut révoquer une demande de transfert
2023-03-10 09:21:59 +00:00
Martin
0b3f279012
correctif(procedure.maj): utilise procedure.max_duree_conservation_dossiers_dans_ds plutot que duree_conservation_etendue_par_ds pour contraindre la saisie du champs duree_conservation_dossiers_dans_ds
2023-03-10 10:18:29 +01:00
Colin Darie
88efef0718
Merge pull request #8749 from colinux/fix-tags-persistence
...
Administrateur: ne supprime pas les tags quand on n'interagit pas avec la liste de sélection
2023-03-09 15:25:15 +00:00
Lisa Durand
507d01dd44
use dsfr table for transfer receiver view
2023-03-09 14:58:44 +01:00
Lisa Durand
3d5bf40c0f
allow transfer sender to revoke a transfer
2023-03-09 14:57:59 +01:00
Colin Darie
c112018ec3
fix(administrateur): tags persistence when non interacting with tags combobox
2023-03-08 11:27:31 +01:00
Eric Leroy-Terquem
9f0f5b0dc5
feat(groupe instructeur): allow import of many groups when procedure is not routed yet
2023-03-08 10:48:02 +01:00
Lisa Durand
d65050ff44
Merge pull request #8701 from demarches-simplifiees/improve-instruction-dropdown
...
[instructeurs] amelioration UX du bouton d'instruction
2023-03-06 10:45:00 +00:00
Kara Diaby
cb0417aad4
Possibilité de selectionner plusieurs tags dans la page toutes les demarches
2023-03-03 11:50:47 +01:00
Lisa Durand
99c5a1f298
use DSFR classes for btn and form inside the dropdown
2023-03-02 16:34:58 +01:00
Lisa Durand
7130ea7e99
fix specs
2023-03-02 16:34:58 +01:00
Lisa Durand
a4932a749c
improve UX of instruction dropdown menu
2023-03-02 16:34:58 +01:00
Damien Le Thiec
687c05e6d1
Merge pull request #8622 from demarches-simplifiees/fix/stored_query_issue
...
Dossier prefill get without stored queries
2023-03-02 14:01:04 +00:00
Lisa Durand
54f17ad3c7
Merge pull request #8630 from demarches-simplifiees/harmonize-actions-for-instructeurs
...
[instructeurs] Uniformiser les actions pour les instructeurs sur la page tableau et dossier
2023-03-02 13:28:23 +00:00
Paul Chavard
e89e31c66f
Merge pull request #8725 from mfo/US/fix-change-pj
...
correctif(admin/procedures#champs): ajoute le formulaire pour supprimer une PJ
2023-03-02 13:01:32 +00:00
Martin
81c389a465
correctif(admin/procedures#champs): ajoute le formulaire pour supprimer une PJ
2023-03-02 13:51:00 +01:00
Christophe Robillard
6af01077b6
disable 2FA according to config
...
2FA is disabled for superadmin unless `SUPER_ADMIN_OTP_ENABLED` is equal
to `enabled` (default value)
2023-03-02 13:47:48 +01:00
Eric Leroy-Terquem
f6c4986e86
feat(groupe instructeur mailer): do not notify group when instructeurs removed
2023-03-02 09:46:58 +01:00
Paul Chavard
ef970dbfe5
Merge pull request #8716 from tchak/feat-number-input
...
fix(form): disable scroll wheel on number inputs
2023-03-01 10:31:38 +00:00
Paul Chavard
983c533eef
fix(form): disable scroll wheel on number inputs
2023-03-01 11:11:37 +01:00
Damien Le Thiec
8a7cb3f1fe
Merge branch 'main' into fix/stored_query_issue
2023-03-01 10:22:40 +01:00
Colin Darie
ee6e3911cd
Merge pull request #8712 from colinux/fix-annotations-privees-auto-numbering
...
fix(annotations-privees): initialisation de la numérotation automatique
2023-02-28 17:53:22 +00:00
Colin Darie
c05cc4a42d
fix(annotations-privees): auto counter was not properly enabled
2023-02-28 17:49:39 +01:00
Paul Chavard
47a8d33d85
refactor(progress_bar): should be a component
2023-02-28 16:36:18 +01:00
Julie Salha
af31e097fb
Add a11y attributes progressbar
...
Peux-tu également prévoir une traduction pour l'attribut aria-label stp ? ("File upload").
N'hésite pas si tu as des questions.
2023-02-28 16:36:18 +01:00
Paul Chavard
97f0df0598
refactor(progress): move progress bar markup to haml
2023-02-28 16:36:18 +01:00
Paul Chavard
c339f609c0
fix(demarches): improuve turbo refresh on demarches page
2023-02-28 14:05:23 +01:00
krichtof
dee499d386
Merge pull request #8706 from demarches-simplifiees/all_demarches_even_without_zones
...
liste toutes les démarches, même celles non associées à des zones
2023-02-28 10:58:07 +00:00
sebastiencarceles
2ae2d99e93
fix communes: all possible values
2023-02-28 08:36:43 +01:00
Lisa Durand
07bb27a3af
add repasser_en_instruction to dossiers expirants
2023-02-27 17:57:46 +01:00
Colin Darie
da5618b9fc
Merge pull request #8673 from colinux/translate-help-dropdown
...
Accessibilité: traduit les menus contextuels d'aide, normalise l'affichage et les icônes (dsfr)
2023-02-27 16:40:27 +00:00
Colin Darie
d7880f7e58
feat(dossier/pdf): header sections numbering
2023-02-27 17:29:22 +01:00
Colin Darie
3de089d6c7
fix(conditional): dynamic title counters using css
...
Closes #8086
2023-02-27 17:29:22 +01:00
Colin Darie
a931bea712
feat(a11y/i18n): translate skiplinks
2023-02-27 17:23:43 +01:00
Colin Darie
7a67345d49
refactor(help_dropdown): fix font sizes & use dsfr icons
2023-02-27 17:23:43 +01:00
Colin Darie
11fb3a5ca8
fix(i18n): translate contextual procedure help dropdown
...
Cf #8665
2023-02-27 17:23:43 +01:00
Paul Chavard
7076d6d99e
fix(turbo): rerender only top part of the header
2023-02-27 16:06:11 +01:00
sebastiencarceles
39545671f3
refacto: better error management
2023-02-27 14:35:11 +01:00
Lisa Durand
636e6aa6cb
fix broken tabs with turbostream
2023-02-27 14:30:10 +01:00
sebastiencarceles
30eef3e128
review: detailled error message
2023-02-27 13:45:16 +01:00
Sébastien Carceles
88136daf14
refactor siret controller to use that new ability
2023-02-27 13:39:31 +01:00
Damien Le Thiec
67bbacbb05
Merge pull request #8513 from demarches-simplifiees/feature/prefill_repetible
...
Prefill repeatable
2023-02-27 09:58:53 +00:00
Lisa Durand
6487e2c27e
implement turbostream back for state change in dossier view
2023-02-24 17:54:53 +01:00
Christophe Robillard
4e8a6f6b11
show published_at only if exist
2023-02-24 17:45:01 +01:00
Martin
ff9bb8a3cc
correctif(annotations-privee): ajout du delete form component pour supprimer une annotation privee
2023-02-24 10:19:41 +01:00
Lisa Durand
b03748d3dd
fix actions rules for archived and expirant dossiers
2023-02-23 17:03:55 +01:00
Lisa Durand
76947a5ccf
add mention if user_deleted and move dossier info back to info_generales
2023-02-23 16:05:43 +01:00
Lisa Durand
90a7ecef52
rename state button to instruction button
2023-02-23 16:05:38 +01:00
Martin
c00c4936b2
correctif(a11y): traite aussi les avis d'expert avec la nouvelle methode de rendu des textes saisis par des admin/instructeur/expert
2023-02-23 15:23:20 +01:00
Martin
8a44e6a03c
correctif(a11y): #8179 , quand la messagerie est desactivée. supprime les br et utilise le nouveau mode de rendu pour afficher les horaires saisies par l'administration
2023-02-23 15:23:20 +01:00
Martin
a68d89b183
correctif(a11y): #8168 , dans le footer d'une procedure, ne pas afficher pas la list-item horaire/telephone si les deux sont vides. Sinon afficher uniquement les informations disponibles
2023-02-23 15:23:20 +01:00
Martin
571268dd77
correctif(a11y): #8168 , ajout d'une option pour forcer l'usage d'une classe en fonction dy type de balise rendu par SimpleFormatComponent
2023-02-23 15:23:20 +01:00
Martin
c8e9b2f008
correctif(a11y): #8105 , pour les callout, utilise un div wrappant du contenu html
2023-02-23 15:23:20 +01:00
Martin
4fd799390b
correctif(a11y): #8107 (et d'autres), utilise le nouveau composant pour rendre les textes saisies par les admins accessible
2023-02-23 15:23:20 +01:00
Eric Leroy-Terquem
58ec1b1688
Merge pull request #8681 from E-L-T/notify-added-instructeurs-from-import
...
feat(instructeurs import): notify added instructeurs from import
2023-02-23 10:12:20 +00:00
Eric Leroy-Terquem
d516d2a3eb
feat(groupe instructeur): add a confirm modal before import
2023-02-23 10:56:55 +01:00
Lisa Durand
8d44c327f7
add 2 icons and make delete button in red
2023-02-23 10:56:33 +01:00
Eric Leroy-Terquem
127f86e8ae
feat(flash messages): add a helper method to keep link when sanitizing
2023-02-23 10:26:46 +01:00
Damien Le Thiec
731cd56594
Merge branch 'main' into feature/prefill_repetible
2023-02-22 19:49:06 +01:00
Damien Le Thiec
fbe4fe251a
Fix format prefill repetition
2023-02-22 19:32:25 +01:00
Lisa Durand
fddcce8b7b
fix specs
2023-02-22 18:17:06 +01:00
Eric Leroy-Terquem
25df48f255
feat(groupe_instructeurs): import instructeurs in unrouted procedure with a proper CSV
2023-02-22 09:49:26 +01:00
Colin Darie
8a3bb0c38e
fix(instructeurs): combobox layout in "personnes impliquees" tab
...
Closes #8527
2023-02-21 18:20:30 +01:00
Martin
f6fb1ceca5
correctif(attachement_edit): ajoute le cmmposant <form> pour supprimer un attachment via le nouveau <button>
2023-02-21 16:41:18 +01:00
Christophe Robillard
9bab4f9d76
display dossiers count for each procedure
2023-02-21 10:06:07 +01:00
Martin
eca44ce60e
correctif(a11y): il est recommandé d'utilser un boutton pour la suppression d'un element. le bouton etant deja dans un form, nous ne pouvons pas utiliser le button_to. Extraction d'un form pour soumettre la suppression des pjs par des input pointant sur ce form
...
Update app/components/attachment/edit_component/edit_component.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
Update app/views/shared/dossiers/_edit.html.haml
Co-authored-by: Paul Chavard <github@paul.chavard.net>
amelioration(attachment.destroy): force l'usage de turbo
2023-02-21 08:22:50 +01:00
Eric Leroy-Terquem
daef99109e
fix(groupe instructeur mailer): add translation for Bonjour
2023-02-20 15:59:42 +01:00
Eric Leroy-Terquem
7b12ec3ffe
refactor(groupe instructeur mailer): move translations in dedicated files
2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
343cb5fce6
feat(groupe instructeur mailer): add emailing to added instructeurs
2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
7c86df9d35
clean(groupe instructeur mailer): remove unused view
2023-02-20 15:40:32 +01:00
Damien Le Thiec
dce4c84f9a
Merge branch 'main' into feature/prefill_repetible
2023-02-16 17:08:30 +01:00
Colin Darie
c968aa63d3
fix(a11y/password form): describedby rel with input and password rules
2023-02-16 16:15:40 +01:00
Colin Darie
31c99e935a
refactor(admin): migrate password form to DSFR components
2023-02-16 16:15:40 +01:00
Colin Darie
4f7839039d
refactor(password-complexity): as component for better form integration
2023-02-16 16:15:40 +01:00
Colin Darie
1f930dfe23
feat(user): can show password when editing password
2023-02-16 16:15:40 +01:00
Julie Salha
0e5deda86c
add scrolling functionnality for description procedure
2023-02-16 11:44:26 +01:00
Eric Leroy-Terquem
a46faf8cdf
feat(groupe instructeur mailer): make two kind of notifications for removed instructeur
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
5be58c8223
refactor(groupe instructeur mailer): rename mailer methods
2023-02-16 10:37:04 +01:00
Eric Leroy-Terquem
cbf072961c
feat(groupe instructeur mailer): add emailing to removed instructeurs
2023-02-16 10:37:04 +01:00
Martin
0fe027f408
a11y(main_menu): utilise aria-current=true plutot que avec page
2023-02-16 09:45:32 +01:00
Damien Le Thiec
4876d583b6
Merge branch 'main' into feature/prefill_repetible
2023-02-15 17:39:19 +01:00
Colin Darie
1de936e1d6
fix(procedures/all): table layout issue
2023-02-15 15:33:50 +01:00
Martin
c45f15ff61
correctif(procedure/all.xsls): deconnecte le lien de telechargement de toutes les demarche de turbo
2023-02-15 11:26:21 +01:00
Damien Le Thiec
2533ca50d4
Merge branch 'main' into feature/prefill_repetible
2023-02-15 11:07:56 +01:00
Lisa Durand
b7a5f8bf7f
extract actions and info from dropdown
2023-02-14 17:57:50 +01:00
sebastiencarceles
a07446da6c
♻️ rename method for clarity
2023-02-14 11:45:39 +01:00
Julie Salha
81bc898cfb
optimization burger menu dsfr
2023-02-14 11:09:36 +01:00
Damien Le Thiec
802a23057b
Microtest dossier prefill get without stored queries
2023-02-13 18:15:24 +01:00
Lisa Durand
58c287dad9
instructeur header dossier view restructuration
2023-02-13 15:41:18 +01:00
Sébastien Carceles
1a72b80f8f
fix: "remove" a champ to prefill ( #8612 )
...
* fix: "remove" a champ to prefill
Removing a champ to prefill on /preremplir used to fail, because of a
collusion (having the same form multiple times on un page looks like a
bad idea, when it comes to multiple input fields).
* fix specs
2023-02-13 08:17:22 +00:00
Damien Le Thiec
dbb92e7fd3
Merge branch 'main' into feature/prefill_repetible
2023-02-11 22:40:56 +01:00
Damien Le Thiec
a4d707f942
Improve format prefill possible_values (tests missing)
2023-02-09 18:08:51 +01:00
sebastiencarceles
3404b5aa0b
review: wordings
2023-02-09 13:51:52 +01:00
sebastiencarceles
b3af9108cb
harmonize get and post: go to prefilled file
2023-02-09 13:51:52 +01:00
Colin Darie
e626eb69ce
feat(admin): import groupe instructeurs csv when procedure is closed
2023-02-09 11:17:13 +01:00
Colin Darie
8a859402ad
chore(mailer): setup Services Publics+ by env var so instances can have their owns
2023-02-09 10:47:53 +01:00
Colin Darie
d78c75620a
chore(mailer): services publics + only for Termine "states"
2023-02-09 10:47:53 +01:00
Colin Darie
82ad6346cc
chore(service-plus): replace svg by png, micro improve layout for clients compat
2023-02-09 10:47:53 +01:00
Lisa Durand
dfb1863d92
add logo service plus
2023-02-09 10:47:53 +01:00
Lisa Durand
2396ff3355
add service plus in notification emails
2023-02-09 10:47:53 +01:00
Kara Diaby
f212fa1008
Permet de cloner une démarche depuis la page toutes les démarches
2023-02-09 08:28:30 +00:00
Julie Salha
9f61b0db19
remove last commit
2023-02-07 10:34:28 +01:00
Julie Salha
cf99c0450d
remove aria-label attribute burger menu
2023-02-07 10:31:57 +01:00
Martin
d2cd2d2b7b
amelioration(a11y): upload, quand on supprime un fichier, refocus sur l'input d'upload. quand on ajoute un fichier, refocus sur le fichier ajouté
2023-02-06 17:19:11 +01:00
Martin
c3fd555e6c
amelioration(a11y.invites): focus sur la liste des invitations lorsqu'on ajoute un invite a un dossier
2023-02-06 17:19:11 +01:00
Paul Chavard
4ec9a4be37
fix(dossier): do not crash when a repetition is empty
2023-02-06 11:53:32 +01:00
simon lehericey
a1487e9923
fix: allow a tag in various admin text
2023-02-06 11:01:28 +01:00
Lisa Durand
f1a378bf03
dont'use DSFR component - add a line inside the table instead
2023-02-03 15:13:06 +01:00
Lisa Durand
1d1f5ad567
improve translation
2023-02-03 15:13:06 +01:00
Lisa Durand
9aa6c55d1f
replace partial by component
2023-02-03 15:13:06 +01:00
Lisa Durand
1a79eb9717
change checkbox tag to hidden field
2023-02-03 15:13:06 +01:00
Lisa Durand
93a85ca4b0
add limit of 500 dossiers
2023-02-03 15:13:06 +01:00
Lisa Durand
5802f3f7cf
injected dossier_ids in front
2023-02-03 15:13:06 +01:00
Lisa Durand
4d1f164c43
be more specific on the count of dossiers we display in the table
2023-02-03 15:13:06 +01:00
mfo
48503e0743
Merge pull request #8533 from colinux/feat-dolist-send-mail-api
...
Email: API Dolist pour envoyer des emails transactionnels
2023-02-03 14:36:53 +01:00
Julie Salha
31e4a7fe19
Merge branch 'main' into a11y-8225-navigation
2023-02-03 09:34:03 +01:00
Julie Salha
b39d658c06
fix translations tabs menu
2023-02-03 09:17:16 +01:00
Julie Salha
0e4a332706
Update app/views/administrateurs/procedures/index.html.haml
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-02-03 08:17:08 +01:00
Colin Darie
6d675579a5
feat(reset-pwd): warn users token link will override previous links
2023-02-02 22:15:10 +01:00
Colin Darie
a221c57fbc
feat(manager): resend reset password instructions
2023-02-02 22:15:10 +01:00
Julie Salha
c1ed6aa177
optimization burger menu
2023-02-02 16:46:46 +01:00
Julie Salha
2db959531a
optimization navigation accessibility
2023-02-02 16:04:42 +01:00
Colin Darie
7fa966548c
fix(mailer): missing procedure logo for DossierMailer
2023-02-02 15:58:32 +01:00
Eric Leroy-Terquem
05a61d0cf2
fix(instructeurs): breadcrumbs with right wordings and links
2023-02-01 17:52:37 +01:00
Paul Chavard
3ad5e7d3b9
fix(tags): can edit tags on published demarches
2023-02-01 11:11:04 +01:00
Colin Darie
fa0f72aaba
feat(procedure): hide estimated fill duration when super admin disabled it
...
Closes #8466
2023-02-01 11:02:55 +01:00
Eric Leroy-Terquem
b306dea5cf
refactor(avis): rename revive by remind
2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
2475bb1098
feat(avis): add remind text in view
2023-02-01 09:55:46 +01:00
Damien Le Thiec
d7b01255fe
Merge branch 'main' into feature/prefill_repetible
2023-01-31 16:39:00 +01:00
Damien Le Thiec
20ba96ba3c
POST working with prefill query example for repeating fields
2023-01-31 14:54:23 +01:00
Martin
3fbe44b09a
correctif(typo): remplace le dernier usage de morph par replace
2023-01-30 16:38:53 +01:00
sebastiencarceles
bad7b24bf2
fix: add title to new tab link
2023-01-30 15:17:59 +01:00
Sébastien Carceles
d3e0046e9b
prefill: open possible values in a new tab ( #8524 )
2023-01-30 14:55:46 +01:00
Julie Salha
1175edd64e
fix PR index
2023-01-30 12:46:04 +01:00
Julie Salha
a59f3a142e
fix PR index
2023-01-30 12:46:04 +01:00
Julie Salha
160520c406
contact standardize links
2023-01-30 12:46:04 +01:00
Julie Salha
d059e3d5ff
sign in remove tags used only for presentation
2023-01-30 10:24:22 +01:00
Julie Salha
59980fa3dd
update html tags card-title
2023-01-30 10:07:20 +01:00
Julie Salha
2a9a79a673
footer remove br tags
2023-01-26 17:41:02 +01:00
Julie Salha
5f3ac1c61c
update structure search engine
2023-01-26 14:11:21 +01:00
Martin
1b1bd5b57d
fixup! amelioration(app/views/instructeurs/procedures/_dossiers_filter.html.haml): passe le popover des filtres des dossiers sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
927d6791e7
amelioration(app/views/users/dossiers/show/_print_dossier.html.haml): passe le dropdown de telechargement d'un dossier en un simple bouton
2023-01-26 11:13:23 +01:00
Martin
6bdbf565cc
amelioration(app/views/users/dossiers/_identity_dropdown.html.haml): passe le menu de gestion d'identité d'un dossier usager au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
b3e3f083b8
amelioration(app/views/shared/help/_help_dropdown_procedure.html.haml
...
): passe le menu d'aide sur une procedure par un usager au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
34c5bb70e7
amelioration(app/views/shared/help/_help_dropdown_instructeur.html.haml): passe le menu d'aide instructeur au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
3dc4a51bf3
amelioration(app/views/shared/help/_help_dropdown_dossier.html.haml): passe le menu d'aide sur un dossier au nouveau menu
2023-01-26 11:13:23 +01:00
Martin
2c8781ff98
amelioration(app/views/invites/_dropdown.html.haml): passe le popover d'invitation sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
e53d350a6f
amelioration(app/views/instructeurs/procedures/show.html.haml): passe le popover de la personnalisation du tableau des dossiers sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
1095957fb9
amelioration(views/instructeurs/procedures/_dossier_actions.html.haml): passe le popover de gestion d'un dossier sur la vue des dossiers sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
6ff81a6680
amelioration(views/instructeurs/dossiers/_state_button.html.haml): passe le popover d'instruction sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
2805714931
amelioration(instructeurs/dossiers/_header_actions): passe les menu d'impression et de telechargement sur le nouveau menu
2023-01-26 11:13:23 +01:00
Martin
9a12b97424
amelioration(expert/avis/header): passe d'un dropdown avec un element pour telecharger le dossier au composant dsfr de telechargement de fichier
2023-01-26 11:13:23 +01:00
Martin
2be0f5aa99
amelioration(menu): extraction des menu dans un composant ruby pour ne pas dupliquer les changements aria partout ds la codebase
2023-01-26 11:13:23 +01:00
Colin Darie
26236a11ba
feat(autosave): conditional spinner on all manager champs
2023-01-26 09:06:30 +01:00
Colin Darie
587a4c4d95
style(spinner): replace legacy spinner
2023-01-26 09:06:30 +01:00
Colin Darie
3a48f201ee
style(autosave/conditional): new a11y spinner proposition
2023-01-26 09:06:30 +01:00
Colin Darie
7c13449b4f
feat(conditional): show loader during autosave when other champs are dependent of it
2023-01-26 09:06:30 +01:00
Paul Chavard
5b9e534b3f
chore(turbo): morph all the things
2023-01-25 13:45:26 +01:00
Julie Salha
4fc6cb0c34
Merge branch 'main' into a11y-8181-messaging-input-control
2023-01-25 12:20:01 +01:00
Julie Salha
43797029af
Merge branch 'main' into a11y-8151-update-style-link-sens-message
2023-01-24 16:34:33 +01:00
Julie Salha
2d61d94a46
add label textarea message
2023-01-24 16:31:46 +01:00
Julie Salha
82f049b49c
update style link dsfr
2023-01-24 15:00:26 +01:00
Julie Salha
4cd9f641c4
update styles actions buttons list folders
2023-01-24 14:32:00 +01:00
mfo
84a667b8bd
Merge pull request #8454 from tchak/feat-epci
...
feat(types de champ): add EPCI champ
2023-01-23 16:56:18 +01:00
Sébastien Carceles
92c769de4f
fix(prefill): code pays display ( #8477 )
...
* show translated text AND possible values
* show less possible values
* show countries possible values
2023-01-23 14:08:20 +00:00
Martin
a73c3d8bdf
fix(attestation): re-essaie une fois de telecharger le logo/signature au moment de generer l'attestation. sinon on peut se retrouver avec des dossier qui restent en status en construction alors qu'ils devraient etre automatiquement soit en instruction, soit accepte
2023-01-23 14:24:07 +01:00
Martin
4b895b71c4
fix(user/dossiers#show): ne fait pas apparaitre les champs conditionnel non visible dans l'export pdf d'un dossier
2023-01-23 14:02:29 +01:00
mfo
1926aa283d
Merge pull request #8425 from adullact/fix/procedure-custom-retention
...
Fix du support d'une durée personnalisée de conservation des dossiers
2023-01-23 12:11:29 +01:00
Damien Le Thiec
962016e32e
Schema graph_ql ( #8406 )
...
* First draft schema graph_ql
* Add tests for json schema procedures
2023-01-23 11:31:06 +01:00
Paul Chavard
a4cbbe721e
feat(types de champ): add EPCI champ
2023-01-20 11:32:36 +01:00
Paul Chavard
f38ee8f03f
feat(dossier): implement refresh_after_update on champs
2023-01-20 11:05:25 +01:00
Paul Chavard
b40b6267ad
chore(layout): remove unused file
2023-01-19 11:56:46 +01:00
Marc Bouvier
8688671439
add strike banner
2023-01-19 11:56:46 +01:00
Martin
8528939b75
correctif(champs/repetitions#remove): les row id etant des ulid commence par un int. utiliser l'ulid comme selecteur css n'est pas valide. il faut donc avoir un selecteur CSS 'safe', et envoyer le row_id
2023-01-19 10:48:01 +01:00
Colin Darie
b549a0ba83
fix(instructeurs): notify that dossier can be terminer if a siret champ is in degraded mode
2023-01-18 19:23:25 +01:00
Kara Diaby
b81c36c6b8
layout
2023-01-18 18:46:42 +01:00
Damien Le Thiec
3a8a50a216
Allow prefill pays type de champs ( #8344 )
...
* Allow prefill pays type de champs
* Avoid conditional prefil params for pays champ
* Clean pays data with batch update
* Fix bug and add test batch update pays value
* Improve performance batch_update_pays
* Fix associated country code problem
* Fix after party task name
* Format country name if needed in batch update
2023-01-18 12:52:38 +01:00
Colin Darie
deb40caae1
feat(manager): schedule a dolist report from manager
2023-01-18 09:56:40 +01:00
Colin Darie
1947fcf72b
feat(manager): allow to add a footer below index without always overriding index
2023-01-18 09:56:40 +01:00
Sébastien Carceles
5c7b2ba1f3
feat(dossier): prefill drop down list champ ( #8361 )
...
* feat(dossier): prefill drop down list champ
* decorate the types de champ to avoid if / else
In order to avoid doing if this a drop down ? / else at several places,
we decorate the types de champ and let the decorator give the possible
and example values.
* show all possible values when there are too many
* allow to prefill 'other' option
* review: remove duplicate
* review: refactor for readability
* validate that value is in options
* review: exclude disabled options
2023-01-18 09:47:22 +01:00
Julie Salha
a2fe2bf4c6
fix error linter continous integration(2)
2023-01-17 12:41:29 +01:00
Julie Salha
fb09c49871
fix error linter continous integration
2023-01-17 12:41:29 +01:00
Julie Salha
96fbf70696
update styles number label
2023-01-17 12:41:29 +01:00
Julie Salha
15f3fd4e73
remove br tags
2023-01-17 12:41:29 +01:00
Paul Chavard
5f192f93e0
refactor(js): make generic format controller
2023-01-16 21:23:33 +01:00
Paul Chavard
a9d4ff85e6
refactor(js): more autosubmit controllers
2023-01-16 15:59:43 +01:00
Hadrien Blanc
2d19444b93
add 'pas' on the link title
2023-01-16 13:15:04 +01:00
Lisa Durand
db3085fa33
design : make filter buttons tertiary and dropdown secondary
2023-01-16 11:14:29 +01:00
François Vantomme
d60d626a91
fix(procedure): use NEW_MAX_DUREE_CONSERVATION as number field max limit
2023-01-12 14:37:37 +01:00
Paul Chavard
c7c6d50df6
refactor(js): use autosubmit controller in procedure/all pages
2023-01-12 12:01:19 +01:00
Paul Chavard
289d48f697
refactor(js): use autosubmit controller in filter_component
2023-01-12 11:58:46 +01:00
Paul Chavard
3e0adc15db
refactor(demarches): use turbo-frame
2023-01-12 11:30:14 +01:00
Martin
e22038784d
typo(page.dossier-envoye): typo
2023-01-12 11:01:06 +01:00
Paul Chavard
5641c2b078
fix(groupe_instructeur): only show to administrators the number of visible files
2023-01-11 21:49:08 +01:00
simon lehericey
9043bed3a0
refactor(procedure_presentation): add required tags
2023-01-11 14:05:17 +01:00
François Vantomme
08d276472b
refactor(links): use localized FAQ URLs
2023-01-11 11:28:03 +01:00
François Vantomme
fe518fed8c
refactor(links): move FAQ from footer to common scope
2023-01-11 11:28:03 +01:00
François Vantomme
faa5dda761
refactor(links): use FAQ URL locale everywhere
2023-01-11 11:28:03 +01:00
Paul Chavard
77a0033b3e
feat(batch_operation): enable only available operations
2023-01-10 19:03:32 +01:00
Lisa Durand
7abf51ca81
split filter in 2 partials too display filters tags on its own div to have more spaces
2023-01-10 18:05:23 +01:00
Lisa Durand
d856969790
add a bit of logic to display batch buttons : if more than 3 we group them in a dropdown
2023-01-10 18:05:23 +01:00
Colin Darie
d58e6a2f9c
refactor(email): remove pseudonymization, it will be done at dump-time
2023-01-10 16:07:35 +01:00
Colin Darie
1f51267b25
chore(manager): link email users to events
2023-01-10 16:07:35 +01:00
Paul Chavard
5128b9a086
refactor(demarches): use turbo_stream template
2023-01-10 09:48:32 +01:00
Martin
0ce293d2e0
fix(instructeurs/dossier#show): missing preload on dossier
2023-01-09 14:29:47 +01:00
Paul Chavard
416550c6ea
refactor(batch): simplify stimulus controller
2023-01-06 14:25:46 +01:00
Lisa Durand
5a4a5d89fd
remove highlight paragraph from the fluid container
2023-01-05 17:22:53 +01:00
Lisa Durand
b65a3d4baf
puts filters in span to display correctly multiples filters
2023-01-05 17:22:53 +01:00
Lisa Durand
080747f60b
reorganise multiple buttons on top of table from instructeur procedure view
2023-01-05 17:22:53 +01:00
Lisa Durand
1ecdf5f544
remove manipulating checkbox with JS and set just one form instead of 2
2023-01-05 16:20:18 +01:00
Lisa Durand
d7ebb67889
implement first step - accepte without motivation and PJ
2023-01-05 16:20:18 +01:00
Sébastien Carceles
22ecbc2ffb
remove preremplir admin button ( #8366 )
2023-01-05 10:31:48 +01:00
Colin Darie
b89fc16999
style(instructeurs/expiration): convert banner to DSFR
2023-01-04 13:15:10 +01:00
Colin Darie
c05c765ba7
style(user/expiration): convert banner to DSFR
2023-01-04 13:15:10 +01:00
Colin Darie
6a9afdc2fc
fix(dossier/i18n): correct pluralization of delay expiration button
2023-01-04 13:15:10 +01:00
Colin Darie
0b033a7025
refactor(email): improve wording of automatic deletion to user
...
Closes #7688
2023-01-04 13:15:10 +01:00
Colin Darie
7d16ae83e8
refactor(email): improve wording of near deletion to user
...
Closes #7688
2023-01-04 13:15:10 +01:00
Sébastien Carceles
456be420fa
feat(demarche): describe dossier prefilling with POST ( #8298 )
...
* feat(demarche): describe dossier prefilling with POST
* show response example
2023-01-04 07:31:31 +00:00
Martin
c35d33a5a8
amelioration(role): utilise le role de status plutot que celui de alert afin d'eviter les confusion sur les role aria
2023-01-03 16:52:30 +01:00
Martin
a4d6692bc6
accessibilite(pages-authentification): evolutions des pages de connexion/creation de compte pour respecter le DSFR et supporter une meilleure accessibilite
...
Update app/components/dsfr/input_component/input_component.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-01-03 16:26:05 +01:00
Colin Darie
008e04e356
fix(home/i18n): cache key in views must depend of locale
2023-01-03 15:43:42 +01:00
mfo
5a0e1db0a4
Merge pull request #8350 from colinux/a11y-demande-dossier
...
fix(a11y): html structure in dossier summary
2023-01-03 15:40:24 +01:00
Sébastien Carceles
20136b7ac8
feat(demarche): create and prefill a dossier with POST request ( #8233 )
...
* add base controller for public api
* add dossiers controller with basic checks
* create the dossier
* ensure content-type is json
* prefill dossier with given values
* mark a dossier as prefilled
When a dossier is prefilled, it's allowed not to have a user.
Plus, we add a secure token to the dossier, which we will need later to set a
user after sign in / sign up.
* set user as owner of an orphan prefilled dossier
When a visitor comes from the dossier_url answered by the public api,
the dossier is orphan:
- when the user is already authenticated: they become the owner
- when the user is not authenticated: they can sign in / sign up / france_connect
and then they become the owner
So here is the procedure:
- allow to sign in / sign up / france connect when user is unauthenticated
- set dossier ownership when the dossier is orphan
- check dossier ownership when the dossier is not
- redirect to brouillon path when user is signed in and owner
* mark the dossier as prefilled when it's prefilled
(even with a GET request, because it will be useful later on, for
exmample in order to cleanup the unused prefilled dossiers)
* system spec: prefilling dossier with post request
2023-01-03 14:46:10 +01:00
Colin Darie
9d3b2f6027
fix(a11y): html structure in dossier summary
...
Closes #8162
2023-01-02 18:06:50 +01:00
Eric Leroy-Terquem
f82fba3e2f
add folders number for instructor group
2023-01-02 15:43:13 +01:00
Kara Diaby
f7cb24ce40
Supprime le feature flag pour que tous les administrateurs puissent ajouter des tags sur les démarches
2023-01-02 11:13:31 +01:00
Damien Le Thiec
ffdb6c0104
Merge branch 'main' into improvement/link_to_dossier_description
2023-01-02 10:15:39 +01:00
Damien Le Thiec
775eb16d95
Add link to prefill description from procedure show
2022-12-29 16:11:59 +01:00
Damien Le Thiec
e6d4b3061e
Improve text for prefill description page
2022-12-29 10:56:42 +01:00
Paul Chavard
0e73415904
feat(revision): improuve changes dashboard
2022-12-27 11:06:51 +00:00
Paul Chavard
9b3fa4dd3c
refactor(revision): changes should be domain objects
2022-12-27 10:58:53 +00:00
Paul Chavard
7aa6f172dc
feat(revision): show number of pending dossiers for each revision
2022-12-27 10:58:53 +00:00
mfo
99a652c297
Merge pull request #8267 from mfo/a11y/use-alert-for-dossier-state
...
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-26 17:44:59 +01:00
Paul Chavard
3f0f5e381f
refactor(regions): champ regions to use simple select
2022-12-21 14:03:02 +01:00
Martin
9dbe4845b3
correctif(a11y.contact-page): #8058 (utiliser le type email sur l'input prenant l'email de l'usager), #8056 (ajuster les erreurs de contraste par l'usage des composants du DSFR)
2022-12-21 10:48:31 +01:00
Christophe Robillard
cfc2aec334
display all demarches only if zonage enabled
2022-12-21 09:02:16 +01:00
Christophe Robillard
11a18516b2
remove feature flag zonage
2022-12-21 09:02:16 +01:00
Colin Darie
7cc7c414ad
style(instructeurs): improve dossier header layout
...
Closes #8292
2022-12-20 19:07:00 +01:00
Sébastien Carceles
e4a7a4c391
hide values and examples for unprefillable champs ( #8309 )
...
* hide values and examples for unprefillable champs
* put prefillable champs first
2022-12-20 13:37:25 +00:00
Christophe Robillard
a0da04e83c
use config.ds_opendata_enabled
...
don't use anymore opendata feature flag
2022-12-20 12:52:56 +01:00
Sébastien Carceles
dd0a05c1d8
feat(prefill): add possible values ( #8299 )
...
* update layout in order to show possible values
* filter out non fillable types de champ
2022-12-20 11:04:42 +01:00
Kara Diaby
86e1d1dd97
layout
2022-12-19 15:28:09 +01:00
Martin
4e201a245b
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-19 15:16:57 +01:00
Sébastien Carceles
0a10a08c21
feat(demarche): describe procedure prefilling ( #8187 )
...
* feat(demarche): description
Show the description of an opendata procedure (published or draft),
with help about how to prefill a dossier for this procedure.
Co-authored-by: Damien Le Thiec <damien.lethiec@gmail.com>
2022-12-19 11:32:09 +00:00
Martin
2be4441a70
amelioration(attestion.et.mail): deduplique les message d'erreur, améliore les messages d'erreur, gère la pluralisation des erreurs lorsque plusieurs tags sont concernés
2022-12-19 09:28:46 +01:00
Martin
dd74834689
amelioration(attestation.et.mail): desactive les tags sur les champs conditionnés et informe l'usager que ca arrivera
2022-12-19 09:28:46 +01:00
Martin
ef389eab41
amelioration(attestation.et.mail): repositionne les messages d'erreur lié à la substitution des balises a proximité du formulaire pour faciliter la comprehension. passage des champs au DSFR
2022-12-19 09:28:46 +01:00
Christophe Robillard
f1595d1f50
wrap resultset tuples in ProcedureDetail
2022-12-16 15:51:49 +01:00
Christophe Robillard
5de0c8722e
i18n for procedure attributes and values
2022-12-16 15:51:49 +01:00
Christophe Robillard
f3f8bc74c7
fetch procedure info on demand
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
Co-authored-by: Martin <martin@sharypic.com>
2022-12-16 15:51:49 +01:00
Christophe Robillard
112fae8f00
improve style
2022-12-16 15:51:49 +01:00
Christophe Robillard
cea92c0488
perf: remove n+1 queries to count admin
2022-12-16 15:51:49 +01:00
Colin Darie
acb227bffe
feat(pdf): list department with champ commune
2022-12-16 10:25:54 +01:00
Colin Darie
7ff6455440
style(instructeurs): convert filters to DSFR tags
2022-12-15 09:34:10 +01:00
Colin Darie
84aabd4187
style(instructeurs): convert some dropdowns buttons to DSFR
2022-12-15 09:34:10 +01:00
Colin Darie
a2f8ab37bc
style(instructeurs): fix dropdown visibility when table height is short
2022-12-14 18:57:34 +01:00
Colin Darie
ae296e70ed
style(instructeurs): table dossiers in full width in a fluid container
2022-12-14 18:57:33 +01:00
Paul Chavard
8c173e45bf
fix(admin): go to the right tab when click on breadcrumb link
2022-12-13 15:55:10 +01:00
Colin Darie
4824363879
refactor(attachment): rename user_can_download -> explicit view_as
...
- link: shows a simple link to open attachment
- download: shows complete DSFR download UI
2022-12-08 20:36:15 +01:00
Colin Darie
40a1eaaaed
fix(annuaire-education): schema should not require adresse_1, type_contrat_prive attributes
...
https://sentry.io/organizations/demarches-simplifiees/issues/3328955794/events/147affe4b73b43a391c257b97d298bb9/?project=1429550
2022-12-07 22:23:34 +01:00
Paul Chavard
3c21090a88
feat(api_token): add profile api token card
2022-12-07 18:19:37 +01:00
Paul Chavard
3d1f57df83
feat(api_token): add api token controller
2022-12-07 18:19:37 +01:00
Lisa Durand
64134d1b08
fix deleted notification in table after batch feature implementation
2022-12-07 16:21:15 +01:00
Paul Chavard
f49a1baeec
refactor(groupe_instructeur): remove mailer should take a list of instructeurs
2022-12-06 12:01:54 +01:00
Martin
8f1478b00f
clean(deadcode): remove deadcode
2022-12-06 11:28:48 +01:00
Martin
6556fda218
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Lisa Durand
0563ac391b
small css adjustements to improve table display
2022-12-06 11:28:48 +01:00
Martin
b0ae2e8a0f
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Martin
5875f9b572
spec(batch_operation): system spec batch operation poc
2022-12-06 11:28:48 +01:00
Lisa Durand
6859882a58
display batch operation alert to instructeur groups not only instructeur
2022-12-06 11:28:48 +01:00
Lisa Durand
c52443f221
change flash alert wording and display message in show if dossier is in batch
2022-12-06 11:28:48 +01:00
Lisa Durand
1beb219fdd
display batch operation alerts
2022-12-06 11:28:48 +01:00
Martin
beb39027d0
poc(batch_operation.ui): implement simple ui to trigger a batch of current page
2022-12-06 11:28:48 +01:00
Colin Darie
00e1e90cb6
fix: multipart upload on instructeurs import & acceptation avec PJ
...
Les options html dans un `form_tag` ne doivent pas être définies
sous la clé `html` mais directement à la "racine".
Fix régression introduite dans #7958
2022-12-05 17:28:12 +01:00
Martin
1cdfc9ded0
amelioration(liens-de-telechargement): permet de specifier si le lien de téléchargement se fait sur l'onglet actuel ou vers un nouvel onglet
2022-12-05 15:59:50 +01:00
simon lehericey
8771205679
clean(flipper): remove unused expert_not_allowed_to_invite
2022-12-05 12:22:29 +01:00
Colin Darie
f7d6350e05
fix(a11y/identite): indicates that all fields are required
...
Closes #8096
2022-12-05 11:37:36 +01:00
Colin Darie
b9d6397a9b
fix(pj_template): private proxy template url so their links are non expirable
...
Closes #7920
2022-12-05 11:30:00 +01:00
Colin Darie
920f90d2e3
chore(titre_identite): render template if exists
2022-12-05 10:47:10 +01:00
Colin Darie
b110e58f2f
refactor(attachment): extract i18n
2022-12-05 10:47:10 +01:00
Colin Darie
e3ddb7779f
fix(form): multipart option must be set under "html" to ensure rendering as expected
2022-12-05 10:47:10 +01:00
Colin Darie
b609c3dae4
refactor(attachment): bring batch user_can_destroy, update tests
2022-12-05 10:47:10 +01:00
Colin Darie
0a114270af
refactor(attachment): update Attachment::EditComponent everywhere
2022-12-05 10:47:10 +01:00
Colin Darie
b13c5e56f6
refactor(piece_justificative): UX follows mockups
2022-12-05 10:47:10 +01:00
Colin Darie
a726350f0d
feat(procedure): allow admin to enable multiple uploads for piece justificative on existing procedures
2022-12-05 10:47:10 +01:00
Colin Darie
ed1c6ec515
style(piece_justificative): use DSFR Téléchargement de fichiers for instructeurs & experts
2022-12-05 10:47:10 +01:00
Colin Darie
6a0379086d
chore(piece_justificative): continue attachments refactor
2022-12-05 10:47:10 +01:00
Colin Darie
b8296c6d4d
feat(piece_justificative): supports multiple files
...
Closes #7924
2022-12-05 10:47:10 +01:00
Colin Darie
ac234b7744
chore(footer): remove obsolete footer partial & i18n keys
2022-12-05 10:38:16 +01:00
Colin Darie
52b6502cbd
test(a11y): ensure we don't mix aria-label and title on main pages
...
Actuellement, on fait le choix de ne pas avoir d'éléments porteurs à la
fois d'aria-label et title.
Bien qu'en principe l'aria-label quand elle est gérée par un navigateur,
prenne précédence sur le title, en pratique un bug dans NVDA cumule les 2
et rend la navigation difficile.
On prend donc le parti (provisoire?) de n'avoir que l'un ou l'autre.
Nous gardons le title si l'info qu'il contient est également pertinente
pour les navigateurs graphiques qui l'affichent en guise de tooltip ;
autrement on bascule sur l'aria-label qui est plus largement supporté
par les navigateurs a11y.
2022-12-05 10:38:16 +01:00
Colin Darie
f653a25cc2
fix(i18n/a11y): translate "Edit file" button title
...
Closes #8136
2022-12-05 10:38:16 +01:00
Colin Darie
762942f468
chore(i18n): translate meta title for main user pages
2022-12-05 10:38:16 +01:00
Colin Darie
70d4d7848b
feat(i18n): more footer translations
2022-12-05 10:38:16 +01:00
Colin Darie
f15363e178
feat(i18n): basic home translation
2022-12-05 10:38:16 +01:00
Kara Diaby
d0ba0e2d63
layout
2022-12-02 11:30:48 +01:00
Colin Darie
6803fbeddb
feat(instructeurs): list archiver email & date
2022-12-01 18:27:18 +01:00
Paul Chavard
00556715d6
fix(typography): fix quotes
2022-12-01 17:59:11 +01:00
Paul Chavard
886a409abf
fix(dossier): fix links to empty pdf templates
2022-12-01 17:35:01 +01:00
Colin Darie
cd87390262
fix(a11y/dossiers): add a caption to dossiers table (critere 5.4)
...
Closes #8090
2022-11-30 13:41:13 +01:00
Colin Darie
80106bf4e6
fix(a11y/search): table th/td associations (critère 5.7)
...
Closes #8094
2022-11-30 13:41:13 +01:00
Colin Darie
3a2fae9cc2
fix(a11y): table having role=presentation (critere 5.3)
...
Closes #8154
2022-11-30 13:41:13 +01:00
Colin Darie
8baac2087e
style(mobile): fix burger menu alignment: we need a left icon (match UX)
2022-11-30 12:08:59 +01:00
Colin Darie
436c1951cc
fix(locale-switcher): attributes & wording issues
...
Cf #8059
2022-11-30 12:08:59 +01:00
Colin Darie
8c16eb1543
fix(a11y): more external link having title saying it will open in new tab
2022-11-30 09:27:46 +01:00
Colin Darie
ff879eb0c2
fix(a11y/dossier): fix non explicit link (6.1)
...
Closes #8136
2022-11-30 09:27:46 +01:00
Colin Darie
edc2eaac30
fix(footer/home): add missing rel noopener/noreferer on external links
2022-11-30 09:27:46 +01:00
Colin Darie
4d00fcc2d9
fix(a11y/home): add missing title attributes
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
720995f48f
fix(a11y/footer): add "new tab" suffix on title links
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
e60fb1f0c1
fix(a11y/footer): img with alt for beta gouv logo
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
c55148f694
fix(a11y): root title link more explicit + i18n
...
Closes #8050
2022-11-30 09:27:46 +01:00
Eric Leroy-Terquem
76605f2c0b
fix pagination
2022-11-29 17:46:30 +01:00
Colin Darie
f625d99934
chore(dossier_transfer): extract i18n
2022-11-25 13:34:12 +01:00
Colin Darie
933e6a1aec
chore(dossier_transfer): explanation about transfer more explicit and convert to DSFR
2022-11-25 13:34:12 +01:00
sebastiencarceles
c294ce70ca
fix: escape characters when showing page title
2022-11-25 09:30:20 +01:00
Colin Darie
0e49f3321a
fix(pdf): strip html in type_de_champ descriptions
2022-11-24 19:23:51 +01:00
Paul Chavard
4cdd5bcf07
fix(a11y): erreurs code source (Critère 8.2)
...
related #8051
2022-11-24 15:49:47 +01:00
Christophe Robillard
3539b00652
search admins by email
2022-11-24 15:05:46 +01:00
Paul Chavard
234975b806
feat(graphql): expose groupe_instructeur state and update mutation
2022-11-24 14:33:29 +01:00
Paul Chavard
e395ab5c87
fix(invite): do not render menu when invite not found
2022-11-24 09:43:19 +01:00
Paul Chavard
405d2a695f
refactor(attestation_template): remove from revisions
2022-11-23 12:26:26 +01:00
Paul Chavard
cafda4f6f0
refactor(attestation_template): move to procedure
2022-11-23 12:26:26 +01:00
Christophe Robillard
8e95c6a2ba
search procedures by libelle
2022-11-22 17:08:17 +01:00
simon lehericey
bcccd57573
refactor(procedure_admins): delete old partial
2022-11-22 16:41:20 +01:00
simon lehericey
066c441b61
refactor(procedure_admins): use component
2022-11-22 16:41:20 +01:00
Paul Chavard
a53f0dee74
feat(a11y): add dsfr skiplinks
2022-11-22 12:29:39 +01:00
Christophe Robillard
ca0dfc9da6
fix missing header for all demarches layout
2022-11-18 06:50:45 +01:00
Paul Chavard
07173401de
fix(graphql): load playground from CDN
2022-11-17 15:50:05 +01:00
Paul Chavard
29bdd82b59
refactor(procedure): types_de_champ -> active_revision.types_de_champ_public
2022-11-17 13:54:14 +01:00
Paul Chavard
f6609d42ce
chore(vitejs): update
2022-11-15 18:54:43 +01:00
Colin Darie
a4ed1d07af
chore(manager): disable pagination count on massive tables
2022-11-15 17:28:04 +01:00
Colin Darie
bad4581a46
style(manager): mandatory champ more visible
2022-11-15 16:30:18 +01:00
Colin Darie
b8bfb55fb2
chore(manager): replace dossier champ row by a view component
2022-11-15 16:30:18 +01:00
Colin Darie
42867569a5
style(manager): no hr between nested dl/dd, it breaks layout
2022-11-15 16:30:18 +01:00
Colin Darie
d0193c776f
chore(manager): improve filled piece justificative champ detection
2022-11-15 16:30:18 +01:00
Colin Darie
d4eed1c631
style(manager): message on invisible champ due to conditional
2022-11-15 16:30:18 +01:00
Colin Darie
8d1e99dc06
style(manager): iconify fill/empty champ
2022-11-15 16:30:18 +01:00
Colin Darie
d2ad8d8455
feat(manager): shows ChampRepetition children
2022-11-15 16:30:18 +01:00
Colin Darie
949e9baa6f
style(manager): signin button as dsfr
2022-11-15 16:30:18 +01:00
Paul Chavard
6ad057dcee
feat(graphql): upgrade playground version
2022-11-15 11:48:29 +01:00
Lisa Durand
c2de73c09d
simplify and improve perf by making the feature works only for id search
2022-11-15 10:51:36 +01:00
Lisa Durand
ba0799b684
it displays a message if instructor is looking for a dossier that is not in his instructor group
2022-11-15 10:51:36 +01:00
Colin Darie
fb7ac3c610
style(dsfr): convert a user button to DSFR
2022-11-14 14:56:43 +01:00
Martin
05dcf5e7cf
amelioration(usager.liste_des_dossier): ajout du bouton pour cloner un dossier
2022-11-14 09:13:54 +01:00
Paul Chavard
e6288c39f2
refactor(dossier): champs -> champs_public
2022-11-10 22:44:39 +00:00
Christophe Robillard
cc35788d26
extract computation to controller
2022-11-10 18:02:20 +01:00
Christophe Robillard
3a15178cee
use common layout for all procedures and admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
5f5b6bf7c7
use specific route for all admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
c96781cfad
list all admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
3b2df47ba0
add style for all admins link
2022-11-10 18:02:20 +01:00
Christophe Robillard
c1dad54483
fix padding for checkbox group
...
due to dsfr 1.8 upgrade
2022-11-09 13:32:55 +01:00
Paul Chavard
5e87539d6d
fix(groupe_instructeur): add explicit order to groupe_instructeurs
2022-11-09 10:56:40 +00:00
Christophe Robillard
f80adb4287
improve wording
2022-11-09 10:58:02 +01:00
Christophe Robillard
7ef114c910
add debounce for date_publication autosubmit
2022-11-09 10:41:06 +01:00
Christophe Robillard
a5fa21ca1b
add from_publication_date filter
2022-11-09 10:41:06 +01:00
Martin
b3f80dc5f9
amelioration(Procedure.revision_changes): ajout du support pour les texte complementaire affichable au clique des champs de type explication
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-11-08 17:49:24 +01:00
simon lehericey
33e803cc79
fix: I18n
2022-11-08 16:17:06 +01:00
simon lehericey
db3ebfa6d2
feat(FranceConnect): list and allow to unlink FC identities
2022-11-08 16:17:06 +01:00
simon lehericey
ef1e66e651
fix(css): use dsfr button
2022-11-08 16:17:06 +01:00
Christophe Robillard
2138835f43
make status filter removable
2022-11-08 12:14:26 +01:00
Christophe Robillard
c0231dffa2
extract ProceduresFilter class
2022-11-08 12:14:26 +01:00
Christophe Robillard
296183cc26
improve accessibility
2022-11-08 12:14:26 +01:00
Paul Chavard
b020cb31b6
fix(publication): improuve publication warnings
2022-11-08 10:20:35 +00:00
Eric Leroy-Terquem
aca2775874
remove routee? method
2022-11-04 12:03:44 +01:00
Eric Leroy-Terquem
110953e450
constraint logic to active groups
2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
63ae328bee
update wording and cards order
2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
b419c48262
toggle routing when adding or deleting groupe_instructeurs
2022-11-04 12:03:43 +01:00
Paul Chavard
33fc8a45ab
feat(emails): show email errors on procedure page
2022-11-04 09:08:41 +00:00
Martin
e56441b7f5
correctif(Administrateurs::Archives#index): mauvaise comparaison
2022-11-02 14:07:53 +01:00
Kara Diaby
86afad6250
layout
2022-11-02 10:19:43 +01:00
Paul Chavard
86a09dd24c
fix(procedure): fix procedure cards grid view
2022-11-02 09:29:28 +01:00
Martin
1b1568b2c2
remaniement(Administrateurs::ArchivesController): ne passe pas par la table des traitement pour compter le nombre de dossier traites par mois. Depuis que nous avons redescendu la colonne processed_at sur la table dossiers, ce n'\est plus necessaire et le code est compliqué a comprendre
2022-11-01 12:43:49 +01:00
Christophe Robillard
afcb811a8e
correct haml and scss lints
2022-10-31 16:12:02 +01:00
Christophe Robillard
a5a93260cf
reinit filters
2022-10-31 16:12:02 +01:00
Christophe Robillard
29be3812af
i18n for status
2022-10-31 16:12:02 +01:00
Christophe Robillard
3890b24489
i18n for publication date
2022-10-31 16:12:02 +01:00
Christophe Robillard
619afbacad
make selected zones removable
2022-10-31 16:12:02 +01:00
Christophe Robillard
e10e8f1024
autosubmit filter form
2022-10-31 16:12:02 +01:00
Christophe Robillard
0799c40aaa
add pagination for all demarches view
2022-10-31 16:12:02 +01:00
Christophe Robillard
3f0279ac45
add main menu for admin procedures views
2022-10-31 16:12:02 +01:00
Christophe Robillard
22fe357d75
list all demarches, filtered by status
2022-10-31 16:12:02 +01:00
Christophe Robillard
9abf1c4af3
list all demarches, filtered by zones
2022-10-31 16:12:02 +01:00
Paul Chavard
d20d9b8625
chore(manager): activate js
2022-10-31 14:06:26 +01:00
Martin
c7c46c9dff
design(page de configuration de procedure): passage de la grille au DSFR
2022-10-27 14:00:44 +02:00
simon lehericey
59e68ab2c7
refactor(haml): swap - and = due to haml 6
2022-10-26 15:20:55 +02:00
simon lehericey
baefd83f31
fix(editor): remove extra end
2022-10-25 16:32:25 +02:00
Kara Diaby
476dd7e699
layout
2022-10-21 19:13:12 +02:00
Paul Chavard
85581e72e9
refactor(turbo): simplify custom actions implementation now that turbo has support for it
2022-10-21 10:24:00 +02:00
Martin
527f416f52
amelioration(archives): documentation de la structure de l'archive
...
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
Update app/views/shared/archives/_notice.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2022-10-20 16:40:53 +02:00
Colin Darie
5b813a25d6
fix(dsfr/callout): don't nest p, it's already declared by component
2022-10-20 09:18:16 +02:00
Colin Darie
e96d307e56
style(admin): auto expiration styled with DSFR callout
2022-10-20 09:18:16 +02:00
Colin Darie
f5a0842c6e
style(dsfr): callout component with support for a bottom section like buttons
2022-10-20 09:18:16 +02:00
Colin Darie
7f28f1fe4c
fix(conjugaison): après que + indicatif
2022-10-20 09:18:16 +02:00
Paul Chavard
74aa01479b
fix(revision): fix changes list style
2022-10-20 06:56:20 +02:00
Martin
6000de2095
feat(manager/outdated_procedure): enhance procedure cleanup
2022-10-17 13:35:37 +02:00
Paul Chavard
25c774b3a1
refactor(dossier): extract dossier edit footer into a component
2022-10-13 14:44:46 +02:00
Paul Chavard
78a1323fc2
refactor(dossier): move dossier submit action in to a new form
2022-10-13 14:44:46 +02:00
Colin Darie
9571e9481d
style(avis): fix font sizes & colors due to h2 strongly styled
2022-10-12 14:41:31 +02:00
Paul Chavard
7f1dd49bdc
chore(flipper): always use feature_enabled? helper
2022-10-12 14:14:30 +02:00
Damien Le Thiec
73f6063c87
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-11 15:36:46 +02:00
simon lehericey
97529ab6af
refactor(user dossier): move ruby logic to controller
2022-10-11 11:39:05 +02:00
simon lehericey
32e01b13ef
refactor(user dossier): mutualize update/update_brouillon
2022-10-11 11:39:05 +02:00
simon lehericey
437ac44143
perf(user dossier): batch hide/show element finding
2022-10-11 11:39:05 +02:00
Colin Darie
03de58c7e2
fix: download link with empty value, otherwise it could be used to name the file
2022-10-11 09:50:21 +02:00
Colin Darie
df672fb493
fix(footer): etalab link with rel=noopener
2022-10-11 09:50:21 +02:00
Colin Darie
d821a3e40c
style(new_session): fix buttons style
2022-10-11 09:50:21 +02:00
Colin Darie
9992ab9e09
style(admin): new procedure btn styles
2022-10-11 09:50:21 +02:00
Colin Darie
3e8f040d49
style(usager/dossier): fix summary actions style
2022-10-11 09:50:21 +02:00
Colin Darie
10802d15cc
style(instructeur/procedure): re-style header procedure title & dossier number
2022-10-11 09:50:21 +02:00
Colin Darie
c5092fda12
style(expert): fix avis weight/font-size
2022-10-11 09:50:21 +02:00
Colin Darie
df1d7ae2bd
style(procedures): dsfr compat instructeurs/expert procedures list
2022-10-11 09:50:21 +02:00
Colin Darie
fa9bc5d185
style(admin): multiple style improvements, essentially links & buttons
2022-10-11 09:50:21 +02:00
Colin Darie
0a2460ba71
style(admin): fix various links / buttons style
2022-10-11 09:50:21 +02:00
Colin Darie
fd3b30d8e6
style(messagerie): improve font-size & styles
2022-10-11 09:50:21 +02:00
Colin Darie
278b58ef78
style(instructeurs): restyle dossier actions
2022-10-11 09:50:21 +02:00
Colin Darie
0e1077487a
style(autosave): better font-size & link style
2022-10-11 09:50:21 +02:00
Colin Darie
2ab5fbbb24
style(link): use DSFR underline style everywhere possible.
...
Par conséquent on commence à remplacer d'anciens "liens-boutons" (qui
auraient récupéré un souligné indésirable), par un vrai boutton dsfr.
Le hack fr-underlined n'est aussi plus nécessaire.
2022-10-11 09:50:21 +02:00
Colin Darie
71996af65b
style(avis): use fr-badge for count instead of broken css
2022-10-11 09:50:21 +02:00
Colin Darie
be367503cf
fix(footer): add missing title attribute on a
2022-10-11 09:50:21 +02:00
Colin Darie
8bd36921e0
style(footer): drop useless br since we now have a default margin-bottom on p
2022-10-11 09:50:21 +02:00
Colin Darie
10917af523
style: signin button styled accordingly to UX
2022-10-11 09:50:21 +02:00
Colin Darie
5c36c2e317
style(landing): update after reset CSS drop
2022-10-11 09:50:21 +02:00
Colin Darie
5a50383a27
style: download links (notice & template) with expected DSFR design & details
...
Closes #7829
2022-10-11 09:50:21 +02:00
Colin Darie
1e9d5b753c
refactor(footer): licence sentence in partial
2022-10-11 09:50:21 +02:00
Colin Darie
cf4ac28735
style(stats): button with more space + dsfr
2022-10-11 09:50:21 +02:00
simon lehericey
f54407aa1e
fix: last_week_overview
2022-10-07 13:56:05 +02:00
Christophe Robillard
272c8cae09
cannot publish a procedure if no zones
2022-10-07 10:48:35 +02:00
Christophe Robillard
a6928e7ca2
add ZonesComponent
2022-10-07 10:48:35 +02:00
Christophe Robillard
4d2c37ffdf
extract checkboxes zones to dedicated page
2022-10-07 10:48:35 +02:00
Christophe Robillard
94ca93e130
can choose multiple zones
2022-10-07 10:48:35 +02:00
simon lehericey
9aeaddcb40
perf: remove one query on invite dropdown
2022-10-06 17:17:27 +02:00
Damien Le Thiec
0131a41266
Merge branch 'main' into feature/add_rna_type_de_champs
2022-10-05 12:38:24 +02:00
Damien Le Thiec
93e89c8968
Fix small bugs rna controller and add tests
2022-10-05 12:31:34 +02:00
Damien Le Thiec
776736fe5a
Fix rights view RNA champ data
2022-10-05 09:46:15 +02:00
Damien Le Thiec
0d9f02c88d
First draft autofetch data for RNA
2022-10-04 22:11:01 +02:00
Kara Diaby
057c951408
fixe une typo remontée par le support
2022-10-04 12:11:19 +04:00
simon lehericey
7af248b4bf
perf(admin_procedure_show): use partial with collection
2022-10-03 20:49:38 +02:00
Martin
19bac6339c
fix(multiple_drop_down_list): iterate over selected options not to_s
2022-09-30 12:24:00 +02:00
Martin
aceb8996c1
feat(instructeur/procedure#show): enhance sort by notifications as planned by UX
...
Update app/javascript/controllers/checkbox_controller.ts
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-09-30 10:29:51 +02:00
simon lehericey
7a9c5e8d19
refactor(ujs): turbo use an id for turbo_stream.update id
not a class
2022-09-29 17:04:15 +02:00
Paul Chavard
b0aa777315
refactor(ujs): france_connect controller to use turbo
2022-09-29 16:51:54 +02:00
Paul Chavard
921f38833d
refactor(ujs): experts_procedures controller to use turbo
2022-09-29 16:51:54 +02:00
Paul Chavard
5de74ae322
refactor(ujs): remove dead code
2022-09-29 16:51:53 +02:00
DanteZ5
3826121751
switch from id to class
2022-09-28 17:19:17 +02:00
DanteZ5
7e29fe40f6
fix-ux(issue#7774) : indicateur menu email navbar
2022-09-28 17:19:17 +02:00
Colin Darie
da22c29688
feat(procedure): warn administrator that notice links are not shareable
...
Closes #7681
2022-09-28 17:01:25 +02:00
Paul Chavard
224f045a1a
fix(profile): fix css
2022-09-28 12:02:06 +02:00
Kara Diaby
c35a3d17de
fix dsfr footer visitor
2022-09-28 10:36:21 +02:00
Martin
ba6c5b4db7
feat(instructeur/procedure#index): enhance filter to support processed_at and state [plus en_instruction_at/since]
...
feat(filter): enable filter on dossiers.state, dossiers.processed_at(since), dossiers.en_instruction_at(since)
2022-09-27 17:19:54 +02:00
Christophe Robillard
9a9330159c
choose zone options with correct label
...
label of the zone is the one available when the procedure has been published (or at the creation if the procedure has not been published)
2022-09-26 16:58:53 +02:00
simon lehericey
726a0f20c9
fix(conditional): update breadcrump when condition change
2022-09-26 10:21:15 +02:00
simon lehericey
b6686828db
fix(conditional): update error summary when condition change
2022-09-26 10:21:15 +02:00
Kara Diaby
83efa7eab3
fix title order
2022-09-23 08:41:25 +02:00
Kara Diaby
611cc23920
layout
2022-09-23 08:41:25 +02:00
Damien Le Thiec
bd0df2b60b
Clean rna champ_row
2022-09-22 17:14:05 +02:00
Colin Darie
9b929c86ea
Merge pull request #7760 from betagouv/dsfr-dossier-top-form
...
DSFR: convert dossier top form elements
2022-09-21 16:44:51 +02:00
Colin Darie
39322e6dff
feat(instructeurs): warn about acceptation/reject unavailable due to incomplete etablissement
2022-09-21 16:00:59 +02:00
Colin Darie
55fd4307a1
refactor(header/notice): convert JS to stimulus
2022-09-21 15:47:35 +02:00
Colin Darie
4d5f03b99c
style(header): remove fr-header__with-notice-info when notice is closed
2022-09-21 15:47:35 +02:00
Colin Darie
7e6624753a
refactor(dossier/pdf): use new france_connect_informations helper
2022-09-21 15:47:35 +02:00
Colin Darie
fcb478eb53
refactor(fc_info): use Dsfr::Notice for france connect informations
2022-09-21 15:47:35 +02:00
Colin Darie
ab82128585
feat(dsfr): new NoticeComponent
2022-09-21 15:47:35 +02:00
Colin Darie
a5e1d8865b
style(france_connect_account): convert notice about FC user to DSFR
2022-09-21 15:47:35 +02:00
Colin Darie
80daf3ede1
style(dsfr): dossier form header + notice link
2022-09-21 15:47:35 +02:00
Colin Darie
13beb2bfa5
fix: AgentConnect button visibility
2022-09-21 15:34:31 +02:00
Colin Darie
7e1c542807
fix: FranceConnect button was not visible anymore, convert to DSFR
2022-09-21 09:28:54 +02:00
Colin Darie
cffa8d0b69
style(dsfr/link): doc for explicitly disabling href underlined enabled by dsfr
2022-09-21 09:28:54 +02:00
Kara Diaby
ba58558146
fix accessibiliy problems
2022-09-19 13:34:43 +02:00
Kara Diaby
2c4a8e81ba
footer layout
2022-09-19 13:34:43 +02:00
simon lehericey
9d2d19800d
feat(champ siret): save etablissement in degraded mode if api down and allow submission
2022-09-19 12:12:05 +02:00
simon lehericey
c7d54fc750
feat(champ siret): display an acknowledgment if siret exist
2022-09-19 11:50:33 +02:00
simon lehericey
0f318a1f7f
feat(api_entreprise): display partial information when degraded_mode
2022-09-16 14:43:18 +02:00
Colin Darie
95a4e8a907
feat(api_entreprise): create etablissement with fallback when API is down
...
On créé l'établissement uniquement avec le SIRET, sans que ce soit bloquant
pour compléter le dossier. On demande à l'utilisateur de vérifier
lui-même la concordance du SIRET avec son entreprise.
Cf #7766
2022-09-16 10:43:59 +02:00
Colin Darie
3cd02ceae3
fix(etablissement): improve annuaire_link, with SIRET & as search
...
Dans certaines circonstances le SIREN pouvait être vide alors qu'on a
toujours le SIRET. Aussi, on se base sur la recherhce qui redirige vers
le bon namespace car il n'y a pas forcément que des entreprises : certaines
sont listées sous "etablissement".
2022-09-16 10:43:59 +02:00
Colin Darie
46b69da396
style(dsfr/callout): more theming for callout component
2022-09-16 10:43:59 +02:00
sebastiencarceles
f154bb56e6
confirm adding a new admin to a procedure
...
For clarity and a better understanding, use a dedicated controller
to allow the current admin to confirm adding an administrateur
to a procedure.
2022-09-13 07:45:07 +02:00
sebastiencarceles
4123709e72
build and render secured URL to invite admin
...
For clarity and a better understanding, use a dedicated controller to
build and render the confirmation URL to share in order to add a new
administrateur.
2022-09-13 07:45:07 +02:00
Martin
f47f74fac7
fix(typo): views/administrateurs/_groups_header.haml
2022-09-12 10:26:20 +02:00
Martin
f08d4e9dc0
fix(breadcrumb): extends breadcrumb libelle truncation from 4 to 10 words
2022-09-09 13:08:24 +02:00
Paul Chavard
d6f5be622c
feat(dossier): autosave en construction
2022-09-08 11:26:29 +02:00
Paul Chavard
d35ceb7214
fix(champs): finish EditableChampComponent refactor
2022-09-08 11:26:29 +02:00
Colin Darie
e744c9d575
fix(home): signin button should not open on new window (regression)
2022-09-07 19:14:55 +02:00
simon lehericey
4cd0261099
remove new header baseline
2022-09-07 18:04:25 +02:00
Colin Darie
c927f2c250
refactor(dsfr/card): rename CardComponent => CardVerticalComponent
2022-09-07 17:56:19 +02:00
Colin Darie
e0a15e9821
chore(patron): add Dsfr::CardComponent, but still media query issue
2022-09-07 17:56:19 +02:00
Colin Darie
5f08df7561
refactor(dsfr/button): remove useless & verbose Dsfr::ButtonComponent, in favor of good link_to / f.submit
2022-09-07 17:56:19 +02:00
Colin Darie
b769def337
refactor(landings): with DSFR button & card components
2022-09-07 17:56:19 +02:00
Colin Darie
0e28a3870a
refactor(dsfr/button_component): more modular & signature more like link_to
2022-09-07 17:56:19 +02:00
Colin Darie
abcfc4a64a
fix(home/administration): button hover visibility since dsfr + bottom cards
2022-09-07 17:56:19 +02:00
Colin Darie
b4fc46ba32
fix(home): buttons hover visibility since dsfr
2022-09-07 17:56:19 +02:00
Paul Chavard
c05bc61c99
fix(revisions): improuve changes information display
2022-09-07 13:52:44 +02:00
sebastiencarceles
c203a7a3fd
remove the confusing help ('nom@site.com')
...
closes #7727
2022-09-07 08:04:26 +02:00
Martin
abbef510c6
fix(breadcrumb): update turbo usage with new breadcrumb "api"
2022-09-06 10:09:12 +02:00
Martin
ecbe51f928
feat(a11y): avoid wrong heading level
2022-09-06 10:09:12 +02:00
Martin
795f6ab29b
fix(header): add missing i18n
2022-09-06 10:09:12 +02:00
Martin
fb0e863efd
feat(header): migrate help button to dsfr
2022-09-06 10:09:12 +02:00
Martin
df3ef23f7e
fix(spec): 1. visit new_user_session_path instead of navigating to it. 2. change way to submit search according to dsfr html. 3. avoid nav without aria label. 4. various lint fixes
2022-09-06 10:09:12 +02:00
Martin
a48a8b6081
feat(title): avoid title issues
2022-09-06 10:09:12 +02:00
Martin
af00936aac
ui(header): refine to fit with olivier design
2022-09-06 10:09:12 +02:00
Martin
73f94b9635
feat(header): switch to DSFR translate component and dropdown component
2022-09-06 10:09:12 +02:00
Martin
96cdae0dd5
feat(DSFR.header): switch to DSFR header
2022-09-06 10:09:12 +02:00
Martin
549eda6fe3
feat(DSFR.breadcrumb): switch to DSFR breadcrumb style since it is part of new service UI
2022-09-06 10:09:12 +02:00
Colin Darie
3cb25e8393
fix(geopoint_field): no geoportail link without coordinates
2022-09-06 09:23:52 +02:00
Colin Darie
91c735a219
chore(service): SIRET is required
2022-09-06 09:23:52 +02:00
Colin Darie
9d59a50cd4
chore(manager/services): show etablissement adresse & geopoint
2022-09-06 09:23:52 +02:00
Colin Darie
64ce2719ed
feat(services): accept an optional SIRET
...
Closes #7359
2022-09-06 09:23:52 +02:00
Colin Darie
a9aab27589
fix(contact-admin): add missing invisible captcha
2022-09-05 17:41:17 +02:00
Colin Darie
4e3b063b87
feat(carte/export): list geo labels
2022-09-05 11:02:51 +02:00
simon lehericey
d612c39438
fix(admin procedure preview): redirect is procedure invalid
2022-09-05 10:18:33 +02:00
simon lehericey
e9677c37a1
fix(admin procedure preview): remove preview and continue buttons where procedure invalid
2022-09-05 10:17:05 +02:00
Martin
6114d1ea2f
fix(helpscout#1994272872): pdf export contains ? with telecharger_psj.
2022-09-05 09:54:22 +02:00
Paul Chavard
ab3404714a
fix(css): rename css file to fix legacy browsers
2022-09-02 19:07:10 +02:00
Kara Diaby
f7039bbb0a
layout
2022-09-02 16:23:27 +02:00
Martin
4537d2149d
fix(service#index): caption absolute positionning does works well with long captions
2022-09-02 10:29:00 +02:00
simon lehericey
bad058891b
feat(conditional): block actions and hide revision details if procedure invalid
2022-09-01 15:07:18 +02:00
simon lehericey
f4b465a03f
add errors_summary component
2022-09-01 15:07:18 +02:00
simon lehericey
a3e8c09e71
component all the champ
2022-09-01 09:48:27 +02:00
Colin Darie
b4f791b1f1
fix(rgaa): missing title on signin (8.6)
2022-08-31 17:46:04 +02:00
Colin Darie
ba70cae75a
fix(a11y/html): email input with autocomplete=email
2022-08-31 17:46:04 +02:00
Colin Darie
4535810ed4
fix(a11y/html): add role=main on main content
2022-08-31 17:46:04 +02:00
Colin Darie
f4c76ca677
fix(a11y/flash): add role=alert or status to flash messages
2022-08-31 17:46:04 +02:00
Colin Darie
3148266b49
refactor(rgaa/contact): inject invisible_captcha styles into head instead of div
2022-08-31 17:46:04 +02:00
Colin Darie
aab3e3a4be
fix(rgaa/layout): invalid button > label
2022-08-31 17:46:04 +02:00
Colin Darie
69fe333aad
refactor(rgaa/contact): question type as radio buttons for better rgaa compliance
...
On suit les recommandations de l'audit RGAA 2021, mais il y aurait encore
peut-être à redire…
2022-08-31 17:46:04 +02:00
Colin Darie
4f8391bc7c
fix(rgaa/html): locale dropdown with valid html
2022-08-31 17:46:04 +02:00
Colin Darie
baf88f97e3
fix(rgaa/contact): replace misuse of dl/dd with ul/li
...
(Critère 9.3)
2022-08-31 17:46:04 +02:00
Colin Darie
cc93beb89e
chore(rgaa/images): empty alt / aria hidden for non informative image
2022-08-31 17:46:04 +02:00
Colin Darie
88ceae8b7e
chore(views): remove obsolete partial
2022-08-31 17:46:04 +02:00
Colin Darie
b1e9dffbc6
chore(rubocop): enable on .prawn files
2022-08-31 16:52:00 +02:00
Colin Darie
d30f51af79
fix(dossier/attestation_pdf): don't overlap DS name over logo
...
Le logo contient déjà le nom "demarches-simplifiees.fr", donc inutile
de le redupliquer en texte.
A la place on reprend le layout utilisé sur d'autres PDF.
Closes #7698
2022-08-31 16:52:00 +02:00
Martin
cc2b9b95bf
clean(import): dsfr
2022-08-31 15:18:21 +02:00
Martin
f3ad8e2ead
clean(service.edit.html.haml): extract other services
2022-08-31 14:56:01 +02:00
Martin
39b328a984
ui(Administrateur::Procedure::Service): use ds-fr table and some ui refinements
2022-08-31 14:56:01 +02:00
Martin
2649cc477f
feat(Administrateur::Procedure::Service.form): resize inputs
2022-08-31 14:56:01 +02:00
Martin
edbff1ceb2
feat(Administrateur::Procedure::Service.form): add back link
2022-08-31 14:56:01 +02:00
Martin
d2b42dda2e
feat(Administrateur::Procedure::Service.form): enhance wording and styl
2022-08-31 14:56:00 +02:00
Martin
f086302455
feat(Administrateurs::Procedure::Service#form): wrap explanation within DSFR::CallOut
2022-08-31 14:56:00 +02:00
Martin
289b8f78b8
feat(Administrateur::Services#index): rework list of services
2022-08-31 14:56:00 +02:00
Martin
17d8c7a371
feat(Administrateurs::Procedure::Service#edit): update UI with new warning as well as DSFR ui
...
feat(Administrateur::Procedure::Service#edit): add warning message a la DSFR
2022-08-31 14:56:00 +02:00
Martin
1bdbf2a7d7
feat(DesignSysteme): add DSfr and switch to Marianne font
2022-08-31 14:56:00 +02:00
Paul Chavard
d1ae98b9a7
feat(css): add dsfr
2022-08-31 14:53:50 +02:00
Martin
69ef1d508d
fix(brouillon.edit.form): when their is a type de champs repetition having a child being mandatory ; the form being not validatable the browser does not block the submission
2022-08-24 15:18:05 +02:00
Martin
2f5528398f
feat(manager#outdated_procedure): allow super admin to enable procedure_expires_when_termine_enabled for old procedure
...
revew(typo): various typo, tx christophe :-)
fix(spec): due to typo fixes
2022-08-24 13:10:48 +02:00
Martin
e35da17ce8
bug(instructeurs/archives#create): month should not be nil
2022-08-23 15:31:17 +02:00
Christophe Robillard
d4cdf1fb96
add dolist link to manager
2022-08-23 15:05:20 +02:00
Christophe Robillard
efbec80af8
update saml controller and views
...
because of using another gem (saml_idp)
2022-08-23 15:05:20 +02:00
mfo
5fb2c45540
review(i18n): fix typo and enhance wording.
2022-08-23 13:28:10 +02:00
Martin
d30492a222
tech(clean): better naming
2022-08-23 13:28:10 +02:00
Martin
dc524cf615
fix(spec): broken spec due to TDD and refacto on former code
2022-08-23 13:28:10 +02:00
Martin
711b2ee2e4
feat(ExportComponent): only render it when connected instructeur/administrateur is not from manager
2022-08-23 13:28:10 +02:00
Martin
25c0e91d87
feat(Administrateurs::GroupeInstructeur): ensure admin from super admin can not add an instructeur
2022-08-23 13:28:10 +02:00
Martin
d1544bc4ae
feat(Administrateurs::ProcedureAdministrateurs): ensure admin from super admin can not add administrateur
2022-08-23 13:28:10 +02:00
Martin
ef67958324
feat(manager): add #add_administrateur_with_confirmation and #confirm_add_administrateur so SuperAdmin requires another SuperAdmin approval to add an administrator to a procedure. Add #add_administrateur_and_instructeur for SuperAdmin willing to be administrateur/instructeur for 24
2022-08-23 13:28:10 +02:00
Kara Diaby
58f2f6bd9d
Manager : permet au super admin de se retirer d'une démarche
2022-08-11 10:58:58 +02:00
simon lehericey
00d0813292
ensure the mandatory star hint is always displayed
2022-08-09 10:29:41 +02:00
Colin Darie
bc7cdb6b8e
fix(contact): translate captcha honeypot label
2022-08-03 11:57:26 +02:00
Colin Darie
11a9a6f53f
feat(dossier_transfer/email): require email in browser side
2022-08-03 11:44:54 +02:00
Colin Darie
d53aba4d24
fix(dossier_transfer): require a valid email
...
Cf #7621
2022-08-03 11:44:54 +02:00
Paul Chavard
31d80d80bd
fix(dossier): prevent users from removing mandatory fiels after submission
2022-07-28 11:19:47 +02:00
Paul Chavard
b616a4c1e9
fix(stats): remove Helpscout from stats page
2022-07-27 18:26:25 +02:00
Colin Darie
4699d15853
fix(archives): don't fail when there are no weight estimation
...
A priori ça peut arriver lorsqu'il n'y a pas de dossier terminé sur une procédure
Closes #7615
2022-07-27 15:12:18 +02:00
Colin Darie
d4f8f05dec
fix(admin/attestation): page layout because of too larger input#size attribute
2022-07-27 14:26:00 +02:00
Paul Chavard
8cba80116e
fix(types_de_champ): fix exception on validation errors
2022-07-26 18:17:48 +02:00
simon lehericey
369141c7f7
Fix(procedure library): replace infinite list by a basic search
2022-07-26 12:38:05 +02:00
Paul Chavard
4276745338
fix(autosave): morph instead of replace to preserve controller instances
2022-07-26 11:15:10 +02:00
Colin Darie
9597b3b4b7
style(champ): remove placeholder of drop down other input, since it's not recommended anymore
2022-07-25 12:37:38 +02:00
Colin Darie
865c8c5af0
fix(champ): let auto input width in "other input" dropdown.
...
On unset explicitement l'attribut `size` pour ne pas que l'helper
`text_field` réutilise la valeur de maxlength et vienne faire déborder
l'input.
2022-07-25 12:36:37 +02:00
Colin Darie
e53b6e4e77
feat(export/pdf): list entreprise etat_administratif in "demandeur" section
2022-07-25 10:58:02 +02:00
Colin Darie
22fed3d9de
feat: show entreprise etat "en activité" | "fermé in entreprise summary
...
Closes #7505
2022-07-25 10:58:02 +02:00
Martin
3e56fdd1d7
fix(export): when it takes more than 3 hours, exports are purge before being generated. make it possible to have an export that takes more than 3 hours and share this behaviour with kind of same class archive
2022-07-25 10:48:54 +02:00
Paul Chavard
d9eea35ae8
fix(dossier): decoralate dropdown behaviour from autosave
2022-07-21 18:40:16 +02:00
Paul Chavard
7425744f9f
refactor(procedure): move cards to components
2022-07-21 18:07:56 +02:00
Paul Chavard
8532c71036
perf(dossier.pdf): use DossierPreloader to generate pdf
2022-07-21 15:02:29 +02:00
Paul Chavard
1fe82a956e
fix(dossier.pdf): load all types_de_champ (including repetitions)
2022-07-21 11:56:23 +02:00
simon lehericey
5d5f46b4d8
instances : prawn does not like svg
...
win 10% on pdf generation
2022-07-20 15:48:16 +02:00
simon lehericey
ca8dc34196
preload all tdc once for all
2022-07-20 15:48:16 +02:00
simon lehericey
b9ad3bbce1
extract procedure
2022-07-20 15:48:16 +02:00
Martin
87af7f3261
feat(exports): implement admin export
2022-07-20 14:08:33 +02:00
Paul Chavard
e85fe71887
fix(champ): allow to submit when secondary options are empty
2022-07-20 10:49:07 +02:00
Paul Chavard
9fec11bfd0
refactor(dossier): use size and empty? instead of count
2022-07-19 11:11:46 +02:00
Paul Chavard
1657605ef1
fix(dossier): do not include preview dossiers in dossiers counts
2022-07-19 11:11:46 +02:00
mfo
4b6ae888d2
Update app/views/administrateurs/procedures/_informations.html.haml
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-07-18 14:08:53 +02:00
Martin
8ca3a9760b
feat(procedure/_information): show new policy regarding data retention [translated so other instances can adapt their support strategy]
2022-07-18 14:08:53 +02:00
Martin
24c8dc5829
feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12
2022-07-18 14:08:53 +02:00
Colin Darie
dea1ce40a9
feat(dossier): allows user to edit identity from a brouillon dossier
...
Closes #7386
2022-07-18 09:57:19 +02:00
Colin Darie
1c96ca59dd
style(combo): better inputs sizes for pays/regions/departement/communes champs
2022-07-18 09:48:35 +02:00
Colin Darie
71e7f51753
style(champ): remove generic placeholders because new DSFR don't like placeholders in input
2022-07-18 09:48:35 +02:00
Colin Darie
7f7e192df9
style(champs): each composite inputs on its own line (cnaf, dgfip…) with standard width
2022-07-18 09:48:35 +02:00