From: Patrick Canterino Date: Sun, 18 Aug 2024 14:01:58 +0000 (+0000) Subject: Merge branch 'rebase_integrate_docker_build_and_publish' into 'next-release' X-Git-Tag: 4.6.1~23 X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/commitdiff_plain/d35f5d4eb87c1a74fd198be589fcdf51e9631ba9?hp=ac471fd7432906217f7a2d46b37d49b1c9f512ea Merge branch 'rebase_integrate_docker_build_and_publish' into 'next-release' #2: Build and publish Docker images using GitLab CI. See merge request jirafeau/Jirafeau!1 --- diff --git a/index.php b/index.php index 37dd677..b7e2606 100644 --- a/index.php +++ b/index.php @@ -204,7 +204,13 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) { ' . t('ONE_TIME_DL') . ':'; - echo ''; + echo ''; } if ($cfg['download_password_requirement'] === 'generated') { echo ''; diff --git a/lib/config.original.php b/lib/config.original.php index bfa76af..d261f68 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -152,6 +152,11 @@ $cfg['availability_default'] = 'month'; */ $cfg['one_time_download'] = true; +/* When set to "true", the checkbox for deleting the file after the first download + * is preselected. + */ +$cfg['one_time_download_preselected'] = false; + /* Set maximal upload size expressed in MB. * »0« means unlimited upload size. */ diff --git a/lib/settings.php b/lib/settings.php index 2cf7d0f..494dfd2 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -41,7 +41,7 @@ if ($cfg['debug'] === true) { /* Jirafeau package */ define('JIRAFEAU_PACKAGE', 'Jirafeau'); -define('JIRAFEAU_VERSION', '4.6.0'); +define('JIRAFEAU_VERSION', '4.6.x-dev'); define('JIRAFEAU_WEBSITE', 'https://gitlab.com/jirafeau/Jirafeau');