Commit graph

7897 commits

Author SHA1 Message Date
Pierre de La Morinerie
54041b60fa
Remove possibility to use node 6.* (#4117)
NodeJS v8 est maintenant requis pour faire tourner l'application
2019-07-18 11:20:31 +02:00
clemkeirua
f65dccca15 remove possibility to use node 6.* 2019-07-18 09:22:01 +02:00
Pierre de La Morinerie
9d9509393d
#3966 - add 'monavis' inside the procedure and for users (#4106)
Permet d'insérer un lien vers MonAvis dans les démarches
2019-07-17 18:13:21 +02:00
clemkeirua
ee8a1092e4 extracted MonAvisEmbedValidator 2019-07-17 18:04:32 +02:00
clemkeirua
91d10c0cf7 added navbar for mon avis 2019-07-17 18:04:32 +02:00
clemkeirua
92ec627425 update brakeman configuration 2019-07-17 18:04:32 +02:00
clemkeirua
6d43465ee5 renammed into monavis_embed 2019-07-17 18:04:32 +02:00
clemkeirua
c8f9e3b5f8 automated test 2019-07-17 18:04:32 +02:00
clemkeirua
8d2c5cfa14 validation par regex 2019-07-17 18:04:32 +02:00
clemkeirua
d8b63cd4c9 added 'monavis' inside the procedure and for users 2019-07-17 18:04:32 +02:00
Pierre de La Morinerie
7946aa5de2
[Emails] Améliore le titre des emails transactionnels (#4111)
Usager : améliore le titre des emails transactionnels
2019-07-17 16:44:56 +02:00
Pierre de La Morinerie
727702ad4b emails: mention the procedure name in the email title 2019-07-17 15:01:19 +02:00
Pierre de La Morinerie
71dfb38787 emails: improve typography of titles 2019-07-17 15:01:19 +02:00
Pierre de La Morinerie
bc42c90fe5 emails: make signature more compact 2019-07-17 14:55:55 +02:00
Pierre de La Morinerie
bd39eb3453 emails: remove dead code 2019-07-17 14:55:55 +02:00
Pierre de La Morinerie
44574b2b93 mailer_preview: improve data used for generating previews 2019-07-17 14:55:55 +02:00
Pierre de La Morinerie
5bafda6619 factories: fix unmatching MIME type in fixtures 2019-07-17 14:43:41 +02:00
Pierre de La Morinerie
9b68bb344e
#4103 - Ajout du tag 'lien document justificatif' (#4104)
Administrateur : ajout d'une balise `--lien document justificatif--`
2019-07-17 12:03:00 +02:00
clemkeirua
7eeddc0b79 using a shared example + scoped to state TERMINE 2019-07-17 11:53:16 +02:00
clemkeirua
b8fa567c81 ajout du tag 'lien document justificatif' 2019-07-17 11:53:16 +02:00
Pierre de La Morinerie
5bf622694a
Affiche un bouton "Répondre" dans la Messagerie (#4105)
Usager : affiche un bouton "Répondre" dans la Messagerie
2019-07-17 11:52:38 +02:00
Pierre de La Morinerie
d86030fb76 dossier: add a reply icon near to "Reply to message" button 2019-07-17 11:43:21 +02:00
Pierre de La Morinerie
b4fe6e236e messagerie: improve the textarea placeholder 2019-07-17 11:43:21 +02:00
Pierre de La Morinerie
92dd91a31b messagerie: add a reply button next to the latest message 2019-07-17 11:43:21 +02:00
Pierre de La Morinerie
09efd06dff forms: add a focus indicator to focused fields 2019-07-17 11:43:21 +02:00
Pierre de La Morinerie
a0a1069a68
[Migration PJ] Re-tente de changer le type MIME en cas d'erreur (#4107)
Migration des pièces jointes : re-tente de changer le type MIME en cas d'erreur
2019-07-17 11:39:44 +02:00
Pierre de La Morinerie
80efe27ff2 pj migration: retry when changing the content type fails 2019-07-16 17:51:29 +02:00
Pierre de La Morinerie
fa2d6f7b8b
[Refactor] Unify dossier deletion between manager and user (#4099)
Refactor de la suppression de dossier (#4099)
2019-07-16 16:47:23 +02:00
Pierre de La Morinerie
a8354bd103 dossiers: unify deletion of dossiers between manager and user
The code paths for deleting a dossier were different, depending on
whether the dossier was deleted by the user, or from the Manager.

This commit unifies the two code paths into one.

This has the effect of:

- An operation log is now recorded when an user deletes its own dossier;
- Gestionnaires are now notified even when the dossier is deleted from
  the Manager;
- The `support:delete_user_account` task now requires the email address
  of the author.
2019-07-16 16:22:20 +02:00
Keirua
4016b27002
Merge pull request #3673 from Keirua/feat/479-telecharger-export-pj
[#479] Ajout d'un bouton pour télécharger toutes les pièces d'un dossier
2019-07-16 09:30:35 +02:00
clemkeirua
25f81f1d3c download a dossier as zip with all attachments 2019-07-16 09:11:25 +02:00
Pierre de La Morinerie
5a70ae7a8f
omniauth: protect against CSRF (#4102)
Configure OmniAuth pour éviter de potentielles CSRF
2019-07-15 18:16:42 +02:00
Pierre de La Morinerie
76335511c8 omniauth: protect against CSRF
See https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284
2019-07-15 18:16:00 +02:00
Pierre de La Morinerie
329bfd5f4d
Merge pull request #4100 from betagouv/rename-submit
Usager : l'action « Soumettre le dossier » est renommée en « Déposer le dossier »
2019-07-15 17:19:51 +02:00
Pierre de La Morinerie
36eca3d059 dossier: rename the "Submit" action 2019-07-15 17:18:28 +02:00
Pierre de La Morinerie
0d747677bc
build(deps): bump lodash from 4.17.11 to 4.17.14 (#4101)
Mise à jour de lodash vers la version 4.17.14
2019-07-15 16:35:51 +02:00
dependabot[bot]
85027a8f1e
build(deps): bump lodash from 4.17.11 to 4.17.14
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-15 14:24:59 +00:00
Pierre de La Morinerie
862b08427b status_overview: remove extraneous line 2019-07-15 15:55:25 +02:00
Pierre de La Morinerie
d263a73a62
Update _status_overview.html.haml (#4090)
Usager : clarifie les explications des différents états du dossier
2019-07-15 15:52:05 +02:00
Pierre de La Morinerie
d9c01c0af6 status_overview: improve wording 2019-07-15 15:45:16 +02:00
Benjamin-Doberset
8ea8e52431 Update _status_overview.html.haml 2019-07-15 15:45:16 +02:00
Pierre de La Morinerie
bffec461f3
Merge pull request #4088 from betagouv/Benjamin-Doberset-patch-1
Usager : clarifie le sens du délai de traitement estimé
2019-07-15 15:40:38 +02:00
Pierre de La Morinerie
077082c381 dossier: improve estimated delay wording 2019-07-15 15:27:22 +02:00
Benjamin-Doberset
77d825ae63 Update _estimated_delay.html.haml 2019-07-15 15:27:22 +02:00
Pierre de La Morinerie
115a123555
Fix 4052 admin contextual help (#4094)
Administrateur : le bouton "Publier" n'est plus masqué par l'aide contextuelle
2019-07-15 12:25:12 +02:00
Chaïb Martinez
5cb6ba2f3b Fix tests
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-15 12:10:56 +02:00
Chaïb Martinez
3f9f67eb78 admin: fix the "Valider" button being hidden by Crisp
Fix #4021

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-15 12:10:56 +02:00
Chaïb Martinez
d968e7e6bd Add some admin usage info for contextual help with crisp
Fix #4052

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-15 12:10:56 +02:00
Chaïb Martinez
04e204c740 Minor text fix
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-15 12:10:56 +02:00
Chaïb Martinez
535d032b73 Send URL page view to Crisp to trigger contextual help
Fix #4052

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-15 12:10:56 +02:00