Skip to content

Firefly III: a personal finances manager

🤖 Auto commit for release 'develop' on 2026-09-18

JC59bc6e4a06624
diff --git a/app/Api/V1/Controllers/Insight/Income/TagController.php b/app/Api/V1/Controllers/Insight/Income/TagController.php
index df99eef909..94be2ae461 100644
--- a/app/Api/V1/Controllers/Insight/Income/TagController.php
+++ b/app/Api/V1/Controllers/Insight/Income/TagController.php
@@ -158,7 +158,10 @@ final class TagController extends Controller
'currency_id' => (string) $foreignCurrencyId,
'currency_code' => $journal['foreign_currency_code'],
];
- $response[$foreignKey]['difference'] = bcadd((string) $response[$foreignKey]['difference'], Steam::positive($journal['foreign_amount']));
+ $response[$foreignKey]['difference'] = bcadd(
+ (string) $response[$foreignKey]['difference'],
+ Steam::positive($journal['foreign_amount'])
+ );
$response[$foreignKey]['difference_float'] = (float) $response[$foreignKey]['difference'];
}
}
diff --git a/app/Api/V1/Controllers/Insight/Transfer/TagController.php b/app/Api/V1/Controllers/Insight/Transfer/TagController.php
index f92a7aa9f0..b7b85fd376 100644
--- a/app/Api/V1/Controllers/Insight/Transfer/TagController.php
+++ b/app/Api/V1/Controllers/Insight/Transfer/TagController.php
@@ -155,7 +155,10 @@ final class TagController extends Controller
'currency_id' => (string) $foreignCurrencyId,
'currency_code' => $journal['foreign_currency_code'],
];
- $response[$foreignKey]['difference'] = bcadd((string) $response[$foreignKey]['difference'], Steam::positive($journal['foreign_amount']));
+ $response[$foreignKey]['difference'] = bcadd(
+ (string) $response[$foreignKey]['difference'],
+ Steam::positive($journal['foreign_amount'])
+ );
$response[$foreignKey]['difference_float'] = (float) $response[$foreignKey]['difference']; // intentional float
}
}
diff --git a/app/Http/Controllers/Budget/BudgetLimitController.php b/app/Http/Controllers/Budget/BudgetLimitController.php
index 2edb4f5531..d461374baa 100644
--- a/app/Http/Controllers/Budget/BudgetLimitController.php
+++ b/app/Http/Controllers/Budget/BudgetLimitController.php
@@ -198,7 +198,13 @@ final class BudgetLimitController extends Controller
if ($request->expectsJson()) {
$array = $limit->toArray();
// add some extra metadata:
- $spentArr = $this->opsRepository->sumExpenses($limit->start_date, $limit->end_date, null, new Collection()->push($budget), $currency);
+ $spentArr = $this->opsRepository->sumExpenses(
+ $limit->start_date,
+ $limit->end_date,
+ null,
+ new Collection()->push($budget),
+ $currency
+ );
$array['spent'] = $spentArr[$currency->id]['sum'] ?? '0';
$array['left_formatted'] = Amount::formatAnything($limit->transactionCurrency, bcadd($array['spent'], (string) $array['amount']));
$array['amount_formatted'] = Amount::formatAnything($limit->transactionCurrency, $limit['amount']);
diff --git a/app/Http/Controllers/Budget/IndexController.php b/app/Http/Controllers/Budget/IndexController.php
index 65429e59c1..52c6f900e3 100644
--- a/app/Http/Controllers/Budget/IndexController.php
+++ b/app/Http/Controllers/Budget/IndexController.php
@@ -272,7 +272,10 @@ final class IndexController extends Controller
if (array_key_exists($currency->id, $spentArr) && array_key_exists('sum', $spentArr[$currency->id])) {
$array['spent'][$currency->id]['spent'] = $spentArr[$currency->id]['sum'];
- $array['spent'][$currency->id]['spent_outside'] = Steam::negative(bcsub($spentInLimits[$currency->id], $spentArr[$currency->id]['sum']));
+ $array['spent'][$currency->id]['spent_outside'] = Steam::negative(bcsub(
+ $spentInLimits[$currency->id],
+ $spentArr[$currency->id]['sum']
+ ));
$array['spent'][$currency->id]['currency_id'] = $currency->id;
$array['spent'][$currency->id]['currency_symbol'] = $currency->symbol;
$array['spent'][$currency->id]['currency_decimal_places'] = $currency->decimal_places;
diff --git a/app/Http/Controllers/Chart/BudgetController.php b/app/Http/Controllers/Chart/BudgetController.php
index ad724137dc..f4b32fe5c5 100644
--- a/app/Http/Controllers/Chart/BudgetController.php
+++ b/app/Http/Controllers/Chart/BudgetController.php
@@ -539,7 +539,13 @@ final class BudgetController extends Controller
}
// get spent amount in this period for this currency.
- $sum = $this->opsRepository->sumExpenses($currentStart, $currentEnd, $accounts, new Collection()->push($budget), $currency);
+ $sum = $this->opsRepository->sumExpenses(
+ $currentStart,
+ $currentEnd,
+ $accounts,
+ new Collection()->push($budget),
+ $currency
+ );
$amount = Steam::positive($sum[$currency->id]['sum'] ?? '0');
$chartData[0]['entries'][$title] = Steam::bcround($amount, $currency->decimal_places);
diff --git a/app/Http/Controllers/Transaction/BulkController.php b/app/Http/Controllers/Transaction/BulkController.php
index 9cce4f94ba..057b33aaa7 100644
--- a/app/Http/Controllers/Transaction/BulkController.php
+++ b/app/Http/Controllers/Transaction/BulkController.php
@@ -104,7 +104,7 @@ final class BulkController extends Controller
$journal = $this->repository->find($journalId);
if (null !== $journal) {
$resultA = $this->updateJournalBudget($journal, $ignoreBudget, $request->integer('budget_id'));
- $resultB = $this->updateJournalTags($journal, $tagsAction, $request->input('tags') );
+ $resultB = $this->updateJournalTags($journal, $tagsAction, $request->input('tags'));
$resultC = $this->updateJournalCategory($journal, $ignoreCategory, $request->convertString('category'));
if ($resultA || $resultB || $resultC) {
++$count;
diff --git a/app/Http/Requests/BulkEditJournalRequest.php b/app/Http/Requests/BulkEditJournalRequest.php
index 361b0db5cc..04e00b3885 100644
--- a/app/Http/Requests/BulkEditJournalRequest.php
+++ b/app/Http/Requests/BulkEditJournalRequest.php
@@ -46,8 +46,8 @@ class BulkEditJournalRequest extends FormRequest
{
// fixed
return [
- 'journals.*' => ['required', 'belongsToUser:transaction_journals,id'],
- 'tags_action' => 'in:no_nothing,do_replace,do_append'
+ 'journals.*' => ['required', 'belongsToUser:transaction_journals,id'],
+ 'tags_action' => 'in:no_nothing,do_replace,do_append',
];
}
diff --git a/app/Jobs/CreateAutoBudgetLimits.php b/app/Jobs/CreateAutoBudgetLimits.php
index 476da65ac3..affea656a0 100644
--- a/app/Jobs/CreateAutoBudgetLimits.php
+++ b/app/Jobs/CreateAutoBudgetLimits.php
@@ -132,7 +132,13 @@ class CreateAutoBudgetLimits implements ShouldQueue
// if has one, calculate expenses and use that as a base.
$repository = app(OperationsRepositoryInterface::class);
$repository->setUser($autoBudget->budget->user);
- $spent = $repository->sumExpenses($previousStart, $previousEnd, null, new Collection()->push($autoBudget->budget), $autoBudget->transactionCurrency);
+ $spent = $repository->sumExpenses(
+ $previousStart,
+ $previousEnd,
+ null,
+ new Collection()->push($autoBudget->budget),
+ $autoBudget->transactionCurrency
+ );
$currencyId = $autoBudget->transaction_currency_id;
$spentAmount = $spent[$currencyId]['sum'] ?? '0';
Log::debug(sprintf('Spent in previous budget period (%s-%s) is %s', $previousStart->format('Y-m-d'), $previousEnd->format('Y-m-d'), $spentAmount));
@@ -222,7 +228,13 @@ class CreateAutoBudgetLimits implements ShouldQueue
// if has one, calculate expenses and use that as a base.
$repository = app(OperationsRepositoryInterface::class);
$repository->setUser($autoBudget->budget->user);
- $spent = $repository->sumExpenses($previousStart, $previousEnd, null, new Collection()->push($autoBudget->budget), $autoBudget->transactionCurrency);
+ $spent = $repository->sumExpenses(
+ $previousStart,
+ $previousEnd,
+ null,
+ new Collection()->push($autoBudget->budget),
+ $autoBudget->transactionCurrency
+ );
$currencyId = $autoBudget->transaction_currency_id;
$spentAmount = $spent[$currencyId]['sum'] ?? '0';
Log::debug(sprintf('Spent in previous budget period (%s-%s) is %s', $previousStart->format('Y-m-d'), $previousEnd->format('Y-m-d'), $spentAmount));
diff --git a/app/Support/Http/Controllers/AugumentData.php b/app/Support/Http/Controllers/AugumentData.php
index a3a940b1ba..a507156873 100644
--- a/app/Support/Http/Controllers/AugumentData.php
+++ b/app/Support/Http/Controllers/AugumentData.php
@@ -222,7 +222,14 @@ trait AugumentData
$currentEnd->addMonth();
}
// primary currency amount.
- $expenses = $opsRepository->sumExpenses($currentStart, $currentEnd, null, $budgetCollection, $entry->transactionCurrency, $this->convertToPrimary);
+ $expenses = $opsRepository->sumExpenses(
+ $currentStart,
+ $currentEnd,
+ null,
+ $budgetCollection,
+ $entry->transactionCurrency,
+ $this->convertToPrimary
+ );
$spent = $expenses[$currency->id]['sum'] ?? '0';
$entry->pc_spent = $spent;
diff --git a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php
index d0c09bf027..2428353cb0 100644
--- a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php
+++ b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php
@@ -354,7 +354,11 @@ class RecurringEnrichment implements EnrichmentInterface
/** @var RecurrenceRepetition $repetition */
foreach ($set as $repetition) {
- $recurrence = $this->collection->filter(static fn (Recurrence $item): bool => (int) $item->id === (int) $repetition->recurrence_id)->first();
+ $recurrence = $this->collection->filter(
+ static fn (Recurrence $item): bool => (int) $item->id === (int) $repetition->recurrence_id
+ )
+ ->first()
+ ;
$fromDate = clone ($recurrence->latest_date ?? $recurrence->first_date);
$recurrenceId = (int) $repetition->recurrence_id;
$repId = (int) $repetition->id;
diff --git a/changelog.md b/changelog.md
index 0b07bb1114..5219d4b9d6 100644
--- a/changelog.md
+++ b/changelog.md
@@ -13,8 +13,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- [Issue 12795](https://github.com/firefly-iii/firefly-iii/issues/12795) (Clicking dates in reporting section with mouse always reset both dateboxes to "gg/mm/yyyy".) reported by @no-coders
- [Issue 12794](https://github.com/firefly-iii/firefly-iii/issues/12794) (Mobile layout: Budget and Spending chart is not displayed) reported by @MaxMapo
- [Discussion 12760](https://github.com/orgs/firefly-iii/discussions/12760) (419 Page expired when selecting a different date range) started by @wecoyote5
-- #12803
-- #12781
+- [Issue 12803](https://github.com/firefly-iii/firefly-iii/issues/12803) (Error "The description.xxxxxx field is required." when mass updating transactions) reported by @andyesten
+- [Issue 12781](https://github.com/firefly-iii/firefly-iii/issues/12781) (When mass editing transactions, only the last tag is kept) reported by @bertille-ddp
## v6.7.2 - 2026-09-16
diff --git a/composer.lock b/composer.lock
index 656707fa92..8d1533f573 100644
--- a/composer.lock
+++ b/composer.lock
@@ -5053,16 +5053,16 @@
},
{
"name": "predis/predis",
- "version": "v3.6.0",
+ "version": "v3.6.1",
"source": {
"type": "git",
"url": "https://github.com/predis/predis.git",
- "reference": "2ff20c08bb63697245ffee3f198d1673086c302d"
+ "reference": "e2db96312ecf57a01a3477bf192d1ebc0ad7e9fb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/predis/predis/zipball/2ff20c08bb63697245ffee3f198d1673086c302d",
- "reference": "2ff20c08bb63697245ffee3f198d1673086c302d",
+ "url": "https://api.github.com/repos/predis/predis/zipball/e2db96312ecf57a01a3477bf192d1ebc0ad7e9fb",
+ "reference": "e2db96312ecf57a01a3477bf192d1ebc0ad7e9fb",
"shasum": ""
},
"require": {
@@ -5104,7 +5104,7 @@
],
"support": {
"issues": "https://github.com/predis/predis/issues",
- "source": "https://github.com/predis/predis/tree/v3.6.0"
+ "source": "https://github.com/predis/predis/tree/v3.6.1"
},
"funding": [
{
@@ -5112,7 +5112,7 @@
"type": "github"
}
],
- "time": "2026-08-14T23:07:56+00:00"
+ "time": "2026-09-17T20:41:00+00:00"
},
{
"name": "psr/cache",
diff --git a/config/firefly.php b/config/firefly.php
index 21be741694..34a758c3e3 100644
--- a/config/firefly.php
+++ b/config/firefly.php
@@ -78,8 +78,8 @@ return [
'running_balance_column' => (bool)env_default_when_empty(env('USE_RUNNING_BALANCE'), true), // this is only the default value, is not used.
// see cer.php for exchange rates feature flag.
],
-'version' => 'develop/2026-09-17',
-'build_time' => 1789667894,
+'version' => 'develop/2026-09-18',
+'build_time' => 1789703309,
'api_version' => '2.1.0', // field is no longer used.
'db_version' => 28, // field is no longer used.
diff --git a/resources/assets/v3/js/shared/draw-chart.js b/resources/assets/v3/js/shared/draw-chart.js
index ad3d0f70b0..b59409053f 100644
--- a/resources/assets/v3/js/shared/draw-chart.js
+++ b/resources/assets/v3/js/shared/draw-chart.js
@@ -38,7 +38,7 @@ let defaultChartOptions = {
},
tooltip: {
interaction: {
- mode: 'x'
+ mode: "x",
},
callbacks: {},
},
@@ -106,7 +106,7 @@ function drawMultiCurrencyStackedColumnChart(url, holder, anonymous) {
// interaction: {
// mode: 'x'
// },
- options.plugins.tooltip.interaction.mode = 'nearest';
+ options.plugins.tooltip.interaction.mode = "nearest";
// options.plugins.tooltip.interaction.mode = 'index';
// options.plugins.tooltip.interaction.axis = 'y';
@@ -117,12 +117,16 @@ function drawMultiCurrencyStackedColumnChart(url, holder, anonymous) {
let current = all[i];
let label =
current.label + " (" + current.currency_code + ")";
- console.log('Now processing', label);
+ console.log("Now processing", label);
current.entries.spent = parseFloat(current.entries.spent);
- current.entries.budgeted = parseFloat(current.entries.budgeted);
+ current.entries.budgeted = parseFloat(
+ current.entries.budgeted,
+ );
current.entries.left = parseFloat(current.entries.left);
- current.entries.overspent = parseFloat(current.entries.overspent);
+ current.entries.overspent = parseFloat(
+ current.entries.overspent,
+ );
if (current.entries.spent < 0) {
current.entries.spent = current.entries.spent * -1;
}
@@ -162,7 +166,10 @@ function drawMultiCurrencyStackedColumnChart(url, holder, anonymous) {
}
}
// user has not overspent, and there was a budget set.
- if (current.entries.spent < current.entries.budgeted && 0 !== current.entries.budgeted) {
+ if (
+ current.entries.spent < current.entries.budgeted &&
+ 0 !== current.entries.budgeted
+ ) {
// console.log('A: Is not overspent, and there was a budget', current.entries.spent, current.entries.budgeted);
let key = "budgeted" + current.currency_code;
datasets[key].data[labelIndex] = 0; // parseFloat(current.entries.budgeted);
@@ -177,10 +184,14 @@ function drawMultiCurrencyStackedColumnChart(url, holder, anonymous) {
datasets[key].data[labelIndex] = 0;
}
// user has overspent and there was a budget set.
- if (current.entries.spent >= current.entries.budgeted && 0 !== current.entries.budgeted) {
+ if (
+ current.entries.spent >= current.entries.budgeted &&
+ 0 !== current.entries.budgeted
+ ) {
// console.log('B: Is overspent, and there was a budget', current.entries.spent, current.entries.budgeted);
let key = "budgeted" + current.currency_code;
- datasets[key].data[labelIndex] = current.entries.budgeted;
+ datasets[key].data[labelIndex] =
+ current.entries.budgeted;
key = "spent" + current.currency_code;
datasets[key].data[labelIndex] = 0;
@@ -189,10 +200,14 @@ function drawMultiCurrencyStackedColumnChart(url, holder, anonymous) {
datasets[key].data[labelIndex] = 0;
key = "overspent" + current.currency_code;
- datasets[key].data[labelIndex] = current.entries.overspent;
+ datasets[key].data[labelIndex] =
+ current.entries.overspent;
}
- if (current.entries.spent >= current.entries.budgeted && 0 === current.entries.budgeted) {
+ if (
+ current.entries.spent >= current.entries.budgeted &&
+ 0 === current.entries.budgeted
+ ) {
// user has no budget set.
let key = "budgeted" + current.currency_code;
datasets[key].data[labelIndex] = 0;