Commit graph

18509 commits

Author SHA1 Message Date
Pierre de La Morinerie
b466fa7878 spec: ensure checkbox is visible before clicking it
There's a random failure in this spec, where the CI triggers this error:

> Failure/Error: check('checkbox')
>     
>     Selenium::WebDriver::Error::ElementClickInterceptedError:
>       element click intercepted: Element <input required="required" type="checkbox" value="on" name="dossier[champs_attributes][7][value]" id="dossier_champs_attributes_7_value"> is not clickable at point (205, 892). Other element would receive the click: <div class="send-dossier-actions-bar">...</div>

That's because the checkbox is partially overlapped by the sticky
action bar at the bottom of the screen – but only _some of the time_.

This commit attempts to fix the issue by manually scrolling the checkbox
at the center of the screen before clicking it.
2021-10-01 00:33:57 +02:00
Pierre de La Morinerie
43aec7daeb
Merge pull request #6474 from betagouv/update-webpacker 2021-09-30 17:15:00 +02:00
Pierre de La Morinerie
2ab58f4950 Cleanup yarn-related gitignore rules 2021-09-30 17:05:26 +02:00
Pierre de La Morinerie
910c7303d8 ci: use --frozen-lockfile instead of --pure-lockfile
Unlike `--pure-lockfile`, `--frozen-lockfile` will fail if the lockfile
needs to be updated.
2021-09-30 17:05:26 +02:00
Pierre de La Morinerie
f277731b3d app: upgrade webpacker by running rails webpacker:install 2021-09-30 17:05:26 +02:00
Pierre de La Morinerie
275eb389d0 gems: update webpacker to 5.4.3 2021-09-30 17:05:26 +02:00
Pierre de La Morinerie
11269df027
Merge pull request #6508 from betagouv/main 2021-09-30 16:54:37 +02:00
Pierre de La Morinerie
07481d1093
Merge pull request #6506 from betagouv/fix-pays-on-edge
Correction du champ "Pays" sous Edge et Safari (#6506)
2021-09-30 16:46:14 +02:00
Pierre de La Morinerie
b2774ed2f6 js: fix pays API request on older Edge and Safari
The /api/pays API requires user authentication. However older versions
of Edge and Safari don't transmit cookies by default during a
`fetch` request.

Use the `credentials: 'same-origin'` option explicitely to fix the
countries list.
2021-09-30 16:21:24 +02:00
Pierre de La Morinerie
7f588baa83
Merge pull request #6499 from betagouv/add-comment-to-file-size-validation 2021-09-30 16:02:45 +02:00
Pierre de La Morinerie
f01e4ed6ef models: document upstream PR about file size validation 2021-09-30 15:45:30 +02:00
Pierre de La Morinerie
801ff5fc5d
Merge pull request #6505 from betagouv/fix-fault-notification
Corrige une faute d'orthographe dans une notification (#6505)
2021-09-30 15:45:19 +02:00
kara Diaby
7594d8470c Fixe une faute d'orthographe dans une notification 2021-09-30 11:45:24 +02:00
Pierre de La Morinerie
fc20ccac85
Merge pull request #6501 from betagouv/fix-translate-icon-bg-color 2021-09-28 16:52:06 +02:00
Pierre de La Morinerie
2908f2bdba assets: fix background of translate-icon
The background was white, instead of being transparent.
2021-09-28 16:42:04 +02:00
Pierre de La Morinerie
a034b383e5
Merge pull request #6494 from betagouv/dependabot/bundler/nokogiri-1.12.5
Mise à jour de `nokogiri` vers la version 1.12.5
2021-09-28 16:39:11 +02:00
dependabot[bot]
b2f8c24030
build(deps): bump nokogiri from 1.12.4 to 1.12.5
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.4 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.12.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 14:05:09 +00:00
Pierre de La Morinerie
d5fad5c76e
Merge pull request #6497 from betagouv/fix_flaky_spec
Correction d'un échec aléatoire dans un test des transferts de dossier (#6497)
2021-09-28 16:04:04 +02:00
simon lehericey
0cd9bcb1ab fix #6495 2021-09-28 15:53:18 +02:00
Kara Diaby
4a2bcb75e5
Merge pull request #6496 from betagouv/main
2021-09-28-01
2021-09-28 15:37:22 +02:00
Kara Diaby
13de45634d
Merge branch 'production' into main 2021-09-28 15:23:08 +02:00
Kara Diaby
786a03acfd
Merge pull request #6418 from betagouv/feat/6391
Adapte l'application au design system de l'état (couleurs bleues)
2021-09-28 15:16:05 +02:00
kara Diaby
eb951c75e4 change stats colors 2021-09-28 14:49:24 +02:00
kara Diaby
b5e699e8b8 change svg icons color 2021-09-28 14:49:24 +02:00
kara Diaby
1f2935719c change blue color on all the app 2021-09-28 12:33:01 +02:00
kara Diaby
99cfd4f42c adapte la page d'accueil au design system de l'état 2021-09-28 12:33:01 +02:00
LeSim
daf0f412c9
Merge pull request #6489 from betagouv/sort_tdc_alphabetically
Dans l'éditeur de champ, affiche les types de champ dans l'ordre alphabétique
2021-09-27 15:55:15 +02:00
simon lehericey
6eb10ecde5 display tdc alphabetically 🎉 2021-09-27 15:45:37 +02:00
simon lehericey
f55db98e97 rework type de champ type 2021-09-27 15:45:37 +02:00
Paul Chavard
dff96e0497
Merge pull request #6480 from tchak/feat-instructeurs-pour-tous
Instructeurs autogérés
2021-09-27 15:21:25 +02:00
Paul Chavard
c288739f13 Update app/helpers/procedure_helper.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
2021-09-27 15:06:17 +02:00
Paul Chavard
7deedf8245 feat(refactor): unify dossiers header 2021-09-27 15:06:17 +02:00
Paul Chavard
357c684688 feat(routage): self managing instructeurs 2021-09-27 15:06:17 +02:00
Paul Chavard
d4e8158887 feat(routing): add instructeurs_self_management_enabled to procedures 2021-09-27 15:06:17 +02:00
LeSim
9ae1ca0a14
Merge pull request #6486 from tchak/feat-stop-sending-data-out
feat(log): stop logging user emails
2021-09-27 15:05:16 +02:00
Paul Chavard
5933194149 feat(log): stop logging user emails
fix #6485
2021-09-27 14:56:00 +02:00
LeSim
ac1aba6c91
Merge pull request #6483 from betagouv/add_cnaf_adapter
ajout de l'adapter cnaf
2021-09-27 10:39:27 +02:00
Paul Chavard
92960b5ad0
Merge pull request #6484 from betagouv/main
2021-09-22-01
2021-09-23 10:07:39 +02:00
simon lehericey
57604b9c89 add schema validations 2021-09-22 12:08:24 +02:00
simon lehericey
75043070da add CNAFAdapter 2021-09-22 12:08:24 +02:00
simon lehericey
a7651e3772 add api composition_familiale 2021-09-22 12:08:24 +02:00
simon lehericey
ceb09c5967 api remove useless symbolize 2021-09-22 12:08:24 +02:00
simon lehericey
07962cc2c7 service: match remote keys 2021-09-22 12:08:24 +02:00
Pierre de La Morinerie
4be584d59d
Merge pull request #6468 from ismo1/6467-Fix_file_size_validation_message 2021-09-21 12:21:35 -05:00
Ismael MOUSSA S
36dc9c2ca2 Add File Validation concern after refactoring 2021-09-21 12:11:20 -05:00
Ismael MOUSSA S
7c7c9c9ea4 Fix file size validation message 2021-09-21 12:11:20 -05:00
Ismael MOUSSA S
bdbb4deb87 ADD FILE_MAX_SIZE constant to set allow file size limit 2021-09-21 12:04:56 -05:00
Pierre de La Morinerie
bda3270b58
Merge pull request #6478 from betagouv/update_available_sources
Un administrateur peut sauvegarder ses sources API particulier (#6478)
2021-09-21 11:33:26 -05:00
simon lehericey
1446660ca3 an api_particulier_token change erases previous api_particulier_sources 2021-09-21 11:21:10 -05:00
simon lehericey
c87f3f7fb6 faster jeton_particulier_controller_spec 2021-09-21 11:21:10 -05:00