diff --git a/conf/version.json b/conf/version.json index dd88c1e..17accaf 100644 --- a/conf/version.json +++ b/conf/version.json @@ -1,6 +1,6 @@ { "app": "moncycle.app", - "version": "13~ynh1", - "build": "2024-04-23", - "commit": "5415446" + "version": "13~ynh2", + "build": "2024-05-11", + "commit": "dfadfec" } diff --git a/manifest.toml b/manifest.toml index 0c59e04..867d162 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Moncycle" description.en = "Menstrual cycle follow-up for natural family planning" description.fr = "Suivi de cycle pour les méthodes naturelles de régulation de naissance" -version = "13~ynh1" +version = "13~ynh2" maintainers = ["Raoul de Limezy"] @@ -34,8 +34,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/jean-io/moncycle.app/archive/refs/tags/v13.tar.gz" - sha256 = "db7ae0dcb3c307d6881ae1d1af67670ac4951d67fa788ce7cc0cb2bf4f08eb3f" + url = "https://github.com/jean-io/moncycle.app/archive/dfadfec65ec696257857cedd937a93c62c76e463.zip" + sha256 = "f2fc644459c76484bfbcf5c748138e577e24334651c29f0e817d50abb5de4861" autoupdate.strategy = "latest_github_release" [resources.system_user] diff --git a/sources/patches/main-01-mail.patch b/sources/patches/main-01-mail.patch index 0e2a784..5308771 100644 --- a/sources/patches/main-01-mail.patch +++ b/sources/patches/main-01-mail.patch @@ -1,23 +1,17 @@ diff --git a/www_data/lib/mail.php b/www_data/lib/mail.php -index 9b58b50..0112cc5 100644 +index fc2246e..2e060e3 100644 --- a/www_data/lib/mail.php +++ b/www_data/lib/mail.php -@@ -12,16 +12,14 @@ use PHPMailer\PHPMailer\PHPMailer; +@@ -15,10 +15,10 @@ function mail_init(){ - function mail_init(){ - $mail = new PHPMailer(); -- - $mail->isSMTP(); - $mail->Host = SMTP_HOST; -- $mail->SMTPAuth = true; -+ $mail->SMTPAuth = false; - $mail->Username = SMTP_MAIL; - $mail->Password = SMTP_PASSWORD; -- $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; -+ $mail->SMTPSecure = false; - $mail->Port = SMTP_PORT; - $mail->CharSet = 'UTF-8'; -- - $mail->setFrom(SMTP_MAIL, 'moncycle.app'); - return $mail; - } \ No newline at end of file + $mail->isSMTP(); + $mail->Host = SMTP_HOST; +- $mail->SMTPAuth = true; ++ $mail->SMTPAuth = false; + $mail->Username = SMTP_MAIL; + $mail->Password = SMTP_PASSWORD; +- $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; ++ $mail->SMTPSecure = false; + $mail->Port = SMTP_PORT; + $mail->CharSet = 'UTF-8'; + \ No newline at end of file