Commit graph

13626 commits

Author SHA1 Message Date
Pierre de La Morinerie
7dc5f5ee59
Merge pull request #6522 from betagouv/main 2021-10-05 12:30:27 +02:00
Pierre de La Morinerie
f3163f292c
Merge pull request #6511 from betagouv/identity_changed_raises_notification
Instructeur : une pastille de notification est maintenant affichée lorsque l'usager met à jour son identité (#6511)
2021-10-05 12:15:37 +02:00
simon lehericey
d8112b9548 [Fix #6491] ui 2021-10-05 12:05:43 +02:00
simon lehericey
1000417bc9 update notifications_for_dossier used in dossier show 2021-10-05 12:05:43 +02:00
simon lehericey
65911b7680 update with_notifications dossiers scope (used in procedure index and show) 2021-10-05 12:05:43 +02:00
simon lehericey
f662b28baf update identity_updated_at column when user identity change 2021-10-05 12:05:43 +02:00
simon lehericey
3a878dfc04 add identity_updated_at column to dossier 2021-10-05 12:05:43 +02:00
Pierre de La Morinerie
bdb964b326
Merge pull request #6498 from pengfeidong/6479_cvs_by_locales
Instructeur : localisation de l'import des groupes instructeurs par fichier CSV (#6479)
2021-10-05 11:08:23 +02:00
Pierre de La Morinerie
f854e3af63 controllers: use ACSV to import groupe instructeurs
Unlike `CSV`, `ACSV` auto-detect the file encoding and separator type.
2021-10-05 10:58:15 +02:00
Peng-Fei DONG
dee536fca1 app: localize CSV import for groupe instructeurs 2021-10-05 10:58:15 +02:00
Pierre de La Morinerie
9ec5a22521
Merge pull request #6513 from betagouv/preview_in_new_tab
Administrateur : l’aperçu d'une démarche s’ouvre maintenant dans un nouvel onglet (#6512)
2021-10-05 10:57:25 +02:00
simon lehericey
9679e233cd [Fix #6512] admin preview in new tab 2021-10-05 10:47:58 +02:00
LeSim
c7344e5a60
Merge pull request #6520 from betagouv/discard_export_not_found_error
empèche les jobs d'export de réessayer indéfiniement les exports inexistants
2021-10-04 13:17:26 +02:00
simon lehericey
e4484eb6d9 discard expert not found job error 2021-10-04 12:57:37 +02:00
Paul Chavard
4c65e49950
Merge pull request #6510 from betagouv/fix_6504_transfert_exception
[Fix #6504] Corrige une erreur lors de la suppression d'une demande de transfert de fichier
2021-10-04 12:33:19 +02:00
simon lehericey
64351d0287 [Fix #6504] Fix exception raised when deleting a transfer 2021-10-01 12:11:03 +02:00
Pierre de La Morinerie
cc5b3fef42
Merge pull request #6507 from betagouv/attempt-to-fix-flaky-spec
Correction d'un test de feature qui échouait aléatoirement (#6507)
2021-10-01 00:42:56 +02:00
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