Commit graph

23673 commits

Author SHA1 Message Date
simon lehericey
38e998c279
fix: allow previous id with -> to work 2024-11-19 12:12:55 +01:00
simon lehericey
aa0b7f53ef
small comment explaining why we need to ensure used columns are present in procedure.columns 2024-11-19 12:12:55 +01:00
simon lehericey
fa64e8f112
fix: change > char in favor of . in linked_drop_column.column_id
Rails `'>'.to_json` produce `\u003e` because of an html entity escaping system to work around some bugs in browser (see dd8f7185fa/activesupport/lib/active_support/json/encoding.rb (L43) )

But our waf dislike `\u003e` and reject xhr request with such char
2024-11-19 12:12:55 +01:00
mfo
c65fcf0a29
Merge pull request #11058 from mfo/US/readd-json-export
ETQ instructeur, je peux exporter mes dossiers au format geojson
2024-11-19 09:29:13 +00:00
mfo
3903593b90
fix(export): re-add missing geojson export 2024-11-19 10:20:18 +01:00
mfo
aeced409ff
Merge pull request #11057 from mfo/US/fix-autoarchive-stalled
ETQ DS, je souhaite ne pas envoyer plus de mail que prévu quand une demarche se clos a une date prévue
2024-11-18 15:39:28 +00:00
mfo
1ed0599137
Merge pull request #11042 from demarches-simplifiees/update-routage-a-partir-d-un-champ
ETQ administrateur j'ai davantage d'informations sur le routage à partir d'un champ
2024-11-18 12:20:05 +00:00
mfo
8a01a881d1
Merge pull request #11056 from mfo/US/fix-zip-export
ETQ instructeur, je souhaite pouvoir créer un modèle d'export zip
2024-11-18 11:56:43 +00:00
mfo
babdf9536f
fix(auto_archive_procedure_job): AutoArchiveProcedureJob may take longer than its cron delay [everyminutes], when it takes more than one minute, we re-enqueue the same mails 2024-11-18 12:49:05 +01:00
mfo
2894897ad1
fix(export_template.zip): link must have kind param 2024-11-18 11:15:55 +01:00
mfo
92639be88b
Merge pull request #11049 from mfo/US/more-rna-rnf-data
ETQ instructeur, je souhaite pouvoir chercher par nom d'association/fondation
2024-11-18 09:00:50 +00:00
Paul Chavard
28ca26b7ce
Merge pull request #11054 from tchak/fix-drop-down-other
fix(champ): no crash when drop_down_list with other champ value_json is nil
2024-11-18 09:00:47 +00:00
Paul Chavard
5cf90eb103
fix(champ): no crash when drop_down_list with other champ value_json is nil 2024-11-18 09:51:06 +01:00
mfo
9a70a9526d
feat(rna/rnf): expose rnf/rna title 2024-11-15 17:10:48 +01:00
mfo
cfd568b98d
feat(rna): also store rna title 2024-11-15 17:10:48 +01:00
mfo
a9237bf7f1
feat(rnf): also store rnf title 2024-11-15 17:10:48 +01:00
Eric Leroy-Terquem
bccef87cbf
wording(routing): updates after UI reviews 2024-11-15 11:41:37 +01:00
Eric Leroy-Terquem
61c8fa4601
refactor(simple routing): move button index in the component 2024-11-15 11:03:52 +01:00
Eric Leroy-Terquem
304fb9ecef
feat(simple routing): add options of list tdcs in tooltip 2024-11-15 11:03:51 +01:00
Eric Leroy-Terquem
4e8200aaf7
feat(routing): add types of routables champs 2024-11-15 11:03:51 +01:00
Eric Leroy-Terquem
05b28fb75d
feat(routing): add flash modal after simple routing configurated 2024-11-15 11:03:51 +01:00
Eric Leroy-Terquem
b006a87730
feat(simple routing): add alert info 2024-11-15 11:03:51 +01:00
Eric Leroy-Terquem
551f166873
style(simple routing): update view 2024-11-15 11:03:50 +01:00
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
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
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
simon lehericey
db053d36c9
fix: give format to repetition 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
ed3b1bc046
feat(pj): add specialized column for PieceJustifiativeChamp 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
6d074abc3f
no validation if tabular export template
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:40 +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
Christophe Robillard
94b3655ff7
add exported_columns to export template model
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:39 +01:00
Christophe Robillard
b2c3887520
add exported_column with its type
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:35 +01:00
Paul Chavard
e1e497bd7b
Merge pull request #10900 from tchak/refactor-dossier-rebase
ETQ dev, je ne veux pas qu'un rebase change le type d'un champ
2024-11-14 10:40:33 +00:00
Paul Chavard
942fc42af2
refactor(dossier): rebase should not change champ type 2024-11-14 11:32:12 +01:00
Paul Chavard
81eeff2474
cleanup: remove unused code 2024-11-14 11:32:12 +01:00