Commit graph

12018 commits

Author SHA1 Message Date
Colin Darie
1615b8ea28
chore(export): set sentry tag procedure id 2024-05-13 14:01:43 +02:00
Colin Darie
ea821e1eac fix: departement_type_de_champ#champ_value_for_tag bad signature 2024-05-13 13:29:30 +02:00
Colin Darie
e01f5b7993
refactor(search): index search terms only when necessary 2024-05-08 10:35:04 +02:00
Corinne Durrmeyer
907bc8d97d
Instructor : Remove empty link 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
74f1f19a15
Expert : Standardize title 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
c518018020
Admin - Add main title 2024-05-07 16:28:19 +02:00
Corinne Durrmeyer
4a9213455a
Admin - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
Corinne Durrmeyer
2dc6e3fbc3
Instructor - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
Corinne Durrmeyer
f0544d77e9
User - Improve titles on listing pages 2024-05-07 16:28:18 +02:00
simon lehericey
24a8257e47
ux: cni are not exposed by zip or api 2024-05-07 14:49:43 +02:00
Kara Diaby
b048a2b042 BUGFIX : La démarche modèle clonée n'est plus modèle 2024-05-07 09:49:29 +00:00
mfo
9518982166
Merge pull request #10346 from mfo/US/permit-to-disable-tiers-bloc
ETQ administrateur, je souhaite pouvoir conditionner l'affichage du bloc " Pour un bénéficiaire : membre de la famille, proche, mandant, professionnel en charge du suivi du dossier…"
2024-05-07 09:23:07 +00:00
mfo
15e464d246
Merge pull request #10309 from mfo/US/section_component_use_html_with_semantic_meaning
tech(a11y): Les champs répétables n'englobent pas leurs champs enfant dans un `fieldset` si il n'y a qu'un seul champ enfant. Idem pour les checkbox uniques
2024-05-07 07:52:22 +00:00
Colin Darie
6733b2884f
feat(search): index mandataire name 2024-05-06 18:58:52 +02:00
Colin Darie
39b0327237
refactor(search): rename update search terms => index search terms 2024-05-06 18:57:39 +02:00
Colin Darie
797bd6b94b
fix(search): preload before updating search terms because we access all champs 2024-05-06 18:57:04 +02:00
Colin Darie
4408824882
fix(dossier): update search terms when etablissement or individual changed 2024-05-06 18:57:03 +02:00
Colin Darie
ee465b38ff
feat(search): debounce update search terms 2024-05-06 18:57:00 +02:00
Colin Darie
2e763d5e92
perf(search): ignore search_terms columns, use raw sql instead 2024-05-06 17:16:34 +02:00
Colin Darie
300264bf10
fix: procedure closed details link on 'Plus d'informations' words 2024-05-06 16:41:37 +02:00
mfo
84c1a485e5 feat(Procedure.for_tiers_enabled): allow super admin to disable for_tiers 2024-05-06 15:56:22 +02:00
mfo
b40cc2a54e feat(individual.validation): add missing strict_email validation 2024-05-06 15:56:22 +02:00
mfo
f6046d801f feat(individual_form_component): add missing required on notification method 2024-05-06 15:56:22 +02:00
mfo
95de0d6239 tech(refactor): identity blocks 2024-05-06 15:56:22 +02:00
Eric Leroy-Terquem
3d5e0043a6
refacto: remove unused small variant 2024-05-06 15:52:06 +02:00
Eric Leroy-Terquem
db8de9e657
fix(gallery): display attachments tab only if attachments in dossier 2024-05-06 15:52:06 +02:00
Eric Leroy-Terquem
479fdb9dbe
feat(gallery): can close gallery when clicking on browser back button 2024-05-06 15:52:05 +02:00
Eric Leroy-Terquem
c6a2cb0240
style(gallery): update gallery demande UI 2024-05-06 15:52:05 +02:00
Colin Darie
0dd4bafdfd refactor(pj): more readable as_multiple logic 2024-05-06 09:49:02 +00:00
Colin Darie
9e3bf50e61 chore(messagerie): mention multiple files are possible 2024-05-06 09:49:02 +00:00
Colin Darie
6748551240 chore(messagerie): add missing label on comment form 2024-05-06 09:49:02 +00:00
Colin Darie
3b7b18ef90 style(pj-messagerie): same spacing as in PJ champ 2024-05-06 09:49:02 +00:00
Colin Darie
5374100866 fix(messagerie): fix submit for gestionnaires 2024-05-06 09:49:02 +00:00
Kara Diaby
46bec10aa2 lib 2024-05-06 09:49:02 +00:00
Kara Diaby
5488067801 api 2024-05-06 09:49:02 +00:00
Kara Diaby
be056a1258 tasks 2024-05-06 09:49:02 +00:00
Kara Diaby
bf622eb3ed service and serializer 2024-05-06 09:49:02 +00:00
Kara Diaby
b69d8249c5 controller 2024-05-06 09:49:02 +00:00
Kara Diaby
981e7ff244 javascript 2024-05-06 09:49:02 +00:00
Kara Diaby
7092583b0a layout 2024-05-06 09:49:02 +00:00
Kara Diaby
bec9af90e8 models 2024-05-06 09:49:02 +00:00
Kara Diaby
1e9b7fbbb6 components 2024-05-06 09:49:02 +00:00
simon lehericey
c9fbe6d5cc
ui: add html delimiter to procedure numbre 2024-05-03 15:57:48 +02:00
Corinne Durrmeyer
717166f61c
Fix typo 2024-05-03 10:18:05 +02:00
Eric Leroy-Terquem
4b53808b5c
fix(gallery): add variants on thumbnails 2024-04-29 21:35:20 +02:00
mfo
91f07f86e4
fix(Champ.checkbox): single checkbox should not be wrapped in fieldset. single checkbox uses fr-checkbox not fr-radio
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-24 18:00:40 +02:00
mfo
64dcd2b0d2
fix(repetition): useless fieldset 2024-04-24 17:37:58 +02:00
Paul Chavard
0f6b39d5ca fix(task): fix BackfillCommuneCodeFromNameTask 2024-04-24 16:22:20 +02:00
Paul Chavard
ecd8ea9ee5 refactor(dossier): use new serialization in dossier project service 2024-04-24 13:27:20 +02:00
Paul Chavard
244dcfcc23 refactor(export): improuve specs 2024-04-24 13:27:20 +02:00
Paul Chavard
39364961ab refactor(export): expose new interface on type de champ and use it in champs 2024-04-24 13:27:20 +02:00
Paul Chavard
371b8b0b46 refactor(export): remove old formatting code from champs 2024-04-24 13:27:20 +02:00
Paul Chavard
99834e0cf5 refactor(export): move formatting logic to type de champ 2024-04-24 13:27:20 +02:00
Paul Chavard
ea42dec5a4 chore(patron): build real demarche and dossier for page patron 2024-04-23 21:56:14 +02:00
LeSim
6c70a3db28
Merge pull request #10374 from colinux/watermark-dj
ETQ instructeur: rétablit l'affichage du filigrane des Titres d'identité
2024-04-23 15:22:28 +00:00
Colin Darie
9658a0ca47
fix(watermark): fix watermark text
Current attributes are not set in jobs
2024-04-23 14:59:46 +02:00
Paul Chavard
2bc076e1fb fix(dossier): fix and optimize dossier projection service 2024-04-23 11:38:53 +02:00
mfo
62a2aee923 feat(api.playground): playground is accessible to anyone. allow user to fill in headers 2024-04-23 11:19:38 +02:00
LeSim
9ae734c122
Merge pull request #10365 from tchak/refactor-dossier-champ-by-stable-id-attribute-keys
refactor(champs): do not depend on attributes hash key in old code
2024-04-23 07:18:08 +00:00
Colin Darie
5348543dbe
fix(demande): pj thumbnail with loading="lazy" 2024-04-22 22:33:51 +02:00
Eric Leroy-Terquem
388470f186
fix(gallery): add a feature flag on gallery demande 2024-04-22 20:55:13 +02:00
Paul Chavard
95bb09a1f8 refactor(champs): do not depend on attributes hash key in old code 2024-04-22 18:38:59 +02:00
Paul Chavard
741712141a refactor(champs): add new champs controllers urls with stable_id and row_id 2024-04-22 13:55:02 +02:00
Paul Chavard
1021a31f7b refactor(dossier): use update_champs_private and update_champs_public methods 2024-04-22 13:55:02 +02:00
Paul Chavard
ee57d00507 refactor(champs): add new champ find strategy 2024-04-22 13:55:02 +02:00
Paul Chavard
fbd48abc9c refactor(graphql): use champ_for_update method 2024-04-22 13:55:02 +02:00
Paul Chavard
25e009df78 refactor(prefill): use champ_for_update method 2024-04-22 13:55:01 +02:00
Paul Chavard
0c7bc6b555 feat(dossier): add methods to upsert champ values 2024-04-22 13:55:01 +02:00
Paul Chavard
c479d46b47 refactor(champs): extract dossier champ related methods in to a concern 2024-04-22 13:55:01 +02:00
Colin Darie
c52ff5cdeb
Merge pull request #10357 from demarches-simplifiees/fix_dolist_gouv_sender
Tech: pour le prestataire de mail dolist, choisit le bon sender_id en fonction du domaine utilisé (migration gouv.fr)
2024-04-22 09:43:34 +00:00
Lisa Durand
a0b172566d
feat(gallery): small ui adjustments 2024-04-22 11:09:12 +02:00
Eric Leroy-Terquem
321d198f64
feat(gallery): add gallery to demande page 2024-04-22 11:09:12 +02:00
Eric Leroy-Terquem
29dea52a7e
chore: add truncate option to show and download component 2024-04-22 11:09:11 +02:00
Eric Leroy-Terquem
7c6c3608c9
feat(gallery): use authorized content types 2024-04-22 11:09:11 +02:00
Eric Leroy-Terquem
f02cb19fd4
feat(gallery): display pieces jointes in a gallery 2024-04-22 11:09:10 +02:00
Colin Darie
a30d202971
Merge pull request #10352 from colinux/sva-visible
ETQ admin, tout le monde voit la tuile pour activer le SVA/SVR
2024-04-22 08:26:58 +00:00
Paul Chavard
5788997519
Merge pull request #10347 from tchak/cleanup-dossier-user
fix(dossier): always use user_email_for instead of user.email
2024-04-22 08:22:51 +00:00
Paul Chavard
761ecf95b1
Merge pull request #10348 from demarches-simplifiees/fix_cron_operations_signature
Tech: repare le job de signature des operations
2024-04-22 08:22:38 +00:00
Paul Chavard
7d4148202c
Merge pull request #10265 from tchak/yabeda-graphql
chore(yabeda): add graphql metrics
2024-04-22 08:21:51 +00:00
Eric Leroy-Terquem
e4d517bf10
Merge pull request #10311 from demarches-simplifiees/allow-rerouting-of-dossier-if-routing-configured-after-procedure-publication
ETQ tech je peux re-router les dossiers d'une démarche si le routage a été configuré après publication - suite
2024-04-22 07:55:30 +00:00
Paul Chavard
3dbb2266d2 chore(yabeda): add graphql metrics 2024-04-22 09:34:40 +02:00
simon lehericey
9e33b1ee6d
fix: allow unsigned expert when restricted list 2024-04-19 13:03:09 +02:00
simon lehericey
45fa700561
fix: choose dolist sender depending on the mail domain 2024-04-19 10:59:04 +02:00
simon lehericey
2745be5672
chore: remove old code 2024-04-19 08:48:17 +02:00
simon lehericey
a10a59b265
perf: only load id digest 2024-04-19 08:48:17 +02:00
simon lehericey
8f8b63ac6a
fix: load the dols day by day 2024-04-19 08:48:17 +02:00
Colin Darie
2f1b1ba5fe
fix(mailers): hardcode default url options host because APP_HOST is not yet migrated 2024-04-18 18:44:32 +02:00
simon lehericey
21e8fc54e2
chore: put dol_to_cold_storage back to low_priority 2024-04-18 17:10:21 +02:00
Colin Darie
63aecdd85a chore(sva): always enable card but form submit needs feature flag 2024-04-18 16:09:36 +02:00
mfo
4041bfa160
Merge pull request #10317 from mfo/US/aria-labelled-by-error-message
ETQ Usager, je souhaite que mon screen reader verbalise les erreurs sur les champs unique contenu dans un `fieldset`
2024-04-18 08:53:12 +00:00
Paul Chavard
6644f8157f fix(dossier): always use user_email_for instead of user.email 2024-04-18 10:21:32 +02:00
mfo
8453e121d7
feat(champ.errors): add aria-labelledby error on champs wrapped within a fieldset, make error messages always present and aria-live: assertive on validation error
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
2024-04-18 10:00:27 +02:00
mfo
1a0a603234
Merge pull request #10316 from mfo/US/better-error-message-on-siret-champ
ETQ usager, j'aimerais que les champs siret soient mieux verbalisés par le screen reader
2024-04-18 07:11:18 +00:00
Colin Darie
46545ee846
Merge pull request #10341 from colinux/dsfr-1.11
Tech: upgrade DSFR 1.10 => 1.11
2024-04-17 15:50:32 +00:00
Paul Chavard
2c9f809a46
Merge pull request #10250 from mfo/US/add-missing-validators
tech(champs.validators): dry and standardize champs.validations
2024-04-17 15:06:47 +00:00
mfo
009738f26b
Merge pull request #10313 from mfo/US/stop-using-placeholder-and-title-attribute
ETQ usage, je souhaite que les aides à la saisie soient vocalisées par le screenreader
2024-04-17 14:57:14 +00:00
Colin Darie
5ae0fa0d7d fix(dsfr): v1.11 requires meta[name=format-detection] 2024-04-17 16:41:32 +02:00
Colin Darie
251d512b73 fix(dsfr): v1.11.1 removes aria-haspopup from burger button 2024-04-17 16:37:26 +02:00
simon lehericey
ca4ab4cfe1
fix: multi FC do not change const 2024-04-17 15:33:37 +02:00
Colin Darie
b4ee26b9e7 style: cleanup generic form css override 2024-04-17 11:48:27 +02:00
LeSim
6165df277b
Merge pull request #10342 from demarches-simplifiees/dirty_fix_to_make_fc_work_again
hack: always use default redirect_uri
2024-04-17 09:45:21 +00:00
simon lehericey
2424885adf
hack: always use default redirect_uri 2024-04-17 11:36:35 +02:00
Colin Darie
09dd31829a
Merge pull request #10286 from demarches-simplifiees/fix-app-name-hardcoded
ETQ admin: form des infos de démarche plus lisible
2024-04-17 08:14:39 +00:00
mfo
d8b7aa14f6
feat(Champ.rna): do not use title attribute on champ.rna
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-17 07:31:33 +02:00
mfo
36c253edbb
clean(Champ.siret): title not needed 2024-04-17 07:31:32 +02:00
mfo
cab3a55f45
fix(Champ.dossier_link): do not use placeholder, use hint 2024-04-17 07:31:32 +02:00
mfo
94891b8695
fix(Champ.number): remove placeholder 2024-04-17 07:31:32 +02:00
mfo
83c6bf1f0e
feat(Champ.siret): on invalid, set error message on InputStatutErrorMessage. on valid, set info message on siret info component
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-17 06:30:16 +02:00
mfo
aca67a2274
tech(refactor.champs.validation): all champs validation use :validate_champ_value_or_prefill? 2024-04-17 06:27:26 +02:00
mfo
c6e21fb7bd
feat(champs.contextual_validation): extract contextual methods validation in module 2024-04-17 06:27:25 +02:00
Colin Darie
331dfd3044
Merge pull request #10339 from colinux/fix-instructeurs-notification
ETQ instructeur, fix position de la pastille de notification
2024-04-16 16:12:41 +00:00
simon lehericey
981003975c
refactor: use last_sign_in_at as confirmed_at is not reliable 2024-04-16 17:58:30 +02:00
simon lehericey
d95ce505a8
feat: suggest recently added user even if its not confirmed 2024-04-16 17:58:30 +02:00
simon lehericey
8d95df2250
feat: do not suggest unconfirmed experts 2024-04-16 17:58:30 +02:00
simon lehericey
1502635327
refactor: experts emails pluck 2024-04-16 17:58:30 +02:00
simon lehericey
5cd780251b
refactor: mutualize email_expert logic 2024-04-16 17:58:29 +02:00
Colin Darie
7c6bcb268d
chore(admin): improve non declarative radio label 2024-04-16 17:55:17 +02:00
Colin Darie
2515f46fea
style(admin): minor spacing improvements in procedure form 2024-04-16 17:55:16 +02:00
Lisa Durand
ec26ebb807
use radio rich style for more readability 2024-04-16 17:55:15 +02:00
Lisa Durand
227d740a76
remove css change and add all fieldsets 2024-04-16 17:55:14 +02:00
Lisa Durand
1246ef02b6
remove interpolation in duree_conservation… field 2024-04-16 17:55:12 +02:00
Lisa Durand
5231ce71a3
follow-up : admin better procedure infos form 2024-04-16 17:55:11 +02:00
Colin Darie
b1570a40f9
wip: admin: better procedure infos form 2024-04-16 17:55:10 +02:00
Colin Darie
b336e1b606
chore(admin): fix hardcoded application names in translations 2024-04-16 17:55:09 +02:00
Colin Darie
94c176d791 style(notification): fix pastille position in dossiers list 2024-04-16 15:59:53 +02:00
Colin Darie
71b0592b0a
Merge pull request #10336 from colinux/fix-address-without-postcode
Usager: fix champ adresse dans un TOM sans code postal dans la BAN (ex. Nouvelle-Calédonie à Nouméa)
2024-04-16 13:45:04 +00:00
Colin Darie
db65c9178e
fix(address): BAN does not return postcode for some TOM like Nouvelle-Calédonie
But we have to fallback to an empty string because API graphql / serializer
expects a non-null attribute.
2024-04-16 15:37:56 +02:00
Paul Chavard
f95bd5d1f2
Merge pull request #10327 from tchak/remove-stable-id-delegate
refactor(champ): remove stable_id delegate to type_de_champ
2024-04-16 13:14:08 +00:00
simon lehericey
2f946c1592
refactor: put dol cold storage migration to its own queue 2024-04-16 13:48:12 +02:00
Paul Chavard
ee56a7da21 refactor(champ): remove stable_id delegate to type_de_champ 2024-04-16 12:10:07 +02:00
Lisa Durand
7a80574afc
Merge pull request #10190 from demarches-simplifiees/add-AR-feature-ldu
ETQ Admin je peux configurer une démarche avec accusé de lecture
2024-04-16 09:58:13 +00:00
Lisa Durand
49ed6d0b14 add demo video url on admin homepage 2024-04-16 10:34:28 +02:00
simon lehericey
6982b2d5e8
refactor: do not enqueue antivirus job for safe blob 2024-04-16 09:57:31 +02:00
Colin Darie
e3dbbf2009
Merge pull request #10235 from colinux/page-404
Pages d'erreur personnalisées / au dsfr
2024-04-15 21:12:04 +00:00
Paul Chavard
d857ad1d0a
Merge pull request #10323 from tchak/fix-commune-with-blank-codes
fix(commune): no crash on blank codes
2024-04-15 11:48:16 +00:00
Paul Chavard
7163571764
Merge pull request #10325 from colinux/fix-add-row-without-champ
Tech: pas d'erreur si un usager essaie d'ajouter une ligne d'un champ répétition sans enfant
2024-04-15 11:48:04 +00:00
Colin Darie
4da13f5dc2 fix(repetition): don't fail when trying to add a row of repetition without champ
Cf procedure#31063 which have stable_id#1078289 without children
2024-04-15 13:15:18 +02:00
Paul Chavard
f4f1d5bcd9 chore(task): backfill commune code from name task 2024-04-15 12:12:05 +02:00
Lisa Durand
c6e2e6445c add instructeur feedback on accuse de lecture agreement 2024-04-15 12:10:28 +02:00
Paul Chavard
bde496b739
Merge pull request #10322 from tchak/chore-backfill-stable-id-custom-limit
chore(task): backfill stable_id with custom limit
2024-04-15 09:28:21 +00:00
LeSim
716099e2d7
Merge pull request #10321 from demarches-simplifiees/add_maintenance_task_to_move_dol_to_cold_storage
Tech: ajoute une tache de maintenance pour rattraper les dossier operation log qui n'ont leur data sur le cold storage
2024-04-15 09:20:43 +00:00
Lisa Durand
a29719a15c small adjustments from PR feedbacks 2024-04-15 11:15:13 +02:00
Lisa Durand
13aeb4f4d9 Correction Sim PR - use dynamic application name
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-04-15 11:15:13 +02:00
Lisa Durand
71268c7f3b hide decision from email for tiers if procedure has accuse de lecture 2024-04-15 11:15:13 +02:00
Lisa Durand
1cf3db5899 hide dossier with accuse de lecture in user list when using state filter 2024-04-15 11:15:13 +02:00
Lisa Durand
5bbc4cab50 hide decision displayed in messagerie with auto commentaire 2024-04-15 11:15:13 +02:00
Lisa Durand
8fe9b174eb hide decision displayed in badge for user 2024-04-15 11:15:13 +02:00
Lisa Durand
e486f789f6 add AR in user view - hide decision on second dossier tab 2024-04-15 11:15:13 +02:00
Lisa Durand
8eda069bfc add AR in user view - hide decision on first dossier tab 2024-04-15 11:15:13 +02:00
Lisa Durand
ae08044ff2 create AR email and send it at the right time 2024-04-15 11:15:05 +02:00