From 04f28fea81225e17f60c4949ff2b6aa3202d32f7 Mon Sep 17 00:00:00 2001 From: Aerya Date: Wed, 17 Jun 2026 11:58:40 +0200 Subject: [PATCH] Affiche un statut pour un schedule en cours sans transfert actif La progression ne s'affichait que pendant qu'un cycle de scan telechargeait reellement des fichiers ; entre deux scans, le panneau d'un schedule "Running" restait vide, donnant l'impression qu'il ne se passait rien. Le panneau affiche desormais une ligne de statut (date du dernier scan et intervalle de re-scan) quand aucun transfert n'est actif. La table de progression reste affichee pendant un telechargement en cours. Passe la version a 2.4.1 et met a jour le changelog. --- README.md | 3 +++ conf/local/application.properties | 2 +- conf/release/application.properties | 2 +- src/main/resources/templates/fragments/transfers.html | 10 +++++++++- src/main/resources/templates/v2/schedules.html | 8 ++++++++ version.txt | 2 +- 6 files changed, 23 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c16b033..69f3c98 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,9 @@ docker run -d \ The web UI is then available on [http://localhost:8080](http://localhost:8080). # Changelog +- **2.4.1** + - A running schedule with no active transfer now shows a short status line (last scan time and re-scan interval) instead of an empty panel. The live progress table still appears while a scan is actually downloading files; between scans the schedule simply reports that it is idle. + - **2.4.0** - Added **Discord** and **Apprise** notifications, alongside the existing Pushbullet and Amazon SNS options, in the schedule editor's Notifications section. - Discord: paste a channel webhook URL. diff --git a/conf/local/application.properties b/conf/local/application.properties index a248044..f03f34a 100644 --- a/conf/local/application.properties +++ b/conf/local/application.properties @@ -1 +1 @@ -davos.version=2.4.0 +davos.version=2.4.1 diff --git a/conf/release/application.properties b/conf/release/application.properties index f3bb7ee..61de116 100644 --- a/conf/release/application.properties +++ b/conf/release/application.properties @@ -8,4 +8,4 @@ spring.jpa.hibernate.ddl-auto=update # Directory field. Mount your download volume here (see Dockerfile). davos.local.downloadRoot=/download -davos.version=2.4.0 +davos.version=2.4.1 diff --git a/src/main/resources/templates/fragments/transfers.html b/src/main/resources/templates/fragments/transfers.html index 2601cf3..357d1a5 100644 --- a/src/main/resources/templates/fragments/transfers.html +++ b/src/main/resources/templates/fragments/transfers.html @@ -35,4 +35,12 @@ - \ No newline at end of file + + +
+   + No active transfer right now. + Last scan: [[${schedule.lastRunTime}]]. + Waiting for the first scan… + Re-scans every [[${schedule.interval}]] min. +
\ No newline at end of file diff --git a/src/main/resources/templates/v2/schedules.html b/src/main/resources/templates/v2/schedules.html index f2d5523..f854b9b 100644 --- a/src/main/resources/templates/v2/schedules.html +++ b/src/main/resources/templates/v2/schedules.html @@ -101,6 +101,14 @@

Schedules

+ +
+   + No active transfer right now. + Last scan: [[${schedule.lastRunTime}]]. + Waiting for the first scan… + Re-scans every [[${schedule.interval}]] min. +
diff --git a/version.txt b/version.txt index 197c4d5..005119b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.4.0 +2.4.1