Commit graph

10055 commits

Author SHA1 Message Date
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
mfo
f3922c7e39
Merge pull request #9263 from mfo/US/flip-optional-text
amelioration(admin): ETQ admin, je peux de desactiver le suffix "facultatif" sur les labels des champs non obligatoires (demander au support)
2023-06-29 13:21:33 +00:00
Martin
2350b5cc7f amelioration(admin): permet a un admin de desactiver le suffix "facultatif" sur les labels des champs non obligatoires 2023-06-29 11:20:14 +02:00
mfo
b05e356fee
Merge pull request #9261 from colinux/improve-demande-page
ETQ instructeur/usager: propositions d'améliorations visuelles de la page de demande
2023-06-29 10:26:04 +02:00
Martin
6f2bd8f27c correctif(expiration): re-active l'expiration des dossiers termines 2023-06-29 09:22:48 +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
Martin
8abd632e1f fix(demande): dossier.groupe_instructeur modification date as badge 2023-06-29 06:18:01 +02:00
Martin
49204ff09c style(demande.siret): sur fond grisé avec une légère indentation 2023-06-29 06:09:41 +02:00
Colin Darie
637108b081
chore(demande): information about default date of champ filled 2023-06-29 01:18:51 +02:00
Colin Darie
25015a8b8b
style(demande): modification date as badge 2023-06-29 01:18:50 +02:00
Colin Darie
9811d666b2 style(demande): same width as tabs / other pages 2023-06-29 00:32:53 +02:00
Colin Darie
92a32ef679 fix(demande): champ .number css conflict with landing page 2023-06-29 00:28:09 +02:00
Lisa Durand
b040a86840
Merge pull request #9255 from tchak/fix-header-section-display
fix(dossier): do not show header section title twice
2023-06-28 09:45:44 +00: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
Paul Chavard
c284c678a8 fix(dossier): do not show header section title twice 2023-06-28 11:23:51 +02: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
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
02dcead04a fix(commune): add fallbacks to commune name resolution 2023-06-28 09:44:21 +02:00
Colin Darie
1bdc6c02c6 style(demande): homogeneize "blank" champs and not attached files champs 2023-06-27 17:44:21 +02:00
Colin Darie
da9f76a538 style(demande): improve margins between info generates parts 2023-06-27 17:33:39 +02:00
Colin Darie
109e9434e1 fix(demande): show updated dossier date with proper attribute 2023-06-27 17:19:01 +02:00
Martin
cc4d124068 tech(expires): pause car on est entrain de trop enqueue de jobs 2023-06-27 16:30:52 +02:00
Colin Darie
d7cc5a8091
style(demande): italic for empty champ value (accordingly to mockup) 2023-06-27 15:30:52 +02:00
Colin Darie
8724212d83
style(demande): match general dates with mockup 2023-06-27 15:30:52 +02:00
Colin Darie
ea559edb92
style(demande): fix highlighted background updated at champ 2023-06-27 15:30:52 +02:00
Colin Darie
acd95177d4
style(demande): fix identity updated at mention 2023-06-27 15:30:51 +02:00
Colin Darie
899f671aed
style(demande): improve global readability 2023-06-27 15:30:51 +02:00
Colin Darie
8358a1c9e6 style: remove oboslete class champ-updated-at 2023-06-27 11:04:26 +02:00
Colin Darie
2f3b2b2962 style(demande): fix updated at font size 2023-06-27 10:59:33 +02:00
Colin Darie
d37a8b1c32 style(demande): fix responsive layout 2023-06-27 10:59:15 +02:00
Martin
bc8b2e2c97 correctif(champ.pj): ETQ usager et instructeur, l'affichage des PJs etait cassé 2023-06-27 09:44:48 +02:00
simon lehericey
7ec604ced3 typo 2023-06-26 21:32:07 +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
Colin Darie
18096a709b chore(email): tag sentry mailers 2023-06-26 17:28:27 +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
Martin
61d620c280 amelioration(expiration.dossiers): evite d'envoyer tous les mails d'un coup. Donc supprime les dossiers en brouillon a 22h, les dossiers en construction a 14h, les dossiers termine a 7h. 2023-06-26 15:51:26 +02:00
simon lehericey
9fa864448e add tasks / job to migrate pjs under namespace 2023-06-26 13:50:18 +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
Martin
217f32deca review(colin): quelques suggestions de co-linux 2023-06-23 10:45:35 +02:00
Colin Darie
cf1285dd42 fix(rebase): ensure dossier.champs is up to date after creating a child 2023-06-23 01:01:39 +02: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
Julie Salha
dc0eaed2f0 fix PR : remove trailing whitespace 2023-06-22 16:54:17 +02:00
Julie Salha
ddaacf1268 fix PR: each selector in one line 2023-06-22 16:54:17 +02:00
Julie Salha
e399aaf55d update structure and styles card dossier-champs 2023-06-22 16:54:16 +02:00
Julie Salha
5022018cff additional content visible by default 2023-06-22 16:54:16 +02:00
Lisa Durand
87347d34c6 change date with status + add a title on the page regarding to Olivier Figma 2023-06-22 15:38:49 +02:00
Lisa Durand
9338a73362 add possibility to override generated pj list by admin 2023-06-22 09:50:38 +02:00
Lisa Durand
32cc6aefb8
Merge pull request #9225 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile
[design] Remplacer les cartes bleu et orange par des composants du DSFR
2023-06-21 14:29:41 +00:00
Colin Darie
508b3c36fe
Merge pull request #9220 from mfo/US/fix-expiration-job
correctif(dossiers.expirations): sur de gros volumes de données, le fait de mettre a jours tous les dossiers a supprime timeout face a PG. batch la maj
2023-06-21 13:33:50 +00:00
Lisa Durand
33cc696d81 replace info and warning old cards by DSFR components 2023-06-21 12:24:45 +02:00
Paul Chavard
e509ff1717 fix(dossier): do not send notifcations to deleted users 2023-06-21 09:52:38 +01:00
Colin Darie
e8142588fd fix(instructeur): better wording about repasser en construction 2023-06-20 18:24:49 +02:00
Martin
8a42aa2117 correctif(dossiers.expirations): sur de gros volumes de données, le fait de mettre a jours tous les dossiers a supprime timeout face a PG. batch la maj 2023-06-20 17:46:58 +02: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
Eric Leroy-Terquem
6ffa012a0b remove duplicate view of re-routing not behind flag 2023-06-20 15:56:38 +02: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
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
Lisa Durand
6a92249f0a
Merge pull request #9208 from demarches-simplifiees/remove-iban-from-suspicious-list
ETQ admin, je ne veux plus voir l'IBAN comme un champ "suspect"
2023-06-19 14:45:06 +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
52bbd47ebe add constant for 'à_corriger' 2023-06-19 16:16:44 +02:00
Lisa Durand
7ee62a170d harmonize admin header for dashboard view 2023-06-19 15:42:24 +02:00
Lisa Durand
87f11f06ad remove IBAN from forbidden keywords list 2023-06-19 14:30:29 +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
Paul Chavard
c2ae3426cd fix(commune): a commune can not be located in 99 2023-06-16 08:38:01 +01: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
98cdc63d5c add rerouting feature flag 2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
35d28610aa move reaffectation view in a dynamic tab item 2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
3c0df601da feat(routing): add form in dossier page 2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
a9c6cc322a feat(routing): do not run routing engine if dossier has been re routed 2023-06-15 14:34:02 +02: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
Lisa Durand
30cf71b360 change 'unless' for 'if !' 2023-06-15 14:33:13 +02:00
Eric Leroy-Terquem
ce1429b850 migration : add forced_group_instructeur_to_dossier 2023-06-15 14:14:47 +02:00
Eric Leroy-Terquem
e78c22f33c refactor(groupe instructeur): extract method other_groupe_instructeurs 2023-06-15 14:14:47 +02:00
Paul Chavard
c1afc985e4 fix(prefill): allow private annotations prefill 2023-06-15 10:07:25 +01:00
Paul Chavard
01653440e7
Merge pull request #9198 from tchak/fix-groupe-instructeur-api-hack
fix(hack): fix and test hack for procedures using groupe instructeur api
2023-06-14 18:35:46 +00:00
Paul Chavard
10524643fb fix(hack): fix and test hack for procedures using groupe instructeur api 2023-06-14 19:24:58 +01:00
Paul Chavard
a432323843 fix(dossier): only show optional text on public champs 2023-06-14 19:00:06 +01:00
Colin Darie
3939f85860
refactor(job): wrap sentry tags in a single before_perform 2023-06-14 12:06:22 +02: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
Eric Leroy-Terquem
4b1389ac7e
Merge pull request #9188 from demarches-simplifiees/add-confirm-modal-before-reset-draft-revision
ETQ admin je vois une modale pour confirmer la réinitialisation des modifications de la procédure
2023-06-13 15:05:01 +00:00
Lisa Durand
4b6d18608e split pj in two lists regarding to conditionnal 2023-06-13 11:00:16 +02:00
Lisa Durand
d2f91a6405 add list of PJ in procedure description 2023-06-13 10:58:05 +02:00
LeSim
d22c0f47f3
Merge pull request #9155 from demarches-simplifiees/add_info_on_export
Ajoute un lien dans le menu d'export vers la doc sur les macros
2023-06-13 08:25:49 +00:00
LeSim
898b9db960
Merge pull request #9167 from tchak/use-persisted
refactor: use persisted? instead of created_at.present?
2023-06-13 08:15:58 +00:00
simon lehericey
8c2f838fd1 wording: add doc link concerning excel macros 2023-06-13 10:14:10 +02:00
Eric Leroy-Terquem
5f1709f62d add a flash notice after reset draft 2023-06-13 09:34:48 +02:00
Eric Leroy-Terquem
04e11aa609 add a confirm modal before reset draft 2023-06-13 09:34:48 +02:00
Colin Darie
a9887c0505
Merge pull request #9186 from colinux/fix-dossier-badge-state-icon
Design: corrige badge en_instruction & accepte pour avoir les badges, contrairement aux autres états
2023-06-13 06:12:08 +00:00
Kara Diaby
0649863139
Merge pull request #9050 from demarches-simplifiees/feat/9013
ETQ usager je suis guidé dans le formulaire lorsque les champs sont obligatoires ou facultatifs
2023-06-12 16:25:03 +00:00
Colin Darie
e4e47a4e97 fix(instructeur): corrections notifié => informé 2023-06-12 17:48:03 +02:00
Colin Darie
68f1d10e19 style(dossier-badge): en_instruction & accepte should have badge 2023-06-12 17:46:01 +02:00
Eric Leroy-Terquem
6bc15b8342 feat(groupe instructeur): add import - export partial in group page 2023-06-12 17:08:34 +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