Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Code for 4.7.3 release.
James Cole3625f3293ae8
diff --git a/.sandstorm/changelog.md b/.sandstorm/changelog.mdindex 62cbe77596..b3032ac7d0 100644--- a/.sandstorm/changelog.md+++ b/.sandstorm/changelog.md@@ -1,3 +1,42 @@+# 4.7.3+- Currency added to API+- Firfely III will also generate a cash wallet for new users.+- Can now reset Spectre and bunq settings+- Docker file has a time zone+- Allow database connection to be configured in Docker file+- Can now view and edit attachments in edit-screen+- User can visit hidden `/attachments` page+- [Issue 1356](https://github.com/firefly-iii/firefly-iii/issues/1356): Budgets will show the remaining amount per day+- [Issue 1367](https://github.com/firefly-iii/firefly-iii/issues/1367): Rules now come in strict and non-strict mode.+- Added a security.txt+- More support for trusted proxies+- Improved edit routine for split transactions.+- Upgrade routine can handle `proc_close` being disabled.+- Bills now use rules to match transactions, making it more flexible.+- [Issue 1328](https://github.com/firefly-iii/firefly-iii/issues/1328): piggy banks no have a more useful chart.+- Spectre API upgraded to v4+- Move to MariaDB ([issue 1366](https://github.com/firefly-iii/firefly-iii/issues/1366))+- Piggy banks take currency from parent account ([issue 1334](https://github.com/firefly-iii/firefly-iii/issues/1334))+- [Issue 1341](https://github.com/firefly-iii/firefly-iii/issues/1341): Removed depricated command from dockerfile+- Several issues with docker image ([issue 1320](https://github.com/firefly-iii/firefly-iii/issues/1320), [issue 1382](https://github.com/firefly-iii/firefly-iii/issues/1382)).+- Fix giant tags and division by zero ([issue 1325](https://github.com/firefly-iii/firefly-iii/issues/1325) and others)+- Several issues with bunq import ([issue 1352](https://github.com/firefly-iii/firefly-iii/issues/1352), [issue 1330](https://github.com/firefly-iii/firefly-iii/issues/1330), [issue 1378](https://github.com/firefly-iii/firefly-iii/issues/1378), [issue 1380](https://github.com/firefly-iii/firefly-iii/issues/1380))+- [Issue 1246](https://github.com/firefly-iii/firefly-iii/issues/1246): date picker is internationalised+- [Issue 1327](https://github.com/firefly-iii/firefly-iii/issues/1327): fix formattting issues in piggy banks+- [Issue 1348](https://github.com/firefly-iii/firefly-iii/issues/1348): 500 error in API+- [Issue 1349](https://github.com/firefly-iii/firefly-iii/issues/1349): Errors in import routine+- Several fixes for (multi-currency) reconciliation ([issue 1336](https://github.com/firefly-iii/firefly-iii/issues/1336), [issue 1363](https://github.com/firefly-iii/firefly-iii/issues/1363))+- [Issue 1353](https://github.com/firefly-iii/firefly-iii/issues/1353): return NULL values in range-indicator+- Bug in split transaction edit routine+- Piggy bank percentage was very specific.+- Logging in Slack is easier to config.+- [Issue 1312](https://github.com/firefly-iii/firefly-iii/issues/1312) Import broken for ING accounts+- [Issue 1313](https://github.com/firefly-iii/firefly-iii/issues/1313) Error when creating new asset account+- [Issue 1317](https://github.com/firefly-iii/firefly-iii/issues/1317) Forgot an include :(+- Null pointer exception in transaction overview.+- Installations running in subdirs were incapable of creating OAuth tokens.+- OAuth keys were not created in all cases.+# 4.7.2- [Issue 1123](https://github.com/firefly-iii/firefly-iii/issues/1123) First browser based update routine.- Add support for Italian.@@ -40,8 +79,6 @@- [Issue 1297](https://github.com/firefly-iii/firefly-iii/issues/1297) Could not convert to withdrawal- [Issue 1226](https://github.com/firefly-iii/firefly-iii/issues/1226) Category overview in default report shows no income.- Various other bugs and problems ([issue 1198](https://github.com/firefly-iii/firefly-iii/issues/1198), [issue 1213](https://github.com/firefly-iii/firefly-iii/issues/1213), [issue 1237](https://github.com/firefly-iii/firefly-iii/issues/1237), [issue 1238](https://github.com/firefly-iii/firefly-iii/issues/1238), [issue 1199](https://github.com/firefly-iii/firefly-iii/issues/1199), [issue 1200](https://github.com/firefly-iii/firefly-iii/issues/1200))--### Security- Fixed an issue with token validation on the command line.# 4.7.1diff --git a/.sandstorm/sandstorm-pkgdef.capnp b/.sandstorm/sandstorm-pkgdef.capnpindex f2366ef0e2..32651e7869 100644--- a/.sandstorm/sandstorm-pkgdef.capnp+++ b/.sandstorm/sandstorm-pkgdef.capnp@@ -15,8 +15,8 @@ const pkgdef :Spk.PackageDefinition = (manifest = (appTitle = (defaultText = "Firefly III"),- appVersion = 10,- appMarketingVersion = (defaultText = "4.7.2.2"),+ appVersion = 11,+ appMarketingVersion = (defaultText = "4.7.3"),actions = [# Define your "new document" handlers here.diff --git a/app/Services/Spectre/Request/SpectreRequest.php b/app/Services/Spectre/Request/SpectreRequest.phpindex 2094fb8e3f..dedbac6537 100644--- a/app/Services/Spectre/Request/SpectreRequest.php+++ b/app/Services/Spectre/Request/SpectreRequest.php@@ -58,7 +58,7 @@ abstract class SpectreRequestpublic function __construct(User $user){$this->user = $user;- $this->server = config('firefly.spectre.server');+ $this->server = 'https://' . config('import.options.spectre.server');$this->expiresAt = time() + 180;$privateKey = app('preferences')->get('spectre_private_key', null);$this->privateKey = $privateKey->data;diff --git a/changelog.md b/changelog.mdindex 686bf6ff77..c36b8be568 100644--- a/changelog.md+++ b/changelog.md@@ -2,6 +2,43 @@All notable changes to this project will be documented in this file.This project adheres to [Semantic Versioning](http://semver.org/).+## [4.7.3] - 2018-04-29+### Added+- Currency added to API+- Firfely III will also generate a cash wallet for new users.+- Can now reset Spectre and bunq settings+- Docker file has a time zone+- Allow database connection to be configured in Docker file+- Can now view and edit attachments in edit-screen+- User can visit hidden `/attachments` page+- [Issue 1356](https://github.com/firefly-iii/firefly-iii/issues/1356): Budgets will show the remaining amount per day+- [Issue 1367](https://github.com/firefly-iii/firefly-iii/issues/1367): Rules now come in strict and non-strict mode.+- Added a security.txt+- More support for trusted proxies++### Changed+- Improved edit routine for split transactions.+- Upgrade routine can handle `proc_close` being disabled.+- Bills now use rules to match transactions, making it more flexible.+- [Issue 1328](https://github.com/firefly-iii/firefly-iii/issues/1328): piggy banks no have a more useful chart.+- Spectre API upgraded to v4+- Move to MariaDB ([issue 1366](https://github.com/firefly-iii/firefly-iii/issues/1366))+- Piggy banks take currency from parent account ([issue 1334](https://github.com/firefly-iii/firefly-iii/issues/1334))++### Deprecated+- [Issue 1341](https://github.com/firefly-iii/firefly-iii/issues/1341): Removed depricated command from dockerfile++### Fixed+- Several issues with docker image ([issue 1320](https://github.com/firefly-iii/firefly-iii/issues/1320), [issue 1382](https://github.com/firefly-iii/firefly-iii/issues/1382)).+- Fix giant tags and division by zero ([issue 1325](https://github.com/firefly-iii/firefly-iii/issues/1325) and others)+- Several issues with bunq import ([issue 1352](https://github.com/firefly-iii/firefly-iii/issues/1352), [issue 1330](https://github.com/firefly-iii/firefly-iii/issues/1330), [issue 1378](https://github.com/firefly-iii/firefly-iii/issues/1378), [issue 1380](https://github.com/firefly-iii/firefly-iii/issues/1380))+- [Issue 1246](https://github.com/firefly-iii/firefly-iii/issues/1246): date picker is internationalised+- [Issue 1327](https://github.com/firefly-iii/firefly-iii/issues/1327): fix formattting issues in piggy banks+- [Issue 1348](https://github.com/firefly-iii/firefly-iii/issues/1348): 500 error in API+- [Issue 1349](https://github.com/firefly-iii/firefly-iii/issues/1349): Errors in import routine+- Several fixes for (multi-currency) reconciliation ([issue 1336](https://github.com/firefly-iii/firefly-iii/issues/1336), [issue 1363](https://github.com/firefly-iii/firefly-iii/issues/1363))+- [Issue 1353](https://github.com/firefly-iii/firefly-iii/issues/1353): return NULL values in range-indicator+## [4.7.2.2] - 2018-04-04### Fixed- Bug in split transaction edit routinediff --git a/config/firefly.php b/config/firefly.phpindex 7ff8d17995..d86f7cc277 100644--- a/config/firefly.php+++ b/config/firefly.php@@ -89,7 +89,7 @@ return [],'encryption' => null === env('USE_ENCRYPTION') || env('USE_ENCRYPTION') === true,'version' => '4.7.3',- 'api_version' => '0.2',+ 'api_version' => '0.3','db_version' => 3,'maxUploadSize' => 15242880,'allowedMimes' => [diff --git a/config/import.php b/config/import.phpindex 5ea6abe6da..22961bab99 100644--- a/config/import.php+++ b/config/import.php@@ -69,9 +69,12 @@ return [],],'bunq' => [- 'server' => 'sandbox.public.api.bunq.com', // sandbox.public.api.bunq.com - api.bunq.com+ 'server' => 'api.bunq.com', // sandbox.public.api.bunq.com - api.bunq.com'version' => 'v1',],+ 'spectre' => [+ 'server' => 'www.saltedge.com',+ ],],'default_config' => ['file' => [