Commit graph

5037 commits

Author SHA1 Message Date
mfo
51c5244545 review(dsfr): enforce fr-container, fr-table, fr-spacers
Co-authored-by: Colin Darie <colin@darie.eu>
2024-02-15 16:11:16 +01:00
Martin
2f32468d36 feat(instructeurs/groupes_instructeur): dsfrize 2024-02-15 15:34:22 +01:00
Martin
5407011668 feat(procedure.routing): allow admin to manage instructeur even when procedure has some routing 2024-02-15 13:40:48 +01:00
seb-by-ouidou
9ddd55d5cd feat: remove commentaire_component and replace it by message_component + replace commentaires/_form by messages/_form + few fixes 2024-02-15 07:50:20 +00:00
Colin Darie
bd3c2c070a
Merge pull request #9957 from demarches-simplifiees/finalize-rna-rnf-ldu
ETQ instructeur et consommateur API, la vue du champ RNA est harmonisée avec le champ RNF
2024-02-14 15:30:54 +00:00
Colin Darie
a9b24b897e
Merge pull request #9971 from demarches-simplifiees/harmonize-merci-message-from-admin-apercu-to-user-ldu
ETQ admin, je veux que le message de fin de dépot d'une démarche déclarative soit correct
2024-02-14 15:14:20 +00:00
seb-by-ouidou
08cffda440 fix: few fixes after review 2024-02-13 11:19:52 +01:00
seb-by-ouidou
fba3cbe331 feat: as gestionnaire, contact gestionnaire of parent groupe 2024-02-13 11:19:52 +01:00
Lisa Durand
f57be9e455 fix(dossier): harmonize merci message from admin apercu to user 2024-02-13 09:28:47 +01:00
Lisa Durand
a756ab0a63
add address infos for rna in show 2024-02-12 17:20:06 +01:00
Lisa Durand
9e3f28e87b
add rnf and rna address in form view 2024-02-12 17:20:05 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine 2024-02-12 09:33:23 +01:00
Colin Darie
e3f233cd51
fix(rubocop): Layout/ExtraSpacing et Layout/SpaceAroundOperators 2024-02-12 09:33:22 +01:00
Colin Darie
b1203faa69
Merge pull request #9973 from demarches-simplifiees/add-padding-in-email-footer-ldu
ETQ usager, améliore le footer dans les emails de démarche avec un petit espace supplémentaire
2024-02-08 11:10:25 +00:00
Colin Darie
8361938511
Merge pull request #9972 from colinux/upgrade-administrate
Tech: update administrate from 0.18.0 to 0.20.1 (manager)
2024-02-08 10:26:52 +00:00
Lisa Durand
048dd7dd74 add padding in email footer 2024-02-07 17:06:31 +01:00
Colin Darie
1e2a6d0461 fix(manager): update templates and make everything works 2024-02-07 16:54:23 +01:00
Lisa Durand
a14d587722 fix missing local when calling partial user_infos 2024-02-07 15:11:29 +01:00
Colin Darie
fb14afc530 fix(rna): real RNA identifier could contain at least 1 letter, despite of specs 2024-02-06 15:02:57 +01:00
Colin Darie
70e92f7c6b
Merge pull request #9903 from colinux/attestation-ux
ETQ admin, je peux tester l'attestation v2
2024-02-06 08:09:53 +00:00
seb-by-ouidou
c2c54083e8
feat: display tree structure of a group 2024-02-05 09:30:24 +01:00
Colin Darie
f7484eb0e5
feat(attestation): list tags errors and substitute missing tag by libelle 2024-02-02 13:05:09 +01:00
seb-by-ouidou
46c19014f9 feat: notify administrateur and gestionnaire by email when new commentaire + for administrateur highlight card and commentaires if any unread 2024-02-02 12:52:36 +01:00
Colin Darie
6f49dd892d
fix(attestation): multiple tags improvements
- no menu when no matching tags
- insert a space after clicking a button
- allow no space before mention
2024-02-02 09:47:20 +01:00
Colin Darie
58064dc6cd
fix(attestation): improve autosubmit debounce due to tags interactions 2024-02-01 18:56:02 +01:00
Colin Darie
ce2ae53def
style(attestation): revamp bottom bar 2024-02-01 18:55:56 +01:00
Colin Darie
475406f3f2
style(attestation): improve editor UI & style 2024-02-01 18:55:55 +01:00
Colin Darie
443e41a6ed
style(attestation): group tags by section 2024-02-01 18:55:52 +01:00
Colin Darie
a842fefa7a
feat(attestation): inform that conditional champs are not tags-available 2024-02-01 18:55:51 +01:00
Colin Darie
d4c4b3a212
chore(attestation): preview link to PDF 2024-01-31 17:04:06 +01:00
Colin Darie
fe2661d37c
feat(attestation): can create an attestation v2 2024-01-31 17:04:05 +01:00
Colin Darie
fd829351e8
chore(attestation): browse between 2 versions 2024-01-31 17:04:03 +01:00
Colin Darie
d92200f80b
fix(attestation): various tiptap & axe fixes 2024-01-31 17:04:02 +01:00
Colin Darie
39d00c81de
feat(attestation): show template schema 2024-01-31 17:04:01 +01:00
Colin Darie
89a62bacbb
feat(attestation): intitules & footer limit of rows 2024-01-31 17:04:00 +01:00
Colin Darie
3391d75633
style(attestation): cap logo size in free layout 2024-01-31 17:03:56 +01:00
Colin Darie
8ba78d1cfe
feat(attestation): conditional official layout & logo (start) 2024-01-31 17:03:54 +01:00
Colin Darie
9c9daf162d
feat(attestation): render signature 2024-01-31 17:03:53 +01:00
Colin Darie
3b70b36d2d
feat(attestation): footer save, preview 2024-01-31 17:03:52 +01:00
Colin Darie
e19780445b
feat(attestation): upload de logo and signature 2024-01-31 17:03:51 +01:00
Colin Darie
277b4f4ec8
style(attestation): improve rendering with almost all nodes 2024-01-31 17:03:48 +01:00
Colin Darie
eaf4e24a55
feat(attestation): v2 edit form and tags style 2024-01-31 17:03:46 +01:00
Kara Diaby
17a471e880
Merge pull request #9939 from demarches-simplifiees/feat/9937
ETQ Super-Admin, je souhaite marquer une démarche comme modèle
2024-01-31 10:21:30 +00:00
Lisa Durand
3c57b64b1c
Merge pull request #9950 from demarches-simplifiees/fix-duplication-text-for-tiers-in-instructeur-table
Instructeur: corrige une redondance de texte dans le tableau quand un dossier est pour un tiers
2024-01-31 10:18:27 +00:00
Kara Diaby
46748091a6 Permet au Support de marquer une démarche comme modèle et de filtrer dans toutes les démarches 2024-01-31 09:30:14 +00:00
Kara Diaby
94389bb66d layout 2024-01-31 09:30:14 +00:00
Lisa Durand
bb236f6c0d fix duplication text for tiers in instructeur table 2024-01-31 09:38:26 +01:00
seb-by-ouidou
86c1e1136d feat: for administrateur on cards, replace label edit by see 2024-01-29 18:23:39 +01:00
seb-by-ouidou
6cd8b6d2df feat: for gestionnaire highlight card and commentaires if any unread 2024-01-29 18:23:39 +01:00
seb-by-ouidou
a5d95b2d9d fix: fix activate gestionnaire and activate administrateur 2024-01-29 18:23:39 +01:00
Eric Leroy-Terquem
6203b1fd05
Merge pull request #9879 from demarches-simplifiees/cleaning-conditional-and-routing-code
Tech : nettoyage du code conditionnel et routage
2024-01-29 13:43:52 +00:00
Colin Darie
a2c43f7fcc
Merge pull request #9941 from colinux/warn-usager-transfer-email
ETQ usager je suis mieux prévenu lors de la suppression d'un dossier en attente de transfert
2024-01-29 10:48:50 +00:00
Colin Darie
5671e9ab19
Merge pull request #9942 from mfo/US/i18n/users/confirmations/new
ETQ usager, la page de confirmation de compte est lisible en anglais
2024-01-29 10:41:24 +00:00
Martin
0643d15196 i18n(users/confirmations#new): i18n this page 2024-01-29 11:25:18 +01:00
Colin Darie
a582fef1e5
Merge pull request #9934 from colinux/fix-export-link-witout-file
ETQ instructeur, n'affiche pas encore de lien vers un export quand le fichier n'est pas encore disponible
2024-01-29 10:11:33 +00:00
Colin Darie
531a4cb0c4
fix(usager): warn transfered dossier deletion with email 2024-01-29 10:57:45 +01:00
simon lehericey
df031a7563 feat(api): add a curl example to the api_token creation 2024-01-29 10:44:20 +01:00
LeSim
e12c663d21
Merge pull request #9940 from demarches-simplifiees/can_edit_again_a_token
Admin: je peux modifier le nom et les réseaux d'un jeton d'API
2024-01-29 09:21:21 +00:00
simon lehericey
5eaa957c31 can edit api_token to change networks and name 2024-01-29 10:09:55 +01:00
simon lehericey
35e9a6e905 delete api token : remove unused template and use turbo 2024-01-29 10:09:55 +01:00
Colin Darie
c02171ede7
Merge pull request #9936 from colinux/badge-corrige
ETQ instructeur, je vois un badge Corrigé lorsque le dossier a été corrigé
2024-01-29 08:57:54 +00:00
Colin Darie
b64a32444c
Merge pull request #9935 from colinux/transfer-empty-no-fail
Tech: plus d'erreur lorsque l'email de transfert n'a plus de dossier associé
2024-01-29 08:43:50 +00:00
simon lehericey
6353c10955 add APIToken expiration mailer 2024-01-26 10:18:16 +01:00
simon lehericey
588e58195c move api_tokens to admin module 2024-01-25 11:27:15 +01:00
simon lehericey
3ded9a2a57 feat(api): add some turbo when possible 2024-01-25 11:17:44 +01:00
simon lehericey
9a0dd45385 feat(api): add invalid ip addr error 2024-01-25 11:17:44 +01:00
simon lehericey
852eedbc50 refactor(api): create api_token with validity and network filtering 2024-01-25 11:17:44 +01:00
simon lehericey
943368c68f feature(api): setup securite 2024-01-25 11:17:44 +01:00
simon lehericey
8a9e5754a1 feature(api): setup autorizations 2024-01-25 11:17:44 +01:00
simon lehericey
1d7b6a6a54 feature(api): setup name 2024-01-25 11:17:44 +01:00
Colin Darie
27cfae8c6a
chore(dossier): warn user that deletion also means transfer cancellation 2024-01-25 11:03:54 +01:00
simon lehericey
a23eb80d22 fix(profil): use fr-container 2024-01-25 10:51:58 +01:00
Colin Darie
8e6a1c58b2 feat(correction): badge Corrigé when a correction has been resolved
Closes #9928
2024-01-24 17:26:34 +01:00
Kara Diaby
261932b56f
Merge pull request #9890 from demarches-simplifiees/feat/9725
ETQ expert, je souhaite être notifié des nouveaux messages
2024-01-24 13:17:57 +00:00
Colin Darie
520a7c4402
fix(exports): don't try to link to an export when file is not yet attached 2024-01-24 13:36:25 +01:00
Raphaël Dubigny
7584c17342
Remove user_email input autofocus on agent page
This avoid automatic scroll on page load so the AgentConnect button is visible.
2024-01-24 12:00:32 +01:00
Kara Diaby
ac29cfbfdb Envoie un email à l'expert en cas de nouveau commentaire de l'usager dans la messagerie 2024-01-24 10:48:17 +00:00
seb-by-ouidou
a6ca4b668e feat: answer message to administrateur as gestionnaire 2024-01-22 14:36:38 +01:00
seb-by-ouidou
9ff1e57feb feat: US5.1 US5.2 administrateur in admin 2024-01-22 14:36:38 +01:00
Colin Darie
a4db911585
perf(admin): remove 2 useless zones queries on each admin page due to navigation 2024-01-16 19:43:58 +01:00
Lisa Durand
42d91c1eee correction from PR reviews 2024-01-16 11:23:17 +01:00
Lisa Durand
6773843d52 add clickable summary in champ editor view for admin 2024-01-16 11:23:14 +01:00
Lisa Durand
d9b75ce0a2
Merge pull request #9882 from demarches-simplifiees/add-dossier-reference-in-transfer-email
Je veux que le numéro du dossier apparaisse dans l'email de demande de transfert
2024-01-15 15:39:09 +00:00
mfo
0328446bee
Merge pull request #9861 from demarches-simplifiees/US/move-type-de-champ-with-select
ETQ administrateur, je peux deplacer un champ via un select
2024-01-15 13:09:56 +00:00
Martin
68e9d3513d tech(clean): drop drag and drop champs in editor, ux not ok 2024-01-12 11:00:29 +01:00
Colin Darie
8a83fd2ce0
fix(recherche): show notification indicator for instructeurs 2024-01-12 10:09:34 +01:00
Martin
dce06f22a0 feat(type_de_champ_editor): add SelectChampTemplatePosition which feeds SelectChampPositionComponent options 2024-01-11 16:01:24 +01:00
simon lehericey
ca08b80c3e use email_merge_token in mailer 2024-01-11 11:33:38 +01:00
seb-by-ouidou
c45e2eaccc feat: write message to gestionnaires as administrateur 2024-01-09 13:25:04 +01:00
simon lehericey
560c2d763c fix(view_component): use new slot name 2024-01-08 11:57:47 +01:00
Martin
4073804b00 feat(administrateurs/types_de_champ_controller#move_and_morph): add action to move and morph fields between two coordinates 2024-01-03 11:08:53 +01:00
LeSim
d4b4274d26
Merge pull request #9885 from demarches-simplifiees/fix-a-few-typos
Corrections de typos
2023-12-22 22:48:11 +00:00
Eric Leroy-Terquem
a56fa60c78 fix typos 2023-12-22 11:39:09 +01:00
mfo
d69dc6e2c9
Merge pull request #9884 from mfo/US/fix-missing-trad-on-new-commencer
correctif: ETQ usager naviguant sur le site en anglais, j'aimerais que le bloc pour choisir si je depose le dossier pour moi ou qqun d'autre soit traduit
2023-12-22 10:09:00 +00:00
Eric Leroy-Terquem
24563a3c18 fix(personnes impliquees): display reaffectations block only if procedure is routed 2023-12-22 10:57:53 +01:00
Martin
ff09130180 fix(i18n): add missing i18n on /commencer 2023-12-22 10:48:10 +01:00
seb-by-ouidou
e79de57fb5 fix: few fixes after review 2023-12-21 18:40:36 +01:00
seb-by-ouidou
c253e7dd65 feat: US5.1 US5.2 administrateur in admin 2023-12-21 18:40:36 +01:00
Lisa Durand
ff284a1c96 add more info in notify transfer email 2023-12-21 16:58:33 +01:00
Colin Darie
535a54ce97
Merge pull request #9874 from demarches-simplifiees/add-email-for-tiers-when-repasser-en-instruction-ldu
[Co-construction] Envoyer un mail au bénéficiaire si le dossier repasse en instruction
2023-12-21 08:32:10 +00:00
Lisa Durand
c311d6dc46 add url for civil code reference 2023-12-20 11:51:33 +01:00
Lisa Durand
3e872c5246 add email for tiers when repasser en instruction 2023-12-20 11:51:02 +01:00
Lisa Durand
e52bd9d6bf
Merge pull request #9855 from demarches-simplifiees/display-last-export-in-same-page-ldu
ETQ instructeur, j'ai besoin d'un accès très facile à mondernier export
2023-12-20 10:02:08 +00:00
Lisa Durand
e6a4459633 refacto 2023-12-19 16:54:23 +01:00
Lisa Durand
f553f3c408
Merge pull request #9872 from demarches-simplifiees/add-badge-for-role-ldu
ETQ utilisateur avec plusieurs rôles, je m'y retrouve plus facilement
2023-12-19 11:01:28 +00:00
Lisa Durand
c767164e28 add expert in current_account and mode badge to the right 2023-12-19 11:33:48 +01:00
Lisa Durand
1541da9d39 add specific routes and action for polling 2023-12-19 11:10:03 +01:00
Lisa Durand
0286d2b6fb add profiles in flash after sign-in if multiple profile 2023-12-19 10:33:26 +01:00
Lisa Durand
dfc09648d8 add badge with role in user dropdown in header 2023-12-18 14:39:27 +01:00
Colin Darie
e9ee405954
Merge pull request #9868 from colinux/blocking-pending-correction-ff
ETQ instructeur je peux de nouveau passer en correction un dossier avec corrections en attente
2023-12-18 13:29:39 +00:00
Colin Darie
1a56fe620e feat(correction): make pending corrections blocking by feature flag only 2023-12-18 14:12:45 +01:00
Lisa Durand
53f9f3cbdb add trad if export failed 2023-12-18 14:09:47 +01:00
simon lehericey
9bb89f7e3e fix(print): missing dossier var 2023-12-18 09:51:41 +01:00
Colin Darie
c0b444d747
Merge pull request #9847 from colinux/fix-style
Style: plusieurs améliorations mineures / thème sombre
2023-12-15 12:00:53 +00:00
Colin Darie
7ba13507ff
Merge pull request #9808 from colinux/remove-usager-antivirus
ETQ usager, je ne vois plus le statut "antivirus en cours" lorsque j'envoie un PJ
2023-12-14 19:53:34 +00:00
Colin Darie
3b0e4e59d5
Merge pull request #9858 from colinux/fix-invite-html-injection
Tech: sanitize les messages utilisateurs dans les emails
2023-12-14 17:27:28 +00:00
Lisa Durand
569d4af6f7
Merge pull request #9706 from demarches-simplifiees/feat/9678
ETQ usager passant par un mandataire, je suis notifié des changements d'état de mon dossier par email
2023-12-14 16:57:07 +00:00
simon lehericey
b915fe13c3 refactor: remove individual_id as authorized parameter 2023-12-14 16:25:33 +01:00
Colin Darie
fd7839773b fix(email): sanitize user message 2023-12-14 12:51:56 +01:00
Lisa Durand
2f1259709a fix email content 2023-12-14 10:01:13 +01:00
Christophe Robillard
e8b13e4a6e fix footer position for procedure stats page 2023-12-14 09:21:47 +01:00
Colin Darie
c76213cb87
fix(users): don't show procedures filter when there are not enough procedures 2023-12-13 18:03:22 +01:00
Colin Darie
f0e1c1688b
style(admin): convert new procedure radios to dsfr 2023-12-13 18:03:19 +01:00
Lisa Durand
9f962150c3 add polling to refresh alert in view 2023-12-13 17:04:52 +01:00
Colin Darie
b384da73a3
style: fix download attestation button in dark mode 2023-12-13 16:07:33 +01:00
Colin Darie
715c800788
Merge pull request #9821 from colinux/en-attente-block-instruction
ETQ instructeur je ne peux pas passer en instruction un dossier en attente de correction
2023-12-13 10:02:32 +00:00
Lisa Durand
f34090f8fd display last export alert in view 2023-12-13 10:26:33 +01:00
Kara Diaby
57dfe2b0f6 Améliorations après retours PR 2023-12-13 09:21:09 +00:00
Lisa Durand
68c7599e58 align form with adjusting DSFR class 2023-12-12 22:35:11 +00:00
Lisa Durand
43f5f4e030 fix test 2023-12-12 22:35:11 +00:00
Lisa Durand
f6f18e9c86 send email to tiers if notification by email is set 2023-12-12 22:35:11 +00:00
Kara Diaby
ee9c918ee8 Layout 2023-12-12 22:35:11 +00:00
krichtof
fbf0ccde20
Merge pull request #9817 from demarches-simplifiees/9784-footer
ETQ admin et instructeur, j'ai un pied de page
2023-12-12 14:54:01 +00:00
krichtof
246d53fa99
Merge pull request #9754 from demarches-simplifiees/9435-transfer-dossier
En tant que superadmin, je peux transférer un dossier d'un utilistateur à un autre
2023-12-12 14:44:39 +00:00
Christophe Robillard
122a6b6f5b revoke superadmin dossier transfer 2023-12-12 15:25:39 +01:00
Christophe Robillard
a74ecb1f99 indicates when support team initiated dossier transfer 2023-12-12 15:25:39 +01:00
Colin Darie
c26b59722d
feat(instructeur): pending correction blocks passer en instruction
Closes #9731
2023-12-12 15:05:44 +01:00
Colin Darie
f9c4846fde
Merge pull request #9571 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_group_administrateur_management
Feature ouidou/admin creation delegation gestionnaire page group administrateur management
2023-12-12 10:41:28 +00:00
Colin Darie
acbddb5c29 style(gestionnaire): minor style improvements
Co-Authored-By: krichtof <christophe.robillard@beta.gouv.fr>
2023-12-12 11:31:02 +01:00
LeSim
d0372ec608
Merge pull request #9836 from demarches-simplifiees/add_agent_connect_access_to_landing_page
ETQ instructeur: j'accède à la page d'agent connect depuis un button dédié sur la page d'accueil
2023-12-11 19:09:08 +00:00
Christophe Robillard
48397b9526 move general footer row from users to application directory 2023-12-11 16:37:52 +01:00
Christophe Robillard
7e3c47f5cf show footer for agent 2023-12-11 15:50:33 +01:00
Christophe Robillard
d7a8430201 use default footer for application
based on old 'users/dossiers/_index_footer'
2023-12-11 15:38:26 +01:00
LeSim
1d088c37c3
Merge pull request #9832 from demarches-simplifiees/do_not_prefill_totp
SuperAdmin: ne préremplit pas le code totp
2023-12-11 14:02:59 +00:00
Colin Darie
968b2cfb0a
Merge pull request #9818 from colinux/correction-remove-from-message
ETQ instructeur, ma demande de correction est supprimée (résolue) lorsque je supprime son message associé
2023-12-11 13:07:43 +00:00
simon lehericey
d4d225361b refactor(header): align buttons 2023-12-11 12:25:15 +01:00
simon lehericey
96dffb8951 feat(agent connect): add agent connect button to landing page 2023-12-11 12:13:49 +01:00
Martin
8650744064 correctif(procedure/statistiques): utilise le nouveau composant pour afficher les delais de traitement 2023-12-11 11:27:00 +01:00
simon lehericey
0b542c3b98 fix(otp): do not autocomplete ever changing code 2023-12-11 09:52:58 +01:00
mfo
f647ae5ddf
Merge pull request #9828 from mfo/US/doc-api-link-in-user-profile
amelioration(doc.api): ETQ administrateur, j'ai plus facilement accès à la bonne doc des API
2023-12-11 09:48:06 +01:00