Commit graph

9358 commits

Author SHA1 Message Date
Pierre de La Morinerie
6afddd8647 spec: fix a flaky experts feature spec
When "invite linked dossiers" is checked, the invitation will generate
one avis per dossier (including the linked ones).

So when we retrieve the email send to the expert, and try to match it
with the avis record, we need to specify wich avis (the one for the main
dossier, or for the linked dossier).

Otherwise the test is flaky, and sometimes doesn't match the right avis
with the sent email.
2020-02-18 10:44:44 +00:00
krichtof
7c4ac0a8ab
Merge pull request #4791 from betagouv/4789-supprime-colonnes-ignorees
supprime les colonnes ignorées des classes `Administrateur` et `Instructeur`
2020-02-17 19:28:45 +01:00
Christophe Robillard
9f7b78ff8b supprime les colonnes ignorées 2020-02-17 19:03:43 +01:00
Pierre de La Morinerie
a2d1d9c8f2
Merge pull request #4793 from betagouv/fix-section-index-on-repetition
Usager : correction d'une erreur lors de l'affichage d'un titre de section dans un bloc répétable
2020-02-17 17:19:24 +01:00
Pierre de La Morinerie
d6a9318d05 champ: fix siblings for repetition champs
Fix a crash when requesting the `section_index` of a section header
in a repetition champ.
2020-02-17 17:11:17 +01:00
krichtof
459730e1ff
Merge pull request #4767 from betagouv/4410-supprime-colonne-email
supprime la colonne email des administrateurs
2020-02-17 15:08:29 +01:00
Christophe Robillard
6e0d1eaee3 remove email ignored column for admin and instructeur 2020-02-17 15:01:40 +01:00
Christophe Robillard
82af0e4db8 supprime la colonne email des administrateurs 2020-02-17 15:01:40 +01:00
Pierre de La Morinerie
0a3e0404e7
Merge pull request #4777 from betagouv/fix/4501-instructors-thousand-separators
Les nombres peuvent être copiés/collés sans inclure les espaces des séparateurs de milliers
2020-02-17 12:02:31 +01:00
kara Diaby
9287188904 Fix the thousand separator in order to copy/paste without space 2020-02-17 11:31:12 +01:00
Pierre de La Morinerie
cb952b3643
Merge pull request #4758 from betagouv/issue-template
GitHub : les utilisateurs sont invités à utiliser https://demarches-simplifiees.featureupvote.com pour leurs demandes d’améliorations
2020-02-17 11:08:03 +01:00
Pierre de La Morinerie
ad1907a0fe github: redirect suggestions to the feature upvote board 2020-02-17 10:56:22 +01:00
Paul Chavard
67867d7cff
Merge pull request #4772 from tchak/discard
Use discard gem instead of DIY solution
2020-02-13 16:51:05 +01:00
Paul Chavard
1cd913913a Fix old tasks 2020-02-13 12:32:18 +01:00
Paul Chavard
1ce1c1e6d0 use discard 2020-02-13 12:31:59 +01:00
Paul Chavard
674c24c4f7
Merge pull request #4773 from tchak/drop-old-tasks
Remove old (< 2019) migration tasks
2020-02-13 12:30:40 +01:00
Paul Chavard
a3cf7fce3a Remove old (< 2019) migration tasks 2020-02-13 11:42:11 +01:00
Paul Chavard
a66032333b
Merge pull request #4774 from betagouv/add-section-index-again
form: display index of section in header (again)
2020-02-13 11:31:48 +01:00
Pierre de La Morinerie
838133477e form: don't display index if the libelle already starts with a number 2020-02-13 11:21:30 +01:00
Pierre de La Morinerie
f8ed7ec051 form: display index of section in header 2020-02-13 11:18:46 +01:00
Paul Chavard
f2b7200edc
Merge pull request #4744 from betagouv/add-sign-in-link-to-account-already-exists-email
Usager : dans l'email « Le compte existe déjà », ajoute un lien vers la démarche
2020-02-12 15:09:09 +01:00
Pierre de La Morinerie
a8444927ab specs: fix the sign-up with unconfirmed account test
It was testing the sign-in instead of the sign-up.
2020-02-12 13:24:52 +00:00
Pierre de La Morinerie
e746d90016 mailers: add a link to the procedure when the account already exists 2020-02-12 13:24:52 +00:00
Paul Chavard
95f6d51234
Merge pull request #4765 from betagouv/feat/4379-instructor-email-notif
feat/4379 - Add the possibility to disable weekly email notifications
2020-02-12 14:23:50 +01:00
kara Diaby
0b8a59d5e9 Add the possibility to disable weekly email notifications (instructeur) && rename the column email_notifications_enabled to daily_email_notification_enabled 2020-02-12 13:02:31 +00:00
Pierre de La Morinerie
35b608fb7d
Merge pull request #4770 from betagouv/revert-section-index
Revert "form: add number to section headers" 🚑
2020-02-12 14:00:22 +01:00
Pierre de La Morinerie
e3ba2ed96c Revert "form: add number to section headers"
This reverts commit f42977e40a.
2020-02-12 13:54:44 +01:00
Pierre de La Morinerie
3e1ba4eebc specs: fix test failing because of unspecified types_de_champ order 2020-02-12 13:26:54 +01:00
Pierre de La Morinerie
fd274a8a14
Merge pull request #4708 from betagouv/bandeau-pj-manquantes
Affiche une note sur les dossiers dont des pièces jointes ont été perdues
2020-02-12 12:03:31 +01:00
Pierre de La Morinerie
66112eb14e dossier: add a link to the incident post-mortem 2020-02-12 11:49:33 +01:00
Pierre de La Morinerie
d4574bade1 dossier: add a custom message for the dossier owner 2020-02-12 11:49:33 +01:00
Pierre de La Morinerie
7ba76c6658 dossier: add a notice when some attachments of the dossier were lost
On the 22/01/2020, a technical error on the demarches-simplifees.fr
instance made us delete some files attached to some dossiers.

This PR adds a warning when browsing a dossier containing attachments
that were deleted.
2020-02-12 11:49:33 +01:00
Pierre de La Morinerie
7c60b9dfa8
Merge pull request #4748 from tchak/avis-invitations-fix
Instructeur : corrige le fonctionnement de la case "Inviter les experts aussi sur les dossiers liés"
2020-02-11 18:34:38 +01:00
Paul Chavard
7afeae1408 remove dossier.linked_dossiers 2020-02-11 17:49:22 +01:00
Paul Chavard
0d55743d9f linked_dossiers_for should include dossiers_from_avis 2020-02-11 17:38:58 +01:00
Pierre de La Morinerie
5d0a8b567f specs: improve description of Avis creation test cases 2020-02-11 17:38:58 +01:00
Paul Chavard
f0ea96772d Only invite experts to dossiers instructeur have access to 2020-02-11 17:38:57 +01:00
Paul Chavard
8a514e0713 Fix avis linked dossiers invitation checkbox
fix #4678
2020-02-11 17:38:57 +01:00
Pierre de La Morinerie
d5fcaf7073
Merge pull request #4762 from betagouv/form-stylesheet
Usager : amélioration de la clarté et de l'accessibilité des formulaires
2020-02-11 17:38:26 +01:00
Pierre de La Morinerie
c517d22369 form: avoid outlining disabled controls on click 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
1531b69f5a form: make the radio button larger and hoverable
As a bonus, the implementation of vertical radio buttons is now closer
from the default horizontal one.
2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
f42977e40a form: add number to section headers 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
2b47013798 form: improve the appearance of the repetitions header 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
005ff4bed5 form: fix the bottom margin of the siret element 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
8693ca3e3a form: increase the font size of labels and notices 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
00b1eaff41 form: increase spacing between fields 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
58b4c2e53b form: add a $default-fields-spacer constant 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
2532091302 form: improve wording of repetition blocks controls 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
469f4dc6f7 form: remove dead code 2020-02-11 17:36:50 +01:00
Pierre de La Morinerie
44e3a70db5 form: increase section title visibility 2020-02-11 17:36:50 +01:00