whisper-money/app/Http/Controllers/Api
Víctor Falcón e8b6e62557 Guard sumTransactions against unsupported category types
Both reviewers flagged that the income/expense ternary silently treated
any non-Income type as the expense side. Replace it with a match that
throws on Savings/Investment/Transfer, so a future miscall fails loudly
instead of returning a wrong total. Behavior is unchanged for the only
current callers (Income and Expense).
2026-07-04 21:19:09 +02:00
..
Concerns fix(analysis): respect category types like the cashflow screen (#612) 2026-06-29 21:04:18 +02:00
AccountController.php refactor(api): standardize serialization via model $hidden (#492) 2026-06-05 13:57:34 +02:00
CashflowAnalyticsController.php Guard sumTransactions against unsupported category types 2026-07-04 21:19:09 +02:00
CategoryMonthlyBreakdownController.php fix(analysis): respect category types like the cashflow screen (#612) 2026-06-29 21:04:18 +02:00
DashboardAnalyticsController.php Batch net-worth balance lookups to kill the per-account N+1 2026-07-04 20:48:18 +02:00
ImportDataController.php refactor(api): standardize serialization via model $hidden (#492) 2026-06-05 13:57:34 +02:00
SavedFilterController.php feat(analysis): project-aware transaction analysis (#513) 2026-06-09 15:32:07 +02:00
TransactionAnalysisController.php Move income/expense-side classification onto the Transaction model 2026-07-04 20:48:18 +02:00
TransactionController.php fix: address remaining security audit findings (round 2) (#628) 2026-07-03 15:04:03 +00:00