Commit graph

4158 commits

Author SHA1 Message Date
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
aa8ce15c2a
you know what ? value_column is a column 2024-11-07 18:11:43 +01:00
simon lehericey
8599dd829a
remove obsolete column.to_json 2024-11-07 18:11:43 +01:00
simon lehericey
17531b73b7
internalize value_column inside champ_column 2024-11-07 18:11:42 +01:00
simon lehericey
9d976b8d95
move filtering logic inside champ_column 2024-11-07 18:11:42 +01:00
simon lehericey
32d3ec2dc3
add shortcut for DossierColumn.new 2024-11-07 18:11:41 +01:00
simon lehericey
9fd3a460cd
remove scope arg from column.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
f5227f9609
move options_for_select from champ_column to column 2024-11-07 18:11:40 +01:00
simon lehericey
92e29c6e13
one if less deep 2024-11-07 18:11:39 +01:00
simon lehericey
cd3e645046
sort departement options 2024-11-07 18:11:39 +01:00
simon lehericey
690d2c6258
inject options in champ_column 2024-11-07 18:11:39 +01:00
simon lehericey
db2e4cf802
inject options_for_select for json_column 2024-11-07 18:11:38 +01:00
simon lehericey
49d3661441
inject options_for_select for linked_drop_down_column 2024-11-07 18:11:38 +01:00
simon lehericey
9e5713f470
a champ_column can have options_for_select 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
simon lehericey
f942675782
send full messages to sentry 2024-11-06 10:52:23 +01:00
Paul Chavard
5182af820a
refactor(type_de_champ): type_de_champ should not expose revision or procedure 2024-11-05 21:57:05 +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
ad98bafeca
feat(gallery): notify instructeur if pieces jointes added in avis 2024-11-05 16:53:40 +01:00
Eric Leroy-Terquem
d10df6e17c
feat(gallery): add attachments from avis 2024-11-05 16:53:40 +01:00
Eric Leroy-Terquem
d979bf6c68
feat(instruction options management): add routable champs by category 2024-11-05 14:41:37 +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
Paul Chavard
d1565a67a0
Merge pull request #11011 from demarches-simplifiees/US/extract-pj-column
ETQ tech, je peux acceder aux pj via les columns
2024-11-05 09:39:25 +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
Eric Leroy-Terquem
ddb238ccd0
Merge pull request #11007 from demarches-simplifiees/can-condition-on-pays-champ
ETQ admin je peux conditionner / router depuis un champ pays
2024-11-05 09:26:20 +00:00
mfo
9d13ebb3ff
feat(pj): add specialized column for attachments 2024-11-05 10:09:59 +01: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
c364be12f1
rework ChampColumn.value 2024-11-05 09:38:29 +01:00
simon lehericey
ea57a97c06
introduce tdc_type 2024-11-05 09:38:27 +01:00
simon lehericey
52aaff5ffc
breaking: simplify linked_drop_down_column column_id 2024-11-05 09:38:27 +01:00
simon lehericey
74e6834ce2
use path instead of value_column in linked_drop_down 2024-11-05 09:38:27 +01:00
simon lehericey
de8cad888e
LinkedDropDownColumn is also a ChampColumn by the way 2024-11-05 09:38:26 +01:00
simon lehericey
9d6304e7d4
TitreIdentite is a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
a4617abb0e
rework JSONPathColumn to be a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
d03d5d0dae
add ChampColumn 2024-11-05 09:38:26 +01:00
Lisa Durand
dcf56616c3
rename ProcedureLabel by Label part 2 2024-11-04 16:48:47 +01:00
Lisa Durand
468c159b52
handle label color translation and class name 2024-11-04 16:48:47 +01:00
Lisa Durand
507ea70398
improve color selection for Admin and improve generic label lists 2024-11-04 16:48:47 +01:00
Lisa Durand
725a97da7e
admin can modify procedure labels 2024-11-04 16:48:46 +01:00
Lisa Durand
35dee477ea
rename ProcedureLabel by Label 2024-11-04 16:48:44 +01:00
Lisa Durand
e723c9e365
create generic label for procedure in controller instead of using a hook 2024-11-04 16:48:11 +01:00