Commit graph

10070 commits

Author SHA1 Message Date
Christophe Robillard
bb61500f9b recherche un administrateur par email dans manager 2020-02-19 15:17:36 +01:00
Christophe Robillard
ba3d2f1b9f refactor 2020-02-19 15:17:36 +01:00
Christophe Robillard
32d1ebe565 add administrateur from manager 2020-02-19 15:17:36 +01:00
Paul Chavard
51f7b41ab4
Merge pull request #4800 from tchak/remove-unused-mailers
Remove notify_unhide_to_user and notify_undelete_to_user mailers
2020-02-19 11:48:10 +01:00
Paul Chavard
e931c0800d Remove notify_unhide_to_user and notify_undelete_to_user mailers 2020-02-18 17:56:52 +01:00
Paul Chavard
fc2d81bc47
Merge pull request #4776 from tchak/add_dossier_en_construction_deletion_mailers
Add new dossier mailers for deletion operations
2020-02-18 17:51:53 +01:00
Paul Chavard
318baf316e Add notify_en_construction_near_deletion mailer 2020-02-18 17:18:14 +01:00
Paul Chavard
8c77d91e9f Add notify_automatic_deletion_to_administration mailer 2020-02-18 17:18:06 +01:00
Paul Chavard
4e116f06a6 Add notify_automatic_deletion_to_user mailer 2020-02-18 17:15:32 +01:00
Kara Diaby
2627d602ca
Merge pull request #4799 from betagouv/fix/4501-instructors-tab-thousand-separator
Add thousand separator on tabs instructors general view
2020-02-18 15:42:42 +01:00
kara Diaby
d8223bafa8 Add thousand separator on tabs instructors general view 2020-02-18 15:33:57 +01:00
Pierre de La Morinerie
78671019d0
Merge pull request #4787 from betagouv/fix-flaky-experts-feature-spec
Tests : corrige une erreur aléatoire dans les tests automatisés des Experts
2020-02-18 13:29:52 +01:00
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