Commit graph

13987 commits

Author SHA1 Message Date
Pierre de La Morinerie
70cbdcacc9
Merge pull request #6840 from betagouv/fix-champs-validation-for-private-champs
Administrateur : sépare la validation des champs publics et des annotations privées
2022-02-01 12:41:23 +01:00
Pierre de La Morinerie
ca58e60dc0 validators: rename revisions namespace to types_de_champ 2022-02-01 12:37:16 +01:00
Pierre de La Morinerie
d680602c84 models: validate private types_de_champ 2022-02-01 12:37:16 +01:00
Pierre de La Morinerie
e8e37cce15 models: refactor the types_de_champ validators
Context: we want to validate public and private types_de_champ
separately.

Before we validated the whole revision (and then validators themselves
enumerated all champs, public and private).

Now we validate the actual public types_de_champ, which will let us
validate separately the private types_de_champ.
2022-02-01 12:37:16 +01:00
Kara Diaby
64d75360d0
Merge pull request #6843 from betagouv/feat/6828
ETQ instructeur, je veux pouvoir restaurer un dossier supprimé
2022-02-01 12:20:42 +01:00
Kara Diaby
842cc11689 tests 2022-01-31 10:03:44 +01:00
Kara Diaby
96556ca4b3 locales 2022-01-31 10:03:44 +01:00
Kara Diaby
64f2dfdea1 routes 2022-01-31 10:03:44 +01:00
Kara Diaby
82ddad125f layout 2022-01-31 10:03:44 +01:00
Kara Diaby
0f968f4c4e modify models 2022-01-27 17:01:27 +01:00
Kara Diaby
a94568e2ef modify procedures controller 2022-01-27 17:01:09 +01:00
Kara Diaby
8b76a8c2ae add supprimes_recemment to procedure presentation 2022-01-27 17:00:41 +01:00
Pierre de La Morinerie
e1df193006
Merge pull request #6836 from betagouv/saml-idp-enabled
Ajout d'une nouvelle variable d'environnement `SAML_IDP_ENABLED`
2022-01-26 17:46:22 +01:00
Pierre de La Morinerie
387701e7cb config: add a new SAML_IDP_ENABLED env var
This fixes the app crashing on launch when using the production profile,
because the certificates are not present.
2022-01-26 16:45:50 +01:00
Paul Chavard
413f66e144
Merge pull request #6838 from tchak/fix-dossiers-attestations
hotfix(attestation): add missing attestations on dossiers
2022-01-26 16:19:20 +01:00
Paul Chavard
c25dba850e hotfix(attestation): add missing attestations on dossiers 2022-01-26 15:33:42 +01:00
Paul Chavard
9c54f004f2
Merge pull request #6834 from tchak/revert-attestations
Revert attestation templates revisions
2022-01-25 18:45:03 +01:00
Paul Chavard
80125cbed1 fix attestation templates 2022-01-25 18:43:26 +01:00
Paul Chavard
4e7733e571 Revert "feat(attestation): revise attestations"
This reverts commit e413872530.
2022-01-25 18:26:34 +01:00
Pierre de La Morinerie
33a40d576e
Merge pull request #6832 from betagouv/dependabot/npm_and_yarn/node-fetch-2.6.7
Javascript : mise à jour de node-fetch de la v2.6.6 à la v2.6.7
2022-01-25 16:36:25 +01:00
dependabot[bot]
69b1b4afbf
build(deps): bump node-fetch from 2.6.6 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 15:31:25 +00:00
Kara Diaby
045ac219c9
Merge branch 'production' into main 2022-01-25 14:09:16 +01:00
Kara Diaby
edc8c9c8a0
Merge pull request #6825 from betagouv/fix-dossier-deletion
fix dossier deletion mailers
2022-01-25 12:05:45 +01:00
Paul Chavard
ecebc8cf00 fix locale 2022-01-25 11:46:05 +01:00
Paul Chavard
a9c4a81ab0 fix dossier mailer templates 2022-01-25 11:46:05 +01:00
Kara Diaby
c9f402aa5b tests 2022-01-25 11:46:05 +01:00
Kara Diaby
2eb35065f8 fix dossier deletion mailers 2022-01-25 11:46:05 +01:00
Pierre de La Morinerie
4b9bc582e7
Merge pull request #6829 from betagouv/dependabot/npm_and_yarn/nanoid-3.2.0
Javascript : mise à jour de `nanoid` de la v3.1.30 à la v3.2.0
2022-01-25 11:45:23 +01:00
dependabot[bot]
8cce5d506c
build(deps): bump nanoid from 3.1.30 to 3.2.0
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 07:27:43 +00:00
Pierre de La Morinerie
6513be17f8
Merge pull request #6830 from betagouv/fix-dossiers-tous-instructeur
Instructeur : corrige l'affichage des dossiers masqués par l'usager dans l'onglet 'tous' de la liste des dossiers
2022-01-25 08:25:03 +01:00
Kara Diaby
7a49985e2c tests 2022-01-24 16:47:47 +01:00
Kara Diaby
0e3532a0b2 Fixe la liste 'tous' des dossiers instructeurs lorsqu'un dossier est en constructino et caché par l'usager 2022-01-24 16:47:47 +01:00
mfo
88c298a8c7
Merge pull request #6831 from betagouv/US/fix-mon-avis-without-title
feat(MonAvisEmbedValidator): allow mon avis button without title
2022-01-24 16:30:55 +01:00
Martin
47fa95a577 feat(MonAvisEmbedValidator): allow mon avis button without title 2022-01-24 15:56:29 +01:00
Paul Chavard
10d3d3df73
Merge pull request #6751 from tchak/fix-attestation-revision
Versionner les attestations
2022-01-19 18:29:00 +01:00
Paul Chavard
ff806782de feat(attestation): migration task to revise attestations 2022-01-19 18:00:37 +01:00
Paul Chavard
e413872530 feat(attestation): revise attestations 2022-01-19 18:00:37 +01:00
Paul Chavard
c1cb89bb44 fix(revision): changed? conflicts with rails method 2022-01-19 18:00:37 +01:00
Paul Chavard
e6a942a5fc
Merge pull request #6826 from tchak/fix-expired-dossiers-notifications
fix(dossier): do not send notification on expiration when dossier is already deleted
2022-01-19 17:58:23 +01:00
Paul Chavard
3d8471e064 fix(dossier): do not send notification on expiration when dossier is already deleted 2022-01-19 17:52:53 +01:00
Pierre de La Morinerie
d1a941d908
Merge pull request #6820 from betagouv/improve-env-var-organization
Amélioration des variables d'environnement (ajout et renommage)
2022-01-19 15:48:21 +01:00
Pierre de La Morinerie
0b4e82c25b config: move jobs env vars to the optional file 2022-01-19 15:43:44 +01:00
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