Commit graph

12212 commits

Author SHA1 Message Date
Christophe Robillard
ac23d5fb41 convert date with dash for export renaming 2024-06-04 10:32:14 +02:00
Paul Chavard
68c15ba99f
feat(champ): add updated_by column 2024-06-03 18:45:16 +02:00
Paul Chavard
9de97c8593
Merge pull request #10484 from tchak/update-js-dependencies
chore(npm): update build dependencies
2024-06-03 12:39:41 +00:00
LeSim
57e9cccbbd
Merge pull request #10481 from demarches-simplifiees/super_admin_can_unblock_email
ETQ SuperAdmin, je peux débloquer les emails d'un usager
2024-06-03 09:58:48 +00:00
Paul Chavard
010ebb1a23
chore(npm): update build dependencies 2024-06-03 11:36:42 +02:00
Kara Diaby
8e093e88c2 Ajoute la méthode Acronomyze comme helper pour être utilisé sur la page toutes les démarches 2024-06-03 07:50:09 +00:00
Paul Chavard
27f15bbe07
Merge pull request #10070 from tchak/remove-vite-legacy
chore(js): remove vite legacy build
2024-05-31 19:56:17 +00:00
simon lehericey
72f7c1d632
Feat(SuperAdmin): super admin can unblock email 2024-05-31 16:30:22 +02:00
simon lehericey
819fa2cde2
feat(User): always allow reset_password_instructions 2024-05-31 14:53:50 +02:00
simon lehericey
7c514e3585
feat(user): always allow invitation mail 2024-05-31 14:53:50 +02:00
simon lehericey
5d259ec47b
refactor(user): rename invite! -> invite_instructeur! 2024-05-31 14:53:49 +02:00
simon lehericey
8104157da6
feat(user): always allow devise mail 2024-05-31 14:53:49 +02:00
simon lehericey
607fbf5287
feat(user): block unverified_email from being sent 2024-05-31 14:53:49 +02:00
Paul Chavard
d44822cc1c
chore(js): remove vite legacy build 2024-05-31 14:17:59 +02:00
Paul Chavard
a39d736d8c
Merge pull request #10474 from tchak/lazy-stimulus-plugins
chore(js): lazy load lightbox and tiptap
2024-05-30 19:29:56 +00:00
Benoit Queyron
ab54b60489 add dsfr callout 2024-05-30 18:17:08 +02:00
Lisa Durand
ee203d1afc reorganize page config expert invites 2024-05-30 17:50:08 +02:00
Lisa Durand
1bc7cfd917 remove card historique des modifications 2024-05-30 17:47:57 +02:00
Lisa Durand
a900718299
Merge pull request #10459 from demarches-simplifiees/rename-footer-button-for-admin-ldu
[admin] Harmoniser navigation dans l'interface de configuration
2024-05-30 15:28:27 +00:00
LeSim
73e6a25d22
Merge pull request #10471 from demarches-simplifiees/fix_strange_bulk_email_queue_name
Tech: corrige le nom par defaut de la bulk_email_queue
2024-05-30 15:05:19 +00:00
Lisa Durand
4446d6d62a remove footer for admin pages with sticky footer 2024-05-30 17:05:01 +02:00
Lisa Durand
291271f04b fix linter and specs 2024-05-30 17:05:01 +02:00
Lisa Durand
2659d0f966 create component for footer 2024-05-30 17:05:01 +02:00
Lisa Durand
123a038c19 page accuse lecture 2024-05-30 17:05:01 +02:00
Lisa Durand
0df4b480fb page fin de depot 2024-05-30 17:05:01 +02:00
Lisa Durand
ba8b05ed6a page MonAvis 2024-05-30 17:05:01 +02:00
Lisa Durand
6f0cf19f0d page SVA SVR 2024-05-30 17:05:01 +02:00
Lisa Durand
06c784eb03 page api token 2024-05-30 17:05:01 +02:00
Lisa Durand
125c4a45fc page annotations 2024-05-30 17:05:01 +02:00
Lisa Durand
918b1312db page confi emails 2024-05-30 17:05:01 +02:00
Lisa Durand
233d6ee823 page avis externes 2024-05-30 17:05:01 +02:00
Lisa Durand
45fbbf774d page zones 2024-05-30 17:05:01 +02:00
Lisa Durand
1cec1b91c1 page modifications historique 2024-05-30 17:05:01 +02:00
Lisa Durand
659e4ffb61 page instructeurs 2024-05-30 17:05:01 +02:00
Lisa Durand
18585ce422 page administrateurs 2024-05-30 17:05:01 +02:00
Lisa Durand
1fe59c165f page service 2024-05-30 17:05:01 +02:00
Lisa Durand
10ac3fe693 page champs formulaire 2024-05-30 17:05:01 +02:00
Lisa Durand
9634cce8cd page presentation 2024-05-30 17:05:01 +02:00
Paul Chavard
8273870a2c
Merge pull request #10455 from tchak/feat-graphql-timestamps
feat(graphql): expose last_champ_updated_at and last_champ_private_updated_at on api
2024-05-30 13:42:57 +00:00
Benoit Queyron
eb70d63892 remove css fix 2024-05-30 13:47:01 +02:00
Paul Chavard
43c3d706ac
chore(js): lazy load lightbox and tiptap 2024-05-30 12:25:32 +02:00
simon lehericey
bcf3c0ff34
fix(jobs): fix default bulk_email_queue name 2024-05-30 10:24:52 +02:00
Paul Chavard
f2b3ffed5a
Merge pull request #10469 from tchak/task-commune-codes-batch
chore(task): run commune code fix on all champs of a procedure
2024-05-29 19:34:48 +00:00
Benoit Queyron
bd94c575d7 linter check 2024-05-29 17:35:40 +02:00
Benoit Queyron
823ee11d84 fix(asset cards): background none for welcome card admin in darkmode 2024-05-29 17:03:09 +02:00
Christophe Robillard
9f504dbefd precise export template source for zip exports 2024-05-29 16:09:13 +02:00
Paul Chavard
704cd60e04
chore(task): run commune code fix on all champs of a procedure 2024-05-29 15:56:49 +02:00
Kara Diaby
2371705efc
Merge pull request #10437 from demarches-simplifiees/feat/10332
Amélioration de la page toutes les démarches :  Quick Wins
2024-05-29 13:50:04 +00:00
Christophe Robillard
fc90648c79 fix: regenerate export from export template 2024-05-29 15:42:49 +02:00
Christophe Robillard
0ed166f510 export_template feature flag scoped by procedure 2024-05-29 14:38:05 +02:00
Paul Chavard
ed2f615f2b
Merge pull request #10468 from tchak/fix-handle-missing-siret-information
fix(dossier): handle missing siret information when dossier passe en instruction
2024-05-29 12:19:30 +00:00
Kara Diaby
7281f3ec1a SQL pour renvoyer les zones dans ProcedureDetail 2024-05-29 11:45:31 +00:00
Kara Diaby
47aa3b7d4a Affichage des zones directement dans le tableau et suppression du nombre d'administrateurs 2024-05-29 11:45:31 +00:00
Paul Chavard
de209954e1
Merge pull request #10466 from tchak/fix-supprimes_recemment-should-include-archived
fix(instructeur): supprimes_recemment should include archived dossiers
2024-05-29 11:09:41 +00:00
Paul Chavard
eb9aad27c3
fix(dossier): handle missing siret information when dossier passe en instruction 2024-05-29 13:09:04 +02:00
Paul Chavard
5154231ccf
fix(dossier): batch operations to termine dossier should send emails 2024-05-29 11:31:58 +02:00
Paul Chavard
b06934b8d3
fix(instructeur): supprimes_recemment should include archived dossiers 2024-05-29 11:03:46 +02:00
Eric Leroy-Terquem
4d34d6d4c5
chore(gallery): add lightgallery license key 2024-05-29 09:59:27 +02:00
Christophe Robillard
d61203e57c remove dead code 2024-05-28 19:14:57 +02:00
Christophe Robillard
d9f7b6d1df fix dossier directory for etablissement when export with export template 2024-05-28 18:25:38 +02:00
Christophe Robillard
2267ec98cf fix dossier directory for attestation when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
4232cc98c7 fix dossier directory for motivation when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
08c079ca0b fix dossier directory for avis when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
ce6ebf3589 fix dossier directory for commentaire when export with export template 2024-05-28 18:25:37 +02:00
simon lehericey
555df3a6d8
feat(User): add maintenance task to backfill email_verified_at 2024-05-27 17:24:56 +02:00
simon lehericey
1cf9535bea
feat(User): verify mandat email during creation 2024-05-27 17:24:56 +02:00
simon lehericey
fa06d17169
Feat(user): set email_verified_at when setting confirmed_at 2024-05-27 17:24:56 +02:00
simon lehericey
841c1cc845
Feat(user): verify user email during devise confirmation 2024-05-27 17:24:55 +02:00
Paul Chavard
a8398a71b1
feat(graphql): expose last_champ_updated_at and last_champ_private_updated_at on api 2024-05-27 10:34:29 +02:00
Paul Chavard
1bca3c123b
chore(dossier): remove legacy update attributes 2024-05-27 10:33:37 +02:00
Colin Darie
8431771a61
Merge pull request #10448 from colinux/increase-search-debounce-delay
Tech: limite l'engorgement des DossierIndexSearchTermsJob
2024-05-27 08:18:37 +00:00
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