diff --git a/.package/4.3.0.txt b/.package/4.3.0.txt deleted file mode 100644 index cb289b2..0000000 --- a/.package/4.3.0.txt +++ /dev/null @@ -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 diff --git a/.package/4.3.1.txt b/.package/4.3.1.txt new file mode 100644 index 0000000..4d5d1eb --- /dev/null +++ b/.package/4.3.1.txt @@ -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 \ No newline at end of file diff --git a/app/composer.lock b/app/composer.lock index 9c0c915..4b5a273 100644 --- a/app/composer.lock +++ b/app/composer.lock @@ -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", diff --git a/app/legacy/install/installer.php b/app/legacy/install/installer.php index f97b68d..e4f1506 100644 --- a/app/legacy/install/installer.php +++ b/app/legacy/install/installer.php @@ -648,6 +648,7 @@ $settings_updates = [ 'enable_api_user' => 1, 'enable_api_guest' => 0, ], + '4.3.1' => null, ]; /** diff --git a/app/legacy/load/app.php b/app/legacy/load/app.php index 39e0939..a3a4d40 100644 --- a/app/legacy/load/app.php +++ b/app/legacy/load/app.php @@ -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'; diff --git a/app/legacy/routes/dashboard.php b/app/legacy/routes/dashboard.php index 457e238..db036d2 100644 --- a/app/legacy/routes/dashboard.php +++ b/app/legacy/routes/dashboard.php @@ -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) { diff --git a/app/legacy/routes/page.php b/app/legacy/routes/page.php index ff8182d..4bed1c9 100644 --- a/app/legacy/routes/page.php +++ b/app/legacy/routes/page.php @@ -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']); diff --git a/app/src/Legacy/Classes/Traits/BinaryTrait.php b/app/src/Legacy/Classes/Traits/BinaryTrait.php index 7020d09..3319d76 100644 --- a/app/src/Legacy/Classes/Traits/BinaryTrait.php +++ b/app/src/Legacy/Classes/Traits/BinaryTrait.php @@ -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);