Commit graph

23323 commits

Author SHA1 Message Date
simon lehericey
b5ed8c9b61
export cache_key based on column 2024-10-15 16:09:08 +02:00
simon lehericey
954d232a47
add filtered and sorted columns to export 2024-10-15 16:09:08 +02:00
simon lehericey
603c2a108e
remove useless Export.by_key procedure_presentation arg 2024-10-15 16:09:08 +02:00
simon lehericey
d1530b40a1
use the filter_service 2024-10-15 16:09:08 +02:00
simon lehericey
4d7715fbb6
extract filter and sort function to a filter_service 2024-10-15 16:09:08 +02:00
simon lehericey
16e93a217b
reset procedure_presentation if a pb occurs with a column deserialization 2024-10-15 16:09:07 +02:00
mfo
112d49cb51
tech(deadcode): remove unused constant on ProcedurePresentation 2024-10-15 16:09:07 +02:00
simon lehericey
e41326dad5
tech(clean): remove sva_columns(for_filters)
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:07 +02:00
simon lehericey
3677f3b2d3
tech(clean): remove Column classname: attribute
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:07 +02:00
simon lehericey
30fcb75da4
extract dossier_state_column 2024-10-15 16:09:07 +02:00
mfo
242ab78235
clean(deadcode): remove unused current_filters method 2024-10-15 16:09:07 +02:00
simon lehericey
14483270ba
default default_displayed_column 2024-10-15 16:09:06 +02:00
simon lehericey
0a54db6db5
remove human_to_filter 2024-10-15 16:09:06 +02:00
simon lehericey
b2754cd26c
move validations concern to filtered_column
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:06 +02:00
simon lehericey
6b5efbda07
remove now unused code 2024-10-15 16:09:06 +02:00
simon lehericey
14fe11b612
use displayed_columns ! 2024-10-15 16:09:06 +02:00
simon lehericey
7e4ca07df2
use filtered_column to filter !
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:05 +02:00
simon lehericey
4c5d7e2950
remove now useless add_filters and remove_filters 2024-10-15 16:09:05 +02:00
simon lehericey
72c389161a
remove filter using generic add_filter methods 2024-10-15 16:09:05 +02:00
simon lehericey
175f303399
display filter tags 2024-10-15 16:09:05 +02:00
simon lehericey
e9c11a95f1
directly write in new filter columns 2024-10-15 16:09:05 +02:00
simon lehericey
d54ab64e40
add filtered_column type 2024-10-15 16:09:05 +02:00
simon lehericey
4e0d3c2df1
improve Column not found error message 2024-10-15 15:48:41 +02:00
simon lehericey
3e73ff0d35
small refactors 2024-10-15 15:48:41 +02:00
Mathieu Magnin
097074fdc7
Merge pull request #10865 from demarches-simplifiees/fix-10799
ETQ Admin / Instructeur je veux être savoir si le jeton api entreprise d'une démarche a expiré ou va expirer prochainement
2024-10-15 13:25:20 +00:00
Benoit Queyron
c8f69283cc
Merge pull request #10713 from demarches-simplifiees/etq-admin-bug-message-info-character-limit
Tech : amélioration de la gestion des types_de_champ.options
2024-10-15 13:02:33 +00:00
Paul Chavard
8ddec687e6
Merge pull request #10873 from tchak/refactor-repetition-remove-parent_id
ETQ dev, je ne veux plus avoir de relation entre les champs et leur parent
2024-10-15 13:00:52 +00:00
Mathieu Magnin
029a75404d
[#10799] Fixes after @E-L-T review's 2024-10-15 14:40:51 +02:00
Mathieu Magnin
6bdc641cdf
[#10799] Fix after Marlène's review 2024-10-15 14:40:51 +02:00
Mathieu Magnin
dfa3276cb6
[#10799] Missing test 2024-10-15 14:40:50 +02:00
Mathieu Magnin
4266a76db6
[#10799] Move test in right file 2024-10-15 14:40:50 +02:00
Mathieu Magnin
c897893e8a
[#10799] Remove dead code 2024-10-15 14:40:50 +02:00
Mathieu Magnin
e172f3ed6c
[#10799] Fix tests 2024-10-15 14:40:50 +02:00
Mathieu Magnin
f26ff30538
[#10799] Add maintenance task to fill api_entreprise_token_expires_at for previous data 2024-10-15 14:40:50 +02:00
Mathieu Magnin
6b326b634e
[#10799] Modifications after Marlene's comments 2024-10-15 14:40:50 +02:00
Mathieu Magnin
687617cb08
[#10799] Add test 2024-10-15 14:40:50 +02:00
Mathieu Magnin
64297f9ee8
[#10799] Add error on procedure#show if api entreprise token is expiring 2024-10-15 14:40:50 +02:00
Mathieu Magnin
99a1b68185
[#10799] reorder methods A->Z 2024-10-15 14:40:49 +02:00
Mathieu Magnin
2bf773b0b7
[#10799] Add warning badges when token is expiring 2024-10-15 14:40:49 +02:00
Mathieu Magnin
ec2c913ab4
[#10799] Display token error on related card 2024-10-15 14:40:49 +02:00
Mathieu Magnin
703a722c54
[#10799] Handle the case when api_entreprise_token is not nil then set to nil 2024-10-15 14:40:49 +02:00
Mathieu Magnin
7009eed9d7
[#10799] Move api entreprise token logic in a concern 2024-10-15 14:40:49 +02:00
Mathieu Magnin
39fdb8ddbb
[#10799] Display a warning about token expiration on token form page 2024-10-15 14:40:49 +02:00
Mathieu Magnin
2d9854dc01
[#10799] Declare api_entreprise_token_expires_at attribute and feed it on save 2024-10-15 14:40:49 +02:00
benoitqueyron
e88d84cf57
ajout d'un nettoyage des options des types_de_champ lors de la publication d'une procedure ou d'une nouvelle revision 2024-10-15 14:40:33 +02:00
benoitqueyron
4f62590b7a
ProcedureRevision#compare_type_de_champ: fix bug comparaison character_limit chaine vide vs nil 2024-10-15 14:40:33 +02:00
benoitqueyron
3c5749e45a
TypeDeChamp: purge notice explicative lors d'un changement de type_champ 2024-10-15 14:40:33 +02:00
simon lehericey
b588b77571
TypeDeChamp: amélioration de la gestion des drop_down_options 2024-10-15 14:40:15 +02:00
krichtof
222038d9de
Merge pull request #10934 from demarches-simplifiees/groupe_instructeur_dependent_export_template
ETQ admin, je peux supprimer un groupe instructeur qui contient des export templates
2024-10-15 11:43:30 +00:00
Paul Chavard
1cd4c7a885
Merge pull request #10936 from tchak/add-playwright-to-update-script
chore(update): add playwright to update script
2024-10-15 10:52:21 +00:00