Commit graph

12057 commits

Author SHA1 Message Date
krichtof
79bcd28065
Merge pull request #5915 from tchak/cleanup-assets
Remove unused paths from assets pipeline
2021-02-17 11:32:55 +01:00
Paul Chavard
7223d77058 Remove unused paths from assets pipeline 2021-02-17 10:16:54 +01:00
krichtof
95718a3b23
Merge pull request #5913 from betagouv/remove-jquery
supprime jquery et select2
2021-02-16 20:20:27 +01:00
Christophe Robillard
b884ecbb4c supprime jquery et select2 2021-02-16 18:36:42 +01:00
Paul Chavard
7ca89f9bb0
Merge pull request #5910 from tchak/update-react
Update react
2021-02-16 18:30:12 +01:00
Paul Chavard
6756db1013 Update react-query 2021-02-16 18:14:11 +01:00
Paul Chavard
bb49f6e151 replace react-use with use-debounce
this is a much lighter dependencie
2021-02-16 18:14:10 +01:00
Paul Chavard
3dae5b5c04 update react 2021-02-16 18:14:10 +01:00
Paul Chavard
df80f5681d remove react-scroll-to-component 2021-02-16 18:14:10 +01:00
Paul Chavard
1c164c4376 Use jsx extension 2021-02-16 18:14:10 +01:00
Pierre de La Morinerie
cddfb1727f
Merge pull request #5909 from betagouv/bundle-update
Mise à jour des dépendances Ruby
2021-02-16 17:51:21 +01:00
Pierre de La Morinerie
98be7e2076 Fix new Rubocop warnings 2021-02-16 16:31:30 +00:00
Pierre de La Morinerie
f41c1f9ff4 gems: update all dependencies 2021-02-16 16:31:30 +00:00
Pierre de La Morinerie
aae452cc67 gems: update chunky_png
And pass it a proper IO object, to avoid "Undefined method
`set_encoding`" errors.
2021-02-16 16:31:30 +00:00
Pierre de La Morinerie
b04afed20e gems: update graphql 2021-02-16 16:31:30 +00:00
krichtof
62a1716067
Merge pull request #5903 from betagouv/4865-multi-select-accessible
rend accessible le multi-select
2021-02-16 17:16:35 +01:00
Paul Chavard
881820888a Use stable cache key for useMemo 2021-02-16 16:47:15 +01:00
Christophe Robillard
8b55f67964 accepte nouvelles valeurs pour ComboMultipleDropdownList 2021-02-16 16:47:15 +01:00
Paul Chavard
06e282b839 supprime select2
select2 n'est plus utilisé. Il est remplacé par
ComboMultipleDropdownList
2021-02-16 16:47:15 +01:00
Christophe Robillard
f9ad9444a9 add style for ComboMultipleDropdownList 2021-02-16 16:47:14 +01:00
Christophe Robillard
7565a25b51 rend accessible l'affectation d'un instructeur
en remplaçant select2 par ComboMultipleDropdownList
2021-02-16 16:47:14 +01:00
Christophe Robillard
3fc7b57b8c rend accessible la personnalisation des filtres instructeurs
en remplaçant select2 par ComboMultipleDropdownList
2021-02-16 16:47:14 +01:00
Christophe Robillard
c855d13994 rend accessible l'envoi de dossier par un instructeur
en remplaçant select2 par ComboMultipleDropdownList
2021-02-16 16:47:14 +01:00
Christophe Robillard
b8097e782a rend accessible la selection multiple usager
en remplaçant select2 par ComboMultipleDropdownList
2021-02-16 16:47:14 +01:00
Christophe Robillard
e048f48241 create ComboMultipleDropdownList component 2021-02-16 16:47:14 +01:00
Paul Chavard
1b43cfb678
Merge pull request #5912 from betagouv/dont-cache-classes-during-tests
Don't cache classes during tests
2021-02-16 16:47:02 +01:00
Pierre de La Morinerie
2ce3149d92 test: don't cache classes during tests
When running several individual tests in succession using Spring,
we get an error message:

> zeitwerk error: reloading is disabled because config.cache_classes is true

Caching classes during tests used to be recommended – but Rails 6
now recommands to reload them:

- Spring takes care of the caching for us,
- It makes zeitwerk happy.

See discussion in 65344f254c

A potential downside used to be that when running system tests using
Capybara, each web request would reload the classes, which invalidated
the model objects of the test case. But it seems to be fixed now.
2021-02-16 15:59:35 +01:00
Pierre de La Morinerie
6ba58baf30
Merge pull request #5904 from betagouv/5812-expert-notifiable
Technique : préparation du mécanisme pour rendre les instructeurs notifiables (ou non) de la décision finale sur un dossier (#5904)
2021-02-16 11:04:48 +01:00
kara Diaby
8310dc48bf tests 2021-02-16 09:46:18 +00:00
kara Diaby
3817210649 layout 2021-02-16 09:46:18 +00:00
kara Diaby
9492b09f85 make and expert notifiable (controller and routes) 2021-02-16 09:46:18 +00:00
kara Diaby
7b4ec486ec change active record request to get expert list 2021-02-16 09:46:18 +00:00
Pierre de La Morinerie
7b79fb2500
Merge pull request #5906 from tchak/adjuste-sentry-sampling
Sentry : ajustement du taux d'échantillonnage des traces
2021-02-16 10:37:19 +01:00
Paul Chavard
cfa80578a7 Adjust sentry sample rate 2021-02-12 11:35:58 +01:00
Paul Chavard
cb2a93a605
Merge pull request #5767 from tchak/graphql-modifier-annotation-privee
[GraphQL] modifier annotation
2021-02-11 18:40:54 +01:00
Paul Chavard
9ce07be1ee [GraphQL] modifier annotation 2021-02-11 17:45:14 +01:00
Paul Chavard
e0f7f1f20c Do not hide graphql controller errors in test env 2021-02-11 17:45:14 +01:00
Pierre de La Morinerie
6bc6fdf734
Merge pull request #5902 from betagouv/update-sentry-workflow
CI : mise à jour de l'action Github utilisée pour publier les releases sur Sentry
2021-02-11 17:29:28 +01:00
Pierre de La Morinerie
485c496b76 ci: update Github Action used to publish Sentry versions
Attempts to fix the Sentry action failing after a deploy.
2021-02-11 16:07:17 +00:00
Pierre de La Morinerie
e5a2fc8511
Merge pull request #5901 from betagouv/remove-deploy-notes-from-readme
README : mise à jour des informations techniques sur le déploiement de l'application
2021-02-11 17:06:35 +01:00
Pierre de La Morinerie
2ddaa23290 README: update deployment informations 2021-02-11 15:48:33 +01:00
Pierre de La Morinerie
3530f4ef6a
Merge pull request #5899 from betagouv/zeitwerk
Utilisation de zeitwerk, l'auto-loader de Rails 6 (#5887, #5899)
2021-02-11 12:57:15 +01:00
Pierre de La Morinerie
211ddeda45 config: enable zeitwerk
Check that everything works using
bin/rails zeitwerk:check
2021-02-11 12:30:43 +01:00
Pierre de La Morinerie
819325c761 zeitwerk: move our Array extension to initializers/core_ext 2021-02-11 12:30:43 +01:00
Pierre de La Morinerie
465e3576c6
Merge pull request #5897 from betagouv/fix-super-admin-otp
SuperAdmin : correction de la génération initiale du code OTP (#5897)
2021-02-11 11:32:57 +01:00
Pierre de La Morinerie
12cd996af9 super_admin: fix OTP generation 2021-02-11 11:14:14 +01:00
krichtof
ed8f0d4634
Merge pull request #5875 from betagouv/5867-fc-only-4-user
5867-authorize-france-connect-only-for-user
2021-02-10 19:56:54 +01:00
Christophe Robillard
966ee33529 ignore when FranceConnect calls callback 2 times 2021-02-10 18:13:47 +01:00
Christophe Robillard
a288a13805 disable france connect authentication for admin and instructeurs 2021-02-10 18:13:47 +01:00
Paul Chavard
86a3ecb0be
Merge pull request #5894 from tchak/update-sentry
Update sentry
2021-02-10 18:04:02 +01:00