Automatic push 4.3.1

This commit is contained in:
chevereto
2025-05-16 13:35:19 +00:00
parent 73b180a372
commit 6b0305da3b
8 changed files with 28 additions and 67 deletions

View File

@@ -1,50 +0,0 @@
Chevereto 4.3.0 (2025-05-13)
- Added API dashboard settings page
- Added application-level categories cache
- Added application-level guest listing cache
- Added application-level pages cache
- Added application-level settings cache
- Added application-level top tags cache
- Added application-level user albums cache
- Added application-level variables cache
- Added cache-flush command
- Added cache-view command
- Added CHEVERETO_ENABLE_API_USER
- Added CHEVERETO_MAX_LISTING_ITEMS_PER_PAGE limit
- Added CHEVERETO_MAX_TAGS limit
- Added chunked uploads
- Added circles for user avatars
- Added configurable API availability
- Added connect URL display for each login provider
- Added customizable semantics for file concerns
- Added customizable semantics for tag concerns
- Added customizable semantics for video concerns
- Added explicit instructions to "Something went wrong" message
- Added lossless JPEG auto-orientation using ExifTran
- Added lossless metadata removal using ExifTool
- Added more database composite indexes
- Added option to disable user color palette selection
- Added restricted password reset after repeated failures
- Added restricted two-factor access after repeated failures
- Added support for Cloudflare Turnstile captcha
- Added support for GoPro 360 photos
- Fixed bug affecting EXIF read for Sony cameras
- Fixed bug affecting private sub-albums
- Fixed bug in upload queue handler
- Fixed bug on upgrading.php
- Improved Dashboard settings menu sort display
- Improved database schema integer types
- Improved listing database queries
- Improved search engine (boolean matching)
- Improved stats query handling
- Improved user albums query
- Removed guest upload session binding
- Removed maximum upload limit imposed by php.ini
- Removed sendmail for Docker servicing
- Removed support for ModerateContent
- Removed unused dependencies and files
- Renamed "Asset storage" to "Site storage"
- Renamed "External storage" to "Upload storage"
- Renamed app/bin/legacy to app/bin/cli
- Updated file checksum algo to xxh64

7
.package/4.3.1.txt Normal file
View File

@@ -0,0 +1,7 @@
Chevereto 4.3.1 (2025-05-16)
- Downgraded AWS SDK to 3.336.15 for improved compatibility
- Fixed bug affecting PHP page routing and editing
- Fixed bug with ExifTool and ExifTran binary detection
- Fixed bug with S3 Compatible storage integration
- Improved FFmpeg binary detection in /dashboard

22
app/composer.lock generated
View File

@@ -6730,16 +6730,16 @@
},
{
"name": "phpstan/phpstan",
"version": "1.12.25",
"version": "1.12.26",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "e310849a19e02b8bfcbb63147f495d8f872dd96f"
"reference": "84cbf8f018e01834b9b1ac3dacf3b9780e209e53"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/e310849a19e02b8bfcbb63147f495d8f872dd96f",
"reference": "e310849a19e02b8bfcbb63147f495d8f872dd96f",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/84cbf8f018e01834b9b1ac3dacf3b9780e209e53",
"reference": "84cbf8f018e01834b9b1ac3dacf3b9780e209e53",
"shasum": ""
},
"require": {
@@ -6784,7 +6784,7 @@
"type": "github"
}
],
"time": "2025-04-27T12:20:45+00:00"
"time": "2025-05-14T11:08:32+00:00"
},
{
"name": "phpunit/php-code-coverage",
@@ -8181,16 +8181,16 @@
},
{
"name": "symplify/easy-coding-standard",
"version": "12.5.17",
"version": "12.5.18",
"source": {
"type": "git",
"url": "https://github.com/easy-coding-standard/easy-coding-standard.git",
"reference": "9ffb593275f3687a9a7f9b816a67e6a3470e9661"
"reference": "451dfeba3770f2d7476468b891a789c451ae4b34"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/9ffb593275f3687a9a7f9b816a67e6a3470e9661",
"reference": "9ffb593275f3687a9a7f9b816a67e6a3470e9661",
"url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/451dfeba3770f2d7476468b891a789c451ae4b34",
"reference": "451dfeba3770f2d7476468b891a789c451ae4b34",
"shasum": ""
},
"require": {
@@ -8226,7 +8226,7 @@
],
"support": {
"issues": "https://github.com/easy-coding-standard/easy-coding-standard/issues",
"source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/12.5.17"
"source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/12.5.18"
},
"funding": [
{
@@ -8238,7 +8238,7 @@
"type": "github"
}
],
"time": "2025-05-13T13:16:20+00:00"
"time": "2025-05-14T09:38:08+00:00"
},
{
"name": "theseer/tokenizer",

View File

@@ -648,6 +648,7 @@ $settings_updates = [
'enable_api_user' => 1,
'enable_api_guest' => 0,
],
'4.3.1' => null,
];
/**

View File

@@ -9,5 +9,5 @@
* file that was distributed with this source code.
*/
const APP_VERSION = '4.3.0';
const APP_VERSION = '4.3.1';
const APP_VERSION_AKA = 'entrador';

View File

@@ -543,7 +543,7 @@ return function (Handler $handler) {
$ffmpeg = FFMpeg::create(
[
'ffmpeg.binaries' => env()['CHEVERETO_BINARY_FFMPEG'],
// 'ffprobe.binaries' => env()['CHEVERETO_BINARY_FFPROBE'],
'ffprobe.binaries' => env()['CHEVERETO_BINARY_FFPROBE'],
]
);
} catch (Throwable $e) {

View File

@@ -44,6 +44,7 @@ return function (Handler $handler) {
}
$pathinfo = pathinfo($page['file_path_absolute']);
$handler->setPathTheme(add_ending_slash($pathinfo['dirname']));
$handler->setTemplate($pathinfo['filename']);
} else {
if ($page['code'] === null) {
$file = str_replace_last('.php', '.html', $page['file_path_absolute']);

View File

@@ -25,10 +25,12 @@ trait BinaryTrait
if ($binary === '') {
throw new RuntimeException("{$name} binary not provided", 1);
}
$finder = new ExecutableFinder();
$binary = $finder->find($binary);
if ($binary === null) {
throw new RuntimeException("{$name} binary not found", 2);
if (! file_exists($binary)) {
$finder = new ExecutableFinder();
$binary = $finder->find($binary);
if ($binary === null) {
throw new RuntimeException("{$name} binary not found", 2);
}
}
if (! is_executable($binary)) {
throw new RuntimeException("{$name} binary is not executable", 3);