Commit graph

13525 commits

Author SHA1 Message Date
Paul Chavard
671d121480
refactor(dossier): move some code to dossier_state_concern 2024-11-26 14:30:06 +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
fb6adabfc5
refactor(dossier): remove legacy fallback 2024-11-26 14:27:36 +01:00
Paul Chavard
3e6f074f31
refactor(attachment): remove some dead code from components 2024-11-26 14:25:16 +01:00
Paul Chavard
c2c26719d3
refactor(dossier): use touch 2024-11-26 14:17:03 +01:00
LeSim
7932085976
Merge pull request #11086 from demarches-simplifiees/fix_crashing_filtering
ETQ Instructeur, je n'ai plus de crash lorsque je filtre une colonne numérique avec un texte
2024-11-26 12:29:51 +00:00
Colin Darie
08c963ae25
Merge pull request #11089 from mfo/US/fix-table-border
ETQ instructeur, je veux avoir une bordure sur mon tableau de bord instructeur même si mon niveau de zoom est > 100%
2024-11-26 12:26:17 +00: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
cfabdff96c
feat(table.border): at least one px 2024-11-26 11:34:11 +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
mfo
a88325e224
fix(sentry#6088812113): avoid crash when trying to export a repetition which is not in a dossier revision 2024-11-26 11:05:15 +01: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
Colin Darie
3b16e8f190
Merge pull request #11082 from demarches-simplifiees/etq-admin-fix-ordered-services
ETQ Admin, je veux que la liste des services soit classée par ordre alphabétique
2024-11-26 09:28:41 +00: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
mfo
2bc516acf4
Merge pull request #11085 from mfo/US/fix-border-size-offset
ETQ instructeur, je souhaite avoir des bordures sur mon tableau d'instructeur qu'importe le niveau de zoom
2024-11-26 08:55:30 +00:00
Colin Darie
5fbb88837e
Merge pull request #11083 from colinux/instructeur-can-preview-procedure
ETQ Instructeur je peux prévisualiser le formulaire d'une démarche
2024-11-25 17:00:03 +00:00
mfo
16ee0ca934
fix(table): adjust border size depending on devicePixelRatio [which depends on page zoom level] so we do not lose table cell borders 2024-11-25 17:57:51 +01:00
Colin Darie
874f992e5e
fix(instructeur): procedure form preview 2024-11-25 16:13:10 +01:00
benoitqueyron
8909e553ed
fix order services 2024-11-25 16:09:22 +01:00
Colin Darie
7d2821aa81
style(dossier): fix container / margin breaks between sections 2024-11-25 15:22:49 +01:00
LeSim
55d2789eae
Merge pull request #11081 from demarches-simplifiees/fix_unremovable_column_selector
ETQ Instructeur, je veux pouvoir retirer une colonne au libellé très long
2024-11-25 15:11:39 +01:00
simon lehericey
b81f1b1d25
fix unremovable column 2024-11-25 15:02:09 +01:00
LeSim
6e83d349ef
Merge pull request #11080 from colinux/fix-instructeur-multiline-header
ETQ instructeur, les en-têtes de tableau de dossiers peuvent passer sur plusieurs lignes
2024-11-25 13:59:26 +00:00
Colin Darie
ca4f077b4c
style(recherche): procedure libelle cell can wrap 2024-11-25 14:44:56 +01:00
Colin Darie
4ffb6a7c1b
style(dossiers): cell headers can wrap on multilines 2024-11-25 14:38:28 +01:00
Colin Darie
b6cfdb1a81
style(instructeur): fix notification exports position in header menu 2024-11-25 13:55:56 +01:00
Colin Darie
26018be459
Merge pull request #11078 from colinux/instructeurs-fix-exports-notification
ETQ instructeur: fix position de la pastille de notification d'exports dans le menu
2024-11-25 12:35:52 +00:00
Colin Darie
28c92acf1a
style(instructeur): fix notification exports position in header menu 2024-11-25 13:26:29 +01:00
Colin Darie
5d34d4f54d
style(dossiers): minimal width for checkbox header cell 2024-11-25 12:55:14 +01:00
Colin Darie
741ac527ef
style: remove obsolete usage of cell-link 2024-11-25 12:55:14 +01:00
Colin Darie
dc8cc2eba8
style(instructeurs): dossier number render as real link 2024-11-25 12:54:08 +01:00
Colin Darie
3f2c5da3ae
fix(instructeurs): cells on multilines 2024-11-25 12:31:05 +01:00
Colin Darie
5b494c2ce7
Merge pull request #11076 from colinux/mini-fix-tables
ETQ admin, fix design de quelques tableaux
2024-11-25 10:53:52 +00:00
Colin Darie
6ad6f2167b
style(admin): fix all administrateurs table 2024-11-25 11:36:27 +01:00
Colin Darie
f399c7eb2a
style(labels): fix new admin labels table 2024-11-25 11:35:58 +01:00
simon lehericey
58f1608d2f
fix: backfill user email_verified_at 2024-11-25 10:55:03 +01:00
Colin Darie
3c880a0849
style: fix all procedures table borders on safari 2024-11-25 10:53:52 +01:00
mfo
cd88d054fc
feat(breadcrumb): seen a hardocded translation of 'Suivi des dossiers',
i18n this mistake, re-use UX wording, add breadcrumb down to
Instructeurs::Dossiers#show
2024-11-25 10:06:54 +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
Paul Chavard
a73e3e8e76
Merge pull request #11047 from tchak/refactor-pdf-use-projected-champs
refactor(pdf): use projected champs when render pdf
2024-11-22 14:36:11 +00:00
Kara Diaby
ec4bbcffba
Ajoute une page spécifique aux modèles d'exports 2024-11-22 12:04:58 +00:00
Colin Darie
aeffd19abd
chore(footer): add digital inclusion sites 2024-11-22 10:45:43 +01:00
Colin Darie
f6be8eb823
chore(pagination): remove redondant symbols with dsfr paginator 2024-11-22 10:45:42 +01:00
Colin Darie
0c533113be
style: update groupes for reaffactation in new design table 2024-11-22 10:45:42 +01:00
Colin Darie
7e9e57cb17
style: update instructeurs to new design table 2024-11-22 10:45:42 +01:00
Colin Darie
bae0009120
refactor(admin): fix exports invitation list, also use dsfr toggle 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
Colin Darie
eabc43ce53
refactor: minor improvements 2024-11-22 10:45:41 +01:00
Colin Darie
605c550e6c
style(procedures): all layout responsivness 2024-11-22 10:45:41 +01:00
Colin Darie
8ebdb00fc2
fix(procedures): turbo force server, fix table JS style 2024-11-22 10:45:41 +01:00
Colin Darie
5d6e35c540
style(dossiers): customize table above 2024-11-22 10:45:41 +01:00
Colin Darie
b2a575a460
style(dossiers): nice display rendering for dossier numbers 2024-11-22 10:45:41 +01:00
Colin Darie
e7768bbf4b
refactor(dossiers): table in new dsfr design
- remove obsolete css
- handle check / check all dsfr UI
- min height hack does not work anymore (pending a new solution)
2024-11-22 10:45:41 +01:00
Colin Darie
af6dd67cef
chore(css): remove legacy dsfr hacks 2024-11-22 10:45:11 +01:00
Colin Darie
35a17cc2c6
refactor(dsfr): all procedures table to v1.12 2024-11-22 10:45:11 +01:00
Colin Darie
c6ab4f7f91
chore(footer): update footer links order 2024-11-22 10:45:10 +01:00
mfo
cd98eb88f5
Merge pull request #11065 from mfo/US/bad-start-of-breadcrumb-as-an-instructeur
ETQ instructeur, la racine du fil d'ariane devrait renvoyer sur la liste des demarches
2024-11-21 10:16:13 +00:00
mfo
d78faf9612
fix(breadcrumb): ETQ user having an instructeur and an admin, when i am connected as an instructeur, root of breadcrumb returns to instructeur_procedures_path, not root_path which is admin_procedures_path 2024-11-21 11:01:36 +01:00
mfo
08bd2895ef
fix(header.procedure_management): item gestion des instructeurs was not well formated 2024-11-21 10:43:15 +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
Kara Diaby
99e4dfae9d
Utilise le bon menu déroulant du DSFR 2024-11-20 09:26:18 +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
1601ca7bb9
Retire le bouton télécharger tous les dossiers 2024-11-19 15:24:41 +00:00
Kara Diaby
172d81856b
Fix après retours 2024-11-19 15:24:41 +00:00
Kara Diaby
e81f829545
Ajoute le liseret indicatif de la section en cours. Retire le bouton retour, géré dans une autre PR 2024-11-19 15:24:40 +00:00
Kara Diaby
29a2975752
Adapte les breadcrumbs sur l'interface instructeur 2024-11-19 15:24:40 +00:00
Kara Diaby
21f696a6e5
Ajoute le bouton retour dans l'interface instructeur 2024-11-19 15:24:40 +00:00
Kara Diaby
e3473fbe91
Ajout des dropdowns dans l'interface instructeur pour une meilleure navigation 2024-11-19 15:24:40 +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
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
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
Mathieu Magnin
80c1a1af2c
Remove not used param 2024-11-15 11:07:04 +01:00
Mathieu Magnin
96bbcd68ea
[#9513] Move path related things in a ProcedurePathConcern 2024-11-15 11:07:04 +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
Paul Chavard
5fa697df95
refactor(pdf): use projected champs when render pdf 2024-11-14 17:10:09 +01: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
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
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
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
LeSim
d30c0e0263
Merge pull request #11039 from demarches-simplifiees/work_on_enum_filter
ETQ Instructeur: corrections sur les filtres des champs choix multiples et liste liée
2024-11-13 15:37:58 +00:00
simon lehericey
d2c3c91fa7
fix: hide sva decision before column 2024-11-13 10:44:51 +01: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
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
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
Mathieu Magnin
1e7b5a56e4
Fix the hidden error: 'private method 'current_user' called for an instance of ErrorsController' 2024-11-12 13:26:41 +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
ec9a88a64e
simplify new 2024-11-12 10:30:35 +01:00
simon lehericey
b3fd3e6570
move last call to procedure_presentation controller 2024-11-12 10:30:35 +01:00
simon lehericey
6f010cd2c5
fix: dossier projection for json column 2024-11-12 09:28:00 +01:00
Eric Leroy-Terquem
00302b858c
Merge pull request #11032 from demarches-simplifiees/catch-minimagick-error
Technique : gestion d'une erreur de ImageProcessorJob
2024-11-08 13:19:37 +00: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
aa8ce15c2a
you know what ? value_column is a column 2024-11-07 18:11:43 +01:00