Commit graph

21001 commits

Author SHA1 Message Date
Paul Chavard
05bf8bd655
Merge pull request #6528 from tchak/fix-discard-dossiers-procedures-jobs
Corrige les jobs de suppression de dossiers et démarches
2021-10-07 11:08:01 +02:00
Paul Chavard
70c33afcfe fix(avis): remove avis without dossier 2021-10-06 18:10:55 +02:00
Paul Chavard
9d5c5447c2 fix(dossier): do not attempt to destroy transfers when a dossier is destroyed
we had a dependent option on both sides of a relationship which created race conditions
2021-10-06 17:51:09 +02:00
Kara Diaby
f8a454d529
Merge pull request #6529 from betagouv/fix-layout-groupe-instructeurs
ETQ Administrateur je veux télécharger au format CSV tous les groupes instructeurs d'une démarche (EDIT)
2021-10-06 16:52:04 +02:00
kara Diaby
13883393eb modify layout 2021-10-06 16:41:08 +02:00
LeSim
a6d6d74a1a
Merge pull request #6525 from betagouv/dependabot/npm_and_yarn/url-parse-1.5.3
build(deps): bump url-parse from 1.5.1 to 1.5.3
2021-10-06 15:44:11 +02:00
dependabot[bot]
2d0985c58e
build(deps): bump url-parse from 1.5.1 to 1.5.3
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 13:33:02 +00:00
Paul Chavard
a8564628d3
Merge pull request #6527 from betagouv/main
2021-10-06-02
2021-10-06 12:11:31 +02:00
Paul Chavard
89a52d5210
Merge pull request #6524 from tchak/fix-no-log-on-dossiers-brouillons
fix(dossier): never write dossier logs on dossiers brouillons
2021-10-06 11:06:50 +02:00
Kara Diaby
d97f2a79f5
Merge pull request #6526 from betagouv/main
2021-10-06-01
2021-10-06 10:36:11 +02:00
Kara Diaby
c419ccfb06
Merge branch 'production' into main 2021-10-06 10:26:00 +02:00
Paul Chavard
d3c1941fbe fix(dossier): never write dossier log on dossiers brouillons 2021-10-05 17:56:51 +02:00
Kara Diaby
cf52e4bfc2
Merge pull request #6521 from betagouv/feat/6509
ETQ Administrateur, je souhaite exporter tous les groupes instructeurs d'une démarche au format CSV
2021-10-05 15:57:45 +02:00
kara Diaby
919d708ec4 tests 2021-10-05 15:37:30 +02:00
kara Diaby
e4b61eae21 layout 2021-10-05 15:37:29 +02:00
kara Diaby
177074bf32 css 2021-10-05 15:37:29 +02:00
kara Diaby
6251c3369b routes 2021-10-05 15:37:29 +02:00
kara Diaby
9c9eeb8e76 modify groupe instructeurs controller$ 2021-10-05 15:37:29 +02:00
Kara Diaby
5108b4f9d7
Merge pull request #6490 from betagouv/feat/6487
ETQ expert, je veux télécharger le dossier en pdf et ses pj
2021-10-05 15:13:08 +02:00
kara Diaby
0bd879ec9b modify pj service 2021-10-05 15:00:21 +02:00
kara Diaby
6ef5b5d474 modify downloable file 2021-10-05 15:00:21 +02:00
kara Diaby
cbedef996b tests 2021-10-05 15:00:21 +02:00
kara Diaby
6c82e40ddb routes 2021-10-05 15:00:21 +02:00
kara Diaby
bfee9c275c layout 2021-10-05 15:00:21 +02:00
kara Diaby
6d89d914e2 modify expert avis controller 2021-10-05 15:00:21 +02:00
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