Commit graph

13270 commits

Author SHA1 Message Date
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
40627143f4
Merge pull request #5900 from betagouv/main 2021-02-11 15:09:06 +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
c23669b603
Merge pull request #5898 from betagouv/dev 2021-02-11 12:03:40 +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
106814be3c
Merge pull request #5895 from betagouv/dev
2021-02-10-03
2021-02-10 18:05:19 +01:00
Paul Chavard
86a3ecb0be
Merge pull request #5894 from tchak/update-sentry
Update sentry
2021-02-10 18:04:02 +01:00
Paul Chavard
0697e50b7c lower sentry sampling to 1% 2021-02-10 17:52:18 +01:00
Paul Chavard
753d0478ef update sentry gems 2021-02-10 17:52:04 +01:00
Paul Chavard
2b78b40249
Merge pull request #5893 from betagouv/dev
2021-02-10-02
2021-02-10 17:22:34 +01:00
Paul Chavard
ef9fe9e53a
Merge pull request #5892 from tchak/fix-print-css
fix print css
2021-02-10 17:20:14 +01:00
Paul Chavard
434e99bf4f fix print css 2021-02-10 17:10:58 +01:00
Paul Chavard
eba645976d
Merge pull request #5890 from tchak/sentry-tracing
Add sentry traces (20% for now)
2021-02-10 16:22:50 +01:00
Paul Chavard
eac967f84e Add sentry traces (20% for now) 2021-02-10 15:35:21 +01:00
LeSim
3ac4505e50
Merge pull request #5891 from betagouv/dev
2021-02-10-01
2021-02-10 14:27:56 +01:00
LeSim
48bc15a932
Merge pull request #5889 from betagouv/add_throttling_for_api_entreprise
Add throttling for api entreprise
2021-02-10 13:59:08 +01:00
simon lehericey
f7ae974f29 Add throttling for api entreprise 2021-02-10 12:40:14 +01:00
LeSim
b6d8409c9f
Merge pull request #5888 from tchak/fix-unstable-tests
Fix unstable tests
2021-02-09 17:06:55 +01:00
Paul Chavard
00e1d88a75 clean up download helper data before test run 2021-02-09 15:13:13 +01:00
Paul Chavard
c04077ca34 fix flaky test by imposing a stable sort order 2021-02-09 15:13:04 +01:00
Paul Chavard
2c089f53dd
Merge pull request #5887 from betagouv/zeitwerk-renaming
Renommage des constantes pour Zeitwerk
2021-02-09 14:57:00 +01:00
Pierre de La Morinerie
0af7188d8c zeitwerk: add inflections 2021-02-09 13:09:10 +01:00