Commit graph

5281 commits

Author SHA1 Message Date
mfo
3a895fbd4a
tech(review): add a guard clause to prevent missing pdf, enhance specs 2024-04-02 10:04:22 +02:00
Martin
2944a0c2c3
fix(expert.attestation.url): was pointing to attestation_instructeur_dossier_path, so did not worked when expert was not instructeur. use active_storage_link, secured enough because served to authenticated users as well as expiring link 2024-03-30 06:20:11 +01:00
Corinne Durrmeyer
d5af837872 feat(messagerie_missing_link): Add link to messaging system in the alert block - fix #10198 2024-03-28 11:55:09 +01:00
Kara Diaby
8da7ff7eaa editeur mail administrateur : adaptation pour le dark mode 2024-03-26 11:14:17 +01:00
Eric Leroy-Terquem
d01cd3a310
refacto(dossier list): do not use html safe 2024-03-25 11:16:06 +01:00
Eric Leroy-Terquem
bfd4ae9d50
refacto(dossier list): use model method en_construction_ou_instruction? 2024-03-25 11:15:35 +01:00
Eric Leroy-Terquem
5754d01242
feat(dossier): add alert on dossiers list for dossiers termines on closed procedures 2024-03-25 11:15:34 +01:00
Martin
0cff8668fa fix(dossier.pdf): code path not tested reached a typo 2024-03-22 09:26:50 +01:00
Martin
862af8a9f6 fix(dosser#show.pdf): missing user indirection on fci 2024-03-22 08:45:19 +01:00
Martin
015e606f50 fix(dossier.has_many.france_connect_informations): wip 2024-03-22 07:47:02 +01:00
simon lehericey
76f7222e7a add metadata to pdf 2024-03-21 21:03:21 +01:00
simon lehericey
5c416105ee do not cache application name on landing 2024-03-21 17:38:00 +01:00
Colin Darie
17f9992722
Merge pull request #10040 from colinux/cross-domain-component
Prépare la bannière informant du changement de nom de domaine, avec redirection automatique le cas échéant
2024-03-21 14:58:29 +00:00
Colin Darie
4dd24f0925
chore: cross domain banner between APP_HOST_LEGACY and APP_HOST 2024-03-21 12:21:16 +01:00
simon lehericey
44b113e433 fix brakeman 2024-03-21 10:06:09 +01:00
simon lehericey
1dfd3bf573 use Current.application_base_url in app 2024-03-21 10:06:09 +01:00
simon lehericey
edc4e60b81 use Current.contact_email in app 2024-03-21 10:06:09 +01:00
simon lehericey
efa35e04a5 use Current.application_name in app excluding mail 2024-03-21 10:06:09 +01:00
Kara Diaby
84890f954b gestion des notifications instructeurs au DSFR 2024-03-21 04:02:53 +00:00
mfo
086cc1537b
Merge pull request #10068 from mfo/US/user-has-many-fcis
tech(User.FranceConnect): un usager peut avoir plusieurs profils FranceConnect, pas uniquement un
2024-03-20 16:30:39 +00:00
Eric Leroy-Terquem
73d6609eb3
Merge pull request #10158 from demarches-simplifiees/fix-closing-reason-form
Correctif : ETQ admin je ne peux pas fermer une démarche en redirigeant sans choisir la nouvelle démarche
2024-03-20 13:28:40 +00:00
Lisa Durand
6c5c744411
Merge pull request #10119 from demarches-simplifiees/add-explanation-when-publish-with-same-url-ldu
ETQ admin j'ai un message d'explication si j'utilise une URL déja utilisée lors de la publication d'une démarche
2024-03-20 13:21:59 +00:00
Eric Leroy-Terquem
280f1ac3c7 refactor(procedure): add a prefix to closing_reason enum 2024-03-20 14:04:59 +01:00
Eric Leroy-Terquem
579fe2c933 chore(procedure): remove unnecessary safe operator 2024-03-20 14:04:59 +01:00
Lisa Durand
db244c821b remove ununcessary instance variable for current admin 2024-03-20 11:24:24 +01:00
Paul Chavard
eff03aaf23 refactor(dossier): label indexes based on type_de_champ not champ 2024-03-20 09:58:47 +01:00
simon lehericey
df0298ac42 simply deal with multiple agent_connect_information by taking the last used 2024-03-19 21:17:45 +01:00
Colin Darie
b686e299a1
fix(procedure): format date with I18n helper 2024-03-19 14:46:02 +01:00
Kara Diaby
09d479321b corrections après retours 2024-03-18 11:50:29 +00:00
Kara Diaby
e824118aea layout 2024-03-18 11:50:29 +00:00
Lisa Durand
93c21d5639
use method to display email (PR review)
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2024-03-18 11:27:50 +01:00
Lisa Durand
90331f6e52 add dossier owner on dossier list when there is invitation 2024-03-18 11:15:39 +01:00
Paul Chavard
900db5624f refactor(champs): if champ not found - build it 2024-03-17 23:51:45 +01:00
Paul Chavard
fd2e253ebc refactor(champs): use ViewableChamp::SectionComponent 2024-03-17 23:51:45 +01:00
simon lehericey
ce3a156a46 refactor(file retrieval): use ciphered query params instead of cookie to move email 2024-03-15 14:42:28 +01:00
simon lehericey
84398b147d feat(file retrieval): post select only if selection 2024-03-15 14:35:15 +01:00
simon lehericey
2c367846da refactor(js): radio_enabled_submit -> enable_submit_if_checked 2024-03-15 14:35:15 +01:00
simon lehericey
96a8e7888e feat(file retrieval): select procedure to recover 2024-03-15 14:35:14 +01:00
simon lehericey
cd7fd5832c feat(file retrieval): post targeted email 2024-03-15 14:35:14 +01:00
simon lehericey
d86bebdd03 feat(file retrieval): ensure collectivite territoriale 2024-03-15 14:35:14 +01:00
simon lehericey
fac365e01d feat(file retrieval): ensure agent connect is used 2024-03-15 14:35:14 +01:00
simon lehericey
d3955d48ee feat(file retrieval): contact support if not col ter 2024-03-15 14:35:14 +01:00
simon lehericey
b7c48acf86 feat(file retrieval): basic UI skeleton 2024-03-15 14:35:14 +01:00
Lisa Durand
e757eefd37 add message when path is already taken when publishing a procedure 2024-03-14 17:17:47 +01:00
Colin Darie
4d53bdcae5
chore: remove download link of pdf form of closed procedure 2024-03-14 10:47:13 +01:00
Colin Darie
fc1c6bb412
Merge pull request #10103 from tchak/dossier-vide-from-procedure
refactor(dossier_vide): use types_de_champ instead of empty dossier
2024-03-12 15:29:24 +00:00
Colin Darie
ee92668611
Merge pull request #9930 from demarches-simplifiees/add-external-link-to-procedure
ETQ admin lorsque je clos une démarche je peux alerter les usagers et je crée une page de fermeture si la démarche n'est pas redirigée dans DS
2024-03-12 15:03:30 +00:00
Colin Darie
0d2f5547e0
Merge pull request #10076 from mfo/US/fix-expert-dossier-export
correctif(Export.export): ETQ expert téléchargeant un dossier et toutes ses PJs, la messagerie n'est pas dans l'export quand la procedure ne l'autorise pas. L'export ne contient pas les annotations privées
2024-03-12 14:09:48 +00:00
Paul Chavard
aa0aea1543 refactor(dossier_vide): use types_de_champ instead of empty dossier 2024-03-12 14:23:07 +01:00
Lisa Durand
2d186a7292 add svg in view 2024-03-11 17:29:47 +01:00
Eric Leroy-Terquem
c96d86a64b style(procedure removed banner): add links for email and telephone 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
d3c26591c8 feat(user dossiers): update messages when procedure is closed 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
d800213920 feat(procedure): add closing details page 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
8c322353c7 feat(procedure): add alert on admin show when procedure closed 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
c95f0f1cad feat(procedure): send notifications after closing 2024-03-11 15:48:28 +01:00
Eric Leroy-Terquem
74903d79bf feat(procedure): update archiving to add closing reason and closing details 2024-03-11 15:48:28 +01:00
Martin
75ea596e48 fix(commencer#dossier_vide): use repetition added_champs from repetition instead of creating/iterating over not persisted champs 2024-03-11 10:15:42 +01:00
Paul Chavard
a898675145
Merge pull request #10081 from mfo/US/fix-motivation-tags
correctif(attestation): ETQ usager, je ne souhaite pas voir apparaitre des balaises HTML dans mon attestation au format pdf
2024-03-08 12:14:57 +00:00
Martin
d0e2df1aa0 fix(attestation): strip all tags from attestation 2024-03-08 09:57:28 +01:00
Martin
9425f2cc58 fix(user.france_connect_informations): has_many, not has_one 2024-03-08 09:44:21 +01:00
krichtof
1024557081
Merge pull request #10041 from demarches-simplifiees/10029-filter-kind-usager
ETQ admin, je peux filtrer toutes les démarches par type d'usager
2024-03-08 08:23:26 +00:00
Martin
f4d2f1ddf5 fix(export.pdf): expert should not have access to messagerie when it was disabled 2024-03-07 08:39:32 +01:00
Eric Leroy-Terquem
3f6b6ccc63 fix(attestation depot): display groupe information contact if dossier is routed 2024-03-06 10:47:19 +01:00
Paul Chavard
cf684ffd40
Merge pull request #10050 from tchak/fix-batch-motivation
ETQ Instructeur je veux attribuer la motivation correcte à ma décision
2024-03-05 17:01:54 +00:00
Paul Chavard
a247ec6c12
Merge pull request #9695 from tchak/use-types-de-champ-as-source-of-truth
refactor(dossier): use revision as source of truth to diplay champs
2024-03-04 15:03:02 +00:00
Paul Chavard
7a727e2bd2
Merge pull request #10051 from demarches-simplifiees/fix-france-connect-warning
Correction : etq usager je ne vois pas le bandeau indiquant que je suis connecté avec France Connect
2024-03-04 11:44:25 +00:00
Eric Leroy-Terquem
125724d416 feat(dossier): display france connect information notice only to instructeur 2024-03-04 11:30:19 +01:00
Paul Chavard
1193c866bf refactor(dossier): has_annotations? 2024-03-04 10:59:11 +01:00
Paul Chavard
1850d80b82 refactor(dossier): use new champs_for_revision method 2024-03-04 10:59:11 +01:00
Eric Leroy-Terquem
6be57d9ea4 fix(bulk messages): display previous bulk messages 2024-02-28 16:07:27 +01:00
Paul Chavard
529461f3b6 fix(instructeur): motivations from different states should not conflict 2024-02-28 13:42:44 +01:00
mfo
c0d120545e
Merge pull request #10042 from mfo/US/vers-demarches-gouv-et-lau-dela
tech(redirect): ETQ usager non connecté, je suis automatiquement redirigé de demarches-simplifiees vers le nouvel host
2024-02-28 10:30:42 +00:00
Martin
a13594792a feat(cross-domain-redirect): redirect to APP_HOST when user is on APP_HOST_LEGACY 2024-02-28 06:23:55 +01:00
Martin
da0edb683a fix(dossiers/papertrail.pdf): more compatible with state design. larger body and darker font 2024-02-27 10:20:29 +01:00
Christophe Robillard
26a86d8003 filter all demarches by kind usager 2024-02-23 16:04:27 +01:00
Colin Darie
f9e7d5536b
chore: remove mailjet support 2024-02-22 15:18:34 +01:00
Colin Darie
4a45fdb3d6
fix(attestation): marianne label until 5 lines because of Economie & Finances long name 2024-02-22 12:19:08 +01:00
Colin Darie
2d039cd410
style(attestation): preview on side 2024-02-22 12:18:54 +01:00
Colin Darie
e34eca11e4
style(attestation): tools above editor 2024-02-22 12:18:53 +01:00
mfo
aaf5f08f25
Merge pull request #10020 from mfo/US/a11y-invite-with-nice-feedback
ETQ usager utilisant un lecteur d'écran: l'envoie d'une invitation est confusant (le form reste rempli, le message de confirmation n'est pas lu)
2024-02-22 06:02:26 +00:00
Martin
a4a232dda2 a11y(invite): rework invite menu for easier readability by screen reader 2024-02-21 15:49:55 +01:00
Colin Darie
5f5756a034
Merge pull request #10017 from mfo/US/a11y-after-signup
ETQ usager utilisant un lecteur d'écran: la page de demande de confirmation de compte ne concentre pas le lecteur d'écran sur le champ pour renvoyer un mail de confirmation
2024-02-21 12:25:35 +00:00
Colin Darie
76d903b04e
Merge pull request #10011 from adullact/feature-ouidou/admin_creation_delegation_review
ETQ gestionnaire d'admins: sépare les commentaires par origine + correctifs
2024-02-21 11:21:45 +00:00
seb-by-ouidou
52db6f712f separate commentaires by origin + few fixes 2024-02-21 09:47:03 +00:00
Martin
48336f0ca4 a11y(users/confirmations#new): avoid autofocus on input to resend the mail, otherwise screen reader goes straight to the input 2024-02-21 07:56:00 +01:00
Martin
6117aa503f a11y(flash_message): make them assertive, feedback from a request is the priority. 2024-02-20 17:26:13 +01:00
mfo
de4369db29
Merge pull request #10010 from mfo/US/fix-expert-signup
amelioration(expert.signup): passe la page de creation de compte expert au dsfr
2024-02-19 16:43:31 +00:00
Martin
e788846894 feat(expert.signup): dsfrize 2024-02-19 11:28:38 +01:00
Paul Chavard
20307f1d21 refactor(address): use directly BAN data 2024-02-16 12:15:14 +01:00
Martin
32e8f34511 refactor(PiecesJustificativesService): stop passing flags, pass user_profile and manage ACL from the service itself 2024-02-16 11:23:39 +01:00
mfo
4dfb3b86ef
Merge pull request #10000 from mfo/US/groupe-instructeur-manageable-for-routee-procedure
ETQ administrateur, je peux gerer la liste des instructeurs même si le routage est activé sur ma démarche
2024-02-16 09:26:06 +00:00
Colin Darie
fc482c1607
Merge pull request #10008 from colinux/fix-draft-procedure-description-cache
ETQ admin: correction du cache de la liste des PJ d'une démarche en brouillon
2024-02-16 07:22:22 +00:00
mfo
4f58795eaa
Merge pull request #10002 from mfo/US/dsfrize-instructeur-invitation-page
ETQ instructeur, la page de gestion des groupes d'instructeur est au format du DSFR
2024-02-16 06:37:49 +00:00
Colin Darie
a783c50026 fix(commencer): cache on description of draft procedure
Des changements dans le formulaire d'une démarche en brouillon
ne mettent pas à jour la cache_key de la procedure, donc au fait au plus
simple pour éviter un cache stale dans ces cas là.
2024-02-15 18:45:13 +01:00
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
Martin
6d576049b2 amelioration(doc-api): deprecie les webhooks [on a deja supprimé la doc il y a un moment]
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-11 09:45:41 +01:00
Colin Darie
adc005da53
Merge pull request #9831 from demarches-simplifiees/formatage-motivation
ETQ usager ou instructeur, la motivation est bien formatée sur la page du dossier
2023-12-11 08:34:57 +00:00
mfo
e868d62ffd
Merge pull request #9814 from demarches-simplifiees/fix-deleted-dossiers-link-for-instructeur-ldu
[Bug] ETQ instructeur je peux accéder à la page des dossiers supprimés
2023-12-08 18:49:45 +00:00
mfo
28bbfc7b3a
Merge pull request #9800 from colinux/fix-publication-revision-errors
ETQ admin je suis prévenu si des erreurs sur la démarche empêchent la publication de révision
2023-12-08 17:14:14 +00:00
mfo
c9a49c2b56
Merge pull request #9829 from demarches-simplifiees/9807-email-depot
ETQ personne morale, mon adresse email figure dans l'attestation de dépôt
2023-12-08 17:03:47 +00:00
Christophe Robillard
7f0ece3729 format motivation in dossier overview 2023-12-08 17:50:19 +01:00
Christophe Robillard
d744e3b92d add email to attestation depot when personne morale 2023-12-08 17:04:31 +01:00
mfo
25654d071c
Merge pull request #9824 from demarches-simplifiees/9823-no-dossier
ETQ usager sans dossier, je peux savoir comment trouver une démarche
2023-12-08 16:03:08 +00:00
Christophe Robillard
91f77f09ae help user without dossier 2023-12-08 15:14:04 +01:00
krichtof
269e7e1432
Merge pull request #9802 from demarches-simplifiees/9726-mail-utilise
ETQ usager, je veux retrouver l'email utilisé pour mon compte dans les mails automatiques
2023-12-07 16:35:29 +00:00
Martin
a66fd42450 amelioration(estimation_delay): evite des estimations de date similaire 2023-12-07 16:47:16 +01:00
Colin Darie
accd7864ff feat(correction): deleting a comment resolves the related correction
Cf #9731
2023-12-07 15:41:50 +01:00
Christophe Robillard
b2690d782e display user email in service footer 2023-12-07 15:16:04 +01:00
Colin Darie
0f1980b1c3 refactor(pj): don't poll on antivirus when submitting a pj
Closes #9733
2023-12-07 14:29:09 +01:00
Lisa Durand
6deadd107d fix broken link to access deleted dossiers for instructeurs 2023-12-07 09:59:30 +01:00
Martin
f26a4bc041 amelioration(delai.traitement): revoie l'affichage du delais d'instruction
Co-authored-by: Colin Darie <colin@darie.eu>
2023-12-07 09:19:52 +01:00
Martin
474fde3380 amelioration(procedure.usual_traitement_time_for_recent_dossiers): divise en 3 groupe l'estimation de la duree de traitement 2023-12-07 09:19:52 +01:00
seb-by-ouidou
e34307b50c fix: fixes after review 2023-12-06 14:47:39 +01:00
seb-by-ouidou
564c3c04fa feat: US4.3.8 administrateur management 2023-12-06 14:47:39 +01:00
Colin Darie
60abc6ea6e fix(admin): warn when errors block revision publication 2023-12-05 18:31:20 +01:00
Colin Darie
58af217477 fix(cache): depends on locale 2023-12-05 16:13:49 +01:00
Colin Darie
a9397ff5d3
Merge pull request #9776 from demarches-simplifiees/best-regards
Rend la signature dans les emails plus neutre
2023-12-05 13:52:26 +00:00
Colin Darie
6674884c25
Merge pull request #9774 from colinux/perf-user-dossiers
ETQ usager l'affichage de la liste de mes dossiers va beaucoup plus vite
2023-12-05 08:59:45 +00:00
LeSim
35c0940893
Merge pull request #9767 from demarches-simplifiees/on_strike_but_dont_query
Tech: déplace la variable de grève de flipper a une variable d'environnement pour éviter une requete sql par page.
2023-12-04 21:19:20 +00:00
Colin Darie
75c22bc7d4
perf(usager): cache tabs with a simple and fast cache_key
Plutôt que d'include dans la cache_key tous les scopes utilisés par l'onglet,
(ce qui provquerait une requête par scope),
on le base simplement sur les dossiers & invitations.
Les deleted dossiers sont inclus indirectement car ça correspond à la
suppression (N-1) d'un dossier.
2023-12-04 15:31:47 +01:00
Colin Darie
c24a94430d style: improve dark theme messagerie buttons & iconography 2023-12-04 14:47:05 +01:00
Colin Darie
d601daaee1
style: procedure administrateurs table as dsfr 2023-12-04 14:07:33 +01:00
Colin Darie
72b0bb3fa4
style(dsfr): convert jeton particulier form and card to dsfr 2023-12-04 14:07:30 +01:00
Colin Darie
494aa2bf40
style: replace accept legacy icon 2023-12-04 14:07:29 +01:00
Colin Darie
458d53e471
style: replace without-continuation legacy icon 2023-12-04 14:07:27 +01:00
Colin Darie
0701275a8e
chore: remove obsolete partial 2023-12-04 14:07:26 +01:00
Colin Darie
d70b03c969
style: replace refuse legacy icon 2023-12-04 14:07:25 +01:00
Colin Darie
e9ab3352f1
style: replace legacy archive icon 2023-12-04 14:07:24 +01:00
Colin Darie
2a31fc68d7
style: replace legacy folder icon 2023-12-04 14:07:21 +01:00
Colin Darie
eff2b856df
style: replace in-progress legacy icon 2023-12-04 14:07:19 +01:00
Colin Darie
ef8dc97a4c
style: replace legacy delete icon 2023-12-04 14:07:18 +01:00
Colin Darie
adfeac02e7
style: replace new-folder icon with remix/dsfr icon 2023-12-04 14:07:17 +01:00
Colin Darie
38bee3639d
style: replace legacy icon person 2023-12-04 13:34:33 +01:00
Christophe Robillard
ebfdd67dc1 makes the signature more neutral 2023-12-04 11:18:06 +01:00
simon lehericey
d7a6619725 refactor: avoid a sql request on every page 2023-11-30 11:12:41 +01:00
Paul Chavard
ef243e2a06 feat(manager): add expert view 2023-11-29 20:35:47 +00:00
Paul Chavard
3c36300de6 feat(attestation): use tiptap editor controller 2023-11-29 12:07:42 +00:00
Christophe Robillard
332570bfba superadmin can transfer dossier from a user to another user 2023-11-28 15:48:39 +01:00
Colin Darie
15ff65429b
Merge pull request #9738 from colinux/validate-pending-correction
ETQ usager modifiant un dossier en construction je n'ai plus besoin de cocher la case de correction effectuée
2023-11-27 13:52:06 +00:00
Colin Darie
3b9285a00b
perf(procedure): description view caching 2023-11-27 11:29:20 +01:00
Colin Darie
5d747ba0c2
fix(procedure): list piece justificative in repetitions 2023-11-27 11:08:39 +01:00
krichtof
fce2d8efa9
Merge pull request #9710 from demarches-simplifiees/9615-form-autosave
ETQ admin, je peux savoir quand mon formulaire a été sauvegardé pour la dernière fois
2023-11-23 23:17:14 +00:00
Christophe Robillard
2c6a9e7bf2 add autosave feedback when admin updates form 2023-11-23 13:35:53 +01:00
Colin Darie
ba076357c5
feat(dossier): submit en construction resolve automatically correction except for sva 2023-11-22 12:35:42 +01:00
Colin Darie
10f5fae316 fix(theme): don't blink theme at render with dark theme
On ne veut pas attendre la fin du render pour que le JS du DSFR
set le theme à partir du scheme, autrement on voit le thème clair
pendant le render.
2023-11-20 17:39:38 +01:00
Colin Darie
3dd25c1ea6 fix(gestionnaires): apply navigation refactor to gestionnaires 2023-11-20 15:07:21 +01:00
Colin Darie
99fe4694af fix(announces): link rendering not catched by turbo and fix a11y attributes 2023-11-20 15:07:21 +01:00
Colin Darie
8051beb068 fix(announce): don't increase attachment width (back to rails default) 2023-11-20 15:07:21 +01:00
Colin Darie
49cd10458c feat(announces): show Nouveautés link in main navigation 2023-11-20 15:07:20 +01:00
Colin Darie
a41c8f73ad refactor(nav): organize main navigation logic across profiles 2023-11-20 15:06:43 +01:00
Martin
bfe27b5eb7 amelioration(UsersDeletionService.expired_users_with_dossiers): ignore les usagers ayant un dossier en instruction, meme si il a des dossiers en brouillon ou autre 2023-11-17 11:33:14 +01:00