Commit graph

497 commits

Author SHA1 Message Date
krichtof
4b740f8f29
Merge pull request #10591 from demarches-simplifiees/9827-export-select
ETQ instructeur, je peux créer un modèle d'export tabulaire
2024-11-15 05:55:17 +00:00
Paul Chavard
ea5340d71a
fix(champ): do not validate champs with changed type 2024-11-14 16:53:56 +01:00
mfo
9f2aff3459
feat(export.dossier_id): not a number, a string. 2024-11-14 15:31:24 +01:00
mfo
ac6f5ba025
feat(export.datetime): ensure to cast date and time 2024-11-14 15:31:24 +01:00
mfo
e563d81b7e
feat(export.type): ensure right cast type on export. ods expecting boolean value a 0||1 2024-11-14 14:45:42 +01:00
mfo
c209cac62f
feat(export_template): use in export service 2024-11-14 14:45:41 +01:00
Christophe Robillard
15cea714c1
extract methods from dossier to dossier_export_concern
Co-authored-by: mfo <mfo@users.noreply.github.com>
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-11-14 14:45:41 +01:00
Paul Chavard
942fc42af2
refactor(dossier): rebase should not change champ type 2024-11-14 11:32:12 +01:00
simon lehericey
09793420fb
fix: make enums filter work if champs.enums contains the searched value among others 2024-11-12 17:49:07 +01:00
simon lehericey
50677e982c
refactor: simplify and sanitize filter_ilike 2024-11-12 17:40:55 +01:00
simon lehericey
343ad1a81c
refactor: simplify filter_enum 2024-11-12 17:01:38 +01:00
LeSim
5c3b8f1e1c
Merge pull request #11026 from demarches-simplifiees/inject_options_in_column
Tech: injecte les options des colonnes de type `enum`, retire scope et value_column du new
2024-11-08 09:06:58 +00:00
simon lehericey
1424fca469
other option for groupe instructeurs injection 2024-11-07 18:11:43 +01:00
simon lehericey
08fb49d176
factorize departements and regions options 2024-11-07 18:11:43 +01:00
simon lehericey
32d3ec2dc3
add shortcut for DossierColumn.new 2024-11-07 18:11:41 +01:00
simon lehericey
1277500069
inject groupe_instructeurs when possible 2024-11-07 18:11:40 +01:00
simon lehericey
e2bc45dc4a
inject dossier_state at build time 2024-11-07 18:11:40 +01:00
simon lehericey
2b6cc49541
inject dossier_labels at dossier_labels_column build time 2024-11-07 18:11:40 +01:00
simon lehericey
db2e4cf802
inject options_for_select for json_column 2024-11-07 18:11:38 +01:00
Paul Chavard
ebf839f37b
fix(process_image): sometimes last is nil 🤷‍♂️ 2024-11-07 12:50:42 +01:00
Paul Chavard
c0da8d1556
refactor(tdc): tdc.columns should take procedure instead of procedure_id 2024-11-05 21:57:04 +01:00
Paul Chavard
3ce36222b4
refactor(procedure): refactor procedure publish methods 2024-11-05 21:55:08 +01:00
Colin Darie
1d2c8e15b2
Merge pull request #11018 from colinux/ignore-invalid-images
ETQ tech, réduit l'impact d'images invalides sur sentry
2024-11-05 16:21:37 +00:00
Colin Darie
e2f3f236de
chore(image): don't try to process empty images 2024-11-05 16:57:59 +01:00
Eric Leroy-Terquem
efef61c34c
feat(gallery): add attachments from justificatif motivation 2024-11-05 16:53:41 +01:00
Eric Leroy-Terquem
d10df6e17c
feat(gallery): add attachments from avis 2024-11-05 16:53:40 +01:00
Colin Darie
594fc517d1
Merge pull request #10943 from colinux/feat-admin-prefill-service
ETQ admin mes informations de nouveau service sont pré-remplies à partir d'API publiques
2024-11-05 09:54:53 +00:00
Colin Darie
4e80f16b9f
Merge pull request #10974 from demarches-simplifiees/remove_empty_brouillon
Tech: ajoute un scope pour détecter les brouillons vides
2024-11-05 09:32:16 +00:00
LeSim
4f0713a764
Merge pull request #11005 from demarches-simplifiees/work_on_json_path_column
ETQ Instructeur, je peux voir et filtrer sur les données retournées par API
2024-11-05 08:46:44 +00:00
simon lehericey
ea57a97c06
introduce tdc_type 2024-11-05 09:38:27 +01:00
simon lehericey
a4617abb0e
rework JSONPathColumn to be a ChampColumn 2024-11-05 09:38:26 +01:00
Lisa Durand
3a45524d39
add column label to procedure table 2024-11-04 16:48:00 +01:00
Colin Darie
7742703081
refactor(service): concurrent prefill API calls 2024-11-04 12:50:49 +01:00
Colin Darie
065d380b70
feat(service): prefill type organisme from API Entreprise 2024-11-04 12:50:49 +01:00
Colin Darie
8dc47c1b93
feat(service): prefill contact information from annuaire service public 2024-11-04 12:48:13 +01:00
simon lehericey
ab9a0fc34f
remove extraneous flatten compact 2024-10-30 18:34:11 +01:00
simon lehericey
5981de90a2
use Columns::DossierColumn 2024-10-30 18:30:38 +01:00
simon lehericey
96cd4fda72
ensure exported columns existed in main columns function 2024-10-30 18:28:25 +01:00
simon lehericey
d618f7cc0f
only expose chorus col when necessary 2024-10-30 18:28:25 +01:00
simon lehericey
92a863d48c
remove_all as there is no some_usager_columns 2024-10-30 18:28:25 +01:00
simon lehericey
2181a917a2
move col def to private when possible 2024-10-30 18:28:25 +01:00
mfo
656080538b
review(pull/10591#discussion_r1818942794): remove tested enum labels 2024-10-30 18:28:25 +01:00
mfo
fa50e21101
review(pull/10591#discussion_r1818919818): export without user id 2024-10-30 18:28:24 +01:00
mfo
cbb9854f4c
review(pull/10591#discussion_r1818916426): extract groupe_instructeurs_column and followers_instructeurs_email_column 2024-10-30 18:28:24 +01:00
mfo
3bed049a29
tech(style): prefix columns builders by their table, easier to understand 2024-10-30 18:28:24 +01:00
mfo
fc45e537cf
review(pull/10591#discussion_r1818914395): extract and dry archived/motivation column 2024-10-30 18:28:24 +01:00
mfo
d9fc48ad70
review(10591#discussion_r1818752344): homogenize interface for columns builders 2024-10-30 18:28:24 +01:00
mfo
8afe4374c7
review(pull/10591#discussion_r1818744664): extract some column builder 2024-10-30 18:28:23 +01:00
Christophe Robillard
df71c6a689
align columns naming and order for filter and add for export
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-30 18:28:23 +01:00
LeSim
0e589fc7ad
Merge pull request #10984 from demarches-simplifiees/fix-image-processor-job-errors
Technique : gestion des cas d'erreurs de ImageProcessorJob
2024-10-30 14:43:43 +00:00