Commit graph

6797 commits

Author SHA1 Message Date
LeSim
edc7b914bc
Merge pull request #11101 from demarches-simplifiees/affecter-un-service
Uniformisation wording : assigner => affecter
2024-11-29 17:25:09 +00:00
Mathieu Magnin
51a35a321e
Uniformisation wording : assigner => affecter 2024-11-29 17:43:22 +01:00
Colin Darie
adf75a9036
fix: dépot => dépôt 2024-11-28 15:50:07 +01:00
mfo
e9120f90a7
feat(instructeurs/back): add back button
Co-authored-by: Colin Darie <colin@darie.eu>
2024-11-28 14:07:46 +01:00
mfo
e6d9ee93a6
fix(instructeurs/archives/routes): move archives routes under another url schema to avoid conflict with dossier archvied 2024-11-28 11:51:21 +01:00
mfo
c260c43dac
feat(instructeur): nest all instruction routes under statut params for back purpose 2024-11-28 11:45:56 +01:00
Colin Darie
b426e51d87
Merge pull request #11059 from colinux/navbar-procedure-context
ETQ instructeur ou admin je garde le contexte de la démarche en passant d'un profil à l'autre
2024-11-27 11:54:39 +00:00
Mathieu Magnin
4c9031f0b0
Merge pull request #11090 from demarches-simplifiees/fix_avis_task
Do not raise exception when Avis is not valid, just fix the data
2024-11-26 16:01:32 +00:00
simon lehericey
96ee065046
adapt search page 2024-11-26 16:35:45 +01:00
simon lehericey
bb198000fe
refactor: include corrections 2024-11-26 16:35:44 +01:00
simon lehericey
c415b066b9
refactor: always load full dossier 2024-11-26 16:06:53 +01:00
Paul Chavard
ee9a493877
Merge pull request #11062 from tchak/column-better-cast
ETQ dev, je souhaite obtenir la valeur humaine d'une colonne
2024-11-26 13:41:52 +00:00
Mathieu Magnin
5a0eca5ccc
Do not raise exception when Avis is not valid, just fix the data 2024-11-26 14:41:03 +01:00
Paul Chavard
1335336d98
refactor(column): add label_for_value method 2024-11-26 14:31:21 +01:00
Paul Chavard
7f4622b697
feat(column): filter out invalid values on enum and enums columns 2024-11-26 14:31:21 +01:00
Paul Chavard
1f5dd3bd02
refactor(dossier): cleanup user controller 2024-11-26 14:30:23 +01:00
Paul Chavard
6914d78236
refactor(user/dossier): explicitly pass dossier_for_editing in to views 2024-11-26 14:28:52 +01:00
Paul Chavard
3e6f074f31
refactor(attachment): remove some dead code from components 2024-11-26 14:25:16 +01:00
simon lehericey
6516533083
fix: filter with a text instead of a integer does not crash 2024-11-26 13:21:48 +01:00
mfo
99184d3d2b
Merge pull request #11088 from mfo/US/fix-export-repetition-not-in-dossier-revision
correctif: ETQ instructeur, je peux exporter mes dossiers même si une répétition a été ajouté a une autre version du formulaire
2024-11-26 10:22:14 +00:00
Mathieu Magnin
d79a80c711
Merge pull request #11072 from demarches-simplifiees/fix-11071
ETQ Dev, si un expert invite un autre Expert sur un dossier lié à un autre dossier, je ne veux pas avoir de données incohérentes en base
2024-11-26 10:03:14 +00:00
mfo
266bba941a
bug(sentry#6088812113): pinpoint issue, we are trying to ask rows for a
repetition which is not in a dossier.revision
2024-11-26 10:56:21 +01:00
Mathieu Magnin
460bd48d08
Merge pull request #11050 from demarches-simplifiees/fix-9513-part-1
(1/X) ETQ administrateur, je veux pouvoir modifier le lien URL de ma démarche sans avoir à la cloturer
2024-11-26 08:58:48 +00:00
Colin Darie
874f992e5e
fix(instructeur): procedure form preview 2024-11-25 16:13:10 +01:00
simon lehericey
58f1608d2f
fix: backfill user email_verified_at 2024-11-25 10:55:03 +01:00
simon lehericey
c3af718f1c
fix: user confirming their mail have its email verified 2024-11-22 18:50:42 +01:00
Mathieu Magnin
4a8d7210d0
[Fix #11071] Fix wrong expert_procedure associated to avis in existing data 2024-11-22 18:12:40 +01:00
Mathieu Magnin
b3672c5526
[Fix #11071] Fix wrong expert_procedure associated to avis 2024-11-22 17:06:37 +01:00
Kara Diaby
ec4bbcffba
Ajoute une page spécifique aux modèles d'exports 2024-11-22 12:04:58 +00:00
Colin Darie
9abac909df
test: various fix due to recent refactor 2024-11-22 10:45:42 +01:00
Colin Darie
77f88bbbbe
style(admin): fix archives table 2024-11-22 10:45:42 +01:00
Colin Darie
9bec007dfa
refactor(download): remove useless turbo of menu since it's not dynamic anymore 2024-11-22 10:45:41 +01:00
Paul Chavard
998670433e
Merge pull request #11060 from tchak/improve-some-revision-methods
refactor(type_de_champ): improve and clean helper methods
2024-11-20 10:11:26 +00:00
Colin Darie
6acbeba63f
Merge pull request #11061 from colinux/drop-contact-empty-file
ETQ usager je ne peux pas soumettre le form de contact si la PJ n'est pas un fichier
2024-11-20 09:43:10 +00:00
Paul Chavard
71009094a4
refactor(type_de_champ): improve and clean helper methods 2024-11-20 10:18:51 +01:00
Colin Darie
e52aae420a
fix(contact): drop piece jointe not file 2024-11-19 17:21:52 +01:00
Kara Diaby
172d81856b
Fix après retours 2024-11-19 15:24:41 +00:00
Kara Diaby
cdceddafe1
Fixe les tests 2024-11-19 15:24:41 +00:00
Colin Darie
f25b1361ee
fix(profile): senticify profiles list 2024-11-19 15:52:48 +01:00
Colin Darie
c541ed7c93
feat(profile): keep procedure id context between admin & instructeur profile 2024-11-19 15:52:48 +01:00
Colin Darie
e459f68ddb
refactor: account dropdown as component 2024-11-19 15:37:15 +01:00
simon lehericey
38e998c279
fix: allow previous id with -> to work 2024-11-19 12:12:55 +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
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
Mathieu Magnin
80c1a1af2c
Remove not used param 2024-11-15 11:07:04 +01:00
Eric Leroy-Terquem
05b28fb75d
feat(routing): add flash modal after simple routing configurated 2024-11-15 11:03:51 +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
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