Commit graph

14197 commits

Author SHA1 Message Date
Pierre de La Morinerie
cb739f29f5 js: update netlify-cli
netlify-cli is only used to publish the graphql static documentation,
but was badly outdated, and kept many node-modules from being upgraded.
2021-12-23 13:44:25 +01:00
Pierre de La Morinerie
a11c851c79 Update webpacker to v5.4.3.
By running:

```
bundle update webpacker
rails webpacker:binstubs
yarn upgrade @rails/webpacker --latest
yarn upgrade webpack-dev-server --latest
```
2021-12-23 13:44:25 +01:00
Pierre de La Morinerie
5dbd56db90
Merge pull request #6762 from adullact/i18n-fix-typo 2021-12-23 11:04:07 +01:00
Fabrice Gangler
86a8d33ce7 fix(i18n): correct a typo 2021-12-23 10:56:40 +01:00
Pierre de La Morinerie
06d8ebf9aa
Merge pull request #6760 from betagouv/6618-fix-a11y-support 2021-12-23 10:55:26 +01:00
Christophe Robillard
eda8aacfe4 fix a11y problem for support page
L'interpolation de `support.index.product.answer_html` produisait des balises p vides, ce qui contrevenait au critère 8.9.1 RGAA (https://www.numerique.gouv.fr/publications/rgaa-accessibilite/methode/criteres/#test-8-9-1)
2021-12-23 10:49:52 +01:00
Pierre de La Morinerie
c89af2dfc6
Merge pull request #6764 from betagouv/fix-zone-specs 2021-12-23 10:04:30 +01:00
Christophe Robillard
f9609b0b0b fix zone specs
by reenabling task before the next spec is run
2021-12-23 09:58:31 +01:00
Pierre de La Morinerie
a633f3eb37
Merge pull request #6766 from betagouv/dont-track-external-urls 2021-12-23 09:56:03 +01:00
Pierre de La Morinerie
07230870d3 js: don't track external links
This fixes an issue where, by default, links to private attachments are
reported to Matomo.

This is benign: attachments URLs can be filtered out server-side, and
expire after one hour anyway. But we don't want to ship an insecure
configuration by default.
2021-12-23 09:50:21 +01:00
Paul Chavard
52750f1800
Merge pull request #6768 from tchak/refactor-js-imports
refactor(js): use dynamic import
2021-12-21 18:10:46 +00:00
Paul Chavard
f8d245d2f8 refactor(js): use dynamic import 2021-12-21 17:09:49 +00:00
Paul Chavard
22d01d164e
Merge pull request #6765 from tchak/fix-a11y
Fix a11y
2021-12-21 17:09:36 +00:00
Paul Chavard
26f65e250c fix(a11y): better contrast on placeholders 2021-12-21 16:50:31 +00:00
Paul Chavard
1c6ff09c5b fix(a11y): stop using th in presentation only tables 2021-12-21 16:50:31 +00:00
Paul Chavard
64104f9fc3 fix(a11y): criteria 11.1 2021-12-21 16:50:31 +00:00
Paul Chavard
fc90dca920 fix(a11y): criteria 10.5 2021-12-21 16:50:31 +00:00
Pierre de La Morinerie
9944f1ba2d
Merge pull request #6769 from betagouv/fix-tests 2021-12-21 17:48:43 +01:00
Pierre de La Morinerie
4efc1053f9 specs: make dossiers deletion specs more robust
It would fail when ran on some dates, like "21 Dec. 2021".
2021-12-21 17:20:32 +01:00
krichtof
282b3deb93
Merge pull request #6761 from betagouv/main
2021-12-18-01
2021-12-18 15:13:01 +01:00
Pierre de La Morinerie
7478268b11
Merge pull request #6752 from tchak/fix-delete-procedures 2021-12-16 18:32:47 +01:00
Paul Chavard
e264472481 fix(procedures): fix check to enable procedure delete 2021-12-16 17:28:42 +00:00
krichtof
038572e422
Merge pull request #6755 from betagouv/update-zones-to-proc
Ajoute une tâche manuelle pour renseigner la zone des procédures données en entrée
2021-12-16 17:24:36 +01:00
Christophe Robillard
822c754581 add namespace for populate_zones task 2021-12-16 17:20:06 +01:00
Christophe Robillard
882f92268c update zone to procedures 2021-12-16 17:20:06 +01:00
LeSim
818e0472dd
[API Particulier] (4/4) Support du statut étudiant (#6754)
[API Particulier] (4/4) Support du statut étudiant
2021-12-16 16:49:44 +01:00
François Vantomme
14e0c68266 feat(api particulier): add MESRI field 2021-12-16 16:45:18 +01:00
François Vantomme
f08081abfe fix(api particulier): remove $def key from pole emploi JSON schema 2021-12-16 16:45:18 +01:00
François Vantomme
115adbec70 style(api particulier): harmonize pole emploi resource name constant 2021-12-16 16:45:17 +01:00
François Vantomme
3d81d4b541 feat(api particulier): add MESRI adapter 2021-12-16 16:45:17 +01:00
François Vantomme
5097e78b45 feat(api particulier): add MESRI locales 2021-12-16 16:45:17 +01:00
François Vantomme
66a9109cd7 feat(api particulier): add MESRI support to sources service 2021-12-16 16:45:17 +01:00
François Vantomme
693a95904e style(api particulier): mentionne le statut étudiant dans les locales 2021-12-16 16:45:16 +01:00
mfo
f6bcc48f6e
Merge pull request #6756 from betagouv/fix-date_trunc-queries
Revert "refactor date_trunc queries using groupdate gem"
2021-12-16 15:19:55 +01:00
Martin
b9d13df483 fix(spec): avoid flacky test. 15.days ago is not always on the previous month. eg: this spec failed on 16 of december, stats is still in december 2021-12-16 15:02:17 +01:00
krichtof
e5bf318178
Merge pull request #6749 from betagouv/zonage
rend le zonage disponible derrière le feature flag _zonage_
groupe les options lors de la séléction de la zone
2021-12-15 19:43:41 +01:00
Christophe Robillard
c9c1f206b9 fix zone acronyms 2021-12-15 19:37:32 +01:00
Christophe Robillard
84c648eef0 manual task for populating zones 2021-12-15 19:37:32 +01:00
Christophe Robillard
dec1f787a7 edit zone only if zonage feature enabled 2021-12-15 19:37:32 +01:00
Christophe Robillard
829d644c10 group related options in zone select box 2021-12-15 19:37:32 +01:00
Paul Chavard
99665d8119
Merge pull request #6753 from betagouv/fix_potential_fishing
Corrige un affichage non nettoyé d'email d'un usager
2021-12-15 16:20:04 +01:00
simon lehericey
c7f7855f14 avoid phishing 2021-12-15 13:51:49 +01:00
simon lehericey
0e7a6f5acf remove obsolete route 2021-12-15 13:43:32 +01:00
Pierre de La Morinerie
282642c36f
Merge pull request #6748 from betagouv/better-stats-text 2021-12-14 15:07:26 +01:00
Pierre de La Morinerie
be1ddb59ec views: localize the stats partial
Also rename 'procédure' to 'démarches'.
2021-12-14 15:03:22 +01:00
LeSim
4f80ab6374
Merge pull request #6747 from betagouv/US/fix-flacky-spec
wip - works from time to time (rspec ./spec/services/procedure_archive_service_spec.rb:181)
2021-12-14 14:29:11 +01:00
Martin
5ad0ee8ca9 fix(spec.flacky): try to use extractor in a more conventional way to extract file content 2021-12-14 14:18:59 +01:00
Pierre de La Morinerie
075c42e11e
Merge pull request #6737 from govpf/feature/fix_time_zoned_queries 2021-12-14 08:58:02 +01:00
maatinito
0a31c8bc79 refactor date_trunc queries using groupdate gem 2021-12-14 08:50:11 +01:00
maatinito
573b3d39e2 Fix date_trunc sql queries for timezoned forks 2021-12-14 08:50:09 +01:00