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
Lisa Durand
5a571a3535
create export page to list all the exports and remove links from the dropdown
2023-09-28 12:35:04 +02:00
Lisa Durand
91018d8f8f
Update app/controllers/instructeurs/procedures_controller.rb
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:51:07 +02:00
Lisa Durand
46e492496e
Update app/controllers/instructeurs/procedures_controller.rb
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:50:55 +02:00
Lisa Durand
a4c79e953b
change 'published' tabs by 'en cours' to highlight closed procedure with 'en cours' files
2023-09-25 15:34:37 +02:00
Martin
425d8867be
amelioration(bulk_messages): ETQ instructeur, je peux envoyer un message aux usagers ayant un dossier en brouillon
2023-08-14 10:17:23 +02:00
Paul Chavard
312c792e0a
refactor(instructeur): procedures tabs
2023-07-24 10:48:32 +02:00
Lisa Durand
f89391eb7d
fix deleted procedure that still display in draft tabs
2023-07-20 15:49:54 +02:00
Lisa Durand
fced4194d6
add tabs to filter procedures on index for instructeur
2023-07-12 12:38:41 +02:00
Colin Darie
b1435e18a9
chore(sentry): set procedure id tag on instructeurs controller
2023-05-23 09:40:21 +02:00