Commit graph

8176 commits

Author SHA1 Message Date
Pierre de La Morinerie
75f286a183
Add a triggered message in chat box for new admins 😎 (#4113)
Administrateur : à la première connexion, un message de bienvenue s'affiche dans le chat
2019-07-23 17:17:47 +02:00
Chaïb Martinez
ff395b8c4b Add a triggered message in chat box for new admins 😎
Remove useless text
[fix #4052]

Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-23 17:08:35 +02:00
Keirua
b8ae378a5a
Merge pull request #4132 from Keirua/feat/replace-carto-endpoint
Replacement du endpoint api-carto
2019-07-23 16:21:31 +02:00
clemkeirua
0818331319 changement du endpoint dans les tests 2019-07-23 16:21:15 +02:00
clemkeirua
99421545ab replaced api-carto endpoint 2019-07-23 16:21:15 +02:00
Keirua
a344010677
Merge pull request #4129 from Keirua/feat/delete-admin
Ajout d'un bouton de suppression des admin dans le manager
2019-07-23 16:12:32 +02:00
clemkeirua
af436500fd better button 2019-07-23 16:11:15 +02:00
clemkeirua
f166077f5e ajout d'un bouton de suppression des admin dans le manager 2019-07-23 16:11:15 +02:00
Pierre de La Morinerie
f633e3b774
Refactor mailers directory structure (#4128)
Simplification de la hiérarchie de vue des emails
2019-07-23 16:00:43 +02:00
Pierre de La Morinerie
858b093314 mailers: use the standard view mechanism to render notifications
Instead of rendering a view as a template, consider the view as a normal
view.
2019-07-23 14:53:50 +02:00
Pierre de La Morinerie
5bbcd600fb mailers: extract more of the template to partials
This will allow to re-use these partials in other emails
2019-07-23 14:53:32 +02:00
Pierre de La Morinerie
45abb6ebc2 mailers: move default templates to a specific subdirectory
It makes more understandable that they are templates (and not views
rendered directly by Rails).
2019-07-22 16:22:20 +02:00
Pierre de La Morinerie
f32357f527 specs: avoid weird hacks to test NotificationMailer private method
- testing private methods is a code smell
- this setup is especially brittle
- we test the equivalent public method right below
2019-07-22 16:22:20 +02:00
Pierre de La Morinerie
cb0c1bfff3
Amélioration de formulations à la page "Suivi" (#4126)
Amélioration de formulation sur la page "Suivi"
2019-07-22 12:03:25 +02:00
Pierre de La Morinerie
dbe03d4f74 suivi: remove link to stats dashboard
The dashboard is currently private–and it currently contains sensitive
informations that are hard to filter out.
2019-07-22 11:49:09 +02:00
Pierre de La Morinerie
af6172d0e8 suivi: explain how to disable tracking 2019-07-22 11:48:28 +02:00
Keirua
757dc4e3b2
Merge pull request #4121 from Keirua/fix/ameliorations-cosmetiques-monavis
Fix/ameliorations cosmetiques monavis
2019-07-22 10:36:49 +02:00
clemkeirua
50ddf723b0 garde le bandeau bleu de navigation après MAJ 2019-07-22 10:27:33 +02:00
clemkeirua
2e107babfb meilleures marges monavis 2019-07-18 17:39:06 +02:00
Keirua
bdd716b2db
Merge pull request #4118 from Keirua/feat/message-zip-50mb+
Ajout d'un message lorsque le dossier fait plus de 50Mo
2019-07-18 17:20:09 +02:00
clemkeirua
d62740c198 extraction de la taille max des fichiers dans une constante 2019-07-18 17:19:39 +02:00
clemkeirua
f7842fa4bd ajout d'un message lorsque le dossier fait plus de 50Mo 2019-07-18 16:39:59 +02:00
Pierre de La Morinerie
d6b767a82d
[Emails] Améliore les emails de nouveau brouillon et de nouveau… (#4112)
Usager : améliore les emails de nouveau brouillon et de nouveau message
2019-07-18 12:45:29 +02:00
Pierre de La Morinerie
3c0ba5e698 emails: improve wording of the messagerie nudge 2019-07-18 12:38:13 +02:00
Pierre de La Morinerie
f88d7c28fa emails: add a "Read message" button to the new answer email 2019-07-18 12:38:13 +02:00
Pierre de La Morinerie
630ae06542 emails: sign the new answer email as the administration 2019-07-18 12:38:13 +02:00
Pierre de La Morinerie
8b80c48679 emails: use the notification template for more messages
This allow to display the procedure logo and contact footer
at the bottom of these emails.
2019-07-18 12:38:13 +02:00
Pierre de La Morinerie
b157d860d2 emails: adjust notification footer for dossiers without messagerie 2019-07-18 12:38:13 +02:00
Pierre de La Morinerie
37c93e634e emails: clarify the notify_new_draft action 2019-07-18 12:38:13 +02:00
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