Commit graph

10426 commits

Author SHA1 Message Date
Colin Darie
307ba68970
feat(exports): humanize status name 2023-09-28 12:35:20 +02:00
Colin Darie
3af93735a3
feat(exports): turbo poll for pending exports 2023-09-28 12:35:19 +02:00
Colin Darie
ed057737a5
feat(exports): name the dossiers count 2023-09-28 12:35:18 +02:00
Lisa Durand
c7cd5d2189
improve UX for export page 2023-09-28 12:35:16 +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
99f5b39dbb
fix(exports): force regenerate export with same statut filter
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:12 +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
ca0b5c9cb9
refactor(exports): destroy errorable on force to ensure we have fresh export
Il semblerait que le destroy échoue parfois silencieusement pour une raison
inconnue, ce qui empêche le create_or_find_export de se dérouler
à cause de la contrainte d'unicité (il rollback), ce qui conduit ensuite
à un comportement inattendu: re-téléchargement de l'ancienne archive
alors qu'on voulait la regénérer.

Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:09 +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
a559bf54eb
Merge pull request #9517 from demarches-simplifiees/change-tabs-for-instructeur-dashboard-ldu
[instructeur] Mettre en avant les démarches closes avec des dossiers à traiter
2023-09-28 07:32:07 +00:00
Lisa Durand
db4c8619a9
Update app/views/instructeurs/procedures/index.html.haml
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:51:44 +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
Colin Darie
2cc2c9f77d
Merge pull request #9520 from demarches-simplifiees/filter-instructeur-exclude-en-attente-ldu
[instructeur] je veux pouvoir filtrer les dossiers "en construction" sans avoir ceux "en attente de corrections"
2023-09-27 11:57:35 +00:00
krichtof
63ca98b5b6
Merge pull request #9529 from demarches-simplifiees/fix-contact-information
Fix contact information
2023-09-27 11:33:41 +00:00
Christophe Robillard
2a39cfead7 fix: display contact info on footer of notif mail 2023-09-27 12:49:24 +02:00
Christophe Robillard
6035a16ecc fix: can display contact_info nom on footer 2023-09-27 12:09:00 +02:00
Eric Leroy-Terquem
774e375f44 feat(conditional): can condition on departement champ value 2023-09-27 10:22:12 +02:00
Lisa Durand
129230af88 exclude dossiers with pending correction when instructeur filters on 'en_construction' 2023-09-26 16:36:39 +02:00
krichtof
da62a5ec79
Merge pull request #9518 from demarches-simplifiees/9497-description-champs
ETQ usager, je suis aidé à la saisie par une description des champs
2023-09-26 13:58:02 +00:00
Christophe Robillard
abad463bb1 remove placeholder for decimal number component 2023-09-25 18:17:04 +02:00
Christophe Robillard
168616b8c6 remove placeholder for phone component 2023-09-25 18:17:04 +02:00
Christophe Robillard
18e5c32363 remove placehoder for rna component 2023-09-25 18:17:04 +02:00
Christophe Robillard
8bacb30e36 remove placeholder for iban component 2023-09-25 18:17:04 +02:00
Christophe Robillard
bd3f7eeb38 remove placeholder for siret component 2023-09-25 18:17:04 +02:00
Christophe Robillard
ae08f044ed remove placeholder for email component 2023-09-25 18:17:04 +02:00
Christophe Robillard
3ff7bc7234 display max size and format as hint 2023-09-25 18:17:04 +02:00
Christophe Robillard
e972514ec6 remove useless blank line 2023-09-25 18:17:04 +02:00
Christophe Robillard
9c2c378588 use model locales for titre identite hint 2023-09-25 18:17:04 +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
krichtof
f019f1e316
Merge pull request #9345 from adullact/feature-ouidou/existing_procedure_hidden_as_template
ETQ superadmin, je peux masquer une démarche de la liste des démarches proposées à la création
2023-09-25 08:46:31 +00:00
Eric Leroy-Terquem
1060aadff7
Merge pull request #9504 from demarches-simplifiees/do-not-route-cloned-procedures-if-admin-is-different
Correction : désactive le routage des procédures clonées si l'admin n'est pas aussi admin de la procédure parente
2023-09-22 09:10:42 +00:00
seb-by-ouidou
d29bbf6d4f
Merge branch 'main' into feature-ouidou/existing_procedure_hidden_as_template 2023-09-21 15:53:38 +02:00
seb-by-ouidou
5b9423bab3 fix: remove hidden_at_as_template from filter 2023-09-21 13:50:23 +00:00
Eric Leroy-Terquem
70cc8dac4c fix(procedure): do not route cloned procedures from different admin 2023-09-21 15:24:17 +02:00
Eric Leroy-Terquem
5e4d96654f fix(dossier clone): always rebase cloned dossiers 2023-09-21 13:50:40 +02:00
Martin
04fe3ad2b6 correctif(repetition.commune): ETQ usager, lorsque j'ai plus d'une repetition ayant un champ commune, les ids des options des input[type=radio] des communes partageant le meme code postal ne sont pas uniques, on boucle sur la 1ere repetition 2023-09-20 17:56:17 +02:00
simon lehericey
4a17dec87b refactor procedure_controller 2023-09-20 14:11:10 +02:00
simon lehericey
40a15b9be4 refactor dossier_controller 2023-09-20 14:11:10 +02:00
simon lehericey
c248f96f31 fixup base controller 2023-09-20 14:11:10 +02:00
simon lehericey
118242dbd2 refactor api_controller 2023-09-20 14:11:09 +02:00
simon lehericey
2664c3671f api_tokens_controller: only use turbo 2023-09-20 14:11:09 +02:00
simon lehericey
954c5334ef use new procedure in view 2023-09-20 14:11:09 +02:00
simon lehericey
9047c2a7de api_tokens_controller: extract become full_access 2023-09-20 14:11:09 +02:00
simon lehericey
9b440b6c44 api_tokens_controller: extract disallow_procedure 2023-09-20 14:11:09 +02:00
simon lehericey
2a109d3aa4 api_tokens_controller: use before_action set_api_token 2023-09-20 14:11:09 +02:00