Commit graph

12262 commits

Author SHA1 Message Date
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
ee6ec9a4f5
Merge pull request #5165 from betagouv/dev
2020-05-15-01
2020-05-15 17:41:49 +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
5317e219a4
Merge pull request #5156 from betagouv/dev 2020-05-14 14:24:01 +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
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