Commit Graph

37 Commits

Author SHA1 Message Date
James Cole 445804a7f1 Fix phpstan messages. 2022-12-30 20:25:04 +01:00
James Cole 6cfdc58cb1 Various PSR12 code cleanup 2022-12-29 19:42:26 +01:00
James Cole db478711ed Merge branch 'develop' into 5.8-dev
# Conflicts:
#	app/Api/V1/Controllers/Chart/AccountController.php
#	app/Api/V1/Controllers/Insight/Expense/AccountController.php
#	app/Api/V1/Controllers/Insight/Expense/BillController.php
#	app/Api/V1/Controllers/Insight/Expense/BudgetController.php
#	app/Api/V1/Controllers/Insight/Expense/CategoryController.php
#	app/Api/V1/Controllers/Insight/Expense/PeriodController.php
#	app/Console/Commands/Upgrade/MigrateToGroups.php
#	app/Http/Controllers/Account/IndexController.php
#	app/Http/Controllers/Budget/AvailableBudgetController.php
#	app/Http/Controllers/Budget/BudgetLimitController.php
#	app/Http/Controllers/Budget/EditController.php
#	app/Http/Controllers/Chart/AccountController.php
#	app/Http/Controllers/Json/FrontpageController.php
#	app/Http/Controllers/PiggyBank/EditController.php
2022-12-24 06:15:26 +01:00
James Cole c47980a737 Remove many references to (float) 2022-12-24 05:06:39 +01:00
James Cole 8d8f81c27d Various code cleanup and phpstan suggestions 2022-11-02 06:25:37 +01:00
James Cole 249b0c3377 Various code fixes. 2022-10-31 05:53:36 +01:00
James Cole 4e618a4d0b Remove phpstan comments. 2022-10-31 05:40:59 +01:00
James Cole f52675068b Use PSR-12 code style 2022-10-30 14:24:37 +01:00
James Cole d28326cc89 Restore todo's 2022-10-30 11:43:17 +01:00
James Cole d04efb8325 Reformat various code. 2022-03-29 15:00:29 +02:00
James Cole 003d8ba02a Remove reference to a method no longer used. 2022-01-29 14:11:12 +01:00
James Cole 4003cea759 Code reordering and reformatting. I should really start employing style CI. 2021-09-18 10:26:12 +02:00
James Cole 5eca404866 Fix issue in number formatting. 2021-07-04 19:19:31 +02:00
James Cole 8832387b84 Remove TODO's. 2021-06-11 20:39:01 +02:00
James Cole 56b2fa69bc Fix for #4625 2021-04-09 09:02:00 +02:00
James Cole 38d0f0427f Various code cleanup. 2021-04-06 17:00:16 +02:00
James Cole 2c575f3ca5 Code cleanup. 2021-03-28 11:43:07 +02:00
James Cole 206845575c Code cleanup 2021-03-21 09:15:40 +01:00
James Cole 08fcff2a98 Make it easier to switch between v1/v2 layout. 2021-02-03 06:25:46 +01:00
James Cole 670bf26510 Fix round() calls for PHP 8.0 2020-12-21 09:02:24 +01:00
James Cole c8a87833c6 Various code cleanup. 2020-10-31 08:00:44 +01:00
James Cole 284222c2ee Better call to date. 2020-09-11 07:12:33 +02:00
James Cole 012420c47d Remove ability to see balance. 2020-07-28 06:31:56 +02:00
Aniruddha Maru 9d409a7412 Fix recurring transactions create
- If there's a lot of accounts to calculate balances for, then recurring transactions create page
  doesn't load. Partly because it has to calculate a lot of balances, but partly because the cache
  isn't being used at all because date is `new Date` rather than say, end of month.

Fix: Change Steam balance calculator to always default cache using end of month. Since cache is
'invalidated' upon any edit, there's no reason to use current datetime anywhere its not explicitly
required by user flow.
Fix: Don't calculate balances for revenue / expense accounts since those are unbounded.

Issue: #3597
2020-07-25 16:16:29 -07:00
James Cole e1fbdca5c1 Make list grouped. 2020-06-27 13:08:51 +02:00
James Cole 5445752588 Update some phpdocs, courtesy of Psalm. 2020-03-25 07:03:23 +01:00
James Cole 4958f6e4a6 Update email address. 2020-02-16 13:56:52 +01:00
James Cole 6ad2021739 Fix #2901 2019-12-20 05:53:13 +01:00
James Cole 78481b8aa9 Update copyright of Firefly III to the GNU Affero General Public License as suggested by @nxxxse in #2607. This applies to all code in this commit from this moment onwards. 2019-10-02 07:00:58 +02:00
James Cole 92158e52ef Update copyright of Firefly III to the GNU Affero General Public License as suggested by @nxxxse in #2607. This applies to all code in this commit from this moment onwards. 2019-10-02 06:37:26 +02:00
James Cole fc78c32fca Add newline to files 2019-08-17 12:09:03 +02:00
James Cole c2296c3ad5 Code cleanup 2019-08-17 10:47:29 +02:00
James Cole 0a0ad8200a Fix #2414 2019-08-13 16:24:36 +02:00
James Cole c0033ae56b Code cleanup in AccountForm. 2019-08-10 17:11:57 +02:00
James Cole 3daddd690f Fix all views. 2019-08-10 16:50:37 +02:00
James Cole 0d9bae6ec2 Fix the references for AccountForm. 2019-08-10 16:36:15 +02:00
James Cole 6e2978231b Refactor the expandedform methods. First commit to see how Scrutinizer likes this. This commit will break most views. 2019-08-10 15:09:44 +02:00