Commit graph

23622 commits

Author SHA1 Message Date
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
LeSim
02b71d0c46
Merge pull request #11040 from demarches-simplifiees/fix_sva_dossiers_tableau
ETQ Instructeur: cache la colonne de filtrage décision avant du SVA/SVR
2024-11-13 13:37:54 +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
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
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
LeSim
f2b33677f8
Merge pull request #11036 from colinux/add-users-unconfirmed-email-index
Tech: ajoute index sur `users#unconfirmed_email`
2024-11-12 10:51:45 +00:00
LeSim
e84071a14a
Merge pull request #11035 from demarches-simplifiees/use_new_controller_to_sort_notification
Tech: déplace le le tri par notification vers le controller dédié
2024-11-12 10:18:52 +00:00
Colin Darie
92f2d2901d
chore(schema): add unconfirmed_email index to users 2024-11-12 11:17:18 +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
LeSim
72d8e43b2a
Merge pull request #11034 from demarches-simplifiees/fix_json_projection
Instructeur: corrige l'affichage de données api dans le tableau d'une démarche
2024-11-12 08:38:41 +00: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
Paul Chavard
bc7f39a053
Merge pull request #11030 from tchak/fix-image-processor-error
fix(process_image): sometimes last is nil 🤷‍♂️
2024-11-07 20:50:49 +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
055069755a
small cleaning in column_concern_spec 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
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
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
f8dc1d1533
use column.options_for_select 2024-11-07 18:11:39 +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
simon lehericey
2c8ee1f2c1
clean: use groupe_instructeur? 2024-11-07 18:11:38 +01:00
Eric Leroy-Terquem
523c56f60b
fix(image processing): catch minimagick error caused by png path 2024-11-07 17:25:23 +01:00