Commit graph

12109 commits

Author SHA1 Message Date
Christophe Robillard
cec73e07a5
move preview to be aligned with form 2024-05-23 10:00:37 +02:00
Christophe Robillard
213522f23f
remove useless tiptap controller 2024-05-23 10:00:37 +02:00
Christophe Robillard
40d7b81e16
add some explanations for export template 2024-05-23 10:00:37 +02:00
Christophe Robillard
4e1552a9eb
add sample messagerie in preview 2024-05-23 10:00:37 +02:00
Christophe Robillard
565f6f44e5
make private some methods 2024-05-23 10:00:37 +02:00
Christophe Robillard
aeb4bd2ff1
add original-filename tag 2024-05-23 10:00:36 +02:00
Christophe Robillard
9f715e84d5
add i18n for export template 2024-05-23 10:00:36 +02:00
Christophe Robillard
43c862ed4d
list export templates for groupes instructeur of current instructeur 2024-05-23 10:00:36 +02:00
Christophe Robillard
2c28d97f3f
destroy export_template 2024-05-23 10:00:35 +02:00
Christophe Robillard
93f1fd5ebf
add export template lists 2024-05-23 10:00:35 +02:00
Christophe Robillard
be0c0311c5
use export template for admin archives 2024-05-23 10:00:35 +02:00
Christophe Robillard
4a79ecf301
add new export template link 2024-05-23 10:00:35 +02:00
Christophe Robillard
5aac2ecdc4
rename editor css class
Co-authored-by: Colin Darie <colin@darie.eu>
2024-05-23 10:00:35 +02:00
Christophe Robillard
fd9335f129
style editor tags 2024-05-23 10:00:35 +02:00
Christophe Robillard
2a4bfdd40b
can use export template from export_dropdown_component 2024-05-23 10:00:34 +02:00
Christophe Robillard
357c07456c
generate export with export_template 2024-05-23 10:00:34 +02:00
Christophe Robillard
7a39752630
rename root directory in zip export 2024-05-23 10:00:34 +02:00
Christophe Robillard
7661b8b1b2
add export_template to exports 2024-05-23 10:00:34 +02:00
Christophe Robillard
a12d6b4af0
preview content export 2024-05-23 10:00:33 +02:00
Christophe Robillard
f5813b4e55
create and update export templates 2024-05-23 10:00:33 +02:00
Christophe Robillard
95c308dc51
add specific tags 2024-05-23 10:00:33 +02:00
Christophe Robillard
a248eba641
export template: set default values 2024-05-23 10:00:33 +02:00
Christophe Robillard
dbf46b1f02
extract DOSSIER_ID_TAG 2024-05-23 10:00:32 +02:00
Christophe Robillard
bbb6309b4f
procedure: add pieces_jointes_exportables_list 2024-05-23 10:00:32 +02:00
Christophe Robillard
25ab2420fe
validate export template 2024-05-23 10:00:32 +02:00
Christophe Robillard
24922605cd
add pj for export template 2024-05-23 10:00:32 +02:00
Christophe Robillard
d1c3b84ea2
add export template model 2024-05-23 10:00:32 +02:00
Christophe Robillard
93ad0f4bda
[tiptap] convert tiptap json to path 2024-05-23 10:00:31 +02:00
Paul Chavard
c405b3cf77
Merge pull request #10439 from tchak/improuve-react-types
chore(ts): improuve some types
2024-05-22 13:49:45 +00:00
Eric Leroy-Terquem
47fe6ccf6c
fix(gallery): keep variants but rollback pdf previews 2024-05-22 13:57:47 +02:00
Paul Chavard
dd81baabe2 chore(ts): improuve some types 2024-05-22 08:53:51 +02:00
Colin Darie
dfc1563cfd
Merge pull request #10435 from mfo/fix-clone-private-attachment
Correctif: ETQ usager, lorsque je clone mon dossier, je ne clone pas les PJs des annotations privées
2024-05-21 19:19:06 +00:00
mfo
29ef5b313c
fix(data): clean Champs::PieceJustificativeChamp for annotations that had been cloned 2024-05-21 14:35:51 +02:00
Lisa Durand
1ff641ed34
Merge pull request #10356 from govpf/feature/better_place_for_the_move_champ_after_in_champ_editor
ETQ Administrateur les actions sur un champ dans l'editeur (déplacement, suppression,...) sont rassemblés en bas de chaque champ
2024-05-21 09:11:46 +00:00
mfo
4ea601de79
fix(champs.pj.clone): stop cloning private piece_justificative_file when user clone his dossier 2024-05-21 09:50:27 +02:00
mfo
4629092ab6
Merge pull request #10423 from mfo/fix-maintenance-task-for-tiers
Correctif: MaintenanceTask pour corriger les dossiers declarés pour un tiers mais sans avoir renseigné les infos du tiers
2024-05-21 07:19:53 +00:00
Colin Darie
c2b1d7aaaf
Merge pull request #10261 from colinux/ignore-search-terms-2
Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
2024-05-21 07:07:10 +00:00
Christian Lautier
602cf92901 Champ editor: Move champ header to footer 2024-05-17 16:15:37 -10:00
Lisa Durand
7cfd9becc8
avoid performing job if attachment is created on existed blob 2024-05-17 11:03:40 +02:00
Lisa Durand
affb1820d8
add PDF preview in view for gallery 2024-05-17 11:03:39 +02:00
Lisa Durand
93c3761107
add specs 2024-05-17 11:03:39 +02:00
Lisa Durand
b4a7b4bfbd
create a job for all image treatments 2024-05-17 11:03:38 +02:00
Lisa Durand
96238da249
add service to rotate jpg attachment automatically 2024-05-17 11:03:37 +02:00
Colin Darie
c794f654ea
Merge pull request #10426 from colinux/fix-accuse-lecture-procedure-draft
ETQ admin corrige l'acceptation de dossier d'une démarche brouillon avec accusé de lecture
2024-05-16 18:36:27 +00:00
Colin Darie
55ee9cd6bf
Merge pull request #10422 from colinux/better-sanitize-stats-year
Tech (carte): ignore silencieusement les params invalides
2024-05-16 17:53:17 +00:00
Colin Darie
3d52601155
fix(carte): gracefully ignore invalid year and kind params
Empêche d'envoyer une date invalide à PG et polluer les logs.
2024-05-16 16:58:42 +02:00
Colin Darie
2d57ec4056 fix(accuse-lecture): don't crash on dossier acceptance when procedure is still draft 2024-05-16 16:18:35 +02:00
Colin Darie
a41ba205d0
chore(faq): translate english interface (not faq content) 2024-05-16 12:26:06 +02:00
Colin Darie
64de0cb146
refactor(faq): update links to new internal links 2024-05-16 11:43:59 +02:00
Colin Darie
8d99e28da5
chore(faq): cache I/O on showing faq 2024-05-16 11:43:58 +02:00
Colin Darie
b0503b4f28
chore(faq): cache depends on app version 2024-05-16 11:43:58 +02:00
Colin Darie
0581c67d6c
refactor: extract ApplicationVersion version from sentry 2024-05-16 11:43:58 +02:00
Colin Darie
d05aee0c67
feat(faq): variabilize application name, host, contact_email 2024-05-16 11:43:58 +02:00
Colin Darie
472a9ae2ef
chore(faq): more faq 2024-05-16 11:43:58 +02:00
Colin Darie
d855c94fbf
feat(faq): breadcrumb 2024-05-16 11:43:57 +02:00
mfo
a01bbd68c7
fix(backfill_invalid_dossiers): not tested, typo 2024-05-16 09:48:05 +02:00
Colin Darie
7a5cb7dbd2
feat(faq): can render images 2024-05-16 09:39:23 +02:00
Colin Darie
08c237c028
feat(faq): list FAQs 2024-05-16 09:39:21 +02:00
Colin Darie
ae78224bac
feat(faq): link siblings FAQs of same category 2024-05-16 09:39:01 +02:00
Colin Darie
9af2c4f244
feat: show a simple FAQ 2024-05-16 09:35:19 +02:00
Paul Chavard
b12627f074 fix(dossier): fix n+1 on header sections 2024-05-15 17:57:44 +02:00
Colin Darie
241da41c4c
Merge pull request #10419 from colinux/switch-domain-feature-user
Tech: l’affichage du bandeau .gouv.fr sticky à l'user
2024-05-15 15:41:48 +00:00
Paul Chavard
bcd3f3b471 refactor(champs): change views to use new urls with stable_id and row_id 2024-05-15 16:51:26 +02:00
mfo
68a624be9e
fix(data): backfill invalid dossier for tiers without tiers info 2024-05-15 14:42:37 +02:00
mfo
50735919c8
fix(for_tiers): do not update for_tiers column to render the form. otherwise user could switch to dossier.for_tiers without filling mandataire required fields when he updates his identity 2024-05-15 14:36:52 +02:00
Colin Darie
7f25f1eba1
chore: switch domain feature sticky to user 2024-05-15 10:27:31 +02:00
Lisa Durand
40e952e8d2
Merge pull request #10417 from demarches-simplifiees/follow-up-accuse-lecture-ldu
[ETQ admin] Je veux comprendre pourquoi je ne peux pas personnaliser mes mails si l'accusé de lecture est activé
2024-05-15 07:42:19 +00:00
Christian Lautier
55a4c73f4a Stick to DSFR design. 2024-05-14 08:17:26 -10:00
Christian Lautier
592f040ada Procedure champ editor: place the 'Move champ after' selection in the champ's header. 2024-05-14 08:17:26 -10:00
Lisa Durand
5195c8a56f add explanation and desactivate links for email customisation if AR is activated 2024-05-14 11:40:53 +02:00
Paul Chavard
a1db089681 fix(champ): champ value formatters should check champ type 2024-05-13 17:00:46 +02:00
Colin Darie
d4e6e2effa
Merge pull request #10413 from demarches-simplifiees/fix-typo
Corrige des fautes de frappe
2024-05-13 14:43:43 +00:00
mfo
ef4fb441e0
Merge pull request #10393 from demarches-simplifiees/fix-page-listing-titles
Amélioration de la hiérarchie de titres sur les pages de listing et suppression d'un lien vide
2024-05-13 14:31:30 +00:00
mfo
928c3c4016
Merge pull request #10396 from demarches-simplifiees/fix-missing-label
Restaurer l'affichage du label "Filtrer par démarche" sur les pages Usager
2024-05-13 14:31:27 +00:00
Corinne Durrmeyer
8d9b701120
Replace aria_hidden by aria-hidden 2024-05-13 16:05:14 +02:00
Colin Darie
71c1d7ac9a
feat(brouillon): index search terms debounced when updating brouillon 2024-05-13 15:55:39 +02:00
Corinne Durrmeyer
8fd6f58beb
feat(fix-typo) : Correct incorrect abbreviations 2024-05-13 15:55:22 +02:00
Paul Chavard
f766a6fb5e fix(dossier): fix projected value on linked_drop_down_list 2024-05-13 15:32:04 +02:00
Corinne Durrmeyer
e4979bc1a1
Specifie the function of the submit button 2024-05-13 15:30:46 +02:00
Corinne Durrmeyer
3c6133276b
Replace autosubmit by submit button 2024-05-13 15:30:46 +02:00
Corinne Durrmeyer
beda1814c8
Improve searchbar layout 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
df489cc688
Modify id and for values to avoid conflict due to duplicate identifiers 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
6f1b41b1a7
Remove .fr-search-bar .fr-label styles. And unse .sr-only instead 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
03409a798f
Display 'Filter by procedure' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
32114c0132
Modify 'Search a file' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
ac6b552acb
Modify 'Filter by procedure' label 2024-05-13 15:30:45 +02:00
Corinne Durrmeyer
93c7b3f817
Fix typo 2024-05-13 15:30:45 +02:00
Colin Darie
4f69b35ee2
Merge pull request #10410 from colinux/fix-export-mismatch-tdc
Tech: tag sentry `procedure` sur le job d'exports pour faciliter le debuggage
2024-05-13 14:46:37 +02:00
Colin Darie
dbcc17b5d4
Merge pull request #10409 from colinux/fix-attestation-departement
Correctif: génération des attestations pour les champs départements
2024-05-13 14:46:23 +02:00
Colin Darie
c790ab9065
Merge pull request #10399 from demarches-simplifiees/nice_delimiter
ETQ Administrateur, je vois le numero de ma démarche avec un separateur de millier
2024-05-13 12:25:19 +00:00
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
simon lehericey
d2987582f1
chore(blob): add maintenance task to recompute blob checksum 2024-04-29 10:06:33 +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