Commit graph

14503 commits

Author SHA1 Message Date
Paul Chavard
a7331dd30d
Merge pull request #5925 from tchak/fix-constant
fix constant
2021-02-19 11:31:44 +01:00
Paul Chavard
92158cecb6 fix constant 2021-02-19 11:29:08 +01:00
Paul Chavard
5377a408f6
Merge pull request #5924 from betagouv/main
2021-02-19-01
2021-02-19 11:19:19 +01:00
Paul Chavard
1745f58496
Merge pull request #5923 from tchak/improuve-multi-select
Improuve multi select
2021-02-19 11:15:02 +01:00
Paul Chavard
24f71ccc1a Improuve multi select
In multi select with acceptNewValues option alway keep the new value as the first item in the list to make it easier to add it
2021-02-19 10:53:16 +01:00
Paul Chavard
20f4ca8512
Merge pull request #5838 from tchak/structured-adresse
Structured address
2021-02-17 19:43:18 +01:00
Paul Chavard
a0b53d7d80 Expose structured address on the API
fix #4290
2021-02-17 19:10:16 +01:00
Paul Chavard
75392272fb Add champ address model 2021-02-17 19:10:16 +01:00
Paul Chavard
228a83f8a5 Add api address external data fetch 2021-02-17 19:10:16 +01:00
Paul Chavard
7eee14feef Add ChampFetchExternalDataJob 2021-02-17 19:10:16 +01:00
Paul Chavard
c343fd432e
Merge pull request #5916 from betagouv/5911-allonge-conservation-dossiers
5911 allonge conservation dossiers
2021-02-17 18:02:15 +01:00
krichtof
7cdf71f1c5
Merge pull request #5918 from betagouv/main
2021-02-17-01
2021-02-17 17:08:06 +01:00
Christophe Robillard
ac56581ccf fix indent 2021-02-17 16:41:57 +01:00
Christophe Robillard
d55f156aec admin: durée de conservation des données hors ds n'est plus demandée
La colonne est tout de même gardée en base
2021-02-17 16:41:57 +01:00
Christophe Robillard
2be4bcf22d admin: peut modifier durée de conservation d'une procédure publiée 2021-02-17 16:41:57 +01:00
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