Commit Graph

6472 Commits

Author SHA1 Message Date
James Cole
c0b7ef878a
Code style fixes. 2020-07-31 09:42:00 +02:00
James Cole
9234636422
Basic code standard fixes. 2020-07-31 09:24:08 +02:00
James Cole
eabda85b1e
Add missing API endpoints. 2020-07-31 06:19:48 +02:00
James Cole
2cb61ea501
Fix issue when DB is empty. 2020-07-30 20:55:58 +02:00
James Cole
012420c47d
Remove ability to see balance. 2020-07-28 06:31:56 +02:00
James Cole
ff9d8865d1 Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2020-07-28 06:27:05 +02:00
James Cole
3cda3b27e2
Merge pull request #3598 from maroux/fix_recurring_create
Fix recurring transactions create and fix cache access
2020-07-28 04:26:55 +00:00
James Cole
36b0167eac
Expand charts with currency code. 2020-07-28 06:25:14 +02:00
James Cole
1c07feb446
Add locale to variables. 2020-07-27 20:06:18 +02:00
James Cole
d49743031f
Add windows locale support #3519 2020-07-27 07:13:39 +02:00
James Cole
7017d33b87
Small code improv #3578 2020-07-27 07:08:29 +02:00
James Cole
fade9ae6f9
Simpler get currency routine 2020-07-27 07:06:44 +02:00
James Cole
c5489a7c55
Restore locale info from localeconv #3578 2020-07-27 07:05:41 +02:00
James Cole
9c14bc24e2
Expand limit. 2020-07-26 19:30:24 +02:00
James Cole
fe66be673a
Some extra code for #3578 2020-07-26 17:35:13 +02:00
James Cole
fdea25051c
Make sure sorting doesnt break opening balance. 2020-07-26 15:05:48 +02:00
James Cole
c86673f3ec
Trim the label. 2020-07-26 14:37:45 +02:00
James Cole
94c31ad747
Add extra order for better form. 2020-07-26 14:30:56 +02:00
James Cole
633bc043da
Reverse chart sort 2020-07-26 14:18:25 +02:00
James Cole
453709a117
Reverse sort in chart 2020-07-26 14:17:49 +02:00
James Cole
83467ef2f2
Code for #3240 2020-07-26 07:57:48 +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
4b16d7c53d
Remove unused code. 2020-07-25 08:19:31 +02:00
James Cole
5e1306282a
Code to fix #3213 2020-07-25 08:03:57 +02:00
James Cole
74247c292f
Update / create methods can handle order #3200 2020-07-24 16:41:58 +02:00
James Cole
1286694efd
Different method call 2020-07-24 16:41:41 +02:00
James Cole
69d63bc3ba
API allows order to be set. #3200 2020-07-24 16:41:31 +02:00
James Cole
bc4b841baa
Add consistency for API calls #3150 2020-07-24 16:41:10 +02:00
James Cole
ba488b71eb
Register user count in upgrade instructions. 2020-07-24 16:40:54 +02:00
James Cole
117affb1d4
Model updates for #3200 2020-07-24 16:40:42 +02:00
James Cole
e1f4cd7565
Fix #3187 2020-07-23 19:40:10 +02:00
James Cole
93a0338678
Expand autocomplete for #3150 2020-07-23 19:34:17 +02:00
James Cole
3d6bf713ee
Fix #3150 2020-07-23 17:58:53 +02:00
James Cole
b63e8d60bb
Expand autocomplete and remove old code #3150 2020-07-23 06:58:00 +02:00
James Cole
162e791dfd
Update autocomplete code for #3150 2020-07-23 06:19:34 +02:00
James Cole
0f840ad082
Updated routes for auto-complete. 2020-07-22 20:17:20 +02:00
James Cole
f777abdeb1
Add limit to object groups #3150 2020-07-21 06:30:37 +02:00
James Cole
bb841e66c7
Add currency limit, without currency code #3150 2020-07-21 06:29:24 +02:00
James Cole
74ed80aaef
Add limit to category #3150 2020-07-21 06:24:49 +02:00
James Cole
723696b971
Add limit to budget #3150 2020-07-21 06:23:37 +02:00
James Cole
858158d886
Add limit to bills. #3150 2020-07-21 06:22:29 +02:00
James Cole
62fd701808
Add limit #3150 2020-07-21 06:20:31 +02:00
James Cole
b207100074
Add empty controllers #3150 2020-07-21 06:19:49 +02:00
James Cole
5ad7439241
Optimise code 2020-07-21 06:14:47 +02:00
James Cole
debbe89187
Code for #3150 2020-07-21 06:09:24 +02:00
James Cole
a654158bd4
Rename method. 2020-07-19 20:10:47 +02:00
James Cole
0bb59f5505
Yoda style and dump unused method. 2020-07-19 20:08:50 +02:00
James Cole
6881d4479e
Remove round(). 2020-07-19 20:07:58 +02:00
James Cole
7f3168cc55
Merge pull request #3578 from hoshsadiq/feature/use-intl-formatter
Use php-intl to format currencies
2020-07-19 18:05:25 +00:00
Hosh Sadiq
14dd185717
Use php-intl to format currencies
Currently the php function `number_format` is used to format currencies.
This is problematic as we have to figure out different things for
different currencies ourselves. These formats are determined based on
the libc's locale functions.

The issue arises where an OS doesn't have the proper locales installed,
or, in some cases, it's not supported (see below on multiple issues).

This addresses this issue by using the php-intl extensions to format the
numbers based on the locale. The extension is already a requirement in
`composer.json`. The solution does not rely on `LC_MONETARY` from the
underlying libc (which in Alpine Linux's case, which uses musl, is not
supported as of yet).

List of issues that are related and would potentially be fixed using
this PR:

- #2298
- #2946
- #3070
- #3306
- #3519
2020-07-19 18:34:39 +01:00