From a9b4b33e25ea41e2e5f483c7ad88fad831ec057e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 07:02:19 +0000 Subject: [PATCH 2/3] Replace deprecated GRAMPSWEB_EMAIL_USE_TLS with EMAIL_USE_SSL and EMAIL_USE_STARTTLS The upstream Gramps Web project deprecated EMAIL_USE_TLS in favor of EMAIL_USE_SSL (for port 465) and EMAIL_USE_STARTTLS (for port 587). This updates the addon config schema and documentation accordingly. Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com> --- grampsweb/README.md | 5 +++-- grampsweb/config.yaml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/grampsweb/README.md b/grampsweb/README.md index 7d0ae5262..2e7ebf844 100644 --- a/grampsweb/README.md +++ b/grampsweb/README.md @@ -68,7 +68,8 @@ Webui can be found at . |--------|------|-------------| | `GRAMPSWEB_EMAIL_HOST` | str | SMTP server hostname | | `GRAMPSWEB_EMAIL_PORT` | int | SMTP server port | -| `GRAMPSWEB_EMAIL_USE_TLS` | bool | Use TLS encryption | +| `GRAMPSWEB_EMAIL_USE_SSL` | bool | Use SSL encryption (for port 465) | +| `GRAMPSWEB_EMAIL_USE_STARTTLS` | bool | Use STARTTLS encryption (for port 587) | | `GRAMPSWEB_EMAIL_HOST_USER` | str | SMTP username | | `GRAMPSWEB_EMAIL_HOST_PASSWORD` | str | SMTP password | | `GRAMPSWEB_DEFAULT_FROM_EMAIL` | str | Default sender email address | @@ -85,7 +86,7 @@ certfile: "fullchain.pem" keyfile: "privkey.pem" GRAMPSWEB_EMAIL_HOST: "smtp.gmail.com" GRAMPSWEB_EMAIL_PORT: 587 -GRAMPSWEB_EMAIL_USE_TLS: true +GRAMPSWEB_EMAIL_USE_STARTTLS: true GRAMPSWEB_EMAIL_HOST_USER: "your-email@gmail.com" GRAMPSWEB_EMAIL_HOST_PASSWORD: "your-app-password" GRAMPSWEB_DEFAULT_FROM_EMAIL: "gramps@example.com" diff --git a/grampsweb/config.yaml b/grampsweb/config.yaml index 51262a4f5..2562436e6 100644 --- a/grampsweb/config.yaml +++ b/grampsweb/config.yaml @@ -102,7 +102,8 @@ schema: GRAMPSWEB_BASE_URL: str? GRAMPSWEB_EMAIL_HOST: str? GRAMPSWEB_EMAIL_PORT: int? - GRAMPSWEB_EMAIL_USE_TLS: bool? + GRAMPSWEB_EMAIL_USE_SSL: bool? + GRAMPSWEB_EMAIL_USE_STARTTLS: bool? GRAMPSWEB_EMAIL_HOST_USER: str? GRAMPSWEB_EMAIL_HOST_PASSWORD: password? GRAMPSWEB_DEFAULT_FROM_EMAIL: email? From 5b0bc08210e244ed5829fa4e406789a96998175e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 08:18:49 +0000 Subject: [PATCH 3/3] Bump version to 26.2.0-1 and add changelog entry for email env fix Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com> --- grampsweb/CHANGELOG.md | 3 +++ grampsweb/config.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/grampsweb/CHANGELOG.md b/grampsweb/CHANGELOG.md index 516f6d81b..08ce56f90 100644 --- a/grampsweb/CHANGELOG.md +++ b/grampsweb/CHANGELOG.md @@ -1,4 +1,7 @@ +## "26.2.0-1" (2026-03-01) +- Replace deprecated GRAMPSWEB_EMAIL_USE_TLS with GRAMPSWEB_EMAIL_USE_SSL and GRAMPSWEB_EMAIL_USE_STARTTLS + ## 26.2.0 (2026-02-14) - Update to latest version from gramps-project/gramps-web (changelog : https://github.com/gramps-project/gramps-web/releases) diff --git a/grampsweb/config.yaml b/grampsweb/config.yaml index 2562436e6..699608203 100644 --- a/grampsweb/config.yaml +++ b/grampsweb/config.yaml @@ -115,5 +115,5 @@ services: slug: grampsweb tmpfs: true url: https://github.com/alexbelgium/hassio-addons/tree/master/grampsweb -version: "26.2.0" +version: "26.2.0-1" webui: "[PROTO:ssl]://[HOST]:[PORT:5001]"