Commit graph

10157 commits

Author SHA1 Message Date
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
Paul Chavard
7136c96a36 feat(procedure): validate external links 2023-07-06 10:27:43 +02:00
Paul Chavard
a43c3fd19d feat(procedure): add lien_notice_error and lien_dpo_error 2023-07-06 10:27:43 +02:00
Paul Chavard
7ade521582 feat(dossier): show lien_notice when available 2023-07-06 10:27:43 +02:00
Colin Darie
d00957cf99 style(demande): usager profile with document layout instead of columns 2023-07-06 09:41:28 +02:00
Lisa Durand
890e00f915 add validation for empty motivation field with javascript 2023-07-05 18:18:40 +02:00
Lisa Durand
a694d65911 add alert to validate action and improve translation for unique batch operation 2023-07-05 10:07:12 +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
dfbb824dde
Merge pull request #9260 from colinux/export-corrections
ETQ instructeur: intègre les demandes de corrections dans les PDF
2023-07-04 09:58:07 +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
Colin Darie
eec61db7dc style(demande): improve titles & sections spacing 2023-07-04 11:22:57 +02:00
Lisa Durand
3577bcbffa make batch instruction button disable 2023-07-04 11:13:39 +02:00
Colin Darie
0ffc14944d
refactor(demande): single champ row component everywhere 2023-07-04 10:47:41 +02:00
Colin Darie
d41f224a2c
refactor(demande): improvements for infos entreprise 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
1923eb7d23 feat(routing): filter with only one form 2023-07-04 10:04:55 +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
1b5f3a67eb feat(routing): filter only groups to configure 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
Lisa Durand
220b71bbf7 add classer_sans_suite and refuser to batch operation 2023-07-03 16:05:48 +02:00
Eric Leroy-Terquem
3b204faaae
Merge pull request #9168 from demarches-simplifiees/add-import-component-in-groupe-page
ETQ Admin je peux importer des instructeurs depuis la page d'un groupe
2023-07-03 13:31:51 +00:00
Eric Leroy-Terquem
c82727120c feat(DB): ignore migrated_champ_routage_columns 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
b94e8edb67 refactor(routing): move toggle_routing to procedure model 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
2eb3685d38 refactor(routing): do not disable instructeurs_self_management when reseting routing 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
Eric Leroy-Terquem
f03d10e246 perf(routing): use instance variable of procedure 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
5929c8354c refactor(routing): toggle routing when destroy group 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
3a667d39ba refactor(routing): rollback Procedure#instructeurs_self_management? 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
dcbaa5a5a0 refactor(routing): toggle routing if create group at import 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
3de5aa0382 refactor(routing): toggle routing from mutations 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
ebb48b0aec refactor(routing): toggle routing from controller 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
5416ec8226 refactor(routing): make toggle_routing public 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
2a3ffdf3c6 refactor(routing): do not use toggle_routing as a callback anymore 2023-07-03 14:47:56 +02:00
Colin Darie
c95f4ab700
refactor(correction): preload corrections for exports 2023-07-03 09:53:24 +02:00
Colin Darie
6b908ffb27
feat(correction): correction sub-state + date in pdf 2023-07-03 09:53:17 +02:00
Martin
c52c0e4573 correctif(dossier.en_construction): ETQ usager, je souhaite pouvoir modifier un dossier ayant des repetition ayant des enfants 2023-06-30 12:09:54 +02:00
mfo
87237896c5
Merge pull request #9267 from mfo/US/fix-show-champs
correctif(demande): ETQ usager, instructeur, je ne souhaite pas voir les champs conditionné et non visible dans un bloc repetable
2023-06-29 14:11:17 +00:00
Lisa Durand
8969c11bd1
Merge pull request #9266 from demarches-simplifiees/harmonize-container-class
[Design] Harmonisation des espaces du sub header pour les differents profils
2023-06-29 14:05:29 +00:00
Martin
71c4e93544 correctif(demande): ETQ usager, instructeur, je ne souhaite pas voir les champs conditionné et non visible dans un bloc repetable 2023-06-29 16:01:41 +02:00
Lisa Durand
1736cda85a harmonize container with fr-container for all users header 2023-06-29 15:30:23 +02:00