Commit graph

5164 commits

Author SHA1 Message Date
Lisa Durand
3e30834644
Merge pull request #9274 from demarches-simplifiees/bach-operation-all-instruction-actions
[Actions multiples] Ajouter la possibilité pour les instructeurs de classer sans suite et refuser
2023-07-12 09:43:29 +00:00
Martin
ce9dbed663 amelioration(NotificationMailer): sort la creation des commentaire sur la messagerie du mailer [trop de prob possible sinon: au retry on dupliquait les commenaitres, si le mail foirait, on commentait pas etc...] 2023-07-11 15:11:40 +02:00
Lisa Durand
d806495f66
Merge pull request #9298 from demarches-simplifiees/fix-bug-search-for-dossiers-invites
[bug] fix de la barre de recherche pour les dossiers invités
2023-07-11 12:57:04 +00:00
Lisa Durand
16c2cdee8a fix dossier invites search 2023-07-11 11:03:02 +02:00
Colin Darie
07432503a7
Merge pull request #9291 from colinux/stats
Stats: ignore aperçus, brouillons en construction & dossiers des démarches en brouillon
2023-07-11 08:36:12 +00:00
Colin Darie
0d106cdf4b
Merge pull request #9104 from colinux/sva
ETQ admin je peux configurer ma démarche en SVA/SVR
2023-07-11 08:21:46 +00:00
Colin Darie
4aaf5566c3
feat(sva): more details with example dates on procedure description 2023-07-11 10:02:47 +02:00
Colin Darie
73a28d2eca
fix(sva): don't process dossiers submitted before sva was enabled 2023-07-11 10:02:47 +02:00
Colin Darie
7225f1b023
fix(sva): not compatible with declarative procedure 2023-07-11 10:02:47 +02:00
Colin Darie
e1b21f980f
feat(sva): pending correction email mention sva/svr 2023-07-11 10:02:47 +02:00
Colin Darie
4c46a2f8da
feat(sva): date in pdf 2023-07-11 10:02:47 +02:00
Colin Darie
8c49dcf21e
feat(sva): exports include SVA devision date 2023-07-11 10:02:47 +02:00
Colin Darie
f369775d5b
fix(sva): compute decision date from the day after deposit or resolution 2023-07-11 10:01:49 +02:00
Colin Darie
b4e6c20bbd
feat(sva): log operation when instructeur requests a correction 2023-07-11 10:01:49 +02:00
Colin Darie
512f6ca0ec
feat(sva): reset start date when on a correction "incomplete" 2023-07-11 10:01:49 +02:00
Colin Darie
6ce8428ac6
feat(sva): instructeur can flag a dossier as incomplete 2023-07-11 10:01:48 +02:00
Colin Darie
168189c3ac
feat(sva): instructeurs can filter by sva/svr decision before a date 2023-07-11 10:01:48 +02:00
Colin Darie
f1504e9724
feat(sva): instructeurs dashboard sva/svr colonnes with multiple use cases 2023-07-11 10:01:47 +02:00
Lisa Durand
e43eea7fcf
display sva date and possibility to order in instructeur table 2023-07-11 10:01:47 +02:00
Lisa Durand
d7b0b1c01f
feat(sva): display encart SVA on procedure description when needed 2023-07-11 10:01:47 +02:00
Colin Darie
d70278a534
refactor(sva): dossier can't repasser en construction without pending correction 2023-07-11 10:01:47 +02:00
Colin Darie
30df476791
fix(sva): ensure "en construction" + "en instruction" notifications when submitting at submission
Pour le moment on conserve les 2 emails car l'email en construction
contient des informations spécifiques :
- l'attestation de dépôt
- potentiellement un contenu spécifique car il provient d'un template

Même remarque pour les démarches déclaratives.
2023-07-11 10:01:47 +02:00
Colin Darie
4bdd4310ab
feat(sva): calculcate decision date with corrections delays & resume methods 2023-07-11 10:01:47 +02:00
Colin Darie
5db80ee6de
feat(sva): cron accepts dossiers for each sva procedure 2023-07-11 10:01:47 +02:00
Colin Darie
3612eddf79
feat(sva): accepte automatiquement 2023-07-11 10:01:46 +02:00
Colin Darie
eb7f1f199a
feat(sva): block configuration changes when procedure is published 2023-07-11 10:01:46 +02:00
Colin Darie
afe373c6b4
feat(sva): transition to en_instruction when (re-)submitting a dossier 2023-07-11 10:01:46 +02:00
Colin Darie
8c52c4f63f
feat(sva): date calculator service for a dossier and a procedure 2023-07-11 10:01:46 +02:00
Colin Darie
8c210e6fc7
feat(admin): config sva/svr 2023-07-11 10:01:45 +02:00
Paul Chavard
95f7ca0f44 fix(cojo): invalid accreditation should result in a blank champ 2023-07-10 19:15:39 +02:00
Colin Darie
e2a9978c26
Merge pull request #9294 from colinux/fix-entreprise-without-siret-siege
Fix (demande): pas d'erreur lorsque l'entreprie n'a pas de SIRET associé au siège social
2023-07-10 14:09:23 +00:00
Colin Darie
e47761860a fix(demande): don't crash when siret siege social is missing 2023-07-10 15:41:50 +02:00
Colin Darie
6cf9ea6459
Merge pull request #9256 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile-part-2
[refonte usager] Tableau de bord - Changer design de tableau à tuiles
2023-07-10 13:28:51 +00:00
Colin Darie
aa8bef48b0 fix(stat): ignore forks, previews & dossiers from draft procedures 2023-07-10 15:16:56 +02:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
Paul Chavard
c74351459e feat(champ): add result error handling to ChampFetchExternalDataJob 2023-07-10 14:57:34 +02:00
Lisa Durand
b41a3586ff fix specs 2023-07-10 14:55:20 +02:00
Lisa Durand
0a0665bb4d feedback PR Colin 2023-07-10 10:53:07 +02:00
Lisa Durand
6738dcf080 change design from table to cards for usager for deleted dossier tab 2023-07-10 10:53:07 +02:00
Lisa Durand
77240f40c8 fix specs 2023-07-10 10:53:07 +02:00
Lisa Durand
3d20ef6af9 remove specific partial for dossier transfers and use Dossier instead od DossierTransfer 2023-07-10 10:53:07 +02:00
Lisa Durand
e1ece91bb3 harmonize card admin 2023-07-10 10:53:07 +02:00
Colin Darie
d2f1af0830
Merge pull request #9281 from colinux/demande-usager-layout
ETQ usager/instructeur: augmente le contraste entre libellés et réponses sur la page de la demande
2023-07-10 08:31:34 +00:00
Colin Darie
f4f036ce81
fix(demande): extract missing i18n title 2023-07-10 10:17:12 +02:00
Colin Darie
0b01c44025 fix(demarche): show notice download link 2023-07-06 13:38:00 +02:00
Lisa Durand
e1c7f2ac6f fix specs 2023-07-06 11:30:10 +02:00
Colin Darie
6fa7ed1c1f
Merge pull request #9279 from colinux/fix-email-default-template
Correctif: utilise le template d'email de notification par défaut quand la démarche n'a pas personnalisé le sien
2023-07-06 09:30:04 +00:00
Colin Darie
edc790be8f test: remove false positive warning about expect.not_to raise(SpecificError) syntax 2023-07-06 10:56:01 +02:00
Colin Darie
1da1e67067 fix(mail): use default template when no custom template was found 2023-07-06 10:53:11 +02:00
Paul Chavard
9cfbc75f25 spec(procedure): test url validator 2023-07-06 10:27:43 +02:00
Colin Darie
3340b504d7
Merge pull request #9272 from colinux/demande-instructeur-columns
ETQ usager/instructeur: repasse l'affichage demande en 2 colonnes
2023-07-04 16:57:24 +00:00
Colin Darie
c83cc048c6
Merge pull request #9269 from mfo/US/text-merge-fork-with-revision-removing-repetition
Test: merge_fork d'un dossier étant sur une revision passée avec une répétition qui a été supprimée
2023-07-04 12:21:31 +00:00
Lisa Durand
b2ba15a277 add specs 2023-07-04 11:40:11 +02:00
Eric Leroy-Terquem
f959450477
Merge pull request #9244 from demarches-simplifiees/refactor-routing-update
Tech : mise à jour du routage sans callback
2023-07-04 09:39:00 +00:00
Lisa Durand
3577bcbffa make batch instruction button disable 2023-07-04 11:13:39 +02:00
Colin Darie
2476fa7eb8
test(champs): remove obsolete test about updated champ of routed procedure 2023-07-04 10:47:41 +02:00
Colin Darie
e899fe5f5f
style(demande): layout with 2 columns 2023-07-04 10:47:41 +02:00
Eric Leroy-Terquem
0c3426228f feat(routing): to_configure include invalid_rule and non_unic_rule 2023-07-04 10:04:35 +02:00
Eric Leroy-Terquem
b059e905cd feat(routing): add warning for groups with same rule 2023-07-04 09:53:00 +02:00
Eric Leroy-Terquem
7fe4ec67c3 update previous routing system tests 2023-07-03 14:58:45 +02:00
Eric Leroy-Terquem
7598b0a513 remove previous routing sytem code 2023-07-03 14:58:45 +02:00
Eric Leroy-Terquem
a2c636d784 fix(tests): create groupe instructeurs with factory 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
16676a3d3f test(groupe instructeur): toggle routing in after create in factory 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
d6fea4ed95 refactor(routing): toggle routing when custom routing 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
520050933e refactor(routing): toggle routing when simple routing 2023-07-03 14:47:56 +02:00
Martin
5c9101d15f bug(merge_fork): un dossier etant sur une revision passee avec une repetition qui a ete supprime ne peut merge_fork 2023-06-30 14:25:23 +02:00
Martin
dfb525892a amelioration(instructeurs/dossiers/show): ETQ instructeur, je vois les champs saisi, les champs qui ont ete vidé apres le depot du dossier, je ne vois pas les champs facultatif jamais saisis 2023-06-29 07:59:32 +02:00
Christophe Robillard
faecefe405 merge admin api tokens 2023-06-28 13:37:33 +02:00
Paul Chavard
f3a5e0e6d7
Merge pull request #9219 from tchak/fix-departement-filters
ETQ Instructeur, je voudrais que les filtres fassent la différence entre les Bouches-du-Rhône et le Rhône
2023-06-28 09:42:50 +00:00
Colin Darie
10a37793be
Merge pull request #9252 from colinux/fix-demande-updated-at
ETQ usager/instructeur: fix date de modification du dossier
2023-06-28 08:46:39 +00:00
Eric Leroy-Terquem
97949fc168 fix(typo) adresse électronique 2023-06-28 10:24:37 +02:00
Paul Chavard
f7e81965b1 fix(instructeur): filter by departement or region should use code instead of name 2023-06-28 10:14:34 +02:00
Colin Darie
0cec8947d9 chore(demande): no facultatif word on instructeur profile 2023-06-28 09:55:57 +02:00
Paul Chavard
d03f5ce5f3 chore(api-geo): update api-geo data 2023-06-28 09:44:21 +02:00
Paul Chavard
02dcead04a fix(commune): add fallbacks to commune name resolution 2023-06-28 09:44:21 +02:00
Martin
a0ceee96bd amelioration(email.resume_hebdomadaire): envoie le mail a 4h du matin sur une periode de 3h
tech(
Co-authored-by: Colin Darie <colin@darie.eu>
2023-06-26 17:47:53 +02:00
Martin
d45a250075 amelioration(mail): ajoute d'un simili rate limiter pour envoyer les mails sur des fenetres de temps ayant une limite 2023-06-26 17:28:27 +02:00
mfo
8282403c07
Merge pull request #9030 from mfo/8164-additional-visible-content
ETQ usager, la page resumant ma demande est aux couleurs du DSFR
2023-06-26 09:44:01 +00:00
Eric Leroy-Terquem
3f55c71bc8
Merge pull request #8658 from E-L-T/notify-instructeur-when-added-or-removed-from-api
feat(API): notify instructeurs when added or removed from procedure
2023-06-26 09:37:15 +00:00
Lisa Durand
34609ffffe
Merge pull request #9210 from demarches-simplifiees/design-harmonize-header-admin
[design ADMIN] Mettre le libellé de la procédure en h1 et harmoniser le header
2023-06-26 08:15:15 +00:00
Colin Darie
8501fbadbb fix(dossier): can merge fork after rebase adding a champ in repetition 2023-06-23 00:22:32 +02:00
Martin
43c6f03d10 amelioration(users/dossiers#demande): passage a la nouvelle ui/ux
wip
2023-06-22 16:54:17 +02:00
Lisa Durand
9c89719a51 fix specs 2023-06-22 15:52:21 +02:00
Lisa Durand
9338a73362 add possibility to override generated pj list by admin 2023-06-22 09:50:38 +02:00
Paul Chavard
e509ff1717 fix(dossier): do not send notifcations to deleted users 2023-06-21 09:52:38 +01:00
mfo
ab1399da57
Merge pull request #9209 from mfo/US/intercept-email-delivering
amelioration(email_event): re-lever une erreur dans un rescue_from ne la fait pas remonter. change de stratégie pour savoir si oui ou non un mail a ete envoye avec success.
2023-06-20 14:55:49 +00:00
Martin
9b2d05b8a1 amelioration(email_event): re-lever une erreur dans un rescue_from ne la fait pas remonter. change de stratégie pour savoir si oui ou non un mail a ete envoye avec success. 2023-06-20 13:39:29 +02:00
Colin Darie
33617a4c44 test: ensure travel_back is automatically called at the right time 2023-06-20 00:04:55 +02:00
Colin Darie
acc6456b08
Merge pull request #9201 from demarches-simplifiees/user-dashboard/add-filter-a-corriger
[refonte usager] Tableau de bord - remonter les dossiers à corriger
2023-06-19 19:21:32 +00:00
Colin Darie
7023284726
Merge pull request #9195 from colinux/job-declarative-dossier-unit
Jobs: traite en isolation les dossiers bloqués de démarches déclaratives
2023-06-19 14:44:59 +00:00
Lisa Durand
7ee62a170d harmonize admin header for dashboard view 2023-06-19 15:42:24 +02:00
Eric Leroy-Terquem
be4f8f57ab
Merge pull request #9093 from demarches-simplifiees/rerouter-un-dossier
ETQ instructeur je peux réaffecter un dossier à un autre groupe d'instructeurs
2023-06-16 12:01:10 +00:00
Lisa Durand
bcc37f4130 change states filter from checkbox to select and add 'a_corriger' 2023-06-15 18:17:36 +02:00
Lisa Durand
f4e33c068b
Merge pull request #9121 from demarches-simplifiees/add-detail-on-PJ-on-description-procedure-page
[Refonte page accueil demarche] Ajouter les infos concernant les PJ
2023-06-15 12:52:50 +00:00
Eric Leroy-Terquem
18054fe346 feat(routing): add view for dossier a reaffecter 2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
e7e702a574 feat(routing): add reaffecter_un_dossier 2023-06-15 14:34:01 +02:00
Paul Chavard
c1afc985e4 fix(prefill): allow private annotations prefill 2023-06-15 10:07:25 +01:00
Paul Chavard
10524643fb fix(hack): fix and test hack for procedures using groupe instructeur api 2023-06-14 19:24:58 +01:00
Colin Darie
17f5fb4a51
refactor(declarative): process dossier in job isolation 2023-06-14 12:06:22 +02:00
Colin Darie
f675d2d1a7
Merge pull request #9196 from colinux/fix-admin-publication-errors
ETQ admin je veux voir les erreurs lorsque la (re-)publication échoue
2023-06-14 09:56:46 +00:00
Paul Chavard
b3aeb46c1b fix(prefill): it should be possible to prefill a dossier on a test procedure 2023-06-14 09:14:12 +01:00
Colin Darie
889940af2a fix(administrateur): renders errors when publication fails 2023-06-13 19:11:59 +02:00
Lisa Durand
d2f91a6405 add list of PJ in procedure description 2023-06-13 10:58:05 +02:00
Kara Diaby
804f89f444 Changements sur le caractère obligatoire / facultatif et l'asterisque interface usager et page de connexion 2023-06-12 14:43:10 +00:00
Eric Leroy-Terquem
0d1754d715
Merge pull request #9153 from demarches-simplifiees/fix-typos
Correction de coquilles et fautes d'orthographe
2023-06-12 14:10:33 +00:00
Eric Leroy-Terquem
90b11ebe9c
Merge pull request #9146 from demarches-simplifiees/update-ui-when-adding-group
Mise a jour de l'UX de la page groupe d'instructeurs
2023-06-12 13:56:19 +00:00
Eric Leroy-Terquem
dd1b67bbc7 UI(groupe instructeur): update heading level and wording 2023-06-12 15:32:02 +02:00
Eric Leroy-Terquem
0164b5f008 fix tests after typos corrections 2023-06-12 15:13:25 +02:00
Paul Chavard
6723bdcd9d fix(carto): no crash on points with elevation 2023-06-12 14:56:52 +02:00
Colin Darie
9d8ad9b3d8
Merge pull request #9160 from colinux/improve-instructeurs-filter-date
ETQ instructeur je lis la date d'un filtre dans un format "humain"
2023-06-12 12:22:51 +00:00
simon lehericey
44859b8217 fix(user dossiers index): do not crash with a deleted dossier and a discarded procedure 2023-06-12 13:57:28 +02:00
Colin Darie
75b2685230 fix(instructeurs): human format a filtered date 2023-06-08 19:01:23 +02:00
Paul Chavard
6945b3f438 fix(carte): no autosave on champ carte 2023-06-06 16:46:32 +02:00
Paul Chavard
c4432b1b47 perf(carto): use json schema to validate geojson instead of rgeo 2023-06-06 15:43:56 +02:00
Lisa Durand
968f05f648
Merge pull request #9107 from demarches-simplifiees/remove-previsualisation-from-admin-procedure-creation
[Refonte page accueil demarche] Formulaire de création admin full page - plus de prévisualisation
2023-06-05 12:10:31 +00:00
Colin Darie
66dc8f251f
Merge pull request #9128 from colinux/fix-procedure-presentation-show-avis
ETQ instructeur je veux pouvoir afficher sans erreur la colonne "avis"
2023-06-05 08:53:39 +00:00
Colin Darie
7e567d5080
fix(instructeurs): don't crash when displaying "avis" column 2023-06-02 17:07:02 +02:00
Colin Darie
7f871728c7
refactor(message): badges à corriger/en attente/corrigé when related to a correction 2023-06-02 16:18:33 +02:00
Colin Darie
52c8553576
fix(dossier_correction): don't allow to save with a missing (invalid) commentaire 2023-06-02 16:18:33 +02:00
Colin Darie
fd4a9a6a2f
refactor(instruction): menu repasser en construction + demander une correction 2023-06-02 16:18:32 +02:00
Colin Darie
3c4ea6f8cf
refactor(instructeur): instruction menu as component 2023-06-02 16:18:31 +02:00
Colin Darie
734d88d80d
fix(pending-correction): wording alignement 2023-06-02 16:16:14 +02:00
Colin Darie
a32014d4fd
feat(correction): user can mark dossier en_construction as resolved 2023-06-02 16:16:14 +02:00
Colin Darie
8839ac7f76
fix(instructeur): pending_correction flag does not make messagerie unseen 2023-06-02 16:16:14 +02:00
Colin Darie
62cc9d30d8
chore(correction): passing en_instruction resolve pending corrections 2023-06-02 16:16:14 +02:00
Colin Darie
5ab44fc7a9
chore: rename dossier_resolution => dossier_correction 2023-06-02 16:16:14 +02:00
Colin Darie
538e24fa7e
feat(dossier/projection): supports pending_correction? 2023-06-02 16:16:13 +02:00
Colin Darie
9565267170
feat(dossier): notify user by email about pending corrections 2023-06-02 16:16:13 +02:00
Colin Darie
ca3b127942
feat(instructeur): can flag a dossier as "pending corrections" 2023-06-02 16:16:12 +02:00
Colin Darie
d73b96ea40
feat(dossier): pending resolution state 2023-06-02 16:13:16 +02:00
Colin Darie
2c79ca94f5
chore(schema): create dossier_corrections 2023-06-02 16:13:15 +02:00
Colin Darie
ec244f1a94
fix(procedure): auto_archive_on must be in future 2023-06-01 16:49:52 +02:00
Martin
50da50a7ac amelioration(bilan_bdf.resultat_exercice): implement la logique d'affichage du resultat d'un exercice sur l'API v3 2023-06-01 15:04:09 +02:00
Christophe Robillard
42acc71cbe display v2 and v3 bilans bdf 2023-06-01 14:03:31 +02:00
Christophe Robillard
0f083db32b migrate bilans bdf adapter to v3 2023-06-01 14:03:31 +02:00
mfo
c2f2b4ef2a
Merge pull request #9106 from mfo/api-entreprise.etablissement_adapter
API Entreprise: migration "Etablissement"
2023-06-01 11:45:47 +00:00
mfo
1a6dc10548
Merge pull request #9102 from demarches-simplifiees/8472-migrate-rna
API Entreprise: migration RNA (associations)
2023-06-01 11:37:57 +00:00
Martin
c90175f121 tech(api-entreprise.etablissement): passage du endpoint ETABLISSEMENT_RESOURCE_NAME en v3 2023-06-01 09:06:36 +02:00
Lisa Durand
4fdcce45c5 fix specs 2023-05-31 17:33:49 +02:00
Martin
0d3deb01be tech(rna_controller#show): corrige les specs et recupère uniquement les informations utilisé par l'app 2023-05-31 16:11:12 +02:00
Eric Leroy-Terquem
e8d687f5e7 fix(routing): routing engine works even with unconfigured groups 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
50abf496fd add warning in gi pages in rule does not match tdc 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
6e88c49470 remove old logic test 2023-05-31 11:38:16 +02:00
simon lehericey
97aac5d588 update tests for rules based routing 2023-05-31 11:38:16 +02:00
simon lehericey
174f7a7c53 add one_groupe_management_component 2023-05-31 11:38:16 +02:00
simon lehericey
142ac9173d add groupes_search_component 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
2db2625fc8
Merge pull request #8923 from demarches-simplifiees/migrate-data-for-routing-with-dropdown-list
Migre les données pour le nouveau mode de routage
2023-05-31 08:42:11 +00:00
Christophe Robillard
ef82149a3b amelioration(api-entreprise.rna): passe a la v3 pour le endpoint RNA_RESOURCE_NAME 2023-05-31 09:59:44 +02:00
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
Colin Darie
3161f90662
Merge pull request #9098 from demarches-simplifiees/8472-migrer-attestation-fiscale
API Entreprise : migration "attestation fiscale"
2023-05-30 08:52:17 +00:00