diff --git a/ANLEITUNG.md b/ANLEITUNG.md index 6f5c988..19ed6f6 100644 --- a/ANLEITUNG.md +++ b/ANLEITUNG.md @@ -1,9 +1,31 @@ -# easy-ocpp v0.4.0 – Installation & Erststart (Windows) +# easy-ocpp v0.5.0 – Installation & Erststart (Windows) 🌐 [English](INSTALL.md) · [Deutsch](ANLEITUNG.md) · [Français](INSTALL.fr.md) · [Español](INSTALL.es.md) Management-Tool für Wallboxen (OCPP 1.5/1.6/2.0.1). Ein Binary, eine SQLite-Datei. +## Was ist neu in v0.5.0 + +- **Passwort selbst aendern.** Jeder Benutzer kann sein Passwort ueber seine + eigene Seite aendern. Dabei wird das bisherige abgefragt. +- **Passwortwechsel erzwingen.** Wer im Bereich „Benutzer" ein Passwort + vergibt, kann ankreuzen, dass der Benutzer es beim naechsten Anmelden selbst + aendern muss. Der Haken ist vorausgewaehlt, weil ein vom Administrator + vergebenes Passwort ueber einen zweiten Weg weitergegeben wird. Bis der + Wechsel erfolgt ist, fuehrt jede Seite auf das Wechselformular. +- **Monatsberichte per E-Mail.** Am Monatsersten bekommt jeder Benutzer, der im + Vormonat geladen hat und eine E-Mail-Adresse hinterlegt hat, seinen Bericht + als PDF zugeschickt. Wer nicht geladen hat, bekommt nichts. Der Versand ist + ausgeschaltet, solange kein `[mail]`-Abschnitt in der `config.toml` steht; + ein Beispiel liegt in `config.example.toml`. +- **Fehler behoben:** Unter „Meine Ladungen" stand bei der gerade laufenden + Ladung 0 kWh statt des aktuellen Standes. Ausserdem wurden Nachkommastellen + abgeschnitten, aus 2,7 kWh wurde 2. + +**Zum Mailversand:** Lief der Server am Monatsersten nicht, wird der Versand +spaeter im Monat nachgeholt. Wer ihn neu einschaltet, bekommt deshalb einmalig +den Bericht des Vormonats. Das ist zugleich der einfachste Test. + ## Was ist neu in v0.4.0 - **Mitarbeiter sind jetzt Benutzer.** Bisher gab es zwei getrennte Begriffe: @@ -206,4 +228,4 @@ Dienst/Aufgabe entfernen, Ordner löschen. Es gibt keine Registry-Einträge und --- -Version 0.4.0 · Lizenz: MIT +Version 0.5.0 · Lizenz: MIT diff --git a/CHANGELOG.md b/CHANGELOG.md index e7fee38..8c5306f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,39 @@ What changed in each release, written for the people who use easy-ocpp. +## 0.5.0 (1 September 2026) + +**Your monthly report can come to you by email.** On the first of each month, +everyone who charged during the previous month gets their own report as a PDF +attachment. People who did not charge get nothing, so nobody receives an empty +page. It needs an email address on the person and a mail server in the +configuration; until you set one up, nothing is sent. + +**You can change your own password.** There is now a page for it, reachable from +your own page, and it asks for your current password before letting you set a +new one. + +**Administrators can require a password change.** When you hand someone a +password, tick the box and they have to replace it the first time they sign in. +Until they do, every page takes them to the change form. This matters because a +password you set for someone has been spoken aloud or written in a message, so +it should not stay in use. + +**Fixed: a charging session in progress showed 0 kWh** in your own list of +sessions instead of how much had gone into the car so far. The same list also +cut off decimals, showing a 2.7 kWh session as 2. + +### Updating + +Copy the new program over the old one and restart. Nothing needs to be done by +hand. + +If you want the monthly emails, add a `[mail]` section to `config.toml`; there +is a commented example in `config.example.toml`. One thing to know: if the +server was not running on the first of the month, the send is caught up later +that month. Switching the feature on therefore sends last month's report once, +which is also the easiest way to check that your mail server accepts it. + ## 0.4.0 (1 September 2026) **Your charging sessions can now stop on their own.** Set a target amount of diff --git a/Cargo.lock b/Cargo.lock index 909c203..339be91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -584,7 +584,7 @@ checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" [[package]] name = "easy-ocpp" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "argon2", diff --git a/Cargo.toml b/Cargo.toml index a3a21fe..330929d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "easy-ocpp" -version = "0.4.0" +version = "0.5.0" edition = "2021" rust-version = "1.80" description = "Einfaches Management-Tool für Wallboxen (OCPP 1.5/1.6/2.0.1) für KMUs" diff --git a/INSTALL.es.md b/INSTALL.es.md index 4815b35..0144689 100644 --- a/INSTALL.es.md +++ b/INSTALL.es.md @@ -1,9 +1,30 @@ -# easy-ocpp v0.4.0 – Instalación y primer arranque (Windows) +# easy-ocpp v0.5.0 – Instalación y primer arranque (Windows) 🌐 [English](INSTALL.md) · [Deutsch](ANLEITUNG.md) · [Français](INSTALL.fr.md) · [Español](INSTALL.es.md) Herramienta de gestión para cargadores (OCPP 1.5/1.6/2.0.1). Un solo binario, un solo archivo SQLite. +## Novedades de la v0.5.0 + +- **Cambiar la propia contraseña.** Cada usuario puede cambiar su contraseña + desde su propia página. Se pide la contraseña anterior. +- **Exigir un cambio de contraseña.** Al establecer una contraseña en + «Usuarios» puede marcar que el usuario deba cambiarla la próxima vez que + inicie sesión. La casilla viene marcada, porque una contraseña entregada por + un administrador ha pasado por un segundo canal. Hasta que se realice el + cambio, todas las páginas llevan al formulario. +- **Informes mensuales por correo.** El primero de cada mes, quien haya cargado + el mes anterior y tenga una dirección de correo recibe su informe en PDF. + Quien no haya cargado no recibe nada. El envío está desactivado mientras no + exista una sección `[mail]` en `config.toml`; hay un ejemplo en + `config.example.toml`. +- **Corregido:** en «Mis cargas», una carga en curso mostraba 0 kWh en lugar del + valor actual. Además se truncaban los decimales y 2,7 kWh aparecía como 2. + +**Sobre el envío:** si el servidor no estuvo en marcha el día uno, el envío se +recupera más adelante en el mes. Por eso, al activarlo se envía una vez el +informe del mes anterior. Es también la forma más sencilla de probarlo. + ## Novedades de la v0.4.0 - **Los empleados ahora son usuarios.** Hasta ahora había dos conceptos @@ -210,4 +231,4 @@ Elimine el servicio/la tarea y borre la carpeta. No hay entradas en el registro --- -Versión 0.4.0 · Licencia: MIT +Versión 0.5.0 · Licencia: MIT diff --git a/INSTALL.fr.md b/INSTALL.fr.md index e65accc..686a320 100644 --- a/INSTALL.fr.md +++ b/INSTALL.fr.md @@ -1,9 +1,32 @@ -# easy-ocpp v0.4.0 – Installation & premier démarrage (Windows) +# easy-ocpp v0.5.0 – Installation & premier démarrage (Windows) 🌐 [English](INSTALL.md) · [Deutsch](ANLEITUNG.md) · [Français](INSTALL.fr.md) · [Español](INSTALL.es.md) Outil de gestion pour bornes de recharge (OCPP 1.5/1.6/2.0.1). Un seul binaire, un seul fichier SQLite. +## Nouveautés de la v0.5.0 + +- **Changer soi-même son mot de passe.** Chaque utilisateur peut changer son + mot de passe depuis sa propre page. L'ancien mot de passe est demandé. +- **Imposer un changement de mot de passe.** En définissant un mot de passe sous + « Utilisateurs », vous pouvez cocher que l'utilisateur devra le changer à sa + prochaine connexion. La case est cochée d'avance, car un mot de passe remis + par un administrateur a transité par un second canal. Tant que le changement + n'a pas eu lieu, toutes les pages mènent au formulaire. +- **Rapports mensuels par e-mail.** Le premier du mois, toute personne ayant + rechargé le mois précédent et disposant d'une adresse reçoit son rapport en + PDF. Celles qui n'ont pas rechargé ne reçoivent rien. L'envoi reste désactivé + tant qu'aucune section `[mail]` ne figure dans `config.toml` ; un exemple se + trouve dans `config.example.toml`. +- **Corrigé :** sous « Mes recharges », une recharge en cours affichait 0 kWh au + lieu de la valeur actuelle. Les décimales étaient également tronquées, 2,7 kWh + devenait 2. + +**À propos de l'envoi :** si le serveur n'a pas tourné le premier du mois, +l'envoi est rattrapé plus tard dans le mois. Activer la fonction envoie donc une +fois le rapport du mois précédent. C'est aussi la façon la plus simple de la +tester. + ## Nouveautés de la v0.4.0 - **Les employés sont désormais des utilisateurs.** Il existait jusqu'ici deux @@ -210,4 +233,4 @@ Supprimez le service/la tâche, supprimez le dossier. Il n'y a ni entrées de re --- -Version 0.4.0 · Licence : MIT +Version 0.5.0 · Licence : MIT diff --git a/INSTALL.md b/INSTALL.md index d83cce6..740c12c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,9 +1,31 @@ -# easy-ocpp v0.4.0 – Installation & First Start (Windows) +# easy-ocpp v0.5.0 – Installation & First Start (Windows) 🌐 [English](INSTALL.md) · [Deutsch](ANLEITUNG.md) · [Français](INSTALL.fr.md) · [Español](INSTALL.es.md) Management tool for wallboxes (OCPP 1.5/1.6/2.0.1). One binary, one SQLite file. +## What's new in v0.5.0 + +- **Change your own password.** Every user can change their password from their + own page. The current password is required to do so. +- **Require a password change.** When you set a password under "Users", you can + tick a box requiring the user to change it the next time they sign in. The box + is preselected, because a password handed out by an administrator has + travelled over a second channel. Until the change is done, every page leads to + the change form. +- **Monthly reports by email.** On the first of the month, everyone who charged + during the previous month and has an email address on file receives their + report as a PDF. People who did not charge receive nothing. Sending is off + until a `[mail]` section exists in `config.toml`; there is an example in + `config.example.toml`. +- **Fixed:** under "My charging", a session that was still running showed 0 kWh + instead of the current reading. Decimals were also cut off, turning 2.7 kWh + into 2. + +**About the email sending:** if the server was not running on the first of the +month, sending is caught up later that month. Switching it on therefore sends +last month's report once. That is also the easiest way to test it. + ## What's new in v0.4.0 - **Employees are users now.** There used to be two separate notions: a login @@ -204,4 +226,4 @@ Remove the service/task, delete the folder. There are no registry entries and no --- -Version 0.4.0 · License: MIT +Version 0.5.0 · License: MIT