Commit graph

11187 commits

Author SHA1 Message Date
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
c999745a7e
Merge pull request #5148 from betagouv/dev
2020-05-13-02
2020-05-13 18:39:38 +02: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
Pierre de La Morinerie
b28866dbc9
Merge pull request #5142 from betagouv/dev 2020-05-13 11:16:24 +02:00
Pierre de La Morinerie
179a8b83b4
Merge pull request #5123 from betagouv/disable-turbolinks
Désactivation de Turbolinks
2020-05-13 11:10:09 +02:00
Pierre de La Morinerie
51cb3a04a3 app: fix JS redirection with Turbolinks disabled
When Turbolinks is enabled, a `redirect_to` in a `format: :js` request
will emit code that instructs Turbolinks to navigate to the page.
Turbolinks will then load the redirection target as HTML, and display
it.

But with Turbolinks disabled, the same `redirect_to` will instead
respond with a standard `302: redirect`. `Rails.ajax` will interpret
this redirect as "Please perform the same call again to the redirected
URL, in the same format" – and request our redirection target, but
using `format: :js`.


This breaks the "Publish procedure" button. In that case, we really want
the page to be navigated to. Add an explicit JS redirect, so that the
redirection occurs in HTML.
2020-05-13 11:04:16 +02:00
Pierre de La Morinerie
b5f1d97629 app: disable Turbolinks
Fix #5039
2020-05-13 11:04:16 +02:00
Paul Chavard
d287942e6c
Merge pull request #5141 from tchak/fix-un-archive-when-repasser_en_instruction
Unarchive dossier when repasser_en_instruction
2020-05-12 21:57:14 +02:00
Paul Chavard
dfc004d7bb Unarchive dossier when repasser_en_instruction 2020-05-12 19:05:18 +02:00
Paul Chavard
a0370ac507
Merge pull request #5103 from tchak/update-js
Update javascript dependencies
2020-05-12 18:29:30 +02:00
Paul Chavard
43a1ead1cb fix new prettier defaults 2020-05-12 18:18:37 +02:00
Paul Chavard
02b15e10cf Update javascript dependencies 2020-05-12 18:18:36 +02:00
Paul Chavard
400696bd61
Merge pull request #5139 from betagouv/feat/5137
feat/5137 - Adapt style for Map reader (point, line)
2020-05-12 18:06:58 +02:00
kara Diaby
474521c841 Adapt style for Map reader (point, line) 2020-05-12 17:47:28 +02:00
Paul Chavard
1d6b396d8b
Merge pull request #5132 from betagouv/remove-old-design-tooltips
app: remove tooltips on the old design
2020-05-12 10:44:49 +02:00
Pierre de La Morinerie
82cf9e26e1 app: remove tooltips on the old design
- Tooltips are no longer used anywhere
- They cause an error on app initialisation

Fixes "TypeError: dataAttributes.hasOwnProperty is not a function" error
that we've been seeing recently on Sentry.
2020-05-11 17:26:29 +02:00
krichtof
1e720f7587
Merge pull request #5129 from betagouv/dev
2020-05-11-01
2020-05-11 14:54:21 +02:00
krichtof
92efdafe44
Merge pull request #5127 from betagouv/5125-bug-depot-avis
Corrige l'erreur 404 sur les avis. Permet aux experts de consulter les bilans bdf
2020-05-11 13:14:41 +02:00
Christophe Robillard
aab4bb81ee return bilan bdf csv for expert 2020-05-11 13:05:50 +02:00
Christophe Robillard
cad8245540 fix bilans bdf link 2020-05-11 13:05:50 +02:00
Kara Diaby
649925657d
Merge pull request #5126 from betagouv/feat/5066-1
feat/5066 - import GPX file in browser [Carto]
2020-05-11 12:36:12 +02:00
kara Diaby
1cc04092f4 import GPX file in browser [Carto] 2020-05-11 11:36:36 +02:00
Paul Chavard
1cc9cd0330
Merge pull request #5122 from tchak/batch-feature-api
Add carto import api
2020-05-07 14:01:57 +02:00
Paul Chavard
4f2e504cc2 Add carto import api
takes a FeatureCollection to import and returns an augmented champ FeatureCollection
2020-05-07 12:06:42 +02:00
Paul Chavard
f4677a0907
Merge pull request #5121 from betagouv/5089-fix-collision
#5089 - Fix test aléatoire pour DossierSearchService
2020-05-07 11:31:21 +02:00
clemkeirua
36f381a743 fix flacky test 2020-05-07 10:23:28 +02:00
krichtof
e5a6396174
Merge pull request #5120 from betagouv/5119-export-effectifs
add effectifs in instructeur dossier pdf export
2020-05-06 18:13:24 +02:00
Christophe Robillard
5a27629ee9 add effectifs in instructeur dossier pdf export 2020-05-06 18:01:01 +02:00
krichtof
083a33bd23
Merge pull request #5118 from betagouv/5116-expose-attestations
API expose désormais attestationSocialeAttachment et attestationFiscaleAttachment
2020-05-06 17:42:55 +02:00
Christophe Robillard
10a21f9010 expose attestationSocialeAttachment and attestationFiscaleAttachment 2020-05-06 17:25:04 +02:00
Paul Chavard
b7d511a6e2
Merge pull request #5107 from tchak/map-geo-areas-api
Implement atomic operations on MapEditor
2020-05-06 17:13:42 +02:00
Paul Chavard
05e408225b Implement atomic operations on MapEditor 2020-05-06 16:46:14 +02:00
Paul Chavard
16bd8acea5
Merge pull request #5117 from betagouv/dev
2020-05-06-01
2020-05-06 14:52:54 +02:00
krichtof
d3ea20968e
Merge pull request #5115 from betagouv/5111-jeton-apient-ajour
N'appelle pas api-entreprise si jeton expiré
2020-05-06 11:06:13 +02:00
Christophe Robillard
dba77ec0b8 fix spec with not expired token
and use of `ApiEntrepriseToken#roles`
2020-05-06 10:57:45 +02:00
Christophe Robillard
dbf04dd0d8 make api entreprise call only if token not expired 2020-05-06 10:57:45 +02:00
Christophe Robillard
f587e6600a extract class ApiEntrepriseToken
and check if token is expired
2020-05-06 10:57:45 +02:00
Keirua
132cfcb6c3
Merge pull request #5108 from betagouv/improve-pdf
PDF vide - Ajout de descriptions manquantes
2020-05-05 21:01:50 +02:00
clemkeirua
088e08ff55 descriptions sur tous les types de champs 2020-05-05 20:50:39 +02:00
clemkeirua
f8519a6920 ajout des descriptions - cas general 2020-05-05 20:50:39 +02:00
clemkeirua
7065accf64 ajout du descriptif de procedure dans le pdf 2020-05-05 20:50:39 +02:00