Commit graph

14242 commits

Author SHA1 Message Date
Paul Chavard
d6b6bb0f2a a11y(combobox): add support for describedby and labelledby and improuve external fields handling 2022-01-05 12:33:40 +01:00
Paul Chavard
fc058f721d a11y(champs): expose ids for UI on champ 2022-01-05 12:33:40 +01:00
LeSim
5f179676c8
Merge pull request #6799 from betagouv/bump_rails
mise a jour de rails de 6.1.4.1 vers 6.1.4.4
2022-01-05 12:31:06 +01:00
simon lehericey
7839067bcd bump rails to 6.4.4 2022-01-05 12:25:23 +01:00
LeSim
a009871ec1
Merge pull request #6798 from betagouv/make_ping_work_again
Corrige le controller ping (health check)
2022-01-05 12:24:18 +01:00
simon lehericey
00871cfe13 Fix ping controller in dev
For an unknown reason, ActiveRecord::Base.connected? does not work anymore in dev. It returns false negative.

This simple workaround can timeout. The caller has to monitor the response time.
2022-01-05 11:44:32 +01:00
mfo
f9f2bd8bce
Merge pull request #6750 from betagouv/US/download_parallel
6688-ETQ instructeur mes archives sont lentes à générer
2022-01-04 16:52:45 +01:00
Martin
3eb1c1a421 feat(async_backend): switch to typhoeus 2022-01-04 16:27:23 +01:00
Martin
ce1b189dcd refactor(DownloadManager): extract parallel download in dedicated class. move error management in custom class for procedure exports using the didicated class 2022-01-04 16:17:03 +01:00
Martin
2ed9cccba0 extract download all attachments in dedicated class using async/async-http for better perf 2022-01-04 16:17:03 +01:00
mfo
441d730b8e
Merge pull request #6786 from betagouv/US/anti-spam-contact-form
feat(support#create): block with invisible captcha [avoid painful captcha]
2022-01-04 14:55:50 +01:00
Martin
252eee272b feat(support#create): block with invisible captcha [avoid painful captcha] 2022-01-04 14:49:00 +01:00
Paul Chavard
ec6c71beea
Merge pull request #6785 from tchak/fix-a11y-current-page
fix(a11y): add aria to tabs
2022-01-04 09:48:37 +01:00
Paul Chavard
7f0dde9be4 fix(a11y): add aria to tabs 2022-01-04 09:44:32 +01:00
LeSim
b7c2eb99b2
Merge pull request #6792 from betagouv/main
2022-01-04-01
2022-01-04 09:39:35 +01:00
LeSim
d15b85633a
Merge pull request #6791 from tchak/fix-react-register-component
fix(react): remove register component cache
2022-01-04 09:32:05 +01:00
Paul Chavard
6776a5e05a fix(react): remove register component cache 2022-01-03 19:41:23 +01:00
Kara Diaby
6324def470
Merge pull request #6789 from betagouv/main
2022-01-03-02
2022-01-03 14:57:44 +01:00
Kara Diaby
f295b5b2da
Merge pull request #6716 from betagouv/feat/6706
ETQ Instructeur, je veux pouvoir cacher un dossier terminé de mon interface
2022-01-03 14:30:08 +01:00
mfo
7c4e26d1b5
Merge pull request #6777 from betagouv/main
2021-12-23-01
2022-01-03 14:27:29 +01:00
Kara Diaby
1ca553e088 rename hidden_by_instructeur by hidden_by_administration 2022-01-03 11:51:25 +01:00
Paul Chavard
ad4be3c482 refactor(dossier): handle discard by admin and super admin 2022-01-03 11:51:25 +01:00
Kara Diaby
b408811c5a l'expert ne voit pas les dossiers supprimés par l'instructeur 2022-01-03 11:51:25 +01:00
Kara Diaby
051d7b2028 change dossier method 2021-12-29 17:37:58 +01:00
Kara Diaby
598cb09c6d tests 2021-12-29 17:37:58 +01:00
Kara Diaby
37e991ccb8 User : delete the folder if the instructeur has hide it 2021-12-29 17:37:58 +01:00
Kara Diaby
7d7b847437 Instructeur : delete the folder if the user has hide it 2021-12-29 17:37:58 +01:00
Kara Diaby
22ac853815 add hidden_by_instructeur scope 2021-12-29 17:37:58 +01:00
Kara Diaby
f239d46a45 add hide_dossier method to instructeurs 2021-12-29 17:37:57 +01:00
Kara Diaby
cd95b730e0 add hidden_by_instructeur_at on dossiers 2021-12-29 17:37:57 +01:00
mfo
a416a5ae33
Merge pull request #6774 from betagouv/US/merge-with-same-email-fail
fix(profil_controller#update_email): changing email from current_user.email to current_user.email destroy current user. whoops ☠️'
2021-12-29 14:16:48 +01:00
Martin
d0ab1711ff fix(profil_controller#update_email): ensure we are not merging same account
fix(profil_controller#update_email): changing email from current_user.email to current_user.email destroy current user. whoops ☠️'

Update config/locales/en.yml

Co-authored-by: Pierre de La Morinerie <pierre.de_la_morinerie@beta.gouv.fr>

Update config/locales/fr.yml

Co-authored-by: Pierre de La Morinerie <pierre.de_la_morinerie@beta.gouv.fr>

Update spec/controllers/users/profil_controller_spec.rb

Update config/locales/fr.yml

Co-authored-by: Pierre de La Morinerie <pierre.de_la_morinerie@beta.gouv.fr>

Update spec/controllers/users/profil_controller_spec.rb

fix(spec): broken due to typo
2021-12-29 13:36:47 +01:00
krichtof
15f01149df
Merge pull request #6779 from betagouv/show-procedure-zones
Permet de voir les zones des procédures dans le manager
2021-12-23 19:51:05 +01:00
Christophe Robillard
6e36fee7b3 superadmin can display list of procedures without zone 2021-12-23 19:18:46 +01:00
Christophe Robillard
9a38d5e049 superadmin can only index and show zones 2021-12-23 19:07:42 +01:00
Christophe Robillard
90c971567d superadmin can show zone for a procedure 2021-12-23 19:07:42 +01:00
Christophe Robillard
c7b5e57d2a superadmin can get procedures from zone 2021-12-23 19:07:42 +01:00
Christophe Robillard
537e6066d8 add Zones dashboard for superadmin 2021-12-23 19:07:42 +01:00
krichtof
4a7a24ec7c
Merge pull request #6778 from betagouv/6773-autocomplete
facilite le remplissage automatique de l'email
2021-12-23 19:04:55 +01:00
Christophe Robillard
878f735a80 facilite le remplissage automatique de l'email 2021-12-23 19:00:10 +01:00
Pierre de La Morinerie
c97ce22e31
Merge pull request #6770 from tchak/fix-instructeur-notifications 2021-12-23 14:01:24 +01:00
Paul Chavard
4e779f445d fix(instructeur): copy notifications settings from previous groupe instructeur
fix #6763
2021-12-23 13:55:25 +01:00
Paul Chavard
2f6cd317bf fix(instructeur): set notification settings on all groupe instruteur for given procedure 2021-12-23 13:55:25 +01:00
Pierre de La Morinerie
a180985fb7
Merge pull request #6767 from betagouv/update-node-modules 2021-12-23 13:48:36 +01:00
Pierre de La Morinerie
d56368e627 js: upgrade node modules 2021-12-23 13:44:25 +01:00
Pierre de La Morinerie
cb739f29f5 js: update netlify-cli
netlify-cli is only used to publish the graphql static documentation,
but was badly outdated, and kept many node-modules from being upgraded.
2021-12-23 13:44:25 +01:00
Pierre de La Morinerie
a11c851c79 Update webpacker to v5.4.3.
By running:

```
bundle update webpacker
rails webpacker:binstubs
yarn upgrade @rails/webpacker --latest
yarn upgrade webpack-dev-server --latest
```
2021-12-23 13:44:25 +01:00
Pierre de La Morinerie
5dbd56db90
Merge pull request #6762 from adullact/i18n-fix-typo 2021-12-23 11:04:07 +01:00
Fabrice Gangler
86a8d33ce7 fix(i18n): correct a typo 2021-12-23 10:56:40 +01:00
Pierre de La Morinerie
06d8ebf9aa
Merge pull request #6760 from betagouv/6618-fix-a11y-support 2021-12-23 10:55:26 +01:00