diff --git a/app/Console/HaveAccess.php b/app/Console/HaveAccess.php index 781c565a..37944aee 100644 --- a/app/Console/HaveAccess.php +++ b/app/Console/HaveAccess.php @@ -87,16 +87,16 @@ trait HaveAccess return false; } - foreach($paths as $current) { - if($current === $path) { + foreach ($paths as $current) { + if ($current === $path) { return true; } - if(str_starts_with($path, $current)) { + if (str_starts_with($path, $current)) { app('log')->debug(sprintf('SOFT match on isAllowedPath, "%s" is a subdirectory of "%s"', $path, $current)); return true; } } - app('log')->error(sprintf('"%s" is not in the allowed paths.', $path),$paths); + app('log')->error(sprintf('"%s" is not in the allowed paths.', $path), $paths); return false; } } diff --git a/changelog.md b/changelog.md index c70ca536..e6c41423 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,14 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## 1.2.0 - 2023-03-13 +### Fixed +- [Issue 7214](https://github.com/firefly-iii/firefly-iii/issues/7214) Previous issue with account currency matching needed a Data Importer fix as well. + +### Changed +- This release will only work with Firefly III v6.0.4 + +## 1.2.0 - 2023-03-13 + ### Fixed - [Issue 7207](https://github.com/firefly-iii/firefly-iii/issues/7207) Missing key validation diff --git a/config/importer.php b/config/importer.php index b4366d40..336b4444 100644 --- a/config/importer.php +++ b/config/importer.php @@ -23,7 +23,7 @@ declare(strict_types=1); return [ - 'version' => '1.2.0', + 'version' => '1.2.1', 'flows' => ['nordigen', 'spectre', 'file'], 'flow_titles' => [ 'file' => 'File', @@ -43,7 +43,7 @@ return [ 'ignore_duplicate_errors' => env('IGNORE_DUPLICATE_ERRORS', false), 'namespace' => 'c40dcba2-411d-11ec-973a-0242ac130003', 'use_cache' => env('USE_CACHE', false), - 'minimum_version' => '6.0.3', + 'minimum_version' => '6.0.4', 'cache_api_calls' => false, 'ignored_files' => ['.gitignore'], 'tracker_site_id' => env('TRACKER_SITE_ID', ''),