Commit graph

6694 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
cab8c351c5
Merge pull request #11046 from tchak/fix-validation-after-rebase
fix(champ): do not validate champs with changed type
2024-11-14 17:45:18 +00:00
LeSim
38ca9aaa92
Merge pull request #11037 from demarches-simplifiees/remove_old_procedure_presentation_methods
Tech: supprime les méthodes de relative aux procedure_presentations du controller instructeur. Attention, casse des migrations
2024-11-14 16:07:59 +00:00
Paul Chavard
ea5340d71a
fix(champ): do not validate champs with changed type 2024-11-14 16:53:56 +01:00
mfo
ac6f5ba025
feat(export.datetime): ensure to cast date and time 2024-11-14 15:31:24 +01:00
mfo
6cdd801326
feat(export.linked_drop_down_list): render compound value 2024-11-14 15:31:24 +01:00
mfo
1fccf0fd18
feat(export.numbers): cast to float, otherwise it is implicitly casted
as string
2024-11-14 14:45:43 +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
8792cb3cfd
feat(type_de_champ_commune): add custom columns for iso export
feat(export.type): ensure right cast type on export

Co-Authored-By: LeSim <mail@simon.lehericey.net
2024-11-14 14:45:42 +01:00
mfo
3b5acaad4c
feat(ExportedColumn): use dedicated formatter for exported column 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
mfo
f014006542
dry(export_template_form): extract checkbox component 2024-11-14 14:45:41 +01:00
Christophe Robillard
9530099d23
improve factories
Co-authored-by: mfo <mfo@users.noreply.github.com>
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
Christophe Robillard
10706a2712
add dropdown component for traditional or with export_template export
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:41 +01:00
Christophe Robillard
ffd1a15d91
add, edit and destroy export template with exported_columns
Co-authored-by: mfo <mfo@users.noreply.github.com>
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-11-14 14:45:40 +01:00
Christophe Robillard
f383e1c502
prepare export template to be used for tabular template
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:40 +01:00
Christophe Robillard
16b8995191
extend procedure.all_revision_types_de_champ
for header section

Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:39 +01:00
Paul Chavard
942fc42af2
refactor(dossier): rebase should not change champ type 2024-11-14 11:32:12 +01:00
Mathieu Magnin
19e46ac619
Merge pull request #11038 from demarches-simplifiees/fix_404_as_500_in_production
Corrige les 404 qui finissaient en erreur 500 en production
2024-11-14 10:19:15 +00:00
simon lehericey
e94fd6db4c
fix: filtering on linked_drop_down_column 2024-11-13 10:22:29 +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
Paul Chavard
0617f4c3e8
Merge pull request #11027 from tchak/refactor-champ-same-type
refactor(champ): add is_type? method
2024-11-12 13:05:20 +00:00
Paul Chavard
8db85b4de3
Merge pull request #11029 from tchak/refactor-type-de-champ-predicates
refactor(type_de_champ): cleanup type predicate methods
2024-11-12 13:04:50 +00:00
simon lehericey
cdc45cd6af
clean: ignore obsolete procedure_presentation columns 2024-11-12 13:52:09 +01:00
Mathieu Magnin
7fbe5dda98
Capture exception on sentry if something is wrong 2024-11-12 13:32:49 +01:00
simon lehericey
947ef3498b
clean: remove old procedure_presentation methods from procedures_controller 2024-11-12 12:33:10 +01:00
LeSim
22ab0f4eca
Merge pull request #11025 from demarches-simplifiees/add-spec-for-sorted-by-labels
Ajout d'un test suite au bug de tri par labels
2024-11-12 11:17:42 +00:00
Paul Chavard
bacdedec2e
refactor(champ): add is_type? method 2024-11-12 12:10:25 +01:00
Paul Chavard
dc6bad40fe
refactor(type_de_champ): cleanup type predicate methods 2024-11-12 12:02:08 +01:00
simon lehericey
6f010cd2c5
fix: dossier projection for json column 2024-11-12 09:28:00 +01: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
17531b73b7
internalize value_column inside champ_column 2024-11-07 18:11:42 +01:00
simon lehericey
055069755a
small cleaning in column_concern_spec 2024-11-07 18:11:42 +01:00
simon lehericey
9fd3a460cd
remove scope arg from column.new 🎉 2024-11-07 18:11:41 +01:00
simon lehericey
5532a8a48f
small cleaning in filter_value_component 2024-11-07 18:11:41 +01:00
simon lehericey
60947f2b97
use it in filter_value_component 2024-11-07 18:11:41 +01:00
simon lehericey
1277500069
inject groupe_instructeurs when possible 2024-11-07 18:11:40 +01:00
Lisa Durand
a0bd85f247
fix order by label name 2024-11-07 11:39:32 +01:00
Eric Leroy-Terquem
510799bf23
Merge pull request #10957 from demarches-simplifiees/update-configuration-routage-interface-v2
ETQ administrateur j'ai une nouvelle interface de configuration du routage
2024-11-07 09:15:56 +00:00
Eric Leroy-Terquem
5376b70167
feat(routing): update names of groupe instructeurs created with custom routing 2024-11-07 09:12:14 +01:00
Eric Leroy-Terquem
5c53c6b86c
feat(routing): add modal once custom routing is configurated 2024-11-07 09:12:13 +01:00
Eric Leroy-Terquem
7caadc3b40
refactor(routing): rename routage_custom to custom_routing 2024-11-07 09:12:13 +01:00
Eric Leroy-Terquem
5ff09d1f9e
clean(wording): use right character for apostrophe 2024-11-07 09:12:13 +01:00
Lisa Durand
27f14954b6
add-spec-for-sorted-by-labels 2024-11-06 16:30:46 +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
df0dbc1321
cneanup(tdc): this behavior moved 2024-11-05 21:57:05 +01:00
Paul Chavard
580002e5f5
cleanup: remove dead code 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