Commit graph

9821 commits

Author SHA1 Message Date
Keirua
6ccb09a9e3
Merge pull request #5171 from betagouv/fix-expired-dossiers-deletion
dossiers expiration: fix the mailer arguments
2020-05-18 16:39:57 +02:00
Pierre de La Morinerie
9f1407b6d7 expiration: fix the mailer arguments
The mailers expect serializable arguments, but were given
ActiveRecord::Relation objects instead. This made the mailers throw an
exception.

But how was that possible ? This code is tested, and the tests were
green.

Well, the specs spy on the mailer implementation, in order to check that
the mailers methods were properly called. Fair enough.

But if the specs mock the mailer code (instead of calling the original
implementation), we may not notice that the original implementation
rejects our method parameters.

Here this is the case: once we actually call the original implementation
the tests start to fail, because some arguments are not converted from
an ActiveRecord::Relation to a serializable array.

This is fixed by ensuring that the mailer code is executed (and doesn't
throw an exception).
2020-05-18 16:24:08 +02:00
krichtof
1b07631336
Merge pull request #5133 from betagouv/5130-indiquer-pieces-recuperees
informe l'usager des attestations récupérées
2020-05-18 16:10:40 +02:00
Christophe Robillard
d4bb5d1f56 indique à l'usager les pièces ajoutées au dossier
- attestation sociale
- attestation fiscale
- bilans bdf
2020-05-18 16:01:13 +02:00
Keirua
6cf2ca7cfb
Merge pull request #5143 from betagouv/remove-birthday-column
Export tableur : suppression de la colonne "Date de naissance"
2020-05-18 15:27:52 +02:00
Pierre de La Morinerie
b63fa0e6b8 dossier: remove "Birthdate" column from export 2020-05-18 13:14:28 +00:00
Pierre de La Morinerie
00adb006b4 specs: improve ProcedureExportService spec 2020-05-18 13:14:28 +00:00
Keirua
99ece20cb2
Merge pull request #5145 from betagouv/5140-anonymisation-instructeurs
#5140 - Anonymisation de l'instructeur dans la messagerie
2020-05-18 15:13:47 +02:00
clemkeirua
77101208a4 Anonymisation de l'instructeur dans la messagerie 2020-05-18 12:56:30 +00:00
Keirua
23316b6e4e
Merge pull request #5167 from betagouv/export-brouillons
Ajout d'un bouton d'export des mails des demandeurs
2020-05-18 14:55:47 +02:00
clemkeirua
8542fd9f47 unique emails + remove n+1 2020-05-18 12:46:42 +00:00
clemkeirua
22a518c921 ajout d'un bouton d'export des mails des demandeurs 2020-05-18 12:46:42 +00:00
Pierre de La Morinerie
c576b457ff
Merge pull request #5166 from betagouv/better-alt-procedure
Usager : le service administratif de la démarche est maintenant accessible aux lecteurs d'écrans
2020-05-18 14:33:16 +02:00
clemkeirua
9454017dd9 afficher le nom du service en alt si possible 2020-05-18 14:17:21 +02:00
Keirua
a5be836a55
Merge pull request #5160 from betagouv/rollback-all-the-things
Tasks : ajout d'une tâche pour déclencher un rollback
2020-05-18 13:32:57 +02:00
Pierre de La Morinerie
77ab7d1462 tasks: add a rollback task 2020-05-18 12:59:12 +02:00
Pierre de La Morinerie
0738c6ff18
Merge pull request #5159 from betagouv/file-upload-really-mute-errors 2020-05-18 11:57:37 +02:00
Pierre de La Morinerie
833d7a3b59 javascript: ignore most common upload errors also in standard uploads
In #5149, we ignored most common upload errors, but only for
auto-uploads.

This PR ignores those errors also for standard uploads.
2020-05-18 11:50:29 +02:00
Kara Diaby
2762bd8a80
Merge pull request #5163 from betagouv/fix-carto-validation-bug
fix bug on mandatory carto (new map editor)
2020-05-15 17:20:50 +02:00
kara Diaby
db5fd9bd0f fix bug on mandatory carto champ for the new map editor 2020-05-15 13:44:50 +02:00
Keirua
902621a8d4
Merge pull request #5161 from betagouv/remove-auto-upload-feature-flag
app: remove the feature flag for pieces justificatives auto-upload
2020-05-14 21:58:22 +02:00
Pierre de La Morinerie
93bb5283ff app: remove the feature flag for pieces justificatives auto-upload
The feature works as intended: we can remove the feature flag.
2020-05-14 17:39:07 +02:00
Pierre de La Morinerie
e3f4547841
Merge pull request #4942 from betagouv/4935-update-logo
Mise à jour des logos, pour conformité avec la Charte Graphique de l’État
2020-05-14 17:07:28 +02:00
clemkeirua
a49581cbe9 replaced marianne logo for homepage 2020-05-14 14:08:05 +00:00
clemkeirua
46940ec2a7 compression du nouveau logo via svgo 2020-05-14 14:08:05 +00:00
clemkeirua
1702903ffd ajout d'une alternative sur la marianne en header 2020-05-14 14:08:05 +00:00
clemkeirua
c5d2b4abd8 new logo in footer on home 2020-05-14 14:08:05 +00:00
clemkeirua
3c751ac696 small logo for procedures 2020-05-14 14:08:05 +00:00
clemkeirua
f6ef7944c1 add new logo 2020-05-14 14:08:05 +00:00
Pierre de La Morinerie
42aa312716
Merge pull request #5158 from tchak/update-graphql-gem
GraphQL : correction d'un problème lors de l'introspection de certaines requêtes
2020-05-14 15:47:20 +02:00
Paul Chavard
b1fbc785ac update graphql gem 2020-05-14 14:39:25 +02:00
Paul Chavard
ad6f5faf9b
Merge pull request #5155 from tchak/fix-apercu-carto
Fix map apercu
2020-05-14 14:39:05 +02:00
Paul Chavard
d44df9cc2a Fix map apercu 2020-05-14 14:28:54 +02:00
Pierre de La Morinerie
e2d72724d4
Merge pull request #5149 from betagouv/file-upload-read-message
Upload des fichiers : seuls les messages d'erreurs inattendus sont enregistrés dans Sentry
2020-05-14 14:17:19 +02:00
Pierre de La Morinerie
bbc0aa5465 javascript: remove debug code for FileReader errors 2020-05-14 13:29:54 +02:00
Pierre de La Morinerie
86357b65f0 javascript: ignore most common upload errors 2020-05-14 13:29:54 +02:00
Pierre de La Morinerie
4b288038d3 javascript: human-readable message for reading errors during upload 2020-05-14 13:29:54 +02:00
Pierre de La Morinerie
487b7a8c8c
Merge pull request #5152 from tchak/update-js
Javascript : mise à jour des dépendances à nouveau (sans casser IE 11)
2020-05-14 13:29:45 +02:00
Paul Chavard
03075afa5b Update javascript dependencies 2020-05-14 13:21:42 +02:00
Pierre de La Morinerie
f1ebabf20a
Merge pull request #5151 from betagouv/5150-bigger-zips
Instructeur : augmente la limite de téléchargement du ZIP de pièces jointes d'un dossier de 50 Mo à 100 Mo
2020-05-14 13:05:43 +02:00
clemkeirua
236fd0291b bump zip sizes from 50 to 100 mb 2020-05-14 10:37:01 +00:00
Pierre de La Morinerie
c01b69214e
Merge pull request #5144 from betagouv/add-piece-justificative-filename-to-export
Instructeur : le nom de fichier des pièces justificatives est maintenant indiqué dans les exports tableur
2020-05-14 12:34:35 +02:00
Pierre de La Morinerie
190548844a dossiers: add piece justificative filename to spreadsheet export 2020-05-14 10:18:10 +00:00
Paul Chavard
8351f86676
Merge pull request #5147 from tchak/fix-js
Rollback js update
2020-05-13 18:37:39 +02:00
Paul Chavard
ff92658780 Rollback js update 2020-05-13 18:28:17 +02:00
Keirua
f5f6844bda
Merge pull request #5131 from betagouv/4965-clarify-archivage
#4965- Clarification de l'explication du l'écran des dossiers archivés
2020-05-13 16:53:21 +02:00
Keirua
a869a04e1e Mise à jour de l'URL de doc sur l'archivage
Co-authored-by: Pierre de La Morinerie <pierre.de_la_morinerie@beta.gouv.fr>
2020-05-13 16:45:27 +02:00
clemkeirua
84888be255 clarification de l'archivage/suppression 2020-05-13 16:45:27 +02:00
Paul Chavard
16c32031e1
Merge pull request #5105 from tchak/cleanup-legacy-carto
Remove legacy carto code
2020-05-13 12:25:31 +02:00
Paul Chavard
f0148184ca Remove legacy carto code 2020-05-13 12:17:04 +02:00