Commit graph

13925 commits

Author SHA1 Message Date
Pierre de La Morinerie
68fd3aea39 config: rename SOURCE to LOGRAGE_SOURCE 2022-01-19 15:43:44 +01:00
Pierre de La Morinerie
d4fada9f6c config: add MATOMO_HOST environment variable 2022-01-19 15:43:44 +01:00
Pierre de La Morinerie
cd7a86743b config: move related SendInBlue variables together 2022-01-19 15:43:44 +01:00
Pierre de La Morinerie
54667f8b11 config: remove SIGNING_KEY
It was used for initializing a custom message verifier in 
`app/services/signature_service.rb`.

But the use of SIGNING_KEY by this service was removed in
dbbe96d333 – and then the signature
service itself was removed completely in
69a51e3296.
2022-01-19 15:43:44 +01:00
Kara Diaby
79440c7b88
Merge pull request #6819 from betagouv/feat/6818
ETQ Administrateur, lorsque je teste ma démarche, je souhaite que l'import CSV n'envoie pas de mails aux instructeurs
2022-01-18 17:51:42 +01:00
Kara Diaby
8490826a78 import csv gi available only for published procedures 2022-01-18 13:21:11 +01:00
Pierre de La Morinerie
eb930ce9e2
Merge pull request #6807 from betagouv/document-env-example
Amélioration de la description des variables d’environnement
2022-01-18 12:15:20 +01:00
Pierre de La Morinerie
75006c799e config: translate default env in english 2022-01-18 12:05:41 +01:00
Pierre de La Morinerie
a0e9764632 config: document INVISIBLE_CAPTCHA_SECRET 2022-01-18 12:05:41 +01:00
Paul Chavard
dbac42665b
Merge pull request #6810 from tchak/feat-demarche-only-if-no-dossiers
feat(procedure): only purge procedures without dossiers
2022-01-18 11:31:12 +01:00
Paul Chavard
403e71b41f feat(procedure): only purge procedures without dossiers 2022-01-18 11:22:04 +01:00
Paul Chavard
914c2a62f8
Merge pull request #6813 from tchak/fix-archives-export
fix(archives): only export dossiers in archive groupe_instructeurs
2022-01-18 11:21:49 +01:00
Paul Chavard
7937e58caa fix(archives): only export dossiers in archive groupe_instructeurs
fix #6793
2022-01-18 11:16:20 +01:00
Paul Chavard
44e30f9866
Merge pull request #6815 from tchak/fix-typo-mailer
fix(mailer): transfer -> transfert
2022-01-18 11:15:29 +01:00
Paul Chavard
e3236e5f60 fix(mailer): transfer -> transfert 2022-01-13 17:59:06 +01:00
Paul Chavard
bedf762f06
Merge pull request #6814 from tchak/test-improuve-selector
test(system): simplify select menu selector
2022-01-13 17:58:46 +01:00
Paul Chavard
902f7f6cb3 fix(select): improuve multi select onBlure 2022-01-13 17:49:16 +01:00
Paul Chavard
7e81b257b1 test(system): simplify select menu selector 2022-01-13 17:49:16 +01:00
Paul Chavard
3a90643666
Merge pull request #6811 from betagouv/dependabot/npm_and_yarn/follow-redirects-1.14.7
build(deps): bump follow-redirects from 1.14.6 to 1.14.7
2022-01-13 12:20:28 +01:00
dependabot[bot]
baa867124b
build(deps): bump follow-redirects from 1.14.6 to 1.14.7
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 11:06:28 +00:00
Kara Diaby
5dab86d3d6
Merge pull request #6797 from betagouv/feat/6714
ETQ usager, je souhaite restaurer un dossier supprimé
2022-01-12 16:04:27 +01:00
Paul Chavard
7e0d471a08 improuve discarded_expired scopes 2022-01-12 15:49:38 +01:00
Kara Diaby
68b45ae31d modify instructeur procedures controller 2022-01-12 15:49:38 +01:00
Kara Diaby
e2caf5718f modify instructeur model 2022-01-12 15:49:38 +01:00
Kara Diaby
bdcb0ca0e9 tests 2022-01-12 15:49:38 +01:00
Kara Diaby
4606650248 layout 2022-01-12 15:49:38 +01:00
Kara Diaby
c306387b00 locales 2022-01-12 15:49:38 +01:00
Kara Diaby
510e8f2fdd routes 2022-01-12 15:49:37 +01:00
Kara Diaby
894b065615 modify dossier model 2022-01-12 15:49:37 +01:00
Kara Diaby
006eac4240 modify controller 2022-01-12 15:49:37 +01:00
Paul Chavard
905c442d3f
Merge pull request #6809 from tchak/fix-multiselect-menu
Fix multiselect menu
2022-01-11 14:10:40 +01:00
Paul Chavard
4a718eae92 fix(select): always show menu on click in the input
fix #6655
2022-01-11 12:11:45 +01:00
Paul Chavard
967699c305 fix(select): improuve no results found message 2022-01-11 12:10:20 +01:00
Pierre de La Morinerie
4bec11310b
Merge pull request #6801 from betagouv/fix-flash-alert-type
Correction de Administrateurs::ProcedureAdministrateursController#destroy
2022-01-07 15:45:59 +01:00
Pierre de La Morinerie
062f52feb9 Fix ProcedureAdministrateursController#destroy
- The "no remove oneself" rule wasn't actually enforced
- `flash.error` is not a flash category
2022-01-07 15:39:58 +01:00
Pierre de La Morinerie
fb75a55b89 Add specs for Administrateurs::ProcedureAdministrateursController 2022-01-07 15:39:58 +01:00
mfo
154a7daf1c
Merge pull request #6805 from betagouv/US/typhoneus-and-raise
fix(parallel_download_queue): typhoeus does not like raise from a request handler [crash straight to first frame]
2022-01-07 14:28:25 +01:00
Martin
383a92bcd9 fix(parallel_download_queue): tophoeus does not like raise from a request handler [crash straight to first frame] 2022-01-07 14:24:37 +01:00
Pierre de La Morinerie
e4755c5433
Merge pull request #6804 from betagouv/fix-invisible-captcha-flash
Correction d'une erreur dans le formulaire de contact
2022-01-06 14:27:04 +01:00
Pierre de La Morinerie
2e1a3c32cb helpers: handle flash[:error]
Errors generated by the `invisible-catcha` gem are reported as
`flash[:error]` (which differs from Rail's usual `flash[:alert]`).

We probably shouldn't use flash[:error] in our own codebase; but we can
handle its use in third-party libraries.
2022-01-06 14:09:31 +01:00
Pierre de La Morinerie
68b112e00a helpers: don't crash on unknown flash level
Errors generated by the `invisible-catcha` gem are reported as
`flash[:error]` (which differs from Rail's usual `flash[:alert]`).

Avoid crashing when the flash level passed to this helper is not known.
2022-01-06 14:09:26 +01:00
mfo
ad91ed362c
Merge pull request #6802 from betagouv/US/fix_notifications_regarding_update_champs_piece_justificative
fix(users/champs/piece_justificative#update): ensure to bump dossier.last_champ_updated_at otherwise instructeurs are not notified when user update their piece_justificative
2022-01-06 13:14:06 +01:00
Martin
f770ac4907 fix(users/champs/piece_justificative#update): ensure to bump dossier.last_champ_updated_at otherwise instructeurs are not notified when user update their piece_justificative 2022-01-06 13:09:57 +01:00
Pierre de La Morinerie
dbfb08a052
Merge pull request #6795 from betagouv/US/6690-etq-admin-je-veux-pouvoir-desactiver-une-attestation-une-fois-la-demarche-publiee
Administrateur : possibilité de désactiver une attestation même une fois la démarche publiée
2022-01-06 12:15:45 +01:00
Martin
a9ffaf942e feat(attestation): can enable/disable attestation no matter the state of the procedure 2022-01-05 18:20:11 +01:00
Paul Chavard
7eddbd5238
Merge pull request #6796 from tchak/refactor-champs-hidden-fields
a11y(champs): fix champs labels and descriptions
2022-01-05 17:12:46 +01:00
Paul Chavard
cb66348916 a11y(select): cleanup select helpers in specs 2022-01-05 12:33:40 +01:00
Paul Chavard
968384952a a11y(capybara): enable use of aria-label in spec 2022-01-05 12:33:40 +01:00
Paul Chavard
28c1763701 a11y(champs): generalize describedby and update to use new Combo props 2022-01-05 12:33:40 +01:00
Paul Chavard
3513182e7c a11y(select): use new ComboMultiple component 2022-01-05 12:33:40 +01:00