Ajoute les mises à jour autonomes

Les installations hors YunoHost peuvent désormais vérifier et installer une release Forgejo avec sauvegarde et retour arrière complet.
This commit is contained in:
Alexandre NOEL 2026-09-08 20:13:55 +02:00
commit 53e79a72d7
25 changed files with 1146 additions and 61 deletions

View file

@ -110,7 +110,7 @@ $formatSize = static function (int $bytes): string {
<?php foreach ($backups as $backup): ?>
<tr>
<td class="text-nowrap"><?= h($backup['date']) ?></td>
<td><strong><?= h($backup['name']) ?></strong><?php if (str_contains($backup['name'], 'avant-restauration')): ?>
<td><strong><?= h($backup['name']) ?></strong><?php if (str_contains($backup['name'], '-avant-')): ?>
<span class="badge bg-orange-lt"><?= h(t('backups.emergency')) ?></span><?php endif; ?></td>
<td><?= h($formatSize((int)$backup['size'])) ?></td>
<td>