Commit graph

3676 commits

Author SHA1 Message Date
mfo
29ef5b313c
fix(data): clean Champs::PieceJustificativeChamp for annotations that had been cloned 2024-05-21 14:35:51 +02: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
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
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
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
Paul Chavard
b12627f074 fix(dossier): fix n+1 on header sections 2024-05-15 17:57:44 +02: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
Paul Chavard
a1db089681 fix(champ): champ value formatters should check champ type 2024-05-13 17:00:46 +02:00
Paul Chavard
f766a6fb5e fix(dossier): fix projected value on linked_drop_down_list 2024-05-13 15:32:04 +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
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
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
mfo
b40cc2a54e feat(individual.validation): add missing strict_email validation 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
Colin Darie
0dd4bafdfd refactor(pj): more readable as_multiple logic 2024-05-06 09:49:02 +00:00
Kara Diaby
bec9af90e8 models 2024-05-06 09:49:02 +00:00
Eric Leroy-Terquem
4b53808b5c
fix(gallery): add variants on thumbnails 2024-04-29 21:35: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
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
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
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
simon lehericey
9e33b1ee6d
fix: allow unsigned expert when restricted list 2024-04-19 13:03:09 +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
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
simon lehericey
ca4ab4cfe1
fix: multi FC do not change const 2024-04-17 15:33:37 +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
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