Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Merge branch 'develop' into 5.8-dev
James Coleb56acf36c5c0
diff --cc changelog.mdindex 4106968288,48bd10e092..f10e83c9d2--- a/changelog.md+++ b/changelog.md@@@ -2,57 -2,11 +2,62 @@@All notable changes to this project will be documented in this file.This project adheres to [Semantic Versioning](http://semver.org/).+## 5.8.0-alpha.1 2023-01-01++This is the first release of the new 5.8.0 series of Firefly III. It should upgrade the database automatically BUT+make a backup of your database first! I guarantee nothing.++### Warnings++- ⚠️ Make a backup of your database first!+- ⚠️ This version requires **PHP 8.1** and there is a good chance the final version jumps to **PHP 8.2**.+- ⚠️ The new layout is not yet finished. Use it to change your data at your own risk.++### Added++Lots of new stuff that I invite you to test and break.++- #4975 Rules can copy/move description to notes and vice versa+- #5031 You can invite users to your installation when registration is off+- #5213 You can trigger recurring transactions+- #5592 Transactions have a little history box to show how rules changed them+- #5752 Firefly III can send Slack notifications instead of emails+- #5862 search can filter on reconciled transactions+- #6086 All search filters can be negative by putting `-` in front of them+- #6441 Buttons to purge deleted data, which is easy for data imports+- #6457 Rule trigger 'transaction exists', that will always trigger+- #6526 Option to disable rules and/or webhooks when saving transactions+- #6605 You can search for external ID values+- Working beta of the new layout under `/v3/`+- New authentication screens that support dark mode.++### Changed+- Firefly III requires PHP 8.1+- Liabilities are no longer part of your net worth.+- Liabilities no longer need two transactions to be managed properly (see the documentation)++### Removed+- #4198 The total available budget amount bar on the `/budgets` page is no longer manageable but will be auto-calculated++### Fixed++Not many bugfixes (yet).++- #6581 Fields were not cleared in the transaction screen in some cases++### API++New `/v2/` endpoints are being implemented that prepare the application for (among other things) the ability+to manage multiple financial administrations. The documentation for these endpoints will be at+https://api-docs.firefly-iii.org/.++- #6130 You can now create a reconciliation transaction++ ## 5.7.18 - 2023-01-03++ ### Fixed+ - [Issue 6775](https://github.com/firefly-iii/firefly-iii/issues/6775) OAuth authentication was broken for Authelia and other remote user providers.+ - [Issue 6787](https://github.com/firefly-iii/firefly-iii/issues/6787) SQLite value conversion broke several functions## 5.7.17 - 2022-12-30diff --cc composer.lockindex 0d3e9795af,cdd8b066e0..d0a984d7f5--- a/composer.lock+++ b/composer.lock@@@ -4,7 -4,7 +4,7 @@@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies","This file is @generated automatically"],- "content-hash": "4230f1333b687bd2443ab952863f07e0",- "content-hash": "aa2338cf980bee39c1e9ab48ace47a04",++ "content-hash": "ece1e0285a742c5275d83d6b9de60b84","packages": [{"name": "bacon/bacon-qr-code",@@@ -5092,21 -5030,21 +5094,20 @@@},{"name": "ramsey/collection",-- "version": "1.3.0",++ "version": "2.0.0","source": {"type": "git","url": "https://github.com/ramsey/collection.git",-- "reference": "ad7475d1c9e70b190ecffc58f2d989416af339b4"++ "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/ramsey/collection/zipball/ad7475d1c9e70b190ecffc58f2d989416af339b4",-- "reference": "ad7475d1c9e70b190ecffc58f2d989416af339b4",++ "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5",++ "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5","shasum": ""},"require": {-- "php": "^7.4 || ^8.0",-- "symfony/polyfill-php81": "^1.23"++ "php": "^8.1"},"require-dev": {"captainhook/plugin-composer": "^5.3",@@@ -5166,7 -5104,7 +5167,7 @@@],"support": {"issues": "https://github.com/ramsey/collection/issues",-- "source": "https://github.com/ramsey/collection/tree/1.3.0"++ "source": "https://github.com/ramsey/collection/tree/2.0.0"},"funding": [{@@@ -5178,7 -5116,7 +5179,7 @@@"type": "tidelift"}],-- "time": "2022-12-27T19:12:24+00:00"++ "time": "2022-12-31T21:50:55+00:00"},{"name": "ramsey/uuid",@@@ -6526,16 -6453,16 +6527,16 @@@},{"name": "symfony/http-kernel",- "version": "v6.2.3",- "version": "v6.0.18",++ "version": "v6.2.4","source": {"type": "git","url": "https://github.com/symfony/http-kernel.git",- "reference": "56c0c0d051579d25aec059a21dfe469634396a0f"- "reference": "71b52f9e5740b124894b454244fa0db48bb15814"++ "reference": "74f2e638ec3fa0315443bd85fab7fc8066b77f83"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/56c0c0d051579d25aec059a21dfe469634396a0f",- "reference": "56c0c0d051579d25aec059a21dfe469634396a0f",- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/71b52f9e5740b124894b454244fa0db48bb15814",- "reference": "71b52f9e5740b124894b454244fa0db48bb15814",++ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/74f2e638ec3fa0315443bd85fab7fc8066b77f83",++ "reference": "74f2e638ec3fa0315443bd85fab7fc8066b77f83","shasum": ""},"require": {@@@ -6617,7 -6542,7 +6618,7 @@@"description": "Provides a structured process for converting a Request into a Response","homepage": "https://symfony.com","support": {- "source": "https://github.com/symfony/http-kernel/tree/v6.2.3"- "source": "https://github.com/symfony/http-kernel/tree/v6.0.18"++ "source": "https://github.com/symfony/http-kernel/tree/v6.2.4"},"funding": [{@@@ -6633,7 -6558,7 +6634,7 @@@"type": "tidelift"}],- "time": "2022-12-28T15:05:50+00:00"- "time": "2022-12-29T18:58:12+00:00"++ "time": "2022-12-29T19:05:08+00:00"},{"name": "symfony/mailer",@@@ -7438,85 -7357,85 +7439,6 @@@],"time": "2022-11-03T14:55:06+00:00"},-- {-- "name": "symfony/polyfill-php81",-- "version": "v1.27.0",-- "source": {-- "type": "git",-- "url": "https://github.com/symfony/polyfill-php81.git",-- "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a"-- },-- "dist": {-- "type": "zip",-- "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a",-- "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a",-- "shasum": ""-- },-- "require": {-- "php": ">=7.1"-- },-- "type": "library",-- "extra": {-- "branch-alias": {-- "dev-main": "1.27-dev"-- },-- "thanks": {-- "name": "symfony/polyfill",-- "url": "https://github.com/symfony/polyfill"-- }-- },-- "autoload": {-- "files": [-- "bootstrap.php"-- ],-- "psr-4": {-- "Symfony\\Polyfill\\Php81\\": ""-- },-- "classmap": [-- "Resources/stubs"-- ]-- },-- "notification-url": "https://packagist.org/downloads/",-- "license": [-- "MIT"-- ],-- "authors": [-- {-- "name": "Nicolas Grekas",-- "email": "[email protected]"-- },-- {-- "name": "Symfony Community",-- "homepage": "https://symfony.com/contributors"-- }-- ],-- "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",-- "homepage": "https://symfony.com",-- "keywords": [-- "compatibility",-- "polyfill",-- "portable",-- "shim"-- ],-- "support": {-- "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0"-- },-- "funding": [-- {-- "url": "https://symfony.com/sponsor",-- "type": "custom"-- },-- {-- "url": "https://github.com/fabpot",-- "type": "github"-- },-- {-- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",-- "type": "tidelift"-- }-- ],-- "time": "2022-11-03T14:55:06+00:00"-- },{"name": "symfony/polyfill-uuid","version": "v1.27.0",@@@ -8980,86 -8889,8 +8902,86 @@@"type": "tidelift"}],- "time": "2022-03-03T08:28:38+00:00"+ "time": "2022-12-30T00:15:36+00:00"},+ {+ "name": "ergebnis/phpstan-rules",+ "version": "1.0.0",+ "source": {+ "type": "git",+ "url": "https://github.com/ergebnis/phpstan-rules.git",+ "reference": "ebeced30d7e50324a94a83c19a59d75816e8fbb4"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/ebeced30d7e50324a94a83c19a59d75816e8fbb4",+ "reference": "ebeced30d7e50324a94a83c19a59d75816e8fbb4",+ "shasum": ""+ },+ "require": {+ "ext-mbstring": "*",+ "nikic/php-parser": "^4.2.3",+ "php": "^7.2 || ^8.0",+ "phpstan/phpstan": "^1.0.0"+ },+ "require-dev": {+ "doctrine/orm": "^2.10.2",+ "ergebnis/composer-normalize": "^2.15.0",+ "ergebnis/license": "^1.1.0",+ "ergebnis/php-cs-fixer-config": "^2.14.0",+ "ergebnis/test-util": "^1.5.0",+ "infection/infection": "~0.15.3",+ "nette/di": "^3.0.11",+ "phpstan/phpstan-deprecation-rules": "^1.0.0",+ "phpstan/phpstan-strict-rules": "^1.0.0",+ "phpunit/phpunit": "^8.5.21",+ "psalm/plugin-phpunit": "~0.16.1",+ "psr/container": "^1.0.0",+ "vimeo/psalm": "^4.12.0",+ "zendframework/zend-servicemanager": "^2.0.0"+ },+ "type": "phpstan-extension",+ "extra": {+ "phpstan": {+ "includes": [+ "rules.neon"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "Ergebnis\\PHPStan\\Rules\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Andreas Möller",+ "email": "[email protected]"+ }+ ],+ "description": "Provides additional rules for phpstan/phpstan.",+ "homepage": "https://github.com/ergebnis/phpstan-rules",+ "keywords": [+ "PHPStan",+ "phpstan-extreme-rules",+ "phpstan-rules"+ ],+ "support": {+ "issues": "https://github.com/ergebnis/phpstan-rules/issues",+ "source": "https://github.com/ergebnis/phpstan-rules"+ },+ "funding": [+ {+ "url": "https://github.com/localheinz",+ "type": "github"+ }+ ],+ "time": "2021-11-08T15:37:09+00:00"+ },{"name": "fakerphp/faker","version": "v1.21.0",@@@ -9366,103 -9197,6 +9288,103 @@@},"time": "2022-11-12T15:38:23+00:00"},+ {+ "name": "nunomaduro/larastan",- "version": "2.3.2",++ "version": "2.3.4",+ "source": {+ "type": "git",+ "url": "https://github.com/nunomaduro/larastan.git",- "reference": "f5103aaa9ebe050689b7c4f7870563bb2de33f92"++ "reference": "32ad25904dc8fbfdae4d4e431a27ba3bad2979cc"+ },+ "dist": {+ "type": "zip",- "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/f5103aaa9ebe050689b7c4f7870563bb2de33f92",- "reference": "f5103aaa9ebe050689b7c4f7870563bb2de33f92",++ "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/32ad25904dc8fbfdae4d4e431a27ba3bad2979cc",++ "reference": "32ad25904dc8fbfdae4d4e431a27ba3bad2979cc",+ "shasum": ""+ },+ "require": {+ "ext-json": "*",+ "illuminate/console": "^9",+ "illuminate/container": "^9",+ "illuminate/contracts": "^9",+ "illuminate/database": "^9",+ "illuminate/http": "^9",+ "illuminate/pipeline": "^9",+ "illuminate/support": "^9",+ "mockery/mockery": "^1.4.4",+ "php": "^8.0.2",+ "phpmyadmin/sql-parser": "^5.5",+ "phpstan/phpstan": "^1.9.4"+ },+ "require-dev": {+ "nikic/php-parser": "^4.13.2",+ "orchestra/testbench": "^7.0.0",+ "phpunit/phpunit": "^9.5.11"+ },+ "suggest": {+ "orchestra/testbench": "Using Larastan for analysing a package needs Testbench"+ },+ "type": "phpstan-extension",+ "extra": {+ "branch-alias": {+ "dev-master": "2.0-dev"+ },+ "phpstan": {+ "includes": [+ "extension.neon"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "NunoMaduro\\Larastan\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "authors": [+ {+ "name": "Nuno Maduro",+ "email": "[email protected]"+ }+ ],+ "description": "Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel",+ "keywords": [+ "PHPStan",+ "code analyse",+ "code analysis",+ "larastan",+ "laravel",+ "package",+ "php",+ "static analysis"+ ],+ "support": {+ "issues": "https://github.com/nunomaduro/larastan/issues",- "source": "https://github.com/nunomaduro/larastan/tree/2.3.2"++ "source": "https://github.com/nunomaduro/larastan/tree/2.3.4"+ },+ "funding": [+ {+ "url": "https://www.paypal.com/paypalme/enunomaduro",+ "type": "custom"+ },+ {+ "url": "https://github.com/canvural",+ "type": "github"+ },+ {+ "url": "https://github.com/nunomaduro",+ "type": "github"+ },+ {+ "url": "https://www.patreon.com/nunomaduro",+ "type": "patreon"+ }+ ],- "time": "2022-12-29T10:58:10+00:00"++ "time": "2023-01-02T12:13:26+00:00"+ },{"name": "phar-io/manifest","version": "2.0.3",@@@ -9682,234 -9416,6 +9604,247 @@@},"time": "2022-10-14T12:47:21+00:00"},+ {+ "name": "phpmyadmin/sql-parser",- "version": "5.5.0",++ "version": "5.6.0",+ "source": {+ "type": "git",+ "url": "https://github.com/phpmyadmin/sql-parser.git",- "reference": "8ab99cd0007d880f49f5aa1807033dbfa21b1cb5"++ "reference": "63f2f77847586864a661ef009ae687dbdda0a9f1"+ },+ "dist": {+ "type": "zip",- "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/8ab99cd0007d880f49f5aa1807033dbfa21b1cb5",- "reference": "8ab99cd0007d880f49f5aa1807033dbfa21b1cb5",++ "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/63f2f77847586864a661ef009ae687dbdda0a9f1",++ "reference": "63f2f77847586864a661ef009ae687dbdda0a9f1",+ "shasum": ""+ },+ "require": {+ "php": "^7.1 || ^8.0",- "symfony/polyfill-mbstring": "^1.3"++ "symfony/polyfill-mbstring": "^1.3",++ "symfony/polyfill-php80": "^1.16"+ },+ "conflict": {+ "phpmyadmin/motranslator": "<3.0"+ },+ "require-dev": {+ "phpmyadmin/coding-standard": "^3.0",+ "phpmyadmin/motranslator": "^4.0 || ^5.0",+ "phpstan/extension-installer": "^1.1",+ "phpstan/phpstan": "^1.2",+ "phpstan/phpstan-phpunit": "^1.0",+ "phpunit/php-code-coverage": "*",+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",+ "psalm/plugin-phpunit": "^0.16.1",+ "vimeo/psalm": "^4.11",+ "zumba/json-serializer": "^3.0"+ },+ "suggest": {+ "ext-mbstring": "For best performance",+ "phpmyadmin/motranslator": "Translate messages to your favorite locale"+ },+ "bin": [+ "bin/highlight-query",+ "bin/lint-query",+ "bin/tokenize-query"+ ],+ "type": "library",+ "autoload": {+ "psr-4": {+ "PhpMyAdmin\\SqlParser\\": "src"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "GPL-2.0-or-later"+ ],+ "authors": [+ {+ "name": "The phpMyAdmin Team",+ "email": "[email protected]",+ "homepage": "https://www.phpmyadmin.net/team/"+ }+ ],+ "description": "A validating SQL lexer and parser with a focus on MySQL dialect.",+ "homepage": "https://github.com/phpmyadmin/sql-parser",+ "keywords": [+ "analysis",+ "lexer",+ "parser",- "sql"++ "query linter",++ "sql",++ "sql lexer",++ "sql linter",++ "sql parser",++ "sql syntax highlighter",++ "sql tokenizer"+ ],+ "support": {+ "issues": "https://github.com/phpmyadmin/sql-parser/issues",+ "source": "https://github.com/phpmyadmin/sql-parser"+ },- "time": "2021-12-09T04:31:52+00:00"++ "funding": [++ {++ "url": "https://www.phpmyadmin.net/donate/",++ "type": "other"++ }++ ],++ "time": "2023-01-02T05:36:07+00:00"+ },+ {+ "name": "phpstan/phpstan",+ "version": "1.9.4",+ "source": {+ "type": "git",+ "url": "https://github.com/phpstan/phpstan.git",+ "reference": "d03bccee595e2146b7c9d174486b84f4dc61b0f2"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d03bccee595e2146b7c9d174486b84f4dc61b0f2",+ "reference": "d03bccee595e2146b7c9d174486b84f4dc61b0f2",+ "shasum": ""+ },+ "require": {+ "php": "^7.2|^8.0"+ },+ "conflict": {+ "phpstan/phpstan-shim": "*"+ },+ "bin": [+ "phpstan",+ "phpstan.phar"+ ],+ "type": "library",+ "autoload": {+ "files": [+ "bootstrap.php"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "PHPStan - PHP Static Analysis Tool",+ "keywords": [+ "dev",+ "static analysis"+ ],+ "support": {+ "issues": "https://github.com/phpstan/phpstan/issues",+ "source": "https://github.com/phpstan/phpstan/tree/1.9.4"+ },+ "funding": [+ {+ "url": "https://github.com/ondrejmirtes",+ "type": "github"+ },+ {+ "url": "https://github.com/phpstan",+ "type": "github"+ },+ {+ "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",+ "type": "tidelift"+ }+ ],+ "time": "2022-12-17T13:33:52+00:00"+ },+ {+ "name": "phpstan/phpstan-deprecation-rules",+ "version": "1.1.1",+ "source": {+ "type": "git",+ "url": "https://github.com/phpstan/phpstan-deprecation-rules.git",+ "reference": "2c6792eda026d9c474c14aa018aed312686714db"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/2c6792eda026d9c474c14aa018aed312686714db",+ "reference": "2c6792eda026d9c474c14aa018aed312686714db",+ "shasum": ""+ },+ "require": {+ "php": "^7.2 || ^8.0",+ "phpstan/phpstan": "^1.9.3"+ },+ "require-dev": {+ "php-parallel-lint/php-parallel-lint": "^1.2",+ "phpstan/phpstan-php-parser": "^1.1",+ "phpstan/phpstan-phpunit": "^1.0",+ "phpunit/phpunit": "^9.5"+ },+ "type": "phpstan-extension",+ "extra": {+ "phpstan": {+ "includes": [+ "rules.neon"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "PHPStan\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.",+ "support": {+ "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues",+ "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.1.1"+ },+ "time": "2022-12-13T14:26:20+00:00"+ },+ {+ "name": "phpstan/phpstan-strict-rules",+ "version": "1.4.4",+ "source": {+ "type": "git",+ "url": "https://github.com/phpstan/phpstan-strict-rules.git",+ "reference": "23e5f377ee6395a1a04842d3d6ed4bd25e7b44a6"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/23e5f377ee6395a1a04842d3d6ed4bd25e7b44a6",+ "reference": "23e5f377ee6395a1a04842d3d6ed4bd25e7b44a6",+ "shasum": ""+ },+ "require": {+ "php": "^7.2 || ^8.0",+ "phpstan/phpstan": "^1.8.6"+ },+ "require-dev": {+ "nikic/php-parser": "^4.13.0",+ "php-parallel-lint/php-parallel-lint": "^1.2",+ "phpstan/phpstan-phpunit": "^1.0",+ "phpunit/phpunit": "^9.5"+ },+ "type": "phpstan-extension",+ "extra": {+ "phpstan": {+ "includes": [+ "rules.neon"+ ]+ }+ },+ "autoload": {+ "psr-4": {+ "PHPStan\\": "src/"+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "Extra strict and opinionated rules for PHPStan",+ "support": {+ "issues": "https://github.com/phpstan/phpstan-strict-rules/issues",+ "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.4.4"+ },+ "time": "2022-09-21T11:38:17+00:00"+ },{"name": "phpunit/php-code-coverage","version": "9.2.23",