Commit graph

10199 commits

Author SHA1 Message Date
Colin Darie
5998cfe31f refactor(correction): rename kind => reason with default correction => incorrect 2023-07-21 16:45:47 +02:00
seb-by-ouidou
8e0cac5537 fix(views): fix dead link to configure API entreprise token 2023-07-21 08:33:24 +00:00
Christophe Robillard
3334e7dc61 improve the wording 2023-07-21 10:22:45 +02:00
Lisa Durand
385d4b4fa5 fix search and add system spec 2023-07-20 17:13:22 +02:00
Lisa Durand
68ca0a4f0d
Merge pull request #9323 from demarches-simplifiees/make-publication-page-clearer-for-admin
ETQ administrateur, je souhaite que la page "publier" soit plus claire
2023-07-20 14:04:28 +00:00
Lisa Durand
f89391eb7d fix deleted procedure that still display in draft tabs 2023-07-20 15:49:54 +02:00
Lisa Durand
aaddce074f remove alert for link and add alert for test and small wording changes 2023-07-20 15:23:38 +02:00
Christophe Robillard
20d0585e31 rend plus actionnable message d'erreur 2023-07-19 18:16:04 +02:00
Lisa Durand
e24c77b027 add more specific url for FAQ 2023-07-19 18:04:55 +02:00
Lisa Durand
8ed1e97ee1 add filter by procedure for user for all tabs 2023-07-19 17:57:24 +02:00
Lisa Durand
faf5cb8034 small design review : icon - spaces - placeholder 2023-07-19 15:51:11 +02:00
krichtof
753731cc53
Merge pull request #9259 from demarches-simplifiees/9189-merge-api-tokens
ajoute les jetons api lors de la fusion d'un compte administrateur
2023-07-19 12:04:19 +00:00
Paul Chavard
cb76210707
Merge pull request #9311 from demarches-simplifiees/perf_admin
Perf: améliorer la perf de la page admin en cachant le résultat du parseur de template
2023-07-19 11:34:50 +00:00
Martin
87abc79627 amelioration(archive-uploader): capture avec sentry les erreurs du swift_wrapper 2023-07-19 11:52:59 +02:00
krichtof
4862cc2be8
Merge pull request #9326 from demarches-simplifiees/9242-api-entreprise-recipient
send service siret as recipient
2023-07-19 09:31:11 +00:00
Christophe Robillard
619dfd5553 send service siret as recipient 2023-07-19 10:08:44 +02:00
Paul Chavard
4f4e68719a
Merge pull request #9275 from tchak/validate-geo-json
ETQ Instructeur, je veux que les GeoJSON déposés par les utilisateurs soient valides
2023-07-19 08:01:01 +00:00
simon lehericey
114bc9bd9b clean: remove unused var 2023-07-19 09:56:35 +02:00
simon lehericey
3a839dcf41 perf: cache template tags parsing 2023-07-19 09:56:35 +02:00
Paul Chavard
47dc2cba9c
Merge pull request #9325 from tchak/fix-dpo-lien-validation
fix(procedure): accept dpo emails with accents
2023-07-18 16:27:49 +00:00
Paul Chavard
04b3a70108 feat(champ): validate GeoJSON 2023-07-18 18:01:29 +02:00
Paul Chavard
1882f652d5 fix(dossier): do not create groupe instructeur assignements on brouillons 2023-07-18 16:54:00 +02:00
Paul Chavard
04160b5d44 chore(dossier_assignment): avoid n+1 queries 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
e8e9857dda style(reaffectation): apply dsfr to buttons 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
7a95846cba feat(DossierAssignment): always add forced_groupe_instructeur when manual assignment 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
0e58e10b82 refactor(DossierAssignment): move create_assignment to assign_to_groupe_instructeur 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
24f68b4deb feat(DossierAssignment): create assignments from api 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
96d17d03ec feat(DossierAssignment): create assignments when admin reaffect all dossiers 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
082db0ed02 feat(DossierAssignment): create Assignment when admin reaffect dossiers 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
488a932cd5 refactor(DossierAssignment): extract method create_assignment 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
199cf0d91f feat(DossierAssignment): fallback on label if group deleted 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
d6520249e1 feat(DossierAssignment): display groups labels in personnes impliquees view 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
f619fdfb19 feat(DossierAssignment): add reaffectations to presonnes impliquees view 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
ac2043e920 feat(DossierAssignment): create assignment when manual assignment by instructeur 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
c09655a07f feat(DossierAssignment): create assignment from routing engine 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
5f5714678c feat(DossierAsignment): create model 2023-07-18 16:54:00 +02:00
Paul Chavard
dc567568b6
Merge pull request #9317 from demarches-simplifiees/9204-entreprise-raison-sociale-ei
indique nom et prénom de l'EI comme raison sociale
2023-07-18 13:49:25 +00:00
Paul Chavard
08f0184700 fix(procedure): accept dpo emails with accents 2023-07-18 15:16:31 +02:00
simon lehericey
ad7fa39b62 feat(user): block login when .. blocked 2023-07-18 14:10:40 +02:00
simon lehericey
c130f80a7d feat(user): add blocket_at and block_reason columns 2023-07-18 13:46:27 +02:00
Lisa Durand
10d653359e
Merge pull request #9319 from demarches-simplifiees/fix-logo-size-in-card-for-safari
[fix] Logo ne s'affiche pas correctement dans les cartes sur safari (admin)
2023-07-18 08:56:28 +00:00
Lisa Durand
3e4fdc9004 change wording and margin 2023-07-17 17:46:26 +02:00
Martin
7e28c6ba63 correctif(champs.iban): le copier/coller sur un champs iban avec le code pays en minuscule perdait les caractères alphabétiques en debut d'IBAN 2023-07-17 17:41:27 +02:00
Lisa Durand
7d1733c4ad fix input name for lien site web 2023-07-17 17:29:32 +02:00
Lisa Durand
b86de113bd add i18n for publication page 2023-07-17 17:24:12 +02:00
Lisa Durand
1bcaf884c4 make publication page clearer for admin
fix default padding on select
2023-07-17 17:23:43 +02:00
Christophe Robillard
18f5c2a9ad merge only v3 api tokens 2023-07-17 16:35:07 +02:00
Lisa Durand
b0b4169c7a css fix for safari for displaying logo in cards 2023-07-17 14:48:32 +02:00
Christophe Robillard
67b9bb264a build raison sociale from nom and nom 2023-07-14 16:19:44 +02:00
Lisa Durand
9bd6cea38d
Merge pull request #9313 from demarches-simplifiees/fix-dropdown-navbar-profile
[fix] le dropdown pour les utilisateurs connectés
2023-07-13 12:47:30 +00:00
Lisa Durand
074e3bf5f8 fix linter missing I18n key 2023-07-13 12:48:30 +02:00
Lisa Durand
77bdbf45bc
Merge pull request #9308 from demarches-simplifiees/add-tabs-for-instructeur-index-procedures
ETQ instructeur mes démarches sont filtrées par onglet pour les retrouver plus facilement
2023-07-13 08:49:23 +00:00
Lisa Durand
a7d2d39f3b fix dropdown width and add icons 2023-07-13 10:38:15 +02:00
Paul Chavard
6958039677
Merge pull request #9306 from tchak/graphql-champ-file-timestamp
feat(graphql): add timestamps to files and champs
2023-07-13 07:36:17 +00:00
Lisa Durand
7b1b771b25 fix fropdown navbar profile 2023-07-12 18:07:10 +02:00
LeSim
97e4cf437a
Merge pull request #9309 from demarches-simplifiees/long_migration
Ajout d'un cron pour maintenir le nombre de pjs en cours de migration entre 0 et 200K
2023-07-12 12:39:11 +00:00
Colin Darie
32d2d58838
Merge pull request #9305 from colinux/instructeurs-improve-sva
ETQ instructeur, le badge SVA d'un dossier intègre la date prévisionnelle de décision au survol
2023-07-12 12:34:23 +00:00
Lisa Durand
fced4194d6 add tabs to filter procedures on index for instructeur 2023-07-12 12:38:41 +02:00
simon lehericey
ee471614eb tech(pjs): add pjs migration cron 2023-07-12 12:05:25 +02:00
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
Paul Chavard
32ecbaee61 feat(graphql): add timestamps to files and champs 2023-07-12 11:06:42 +02:00
Lisa Durand
ce04449207 small design fix on dropdown 2023-07-12 10:48:13 +02:00
Colin Darie
1fb1b27475 fix(sva): link to dossier from sva badge 2023-07-12 10:37:15 +02:00
Colin Darie
cd95762383 feat(sva): show decision date in badge title 2023-07-12 10:27:35 +02:00
Colin Darie
9462d66778 fix(batch): disable dropdown when alls buttons inside are disabled
Co-Authored-by: Lisa Durand <lisa.c.durand@gmail.com>
2023-07-11 18:33:50 +02:00
Colin Darie
2a8b97a30d
Merge pull request #9304 from colinux/identity-edit-design
ETQ usager: correctifs visuels mineurs
2023-07-11 14:19:08 +00:00
Colin Darie
0a670cb063 style(new-dossier): buttons as list for better margin & accessibility 2023-07-11 15:49:12 +02:00
Paul Chavard
d9cefb4873
Merge pull request #9299 from tchak/feat-refresh-champ
feat(dossier): enable refresh after update on more champs
2023-07-11 13:46:17 +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
Martin
23fb7e812e amelioration(a11y): utilise une balise <p> pour passer a la ligne avec un espace supplémentaire plutôt que deux <br> 2023-07-11 15:11:40 +02:00
Colin Darie
490b2392ed style(identity): improve edit identity dropdown UI 2023-07-11 15:02:50 +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
ea47c2cc19
Suggestion refacto by Tchak
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-07-11 11:53:46 +02:00
Lisa Durand
4084f814b3 fix specs 2023-07-11 11:24:05 +02:00
Paul Chavard
b14fbe7f31 feat(dossier): enable refresh after update on more champs 2023-07-11 11:19:16 +02:00
Lisa Durand
16c2cdee8a fix dossier invites search 2023-07-11 11:03:02 +02:00
Colin Darie
f812e0b084
fix(demarche): legacy notice linking 2023-07-11 10:48:01 +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
LeSim
7e5bc6c72f
Merge pull request #9293 from demarches-simplifiees/bye_bye_v1_v2_token
secu: bloque les jetons d'api v1 and v2
2023-07-11 08:05:58 +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
e74f4db8c8
feat(sva): under feature flag 2023-07-11 10:02:45 +02:00
Colin Darie
07f10070e9
fix(sva): disable svr configuration since until implementation 2023-07-11 10:01:49 +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
1c977c72bf
chore(schema): +dossier_corrections#kind 2023-07-11 10:01:48 +02:00
Lisa Durand
93b0af50cc
fix(sva): dont render sva badge component if procedure is not sva 2023-07-11 10:01:48 +02:00
Lisa Durand
786bc64d85
feat(sva): add sva badge on page dossier for instructeur 2023-07-11 10:01:48 +02:00
Lisa Durand
3607b6c593
feat(sva): add text sva for usager in dossier status overview 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
c3480f550d
chore(schema): +dossiers#sva_svr_decision_on, sva_svr_decision_triggered_at 2023-07-11 10:01:46 +02:00
Colin Darie
f2275defc8
feat(sva): introduction text for admins 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
c2c57b0c7e
style(dsfr/radio): error for input radios group 2023-07-11 10:01:45 +02:00
Colin Darie
8c210e6fc7
feat(admin): config sva/svr 2023-07-11 10:01:45 +02:00
Colin Darie
7a8b83cfc9
feat(admin): card link to sva/svr configuration 2023-07-11 10:01:45 +02:00
Colin Darie
bb4a6e22ce
chore(schema): +procedures#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
simon lehericey
35052087b1 secu: block v1 and v2 api token 2023-07-10 15:55:54 +02: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
3885864200
Merge pull request #9289 from demarches-simplifiees/new_pj_scheme
Change le nommage des pjs à %Y/%m/%d/sd/sd.....
2023-07-10 13:20:34 +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
Paul Chavard
c6d728d44f feat(api): HTTP API client 2023-07-10 14:57:34 +02:00
Paul Chavard
a9f431caa5 feat(dossier): implement champ polling 2023-07-10 14:57:34 +02:00
Paul Chavard
52545dc86c fix(type_de_champ): feature flag support 2023-07-10 14:57:34 +02:00
simon lehericey
db70624398 feat(pj): change naming scheme to %Y/%m/%d/sd/sd..... 2023-07-10 11:44:33 +02:00
Lisa Durand
b43889146f feebacks PR Colin part 2 2023-07-10 10:53:07 +02:00
Lisa Durand
0a0665bb4d feedback PR Colin 2023-07-10 10:53:07 +02:00
Lisa Durand
e03696c380 translate dates and remove demandeur icon if not present 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
1edfaae354 remove hidden dossier partial for hidden usager 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
87fceb311a reduce button size on card 2023-07-10 10:53:07 +02:00
Lisa Durand
064e2abeed add missing translation for admin cards 2023-07-10 10:53:07 +02:00
Lisa Durand
e1ece91bb3 harmonize card admin 2023-07-10 10:53:07 +02:00
Lisa Durand
1f5b551b24 change design from table to cards for usager dashboard 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
c96f99702f
Merge pull request #9288 from colinux/fix-individual
ETQ usager je peux corriger l'identité de mon dossier qui a pu être rempli sans qu'elle soit complète
2023-07-10 07:24:20 +00:00
Colin Darie
57fa4a6be9
fix(identite): warn user why he's redirected to identity path 2023-07-07 17:34:47 +02:00
Colin Darie
df342dca0b
fix(api-entreprise): don't hardcode context name
Closes #9284
2023-07-07 16:48:40 +02:00
Colin Darie
c46192f21e
style(demande): layout mode doc optimized with contrasted values 2023-07-07 12:14:47 +02:00
Lisa Durand
ae55655014 add placeholder for motivation field 2023-07-06 16:12:42 +02:00
Colin Darie
0b01c44025 fix(demarche): show notice download link 2023-07-06 13:38:00 +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
219f71f64b fix(mail): replace new line by space to avoid glued words 2023-07-06 10:58:44 +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
9fd96bc3ba Update app/components/procedure/notice_component/notice_component.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-07-06 10:27:43 +02:00