Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into feat/psy-file
Browse files Browse the repository at this point in the history
  • Loading branch information
desoindx committed Feb 7, 2022
2 parents 3d2e824 + 09a8153 commit 3fa7608
Show file tree
Hide file tree
Showing 18 changed files with 178 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DEMARCHES_SIMPLIFIEES_TOKEN=api-token
DEMARCHES_SIMPLIFIEES_ID=52209
DEMARCHES_SIMPLIFIEES_CHAMPS=[["Q2hhbXAtMTYwMzgwNQ==", "phone"], ["Q2hhbXAtMTYyNzkzOQ==", "address"], ["Q2hhbXAtMTYzOTUyNA==", "teleconsultation"], ["Q2hhbXAtMTY2MDM0Nw==", "languages"], ["Q2hhbXAtMTYzOTQwMQ==", "website"], ["Q2hhbXAtMjI0NzExMg==", "cdsmsp"], ["Q2hhbXAtMjIyMjcwMg==", "withChildren"]]

NEXT_PUBLIC_NEW_FEATURES=false
NEXT_PUBLIC_NEW_FEATURES=true

MAIL_HOST=smtp.tipimail.com
MAIL_PORT=587
Expand Down
5 changes: 4 additions & 1 deletion .socialgouv/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
"registry": "ghcr",
"project": "mon-psy-sante",
"azurepg": true,
"devInitContainerCommand": ["yarn", "db:init"]
"devInitContainerCommand": [
"yarn",
"db:init"
]
}
10 changes: 5 additions & 5 deletions .socialgouv/environments/prod/app.sealed-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
annotations: {}
annotations: { }
name: app-sealed-secret
namespace: app
namespace: mon-psy-sante
spec:
encryptedData:
MAIL_AUTH_PASS: AgCqXteifRLzdJCR6MzXyAeRb7eGQ3TuW7lyE8JmdoqihiFPZORh2tkNI26ApHTNnd3tvPXrLZlHE7CeNL9yNRT4qIkHTj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f8f1uLQseieeXcKTE6R3r1VxVlkA0RGgUrWRg==
MAIL_AUTH_USER: AgArCTc75R4Mv+Y2zb6lGvEohUW1MpGm4DuF0buHyRw9VU6JIcXt5ljg3co+wDUVoZE4z86R0twixlDX2pCzqbKN8NUvoNF5NzttRckL5m+gseTbqcwtNjSlJB3wANiFFYxc+ShVAX3z8Ot+OuNJ6IRXrSROpjIRKs95X9m/uN3CSe5QelRtIIgXimvFc5fuJ50NJ4RGvvzvFMDK4FWyloyyHY6wXkNhXa42VLcybutFs6l78IwWW9ZUCZLZWvYD1Mso7sRHQR6pm1pzQy788eUBBMY+vdZT7owyqy7QDfM6AbG5wqUdJffYR1SwcwJPGvqHABDcCMVIKTz+L/il7F5ul4P+3FEaBjEtembDpJsP58/x2VMm01LD6RoVn52WWFbR8PP9ayzviASaA1uAoKQAy6XVXNf+bo4+73KDLMN5lM0yLlcAjdBWuHpO0WfAVZI2gEFIVoRmhapJc8Za52ukEqgHPVjO+lNqUCDrGp3x4Ioix+DIksE271N+qzCuqgbeX5Q9mTCNkp2qcu9lJa1za4OZTSMhOgkupapP9BONSxj+xZplkeCBh/rYnRPKqhkWZSMX5G/Q7sMWceBQsZYYaGWPzG1ZSb1vJsVArXj++d+9+K+aWQkaFtaY18NOv8wBTAEDs5AuiqKMSIbMbb5YKFP+2/3p2kSWp8p/glIPHeetkUfsOuFndxN+m3iczyeYjcIENjfxspT0Uc/UdpwPGy1vu4d0ef4lh6UOhnMm4Q==
template:
metadata:
annotations: {}
annotations: { }
name: app-sealed-secret
type: Opaque
147 changes: 147 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,150 @@
## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.5](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.4...v1.9.5) (2022-02-03)


### Bug Fixes

* **footer link:** fix link to repo on footer ([17132d4](https://github.com/SocialGouv/mon-psy-sante/commit/17132d41035b2263c7e39beadf7137750b72343b))
* **name:** revert renaming as the namespace on rancher is different (leave old name for now) ([dbf70fd](https://github.com/SocialGouv/mon-psy-sante/commit/dbf70fdf439240aa3c84fc651ffc04171a42a551))

## [1.9.4](https://github.com/SocialGouv/MonPsy/compare/v1.9.3...v1.9.4) (2022-02-01)


### Bug Fixes

* **flyers name:** update flyer name ([9191085](https://github.com/SocialGouv/MonPsy/commit/919108541d7350811aeba814d8a13b18a454d174))

## [1.9.3](https://github.com/SocialGouv/MonPsy/compare/v1.9.2...v1.9.3) (2022-02-01)


### Bug Fixes

* **sealed secret:** update prod sealed secret ([82761a5](https://github.com/SocialGouv/MonPsy/commit/82761a5e303c68112903f77917e1fbb4cd929628))

## [1.9.2](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.1...v1.9.2) (2022-02-01)


### Bug Fixes

* **text:** update dispositif name (lint !) ([8e2e46f](https://github.com/SocialGouv/mon-psy-sante/commit/8e2e46f03a1041ad243029ff5b3fa7d8ba503b9f))

## [1.9.1](https://github.com/SocialGouv/mon-psy-sante/compare/v1.9.0...v1.9.1) (2022-02-01)


### Bug Fixes

* **text:** update dispositif name ([0d9166c](https://github.com/SocialGouv/mon-psy-sante/commit/0d9166c1bed4d4ed31040301fd9eafa56c731151))

# [1.9.0](https://github.com/SocialGouv/mon-psy-sante/compare/v1.8.0...v1.9.0) (2022-01-31)


### Features

* **preprod:** enable new feature on preprod so the team can test it ([42ffba0](https://github.com/SocialGouv/mon-psy-sante/commit/42ffba0fdc9804a8746e898b853dbe9e07b5f25b))

# [1.8.0](https://github.com/SocialGouv/mon-psy-sante/compare/v1.7.1...v1.8.0) (2022-01-27)


Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# MonPsySanté
# MonPsy

https://monpsy.sante.gouv.fr

# Run locally

First you need to run a docker with a postgre DB

```
docker-compose up
```

then you need to prepare the project

```
yarn
yarn run db:init
```

and finally you can run the project locally with

```
yarn run dev
```
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mon-psy-sante",
"version": "1.8.0",
"name": "monpsy",
"version": "1.9.5",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
Expand Down
Binary file not shown.
Binary file removed public/documents/MonPsySante_Flyer.pdf
Binary file not shown.
Binary file not shown.
Binary file added public/documents/MonPsy_Flyer.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const FooterDescription = () => (
<>
Le code source est ouvert et les contributions sont bienvenues.{" "}
<a
href="https://github.com/betagouv/sante-psy"
href="https://github.com/socialgouv/mon-psy-sante/"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Nav = () => {
<img src="/images/cpam.png" alt="CNAM" width="200" height="66" />
</HeaderOperator>
<Service
title="MonPsySanté"
title="MonPsy"
description="En parler, c’est déjà se soigner."
/>
</HeaderBody>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from "react";

export default function Custom404() {
useEffect(() => {
document.title = "Page non trouvée | MonPsySanté";
document.title = "Page non trouvée | MonPsy";
}, []);

return (
Expand Down
8 changes: 4 additions & 4 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ class MyApp extends App {
<>
<Head>
<link rel="shortcut icon" href="/favicon.ico" />
<title>MonPsySanté</title>
<meta property="og:title" content="MonPsySanté" />
<title>MonPsy</title>
<meta property="og:title" content="MonPsy" />

<meta
name="description"
content="MonPsySanté s’adresse à toute la population à partir de 3 ans présentant des troubles psychiques d’intensité légère à modérée. Dès le printemps 2022, sur orientation d’un médecin, les patients (enfants, adolescents et adultes) pourront bénéficier de séances assurées par des psychologues volontaires conventionnés avec l’Assurance Maladie."
content="MonPsy s’adresse à toute la population à partir de 3 ans présentant des troubles psychiques d’intensité légère à modérée. Dès le printemps 2022, sur orientation d’un médecin, les patients (enfants, adolescents et adultes) pourront bénéficier de séances assurées par des psychologues volontaires conventionnés avec l’Assurance Maladie."
/>
<meta
property="og:description"
content="MonPsySanté s’adresse à toute la population à partir de 3 ans présentant des troubles psychiques d’intensité légère à modérée. Dès le printemps 2022, sur orientation d’un médecin, les patients (enfants, adolescents et adultes) pourront bénéficier de séances assurées par des psychologues volontaires conventionnés avec l’Assurance Maladie."
content="MonPsy s’adresse à toute la population à partir de 3 ans présentant des troubles psychiques d’intensité légère à modérée. Dès le printemps 2022, sur orientation d’un médecin, les patients (enfants, adolescents et adultes) pourront bénéficier de séances assurées par des psychologues volontaires conventionnés avec l’Assurance Maladie."
/>

<meta property="og:type" content="website" />
Expand Down
4 changes: 2 additions & 2 deletions src/pages/annuaire.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import dynamic from "next/dynamic";
import Head from "next/head";
import React from "react";

const Directory = dynamic(() => import("../components/Directory"), {
const Directory = dynamic(() => import("../components/Directory/index"), {
ssr: false,
});

const Annuaire = () => (
<>
<Head>
<title>MonPsySanté - Annuaire</title>
<title>MonPsy - Annuaire</title>
<link rel="stylesheet" href="/css/leaflet.css" />
<script src="/scripts/leaflet.js" async />
</Head>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Page = () => (
/>
</div>
<div className="fr-col-12 fr-col-md-5">
<h1 className="fr-mb-0">MonPsySanté</h1>
<h1 className="fr-mb-0">MonPsy</h1>
<p className="fr-text--lg">
Un dispositif en place à partir du printemps 2022
</p>
Expand Down Expand Up @@ -101,9 +101,9 @@ const Page = () => (
<h2>À qui ça s’adresse ?</h2>

<p className="fr-text--lg">
<strong>MonPsySanté</strong> s’adresse à toute la population à
partir de 3 ans présentant des troubles psychiques d’intensité
légère à modérée.
<strong>MonPsy</strong> s’adresse à toute la population à partir
de 3 ans présentant des troubles psychiques d’intensité légère à
modérée.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/services/contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const mailTransport = nodemailer.createTransport({

export const sendMail = (to: string, subject: string, html: string) => {
const mail = {
from: `MonPsySanté <${config.supportMail}>`,
from: `MonPsy <${config.supportMail}>`,
html,
subject,
text: sanitizeHtml(html),
Expand Down
2 changes: 1 addition & 1 deletion src/types/enums/contact.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export enum CONTACT_USER_TYPE {
PSYCHOLOGIST_INTERESTED = "Psychologue intéressé / en cours de candidature",
PSYCHOLOGIST_PARTNER = "Psychologue partenaire MonPsySanté (conventionné avec l'Assurance Maladie)",
PSYCHOLOGIST_PARTNER = "Psychologue partenaire MonPsy (conventionné avec l'Assurance Maladie)",
PUBLIC = "Grand public / Patient / Entourage d'un patient",
DOCTOR = "Médecin / Professionnel de santé",
OTHER = "Autre : institutionnels, presse, etc",
Expand Down

0 comments on commit 3fa7608

Please sign in to comment.