before_script: *before_linter_script
script: *linter_script
<<: *linter_warning
-
-
-
-# Run tests for php:7.4
-job_lint_app_74:
- image: php:7.4
- before_script: *before_linter_script
- script: *linter_script
- <<: *linter_warning
# =================
# Deprecated ones END
- Cem
- Dan Untenzu
- Dark Horse
+- Davi Torres
- Dennis de Best
- Edwin Bos
- Erik Hubers
- Mathis Mensing
- Matthieu Schneider
- Mattias Münster
+- Max Hausch
- max keiser
- Michal Čihař
- Milo Ivir
- Zertrin
- Zoltán Faludi
- Степанчук Максим
-- Слободан Симић
\ No newline at end of file
+- Слободан Симић
## Version 4.7.x (not yet released)
+- Download stats are written before a one-time link is deleted. The other way around would cause write attempts to a directory that was already gone.
+- The `time` parameter is now optional in `script.php`
+- Few little more fixes and refactoring
- ...
+- Upgrade from 4.7.2: in-place upgrade
## Version 4.7.2
}
}
+jirafeau_write_download_stats($link_name, get_ip_address($cfg));
+
if ($link['onetime'] == 'O') {
jirafeau_delete_link($link_name);
}
-jirafeau_write_download_stats($link_name, get_ip_address($cfg));
-
exit;
?>
exit;
}
- if (!isset($_POST['time']) || !$cfg['availabilities'][$_POST['time']]) {
+ if (!isset($_POST['time'])) {
+ $time = jirafeau_datestr_to_int($cfg['availability_default']);
+ } elseif (!$cfg['availabilities'][$_POST['time']]) {
echo 'Error 4: The parameter time is invalid.';
exit;
} else {
exit;
}
- if (!isset($_POST['time']) || !$cfg['availabilities'][$_POST['time']]) {
+ if (!isset($_POST['time'])) {
+ $time = jirafeau_datestr_to_int($cfg['availability_default']);
+ } elseif (!$cfg['availabilities'][$_POST['time']]) {
echo 'Error 22';
exit;
} else {