kara Diaby
d8ae089e93
[Carto] Improve files import UX + import KML files
2020-05-20 14:17:27 +02:00
krichtof
7c6d870925
Merge pull request #5176 from betagouv/5113-async-for-api-ent-calls
...
Passe la récupération des données API Entreprise en asynchrone
2020-05-20 11:22:12 +02:00
Christophe Robillard
8c66b2cab1
rescue ResourceNotFound and BadFormatRequest errors
...
we don't have to retry this kind of errors, but just to send it to
sentry
2020-05-20 11:09:54 +02:00
Christophe Robillard
d92a0ba8f3
raise BadFormatRequest error
...
L'intention est de distinguer ce type d'erreur avec les erreurs serveur
5xx.
Lorsque l'api est appelé par un Job, les erreurs serveur seront retry, car éphémères.
Alors que les erreurs de type BadFormatRequest ou ResourceNotFound n'ont
pas être retried.
2020-05-20 11:09:54 +02:00
Christophe Robillard
f40123fee1
display only etablissement infos
...
all the other infos are not yet available because the jobs which
retrieve it are performed later
2020-05-20 11:09:54 +02:00
Christophe Robillard
3b46594e60
precise http error code for api calls
2020-05-20 11:09:54 +02:00
Christophe Robillard
013e78ce4e
fix creating dossier feature sprec
2020-05-20 11:09:54 +02:00
Christophe Robillard
637bde7326
update siret_controller when finding etablissement
...
now, `ApiEntrepriseService` does'nt return a hash anymore but an
etablissement which is already persisted.
2020-05-20 11:09:54 +02:00
Christophe Robillard
eebfb5ee5b
update dossiers_controller when updating siret
...
now, `ApiEntrepriseService` does'nt return a hash anymore but an
etablissement which is already persisted.
2020-05-20 11:09:54 +02:00
Christophe Robillard
ba5fa9aa4b
update ApiEntrepriseService
...
There is now the `create_etablissement` method which
create etablissement with EtablissementAdapter
and enqueue api_entreprise jobs to retrieve
all informations we can get based on SIRET
2020-05-20 11:09:54 +02:00
Christophe Robillard
f4ebb5d107
create api_entreprise jobs
2020-05-20 11:09:54 +02:00
Christophe Robillard
e3ee423197
call api_entreprise adapters with siret
2020-05-20 11:09:54 +02:00
Pierre de La Morinerie
f7201dd17b
Merge pull request #5177 from betagouv/fix-search-input
2020-05-19 16:03:50 +02:00
kara Diaby
c37b32ac94
fix the search input addresses return box bug [Carto]
2020-05-19 15:34:48 +02:00
Pierre de La Morinerie
bf7c33949c
Merge pull request #5170 from betagouv/fix-faq-urls
...
Usager : correction du lien vers l'aide pour l'enregistrement automatique des brouillons
2020-05-18 16:53:50 +02:00
Pierre de La Morinerie
c9820adbc4
urls: fix link to autosave FAQ article
2020-05-18 16:53:19 +02:00
Pierre de La Morinerie
6eca93faab
urls: fix link to admin FAQ category
2020-05-18 16:53:19 +02:00
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