From 4fe93b5ff3d162f6edbc73a0bbcc7381f1955b05 Mon Sep 17 00:00:00 2001 From: "IETM_FIXE\\ietm6" Date: Wed, 29 Apr 2026 10:56:37 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20probl=C3=A8me=20mise=20=C3=A0=20jo?= =?UTF-8?q?ur=20:=20l'application=20ne=20voyait=20pas=20les=20mises=20?= =?UTF-8?q?=C3=A0=20jour=20quand=20on=20lan=C3=A7ait=20docker=20apr=C3=A8s?= =?UTF-8?q?=20avoir=20push=20la=20derni=C3=A8re=20version.=20Effectivement?= =?UTF-8?q?=20:=20au=20demarrage,=20docker=20ce=20mettait=20automatiquemen?= =?UTF-8?q?t=20sur=20la=20derni=C3=A8re=20version=20alors=20qu'il=20n'avai?= =?UTF-8?q?t=20pas=20necessairement=20r=C3=A9cup=C3=A9rer,=20ducoup=20comp?= =?UTF-8?q?araison=20faisait=20true=20et=20on=20arrivait=20pas=20=C3=A0=20?= =?UTF-8?q?avoir=20la=20derniere=20version=20du=20code.=20Push=20de=20la?= =?UTF-8?q?=20cl=C3=A9=20jwt=20publique=20:=20sinon=20pas=20incluse=20dans?= =?UTF-8?q?=20le=20jar=20finale=20et=20la=20section=20patreon=20n'apparais?= =?UTF-8?q?sait=20pas.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 + core/pom.xml | 12 +- .../updates/UpdateCheckService.java | 497 ++++++++---------- .../src/main/resources/application.properties | 2 - .../resources/licensing/jwt-public-key.pem | 3 + .../updates/UpdateCheckServiceTest.java | 242 +++++---- installers/install.ps1 | 2 +- web/package-lock.json | 4 +- web/package.json | 2 +- web/src/app/services/license.service.ts | 4 +- web/src/app/services/updates.service.ts | 13 +- 11 files changed, 391 insertions(+), 395 deletions(-) create mode 100644 core/src/main/resources/licensing/jwt-public-key.pem diff --git a/.gitignore b/.gitignore index 7cee59f..d0be019 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,11 @@ brain/data/settings.json *.key *.pem +# Exception : la cle PUBLIQUE JWT du relais Patreon est destinee a etre +# embarquee dans le binaire. Pas de risque a la committer (c'est une cle +# publique par construction). Sans cette exception, le module licensing +# est silencieusement desactive dans les builds CI. +!core/src/main/resources/licensing/jwt-public-key.pem # ============================================================================ # Java / Spring Boot / Maven diff --git a/core/pom.xml b/core/pom.xml index cc8897a..48c0507 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -14,7 +14,7 @@ com.loremind loremind-core - 0.8.0 + 0.8.1 LoreMind Core Backend Core - Architecture Hexagonale @@ -111,6 +111,16 @@ + + + + + build-info + + +