simon lehericey
947ef3498b
clean: remove old procedure_presentation methods from procedures_controller
2024-11-12 12:33:10 +01:00
simon lehericey
59b7b3dc91
tag old methods to be remove in a next pr
2024-10-31 11:03:06 +01:00
simon lehericey
d1530b40a1
use the filter_service
2024-10-15 16:09:08 +02:00
mfo
242ab78235
clean(deadcode): remove unused current_filters method
2024-10-15 16:09:07 +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
14fe11b612
use displayed_columns !
2024-10-15 16:09:06 +02:00
simon lehericey
4c5d7e2950
remove now useless add_filters and remove_filters
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
da98aa556b
use update(sorted_column:) and remove obsolete update_sort(column_id:, order:)
2024-10-08 22:51:25 +02:00
simon lehericey
e3697bd976
colonne.id = { procedure_id:, column_id: }.to_json
...
because:
- id should be a string as other id
- id need procedure_id to allow ColumnType.deserialize(id) -> Column as the columns are built by a procedure
2024-10-07 22:09:20 +02:00
mfo
6af07dd721
data(fix): backfill invalid procedure presentation filters having a value greater than pg max integer
2024-09-16 16:36:02 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment
2024-08-22 09:26:48 +02:00
Colin Darie
c1f4bd0ba3
Merge pull request #10700 from colinux/fix-persisting-pp-error
...
ETQ instructeur, n'affiche pas 2 fois le message de réinitialisation du tableau de dossiers
2024-08-21 07:23:15 +00:00
Colin Darie
8c6a7a8528
fix(instructeur): don't display twice pp error on get requests
2024-08-20 18:30:20 +02:00
Lisa Durand
ab483a8959
simplifie tabs supprimes and reduce to one
2024-08-20 15:26:09 +02:00
mfo
dba6f9b3aa
refactor(Facet): to column 🚀
2024-08-19 15:46:14 +02:00
mfo
b6464c1963
tech: use facet_id to sort fields
2024-08-19 15:30:08 +02:00
mfo
60c6c86d70
ProcedurePresentation.displayable_fields_for_select -> InstructeurFacetPickerComponent.displayable_fields_for_select
2024-08-19 15:29:59 +02:00
simon lehericey
379c9fb812
procedure should provide its facets
2024-08-19 15:29:59 +02:00
simon lehericey
14c5c26bb6
rubocop
2024-08-19 15:29:59 +02:00
simon lehericey
73293b0d06
give facet object instead of field_id to instructeur_filter_component
2024-08-19 15:28:36 +02:00
Colin Darie
6a6e643771
fix(instructeurs): don't fail when removing all displayed fields
2024-07-26 15:55:02 +02:00
Colin Darie
3e9cb6f388
Merge pull request #10576 from colinux/secure-cookies
...
Tech: cookies avec flag `secure` et `httponly`
2024-07-08 09:33:30 +00:00
Paul Chavard
8d6dc625f3
refactor(dossier): instructeur filter
2024-07-05 09:36:33 +02:00
Colin Darie
990dfbcf9e
chore(cookies): cookies http only
2024-07-03 11:54:10 +02:00
Colin Darie
1eb0bdb4ae
chore: cookies with "secure" flag (only transmitted through https)
2024-07-03 11:18:16 +02:00
mfo
4e67255405
feat(instructeurs/procedure#show): increase dossier page size but keep request count same
2024-06-21 16:50:08 +02:00
Christophe Robillard
93f1fd5ebf
add export template lists
2024-05-23 10:00:35 +02:00
Christophe Robillard
357c07456c
generate export with export_template
2024-05-23 10:00:34 +02:00
Eric Leroy-Terquem
30f96a79c2
chore(bulk messages): update associations
2024-03-22 14:52:34 +01:00
Colin Darie
8fa6e04c53
fix(export): turbo poll when creating an export
2024-03-14 14:04:25 +01:00
Eric Leroy-Terquem
6be57d9ea4
fix(bulk messages): display previous bulk messages
2024-02-28 16:07:27 +01:00
Colin Darie
5ab1d45b8a
fix(instructeur): don't crash when adding a filter too long
2024-02-21 12:13:47 +01:00
Lisa Durand
e6a4459633
refacto
2023-12-19 16:54:23 +01:00
Lisa Durand
1541da9d39
add specific routes and action for polling
2023-12-19 11:10:03 +01:00
Lisa Durand
a9ab1daf3a
display alert only for instructeur who generated the export and if recent
2023-12-18 11:25:52 +01:00
Lisa Durand
f34090f8fd
display last export alert in view
2023-12-13 10:26:33 +01:00
Colin Darie
640f729413
feat(exports): persist instructeur requestor & dossiers count
2023-10-09 11:23:15 +02:00
Colin Darie
04071073e5
refactor(instructeurs): faster procedures listing
2023-09-29 13:09:54 +02:00
Colin Darie
d4198869fb
chore(exports): dropdown menu re-uses the same pending export or create a fresh one
...
Pour permettre d'avoir des données fraiches dans un export tout
en conservant l'historique des exports,
la demande d'export depuis le menu créé toujours un nouvel export sauf:
- si un autre export identique est déjà en préparation
- si un autre export identique s'est terminé il y a moins de 5 minutes
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 15:23:31 +02:00
Colin Darie
d9687f7418
chore(exports): minor wording improvements and clarifications
2023-09-28 12:35:26 +02:00
mfo
00a6d02d21
fix(exports): block exports page to super admins so they can't download exports
2023-09-28 12:35:23 +02:00
Colin Darie
3af93735a3
feat(exports): turbo poll for pending exports
2023-09-28 12:35:19 +02:00
Lisa Durand
58a143b2c7
improve wording and display for export page
2023-09-28 12:35:15 +02:00
Lisa Durand
282df1b44b
add link to export page in flash message for instructeur
2023-09-28 12:35:14 +02:00
Colin Darie
a867c9a998
feat(instructeurs): notification badge when a new export has been generated
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:13 +02:00
Colin Darie
edb030bb4c
refactor(exports): regenerating exports redirect (back) to exports page
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:11 +02:00
Colin Darie
fc66f4b05d
refactor(exports): drop useless exports relation dependency for exports dropdown
...
Since the dropdown does not list download links anymore,
we don't have to pass them a dynamic exports list.
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:08 +02:00
Colin Darie
82dd05c189
chore(exports): finders by groupe instructeurs compatible across exports components
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:07 +02:00