Valider 394b8838 rédigé par Florent Poinsaut's avatar Florent Poinsaut
Parcourir les fichiers

v1.4.1

parent 6f15fe99
Chargement en cours
Chargement en cours
Chargement en cours
Chargement en cours
Chargement en cours
+1 −0
Changes for .env.dist: 1 added line, 0 removed line.
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
MAILER_ADDRESS=no-reply@example.com
MAILER_DSN=smtp://user:pass@smtp.example.com:25
+8 −1
Changes for CHANGELOG.md: 8 added lines, 1 removed line.
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- markdownlint-configure-file { "MD024": { "siblings_only": true } } -->

## [v1.4.0] - 2024-11-15
## [v1.4.1] - 2025-11-12

### Changed

- Add `MAILER_ADDRESS` environment variable for PHP mailer

## [v1.4.0] - 2025-12-11

### Changed

@@ -188,6 +194,7 @@ This is the initial release
- Legal Notice
- Contact

[v1.4.1]: https://usine.solution-libre.fr/solution-libre/website/-/compare/v1.4.0...v1.4.1
[v1.4.0]: https://usine.solution-libre.fr/solution-libre/website/-/compare/v1.3.0...v1.4.0
[v1.3.0]: https://usine.solution-libre.fr/solution-libre/website/-/compare/v1.2.0...v1.3.0
[v1.2.0]: https://usine.solution-libre.fr/solution-libre/website/-/compare/v1.1.0...v1.2.0
+6 −3
Changes for README.md: 6 added lines, 3 removed lines.
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -18,6 +18,9 @@ on [Start Bootstrap](https://startbootstrap.com/) - [Freelancer](https://startbo

## Setup

1. Copy the `.env.dist` to `.env` and adjust its values.
2. Generate public folder:

```sh
./bin/build.sh
```
@@ -26,12 +29,12 @@ on [Start Bootstrap](https://startbootstrap.com/) - [Freelancer](https://startbo

### [Start Bootstrap](https://startbootstrap.com/) - [Freelancer](https://startbootstrap.com/theme/freelancer/)

Copyright (C) 2013-2024 Blackrock Digital LLC. Code released under the
[MIT](https://github.com/BlackrockDigital/startbootstrap-freelancer/blob/gh-pages/LICENSE) license.
Copyright (c) 2013-2023 Start Bootstrap LLC. Code released under the
[MIT](https://github.com/StartBootstrap/startbootstrap-freelancer/blob/master/LICENSE) license.

### Solution Libre's website

Copyright (C) 2017-2024 Solution Libre SAS. Code released under the
Copyright (C) 2017-2025 Solution Libre SAS. Code released under the
[AGPL-3.0](https://raw.githubusercontent.com/solution-libre/website/master/LICENSE) license.

## Development
+2 −2
Changes for src/index.html: 2 added lines, 2 removed lines.
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
@@ -243,8 +243,8 @@
            </p>
            <p class="lead mb-0">
              <a href="https://semver.org/lang/fr/" target="_blank" title="Semantic Versioning">v</a> :
              <a href="https://usine.solution-libre.fr/solution-libre/website/tree/v1.4.0" target="_blank" title="Version 1.4.0">
                1.4.0
              <a href="https://usine.solution-libre.fr/solution-libre/website/tree/v1.4.1" target="_blank" title="Version 1.4.1">
                1.4.1
              </a>
            </p>
          </div>
+3 −3
Changes for src/mail/contact_me.php: 3 added lines, 3 removed lines.
Numéro de ligne d'origine Numéro de ligne de diff Ligne de diff
<?php
// Copyright (C) 2021-2024 Solution Libre
// Copyright (C) 2021-2025 Solution Libre
// 
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
@@ -51,7 +51,7 @@ if(
    $mailer = new Mailer($transport);
    
    $email = (new Email())
        ->from('no-reply@solution-libre.fr')
        ->from($_ENV['MAILER_ADDRESS'])
        ->to('webmaster@solution-libre.fr')
        ->replyTo($email_address)
        ->subject("Website Contact Form:  $name")
@@ -59,7 +59,7 @@ if(
    
    try {
        $mailer->send($email);
        $message = "Courriel expédié.";
        $message = 'Courriel expédié.';
        $response->setStatusCode(Response::HTTP_OK);
    } catch (TransportExceptionInterface $e) {
        $message = "Problème serveur lors de l'émission du courriel.";
Chargement en cours