Commit graph

12091 commits

Author SHA1 Message Date
Colin Darie
3617368a35
fix(search): increase debounce delay because of too frequent brouillon updates 2024-05-27 09:57:05 +02:00
Colin Darie
eaf9773e9e
chore(job): DossierIndexSearchTerms in low_priority queue 2024-05-27 09:55:24 +02:00
mfo
c2c4c46c95
Merge pull request #10414 from demarches-simplifiees/fix-contact-callout
Page de contact - suppression des paragraphes vides
2024-05-24 08:26:14 +00:00
mfo
1b2cd09737
Merge pull request #10387 from demarches-simplifiees/recompute_blob_checksum
Tech: ajoute une maintenance task pour recalculer les checksums de pj erronées
2024-05-24 08:20:42 +00:00
Corinne Durrmeyer
e866aced92 Remove empty <p> 2024-05-24 10:19:32 +02:00
Colin Darie
2c07f0260c
Merge pull request #10443 from colinux/fix-toggle-2-lines
Tech (css): maintient les labels de toggle sur une seule ligne
2024-05-23 10:04:58 +00:00
Colin Darie
fa91987e3d fix(toggle): class markup & label on left for attestation v2 2024-05-23 11:39:56 +02:00
Colin Darie
ab4b201fcb fix(toggle): render label in 1 line 2024-05-23 11:38:27 +02:00
simon lehericey
0869168bd3
spec: test champs_id_row_index 2024-05-23 10:07:36 +02:00
Christophe Robillard
4fb03e3967
fix: remove useless code 2024-05-23 10:01:30 +02:00
simon lehericey
e38999efda
perf(pj service): compute row_id without extraneous requests 2024-05-23 10:01:29 +02:00
simon lehericey
6184b33a18
perf(preloader): preloader use batch for batches 2024-05-23 10:01:29 +02:00
simon lehericey
ca12a56e6a
perf(zip): give champ to avoid seeking stable_id 2024-05-23 10:00:42 +02:00
simon lehericey
9effa9e030
perf(zip): preload_dossier earlier 2024-05-23 10:00:42 +02:00
simon lehericey
080bcd8628
refactor: DossierPreloader rename includes_for_dossier -> includes_for_champ 2024-05-23 10:00:41 +02:00
simon lehericey
e8a175d310
refactor: be explicite with memoization 2024-05-23 10:00:41 +02:00
simon lehericey
420520489d
refactor(tags_substitution): simplify 2024-05-23 10:00:41 +02:00
simon lehericey
d60e7906e0
refactor: memoize flat_tags 2024-05-23 10:00:41 +02:00
simon lehericey
e0c867f222
refactor: rename 2024-05-23 10:00:40 +02:00
simon lehericey
3af1cee240
refactor: simplify 2024-05-23 10:00:40 +02:00
simon lehericey
1c0bd3e0e5
refactor: remove unused data 2024-05-23 10:00:40 +02:00
simon lehericey
43fb1ddeb5
refactor: remove target in tags 2024-05-23 10:00:40 +02:00
simon lehericey
585810553f
refactor(suffix): be consistent with index suffix 2024-05-23 10:00:39 +02:00
simon lehericey
b656867836
refactor(pj_service): do not query for pj_index 2024-05-23 10:00:39 +02:00
simon lehericey
6d757db20b
fix: champ.row_index and test pjs_for_champs 2024-05-23 10:00:39 +02:00
simon lehericey
1b734aeaed
refactor: simplify preview 2024-05-23 10:00:39 +02:00
simon lehericey
c51792b936
refactor(UI): move extension warning near pjs 2024-05-23 10:00:39 +02:00
simon lehericey
4a900d8121
refactor(UI): add file extension and number to preview 2024-05-23 10:00:38 +02:00
simon lehericey
2dffa9aaa2
refactor: extract preview 2024-05-23 10:00:38 +02:00
simon lehericey
c8b3b4b45a
refactor: renaming 2024-05-23 10:00:38 +02:00
simon lehericey
6445337be7
refactor(pj_list): extract pj list in a concern and simplify 2024-05-23 10:00:38 +02:00
Christophe Robillard
e235131c4c
add export template feature flag 2024-05-23 10:00:38 +02:00
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