Compare commits

...

2026 Commits
4.3.5 ... 4.6.5

Author SHA1 Message Date
James Cole
81bef28607 Merge branch 'release/4.6.5' 2017-09-09 07:21:53 +02:00
James Cole
d46ba4325f Updated composer file 2017-09-09 07:21:20 +02:00
James Cole
e044670c55 Merge pull request #789 from firefly-iii/l10n_develop
New Crowdin translations
2017-09-09 07:09:46 +02:00
James Cole
66c13f35e7 Various code cleanup. 2017-09-09 07:03:43 +02:00
James Cole
f2cb675267 New change log. [skip ci] 2017-09-09 06:57:03 +02:00
James Cole
6f9b69a032 Version upgrade. 2017-09-09 06:42:09 +02:00
James Cole
3a3eb4e84f Various code cleanup. 2017-09-09 06:41:45 +02:00
James Cole
c81955d84a New translations firefly.php (Dutch) 2017-09-09 06:30:07 +02:00
James Cole
0543733e3d Various code cleanup. 2017-09-09 06:28:21 +02:00
James Cole
336fb5f5a6 Fix #820 2017-09-09 06:25:20 +02:00
James Cole
6d592d45b0 New translations firefly.php (Polish) 2017-09-08 21:20:14 +02:00
James Cole
45d2467772 New translations firefly.php (Spanish) 2017-09-08 20:41:15 +02:00
James Cole
643248f9e4 New translations firefly.php (Slovenian) 2017-09-08 20:41:10 +02:00
James Cole
94b18798ed New translations firefly.php (Portuguese, Brazilian) 2017-09-08 20:41:07 +02:00
James Cole
4a18178a86 New translations firefly.php (Dutch) 2017-09-08 20:41:03 +02:00
James Cole
7bdde6822b New translations firefly.php (French) 2017-09-08 20:40:59 +02:00
James Cole
a118588fe7 New translations firefly.php (Polish) 2017-09-08 20:40:55 +02:00
James Cole
88bc81b9f5 New translations firefly.php (German) 2017-09-08 20:40:51 +02:00
James Cole
1af68843b0 New translations firefly.php (Russian) 2017-09-08 20:40:33 +02:00
James Cole
f704ade86b Fix #818 2017-09-08 20:37:46 +02:00
James Cole
2dff8aec69 Code for #819 2017-09-08 20:24:11 +02:00
James Cole
aae26c5da9 Can edit rule group #794 2017-09-08 20:12:55 +02:00
James Cole
2dbdcf73ed Possible fix for #724 2017-09-08 20:07:22 +02:00
James Cole
9960b063e7 New translations firefly.php (French) 2017-09-06 14:40:17 +02:00
James Cole
13834a276e New translations firefly.php (Dutch) 2017-09-06 08:50:12 +02:00
James Cole
a50945ad53 Fix #814 2017-09-05 20:50:19 +02:00
James Cole
068b9e388f New code for double transfer routine. #797 2017-09-05 06:43:33 +02:00
James Cole
6158288295 New translations firefly.php (German) 2017-09-03 21:00:07 +02:00
James Cole
b9fc298a0a New translations firefly.php (Polish) 2017-09-03 19:30:10 +02:00
James Cole
a697b0735f New translations firefly.php (Polish) 2017-09-03 19:20:09 +02:00
James Cole
6b82a8b29a New translations list.php (Dutch) 2017-09-03 18:30:44 +02:00
James Cole
158377a522 New translations list.php (French) 2017-09-03 18:30:43 +02:00
James Cole
3d32b8eb59 New translations list.php (German) 2017-09-03 18:30:34 +02:00
James Cole
9bc53c6644 New translations list.php (Polish) 2017-09-03 18:30:34 +02:00
James Cole
a1b9baae30 New translations list.php (Russian) 2017-09-03 18:30:28 +02:00
James Cole
6b6132b91b New translations validation.php (Russian) 2017-09-03 18:30:26 +02:00
James Cole
fdf26905c6 New translations list.php (Portuguese, Brazilian) 2017-09-03 18:30:22 +02:00
James Cole
8f3731dabe New translations list.php (Slovenian) 2017-09-03 18:30:21 +02:00
James Cole
e3521692ca New translations list.php (Spanish) 2017-09-03 18:30:19 +02:00
James Cole
dc8df37f5a New translations validation.php (Polish) 2017-09-03 18:30:17 +02:00
James Cole
141ae05cd6 New translations validation.php (Portuguese, Brazilian) 2017-09-03 18:30:16 +02:00
James Cole
584f4fb286 New translations validation.php (Slovenian) 2017-09-03 18:30:14 +02:00
James Cole
fdec8ab6a2 New translations validation.php (Spanish) 2017-09-03 18:30:13 +02:00
James Cole
3f79ffecaf New translations validation.php (German) 2017-09-03 18:30:12 +02:00
James Cole
5ee071fdc7 New translations validation.php (French) 2017-09-03 18:30:11 +02:00
James Cole
88e0985776 New translations validation.php (Dutch) 2017-09-03 18:30:08 +02:00
James Cole
a942313f85 Remove obsolete strings. 2017-09-03 18:20:08 +02:00
James Cole
f2446d46aa Code for #797 2017-09-03 18:19:58 +02:00
James Cole
78c8680300 Expand log for #797 2017-09-03 18:18:19 +02:00
James Cole
1cb979404b New translations form.php (Polish) 2017-09-03 17:00:09 +02:00
James Cole
44a017db99 New translations list.php (Polish) 2017-09-03 17:00:07 +02:00
James Cole
69a67ca977 New translations firefly.php (Polish) 2017-09-03 16:50:09 +02:00
James Cole
dd579cc19b New translations form.php (Polish) 2017-09-03 16:50:06 +02:00
James Cole
0346b09cb0 New translations firefly.php (Polish) 2017-09-03 16:40:07 +02:00
James Cole
eb15d2bbd8 New translations firefly.php (Polish) 2017-09-03 16:30:50 +02:00
James Cole
6a20f3113a New translations firefly.php (Polish) 2017-09-03 16:20:07 +02:00
James Cole
b4e8bb1e0f New translations firefly.php (Polish) 2017-09-03 16:10:09 +02:00
James Cole
83754960a6 Add messages for all levels. 2017-09-03 16:09:27 +02:00
James Cole
892f262261 Fix transaction controller tests 2017-09-03 16:06:37 +02:00
James Cole
0bccf0d734 New translations firefly.php (Polish) 2017-09-03 16:00:10 +02:00
James Cole
826dce324f New translations form.php (Polish) 2017-09-03 16:00:07 +02:00
James Cole
d9dad4387e Fix rule validation issues. 2017-09-03 15:57:13 +02:00
James Cole
62c4a9a7fc New translations firefly.php (Polish) 2017-09-03 15:50:06 +02:00
James Cole
386b069c83 New translations firefly.php (Polish) 2017-09-03 15:40:21 +02:00
James Cole
6a48c354b7 New translations firefly.php (Polish) 2017-09-03 15:30:07 +02:00
James Cole
ff0b1d0ec9 New translations firefly.php (Polish) 2017-09-03 15:20:09 +02:00
James Cole
ceaba5a11c New translations firefly.php (Polish) 2017-09-03 15:10:08 +02:00
James Cole
560bd6a92b New translations firefly.php (Polish) 2017-09-03 14:30:07 +02:00
James Cole
05103c0676 New translations firefly.php (Polish) 2017-09-03 14:20:07 +02:00
James Cole
88ea2aad28 New translations csv.php (Polish) 2017-09-03 14:10:06 +02:00
James Cole
55cd717df4 New translations demo.php (German) 2017-09-03 14:10:05 +02:00
James Cole
812e3d4a74 New translations firefly.php (Polish) 2017-09-03 14:00:17 +02:00
James Cole
5946e4b9b5 New translations firefly.php (German) 2017-09-03 14:00:14 +02:00
James Cole
ef54e0a845 New translations form.php (Polish) 2017-09-03 14:00:11 +02:00
James Cole
20597c5ee1 New translations help.php (German) 2017-09-03 14:00:09 +02:00
James Cole
057e76acd0 New translations breadcrumbs.php (Polish) 2017-09-03 14:00:08 +02:00
James Cole
3582d79530 New translations demo.php (German) 2017-09-03 14:00:07 +02:00
James Cole
1c72e742cf New translations validation.php (German) 2017-09-03 14:00:06 +02:00
James Cole
2ac582cd18 New translations firefly.php (German) 2017-09-03 13:50:08 +02:00
James Cole
e36302315c New translations form.php (German) 2017-09-03 13:50:06 +02:00
James Cole
e48d14e14a New translations firefly.php (German) 2017-09-03 13:40:10 +02:00
James Cole
608aa5c31e New translations firefly.php (Polish) 2017-09-03 13:40:07 +02:00
James Cole
533398115d New translations firefly.php (German) 2017-09-03 13:30:07 +02:00
James Cole
a8d69f850a New translations csv.php (German) 2017-09-03 13:20:08 +02:00
James Cole
98cb74e00c New translations firefly.php (German) 2017-09-03 13:20:07 +02:00
James Cole
49c5c9ba15 Include id in test. 2017-09-03 13:16:11 +02:00
James Cole
64979fd941 Add missing ID field. 2017-09-03 13:11:40 +02:00
James Cole
dccafee383 New translations firefly.php (German) 2017-09-03 13:10:07 +02:00
James Cole
0444ad5221 Debug message for #797 2017-09-03 13:02:19 +02:00
James Cole
693c6fb71b Debug message for #797 2017-09-03 13:00:36 +02:00
James Cole
d5bcaf42ac New translations firefly.php (German) 2017-09-03 13:00:07 +02:00
James Cole
b002635d1b Fixes #809 2017-09-03 12:56:45 +02:00
James Cole
19e3a10a28 Fixed #801 2017-09-03 12:50:29 +02:00
James Cole
1d87da7745 Fix nullpointer 2017-09-03 11:13:45 +02:00
James Cole
0840883546 New translations firefly.php (Spanish) 2017-09-03 11:10:53 +02:00
James Cole
9d283b85e2 New translations firefly.php (Slovenian) 2017-09-03 11:10:49 +02:00
James Cole
f031b6fa3f New translations firefly.php (Portuguese, Brazilian) 2017-09-03 11:10:47 +02:00
James Cole
4b03bc92c0 New translations firefly.php (Dutch) 2017-09-03 11:10:44 +02:00
James Cole
487c81eeb2 New translations firefly.php (French) 2017-09-03 11:10:41 +02:00
James Cole
26f71400e9 New translations firefly.php (Polish) 2017-09-03 11:10:39 +02:00
James Cole
daeb06ede8 New translations firefly.php (German) 2017-09-03 11:10:36 +02:00
James Cole
fe9705d33e New translations firefly.php (Russian) 2017-09-03 11:10:24 +02:00
James Cole
25ea1c8f5f Add text for empty box #800 2017-09-03 11:02:18 +02:00
James Cole
80a2fd485e New translations firefly.php (Spanish) 2017-09-03 11:00:54 +02:00
James Cole
18f8b102c3 New translations firefly.php (Slovenian) 2017-09-03 11:00:50 +02:00
James Cole
b99c8dd32a New translations firefly.php (Portuguese, Brazilian) 2017-09-03 11:00:47 +02:00
James Cole
52f1d96cfb New translations firefly.php (Dutch) 2017-09-03 11:00:44 +02:00
James Cole
c143d54c97 New translations firefly.php (French) 2017-09-03 11:00:41 +02:00
James Cole
ac3881779c New translations firefly.php (Polish) 2017-09-03 11:00:38 +02:00
James Cole
65e0700f2c New translations firefly.php (German) 2017-09-03 11:00:36 +02:00
James Cole
733cee5c8c New translations firefly.php (Russian) 2017-09-03 11:00:23 +02:00
James Cole
6b09466819 Implement #803 2017-09-03 10:51:02 +02:00
James Cole
b29c0f9d74 New translations auth.php (Dutch) 2017-09-03 10:42:27 +02:00
James Cole
5d239b896c New translations firefly.php (Spanish) 2017-09-03 10:42:26 +02:00
James Cole
52770a970b New translations form.php (French) 2017-09-03 10:42:23 +02:00
James Cole
bbf923b849 New translations form.php (German) 2017-09-03 10:42:21 +02:00
James Cole
d735c5d10b New translations firefly.php (Slovenian) 2017-09-03 10:42:20 +02:00
James Cole
2417224991 New translations firefly.php (Portuguese, Brazilian) 2017-09-03 10:42:18 +02:00
James Cole
d515bda868 New translations csv.php (Spanish) 2017-09-03 10:42:14 +02:00
James Cole
8e332119e3 New translations firefly.php (Dutch) 2017-09-03 10:42:13 +02:00
James Cole
5ac3dccb37 New translations firefly.php (French) 2017-09-03 10:42:11 +02:00
James Cole
e9354e1b6a New translations firefly.php (Polish) 2017-09-03 10:42:08 +02:00
James Cole
8700393e61 New translations firefly.php (German) 2017-09-03 10:42:06 +02:00
James Cole
8d76eaf633 New translations form.php (Polish) 2017-09-03 10:42:04 +02:00
James Cole
99b6eb3cd9 New translations form.php (Portuguese, Brazilian) 2017-09-03 10:42:02 +02:00
James Cole
36ffa46441 New translations help.php (Slovenian) 2017-09-03 10:42:01 +02:00
James Cole
d110fea710 New translations help.php (Spanish) 2017-09-03 10:41:59 +02:00
James Cole
09bd94d44e New translations list.php (Dutch) 2017-09-03 10:41:58 +02:00
James Cole
3b8b45d12d New translations list.php (French) 2017-09-03 10:41:57 +02:00
James Cole
39045fe2fc New translations help.php (Portuguese, Brazilian) 2017-09-03 10:41:56 +02:00
James Cole
b7e7c82bd7 New translations help.php (Polish) 2017-09-03 10:41:55 +02:00
James Cole
473eeaa206 New translations form.php (Slovenian) 2017-09-03 10:41:54 +02:00
James Cole
36b93d6d2b New translations help.php (Dutch) 2017-09-03 10:41:52 +02:00
James Cole
f24feb62c8 New translations help.php (German) 2017-09-03 10:41:51 +02:00
James Cole
69b82a5043 New translations help.php (French) 2017-09-03 10:41:50 +02:00
James Cole
547db2f27b New translations csv.php (Slovenian) 2017-09-03 10:41:48 +02:00
James Cole
6b6599eb79 New translations csv.php (Portuguese, Brazilian) 2017-09-03 10:41:47 +02:00
James Cole
fcad295809 New translations breadcrumbs.php (German) 2017-09-03 10:41:45 +02:00
James Cole
9a1e3701a3 New translations breadcrumbs.php (Polish) 2017-09-03 10:41:44 +02:00
James Cole
ba3b82cc87 New translations breadcrumbs.php (Portuguese, Brazilian) 2017-09-03 10:41:43 +02:00
James Cole
c768949034 New translations breadcrumbs.php (Dutch) 2017-09-03 10:41:42 +02:00
James Cole
4749c854bc New translations auth.php (Spanish) 2017-09-03 10:41:41 +02:00
James Cole
3887231051 New translations auth.php (French) 2017-09-03 10:41:40 +02:00
James Cole
3078adac2d New translations auth.php (German) 2017-09-03 10:41:39 +02:00
James Cole
ec40d91f85 New translations auth.php (Polish) 2017-09-03 10:41:38 +02:00
James Cole
399cb3bc3f New translations auth.php (Slovenian) 2017-09-03 10:41:37 +02:00
James Cole
fe2bba2c40 New translations auth.php (Portuguese, Brazilian) 2017-09-03 10:41:35 +02:00
James Cole
2bbdd76ee1 New translations breadcrumbs.php (Slovenian) 2017-09-03 10:41:34 +02:00
James Cole
a8ace43470 New translations breadcrumbs.php (Spanish) 2017-09-03 10:41:33 +02:00
James Cole
9c5c5b56ef New translations csv.php (Dutch) 2017-09-03 10:41:32 +02:00
James Cole
109b9000d2 New translations csv.php (French) 2017-09-03 10:41:30 +02:00
James Cole
2194cd9da1 New translations csv.php (German) 2017-09-03 10:41:27 +02:00
James Cole
ac2834954c New translations csv.php (Polish) 2017-09-03 10:41:26 +02:00
James Cole
136043bb23 New translations config.php (Spanish) 2017-09-03 10:41:24 +02:00
James Cole
459c0fc136 New translations config.php (Slovenian) 2017-09-03 10:41:23 +02:00
James Cole
22ab01c9ff New translations config.php (Dutch) 2017-09-03 10:41:22 +02:00
James Cole
cb7466247c New translations config.php (French) 2017-09-03 10:41:21 +02:00
James Cole
a87b1fca1b New translations config.php (German) 2017-09-03 10:41:20 +02:00
James Cole
0d4b971bd0 New translations config.php (Portuguese, Brazilian) 2017-09-03 10:41:18 +02:00
James Cole
2b6fe7cae7 New translations config.php (Polish) 2017-09-03 10:41:18 +02:00
James Cole
beb1ac4c9d New translations list.php (German) 2017-09-03 10:41:16 +02:00
James Cole
923cdcde16 New translations list.php (Polish) 2017-09-03 10:41:15 +02:00
James Cole
4ff4ca642c New translations csv.php (Russian) 2017-09-03 10:41:14 +02:00
James Cole
a968525d3f New translations firefly.php (Russian) 2017-09-03 10:41:12 +02:00
James Cole
f73a23db97 New translations form.php (Russian) 2017-09-03 10:41:09 +02:00
James Cole
4437cb67b9 New translations help.php (Russian) 2017-09-03 10:41:08 +02:00
James Cole
abfb47674c New translations config.php (Russian) 2017-09-03 10:41:06 +02:00
James Cole
f4deaf78e7 New translations breadcrumbs.php (Russian) 2017-09-03 10:41:05 +02:00
James Cole
38f588da1d New translations demo.php (Polish) 2017-09-03 10:41:04 +02:00
James Cole
d7be6fc9f6 New translations demo.php (Portuguese, Brazilian) 2017-09-03 10:41:02 +02:00
James Cole
dd4b640424 New translations demo.php (Slovenian) 2017-09-03 10:41:01 +02:00
James Cole
ffbe400e33 New translations auth.php (Russian) 2017-09-03 10:41:00 +02:00
James Cole
533ea67278 New translations demo.php (Spanish) 2017-09-03 10:40:59 +02:00
James Cole
9ad0bea76d New translations list.php (Russian) 2017-09-03 10:40:57 +02:00
James Cole
7d6bc09f18 New translations pagination.php (Russian) 2017-09-03 10:40:56 +02:00
James Cole
40a8a5a8e7 New translations intro.php (Portuguese, Brazilian) 2017-09-03 10:40:55 +02:00
James Cole
47c0a2cf03 New translations intro.php (Russian) 2017-09-03 10:40:54 +02:00
James Cole
2c787dd96d New translations intro.php (Slovenian) 2017-09-03 10:40:53 +02:00
James Cole
de340130b8 New translations intro.php (Polish) 2017-09-03 10:40:51 +02:00
James Cole
abc71e4cd6 New translations intro.php (German) 2017-09-03 10:40:50 +02:00
James Cole
444c2af5b0 New translations passwords.php (Russian) 2017-09-03 10:40:49 +02:00
James Cole
07277b7282 New translations validation.php (Russian) 2017-09-03 10:40:47 +02:00
James Cole
41f1bb1dbd New translations demo.php (Russian) 2017-09-03 10:40:45 +02:00
James Cole
ee337b9476 New translations intro.php (Dutch) 2017-09-03 10:40:44 +02:00
James Cole
1cbe63e293 New translations demo.php (German) 2017-09-03 10:40:42 +02:00
James Cole
eae3bf4d0e New translations demo.php (French) 2017-09-03 10:40:42 +02:00
James Cole
7502497827 New translations pagination.php (Portuguese, Brazilian) 2017-09-03 10:40:40 +02:00
James Cole
a66541fd04 New translations pagination.php (Slovenian) 2017-09-03 10:40:38 +02:00
James Cole
522d99477c New translations pagination.php (Spanish) 2017-09-03 10:40:37 +02:00
James Cole
3a4869205d New translations passwords.php (Dutch) 2017-09-03 10:40:36 +02:00
James Cole
5ae49e8e3e New translations pagination.php (Polish) 2017-09-03 10:40:35 +02:00
James Cole
915321db61 New translations pagination.php (German) 2017-09-03 10:40:34 +02:00
James Cole
bcd5b580cb New translations list.php (Portuguese, Brazilian) 2017-09-03 10:40:32 +02:00
James Cole
70226a24c9 New translations list.php (Slovenian) 2017-09-03 10:40:30 +02:00
James Cole
dd4995e02b New translations list.php (Spanish) 2017-09-03 10:40:29 +02:00
James Cole
46d3b70154 New translations pagination.php (French) 2017-09-03 10:40:28 +02:00
James Cole
540c03670b New translations pagination.php (Dutch) 2017-09-03 10:40:27 +02:00
James Cole
8037e4a4c4 New translations passwords.php (French) 2017-09-03 10:40:26 +02:00
James Cole
15a13be329 New translations passwords.php (German) 2017-09-03 10:40:24 +02:00
James Cole
9509825552 New translations validation.php (Polish) 2017-09-03 10:40:23 +02:00
James Cole
e46ef2f92c New translations validation.php (Portuguese, Brazilian) 2017-09-03 10:40:22 +02:00
James Cole
dc21afe14a New translations validation.php (Slovenian) 2017-09-03 10:40:21 +02:00
James Cole
7667c0fa4a New translations demo.php (Dutch) 2017-09-03 10:40:20 +02:00
James Cole
7f747cd4ef New translations validation.php (Spanish) 2017-09-03 10:40:18 +02:00
James Cole
1e3693101b New translations validation.php (German) 2017-09-03 10:40:17 +02:00
James Cole
d31640734c New translations validation.php (French) 2017-09-03 10:40:16 +02:00
James Cole
ce3478041a New translations passwords.php (Polish) 2017-09-03 10:40:15 +02:00
James Cole
ad2752a62c New translations passwords.php (Portuguese, Brazilian) 2017-09-03 10:40:13 +02:00
James Cole
d29ebdbf26 New translations passwords.php (Slovenian) 2017-09-03 10:40:12 +02:00
James Cole
491b3547b5 New translations validation.php (Dutch) 2017-09-03 10:40:11 +02:00
James Cole
71cb8fe038 New translations passwords.php (Spanish) 2017-09-03 10:40:10 +02:00
James Cole
816b291ed3 Code for #805 2017-09-03 10:39:05 +02:00
James Cole
b9f6119c68 Fix rule title. 2017-09-03 10:38:41 +02:00
James Cole
c87d7458fc New lines for triggers. 2017-09-03 10:16:53 +02:00
James Cole
aed5ef3fba Sort triggers and actions 2017-09-03 10:16:45 +02:00
James Cole
523824225e Fix test coverage 2017-09-03 10:09:27 +02:00
James Cole
2a2a18f378 Add new triggers 2017-09-03 10:09:10 +02:00
James Cole
c29fb13941 Commit changes. 2017-09-03 10:08:56 +02:00
James Cole
30549da044 Merge pull request #806 from pkoziol/develop
Fix formatting when currency symbol is separated and follows amount
2017-09-03 09:45:21 +02:00
James Cole
e81775fbce Merge pull request #807 from pkoziol/issue-799
Fix reseting action type when editing rule
2017-09-03 09:45:07 +02:00
James Cole
e7520a82c4 Merge pull request #808 from pkoziol/issue-798
Fix search that worked only for lowercase queries
2017-09-03 09:44:43 +02:00
James Cole
cf0e089616 New translations firefly.php (French) 2017-09-02 22:10:14 +02:00
James Cole
df8207bd9f New translations firefly.php (French) 2017-09-02 22:00:18 +02:00
James Cole
d65d555d63 New translations intro.php (French) 2017-09-02 22:00:15 +02:00
James Cole
159920296a New translations breadcrumbs.php (French) 2017-09-02 22:00:14 +02:00
James Cole
bfd7e009cc New translations intro.php (French) 2017-09-02 21:50:06 +02:00
koziolek
682f9283a6 Fix search that worked only for lowercase queries
firefly-iii/firefly-iii#798
2017-09-02 20:38:56 +02:00
koziolek
bbe8a97945 Fix reseting action type when editing rule
firefly-iii/firefly-iii#799
2017-09-02 20:30:55 +02:00
koziolek
f93d11643f Fix formatting when currency symbol is separated and follows amount 2017-09-02 20:11:37 +02:00
James Cole
78bae33433 Remove experimental multi period thing. 2017-09-02 07:40:39 +02:00
James Cole
7cab89a291 Remove experimental multi period thing. 2017-09-02 07:40:05 +02:00
James Cole
95e91b9af8 Fix tests 2017-09-01 21:54:17 +02:00
James Cole
5e08461385 Fix broken dev installation. 2017-09-01 21:22:55 +02:00
James Cole
632d95f1fb Should fix rule, category and other name checks. #793 2017-09-01 11:20:51 +02:00
James Cole
edd1b25330 Revert "Should fix rule, category and other name checks. #793"
This reverts commit ffaf48dda7.
2017-09-01 11:19:49 +02:00
Dorigo
ffaf48dda7 Should fix rule, category and other name checks. #793 2017-09-01 11:15:36 +02:00
James Cole
0e465ade48 Merge pull request #792 from jleeong/master
Fixing Dockerization of application
2017-09-01 08:48:11 +02:00
James Cole
ab80803f0f Fix order for bills. 2017-09-01 06:28:26 +02:00
jleeong
88d3db4dc8 Fixed dockerization 2017-08-31 12:05:43 -07:00
James Cole
da4dbb7319 New translations form.php (Spanish) 2017-08-31 17:10:14 +02:00
James Cole
808b405dd6 New translations intro.php (Spanish) 2017-08-31 17:10:12 +02:00
James Cole
a429aaa6fd New translations intro.php (Spanish) 2017-08-31 17:00:08 +02:00
James Cole
8db9641480 Experimental multi-budget overview. 2017-08-31 07:29:23 +02:00
James Cole
8dec769d64 Add newlines to files [skip ci] 2017-08-31 06:47:18 +02:00
James Cole
06ad377729 New translations form.php (Dutch) 2017-08-31 06:20:07 +02:00
James Cole
569f736831 Merge pull request #778 from firefly-iii/l10n_develop
New Crowdin translations
2017-08-31 06:07:31 +02:00
James Cole
7702ed027b Expand view for #780 2017-08-30 07:40:39 +02:00
James Cole
7c068afe05 New translations form.php (Dutch) 2017-08-30 07:21:13 +02:00
James Cole
211d136b7a New translations form.php (French) 2017-08-30 07:21:12 +02:00
James Cole
434e0653fe New translations form.php (German) 2017-08-30 07:21:10 +02:00
James Cole
cb134a7e13 New translations form.php (Polish) 2017-08-30 07:20:51 +02:00
James Cole
08db90f606 New translations form.php (Portuguese, Brazilian) 2017-08-30 07:20:49 +02:00
James Cole
964d552d28 New translations list.php (Dutch) 2017-08-30 07:20:47 +02:00
James Cole
40d3d9906a New translations list.php (French) 2017-08-30 07:20:46 +02:00
James Cole
122467799f New translations form.php (Slovenian) 2017-08-30 07:20:45 +02:00
James Cole
b1ca56a296 New translations form.php (Spanish) 2017-08-30 07:20:43 +02:00
James Cole
cb3504642c New translations list.php (German) 2017-08-30 07:20:34 +02:00
James Cole
a8f10bbb09 New translations list.php (Polish) 2017-08-30 07:20:33 +02:00
James Cole
b75849d4ab New translations form.php (Russian) 2017-08-30 07:20:30 +02:00
James Cole
0c88bea772 New translations list.php (Russian) 2017-08-30 07:20:26 +02:00
James Cole
7aaddf2a60 New translations list.php (Portuguese, Brazilian) 2017-08-30 07:20:19 +02:00
James Cole
35d6db5e73 New translations list.php (Slovenian) 2017-08-30 07:20:17 +02:00
James Cole
6642e93581 New translations list.php (Spanish) 2017-08-30 07:20:16 +02:00
James Cole
4aaacf8e2e Ask for CC number when asset is a CC. #784 2017-08-30 07:14:35 +02:00
James Cole
0a8e6e9f07 Code for #784 2017-08-30 07:10:06 +02:00
James Cole
062272a6e8 Format translations [skip ci] 2017-08-30 07:09:52 +02:00
James Cole
d610302e79 Code for #782 2017-08-30 07:00:17 +02:00
James Cole
69846bfb18 New translations firefly.php (Spanish) 2017-08-29 09:50:10 +02:00
James Cole
c4bca4c214 New translations firefly.php (Spanish) 2017-08-29 09:40:13 +02:00
James Cole
14a8c686c0 New translations firefly.php (Spanish) 2017-08-29 09:30:09 +02:00
James Cole
c6cc750166 New translations firefly.php (Spanish) 2017-08-29 09:20:12 +02:00
James Cole
3cce84dfa7 New translations firefly.php (Spanish) 2017-08-28 19:00:14 +02:00
James Cole
c8f4c6bd49 New translations form.php (Spanish) 2017-08-28 19:00:12 +02:00
James Cole
17501c6cad New translations help.php (Spanish) 2017-08-28 18:50:05 +02:00
James Cole
aa64e7947e New translations help.php (Spanish) 2017-08-28 18:40:07 +02:00
James Cole
9adfbf1668 New translations csv.php (Spanish) 2017-08-28 18:40:06 +02:00
James Cole
c6f2d4a0c4 New translations list.php (Spanish) 2017-08-28 18:30:08 +02:00
James Cole
4b7fc7b80b New translations breadcrumbs.php (Spanish) 2017-08-28 18:20:07 +02:00
James Cole
5c30146ee0 New translations firefly.php (German) 2017-08-28 13:30:12 +02:00
James Cole
28af10444d New translations form.php (German) 2017-08-28 13:30:09 +02:00
James Cole
a6f0faa058 New translations list.php (German) 2017-08-28 13:30:07 +02:00
James Cole
b6227e633c Fix tests 2017-08-27 11:07:14 +02:00
James Cole
47dd8610c6 New translations breadcrumbs.php (Russian) 2017-08-27 11:00:05 +02:00
James Cole
6ffdbcafc5 New translations csv.php (German) 2017-08-27 09:20:06 +02:00
James Cole
d89f45d534 New translations validation.php (German) 2017-08-27 09:20:05 +02:00
James Cole
f014828423 New translations csv.php (German) 2017-08-27 09:10:10 +02:00
James Cole
f26c672421 New translations breadcrumbs.php (German) 2017-08-27 09:10:08 +02:00
James Cole
b1b9804aca New translations firefly.php (German) 2017-08-27 09:10:06 +02:00
James Cole
5c2c947785 New translations firefly.php (Dutch) 2017-08-27 09:00:07 +02:00
James Cole
1319cb2e4e Improving bunq import. 2017-08-27 08:54:58 +02:00
James Cole
1ecf3d04d9 Fix attachment count 2017-08-27 08:53:48 +02:00
James Cole
b8d4776671 Remove unused code. 2017-08-26 21:28:14 +02:00
James Cole
43b829bf02 New translations firefly.php (Spanish) 2017-08-26 15:02:58 +02:00
James Cole
6c150f9d06 New translations firefly.php (Slovenian) 2017-08-26 15:02:54 +02:00
James Cole
bf818e1ede New translations firefly.php (Portuguese, Brazilian) 2017-08-26 15:02:51 +02:00
James Cole
4022b6b9cd New translations firefly.php (Dutch) 2017-08-26 15:02:48 +02:00
James Cole
ab5ff6446e New translations firefly.php (French) 2017-08-26 15:02:46 +02:00
James Cole
ef4bc0ca0c New translations firefly.php (Polish) 2017-08-26 15:02:44 +02:00
James Cole
07e31d6745 New translations firefly.php (German) 2017-08-26 15:02:42 +02:00
James Cole
e0bcbb0396 New translations firefly.php (Russian) 2017-08-26 15:00:20 +02:00
James Cole
6a5bdebb7c New translations firefly.php (Spanish) 2017-08-26 14:52:56 +02:00
James Cole
bfcc1d8f03 New translations firefly.php (Slovenian) 2017-08-26 14:52:53 +02:00
James Cole
eed6d6c49d New translations firefly.php (Portuguese, Brazilian) 2017-08-26 14:52:50 +02:00
James Cole
cf05970ccf New translations firefly.php (Dutch) 2017-08-26 14:52:47 +02:00
James Cole
fa6e82dd25 New translations firefly.php (French) 2017-08-26 14:52:45 +02:00
James Cole
16aaa0b5a6 New translations firefly.php (Polish) 2017-08-26 14:52:43 +02:00
James Cole
70e146aedd New translations firefly.php (German) 2017-08-26 14:52:40 +02:00
James Cole
338d7587b2 New translations firefly.php (Russian) 2017-08-26 14:50:21 +02:00
James Cole
50837af607 Expand tag view. 2017-08-26 14:50:08 +02:00
James Cole
989e931edf Add language string [skip ci] 2017-08-26 14:44:19 +02:00
James Cole
9238efbd3a Fix tag cloud 2017-08-26 14:44:05 +02:00
James Cole
ea2af2378d Expand budget pages to work with new date view. 2017-08-26 14:30:41 +02:00
James Cole
094ddfcf5f Fix rounding for amounts. 2017-08-26 10:01:48 +02:00
James Cole
7329098ed8 Fix rounding for amounts. 2017-08-26 10:00:08 +02:00
James Cole
0f229e4d7b Improved extraction of bunq data. 2017-08-26 06:21:22 +02:00
James Cole
b08eccd076 New translations firefly.php (French) 2017-08-25 18:30:07 +02:00
James Cole
4e6e7c0562 New translations firefly.php (Dutch) 2017-08-25 16:30:41 +02:00
James Cole
eb331104df New translations firefly.php (Spanish) 2017-08-25 16:11:01 +02:00
James Cole
d6b664375e New translations firefly.php (Slovenian) 2017-08-25 16:10:56 +02:00
James Cole
90c4f449e8 New translations firefly.php (Portuguese, Brazilian) 2017-08-25 16:10:53 +02:00
James Cole
d5e8f5810d New translations firefly.php (Dutch) 2017-08-25 16:10:50 +02:00
James Cole
6215ec8cf6 New translations firefly.php (French) 2017-08-25 16:10:48 +02:00
James Cole
f484785395 New translations firefly.php (Polish) 2017-08-25 16:10:45 +02:00
James Cole
4eb93dd139 New translations firefly.php (German) 2017-08-25 16:10:42 +02:00
James Cole
2da3f74057 New translations firefly.php (Russian) 2017-08-25 16:10:25 +02:00
James Cole
4b2abb6f25 Add ability to translate links. 2017-08-25 16:03:36 +02:00
James Cole
c38429d3a3 New translations firefly.php (Slovenian) 2017-08-25 07:37:27 +02:00
James Cole
d78a5d1225 New translations firefly.php (Spanish) 2017-08-25 07:37:25 +02:00
James Cole
907ff89609 New translations form.php (Chinese Traditional) 2017-08-25 07:37:23 +02:00
James Cole
7758dcaaba New translations firefly.php (Portuguese, Brazilian) 2017-08-25 07:37:20 +02:00
James Cole
ed6da918e1 New translations firefly.php (Polish) 2017-08-25 07:37:18 +02:00
James Cole
30373db89c New translations csv.php (Spanish) 2017-08-25 07:37:16 +02:00
James Cole
7e032fdbb3 New translations firefly.php (Chinese Traditional) 2017-08-25 07:37:15 +02:00
James Cole
d232a7abbb New translations firefly.php (German) 2017-08-25 07:37:11 +02:00
James Cole
6b6b9ae242 New translations firefly.php (French) 2017-08-25 07:37:08 +02:00
James Cole
241bcce6c1 New translations form.php (German) 2017-08-25 07:37:06 +02:00
James Cole
f490d9ebe8 New translations form.php (Polish) 2017-08-25 07:37:04 +02:00
James Cole
fb09843e5a New translations help.php (Slovenian) 2017-08-25 07:37:03 +02:00
James Cole
ab95698181 New translations help.php (Spanish) 2017-08-25 07:37:02 +02:00
James Cole
28b3134ae2 New translations list.php (Chinese Traditional) 2017-08-25 07:37:01 +02:00
James Cole
ec47c9cd00 New translations form.php (Slovenian) 2017-08-25 07:36:59 +02:00
James Cole
5e062908a5 New translations form.php (Portuguese, Brazilian) 2017-08-25 07:36:58 +02:00
James Cole
d0cefd7005 New translations form.php (Spanish) 2017-08-25 07:36:57 +02:00
James Cole
c1276e789a New translations csv.php (Slovenian) 2017-08-25 07:36:54 +02:00
James Cole
7ac4cd4665 New translations csv.php (Portuguese, Brazilian) 2017-08-25 07:36:54 +02:00
James Cole
1797bf8108 New translations breadcrumbs.php (French) 2017-08-25 07:36:52 +02:00
James Cole
8c32e619cb New translations breadcrumbs.php (German) 2017-08-25 07:36:51 +02:00
James Cole
a0d800bbb9 New translations breadcrumbs.php (Portuguese, Brazilian) 2017-08-25 07:36:50 +02:00
James Cole
0f276f10ee New translations breadcrumbs.php (Polish) 2017-08-25 07:36:49 +02:00
James Cole
473c6aad84 New translations breadcrumbs.php (Chinese Traditional) 2017-08-25 07:36:48 +02:00
James Cole
f9b60fef85 New translations breadcrumbs.php (Slovenian) 2017-08-25 07:36:46 +02:00
James Cole
f7ea140018 New translations breadcrumbs.php (Spanish) 2017-08-25 07:36:44 +02:00
James Cole
0287416aa5 New translations csv.php (Chinese Traditional) 2017-08-25 07:36:43 +02:00
James Cole
0dfcfbb97e New translations csv.php (Polish) 2017-08-25 07:36:41 +02:00
James Cole
d82c386402 New translations csv.php (German) 2017-08-25 07:36:40 +02:00
James Cole
3c3a32b1fa New translations config.php (Chinese Traditional) 2017-08-25 07:36:39 +02:00
James Cole
8e2f78226a New translations list.php (German) 2017-08-25 07:36:36 +02:00
James Cole
617360c631 New translations breadcrumbs.php (Russian) 2017-08-25 07:36:35 +02:00
James Cole
0f2bd34a62 New translations csv.php (Russian) 2017-08-25 07:36:34 +02:00
James Cole
23a028f011 New translations form.php (Russian) 2017-08-25 07:36:33 +02:00
James Cole
6c8da850a7 New translations firefly.php (Russian) 2017-08-25 07:36:31 +02:00
James Cole
1bf5ae2d3d New translations demo.php (Polish) 2017-08-25 07:36:28 +02:00
James Cole
37a25625de New translations demo.php (Slovenian) 2017-08-25 07:36:27 +02:00
James Cole
206887bc71 New translations list.php (Russian) 2017-08-25 07:36:25 +02:00
James Cole
1e8551da4a New translations intro.php (Polish) 2017-08-25 07:36:24 +02:00
James Cole
6dd88d25dd New translations intro.php (Portuguese, Brazilian) 2017-08-25 07:36:23 +02:00
James Cole
81089e989b New translations intro.php (Russian) 2017-08-25 07:36:22 +02:00
James Cole
8a4355e786 New translations intro.php (Spanish) 2017-08-25 07:36:21 +02:00
James Cole
20947bc8c1 New translations intro.php (Slovenian) 2017-08-25 07:36:20 +02:00
James Cole
da0436c60e New translations intro.php (German) 2017-08-25 07:36:18 +02:00
James Cole
04af43a9fa New translations intro.php (French) 2017-08-25 07:36:17 +02:00
James Cole
9a2d87eb42 New translations validation.php (Russian) 2017-08-25 07:36:15 +02:00
James Cole
cb66925f22 New translations demo.php (Russian) 2017-08-25 07:36:14 +02:00
James Cole
c7b6688250 New translations intro.php (Chinese Traditional) 2017-08-25 07:36:13 +02:00
James Cole
129dacbfe2 New translations demo.php (Chinese Traditional) 2017-08-25 07:36:12 +02:00
James Cole
568ef92f79 New translations list.php (Portuguese, Brazilian) 2017-08-25 07:36:09 +02:00
James Cole
75671dc982 New translations list.php (Polish) 2017-08-25 07:36:02 +02:00
James Cole
4d55dbea6c New translations list.php (Slovenian) 2017-08-25 07:36:01 +02:00
James Cole
67b7f90c26 New translations list.php (Spanish) 2017-08-25 07:35:59 +02:00
James Cole
3efd112d8b New translations validation.php (German) 2017-08-25 07:35:58 +02:00
James Cole
df5830b5f9 New translations validation.php (Portuguese, Brazilian) 2017-08-25 07:35:56 +02:00
James Cole
a6d8b985b2 New translations validation.php (Slovenian) 2017-08-25 07:35:54 +02:00
James Cole
e76a6dc00f New translations validation.php (Chinese Traditional) 2017-08-25 07:35:52 +02:00
James Cole
77ee046b3f New translations firefly.php (Slovenian) 2017-08-25 07:08:15 +02:00
James Cole
464f86eb1d New translations firefly.php (Spanish) 2017-08-25 07:08:13 +02:00
James Cole
b9bbd2872e New translations form.php (Chinese Traditional) 2017-08-25 07:08:10 +02:00
James Cole
7a70b8234c New translations firefly.php (Portuguese, Brazilian) 2017-08-25 07:08:08 +02:00
James Cole
e6bf9faa3e New translations firefly.php (Polish) 2017-08-25 07:08:05 +02:00
James Cole
ede7b1b35c New translations csv.php (Spanish) 2017-08-25 07:08:02 +02:00
James Cole
6c095d8efa New translations firefly.php (Chinese Traditional) 2017-08-25 07:08:00 +02:00
James Cole
95bb8fa6ec New translations firefly.php (German) 2017-08-25 07:07:57 +02:00
James Cole
bbe8fff1e6 New translations firefly.php (French) 2017-08-25 07:07:54 +02:00
James Cole
5dc4cf4c17 New translations form.php (German) 2017-08-25 07:07:51 +02:00
James Cole
5b135ada24 New translations form.php (Polish) 2017-08-25 07:07:50 +02:00
James Cole
65b3dab916 New translations help.php (Slovenian) 2017-08-25 07:07:49 +02:00
James Cole
e2643ead1a New translations help.php (Spanish) 2017-08-25 07:07:48 +02:00
James Cole
0dcfddc169 New translations list.php (Chinese Traditional) 2017-08-25 07:07:47 +02:00
James Cole
b36589b2e6 New translations form.php (Slovenian) 2017-08-25 07:07:45 +02:00
James Cole
57bea64ad4 New translations form.php (Portuguese, Brazilian) 2017-08-25 07:07:44 +02:00
James Cole
5b5bbd29c3 New translations form.php (Spanish) 2017-08-25 07:07:43 +02:00
James Cole
e80822f1c5 New translations csv.php (Slovenian) 2017-08-25 07:07:41 +02:00
James Cole
c7978150c4 New translations csv.php (Portuguese, Brazilian) 2017-08-25 07:07:39 +02:00
James Cole
70ed0af475 New translations breadcrumbs.php (French) 2017-08-25 07:07:38 +02:00
James Cole
57d196fdce New translations breadcrumbs.php (German) 2017-08-25 07:07:37 +02:00
James Cole
8dd61e1f86 New translations breadcrumbs.php (Portuguese, Brazilian) 2017-08-25 07:07:36 +02:00
James Cole
d36801c589 New translations breadcrumbs.php (Polish) 2017-08-25 07:07:35 +02:00
James Cole
9f62df36dc New translations breadcrumbs.php (Chinese Traditional) 2017-08-25 07:07:34 +02:00
James Cole
aa66cfaae7 New translations breadcrumbs.php (Slovenian) 2017-08-25 07:07:32 +02:00
James Cole
e36abd2dfb New translations breadcrumbs.php (Spanish) 2017-08-25 07:07:31 +02:00
James Cole
9d5a021b1e New translations csv.php (Chinese Traditional) 2017-08-25 07:07:30 +02:00
James Cole
5ddad51911 New translations csv.php (Polish) 2017-08-25 07:07:29 +02:00
James Cole
ef5a950ecb New translations csv.php (German) 2017-08-25 07:07:28 +02:00
James Cole
8419cfae2b New translations config.php (Chinese Traditional) 2017-08-25 07:07:26 +02:00
James Cole
289e144521 New translations list.php (German) 2017-08-25 07:07:24 +02:00
James Cole
97ab06ea22 New translations breadcrumbs.php (Russian) 2017-08-25 07:07:23 +02:00
James Cole
3d06fba918 New translations csv.php (Russian) 2017-08-25 07:07:22 +02:00
James Cole
f9aa33315a New translations form.php (Russian) 2017-08-25 07:07:21 +02:00
James Cole
8eb6092f91 New translations firefly.php (Russian) 2017-08-25 07:07:20 +02:00
James Cole
06a50a5e45 New translations demo.php (Polish) 2017-08-25 07:07:17 +02:00
James Cole
4759713d9d New translations demo.php (Slovenian) 2017-08-25 07:07:16 +02:00
James Cole
7061730abc New translations list.php (Russian) 2017-08-25 07:07:15 +02:00
James Cole
f62dee262c New translations intro.php (Polish) 2017-08-25 07:07:14 +02:00
James Cole
df3a4d0d45 New translations intro.php (Portuguese, Brazilian) 2017-08-25 07:07:13 +02:00
James Cole
33d1fc085b New translations intro.php (Russian) 2017-08-25 07:07:12 +02:00
James Cole
c5eb3923c1 New translations intro.php (Spanish) 2017-08-25 07:07:10 +02:00
James Cole
596dd03bb4 New translations intro.php (Slovenian) 2017-08-25 07:07:09 +02:00
James Cole
d72bdcfe9b New translations intro.php (German) 2017-08-25 07:07:08 +02:00
James Cole
0c3174c2b5 New translations intro.php (French) 2017-08-25 07:07:07 +02:00
James Cole
6abb219499 New translations validation.php (Russian) 2017-08-25 07:07:06 +02:00
James Cole
eea1ddc288 New translations demo.php (Russian) 2017-08-25 07:07:05 +02:00
James Cole
42cbb7b723 New translations intro.php (Chinese Traditional) 2017-08-25 07:07:03 +02:00
James Cole
a06097b012 New translations demo.php (Chinese Traditional) 2017-08-25 07:07:02 +02:00
James Cole
d7b8115724 New translations list.php (Portuguese, Brazilian) 2017-08-25 07:07:00 +02:00
James Cole
c7703cd70c New translations list.php (Polish) 2017-08-25 07:06:59 +02:00
James Cole
8dec3717eb New translations list.php (Slovenian) 2017-08-25 07:06:57 +02:00
James Cole
c0673b10b5 New translations list.php (Spanish) 2017-08-25 07:06:56 +02:00
James Cole
91c3f2fb2d New translations validation.php (German) 2017-08-25 07:06:55 +02:00
James Cole
f83afd82d1 New translations validation.php (Portuguese, Brazilian) 2017-08-25 07:06:53 +02:00
James Cole
cf2cda6694 New translations validation.php (Slovenian) 2017-08-25 07:06:52 +02:00
James Cole
455c6e0d39 New translations validation.php (Chinese Traditional) 2017-08-25 07:06:48 +02:00
James Cole
72b7900ce2 Merge pull request #762 from firefly-iii/l10n_develop
New Crowdin translations
2017-08-25 07:04:51 +02:00
James Cole
dba3d89027 Update form for linking. 2017-08-25 06:58:28 +02:00
James Cole
8e4a480f05 New translations intro.php (Dutch) 2017-08-25 06:50:05 +02:00
James Cole
7fe2ed81e2 New translations intro.php (Dutch) 2017-08-25 06:40:14 +02:00
James Cole
58db856b9d New translations intro.php (Polish) 2017-08-25 06:27:25 +02:00
James Cole
62a854c2ea New translations intro.php (Portuguese, Brazilian) 2017-08-25 06:27:24 +02:00
James Cole
acb15e5209 New translations intro.php (Russian) 2017-08-25 06:27:22 +02:00
James Cole
ebf4395bc9 New translations intro.php (Spanish) 2017-08-25 06:27:21 +02:00
James Cole
8af45e8091 New translations intro.php (Slovenian) 2017-08-25 06:27:20 +02:00
James Cole
32d6951c34 New translations intro.php (German) 2017-08-25 06:27:18 +02:00
James Cole
a172762558 New translations intro.php (French) 2017-08-25 06:27:17 +02:00
James Cole
7abedd176f New translations intro.php (Dutch) 2017-08-25 06:27:15 +02:00
James Cole
f63be8a47d New translations intro.php (Chinese Traditional) 2017-08-25 06:27:14 +02:00
James Cole
86aa27d92c Fix language string [skip ci] 2017-08-25 06:23:01 +02:00
James Cole
972480269a Updated strings [skip ci] 2017-08-25 06:21:26 +02:00
James Cole
b829e5c0f6 New translations intro.php (Dutch) 2017-08-25 06:20:06 +02:00
James Cole
fe4b3c6f36 New translations firefly.php (Dutch) 2017-08-24 21:40:49 +02:00
James Cole
cad3921c95 New translations intro.php (Polish) 2017-08-24 21:40:27 +02:00
James Cole
24a84de463 New translations intro.php (Portuguese, Brazilian) 2017-08-24 21:40:25 +02:00
James Cole
3abf949e3f New translations intro.php (Russian) 2017-08-24 21:40:24 +02:00
James Cole
b561d86410 New translations intro.php (Spanish) 2017-08-24 21:40:22 +02:00
James Cole
59ff1ff856 New translations intro.php (Slovenian) 2017-08-24 21:40:21 +02:00
James Cole
88a911f6b7 New translations intro.php (German) 2017-08-24 21:40:20 +02:00
James Cole
55aa3f1198 New translations intro.php (French) 2017-08-24 21:40:19 +02:00
James Cole
a6f78aad73 New translations intro.php (Dutch) 2017-08-24 21:40:17 +02:00
James Cole
54bfbf174b New translations intro.php (Chinese Traditional) 2017-08-24 21:40:16 +02:00
James Cole
be6757c290 Fix some strings [skip ci] 2017-08-24 21:36:26 +02:00
James Cole
dda2080d01 New translations firefly.php (Slovenian) 2017-08-24 21:31:03 +02:00
James Cole
8ba63338fc New translations firefly.php (Spanish) 2017-08-24 21:31:00 +02:00
James Cole
8ebb39b8d5 New translations firefly.php (Portuguese, Brazilian) 2017-08-24 21:30:55 +02:00
James Cole
0f230834a1 New translations firefly.php (Polish) 2017-08-24 21:30:52 +02:00
James Cole
2dc41df0c8 New translations firefly.php (Chinese Traditional) 2017-08-24 21:30:49 +02:00
James Cole
995b879a28 New translations firefly.php (Dutch) 2017-08-24 21:30:46 +02:00
James Cole
b72e8559f6 New translations firefly.php (German) 2017-08-24 21:30:44 +02:00
James Cole
733b5c62af New translations firefly.php (French) 2017-08-24 21:30:41 +02:00
James Cole
b192b5366a New translations firefly.php (Russian) 2017-08-24 21:30:24 +02:00
James Cole
14aa261aca Remove unused translations. 2017-08-24 21:23:48 +02:00
James Cole
14a218e319 New translations breadcrumbs.php (Dutch) 2017-08-24 19:50:07 +02:00
James Cole
4ac5f25279 Expand config for links. 2017-08-24 19:47:31 +02:00
James Cole
c37ade8f5b Catch link error. 2017-08-24 19:42:23 +02:00
James Cole
1a179c7a45 New translations form.php (Dutch) 2017-08-24 18:41:00 +02:00
James Cole
237983cecf New translations breadcrumbs.php (Dutch) 2017-08-24 18:40:40 +02:00
James Cole
c1985b2fa2 New translations breadcrumbs.php (French) 2017-08-24 18:40:39 +02:00
James Cole
fc13df9a09 New translations breadcrumbs.php (German) 2017-08-24 18:40:37 +02:00
James Cole
8389b87556 New translations breadcrumbs.php (Portuguese, Brazilian) 2017-08-24 18:40:36 +02:00
James Cole
b77a783f94 New translations breadcrumbs.php (Polish) 2017-08-24 18:40:35 +02:00
James Cole
cdffd4a995 New translations breadcrumbs.php (Chinese Traditional) 2017-08-24 18:40:34 +02:00
James Cole
e75d17ed24 New translations breadcrumbs.php (Slovenian) 2017-08-24 18:40:32 +02:00
James Cole
087b4d5c7f New translations breadcrumbs.php (Spanish) 2017-08-24 18:40:31 +02:00
James Cole
7ce631d529 New translations breadcrumbs.php (Russian) 2017-08-24 18:40:26 +02:00
James Cole
829d3680d9 Broken translation. 2017-08-24 18:39:46 +02:00
James Cole
dbad6e4e8c New translations firefly.php (French) 2017-08-24 16:20:10 +02:00
James Cole
7453f89827 New translations form.php (French) 2017-08-23 23:10:06 +02:00
James Cole
3d639c7d45 New translations firefly.php (Slovenian) 2017-08-23 21:31:26 +02:00
James Cole
9348316b12 New translations firefly.php (Spanish) 2017-08-23 21:31:23 +02:00
James Cole
d7d874d48c New translations form.php (Chinese Traditional) 2017-08-23 21:31:20 +02:00
James Cole
7aec367a3c New translations form.php (French) 2017-08-23 21:31:19 +02:00
James Cole
6a29c64f08 New translations form.php (Dutch) 2017-08-23 21:31:18 +02:00
James Cole
0ee825212e New translations firefly.php (Portuguese, Brazilian) 2017-08-23 21:31:16 +02:00
James Cole
8dfd2b9b07 New translations firefly.php (Polish) 2017-08-23 21:31:13 +02:00
James Cole
343909f87a New translations firefly.php (Chinese Traditional) 2017-08-23 21:31:10 +02:00
James Cole
5e85d5ef32 New translations firefly.php (Dutch) 2017-08-23 21:31:07 +02:00
James Cole
1b14d7aa2d New translations firefly.php (German) 2017-08-23 21:31:04 +02:00
James Cole
139282a39e New translations firefly.php (French) 2017-08-23 21:31:02 +02:00
James Cole
e9724d8b41 New translations form.php (German) 2017-08-23 21:30:58 +02:00
James Cole
adc9f92125 New translations form.php (Polish) 2017-08-23 21:30:57 +02:00
James Cole
1c93153d83 New translations form.php (Slovenian) 2017-08-23 21:30:54 +02:00
James Cole
c73a32f76d New translations form.php (Portuguese, Brazilian) 2017-08-23 21:30:53 +02:00
James Cole
068af6b0d5 New translations form.php (Spanish) 2017-08-23 21:30:51 +02:00
James Cole
01a2d5e017 New translations breadcrumbs.php (Dutch) 2017-08-23 21:30:48 +02:00
James Cole
ca9f0fde9b New translations breadcrumbs.php (French) 2017-08-23 21:30:47 +02:00
James Cole
b16a9053b4 New translations breadcrumbs.php (German) 2017-08-23 21:30:45 +02:00
James Cole
5e6e7ed152 New translations breadcrumbs.php (Portuguese, Brazilian) 2017-08-23 21:30:44 +02:00
James Cole
93d1c06892 New translations breadcrumbs.php (Polish) 2017-08-23 21:30:43 +02:00
James Cole
e22745d1ff New translations breadcrumbs.php (Chinese Traditional) 2017-08-23 21:30:42 +02:00
James Cole
3308bc8a0f New translations breadcrumbs.php (Slovenian) 2017-08-23 21:30:38 +02:00
James Cole
f94193ad53 New translations breadcrumbs.php (Spanish) 2017-08-23 21:30:37 +02:00
James Cole
6f5eb45144 New translations breadcrumbs.php (Russian) 2017-08-23 21:30:32 +02:00
James Cole
9bfa7acdee New translations form.php (Russian) 2017-08-23 21:30:31 +02:00
James Cole
e38b259094 New translations firefly.php (Russian) 2017-08-23 21:30:29 +02:00
James Cole
394e92d538 Improvements for #616 and others. 2017-08-23 21:21:42 +02:00
James Cole
02ee9451d8 New translations firefly.php (Polish) 2017-08-23 21:10:09 +02:00
James Cole
093fe22ab5 New translations firefly.php (Polish) 2017-08-23 21:00:09 +02:00
James Cole
2bb4d7c8b9 New translations firefly.php (Polish) 2017-08-23 20:50:07 +02:00
James Cole
ea2732b38c New translations firefly.php (Polish) 2017-08-23 20:40:46 +02:00
James Cole
6bb3cf5719 New translations firefly.php (Polish) 2017-08-23 20:30:19 +02:00
James Cole
54e277e773 New translations firefly.php (Polish) 2017-08-23 20:20:10 +02:00
James Cole
dec29b3e22 New translations firefly.php (Polish) 2017-08-23 20:10:09 +02:00
James Cole
9974f71f3e New translations list.php (Polish) 2017-08-23 20:10:06 +02:00
James Cole
25256601a6 New translations validation.php (Polish) 2017-08-23 20:00:06 +02:00
James Cole
d3e9fe37eb New translations config.php (Polish) 2017-08-23 19:50:07 +02:00
James Cole
9ccbebdc4f New translations breadcrumbs.php (Polish) 2017-08-23 19:20:06 +02:00
James Cole
73ddd239aa New translations firefly.php (French) 2017-08-23 00:20:08 +02:00
James Cole
598eec219f New translations firefly.php (French) 2017-08-23 00:10:18 +02:00
James Cole
f2f6239b59 New translations firefly.php (French) 2017-08-23 00:00:19 +02:00
James Cole
ce53cdd4a4 New translations firefly.php (French) 2017-08-22 23:50:08 +02:00
James Cole
4a97a6403d New translations firefly.php (French) 2017-08-22 23:10:07 +02:00
James Cole
6ec397b934 New translations firefly.php (French) 2017-08-22 23:00:17 +02:00
James Cole
23be3afc9d New translations list.php (French) 2017-08-22 14:50:07 +02:00
James Cole
bf6b12cf57 New translations form.php (French) 2017-08-22 14:50:06 +02:00
James Cole
3936251363 New translations firefly.php (French) 2017-08-22 14:40:09 +02:00
James Cole
b50d97c3b7 New translations firefly.php (French) 2017-08-22 14:30:16 +02:00
James Cole
ef29d4efe8 New translations firefly.php (French) 2017-08-22 14:20:13 +02:00
James Cole
92ddf9bb2d New translations firefly.php (Polish) 2017-08-22 14:10:44 +02:00
James Cole
875d5d50b8 New translations firefly.php (French) 2017-08-22 14:10:39 +02:00
James Cole
83fa13ea4b New translations firefly.php (Chinese Traditional) 2017-08-22 14:10:35 +02:00
James Cole
8b24716372 New translations firefly.php (Portuguese, Brazilian) 2017-08-22 14:10:31 +02:00
James Cole
670ac4a34f New translations firefly.php (Slovenian) 2017-08-22 14:10:27 +02:00
James Cole
82eb923689 New translations firefly.php (Spanish) 2017-08-22 14:10:21 +02:00
James Cole
18aeda4713 New translations firefly.php (German) 2017-08-21 19:00:49 +02:00
James Cole
a388493030 New translations firefly.php (French) 2017-08-21 19:00:46 +02:00
James Cole
c3f8573950 New translations firefly.php (Russian) 2017-08-21 19:00:29 +02:00
James Cole
36778bb87e New translations firefly.php (Dutch) 2017-08-21 19:00:23 +02:00
James Cole
1a89e379a4 Language fix [skip ci] 2017-08-21 18:55:25 +02:00
James Cole
0aae349816 Missing translations 2017-08-21 18:53:02 +02:00
James Cole
434291b592 New translations firefly.php (Slovenian) 2017-08-21 18:21:12 +02:00
James Cole
668ceda86c New translations firefly.php (Spanish) 2017-08-21 18:21:09 +02:00
James Cole
e3ef729adf New translations firefly.php (Portuguese, Brazilian) 2017-08-21 18:21:04 +02:00
James Cole
baafba1774 New translations firefly.php (Polish) 2017-08-21 18:21:01 +02:00
James Cole
2ccf82749f New translations firefly.php (Chinese Traditional) 2017-08-21 18:20:58 +02:00
James Cole
5663fd386a New translations firefly.php (Dutch) 2017-08-21 18:20:55 +02:00
James Cole
6d1ebf3952 New translations firefly.php (German) 2017-08-21 18:20:52 +02:00
James Cole
0ea28c646a New translations firefly.php (French) 2017-08-21 18:20:49 +02:00
James Cole
fab5dc64e9 New translations firefly.php (Russian) 2017-08-21 18:20:31 +02:00
James Cole
a5013ecbc3 Expand link view and more features #616 2017-08-21 18:16:15 +02:00
James Cole
5f82e947b2 New translations demo.php (Dutch) 2017-08-21 17:20:12 +02:00
James Cole
d00b9515de fix #770 2017-08-21 17:11:18 +02:00
James Cole
eebbbdd0dc New translations list.php (Dutch) 2017-08-21 10:50:16 +02:00
James Cole
46adb7644a New translations firefly.php (Dutch) 2017-08-21 10:40:18 +02:00
James Cole
49e7b4f4ea New translations form.php (Dutch) 2017-08-21 10:40:15 +02:00
James Cole
55b1c533cf Fix division by zero. [skip ci] 2017-08-21 08:48:02 +02:00
James Cole
f1a7f30167 Fix division by zero. [skip ci] 2017-08-21 08:47:03 +02:00
James Cole
9f5c2b74eb Fix division by zero. 2017-08-21 08:44:04 +02:00
James Cole
78b44af7a2 New translations firefly.php (Slovenian) 2017-08-21 07:21:12 +02:00
James Cole
a8442ca0bb New translations firefly.php (Spanish) 2017-08-21 07:21:10 +02:00
James Cole
926b1ae28b New translations form.php (Chinese Traditional) 2017-08-21 07:21:08 +02:00
James Cole
109c1ce245 New translations form.php (French) 2017-08-21 07:21:06 +02:00
James Cole
637ccf1b2a New translations form.php (Dutch) 2017-08-21 07:21:05 +02:00
James Cole
a428aedf14 New translations firefly.php (Portuguese, Brazilian) 2017-08-21 07:21:04 +02:00
James Cole
2747049986 New translations firefly.php (Polish) 2017-08-21 07:21:02 +02:00
James Cole
9a52fcf66d New translations firefly.php (Chinese Traditional) 2017-08-21 07:20:59 +02:00
James Cole
a2b2e01e39 New translations firefly.php (Dutch) 2017-08-21 07:20:57 +02:00
James Cole
be48a2ed91 New translations firefly.php (German) 2017-08-21 07:20:54 +02:00
James Cole
245db56771 New translations firefly.php (French) 2017-08-21 07:20:52 +02:00
James Cole
ba4616371b New translations form.php (German) 2017-08-21 07:20:50 +02:00
James Cole
62a3bbbcf5 New translations form.php (Polish) 2017-08-21 07:20:48 +02:00
James Cole
235c7a3bb8 New translations list.php (Dutch) 2017-08-21 07:20:46 +02:00
James Cole
9a1219c70c New translations list.php (Chinese Traditional) 2017-08-21 07:20:45 +02:00
James Cole
5e692e10bc New translations form.php (Slovenian) 2017-08-21 07:20:43 +02:00
James Cole
22b6916ac2 New translations form.php (Portuguese, Brazilian) 2017-08-21 07:20:42 +02:00
James Cole
e628ec6ff0 New translations form.php (Spanish) 2017-08-21 07:20:41 +02:00
James Cole
863f812dbb New translations list.php (French) 2017-08-21 07:20:33 +02:00
James Cole
21dbf0f14b New translations list.php (German) 2017-08-21 07:20:32 +02:00
James Cole
9c392461e8 New translations form.php (Russian) 2017-08-21 07:20:30 +02:00
James Cole
5b9178b18d New translations firefly.php (Russian) 2017-08-21 07:20:29 +02:00
James Cole
7f4a80f17f New translations list.php (Russian) 2017-08-21 07:20:25 +02:00
James Cole
2798837450 New translations list.php (Portuguese, Brazilian) 2017-08-21 07:20:19 +02:00
James Cole
381ca70517 New translations list.php (Polish) 2017-08-21 07:20:18 +02:00
James Cole
fe2beaf96a New translations list.php (Slovenian) 2017-08-21 07:20:17 +02:00
James Cole
c962ec34c8 New translations list.php (Spanish) 2017-08-21 07:20:16 +02:00
James Cole
ff390fcb7c Less complex links 2017-08-21 07:14:41 +02:00
James Cole
35ab4a5ff4 Management of links and first form for link storing #616 2017-08-21 07:13:03 +02:00
James Cole
cac498fd9e New translations firefly.php (Slovenian) 2017-08-20 14:50:58 +02:00
James Cole
06fcf8f079 New translations firefly.php (Spanish) 2017-08-20 14:50:55 +02:00
James Cole
5dad1fe2af New translations firefly.php (Portuguese, Brazilian) 2017-08-20 14:50:51 +02:00
James Cole
81ae860134 New translations firefly.php (Polish) 2017-08-20 14:50:48 +02:00
James Cole
91558049d9 New translations firefly.php (Chinese Traditional) 2017-08-20 14:50:45 +02:00
James Cole
aa78948c90 New translations firefly.php (Dutch) 2017-08-20 14:50:43 +02:00
James Cole
7cbe0768f2 New translations firefly.php (German) 2017-08-20 14:50:41 +02:00
James Cole
05be2fe25a New translations firefly.php (French) 2017-08-20 14:50:38 +02:00
James Cole
59f46b8265 New translations firefly.php (Russian) 2017-08-20 14:50:24 +02:00
James Cole
c5cdd748fc Make sure tests work again. 2017-08-20 14:36:14 +02:00
James Cole
6fcbe5a37f Various HTML fixes. 2017-08-20 12:43:31 +02:00
James Cole
4d595c1380 More link types for #616 2017-08-20 12:42:51 +02:00
James Cole
7684e966fc First code for #616 2017-08-20 12:41:31 +02:00
James Cole
40639dfa37 New view for tags 2017-08-20 12:40:14 +02:00
James Cole
5769d0121e New translations intro.php (Dutch) 2017-08-20 12:40:06 +02:00
James Cole
1d6f3fc57f Update composer file. 2017-08-20 12:39:31 +02:00
James Cole
2609f3425b Fix #738 2017-08-19 21:59:13 +02:00
James Cole
bd924b993b This fixes part of #738 (not everything). 2017-08-19 18:24:04 +02:00
James Cole
c4fe9a6a51 More code for bunq import, must now wait for reply from bunq itself 2017-08-19 16:46:06 +02:00
James Cole
4694e31e35 Expand bunq related code. 2017-08-19 09:22:44 +02:00
James Cole
ca0f09c8f7 Various cleanup. 2017-08-18 23:02:29 +02:00
James Cole
684c9773c9 Can now register with Bunq and get device server ID. 2017-08-18 21:09:22 +02:00
James Cole
df443aa34c Add copyright things. 2017-08-18 21:08:51 +02:00
James Cole
33e381b5da New translations form.php (Spanish) 2017-08-18 17:50:07 +02:00
James Cole
4b5d363f55 New translations validation.php (Spanish) 2017-08-18 17:50:06 +02:00
James Cole
4c3dbc6deb New translations validation.php (Spanish) 2017-08-18 17:40:06 +02:00
James Cole
519ad64e1d New translations validation.php (Spanish) 2017-08-18 17:30:06 +02:00
James Cole
93068659e5 Bunq code. 2017-08-18 17:08:30 +02:00
James Cole
4b46a3d298 Update composer.lock file. 2017-08-18 15:38:33 +02:00
James Cole
3e64028e29 Reinstate export javascript 2017-08-18 15:38:23 +02:00
James Cole
9b17715175 Fix the unit tests. 2017-08-18 15:32:11 +02:00
James Cole
7d8876f03c new export routine 2017-08-18 15:14:44 +02:00
James Cole
b955486f14 Updated export routine. 2017-08-18 14:45:42 +02:00
James Cole
6068cfbd70 New translations intro.php (Dutch) 2017-08-18 08:00:06 +02:00
James Cole
9cda8c8bcf New translations csv.php (Spanish) 2017-08-17 20:10:13 +02:00
James Cole
b7522288b5 New translations breadcrumbs.php (Spanish) 2017-08-17 20:00:18 +02:00
James Cole
18bc91734f New translations firefly.php (Spanish) 2017-08-17 20:00:16 +02:00
James Cole
ef21ac3d5a New translations firefly.php (Spanish) 2017-08-17 19:50:08 +02:00
James Cole
08af0aab75 New translations form.php (Spanish) 2017-08-17 19:50:06 +02:00
James Cole
a29292e018 New translations form.php (Spanish) 2017-08-17 19:40:06 +02:00
James Cole
ebb37c09e5 New translations form.php (Spanish) 2017-08-17 19:32:05 +02:00
James Cole
6666d1a2f4 Add debug information to getAmount routine. 2017-08-15 21:12:49 +02:00
James Cole
431bcf20ea Add list button [skip ci] #763 2017-08-15 17:37:48 +02:00
James Cole
7b3ef0e3ab Fix #764 2017-08-15 17:34:34 +02:00
James Cole
34894fb76b Add some comments [skip ci] 2017-08-15 17:26:43 +02:00
James Cole
e5afcbd013 New translations firefly.php (French) 2017-08-15 16:50:07 +02:00
James Cole
253a98143c New translations firefly.php (French) 2017-08-15 16:40:08 +02:00
James Cole
59a7feafef New translations firefly.php (French) 2017-08-15 16:30:08 +02:00
James Cole
0b2c3d7ca8 New translations firefly.php (French) 2017-08-15 10:10:22 +02:00
James Cole
bd8afc67dd New translations firefly.php (French) 2017-08-15 10:00:14 +02:00
James Cole
08e5b018b8 New translations csv.php (French) 2017-08-15 01:20:08 +02:00
James Cole
3d58a0c0f3 New translations firefly.php (French) 2017-08-15 01:20:07 +02:00
James Cole
56f7ca388d New translations firefly.php (French) 2017-08-15 01:10:06 +02:00
James Cole
ddf0ee9972 New translations firefly.php (French) 2017-08-15 01:00:07 +02:00
James Cole
298e6d38a0 New translations firefly.php (French) 2017-08-15 00:50:07 +02:00
James Cole
7bb5d243a0 New translations firefly.php (French) 2017-08-15 00:40:07 +02:00
James Cole
207b0194c2 New translations firefly.php (French) 2017-08-15 00:30:07 +02:00
James Cole
f1081e058c New translations firefly.php (French) 2017-08-15 00:20:07 +02:00
James Cole
7974319c73 New translations firefly.php (French) 2017-08-15 00:10:08 +02:00
James Cole
e84b37fc66 New translations firefly.php (French) 2017-08-14 23:50:14 +02:00
James Cole
4219edc089 New translations firefly.php (French) 2017-08-14 23:40:07 +02:00
James Cole
244dcc0465 New translations demo.php (French) 2017-08-14 19:10:07 +02:00
James Cole
5e423a8ede New translations list.php (French) 2017-08-14 18:10:11 +02:00
James Cole
fe24c8971f New translations breadcrumbs.php (French) 2017-08-14 18:10:10 +02:00
James Cole
2410c767f8 New translations form.php (French) 2017-08-14 18:10:09 +02:00
James Cole
a785fd27ec New translations validation.php (French) 2017-08-14 18:10:07 +02:00
James Cole
5d3df4579e New translations list.php (French) 2017-08-14 18:00:13 +02:00
James Cole
3182256580 New translations csv.php (French) 2017-08-14 18:00:11 +02:00
James Cole
84b5c3c789 New translations csv.php (French) 2017-08-14 17:50:12 +02:00
James Cole
4a1a70fa46 New translations csv.php (French) 2017-08-14 17:41:49 +02:00
James Cole
fe457d149c New translations csv.php (French) 2017-08-14 17:00:07 +02:00
James Cole
9a29747bbf New translations csv.php (French) 2017-08-14 16:50:08 +02:00
James Cole
c04eb6dc2a New translations csv.php (French) 2017-08-14 16:20:06 +02:00
James Cole
5a9a6a4680 New translations csv.php (French) 2017-08-14 16:10:14 +02:00
James Cole
1633994fbd Slight change in amount handler. #760 2017-08-13 15:30:39 +02:00
James Cole
f9c85d4d81 Catch the error in #760 2017-08-13 12:37:09 +02:00
James Cole
ec636c95a1 Improve update and verify routines. 2017-08-13 12:30:28 +02:00
James Cole
2915fae942 Merge branch 'release/4.6.4' 2017-08-13 09:04:40 +02:00
James Cole
f9b5468481 Last minute fixes for import routine. 2017-08-13 08:49:45 +02:00
James Cole
287f37eba5 Remove unused parameters. 2017-08-13 08:24:58 +02:00
James Cole
26740668da Import transfer error 2017-08-12 21:23:19 +02:00
James Cole
bdd72f0d30 Fix path for tag controller. 2017-08-12 21:22:59 +02:00
James Cole
7e79f25949 Merge languages. 2017-08-12 19:47:46 +02:00
James Cole
2d917e166c Merge pull request #755 from firefly-iii/l10n_develop
New Crowdin translations
2017-08-12 19:47:26 +02:00
James Cole
ad4a811d0a Small bug fixes [skip ci] 2017-08-12 19:11:24 +02:00
James Cole
ab1aa97af4 Read me says 7.1 too. [skip ci] 2017-08-12 19:11:11 +02:00
James Cole
018941c5b3 Actually use journal [skip ci] 2017-08-12 19:05:29 +02:00
James Cole
cc1439fb7b Revamped import routine. 2017-08-12 19:03:42 +02:00
James Cole
f684a2900b Include default currency. 2017-08-12 16:42:29 +02:00
James Cole
83b721a322 Small bug fix in map / roles. 2017-08-12 16:41:05 +02:00
James Cole
a879528ed8 Back to basics. 2017-08-12 16:40:51 +02:00
James Cole
accbff3ccb Small cleanup in CSV processor 2017-08-12 16:12:30 +02:00
James Cole
0375f77b73 Prevent asset account from being found by opposing account. #719 2017-08-12 13:49:40 +02:00
James Cole
9d01162f42 New translations auth.php (Chinese Traditional) 2017-08-12 10:42:10 +02:00
James Cole
3436dc1564 New translations firefly.php (Slovenian) 2017-08-12 10:42:09 +02:00
James Cole
089293079f New translations firefly.php (Spanish) 2017-08-12 10:42:06 +02:00
James Cole
00e2cd7c04 New translations form.php (Chinese Traditional) 2017-08-12 10:42:04 +02:00
James Cole
f5abb933b0 New translations form.php (French) 2017-08-12 10:42:03 +02:00
James Cole
848386bbaf New translations form.php (Dutch) 2017-08-12 10:42:01 +02:00
James Cole
5562a3c2ae New translations firefly.php (Portuguese, Brazilian) 2017-08-12 10:42:00 +02:00
James Cole
9e8738660b New translations firefly.php (Polish) 2017-08-12 10:41:57 +02:00
James Cole
178772d50d New translations firefly.php (Chinese Traditional) 2017-08-12 10:41:55 +02:00
James Cole
8d7f29c7c9 New translations firefly.php (Dutch) 2017-08-12 10:41:52 +02:00
James Cole
255f87f1c3 New translations firefly.php (German) 2017-08-12 10:41:50 +02:00
James Cole
975354d081 New translations firefly.php (French) 2017-08-12 10:41:48 +02:00
James Cole
ec6890ced1 New translations form.php (German) 2017-08-12 10:41:46 +02:00
James Cole
290efb4b62 New translations form.php (Polish) 2017-08-12 10:41:44 +02:00
James Cole
ab3ea76244 New translations help.php (Portuguese, Brazilian) 2017-08-12 10:41:43 +02:00
James Cole
21d07aef15 New translations help.php (Slovenian) 2017-08-12 10:41:42 +02:00
James Cole
6031cd02b9 New translations help.php (Spanish) 2017-08-12 10:41:41 +02:00
James Cole
2cdb4cab12 New translations list.php (Dutch) 2017-08-12 10:41:41 +02:00
James Cole
679217f2ef New translations list.php (Chinese Traditional) 2017-08-12 10:41:40 +02:00
James Cole
3aacc0a258 New translations help.php (Polish) 2017-08-12 10:41:39 +02:00
James Cole
254cf6cc5b New translations help.php (German) 2017-08-12 10:41:38 +02:00
James Cole
c06095259a New translations form.php (Slovenian) 2017-08-12 10:41:37 +02:00
James Cole
30fd98c8d7 New translations form.php (Portuguese, Brazilian) 2017-08-12 10:41:36 +02:00
James Cole
3a410f04fe New translations form.php (Spanish) 2017-08-12 10:41:35 +02:00
James Cole
4a0a58cdc1 New translations help.php (Chinese Traditional) 2017-08-12 10:41:34 +02:00
James Cole
c834f93539 New translations help.php (French) 2017-08-12 10:41:33 +02:00
James Cole
35bdb84e57 New translations help.php (Dutch) 2017-08-12 10:41:32 +02:00
James Cole
36a3a09fcc New translations breadcrumbs.php (Dutch) 2017-08-12 10:41:30 +02:00
James Cole
2c07b490e8 New translations breadcrumbs.php (French) 2017-08-12 10:41:29 +02:00
James Cole
5790311cbd New translations breadcrumbs.php (German) 2017-08-12 10:41:29 +02:00
James Cole
fde3322117 New translations breadcrumbs.php (Portuguese, Brazilian) 2017-08-12 10:41:28 +02:00
James Cole
5664e133d1 New translations breadcrumbs.php (Polish) 2017-08-12 10:41:27 +02:00
James Cole
a1dc38a83f New translations breadcrumbs.php (Chinese Traditional) 2017-08-12 10:41:26 +02:00
James Cole
df974f93ee New translations auth.php (Spanish) 2017-08-12 10:41:25 +02:00
James Cole
3dde64cdac New translations auth.php (French) 2017-08-12 10:41:24 +02:00
James Cole
6b4887df0f New translations auth.php (Dutch) 2017-08-12 10:41:23 +02:00
James Cole
ca8ef3961e New translations auth.php (German) 2017-08-12 10:41:22 +02:00
James Cole
114e0e5b1e New translations auth.php (Polish) 2017-08-12 10:41:22 +02:00
James Cole
c7a247cbba New translations auth.php (Slovenian) 2017-08-12 10:41:21 +02:00
James Cole
3a641a7020 New translations auth.php (Portuguese, Brazilian) 2017-08-12 10:41:20 +02:00
James Cole
0977859bf5 New translations breadcrumbs.php (Slovenian) 2017-08-12 10:41:19 +02:00
James Cole
a644253ee9 New translations breadcrumbs.php (Spanish) 2017-08-12 10:41:18 +02:00
James Cole
3403356be8 New translations config.php (Spanish) 2017-08-12 10:41:16 +02:00
James Cole
4a9ec0d0d4 New translations config.php (Slovenian) 2017-08-12 10:41:15 +02:00
James Cole
250c5c0745 New translations config.php (Dutch) 2017-08-12 10:41:14 +02:00
James Cole
120b5880b1 New translations config.php (Chinese Traditional) 2017-08-12 10:41:13 +02:00
James Cole
18eff73795 New translations config.php (French) 2017-08-12 10:41:12 +02:00
James Cole
89b9dbb1b4 New translations config.php (German) 2017-08-12 10:41:12 +02:00
James Cole
dde4b3ab93 New translations config.php (Portuguese, Brazilian) 2017-08-12 10:41:11 +02:00
James Cole
b1cc655ba5 New translations config.php (Polish) 2017-08-12 10:41:10 +02:00
James Cole
5645a12d5b New translations list.php (French) 2017-08-12 10:41:09 +02:00
James Cole
ce1a935c06 New translations list.php (German) 2017-08-12 10:41:08 +02:00
James Cole
58b90ad6c9 New translations breadcrumbs.php (Russian) 2017-08-12 10:41:07 +02:00
James Cole
4740e63e76 New translations config.php (Russian) 2017-08-12 10:41:06 +02:00
James Cole
319932c734 New translations form.php (Russian) 2017-08-12 10:41:05 +02:00
James Cole
7cf415288a New translations firefly.php (Russian) 2017-08-12 10:41:03 +02:00
James Cole
fe67c1db8f New translations auth.php (Russian) 2017-08-12 10:41:01 +02:00
James Cole
09afbd89b8 New translations demo.php (Spanish) 2017-08-12 10:41:00 +02:00
James Cole
824f7d827c New translations demo.php (French) 2017-08-12 10:40:59 +02:00
James Cole
3a8ca56f95 New translations demo.php (German) 2017-08-12 10:40:58 +02:00
James Cole
137e3fd083 New translations demo.php (Polish) 2017-08-12 10:40:57 +02:00
James Cole
1285944b1f New translations demo.php (Slovenian) 2017-08-12 10:40:56 +02:00
James Cole
cd8e9deab7 New translations demo.php (Portuguese, Brazilian) 2017-08-12 10:40:56 +02:00
James Cole
de424eac64 New translations help.php (Russian) 2017-08-12 10:40:55 +02:00
James Cole
d106a09766 New translations list.php (Russian) 2017-08-12 10:40:54 +02:00
James Cole
963e8ccd2c New translations intro.php (Polish) 2017-08-12 10:40:53 +02:00
James Cole
3474b8f2d0 New translations intro.php (Portuguese, Brazilian) 2017-08-12 10:40:52 +02:00
James Cole
e27b449ae9 New translations intro.php (Russian) 2017-08-12 10:40:51 +02:00
James Cole
7656818456 New translations intro.php (Spanish) 2017-08-12 10:40:50 +02:00
James Cole
d214be1215 New translations intro.php (Slovenian) 2017-08-12 10:40:49 +02:00
James Cole
c8678c3ee5 New translations intro.php (German) 2017-08-12 10:40:48 +02:00
James Cole
108ee40c3f New translations intro.php (French) 2017-08-12 10:40:47 +02:00
James Cole
de51d205dc New translations passwords.php (Russian) 2017-08-12 10:40:46 +02:00
James Cole
1f76246edc New translations pagination.php (Russian) 2017-08-12 10:40:45 +02:00
James Cole
f91974b766 New translations validation.php (Russian) 2017-08-12 10:40:44 +02:00
James Cole
df85936145 New translations demo.php (Russian) 2017-08-12 10:40:43 +02:00
James Cole
f39aa0f52a New translations intro.php (Dutch) 2017-08-12 10:40:42 +02:00
James Cole
180812394b New translations intro.php (Chinese Traditional) 2017-08-12 10:40:41 +02:00
James Cole
291fa9597f New translations demo.php (Dutch) 2017-08-12 10:40:40 +02:00
James Cole
6c4d8c25fc New translations demo.php (Chinese Traditional) 2017-08-12 10:40:39 +02:00
James Cole
bf4b32a8e9 New translations pagination.php (Polish) 2017-08-12 10:40:39 +02:00
James Cole
2e9dac7678 New translations pagination.php (Portuguese, Brazilian) 2017-08-12 10:40:38 +02:00
James Cole
369314c1cb New translations pagination.php (Slovenian) 2017-08-12 10:40:37 +02:00
James Cole
6ab86898af New translations passwords.php (Chinese Traditional) 2017-08-12 10:40:36 +02:00
James Cole
f3aa65d219 New translations pagination.php (Spanish) 2017-08-12 10:40:35 +02:00
James Cole
edf4f19de9 New translations pagination.php (German) 2017-08-12 10:40:34 +02:00
James Cole
91eaaae6d7 New translations pagination.php (French) 2017-08-12 10:40:34 +02:00
James Cole
ca0ae5a165 New translations list.php (Portuguese, Brazilian) 2017-08-12 10:40:33 +02:00
James Cole
86d788d294 New translations list.php (Polish) 2017-08-12 10:40:32 +02:00
James Cole
e345cea9be New translations list.php (Slovenian) 2017-08-12 10:40:31 +02:00
James Cole
779f7841c2 New translations list.php (Spanish) 2017-08-12 10:40:30 +02:00
James Cole
15fdca46b8 New translations pagination.php (Dutch) 2017-08-12 10:40:29 +02:00
James Cole
97e099c70f New translations pagination.php (Chinese Traditional) 2017-08-12 10:40:28 +02:00
James Cole
d5a58bb763 New translations passwords.php (Dutch) 2017-08-12 10:40:26 +02:00
James Cole
2774df0d30 New translations passwords.php (French) 2017-08-12 10:40:25 +02:00
James Cole
93a1799a4b New translations validation.php (German) 2017-08-12 10:40:24 +02:00
James Cole
f65f051c7c New translations validation.php (Polish) 2017-08-12 10:40:23 +02:00
James Cole
c46952dd4e New translations validation.php (Portuguese, Brazilian) 2017-08-12 10:40:22 +02:00
James Cole
1dad6b6118 New translations validation.php (Spanish) 2017-08-12 10:40:22 +02:00
James Cole
e964621f2c New translations validation.php (Slovenian) 2017-08-12 10:40:21 +02:00
James Cole
46ae62f693 New translations validation.php (French) 2017-08-12 10:40:20 +02:00
James Cole
7d578f5852 New translations validation.php (Dutch) 2017-08-12 10:40:19 +02:00
James Cole
467f257ad3 New translations passwords.php (Polish) 2017-08-12 10:40:18 +02:00
James Cole
55186c0a49 New translations passwords.php (German) 2017-08-12 10:40:17 +02:00
James Cole
1a0a4f7112 New translations passwords.php (Portuguese, Brazilian) 2017-08-12 10:40:16 +02:00
James Cole
658290ae80 New translations passwords.php (Slovenian) 2017-08-12 10:40:15 +02:00
James Cole
cb9f29c6fc New translations validation.php (Chinese Traditional) 2017-08-12 10:40:15 +02:00
James Cole
d8f4955292 New translations passwords.php (Spanish) 2017-08-12 10:40:13 +02:00
James Cole
9803932324 Various code clean up. 2017-08-12 10:27:45 +02:00
James Cole
a3a416b5e2 New composer file 2017-08-12 09:15:09 +02:00
James Cole
1453a318fe Merge branch 'develop' of https://github.com/firefly-iii/firefly-iii into develop
* 'develop' of https://github.com/firefly-iii/firefly-iii: (23 commits)
  New translations firefly.php (Dutch)
  New translations firefly.php (Chinese Traditional)
  New translations firefly.php (Dutch)
  New translations firefly.php (Polish)
  New translations firefly.php (Portuguese, Brazilian)
  New translations firefly.php (Slovenian)
  New translations firefly.php (Spanish)
  New translations firefly.php (German)
  New translations firefly.php (French)
  New translations firefly.php (Russian)
  New translations firefly.php (Dutch)
  New translations validation.php (Dutch)
  New translations form.php (Dutch)
  New translations csv.php (Dutch)
  New translations firefly.php (Slovenian)
  New translations firefly.php (Spanish)
  New translations firefly.php (Portuguese, Brazilian)
  New translations firefly.php (Polish)
  New translations firefly.php (Chinese Traditional)
  New translations firefly.php (Dutch)
  ...
2017-08-12 09:14:54 +02:00
James Cole
9ffa01d318 Merge pull request #754 from firefly-iii/l10n_develop
New Crowdin translations
2017-08-12 09:14:18 +02:00
James Cole
29b779c873 Remove intro popup. 2017-08-12 09:06:13 +02:00
James Cole
598307f676 Update change log 2017-08-12 09:06:02 +02:00
James Cole
aa9d546bf5 New translations firefly.php (Dutch) 2017-08-12 08:20:30 +02:00
James Cole
f2ef245eca New translations firefly.php (Chinese Traditional) 2017-08-12 08:10:24 +02:00
James Cole
458606381e New translations firefly.php (Dutch) 2017-08-12 08:10:21 +02:00
James Cole
244f174dc9 New translations firefly.php (Polish) 2017-08-12 08:10:19 +02:00
James Cole
8a577f3197 New translations firefly.php (Portuguese, Brazilian) 2017-08-12 08:10:17 +02:00
James Cole
2f1b24cc14 New translations firefly.php (Slovenian) 2017-08-12 08:10:13 +02:00
James Cole
d5f836db7a New translations firefly.php (Spanish) 2017-08-12 08:10:10 +02:00
James Cole
ffd7c36cb2 New translations firefly.php (German) 2017-08-12 08:05:26 +02:00
James Cole
dba543d539 New translations firefly.php (French) 2017-08-12 08:05:24 +02:00
James Cole
9753c0f8eb New translations firefly.php (Russian) 2017-08-12 08:05:09 +02:00
James Cole
c50b4d3d47 New translations firefly.php (Dutch) 2017-08-12 08:05:02 +02:00
James Cole
907f886cf0 New translations validation.php (Dutch) 2017-08-12 08:04:53 +02:00
James Cole
218a2d2004 Expand password modal. 2017-08-12 08:01:40 +02:00
James Cole
0e0f2c6833 New translations form.php (Dutch) 2017-08-12 08:00:06 +02:00
James Cole
e59090d3b6 Text and modal for password security. 2017-08-12 07:56:02 +02:00
James Cole
0404be8bef New translations csv.php (Dutch) 2017-08-12 07:50:05 +02:00
James Cole
337895cbaa Add newlines to files. 2017-08-12 07:48:39 +02:00
James Cole
743547096e Various code cleanup 2017-08-12 07:47:42 +02:00
James Cole
81fb3df45e Fix #747 2017-08-12 07:39:58 +02:00
James Cole
12624cab5b Improve foreign currency routine for #746 2017-08-12 07:38:22 +02:00
James Cole
7d62ea88d2 New translations firefly.php (Slovenian) 2017-08-12 07:10:58 +02:00
James Cole
abcc277430 New translations firefly.php (Spanish) 2017-08-12 07:10:55 +02:00
James Cole
4c4c9426ee New translations firefly.php (Portuguese, Brazilian) 2017-08-12 07:10:52 +02:00
James Cole
88fdeb2bf2 New translations firefly.php (Polish) 2017-08-12 07:10:50 +02:00
James Cole
f9ab868022 New translations firefly.php (Chinese Traditional) 2017-08-12 07:10:47 +02:00
James Cole
148d2cec8f New translations firefly.php (Dutch) 2017-08-12 07:10:45 +02:00
James Cole
5869f157f6 New translations firefly.php (German) 2017-08-12 07:10:43 +02:00
James Cole
69a2902161 New translations firefly.php (French) 2017-08-12 07:10:40 +02:00
James Cole
c19b048249 New translations firefly.php (Russian) 2017-08-12 07:10:26 +02:00
James Cole
cd2c8acdb2 Merge pull request #729 from firefly-iii/l10n_develop
New Crowdin translations
2017-08-12 07:01:33 +02:00
James Cole
7d0d1c764f Make sure we’re still at 4.6.4 and bunq import is unavailable. [skip ci] 2017-08-12 07:01:21 +02:00
James Cole
b5acf1d529 Merge early release branch
Code for #749
  Add link to split withdrawal
  Clarifies #751
  Text for #748
  Improve error reporting #752
  Small code cleanup.
  Add copyright markers.
2017-08-12 06:59:59 +02:00
James Cole
72b08384ad Code for #749 2017-08-12 06:55:46 +02:00
James Cole
f51e48f282 Add link to split withdrawal 2017-08-12 06:55:35 +02:00
James Cole
2e6d1f3642 Clarifies #751 2017-08-12 06:44:00 +02:00
James Cole
716af4ed93 Text for #748 2017-08-12 06:41:14 +02:00
James Cole
31de86c9eb Improve error reporting #752 2017-08-12 06:40:17 +02:00
James Cole
04a2cd1f1f Small code cleanup. 2017-08-11 05:42:15 +02:00
James Cole
bc0ef11a8c Add copyright markers. 2017-08-11 05:36:05 +02:00
James Cole
90c8420a4c Initial code for preparing bunq import #714 2017-08-11 05:21:00 +02:00
James Cole
657d5e0d74 Upgrade version in develop 2017-08-11 05:02:49 +02:00
James Cole
03fa4d957c Added upgrade instruction [skip ci] 2017-08-10 20:52:10 +02:00
James Cole
8d4530f1f2 Fixes #743 2017-08-10 20:48:29 +02:00
James Cole
6d15c503c3 Fix #515 2017-08-10 20:41:33 +02:00
James Cole
75ddb34398 Remove references to date range thing. 2017-08-10 19:57:18 +02:00
James Cole
6fbfe6fb72 Remove references to date range thing. 2017-08-10 19:55:52 +02:00
James Cole
db500e911c update date range picker 2017-08-10 19:55:23 +02:00
James Cole
c0c5ced6ad Fix multi currency edit display 2017-08-10 19:55:13 +02:00
James Cole
726270f8bc New translations form.php (Chinese Traditional) 2017-08-08 16:41:01 +02:00
James Cole
c3908450a0 New translations form.php (French) 2017-08-08 16:40:59 +02:00
James Cole
f7ba05f465 New translations form.php (Dutch) 2017-08-08 16:40:58 +02:00
James Cole
dea7f7d5d6 New translations form.php (German) 2017-08-08 16:40:46 +02:00
James Cole
ed7a0a2b9d New translations form.php (Polish) 2017-08-08 16:40:45 +02:00
James Cole
ac6b4db0f8 New translations form.php (Slovenian) 2017-08-08 16:40:41 +02:00
James Cole
b5d659c13c New translations form.php (Portuguese, Brazilian) 2017-08-08 16:40:40 +02:00
James Cole
919cb5d1f2 New translations form.php (Spanish) 2017-08-08 16:40:39 +02:00
James Cole
e504d3cc35 New translations form.php (Russian) 2017-08-08 16:40:28 +02:00
James Cole
1d67939e76 No password service in env file. [skip ci] 2017-08-08 16:30:43 +02:00
James Cole
5d1e90d29c Expand verify password routine. 2017-08-08 16:30:21 +02:00
James Cole
1678eba9cc New translations intro.php (Polish) 2017-08-08 16:10:35 +02:00
James Cole
cc142b2ba1 New translations intro.php (Portuguese, Brazilian) 2017-08-08 16:10:33 +02:00
James Cole
48cbffba14 New translations intro.php (Russian) 2017-08-08 16:10:32 +02:00
James Cole
d909bb1b25 New translations intro.php (Spanish) 2017-08-08 16:10:31 +02:00
James Cole
3313e66fc2 New translations intro.php (Slovenian) 2017-08-08 16:10:30 +02:00
James Cole
085892a4c8 New translations intro.php (German) 2017-08-08 16:10:28 +02:00
James Cole
817e059230 New translations intro.php (French) 2017-08-08 16:10:27 +02:00
James Cole
7ce8891246 New translations intro.php (Dutch) 2017-08-08 16:10:25 +02:00
James Cole
439b2589f9 New translations intro.php (Chinese Traditional) 2017-08-08 16:10:24 +02:00
James Cole
e7b5cf66d2 Fix #739 2017-08-08 16:06:58 +02:00
James Cole
b29fabf76c Include virtual balance in transaction overview #735 2017-08-07 20:36:23 +02:00
James Cole
5d837c3ee4 Bump version. [skip ci] 2017-08-07 20:27:58 +02:00
James Cole
4c0396ad1c Fixes #733 2017-08-07 17:59:26 +02:00
James Cole
97b62fce79 New translations firefly.php (Russian) 2017-08-05 02:00:07 +02:00
James Cole
e904a38735 New translations firefly.php (Russian) 2017-08-05 01:10:08 +02:00
James Cole
ae72187aed New translations form.php (Russian) 2017-08-05 01:10:05 +02:00
James Cole
e4ebeefa61 New translations firefly.php (Russian) 2017-08-05 01:00:09 +02:00
James Cole
417373ba70 New translations form.php (Russian) 2017-08-05 01:00:06 +02:00
James Cole
36f9ded08e New translations breadcrumbs.php (Russian) 2017-08-05 01:00:05 +02:00
James Cole
858925b8c8 New translations firefly.php (Slovenian) 2017-08-04 17:11:13 +02:00
James Cole
d36c96fba9 New translations firefly.php (Spanish) 2017-08-04 17:11:10 +02:00
James Cole
2be6fb329e New translations firefly.php (Portuguese, Brazilian) 2017-08-04 17:11:05 +02:00
James Cole
da56363ef9 New translations firefly.php (Polish) 2017-08-04 17:11:02 +02:00
James Cole
90d73228f3 New translations firefly.php (Chinese Traditional) 2017-08-04 17:10:59 +02:00
James Cole
1c76fcd26b New translations firefly.php (Dutch) 2017-08-04 17:10:55 +02:00
James Cole
c26c4ddf15 New translations firefly.php (German) 2017-08-04 17:10:53 +02:00
James Cole
537bdb62da New translations firefly.php (French) 2017-08-04 17:10:49 +02:00
James Cole
b2ac2bd97a New translations firefly.php (Russian) 2017-08-04 17:10:32 +02:00
James Cole
aee6ea56b5 New translations validation.php (Russian) 2017-08-04 17:10:24 +02:00
James Cole
ff5506c842 New translations validation.php (German) 2017-08-04 17:10:16 +02:00
James Cole
94c5340fbf New translations validation.php (Polish) 2017-08-04 17:10:15 +02:00
James Cole
0e11026b60 New translations validation.php (Portuguese, Brazilian) 2017-08-04 17:10:14 +02:00
James Cole
1d8e953ebc New translations validation.php (Spanish) 2017-08-04 17:10:13 +02:00
James Cole
8708fba4bc New translations validation.php (Slovenian) 2017-08-04 17:10:12 +02:00
James Cole
bc1294ae61 New translations validation.php (French) 2017-08-04 17:10:10 +02:00
James Cole
308f05101e New translations validation.php (Dutch) 2017-08-04 17:10:09 +02:00
James Cole
f368739303 New translations validation.php (Chinese Traditional) 2017-08-04 17:10:07 +02:00
James Cole
1bca1b921b Fix import tests. 2017-08-04 16:24:44 +02:00
James Cole
3e513e92b1 Import routine is prepped for multi-source import (such as banks). 2017-08-04 15:56:14 +02:00
James Cole
194fe178c0 Refactor for #732 2017-08-04 15:48:26 +02:00
James Cole
5d10a19bfa First version of routine #732 2017-08-04 15:46:52 +02:00
James Cole
8f52a68526 New translations firefly.php (French) 2017-08-04 13:10:13 +02:00
James Cole
c67d0d59bb New translations firefly.php (French) 2017-08-04 13:00:08 +02:00
James Cole
4477064f17 New translations firefly.php (French) 2017-08-04 12:50:08 +02:00
James Cole
9dbe24b37c New translations csv.php (Portuguese, Brazilian) 2017-08-04 08:20:13 +02:00
James Cole
46a85295e8 New translations firefly.php (Portuguese, Brazilian) 2017-08-04 08:20:11 +02:00
James Cole
63170324a8 New translations form.php (Portuguese, Brazilian) 2017-08-04 08:20:08 +02:00
James Cole
4fd157b5f4 New translations firefly.php (Polish) 2017-08-03 21:00:23 +02:00
James Cole
e5406a0ea3 New translations firefly.php (Chinese Traditional) 2017-08-03 21:00:20 +02:00
James Cole
9b64ba21fd New translations firefly.php (Portuguese, Brazilian) 2017-08-03 21:00:17 +02:00
James Cole
18fcf07971 New translations firefly.php (Slovenian) 2017-08-03 21:00:14 +02:00
James Cole
d3404c6570 New translations firefly.php (Spanish) 2017-08-03 21:00:10 +02:00
James Cole
1878b5287b Cheap solution for #730 [skip ci] 2017-08-03 20:50:16 +02:00
James Cole
7f74545586 New translations firefly.php (German) 2017-07-30 14:10:38 +02:00
James Cole
a920894a8f New translations firefly.php (French) 2017-07-30 14:10:35 +02:00
James Cole
2c912456ce New translations firefly.php (Russian) 2017-07-30 14:10:23 +02:00
James Cole
ebda475972 New translations firefly.php (Dutch) 2017-07-30 14:10:17 +02:00
James Cole
05aace84e1 Fix tests for show() routines. 2017-07-30 13:57:46 +02:00
James Cole
1cfa1faccc Remove all time jumps because they’re unclear and complex. 2017-07-30 13:53:04 +02:00
James Cole
1caa393974 Simple cache routine. 2017-07-30 13:44:36 +02:00
James Cole
ef357ab6e5 Fix tests 2017-07-30 13:42:38 +02:00
James Cole
c39c5492ea Simplify controllers 2017-07-30 13:42:30 +02:00
James Cole
1a5d54f74f New translations firefly.php (Slovenian) 2017-07-30 10:40:53 +02:00
James Cole
13dc6c7dfb New translations firefly.php (Spanish) 2017-07-30 10:40:50 +02:00
James Cole
4c7dee69c2 New translations firefly.php (Portuguese, Brazilian) 2017-07-30 10:40:47 +02:00
James Cole
dc9cf7689d New translations firefly.php (Polish) 2017-07-30 10:40:44 +02:00
James Cole
778a408c6c New translations firefly.php (Chinese Traditional) 2017-07-30 10:40:42 +02:00
James Cole
2b7f3061d0 New translations firefly.php (Dutch) 2017-07-30 10:40:40 +02:00
James Cole
92903e1ec3 New translations firefly.php (German) 2017-07-30 10:40:37 +02:00
James Cole
c5a621010e New translations firefly.php (French) 2017-07-30 10:40:35 +02:00
James Cole
0b5b636578 New translations firefly.php (Russian) 2017-07-30 10:40:20 +02:00
James Cole
8fcdb91ba3 Will no longer support extended tag modes. 2017-07-30 10:22:14 +02:00
James Cole
f67d5f1197 Fix bug in filter. 2017-07-30 10:21:45 +02:00
James Cole
6e0e6203cc Some help text for attachment decrypter 2017-07-30 10:21:35 +02:00
James Cole
2694ce4148 Decryption routine for #671 2017-07-30 08:22:39 +02:00
James Cole
7c02b032f6 New translations firefly.php (Slovenian) 2017-07-29 14:40:52 +02:00
James Cole
deb7754cb9 New translations firefly.php (Spanish) 2017-07-29 14:40:50 +02:00
James Cole
624f3c60bd New translations firefly.php (Portuguese, Brazilian) 2017-07-29 14:40:46 +02:00
James Cole
8a8e792faa New translations firefly.php (Polish) 2017-07-29 14:40:44 +02:00
James Cole
bc836011bc New translations firefly.php (Chinese Traditional) 2017-07-29 14:40:41 +02:00
James Cole
107eedfb49 New translations firefly.php (Dutch) 2017-07-29 14:40:38 +02:00
James Cole
61a7dcda23 New translations firefly.php (German) 2017-07-29 14:40:36 +02:00
James Cole
873ca4f438 New translations firefly.php (French) 2017-07-29 14:40:33 +02:00
James Cole
29221c2901 New translations firefly.php (Russian) 2017-07-29 14:40:19 +02:00
James Cole
eac9613df7 Fix for #648 2017-07-29 14:25:54 +02:00
James Cole
184d5d25a6 New translations csv.php (Spanish) 2017-07-29 08:40:46 +02:00
James Cole
ae33411566 New translations csv.php (Slovenian) 2017-07-29 08:40:34 +02:00
James Cole
479ebcc3fa New translations csv.php (Portuguese, Brazilian) 2017-07-29 08:40:33 +02:00
James Cole
1ae572cf30 New translations csv.php (Chinese Traditional) 2017-07-29 08:40:29 +02:00
James Cole
ac6e16688d New translations csv.php (Dutch) 2017-07-29 08:40:28 +02:00
James Cole
69159e0271 New translations csv.php (French) 2017-07-29 08:40:28 +02:00
James Cole
cae35d6a5a New translations csv.php (Polish) 2017-07-29 08:40:27 +02:00
James Cole
df9b65e296 New translations csv.php (German) 2017-07-29 08:40:26 +02:00
James Cole
fb0b34a6a0 New translations csv.php (Russian) 2017-07-29 08:40:22 +02:00
James Cole
db3b822aef Include warning for #722 2017-07-29 08:27:39 +02:00
James Cole
f4994ef151 Also store links when importing data. 2017-07-28 14:52:01 +02:00
James Cole
8e27291417 Tags no longer mappable. 2017-07-28 14:40:53 +02:00
James Cole
aae9ad78e5 This should fix the tests for now. 2017-07-26 18:40:48 +02:00
James Cole
fb3efbfc66 Fix parameter count. 2017-07-26 16:40:25 +02:00
James Cole
0f8a66609a Fix controller for #718 2017-07-26 16:40:14 +02:00
James Cole
b3bb8c386f Fix routes for #718 2017-07-26 16:40:00 +02:00
James Cole
b3b5e0e155 This will disable the PHP 7.0 tests. 2017-07-25 21:01:37 +02:00
James Cole
99a0bf1286 This fixes #717 2017-07-25 21:01:25 +02:00
James Cole
650f0ee752 Merge branch 'hotfix/4.6.3.1' into develop 2017-07-23 20:02:46 +02:00
James Cole
2ddcf1120f Merge branch 'hotfix/4.6.3.1' 2017-07-23 20:02:45 +02:00
James Cole
d45c74915c This fixes #715 2017-07-23 20:02:32 +02:00
James Cole
cd373791ac Updated composer file. 2017-07-23 20:00:26 +02:00
James Cole
7b03b0c5fc Some PHP 7.1 compatible code. 2017-07-23 19:06:24 +02:00
James Cole
57d6677131 Merge branch 'release/4.6.3' 2017-07-23 10:01:48 +02:00
James Cole
05e73344eb Various files for upgrade. 2017-07-23 09:54:07 +02:00
James Cole
fff8f96490 Merge pull request #706 from firefly-iii/l10n_develop
New Crowdin translations
2017-07-23 09:53:40 +02:00
James Cole
1ccfb34246 New translations firefly.php (Slovenian) 2017-07-23 09:50:53 +02:00
James Cole
b30bd00993 New translations firefly.php (Spanish) 2017-07-23 09:50:51 +02:00
James Cole
6b2d9fe816 New translations firefly.php (Portuguese, Brazilian) 2017-07-23 09:50:47 +02:00
James Cole
531114279d New translations firefly.php (Polish) 2017-07-23 09:50:45 +02:00
James Cole
944aaff0fa New translations firefly.php (Chinese Traditional) 2017-07-23 09:50:42 +02:00
James Cole
6bafa6819d New translations firefly.php (Dutch) 2017-07-23 09:50:40 +02:00
James Cole
8d7091285a New translations firefly.php (German) 2017-07-23 09:50:38 +02:00
James Cole
579e95219a New translations firefly.php (French) 2017-07-23 09:50:35 +02:00
James Cole
4a746881e3 New translations firefly.php (Russian) 2017-07-23 09:50:20 +02:00
James Cole
9122f1b642 New translations firefly.php (Dutch) 2017-07-23 09:40:08 +02:00
James Cole
8b033ed4a8 Update contributing and support guidelines [skip ci] 2017-07-23 09:37:51 +02:00
James Cole
8e53a63243 Broken translation. [skip ci] 2017-07-23 09:36:50 +02:00
James Cole
4de01e7387 New translations firefly.php (Dutch) 2017-07-23 09:30:10 +02:00
James Cole
f85ab74e2b Code cleanup and tests. 2017-07-23 08:32:51 +02:00
James Cole
8bb7d5de3f Various code clean up. 2017-07-23 08:16:11 +02:00
James Cole
68424e485c New translations firefly.php (Slovenian) 2017-07-23 07:41:00 +02:00
James Cole
ac34285eed New translations firefly.php (Spanish) 2017-07-23 07:40:58 +02:00
James Cole
e605a82573 New translations firefly.php (Portuguese, Brazilian) 2017-07-23 07:40:55 +02:00
James Cole
1061764426 New translations firefly.php (Polish) 2017-07-23 07:40:52 +02:00
James Cole
8d93e410f7 New translations firefly.php (Chinese Traditional) 2017-07-23 07:40:49 +02:00
James Cole
9336cdcc5d New translations firefly.php (Dutch) 2017-07-23 07:40:47 +02:00
James Cole
7639c03646 New translations firefly.php (German) 2017-07-23 07:40:45 +02:00
James Cole
2da55bff9c New translations firefly.php (French) 2017-07-23 07:40:43 +02:00
James Cole
6ea5d45dec New translations firefly.php (Russian) 2017-07-23 07:40:29 +02:00
James Cole
e9504a3899 New translations intro.php (Polish) 2017-07-23 07:40:25 +02:00
James Cole
7bff2fd1e5 New translations intro.php (Portuguese, Brazilian) 2017-07-23 07:40:23 +02:00
James Cole
694712e933 New translations intro.php (Russian) 2017-07-23 07:40:22 +02:00
James Cole
aa675559e6 New translations intro.php (Spanish) 2017-07-23 07:40:22 +02:00
James Cole
2af19d675a New translations intro.php (Slovenian) 2017-07-23 07:40:21 +02:00
James Cole
4588d16fc2 New translations intro.php (German) 2017-07-23 07:40:20 +02:00
James Cole
5dbd3031be New translations intro.php (French) 2017-07-23 07:40:19 +02:00
James Cole
59c16eba77 New translations intro.php (Dutch) 2017-07-23 07:40:17 +02:00
James Cole
8c21ec96d1 New translations intro.php (Chinese Traditional) 2017-07-23 07:40:16 +02:00
James Cole
2c00a8353d Fix small issue reenabling intro [skip ci] 2017-07-23 07:35:30 +02:00
James Cole
19e7a76f85 Forgot small statement [skip ci] 2017-07-23 07:32:06 +02:00
James Cole
f16a186faf Option to re-enable intro boxes. 2017-07-23 07:30:05 +02:00
James Cole
456dd39ec4 New intro texts. 2017-07-22 22:56:21 +02:00
James Cole
5b69a697e4 Improve pages to show intro texts. 2017-07-22 10:50:30 +02:00
James Cole
20d279fee4 New translations firefly.php (Slovenian) 2017-07-21 06:20:54 +02:00
James Cole
cd55d819af New translations firefly.php (Spanish) 2017-07-21 06:20:52 +02:00
James Cole
dce51da92f New translations firefly.php (Portuguese, Brazilian) 2017-07-21 06:20:48 +02:00
James Cole
6118cf6041 New translations firefly.php (Polish) 2017-07-21 06:20:45 +02:00
James Cole
4ae8bffd4d New translations firefly.php (Chinese Traditional) 2017-07-21 06:20:42 +02:00
James Cole
5ebe86d5b6 New translations firefly.php (Dutch) 2017-07-21 06:20:40 +02:00
James Cole
317d97a310 New translations firefly.php (German) 2017-07-21 06:20:38 +02:00
James Cole
082aa1d8e3 New translations firefly.php (French) 2017-07-21 06:20:36 +02:00
James Cole
2f2963676f New translations firefly.php (Russian) 2017-07-21 06:20:19 +02:00
James Cole
f2d388f742 Improve code for intro texts. 2017-07-21 06:00:10 +02:00
James Cole
d79008495a Remove some html comments. 2017-07-21 04:36:23 +02:00
James Cole
43f1867fb8 Language strings for #708 2017-07-21 04:36:09 +02:00
James Cole
043c28628c Fixes #708 2017-07-21 04:35:57 +02:00
James Cole
9540854c8a Language is not complete yet. [skip ci] 2017-07-21 04:26:13 +02:00
James Cole
b951a6ca66 Merge pull request #712 from simonsmiley/update-charts
Make charts easier to read
2017-07-19 16:11:58 +02:00
Simon Hanna
26561a395d Make charts easier to read
* Do not fill the area below the lines
* Provide border color
* Decrease transparency of border
2017-07-19 15:53:22 +02:00
James Cole
0a884c8718 New translations intro.php (Polish) 2017-07-16 18:40:23 +02:00
James Cole
b393e3c662 New translations intro.php (Portuguese, Brazilian) 2017-07-16 18:40:22 +02:00
James Cole
c36062210f New translations intro.php (Russian) 2017-07-16 18:40:21 +02:00
James Cole
861381fbb6 New translations intro.php (Spanish) 2017-07-16 18:40:20 +02:00
James Cole
b9019f9590 New translations intro.php (Slovenian) 2017-07-16 18:40:19 +02:00
James Cole
fcfa877e89 New translations intro.php (German) 2017-07-16 18:40:18 +02:00
James Cole
d61849eefe New translations intro.php (French) 2017-07-16 18:40:17 +02:00
James Cole
bc83bd6ec8 New translations intro.php (Dutch) 2017-07-16 18:40:15 +02:00
James Cole
c18c94e565 New translations intro.php (Chinese Traditional) 2017-07-16 18:40:15 +02:00
James Cole
77d077ec08 Fix help button. 2017-07-16 18:28:46 +02:00
James Cole
021d0e6359 More stuff for intro texts. 2017-07-16 18:14:29 +02:00
James Cole
7f4fd2c52f Fix tests. 2017-07-16 17:05:52 +02:00
James Cole
8ffe098e3b New translations firefly.php (Slovenian) 2017-07-16 13:20:56 +02:00
James Cole
a2ca86ca74 New translations firefly.php (Spanish) 2017-07-16 13:20:54 +02:00
James Cole
deef018806 New translations firefly.php (Portuguese, Brazilian) 2017-07-16 13:20:50 +02:00
James Cole
c3f8b2ea56 New translations firefly.php (Polish) 2017-07-16 13:20:47 +02:00
James Cole
e3696b6055 New translations firefly.php (Chinese Traditional) 2017-07-16 13:20:45 +02:00
James Cole
b82b340668 New translations firefly.php (Dutch) 2017-07-16 13:20:42 +02:00
James Cole
a8b01c439b New translations firefly.php (German) 2017-07-16 13:20:39 +02:00
James Cole
6ec686ca7e New translations firefly.php (French) 2017-07-16 13:20:37 +02:00
James Cole
fdb664fecb New translations firefly.php (Russian) 2017-07-16 13:20:21 +02:00
James Cole
09f838089b Allow rule to be applied to transactions (not just group). 2017-07-16 13:04:45 +02:00
James Cole
db0fe918b8 New translations firefly.php (Dutch) 2017-07-16 08:00:07 +02:00
James Cole
8ca696d547 New translations firefly.php (Dutch) 2017-07-16 07:50:41 +02:00
James Cole
b7ccb1ce5c New translations breadcrumbs.php (Dutch) 2017-07-16 07:50:33 +02:00
James Cole
5f0033e466 New translations intro.php (Polish) 2017-07-16 07:50:22 +02:00
James Cole
477adba3e1 New translations intro.php (Portuguese, Brazilian) 2017-07-16 07:50:21 +02:00
James Cole
eb15ca8ebd New translations intro.php (Russian) 2017-07-16 07:50:20 +02:00
James Cole
dbf5907c20 New translations intro.php (Spanish) 2017-07-16 07:50:19 +02:00
James Cole
e95deb9443 New translations intro.php (Slovenian) 2017-07-16 07:50:19 +02:00
James Cole
e19c36b5c4 New translations intro.php (German) 2017-07-16 07:50:18 +02:00
James Cole
fdd589db4f New translations intro.php (French) 2017-07-16 07:50:17 +02:00
James Cole
cd4e45d8f5 New translations intro.php (Dutch) 2017-07-16 07:50:16 +02:00
James Cole
e6e31b9cab New translations intro.php (Chinese Traditional) 2017-07-16 07:50:15 +02:00
James Cole
b676b1fef9 Simplify import storage routine. 2017-07-16 07:45:20 +02:00
James Cole
58bfb35fa6 Built a new routine for intro tours. 2017-07-16 07:35:08 +02:00
James Cole
09131e8c36 Add Russian language. 2017-07-15 22:42:14 +02:00
James Cole
1d6ca91c01 This fixes the tests. 2017-07-15 22:41:57 +02:00
James Cole
fa00ba2edd Expand tests and fix various small issues in strict comparison. 2017-07-15 22:17:24 +02:00
James Cole
65114c8483 New translations firefly.php (German) 2017-07-15 22:00:52 +02:00
James Cole
d033985141 New translations firefly.php (Polish) 2017-07-15 22:00:49 +02:00
James Cole
5badfbee93 New translations firefly.php (Portuguese, Brazilian) 2017-07-15 22:00:47 +02:00
James Cole
44a61842f0 New translations firefly.php (Slovenian) 2017-07-15 22:00:45 +02:00
James Cole
70b61af572 New translations firefly.php (French) 2017-07-15 22:00:42 +02:00
James Cole
53a53d393d New translations firefly.php (Chinese Traditional) 2017-07-15 22:00:38 +02:00
James Cole
6c95b5757b New translations firefly.php (Spanish) 2017-07-15 22:00:35 +02:00
James Cole
693b3e5a6f New translations firefly.php (Russian) 2017-07-15 22:00:18 +02:00
James Cole
aac1338bdd Merge pull request #705 from firefly-iii/l10n_develop
New Crowdin translations
2017-07-15 21:58:20 +02:00
James Cole
2979137102 New translations firefly.php (Dutch) 2017-07-15 21:50:12 +02:00
James Cole
0068675f3b Remove alert [skip ci] 2017-07-15 21:48:02 +02:00
James Cole
6c1a22ea7f Merge pull request #702 from firefly-iii/l10n_develop
New Crowdin translations
2017-07-15 21:42:33 +02:00
James Cole
2869b92e6b Merge branch 'develop' into l10n_develop 2017-07-15 21:42:27 +02:00
James Cole
8a38ce1964 Remove references to old tour but include code for new tour. 2017-07-15 21:40:42 +02:00
James Cole
3a7c5566ed New translations firefly.php (German) 2017-07-15 17:30:52 +02:00
James Cole
1bed8c2b08 New translations firefly.php (Polish) 2017-07-15 17:30:49 +02:00
James Cole
e24500b306 New translations firefly.php (Portuguese, Brazilian) 2017-07-15 17:30:47 +02:00
James Cole
6251914419 New translations firefly.php (Slovenian) 2017-07-15 17:30:45 +02:00
James Cole
8d9e943d57 New translations firefly.php (French) 2017-07-15 17:30:43 +02:00
James Cole
f71bc5d323 New translations firefly.php (Dutch) 2017-07-15 17:30:40 +02:00
James Cole
a8082b2b3f New translations firefly.php (Chinese Traditional) 2017-07-15 17:30:37 +02:00
James Cole
510b72303d New translations firefly.php (Spanish) 2017-07-15 17:30:35 +02:00
James Cole
4666d4bbaa New translations breadcrumbs.php (Chinese Traditional) 2017-07-15 17:30:28 +02:00
James Cole
025f1e9502 New translations breadcrumbs.php (Dutch) 2017-07-15 17:30:27 +02:00
James Cole
b4c05098a9 New translations breadcrumbs.php (French) 2017-07-15 17:30:27 +02:00
James Cole
3c8ee6f7f7 New translations breadcrumbs.php (German) 2017-07-15 17:30:26 +02:00
James Cole
8b34135b08 New translations breadcrumbs.php (Polish) 2017-07-15 17:30:24 +02:00
James Cole
d4b7c6689f New translations breadcrumbs.php (Portuguese, Brazilian) 2017-07-15 17:30:23 +02:00
James Cole
d72aadfb00 New translations breadcrumbs.php (Slovenian) 2017-07-15 17:30:21 +02:00
James Cole
00ff8ae166 New translations breadcrumbs.php (Spanish) 2017-07-15 17:30:20 +02:00
James Cole
cffcf49b26 New translations breadcrumbs.php (Russian) 2017-07-15 17:30:14 +02:00
James Cole
ad55aa8b85 New translations firefly.php (Russian) 2017-07-15 17:30:13 +02:00
James Cole
accbdea942 Improve search and display of results. 2017-07-15 17:19:12 +02:00
James Cole
22144b78ea Strict comparisons. 2017-07-15 16:41:07 +02:00
James Cole
c03ab269f0 Memory optimised, connect journal to tag. 2017-07-15 10:43:22 +02:00
James Cole
0c6c4d5959 Fix small issue in chart. 2017-07-15 10:26:27 +02:00
James Cole
e4e1873770 Improve import routine. 2017-07-15 10:26:16 +02:00
James Cole
3b3579025d Improve results when presented with invalid data. #701 2017-07-14 17:57:20 +02:00
James Cole
5cf8f2f4f4 Add sort flag for #698 2017-07-14 17:25:03 +02:00
James Cole
c4ff05b1ba Sort fix #698 [skip ci] 2017-07-14 17:21:30 +02:00
James Cole
2bf54d0b8e Remove extra X [skip ci] 2017-07-14 17:10:56 +02:00
James Cole
2a63888546 Table is sortable, #697 2017-07-14 17:10:06 +02:00
James Cole
cb8294cbd2 Disable button form on submit. 2017-07-14 17:05:32 +02:00
James Cole
c9a99be183 Fix #699 2017-07-14 17:04:18 +02:00
James Cole
5d2e026e5a New translations firefly.php (Polish) 2017-07-14 16:10:12 +02:00
James Cole
568fdad52a New translations form.php (Polish) 2017-07-14 16:10:08 +02:00
James Cole
174fb65fed New translations firefly.php (Polish) 2017-07-14 16:00:25 +02:00
James Cole
2e77c45ae8 New translations csv.php (Polish) 2017-07-14 15:50:27 +02:00
James Cole
1b674a0abf New translations firefly.php (Polish) 2017-07-14 15:50:25 +02:00
James Cole
4beb8b1f6b New translations csv.php (Polish) 2017-07-14 15:40:20 +02:00
James Cole
3c4abb7b60 Fixed some issues in import, should improve results for #701 2017-07-14 06:41:47 +02:00
James Cole
970c73c221 Fix path 2017-07-14 06:41:10 +02:00
James Cole
6797c1255f New translations firefly.php (Russian) 2017-07-13 14:40:45 +02:00
James Cole
0ed159b553 New translations firefly.php (Russian) 2017-07-13 14:30:23 +02:00
James Cole
faa8679804 New translations firefly.php (Russian) 2017-07-13 14:20:12 +02:00
James Cole
e3d2253958 New translations firefly.php (Russian) 2017-07-13 14:10:18 +02:00
James Cole
3f7b7996c0 New translations firefly.php (Russian) 2017-07-13 14:00:16 +02:00
James Cole
9229ff54df New translations csv.php (Russian) 2017-07-13 13:50:15 +02:00
James Cole
204ab8f427 New translations demo.php (Russian) 2017-07-13 13:50:13 +02:00
James Cole
8ee6c0789d New translations csv.php (Russian) 2017-07-13 13:40:21 +02:00
James Cole
be188e7266 New translations form.php (Russian) 2017-07-13 13:40:20 +02:00
James Cole
1a43b62750 New translations help.php (Russian) 2017-07-13 13:30:11 +02:00
James Cole
eaa8321aa8 New translations help.php (Russian) 2017-07-13 13:20:19 +02:00
James Cole
f01f0071dd New translations list.php (Russian) 2017-07-13 13:20:17 +02:00
James Cole
ec69cc3590 New translations list.php (Russian) 2017-07-13 13:10:16 +02:00
James Cole
102dac1eb8 New translations validation.php (Russian) 2017-07-13 13:10:14 +02:00
James Cole
d54c5f1f99 New translations passwords.php (Russian) 2017-07-13 12:10:27 +02:00
James Cole
c2e0e00c47 New translations pagination.php (Russian) 2017-07-13 12:10:26 +02:00
James Cole
f24e387363 New translations breadcrumbs.php (Russian) 2017-07-13 12:00:27 +02:00
James Cole
09715b83e4 New translations auth.php (Russian) 2017-07-13 11:50:19 +02:00
James Cole
e4f197bbc9 New translations breadcrumbs.php (Russian) 2017-07-13 11:50:18 +02:00
James Cole
de64cef48d New translations auth.php (Russian) 2017-07-13 11:01:08 +02:00
James Cole
b85329b371 New translations firefly.php (Russian) 2017-07-13 11:01:07 +02:00
James Cole
215f9a4245 New translations csv.php (Russian) 2017-07-13 11:00:58 +02:00
James Cole
80ce7a64ba New translations config.php (Russian) 2017-07-13 11:00:56 +02:00
James Cole
65f3dc0656 New translations breadcrumbs.php (Russian) 2017-07-13 11:00:55 +02:00
James Cole
f9b6b841b6 New translations form.php (Russian) 2017-07-13 11:00:53 +02:00
James Cole
d4f2d649e8 New translations help.php (Russian) 2017-07-13 11:00:50 +02:00
James Cole
15b057fe68 New translations demo.php (Russian) 2017-07-13 11:00:48 +02:00
James Cole
9cb549f4a1 New translations validation.php (Russian) 2017-07-13 11:00:47 +02:00
James Cole
4d67578458 New translations passwords.php (Russian) 2017-07-13 11:00:44 +02:00
James Cole
71faaf1c19 New translations list.php (Russian) 2017-07-13 11:00:43 +02:00
James Cole
0187f29b4b New translations pagination.php (Russian) 2017-07-13 11:00:40 +02:00
James Cole
9b6ccdd43a Fixes #694 2017-07-10 19:52:31 +02:00
James Cole
e82deddefb Merge branch 'release/4.6.2' 2017-07-08 09:55:44 +02:00
James Cole
780bec35bb Merge pull request #687 from firefly-iii/l10n_develop
New Crowdin translations
2017-07-08 09:47:01 +02:00
James Cole
27d80fd370 Updated libraries. 2017-07-08 06:53:15 +02:00
James Cole
952328d55c Routine to make sure imported entries have the correct opposing account and the correct amount. 2017-07-08 06:53:06 +02:00
James Cole
f747f3bd10 Updated changelog. 2017-07-08 06:30:41 +02:00
James Cole
11c3aca58d New version. 2017-07-08 06:28:52 +02:00
James Cole
5ef2067836 Some code cleanup. 2017-07-08 06:28:44 +02:00
James Cole
de9728895e Fixed #658 2017-07-08 06:09:17 +02:00
James Cole
19774f32c2 First code for #658 2017-07-07 17:51:14 +02:00
James Cole
e62b979708 Fix redirect error [skip ci] 2017-07-07 16:53:44 +02:00
James Cole
69eef30ad3 Various code clean up. 2017-07-07 13:50:15 +02:00
James Cole
71a41bc00d Add newlines [skip ci] 2017-07-07 08:09:42 +02:00
James Cole
dd508dbc49 This should fix #693. 2017-07-07 08:04:21 +02:00
James Cole
13ad40402a New translations firefly.php (German) 2017-07-06 11:30:11 +02:00
James Cole
98712f288c New translations firefly.php (German) 2017-07-04 20:40:08 +02:00
James Cole
a29a78e199 New translations csv.php (German) 2017-07-04 20:40:05 +02:00
James Cole
767267c89e New translations demo.php (German) 2017-07-04 20:20:16 +02:00
James Cole
b3801f65cf New translations demo.php (German) 2017-07-04 20:10:06 +02:00
James Cole
44a1d6b3d4 New translations csv.php (German) 2017-07-04 20:00:06 +02:00
James Cole
7a1528d1e4 New translations csv.php (German) 2017-07-04 19:50:10 +02:00
James Cole
c970a25d58 New translations firefly.php (German) 2017-07-04 19:50:09 +02:00
James Cole
0a78b0b130 New translations demo.php (German) 2017-07-04 19:50:06 +02:00
James Cole
69f6dc09d3 New translations demo.php (German) 2017-07-04 19:40:06 +02:00
James Cole
467e708617 New translations form.php (German) 2017-07-04 19:40:05 +02:00
James Cole
3a84591e61 Simplify edit transaction routine. 2017-07-04 16:31:16 +02:00
James Cole
a527066216 Add links to boxes for #688 2017-07-04 16:17:05 +02:00
James Cole
ef9823035f Add if-statement to catch unset POST data. 2017-07-04 16:03:00 +02:00
James Cole
513ee4c7d9 New translations firefly.php (Polish) 2017-07-03 18:00:20 +02:00
James Cole
fcc9b3a588 Merge branch 'release/4.6.1' 2017-07-02 09:36:20 +02:00
James Cole
71eed45b77 Merge branch 'develop' of https://github.com/firefly-iii/firefly-iii into develop
* 'develop' of https://github.com/firefly-iii/firefly-iii:
  New translations firefly.php (Dutch)
  New translations firefly.php (Chinese Traditional)
  New translations firefly.php (Dutch)
  New translations firefly.php (French)
  New translations firefly.php (German)
  New translations firefly.php (Polish)
  New translations firefly.php (Portuguese, Brazilian)
  New translations firefly.php (Slovenian)
  New translations firefly.php (Spanish)
2017-07-02 09:35:46 +02:00
James Cole
6940f00492 Merge pull request #686 from firefly-iii/l10n_develop
New Crowdin translations
2017-07-02 09:35:13 +02:00
James Cole
1c85c20fa9 New translations firefly.php (Dutch) 2017-07-02 09:35:03 +02:00
James Cole
ae30b02405 New version and changelog. 2017-07-02 09:32:19 +02:00
James Cole
89b7a9d3ac Updated composer file [skip ci] 2017-07-02 09:30:46 +02:00
James Cole
dc25fc99b3 New translations firefly.php (Chinese Traditional) 2017-07-02 09:30:42 +02:00
James Cole
6e6957a9ab New translations firefly.php (Dutch) 2017-07-02 09:30:40 +02:00
James Cole
0609e7db06 New translations firefly.php (French) 2017-07-02 09:30:38 +02:00
James Cole
f57097b79e New translations firefly.php (German) 2017-07-02 09:30:34 +02:00
James Cole
7e988d97d3 New translations firefly.php (Polish) 2017-07-02 09:30:32 +02:00
James Cole
2795042c2c Included some dev data by accident [skip ci] 2017-07-02 09:30:28 +02:00
James Cole
c3c86545fc New translations firefly.php (Portuguese, Brazilian) 2017-07-02 09:30:28 +02:00
James Cole
3fe14a3d56 New translations firefly.php (Slovenian) 2017-07-02 09:30:25 +02:00
James Cole
bad5740728 New translations firefly.php (Spanish) 2017-07-02 09:30:23 +02:00
James Cole
c164553ba1 Small cosmetic change. 2017-07-02 09:27:08 +02:00
James Cole
e6c72b2995 Fixed mobile display 2017-07-02 09:24:46 +02:00
James Cole
cbcefabbff Forgot a translation. 2017-07-02 09:24:30 +02:00
James Cole
97cfa3f3ae Remove old providers. 2017-07-02 09:24:20 +02:00
James Cole
803a008821 Improve bread crumbs 2017-07-02 09:24:11 +02:00
James Cole
658730928b Remove old JS 2017-07-02 09:24:00 +02:00
James Cole
310db374c8 Fix #678 2017-07-02 09:22:56 +02:00
James Cole
dc5bd648cf Fix for #685 2017-07-02 08:43:34 +02:00
James Cole
b6be9e6ade Fix for #682 2017-07-01 10:39:59 +02:00
James Cole
04f71496e3 Code for #678 2017-07-01 10:36:08 +02:00
James Cole
1eed142423 Small display bug related to #648 2017-07-01 10:29:07 +02:00
James Cole
f1e0ad0df0 CoC. [skip ci] 2017-06-30 07:22:12 +02:00
James Cole
f8fa5f1ba5 Improved mobile response, issue #678 2017-06-30 07:17:25 +02:00
James Cole
c187563267 Update report layout [skip ci] 2017-06-28 20:41:02 +02:00
James Cole
fcdbbd5dbc Update report layout [skip ci] 2017-06-28 20:39:12 +02:00
James Cole
6604d04c60 Slightly different report layout [skip ci] 2017-06-28 20:23:24 +02:00
James Cole
63be574a14 Merge branch 'release/4.6.0' 2017-06-28 18:13:00 +02:00
James Cole
2414f998ba Update git ignore file. 2017-06-28 18:09:32 +02:00
James Cole
90e2ecad4f Merge pull request #683 from firefly-iii/l10n_develop
New Crowdin translations
2017-06-28 18:08:27 +02:00
James Cole
87a3f5c715 New translations firefly.php (Dutch) 2017-06-28 18:07:52 +02:00
James Cole
a4ef81ebd8 Improve test coverage. 2017-06-28 18:05:38 +02:00
James Cole
67fc810fc2 Ignore test database. 2017-06-28 18:05:04 +02:00
James Cole
e13a61645d New change log 2017-06-28 18:04:42 +02:00
James Cole
aae4a78fd4 Possible fix for #649 [skip ci] 2017-06-28 15:52:13 +02:00
James Cole
3947da5e27 Possible fix for #682 2017-06-28 15:45:28 +02:00
James Cole
4e4ce2f77c Remove test database from Firefly III thing. [skip ci] 2017-06-28 15:31:11 +02:00
James Cole
d9a2e081bd Update travis script. 2017-06-28 15:27:31 +02:00
James Cole
e60dde7ce5 Merge pull request #681 from firefly-iii/l10n_develop
New Crowdin translations
2017-06-28 15:18:59 +02:00
James Cole
699b138999 Small link fixes [skip ci] 2017-06-28 15:18:11 +02:00
James Cole
8f191b497f Updated read me and contributing guidelines. 2017-06-28 15:17:19 +02:00
James Cole
fd013d617c New translations firefly.php (Chinese Traditional) 2017-06-28 15:11:10 +02:00
James Cole
a8bda38035 New translations firefly.php (Dutch) 2017-06-28 15:11:07 +02:00
James Cole
411de9aa23 New translations firefly.php (French) 2017-06-28 15:11:05 +02:00
James Cole
f0abe497ef New translations firefly.php (German) 2017-06-28 15:11:02 +02:00
James Cole
9c8be83f5d New translations firefly.php (Polish) 2017-06-28 15:10:58 +02:00
James Cole
45335af8cf New translations firefly.php (Portuguese, Brazilian) 2017-06-28 15:10:56 +02:00
James Cole
945e433bb7 New translations firefly.php (Slovenian) 2017-06-28 15:10:51 +02:00
James Cole
70729fdb0c New translations firefly.php (Spanish) 2017-06-28 15:10:48 +02:00
James Cole
4a435e5701 Updated composer file. 2017-06-28 15:01:06 +02:00
James Cole
427747c6b8 Merge pull request #666 from firefly-iii/l10n_develop
New Crowdin translations
2017-06-28 15:00:48 +02:00
James Cole
be9407cb57 New translations csv.php (Dutch) 2017-06-28 15:00:19 +02:00
James Cole
c380d3d2a0 New translations firefly.php (Dutch) 2017-06-28 15:00:13 +02:00
James Cole
489b0eb12d New translations firefly.php (Dutch) 2017-06-28 14:50:13 +02:00
James Cole
7c73629962 Merge pull request #680 from Xeli/l10n_develop
Fix en_US translation: no_accounts_imperative_revenue.
2017-06-28 12:41:26 +02:00
richard@xeli.eu
ff619eca1c Fix en_US translation: no_accounts_imperative_revenue. Change Expense to Revenue 2017-06-28 12:12:31 +02:00
James Cole
134a39fd71 New translations firefly.php (German) 2017-06-27 13:50:38 +02:00
James Cole
506509b1b2 Fix #677 2017-06-26 18:29:45 +02:00
James Cole
02a36316be Forgot to remove a variable. 2017-06-26 18:24:44 +02:00
James Cole
8549c7c81b This should fix #677 2017-06-26 18:24:29 +02:00
James Cole
5a0be7d2ad Push new version number. 2017-06-24 13:05:12 +02:00
James Cole
c6f44c6398 Composer update. 2017-06-24 13:04:50 +02:00
James Cole
04a8a0e6a1 Code clean up 2017-06-24 13:04:41 +02:00
James Cole
8a175d147b Remove JS console log. 2017-06-24 13:03:09 +02:00
James Cole
5fbc319b20 This fixes the tests (must still upload test database). 2017-06-24 12:38:24 +02:00
James Cole
8e3ba7caf2 Fix various import bugs. 2017-06-24 08:37:09 +02:00
James Cole
182aaa7d27 New translations csv.php (Spanish) 2017-06-24 07:30:48 +02:00
James Cole
ec17d466f7 New translations firefly.php (Chinese Traditional) 2017-06-24 07:30:46 +02:00
James Cole
79c2445117 New translations firefly.php (Dutch) 2017-06-24 07:30:44 +02:00
James Cole
aa59db1609 New translations firefly.php (French) 2017-06-24 07:30:42 +02:00
James Cole
814b106be2 New translations csv.php (Slovenian) 2017-06-24 07:30:40 +02:00
James Cole
3901ea0fbe New translations csv.php (Portuguese, Brazilian) 2017-06-24 07:30:39 +02:00
James Cole
65133107be New translations csv.php (Dutch) 2017-06-24 07:30:38 +02:00
James Cole
08d15cfc5e New translations csv.php (French) 2017-06-24 07:30:37 +02:00
James Cole
3c89f9a5f1 New translations csv.php (German) 2017-06-24 07:30:36 +02:00
James Cole
dbc6bc8206 New translations csv.php (Polish) 2017-06-24 07:30:35 +02:00
James Cole
dc38291ef5 New translations firefly.php (German) 2017-06-24 07:30:34 +02:00
James Cole
3bb634ed5b New translations firefly.php (Polish) 2017-06-24 07:30:32 +02:00
James Cole
4bdcfe4d30 New translations firefly.php (Portuguese, Brazilian) 2017-06-24 07:30:28 +02:00
James Cole
3b74784486 New translations firefly.php (Slovenian) 2017-06-24 07:30:25 +02:00
James Cole
5226664a3d New translations firefly.php (Spanish) 2017-06-24 07:30:23 +02:00
James Cole
6d23823b63 New translations csv.php (Chinese Traditional) 2017-06-24 07:30:20 +02:00
James Cole
da3a56c144 Further improve import storage. 2017-06-24 07:30:05 +02:00
James Cole
58aa54d8cf Improving import storage. 2017-06-24 07:21:10 +02:00
James Cole
e525e673a8 Import routine cleanup. 2017-06-24 06:57:24 +02:00
James Cole
445dbf8779 More and improved code for the import routine. 2017-06-24 05:49:33 +02:00
James Cole
6a27bea2a3 New translations firefly.php (Chinese Traditional) 2017-06-22 22:01:08 +02:00
James Cole
13163f9c5c New translations firefly.php (Dutch) 2017-06-22 22:01:05 +02:00
James Cole
fde08f922b New translations firefly.php (French) 2017-06-22 22:01:02 +02:00
James Cole
266ce00872 New translations firefly.php (German) 2017-06-22 22:00:56 +02:00
James Cole
623a70a0d1 New translations firefly.php (Polish) 2017-06-22 22:00:52 +02:00
James Cole
1d7b738040 New translations firefly.php (Portuguese, Brazilian) 2017-06-22 22:00:46 +02:00
James Cole
edc8dd2601 New translations firefly.php (Slovenian) 2017-06-22 22:00:43 +02:00
James Cole
31dc932ca4 New translations firefly.php (Spanish) 2017-06-22 22:00:40 +02:00
James Cole
edb355941c More code for import routine. 2017-06-22 21:50:10 +02:00
James Cole
cddaccb7f7 Further improve import routine 2017-06-21 20:04:35 +02:00
James Cole
a905cce2c9 Expand import routine. 2017-06-20 21:04:25 +02:00
James Cole
b9f110ac2b Refactor and rename some import things. 2017-06-17 22:49:44 +02:00
James Cole
7cc24417b3 Expanded import routine. 2017-06-14 20:13:19 +02:00
James Cole
b304284d70 Fix report bug. 2017-06-14 19:15:30 +02:00
James Cole
c382fb1577 Add debug info for #671 2017-06-12 19:58:32 +02:00
James Cole
77244f4e2c Lots of new code for new importer routine. 2017-06-12 19:12:07 +02:00
James Cole
8beab5f5bc Fix #672 2017-06-12 17:21:31 +02:00
James Cole
902ae3f0cf Fix for #671 2017-06-12 17:07:29 +02:00
James Cole
519ef4e486 New translations csv.php (French) 2017-06-10 15:21:17 +02:00
James Cole
699e04f371 New translations firefly.php (French) 2017-06-10 15:21:16 +02:00
James Cole
d73de0e60d New translations csv.php (German) 2017-06-10 15:21:12 +02:00
James Cole
8e0b7d2a73 New translations firefly.php (German) 2017-06-10 15:21:10 +02:00
James Cole
04283cf2d6 New translations csv.php (Polish) 2017-06-10 15:21:06 +02:00
James Cole
d60b4aa56f New translations csv.php (Chinese Traditional) 2017-06-10 15:20:57 +02:00
James Cole
9cfeda1b0c New translations firefly.php (Chinese Traditional) 2017-06-10 15:20:55 +02:00
James Cole
5e1bd8e1eb New translations csv.php (Dutch) 2017-06-10 15:20:48 +02:00
James Cole
9b495d212b New translations firefly.php (Polish) 2017-06-10 15:20:47 +02:00
James Cole
b6fdd0070b New translations firefly.php (Slovenian) 2017-06-10 15:20:40 +02:00
James Cole
eea387ad0c New translations csv.php (Spanish) 2017-06-10 15:20:33 +02:00
James Cole
9cdb0f173a New translations csv.php (Slovenian) 2017-06-10 15:20:31 +02:00
James Cole
51063230d0 New translations firefly.php (Dutch) 2017-06-10 15:20:30 +02:00
James Cole
1111478b7f New translations firefly.php (Portuguese, Brazilian) 2017-06-10 15:20:25 +02:00
James Cole
c99c9b441f New translations csv.php (Portuguese, Brazilian) 2017-06-10 15:20:17 +02:00
James Cole
b5065a0276 New translations firefly.php (Spanish) 2017-06-10 15:20:11 +02:00
James Cole
c79a577060 Remove unused files in import. 2017-06-10 15:10:46 +02:00
James Cole
091596e80e Lots of new code for new importer routine. 2017-06-10 15:09:41 +02:00
James Cole
0b4efe4ae1 Small typo in chart. [skip ci] 2017-06-09 12:53:31 +02:00
James Cole
1f9b7faa60 Code for #660 2017-06-09 11:52:20 +02:00
James Cole
762d7bcc34 Fix database for postgresql 2017-06-09 11:51:59 +02:00
James Cole
a2145f6b49 Possible fix for #667 2017-06-08 10:54:15 +02:00
James Cole
b48de98865 Fix a bug where the balance routine forgot to account for accounts without a currency preference. 2017-06-08 10:35:02 +02:00
James Cole
a23179dd83 Merge branch 'release/4.5.0' 2017-06-07 12:30:09 +02:00
James Cole
5c18794122 Update lock file, and update database. 2017-06-07 12:22:59 +02:00
James Cole
f04011f6a7 New translations firefly.php (Dutch) 2017-06-07 12:20:13 +02:00
James Cole
893498238e Merge pull request #647 from firefly-iii/l10n_develop
New Crowdin translations
2017-06-07 12:11:28 +02:00
James Cole
474fa9dea0 New translations firefly.php (Dutch) 2017-06-07 12:10:10 +02:00
James Cole
d8a8574dda Prep for new release. 2017-06-07 12:08:32 +02:00
James Cole
935fb015d3 Live update budget amounts. 2017-06-07 11:58:04 +02:00
James Cole
8bbd3063ec Move code around for simplicity and fix tests. 2017-06-07 11:13:04 +02:00
James Cole
92c5cabd70 Try to untangle complex repositories 2017-06-07 08:18:42 +02:00
James Cole
e5db5a7b5c Various code clean up. 2017-06-07 07:38:58 +02:00
James Cole
28cf123da3 New translations firefly.php (French) 2017-06-06 20:41:24 +02:00
James Cole
5069367873 New translations firefly.php (German) 2017-06-06 20:41:16 +02:00
James Cole
234e656ff6 New translations firefly.php (Chinese Traditional) 2017-06-06 20:40:59 +02:00
James Cole
aeadfbdd6a New translations firefly.php (Polish) 2017-06-06 20:40:50 +02:00
James Cole
39288cfb0b New translations firefly.php (Slovenian) 2017-06-06 20:40:41 +02:00
James Cole
5e430968c1 New translations firefly.php (Dutch) 2017-06-06 20:40:34 +02:00
James Cole
154b74ce6f New translations firefly.php (Portuguese, Brazilian) 2017-06-06 20:40:26 +02:00
James Cole
2e26303b66 New translations firefly.php (Spanish) 2017-06-06 20:40:11 +02:00
James Cole
51ddcd9ee1 Plus not minus [skip ci] 2017-06-06 20:37:24 +02:00
James Cole
9d5d1c0a41 Updated budget view. 2017-06-06 20:35:39 +02:00
James Cole
6058ccff0d Merge pull request #664 from kressh/master
Add pgsql dependencies to Dockerfile
2017-06-06 20:01:43 +02:00
James Cole
a8ec4fe2fd New interface for budget overview. 2017-06-06 19:30:31 +02:00
James Cole
65ccb2d443 Fix error display #662 2017-06-06 19:29:10 +02:00
James Cole
0e929602a8 Verify currency data routine. 2017-06-06 07:23:54 +02:00
James Cole
5329e026dc Fixed various currency displays. 2017-06-06 07:18:09 +02:00
James Cole
a7412e43b3 Beter message for #662 2017-06-06 06:56:32 +02:00
Sergey Besedin
eeae24e058 Add pgsql dependencies 2017-06-06 01:22:09 +03:00
James Cole
17b6cc43d5 Fix display of foreign currencies in charts. 2017-06-05 22:11:54 +02:00
James Cole
b69a2ef0cd Can handle multi-currency balances better. 2017-06-05 15:09:17 +02:00
James Cole
6d1296094e Fixes a lot of issues in scrutinizer. 2017-06-05 11:20:38 +02:00
James Cole
c4039b53e6 Various code cleanup. 2017-06-05 11:12:50 +02:00
James Cole
64831b4c86 Code cleanup and refactoring. 2017-06-05 08:31:22 +02:00
James Cole
1dec270907 These changes fix the tests. 2017-06-05 07:37:53 +02:00
James Cole
f72f8b03df Catch empty currency preference 2017-06-05 07:03:32 +02:00
James Cole
0b47e5d05d Removed unnecessary variable. 2017-06-05 07:03:20 +02:00
James Cole
a487c7b4b2 Make sure amounts are formatted, and fixed some issues. 2017-06-04 23:39:26 +02:00
James Cole
3838b21459 New translations firefly.php (French) 2017-06-04 13:41:19 +02:00
James Cole
7801274d33 New translations firefly.php (German) 2017-06-04 13:41:15 +02:00
James Cole
a505406ee7 New translations firefly.php (Chinese Traditional) 2017-06-04 13:41:03 +02:00
James Cole
9487a95c13 New translations firefly.php (Polish) 2017-06-04 13:40:54 +02:00
James Cole
3b2fe13902 New translations firefly.php (Slovenian) 2017-06-04 13:40:47 +02:00
James Cole
db2898dfe5 New translations auth.php (Spanish) 2017-06-04 13:40:44 +02:00
James Cole
e08fd399d2 New translations csv.php (Spanish) 2017-06-04 13:40:40 +02:00
James Cole
e45ffba010 New translations passwords.php (Spanish) 2017-06-04 13:40:39 +02:00
James Cole
f7fde93ed2 New translations firefly.php (Dutch) 2017-06-04 13:40:37 +02:00
James Cole
3cf53604a1 New translations firefly.php (Portuguese, Brazilian) 2017-06-04 13:40:31 +02:00
James Cole
e041a5e037 New translations help.php (Spanish) 2017-06-04 13:40:19 +02:00
James Cole
6c8e10255b New translations form.php (Spanish) 2017-06-04 13:40:17 +02:00
James Cole
3464ab1527 New translations firefly.php (Spanish) 2017-06-04 13:40:13 +02:00
James Cole
82e74a2afd Big update to properly support multi currencies. 2017-06-04 13:39:16 +02:00
James Cole
771ebde295 Update journal collector so currency information is taken from the transaction. 2017-06-04 08:49:37 +02:00
James Cole
4ce4c3138c Update export routine so currency information is taken from the transaction. 2017-06-04 08:49:22 +02:00
James Cole
d37b46effc Database upgrade routine. 2017-06-04 08:48:54 +02:00
James Cole
0868aac750 Small update for 4.5.0 SQL update. 2017-06-04 08:48:40 +02:00
James Cole
4ff5f33966 Prep for solid multi-currency configuration. 2017-06-02 13:01:43 +02:00
James Cole
e1aebbe12b Remove non-existing charts. 2017-06-02 13:01:24 +02:00
James Cole
8273f467b6 Refactor some JS functions. 2017-06-02 13:00:43 +02:00
James Cole
74664afa68 Was not able to remove opening balance. 2017-06-02 13:00:24 +02:00
James Cole
c05f344371 Code clean up [skip ci] 2017-06-02 13:00:09 +02:00
James Cole
ec1507d644 Add some documentation [skip ci] 2017-06-02 12:59:27 +02:00
James Cole
8cdc1f0014 Rename several twig files. 2017-06-02 12:59:14 +02:00
James Cole
2b1ab5c6ef Fixed edit of multi currency transaction, ##651 2017-06-02 07:05:42 +02:00
James Cole
01fedc0bf8 Fix for #593, as inspired by @nhaarman. 2017-06-02 06:45:38 +02:00
James Cole
1bd82d71a2 New translations list.php (Spanish) 2017-05-25 16:50:09 +02:00
James Cole
1e9dacb6e4 New translations pagination.php (Spanish) 2017-05-25 16:40:16 +02:00
James Cole
94939ea3d3 New translations firefly.php (Portuguese, Brazilian) 2017-05-25 16:40:13 +02:00
James Cole
c3ff69d147 New translations list.php (Spanish) 2017-05-25 16:40:09 +02:00
James Cole
0fad9d4ac7 New translations validation.php (Spanish) 2017-05-25 16:40:07 +02:00
James Cole
70cd8ffb72 New translations validation.php (Spanish) 2017-05-25 16:30:10 +02:00
James Cole
61535bf4b8 New translations firefly.php (Spanish) 2017-05-25 16:30:08 +02:00
James Cole
4adcbf9e48 New translations demo.php (Spanish) 2017-05-25 16:20:11 +02:00
James Cole
3eba3167fd New translations firefly.php (Spanish) 2017-05-25 16:20:07 +02:00
James Cole
0608fd7732 New translations demo.php (Spanish) 2017-05-25 16:10:06 +02:00
James Cole
1f41f27e89 New translations breadcrumbs.php (Spanish) 2017-05-25 16:00:11 +02:00
James Cole
ded0df9303 New translations config.php (Spanish) 2017-05-25 16:00:06 +02:00
James Cole
2a7ba1893a New translations form.php (Slovenian) 2017-05-16 15:10:18 +02:00
James Cole
6b3b19632a New translations help.php (Slovenian) 2017-05-16 15:10:15 +02:00
James Cole
98bb0731df New translations list.php (Slovenian) 2017-05-16 15:10:12 +02:00
James Cole
a102f7044e New translations list.php (Slovenian) 2017-05-15 09:20:09 +02:00
James Cole
f1028dbaed New translations list.php (Slovenian) 2017-05-15 09:10:14 +02:00
James Cole
438ce5c3db New translations list.php (Slovenian) 2017-05-15 09:00:35 +02:00
James Cole
b995a1d091 New translations list.php (Slovenian) 2017-05-15 08:50:08 +02:00
James Cole
e072f83507 New translations list.php (Slovenian) 2017-05-14 10:10:08 +02:00
James Cole
79154bba25 New translations pagination.php (Slovenian) 2017-05-14 10:10:06 +02:00
James Cole
613eb7522c New translations pagination.php (Slovenian) 2017-05-14 10:00:10 +02:00
James Cole
0eb5653713 New translations csv.php (Slovenian) 2017-05-14 10:00:08 +02:00
James Cole
0d624f021b New translations csv.php (Slovenian) 2017-05-14 09:30:23 +02:00
James Cole
b263047f4e New translations csv.php (Slovenian) 2017-05-14 09:20:21 +02:00
James Cole
4410e1bbd7 New translations csv.php (Slovenian) 2017-05-14 09:10:12 +02:00
James Cole
8c3871e8de New translations csv.php (Slovenian) 2017-05-14 09:00:09 +02:00
James Cole
2eafd3cc15 Should fix #644 2017-05-14 08:57:43 +02:00
James Cole
368df66947 New translations validation.php (Slovenian) 2017-05-14 08:40:06 +02:00
James Cole
9f9a3ea8fd New translations breadcrumbs.php (Slovenian) 2017-05-14 01:20:08 +02:00
James Cole
f66286105f New translations validation.php (Slovenian) 2017-05-14 01:20:07 +02:00
James Cole
0f0f912370 Partial JS focus [skip ci] 2017-05-12 06:21:26 +02:00
James Cole
9fa0e37a5d Merge pull request #641 from firefly-iii/l10n_develop
New Crowdin translations
2017-05-12 06:20:05 +02:00
James Cole
a0cb51ff70 Merge branch 'develop' into l10n_develop 2017-05-12 06:19:56 +02:00
James Cole
a6305ddea4 New translations auth.php (Spanish) 2017-05-10 20:40:44 +02:00
James Cole
fb8638fe6a New translations breadcrumbs.php (Spanish) 2017-05-10 20:40:42 +02:00
James Cole
0009f1f865 New translations csv.php (Spanish) 2017-05-10 20:40:41 +02:00
James Cole
d449c35025 New translations passwords.php (Spanish) 2017-05-10 20:40:39 +02:00
James Cole
1893d1a2c2 New translations demo.php (Spanish) 2017-05-10 20:40:37 +02:00
James Cole
0c4539e4fa New translations validation.php (Spanish) 2017-05-10 20:40:31 +02:00
James Cole
feacddd1d7 Merge pull request #645 from elamperti/unfinished-translations-es_ES
Unfinished translations for Spanish language
2017-05-10 20:36:55 +02:00
Enrico Lamperti
0c44fe6ce0 Add translations for Spanish language 2017-05-07 21:24:07 -03:00
James Cole
17fb6983d8 Fix issue #637 with cash accounts. 2017-05-07 19:45:40 +02:00
James Cole
5fb73bdb01 Fix bug #642 2017-05-07 19:24:53 +02:00
James Cole
7f082ea389 Remove focus thing 2017-05-06 10:20:27 +02:00
James Cole
9856a1831a New translations firefly.php (Slovenian) 2017-05-04 17:40:13 +02:00
James Cole
dd17a20b60 New translations firefly.php (Slovenian) 2017-05-04 17:30:12 +02:00
James Cole
665a52b106 Merge branch 'release/4.4.3' 2017-05-03 21:25:44 +02:00
James Cole
f68d33870b Composer lock file and version update. 2017-05-03 21:25:13 +02:00
James Cole
49d13b12a5 No code coverage. 2017-05-03 21:22:01 +02:00
James Cole
674ab7e41f Merge branch 'develop' of https://github.com/firefly-iii/firefly-iii into develop
* 'develop' of https://github.com/firefly-iii/firefly-iii: (45 commits)
  New translations validation.php (Slovenian)
  New translations csv.php (Slovenian)
  New translations csv.php (Slovenian)
  New translations csv.php (Slovenian)
  New translations csv.php (Slovenian)
  New translations passwords.php (Slovenian)
  New translations csv.php (Slovenian)
  New translations csv.php (Slovenian)
  New translations config.php (Slovenian)
  New translations breadcrumbs.php (Slovenian)
  New translations breadcrumbs.php (Slovenian)
  New translations auth.php (Slovenian)
  New translations firefly.php (Slovenian)
  New translations breadcrumbs.php (Slovenian)
  New translations demo.php (Slovenian)
  New translations firefly.php (Slovenian)
  New translations firefly.php (Slovenian)
  New translations firefly.php (Slovenian)
  New translations firefly.php (Slovenian)
  New translations form.php (Slovenian)
  ...
2017-05-03 21:21:03 +02:00
James Cole
5b3eb3ba82 Merge pull request #639 from firefly-iii/l10n_develop
New Crowdin translations
2017-05-03 21:20:36 +02:00
James Cole
e28d3f3b5a Remove unused languages. 2017-05-03 21:14:37 +02:00
James Cole
870d8b5008 No prefix key, issue #624 2017-05-03 21:12:49 +02:00
James Cole
6aa240e9a3 Update version and changelog. 2017-05-03 21:12:19 +02:00
James Cole
b55a4047d0 New translations validation.php (Slovenian) 2017-05-03 17:50:07 +02:00
James Cole
a07d87318c New translations csv.php (Slovenian) 2017-05-03 17:40:08 +02:00
James Cole
dd6555c903 New translations csv.php (Slovenian) 2017-05-03 17:30:12 +02:00
James Cole
e8c40b6044 New translations csv.php (Slovenian) 2017-05-03 17:21:14 +02:00
James Cole
91c17a0b2a New translations csv.php (Slovenian) 2017-05-03 09:40:10 +02:00
James Cole
2ed0ea0243 New translations passwords.php (Slovenian) 2017-05-03 09:00:11 +02:00
James Cole
df2f92433a New translations csv.php (Slovenian) 2017-05-03 01:10:06 +02:00
James Cole
68b3fc72bf New translations csv.php (Slovenian) 2017-05-03 01:00:11 +02:00
James Cole
df5bb14758 New translations config.php (Slovenian) 2017-05-03 01:00:08 +02:00
James Cole
e24199bbbe New translations breadcrumbs.php (Slovenian) 2017-05-03 00:40:06 +02:00
James Cole
2c6099556b New translations breadcrumbs.php (Slovenian) 2017-05-03 00:30:13 +02:00
James Cole
f98215a5da New translations auth.php (Slovenian) 2017-05-03 00:30:11 +02:00
James Cole
b6b6888493 New translations firefly.php (Slovenian) 2017-05-03 00:30:09 +02:00
James Cole
f8e5b9be43 New translations breadcrumbs.php (Slovenian) 2017-05-03 00:20:10 +02:00
James Cole
692210214f New translations demo.php (Slovenian) 2017-05-03 00:20:08 +02:00
James Cole
cff2546c0c New translations firefly.php (Slovenian) 2017-05-03 00:10:14 +02:00
James Cole
f0cc1200f3 New translations firefly.php (Slovenian) 2017-05-03 00:00:14 +02:00
James Cole
e83a9af455 New translations firefly.php (Slovenian) 2017-05-02 23:50:09 +02:00
James Cole
fb84f9d9cf New translations firefly.php (Slovenian) 2017-05-02 23:40:12 +02:00
James Cole
118a2515e1 New translations form.php (Slovenian) 2017-05-02 23:40:09 +02:00
James Cole
63e891b0f7 New translations firefly.php (Slovenian) 2017-05-02 23:30:11 +02:00
James Cole
9891080b57 New translations firefly.php (Slovenian) 2017-05-02 23:20:10 +02:00
James Cole
bc7a7e55af New translations firefly.php (Slovenian) 2017-05-02 23:00:13 +02:00
James Cole
9b8a029de1 New translations demo.php (Slovenian) 2017-05-02 22:40:10 +02:00
James Cole
11b5575422 New translations csv.php (Slovenian) 2017-05-02 22:40:09 +02:00
James Cole
06336aa580 New translations form.php (Slovenian) 2017-05-02 22:40:07 +02:00
James Cole
aa8c1d6e9c New translations demo.php (Slovenian) 2017-05-02 22:30:08 +02:00
James Cole
9a4d5d8abf New translations firefly.php (Slovenian) 2017-05-02 22:20:11 +02:00
James Cole
3c5631bca3 New translations firefly.php (Slovenian) 2017-05-02 22:10:17 +02:00
James Cole
84f85f87b2 New translations firefly.php (Slovenian) 2017-05-02 22:00:13 +02:00
James Cole
c35db5976f New translations form.php (Slovenian) 2017-05-02 22:00:10 +02:00
James Cole
8d1fcf988c New translations firefly.php (Slovenian) 2017-05-02 21:50:11 +02:00
James Cole
bbf8f2dd69 New translations form.php (Slovenian) 2017-05-02 21:50:07 +02:00
James Cole
2f6436e34f New translations list.php (Slovenian) 2017-05-02 21:10:34 +02:00
James Cole
9cbb03107d New translations help.php (Slovenian) 2017-05-02 21:10:33 +02:00
James Cole
ee44d7fb2e New translations pagination.php (Slovenian) 2017-05-02 21:10:31 +02:00
James Cole
6a0fcd9cf0 New translations passwords.php (Slovenian) 2017-05-02 21:10:30 +02:00
James Cole
43cfe3b858 New translations demo.php (Slovenian) 2017-05-02 21:10:29 +02:00
James Cole
dba83c1c03 New translations validation.php (Slovenian) 2017-05-02 21:10:28 +02:00
James Cole
053e139d00 New translations form.php (Slovenian) 2017-05-02 21:10:26 +02:00
James Cole
04f791a839 New translations firefly.php (Slovenian) 2017-05-02 21:10:24 +02:00
James Cole
a4029c9490 New translations auth.php (Slovenian) 2017-05-02 21:10:20 +02:00
James Cole
d471dfec43 New translations csv.php (Slovenian) 2017-05-02 21:10:19 +02:00
James Cole
494bbd46d0 New translations config.php (Slovenian) 2017-05-02 21:10:17 +02:00
James Cole
1525b9ad06 New translations breadcrumbs.php (Slovenian) 2017-05-02 21:10:16 +02:00
James Cole
19847ee80b Change log update and added Slovenian. 2017-05-02 21:08:29 +02:00
James Cole
fddf1f146c Pie chart tests. 2017-05-02 20:54:49 +02:00
James Cole
5f19cb1c0c Fix canvas things. 2017-04-29 08:56:08 +02:00
James Cole
aaeae992e1 Reinstate support class. 2017-04-29 08:55:50 +02:00
James Cole
a0e7be9d45 Fix binding. 2017-04-29 08:55:37 +02:00
James Cole
78faf7e14c Forgot call to sprintf. [skip ci] 2017-04-29 08:33:32 +02:00
James Cole
98f84c2c37 Introducing filters to the journal collector. 2017-04-29 08:22:56 +02:00
James Cole
278805043e Update gitignore file. 2017-04-28 20:18:07 +02:00
James Cole
dc5215e41e Update tests. 2017-04-28 20:17:10 +02:00
James Cole
7e11691ea4 Update code to work with filters. 2017-04-28 20:08:25 +02:00
James Cole
c83dfc44d6 Update internal filters. 2017-04-28 20:08:04 +02:00
James Cole
68a01b1735 More text about Heroku. 2017-04-28 20:07:26 +02:00
James Cole
0307b58d17 Small changes to make code more testable. 2017-04-28 18:04:57 +02:00
James Cole
9d1508049e Add comment [skip ci] 2017-04-28 18:03:27 +02:00
James Cole
42322055f9 New filters to clean up the journal collector. 2017-04-28 18:02:54 +02:00
James Cole
5de8fce156 Make event handlers easier to test (and then ignore them). 2017-04-28 10:34:11 +02:00
James Cole
29ff92f833 Clean up event related code. 2017-04-28 07:51:43 +02:00
James Cole
359007c5bf Clean up event related code. 2017-04-28 07:51:09 +02:00
James Cole
bbe40518e4 Can now also test event code. 2017-04-27 08:26:58 +02:00
James Cole
b26f3c0cc6 User registration is now a Mailable. See #636 2017-04-27 08:03:15 +02:00
James Cole
552b4b67a6 Merge branch 'release/4.4.2' 2017-04-27 07:45:50 +02:00
James Cole
7fbf359efd New version [skip ci] 2017-04-27 07:45:15 +02:00
James Cole
052b804855 Fixed a bug where the opening balance could not be stored. 2017-04-27 07:44:35 +02:00
James Cole
67cc611495 Merge branch 'release/4.4.1' 2017-04-27 03:32:16 +02:00
James Cole
7e2c24b82e New test config 2017-04-27 03:29:11 +02:00
James Cole
4a6bbd4dca Update example config 2017-04-27 03:26:54 +02:00
James Cole
166bfba5b9 New version. [skip ci] 2017-04-27 03:17:34 +02:00
James Cole
87b8ac5f4e Update read me with deploy button [skip ci] 2017-04-27 03:16:27 +02:00
James Cole
46b4100291 Default key for instant deployment [skip ci] 2017-04-27 03:11:50 +02:00
James Cole
83090ade94 Generate app key [skip ci] 2017-04-27 03:06:39 +02:00
James Cole
44b7a42d5a Experimental deploy button script [skip ci] 2017-04-27 03:03:31 +02:00
James Cole
1a5617d430 Fixes a bug in the new user handler [skip ci] 2017-04-27 02:56:57 +02:00
James Cole
fa818e0924 Configure nginx [skip ci] 2017-04-27 02:49:06 +02:00
James Cole
f87b531fe1 Configure nginx [skip ci] 2017-04-27 02:45:26 +02:00
James Cole
82fd0c4d37 Set default db driver to be pgsql. [skip ci] 2017-04-27 02:40:57 +02:00
James Cole
26ceb9e3be Include config for Heroku. [skip ci] 2017-04-27 02:39:48 +02:00
James Cole
743458b853 Include config for Heroku. [skip ci] 2017-04-27 02:38:29 +02:00
James Cole
920e5f6fbe Force seed. 2017-04-26 21:32:43 +02:00
James Cole
fc0dd22769 Deploy heroku database. [skip ci] 2017-04-26 21:31:46 +02:00
James Cole
c7c61ce280 Log to error log. 2017-04-26 21:26:44 +02:00
James Cole
5f5a603f71 Update example file and config file for Laravel thing. [skip ci] 2017-04-26 21:02:21 +02:00
James Cole
d611858883 Remove compile step [skip ci] 2017-04-26 20:59:34 +02:00
James Cole
dbc9ce76a0 Try herocu config [skip ci] 2017-04-26 20:57:50 +02:00
James Cole
62386e2e40 Procfile for Herocu deployment. [skip ci] 2017-04-26 20:51:06 +02:00
James Cole
5aa7ab5e37 Merge branch 'release/4.4.0' 2017-04-23 19:07:19 +02:00
James Cole
be1b57eab7 New test database [skip ci] 2017-04-23 19:06:45 +02:00
James Cole
ad5c8b41e2 Merge pull request #635 from firefly-iii/l10n_develop
New Crowdin translations
2017-04-23 19:05:42 +02:00
James Cole
09752b25ad New translations firefly.php (Dutch) 2017-04-23 19:05:23 +02:00
James Cole
3f317f961b New translations firefly.php (French) 2017-04-23 19:01:25 +02:00
James Cole
d6d6a62fda New translations firefly.php (Chinese Traditional) 2017-04-23 19:01:17 +02:00
James Cole
528833b831 New translations firefly.php (Croatian) 2017-04-23 19:01:11 +02:00
James Cole
95e2bca4a6 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-04-23 19:01:06 +02:00
James Cole
dfd3327108 New translations firefly.php (German) 2017-04-23 19:01:01 +02:00
James Cole
653befbcd4 New translations firefly.php (Russian) 2017-04-23 19:00:55 +02:00
James Cole
33202efcdc New translations firefly.php (Spanish) 2017-04-23 19:00:50 +02:00
James Cole
77a37411ba New translations firefly.php (Dutch) 2017-04-23 19:00:45 +02:00
James Cole
491f221741 New translations firefly.php (Polish) 2017-04-23 19:00:37 +02:00
James Cole
e8e125a598 New translations firefly.php (Portuguese, Brazilian) 2017-04-23 19:00:25 +02:00
James Cole
cb01ae0ac5 New version and new change log. 2017-04-23 19:00:19 +02:00
James Cole
a09469c01f Merge pull request #633 from firefly-iii/l10n_develop
New Crowdin translations
2017-04-23 18:58:26 +02:00
James Cole
662f398b08 Update tests. 2017-04-23 18:53:00 +02:00
James Cole
d7aef627b8 Update composer file 2017-04-23 18:52:47 +02:00
James Cole
87bcf293aa New translations firefly.php (French) 2017-04-23 18:20:17 +02:00
James Cole
0171831ebb New translations form.php (French) 2017-04-23 18:10:19 +02:00
James Cole
50cc455f0f New translations firefly.php (French) 2017-04-23 18:10:18 +02:00
James Cole
47a7729358 New translations firefly.php (Dutch) 2017-04-23 09:40:30 +02:00
James Cole
6d508e61a0 New translations form.php (Dutch) 2017-04-23 09:40:28 +02:00
James Cole
8ef9223d84 Final code for #595 2017-04-23 09:33:33 +02:00
James Cole
e58ea4d0c7 New translations firefly.php (French) 2017-04-22 07:11:03 +02:00
James Cole
9629ba916e New translations firefly.php (Chinese Traditional) 2017-04-22 07:10:55 +02:00
James Cole
aad4df1596 New translations firefly.php (Croatian) 2017-04-22 07:10:51 +02:00
James Cole
30ed25f80a New translations firefly.php (Chinese Traditional, Hong Kong) 2017-04-22 07:10:47 +02:00
James Cole
8b7000681c New translations firefly.php (German) 2017-04-22 07:10:43 +02:00
James Cole
221adbf3db New translations firefly.php (Russian) 2017-04-22 07:10:38 +02:00
James Cole
39129d8cd0 New translations firefly.php (Spanish) 2017-04-22 07:10:34 +02:00
James Cole
2c2d444906 New translations firefly.php (Dutch) 2017-04-22 07:10:32 +02:00
James Cole
04a1d785bf New translations firefly.php (Polish) 2017-04-22 07:10:24 +02:00
James Cole
c0a0aa4652 New translations firefly.php (Portuguese, Brazilian) 2017-04-22 07:10:15 +02:00
James Cole
21c24fd7f0 Improved test coverage script. 2017-04-22 07:05:55 +02:00
James Cole
beb358f8ee Small code optimisation. 2017-04-22 07:05:44 +02:00
James Cole
e3cd11ec2e Various code coverage and test related fixes. 2017-04-22 07:05:31 +02:00
James Cole
ee08fc2421 All “all” views are now consistent #595 2017-04-22 07:04:39 +02:00
James Cole
ae30f7920b Fix bread crumbs for tags. 2017-04-19 17:11:07 +02:00
James Cole
f4786c3ec8 Fix balance view [skip ci] 2017-04-19 16:32:12 +02:00
James Cole
8b9e4d2539 New translations firefly.php (German) 2017-04-19 09:31:52 +02:00
James Cole
d7ca7ed632 New translations firefly.php (German) 2017-04-19 09:20:18 +02:00
James Cole
1346b25fc7 New translations firefly.php (German) 2017-04-19 09:10:18 +02:00
James Cole
15d9314503 New translations firefly.php (German) 2017-04-19 09:00:38 +02:00
James Cole
93f4006c9e New translations firefly.php (German) 2017-04-19 08:50:21 +02:00
James Cole
16182fec6c New translations validation.php (German) 2017-04-19 08:40:18 +02:00
James Cole
99606ba936 New translations form.php (German) 2017-04-19 08:40:15 +02:00
James Cole
be1ed56d42 New translations form.php (German) 2017-04-19 01:50:14 +02:00
James Cole
d7fb6f83b8 New translations firefly.php (German) 2017-04-19 00:30:15 +02:00
James Cole
665f1f470a New translations firefly.php (German) 2017-04-19 00:20:16 +02:00
James Cole
7867f26120 Improve report sums. 2017-04-17 08:31:42 +02:00
James Cole
8e195bf811 New translations firefly.php (French) 2017-04-16 22:21:16 +02:00
James Cole
e3403dc87f New translations firefly.php (Chinese Traditional) 2017-04-16 22:21:07 +02:00
James Cole
5844e95488 New translations firefly.php (Croatian) 2017-04-16 22:21:01 +02:00
James Cole
cb3a1f2ff6 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-04-16 22:20:56 +02:00
James Cole
f95edb06a9 New translations firefly.php (German) 2017-04-16 22:20:52 +02:00
James Cole
86d13060bc New translations firefly.php (Russian) 2017-04-16 22:20:45 +02:00
James Cole
0b8c2f6f8d New translations firefly.php (Spanish) 2017-04-16 22:20:40 +02:00
James Cole
589cafc64f New translations firefly.php (Dutch) 2017-04-16 22:20:37 +02:00
James Cole
448dc7b5c3 New translations firefly.php (Polish) 2017-04-16 22:20:25 +02:00
James Cole
10cfde6cab New translations firefly.php (Portuguese, Brazilian) 2017-04-16 22:20:15 +02:00
James Cole
e48eb2ce2f Clean up account taker amount inconsistencies. 2017-04-16 22:15:05 +02:00
James Cole
20a30a2d1d Various cosmetic fixes for /all lists [skip ci] 2017-04-16 12:51:21 +02:00
James Cole
2e5b8418ae New translations firefly.php (French) 2017-04-15 23:01:27 +02:00
James Cole
054fd229d2 New translations firefly.php (Chinese Traditional) 2017-04-15 23:01:18 +02:00
James Cole
9bdf2c8877 New translations firefly.php (Croatian) 2017-04-15 23:01:12 +02:00
James Cole
04f858a355 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-04-15 23:01:07 +02:00
James Cole
a9bf405a65 New translations firefly.php (German) 2017-04-15 23:01:01 +02:00
James Cole
463c866cfa New translations firefly.php (Russian) 2017-04-15 23:00:54 +02:00
James Cole
03fe0c8fff New translations firefly.php (Spanish) 2017-04-15 23:00:49 +02:00
James Cole
102d9f3510 New translations firefly.php (Dutch) 2017-04-15 23:00:44 +02:00
James Cole
3cf9a40c42 New translations firefly.php (Polish) 2017-04-15 23:00:33 +02:00
James Cole
ff33267296 New translations firefly.php (Portuguese, Brazilian) 2017-04-15 23:00:20 +02:00
James Cole
f0dab5bdb9 Code for #608 2017-04-15 22:52:01 +02:00
James Cole
209a907c61 Account chart can display multiple currencies. 2017-04-15 17:26:03 +02:00
James Cole
c7984d4363 Remove stray text. [skip ci] 2017-04-15 15:57:45 +02:00
James Cole
a388313e1c New translations form.php (French) 2017-04-15 08:21:13 +02:00
James Cole
a3933cb307 New translations form.php (Croatian) 2017-04-15 08:21:12 +02:00
James Cole
89c82d9be9 New translations form.php (Chinese Traditional) 2017-04-15 08:21:04 +02:00
James Cole
6e6311a1a1 New translations form.php (Chinese Traditional, Hong Kong) 2017-04-15 08:20:57 +02:00
James Cole
69b334ed8a New translations form.php (Russian) 2017-04-15 08:20:44 +02:00
James Cole
a84b6f377f New translations form.php (Dutch) 2017-04-15 08:20:37 +02:00
James Cole
ee5db4e4cc New translations form.php (Spanish) 2017-04-15 08:20:34 +02:00
James Cole
20f3322e5a New translations form.php (Polish) 2017-04-15 08:20:28 +02:00
James Cole
1e84bc3743 New translations form.php (German) 2017-04-15 08:20:24 +02:00
James Cole
7f198cbd50 New translations form.php (Portuguese, Brazilian) 2017-04-15 08:20:19 +02:00
James Cole
1c7d5ccefc Forgot some translations [skip ci] 2017-04-15 08:15:05 +02:00
James Cole
41dc4d994e Fix transaction journals that may be broken. 2017-04-15 08:13:05 +02:00
James Cole
490733bdd1 Some javascript clean up 2017-04-15 07:25:09 +02:00
James Cole
ed8cf8c431 New translations firefly.php (French) 2017-04-14 23:01:32 +02:00
James Cole
a7e1f85c4d New translations form.php (French) 2017-04-14 23:01:29 +02:00
James Cole
4b8919420d New translations form.php (Croatian) 2017-04-14 23:01:27 +02:00
James Cole
9afc5d67a4 New translations firefly.php (Chinese Traditional) 2017-04-14 23:01:21 +02:00
James Cole
72afaddd7c New translations form.php (Chinese Traditional) 2017-04-14 23:01:18 +02:00
James Cole
8ae3182e1c New translations firefly.php (Croatian) 2017-04-14 23:01:14 +02:00
James Cole
9d7e16b390 New translations form.php (Chinese Traditional, Hong Kong) 2017-04-14 23:01:10 +02:00
James Cole
3a2ed202ad New translations firefly.php (Chinese Traditional, Hong Kong) 2017-04-14 23:01:09 +02:00
James Cole
9e4b9b98ab New translations firefly.php (German) 2017-04-14 23:01:03 +02:00
James Cole
e65fb7d995 New translations firefly.php (Russian) 2017-04-14 23:00:56 +02:00
James Cole
7197830edc New translations form.php (Russian) 2017-04-14 23:00:53 +02:00
James Cole
687603ae84 New translations firefly.php (Spanish) 2017-04-14 23:00:50 +02:00
James Cole
23fc25f926 New translations firefly.php (Dutch) 2017-04-14 23:00:48 +02:00
James Cole
e0c1f07f92 New translations form.php (Dutch) 2017-04-14 23:00:45 +02:00
James Cole
9424aa3378 New translations form.php (Spanish) 2017-04-14 23:00:42 +02:00
James Cole
57e6e0945f New translations form.php (Polish) 2017-04-14 23:00:35 +02:00
James Cole
d87a033f29 New translations firefly.php (Polish) 2017-04-14 23:00:33 +02:00
James Cole
10481895e6 New translations form.php (German) 2017-04-14 23:00:29 +02:00
James Cole
813432f386 New translations form.php (Portuguese, Brazilian) 2017-04-14 23:00:23 +02:00
James Cole
aba78c9776 New translations firefly.php (Portuguese, Brazilian) 2017-04-14 23:00:19 +02:00
James Cole
8dc56bcee0 Fix line [skip ci] 2017-04-14 22:55:19 +02:00
James Cole
32b6e030ef Can now also edit transfers. 2017-04-14 22:49:12 +02:00
James Cole
a27f5d2474 Can now create transfers with different currencies. 2017-04-14 22:25:48 +02:00
James Cole
e2fe8cfb75 Clean up and consistency in foreign and native amounts. 2017-04-14 15:56:43 +02:00
James Cole
9f1c346365 New translations firefly.php (French) 2017-04-14 15:51:37 +02:00
James Cole
3e56803e95 New translations firefly.php (Chinese Traditional) 2017-04-14 15:51:26 +02:00
James Cole
fc5feb054d New translations firefly.php (Croatian) 2017-04-14 15:51:18 +02:00
James Cole
8fc233e436 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-04-14 15:51:12 +02:00
James Cole
22303eb2ff New translations firefly.php (German) 2017-04-14 15:51:06 +02:00
James Cole
d6477ff9ff New translations firefly.php (Russian) 2017-04-14 15:50:56 +02:00
James Cole
a0f6f13650 New translations firefly.php (Spanish) 2017-04-14 15:50:51 +02:00
James Cole
1dd213d587 New translations firefly.php (Dutch) 2017-04-14 15:50:48 +02:00
James Cole
569e51afbe New translations firefly.php (Polish) 2017-04-14 15:50:35 +02:00
James Cole
ff06a4ed0d New translations firefly.php (Portuguese, Brazilian) 2017-04-14 15:50:21 +02:00
James Cole
ea3fdb0668 Clean up and consistency in foreign and native amounts. 2017-04-14 15:42:54 +02:00
James Cole
bd917f6484 Deposit works as well. 2017-04-14 14:48:44 +02:00
James Cole
ee96311222 New translations form.php (Dutch) 2017-04-14 14:41:44 +02:00
James Cole
135153ff9c New translations form.php (French) 2017-04-14 14:41:30 +02:00
James Cole
fdb98133c8 New translations firefly.php (French) 2017-04-14 14:41:29 +02:00
James Cole
ad4e2c0a85 New translations form.php (Croatian) 2017-04-14 14:41:26 +02:00
James Cole
e38cb263aa New translations firefly.php (Chinese Traditional) 2017-04-14 14:41:19 +02:00
James Cole
0922136389 New translations form.php (Chinese Traditional) 2017-04-14 14:41:17 +02:00
James Cole
2a05517a30 New translations firefly.php (Croatian) 2017-04-14 14:41:13 +02:00
James Cole
a0ee924aeb New translations form.php (Chinese Traditional, Hong Kong) 2017-04-14 14:41:09 +02:00
James Cole
1595afce68 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-04-14 14:41:07 +02:00
James Cole
4919d730c8 New translations firefly.php (Russian) 2017-04-14 14:40:56 +02:00
James Cole
1407d6cc66 New translations form.php (Russian) 2017-04-14 14:40:53 +02:00
James Cole
55b092e7a0 New translations firefly.php (Dutch) 2017-04-14 14:40:49 +02:00
James Cole
93afb754f3 New translations form.php (Spanish) 2017-04-14 14:40:45 +02:00
James Cole
81c0ea8f5c New translations firefly.php (Spanish) 2017-04-14 14:40:44 +02:00
James Cole
6faacd3781 New translations firefly.php (Polish) 2017-04-14 14:40:36 +02:00
James Cole
ea1e9e407f New translations form.php (German) 2017-04-14 14:40:32 +02:00
James Cole
d4f5aa1578 New translations firefly.php (German) 2017-04-14 14:40:30 +02:00
James Cole
1cbbf3fa5d New translations form.php (Polish) 2017-04-14 14:40:25 +02:00
James Cole
dad3dc71ca New translations form.php (Portuguese, Brazilian) 2017-04-14 14:40:23 +02:00
James Cole
afb1e9f230 New translations firefly.php (Portuguese, Brazilian) 2017-04-14 14:40:22 +02:00
James Cole
c33dd1ecee Can now handle withdrawals in foreign currency. 2017-04-14 14:37:04 +02:00
James Cole
7e31a29b12 FF3 will now correctly store exchanged / foreign amounts. 2017-04-14 11:19:09 +02:00
James Cole
9a69ce309e Initial user ability to set foreign currency 2017-04-14 10:16:52 +02:00
James Cole
b99bfcd02e Fix null pointer [skip ci] 2017-04-14 07:46:19 +02:00
James Cole
adb16e4560 Also make sure that the account create screen sets the correct currency id. 2017-04-14 07:32:30 +02:00
James Cole
953c38563b Make sure that accounts and their opening balance values are the same currency. 2017-04-14 07:11:30 +02:00
James Cole
89ee9c058a Account list is capable of showing the selected currency 2017-04-13 21:36:23 +02:00
James Cole
bac7a73555 A transaction may now have a currency. This may proof to be useful when transferring money between accounts with different currencies. 2017-04-13 21:29:21 +02:00
James Cole
5fb6ff230b Two small code fixes. 2017-04-13 21:19:10 +02:00
James Cole
605a718418 Turns out open exchange rates is useless. 2017-04-13 21:19:00 +02:00
James Cole
994542c75d First basic code for currency exchange rate routines. 2017-04-13 20:47:59 +02:00
James Cole
d5fdce02fa New translations csv.php (Dutch) 2017-04-11 17:22:26 +02:00
James Cole
d3637de0c3 New translations csv.php (French) 2017-04-11 17:21:56 +02:00
James Cole
63acbb222d New translations csv.php (Chinese Traditional) 2017-04-11 17:21:44 +02:00
James Cole
5e1fe157b6 New translations csv.php (Chinese Traditional, Hong Kong) 2017-04-11 17:21:37 +02:00
James Cole
8e811da967 New translations csv.php (Croatian) 2017-04-11 17:21:30 +02:00
James Cole
fb23108f4e New translations csv.php (German) 2017-04-11 17:21:20 +02:00
James Cole
a0220eb5f8 New translations csv.php (Russian) 2017-04-11 17:21:08 +02:00
James Cole
c16cbd5bc8 New translations csv.php (Spanish) 2017-04-11 17:21:02 +02:00
James Cole
2d0673e1bc New translations csv.php (Portuguese, Brazilian) 2017-04-11 17:20:59 +02:00
James Cole
a90e00d577 New translations csv.php (Polish) 2017-04-11 17:20:40 +02:00
James Cole
8db96025a3 Code cleanup. 2017-04-09 07:56:46 +02:00
James Cole
595596d73f Apparently this is changed in PHPStorm’s formatting templates so there you go [skip ci]. 2017-04-09 07:44:22 +02:00
James Cole
240797e92a Fixes #630 [skip ci] 2017-04-09 07:36:58 +02:00
James Cole
6cafb91680 This fixes #629 2017-04-08 19:05:37 +02:00
James Cole
852ce3e32f Remove unused classes. 2017-04-08 18:02:16 +02:00
James Cole
6b9c9458fa This fixes possible null errors. 2017-04-08 18:00:45 +02:00
James Cole
970ce917b0 Merge branch 'release/4.3.8' 2017-04-08 17:54:10 +02:00
James Cole
db46d450bf New files for new release. 2017-04-08 17:51:34 +02:00
James Cole
db806b92dd Merge pull request #618 from firefly-iii/l10n_develop
New Crowdin translations
2017-04-08 10:20:55 +02:00
James Cole
6765f08b07 Fixed some tests. [skip ci] 2017-04-08 10:20:34 +02:00
James Cole
99d75ba14b New translations firefly.php (Dutch) 2017-04-08 10:10:23 +02:00
James Cole
0e8ce5680c New translations firefly.php (Dutch) 2017-04-08 10:00:17 +02:00
James Cole
fd01b54a14 Code for charts #628 [skip ci] 2017-04-08 09:18:04 +02:00
James Cole
ce6253bbd7 New translations firefly.php (Dutch) 2017-04-08 09:10:16 +02:00
James Cole
4fd33f19c6 Experimental code for #628 2017-04-08 09:00:37 +02:00
James Cole
01ae278f09 Float > intval. [skip ci] 2017-04-08 08:53:53 +02:00
James Cole
7907c71e47 Code to verify issue #620 2017-04-08 07:00:51 +02:00
James Cole
4e44733dcc Updated code for #624 2017-04-08 06:51:16 +02:00
James Cole
dd1d7bb02a Should fix issue #624 2017-04-01 08:56:39 +02:00
James Cole
6f933b3bd1 Small updates. 2017-04-01 08:13:43 +02:00
James Cole
243530b750 Forgot a return value. 2017-03-30 18:43:12 +02:00
James Cole
ea984281b0 Should fix tests. 2017-03-30 18:42:02 +02:00
James Cole
92cd3d60b9 Forgot two files. 2017-03-29 21:21:10 +02:00
James Cole
5920ccee04 Various code cleanup. 2017-03-29 21:20:54 +02:00
James Cole
569fec4610 Double check on NULL. [skip ci] 2017-03-25 22:07:07 +01:00
James Cole
5770edcde2 Expanded test coverage. 2017-03-25 13:41:17 +01:00
James Cole
1fb0a64f31 Various code cleanup [skip ci] 2017-03-24 15:15:12 +01:00
James Cole
fe66d089ad Expanded test coverage. 2017-03-24 15:01:53 +01:00
James Cole
cef10b4d4e New translations firefly.php (French) 2017-03-24 11:12:14 +01:00
James Cole
b45aa6446d New translations firefly.php (Chinese Traditional) 2017-03-24 11:11:56 +01:00
James Cole
61749312b2 New translations firefly.php (Croatian) 2017-03-24 11:11:48 +01:00
James Cole
842bb2c5a6 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-03-24 11:11:40 +01:00
James Cole
4358fe99b1 New translations firefly.php (Russian) 2017-03-24 11:11:25 +01:00
James Cole
3fda8b3714 New translations firefly.php (Dutch) 2017-03-24 11:11:13 +01:00
James Cole
09f3274adc New translations firefly.php (Spanish) 2017-03-24 11:11:04 +01:00
James Cole
029224f708 New translations firefly.php (Polish) 2017-03-24 11:10:52 +01:00
James Cole
e87cce12f8 New translations firefly.php (German) 2017-03-24 11:10:43 +01:00
James Cole
7660667153 New translations firefly.php (Portuguese, Brazilian) 2017-03-24 11:10:33 +01:00
James Cole
222b3008d5 Expanded test coverage. 2017-03-24 11:07:38 +01:00
James Cole
398cf0b312 Small improvements in the search [skip ci] 2017-03-24 07:17:38 +01:00
James Cole
5ad8be2483 This fixes the tests 2017-03-22 17:37:34 +01:00
James Cole
6fe319702d Expand test coverage. Remove else-statement. 2017-03-22 17:02:15 +01:00
James Cole
32c89f9a98 Expand category view. 2017-03-22 17:00:01 +01:00
James Cole
64f983786e New translations firefly.php (French) 2017-03-22 01:20:18 +01:00
James Cole
16438b416d New translations list.php (French) 2017-03-22 01:10:26 +01:00
James Cole
52cd292a69 New translations form.php (French) 2017-03-22 01:10:24 +01:00
James Cole
53b501df19 New translations firefly.php (French) 2017-03-22 01:10:23 +01:00
James Cole
477acafc4c Improve test coverage. 2017-03-21 20:46:14 +01:00
James Cole
ab9146b7c6 Update README.md
New badge
2017-03-21 14:24:10 +01:00
James Cole
4d15913e18 New translations csv.php (French) 2017-03-21 13:50:24 +01:00
James Cole
63a91811e2 New translations firefly.php (French) 2017-03-21 13:50:23 +01:00
James Cole
9df4da6173 New translations validation.php (French) 2017-03-21 13:50:14 +01:00
James Cole
643927799b New translations demo.php (French) 2017-03-21 11:50:25 +01:00
James Cole
2652e23089 New translations firefly.php (French) 2017-03-21 11:50:23 +01:00
James Cole
b70c5ae41e New translations demo.php (French) 2017-03-21 10:11:17 +01:00
James Cole
c53d9b2855 New translations demo.php (French) 2017-03-21 10:00:35 +01:00
James Cole
2f6712be87 New translations config.php (French) 2017-03-21 09:50:13 +01:00
James Cole
37f78985ae Update AccountController.php 2017-03-21 08:17:27 +01:00
James Cole
34ac9bc71a Update AccountController.php 2017-03-21 08:15:21 +01:00
James Cole
19ff2484fd Merge branch 'develop' of https://github.com/firefly-iii/firefly-iii into develop
* 'develop' of https://github.com/firefly-iii/firefly-iii:
  Changed to get relative path and not absolute path
2017-03-21 06:29:38 +01:00
James Cole
b7ef2211d9 Include Firefly version in error mail [skip ci] 2017-03-21 06:28:06 +01:00
James Cole
c5206a4559 Merge pull request #623 from welbert/develop
Changed to get relative path and not absolute path
2017-03-20 20:29:01 +01:00
Welbert Serra
894296f63d Changed to get relative path and not absolute path
If you access with absolute path, favicon don't appear on site and the [progressive webApp](https://developers.google.com/web/progressive-web-apps/) is not correctly generate. Get 404 error
2017-03-19 17:51:32 -03:00
James Cole
61526df245 Make dir where json log will end up. 2017-03-19 20:39:27 +01:00
James Cole
92549c4485 No more script removal. 2017-03-19 18:01:09 +01:00
James Cole
6014892d4d New database and new test script. 2017-03-19 17:58:07 +01:00
James Cole
9515ce6807 Expand tests. 2017-03-19 17:54:21 +01:00
James Cole
1adb0f2f0e Improve test coverage. 2017-03-18 20:53:44 +01:00
James Cole
00b1b54347 New test database. 2017-03-18 11:02:21 +01:00
James Cole
282ce041e1 Code cleanup for #595 2017-03-18 11:02:02 +01:00
James Cole
3215c4ee4b Expand code and some refactoring for #595 2017-03-18 08:09:14 +01:00
James Cole
fce00c95c9 New translations firefly.php (French) 2017-03-18 07:51:13 +01:00
James Cole
0a69ab1dc2 New translations firefly.php (Chinese Traditional) 2017-03-18 07:51:05 +01:00
James Cole
94771d250a New translations firefly.php (Croatian) 2017-03-18 07:50:59 +01:00
James Cole
b8395a1dbb New translations firefly.php (Chinese Traditional, Hong Kong) 2017-03-18 07:50:54 +01:00
James Cole
0436cd1584 New translations firefly.php (Russian) 2017-03-18 07:50:44 +01:00
James Cole
2c774bb94c New translations firefly.php (Dutch) 2017-03-18 07:50:39 +01:00
James Cole
b879d90b0d New translations firefly.php (Spanish) 2017-03-18 07:50:35 +01:00
James Cole
ba52b5c328 New translations firefly.php (German) 2017-03-18 07:50:27 +01:00
James Cole
bf61de13f4 New translations firefly.php (Polish) 2017-03-18 07:50:22 +01:00
James Cole
b26e67ae07 New translations firefly.php (Portuguese, Brazilian) 2017-03-18 07:50:19 +01:00
James Cole
edafd16c75 Bread crumbs for #595 2017-03-18 07:46:57 +01:00
James Cole
c62e3dcb78 Code for #595 2017-03-18 07:46:42 +01:00
James Cole
68be58c9f2 Line chart 2017-03-18 07:46:14 +01:00
James Cole
a25a499ed4 Code cleanup 2017-03-18 07:45:52 +01:00
James Cole
97f67912f4 Remove logging 2017-03-18 07:45:40 +01:00
James Cole
e2f3788ff5 Expand tests. 2017-03-17 16:34:57 +01:00
James Cole
fd1f06c2cb Small fix. 2017-03-16 21:00:34 +01:00
James Cole
2db8d25038 This should fix tests 2017-03-16 20:46:18 +01:00
James Cole
d618ddc8c5 Lot of debug info for #619 2017-03-16 17:52:13 +01:00
James Cole
79aa0afc97 Possible fix for #619 2017-03-15 20:09:36 +01:00
James Cole
e53d294c1c Expand tests. 2017-03-12 21:24:34 +01:00
James Cole
aedc3fdff9 Fix #620 2017-03-12 20:43:37 +01:00
James Cole
b67dfeced2 Expand tests. 2017-03-12 09:22:33 +01:00
James Cole
65dbfcba5c Expand tests. 2017-03-12 08:38:13 +01:00
James Cole
8f14c78ba1 Expand some tests. 2017-03-11 22:28:51 +01:00
James Cole
be1b64bb78 New translations demo.php (French) 2017-03-11 12:10:17 +01:00
James Cole
a34c285820 New translations demo.php (French) 2017-03-11 12:00:19 +01:00
James Cole
298f0c194d New translations firefly.php (French) 2017-03-11 08:01:29 +01:00
James Cole
f5ad569aba New translations firefly.php (Chinese Traditional) 2017-03-11 08:01:20 +01:00
James Cole
c70df01532 New translations firefly.php (Croatian) 2017-03-11 08:01:13 +01:00
James Cole
03e115e066 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-03-11 08:01:08 +01:00
James Cole
b88fce35ad New translations firefly.php (Russian) 2017-03-11 08:00:56 +01:00
James Cole
d214e9ff49 New translations firefly.php (Dutch) 2017-03-11 08:00:50 +01:00
James Cole
bd8382c005 New translations firefly.php (Spanish) 2017-03-11 08:00:45 +01:00
James Cole
18cb815e45 New translations firefly.php (German) 2017-03-11 08:00:34 +01:00
James Cole
800e8aca6e New translations firefly.php (Polish) 2017-03-11 08:00:27 +01:00
James Cole
63a6e0754b New translations firefly.php (Portuguese, Brazilian) 2017-03-11 08:00:23 +01:00
James Cole
4abc271805 Implemented #595 for transactions. 2017-03-11 07:41:26 +01:00
James Cole
22cca3858c New translations firefly.php (French) 2017-03-10 19:41:27 +01:00
James Cole
b816fbdf82 New translations firefly.php (Chinese Traditional) 2017-03-10 19:41:17 +01:00
James Cole
d400060b8b New translations firefly.php (Croatian) 2017-03-10 19:41:10 +01:00
James Cole
c88cfa2d9d New translations firefly.php (Chinese Traditional, Hong Kong) 2017-03-10 19:41:03 +01:00
James Cole
b060027304 New translations firefly.php (Russian) 2017-03-10 19:40:51 +01:00
James Cole
d4787aca9c New translations firefly.php (Dutch) 2017-03-10 19:40:45 +01:00
James Cole
69ae2e93f8 New translations firefly.php (Spanish) 2017-03-10 19:40:40 +01:00
James Cole
82a37c62c1 New translations firefly.php (German) 2017-03-10 19:40:30 +01:00
James Cole
ca69970242 New translations firefly.php (Polish) 2017-03-10 19:40:25 +01:00
James Cole
fac3853d95 New translations firefly.php (Portuguese, Brazilian) 2017-03-10 19:40:21 +01:00
James Cole
9dd2f447cc Fix in date range [skip ci] 2017-03-10 19:36:22 +01:00
James Cole
ecbd7ca95b Also implement #595 for the no-cat view. 2017-03-10 19:34:46 +01:00
James Cole
0c52d54d7d Optimized some views and fixed tests for #595 2017-03-10 18:54:50 +01:00
James Cole
78276ac66b New translations firefly.php (French) 2017-03-10 16:12:09 +01:00
James Cole
ca0a22d755 New translations firefly.php (Chinese Traditional) 2017-03-10 16:11:56 +01:00
James Cole
47361fd77a New translations firefly.php (Croatian) 2017-03-10 16:11:49 +01:00
James Cole
1af6fd5d74 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-03-10 16:11:42 +01:00
James Cole
51df78ad2d New translations firefly.php (Russian) 2017-03-10 16:11:27 +01:00
James Cole
84a3e68eb5 New translations firefly.php (Dutch) 2017-03-10 16:11:18 +01:00
James Cole
b2904e09d8 New translations firefly.php (Spanish) 2017-03-10 16:11:11 +01:00
James Cole
fc42a621e4 New translations firefly.php (German) 2017-03-10 16:10:55 +01:00
James Cole
a1c4fb73cd New translations firefly.php (Polish) 2017-03-10 16:10:46 +01:00
James Cole
c18f19db97 New translations firefly.php (Portuguese, Brazilian) 2017-03-10 16:10:40 +01:00
James Cole
ebc712f6b5 Consistency for #595 2017-03-10 16:08:58 +01:00
James Cole
ef0057d88d Add opposing account info [skip ci] #595 2017-03-10 15:28:04 +01:00
James Cole
a8fdfdd5e0 Add opposing account info [skip ci] #595 2017-03-10 15:27:19 +01:00
James Cole
89f7e1ba2a New translations firefly.php (French) 2017-03-09 21:11:36 +01:00
James Cole
6508b4058f New translations firefly.php (Chinese Traditional) 2017-03-09 21:11:25 +01:00
James Cole
bec5d93af6 New translations firefly.php (Croatian) 2017-03-09 21:11:18 +01:00
James Cole
1125fcd6c5 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-03-09 21:11:11 +01:00
James Cole
ff43a547a6 New translations firefly.php (Russian) 2017-03-09 21:10:57 +01:00
James Cole
ca8684146c New translations firefly.php (Dutch) 2017-03-09 21:10:51 +01:00
James Cole
44bea62383 New translations firefly.php (Spanish) 2017-03-09 21:10:45 +01:00
James Cole
8dc2faa5e5 New translations firefly.php (German) 2017-03-09 21:10:34 +01:00
James Cole
f4867d1d09 New translations firefly.php (Polish) 2017-03-09 21:10:29 +01:00
James Cole
8d172801b5 New translations firefly.php (Portuguese, Brazilian) 2017-03-09 21:10:24 +01:00
James Cole
db6e6dfe4a Fix tests for #595 2017-03-09 21:05:37 +01:00
James Cole
61007a95a6 Initial code for #595, transactions with no budget 2017-03-09 20:54:18 +01:00
James Cole
bf138670e8 New translations firefly.php (Dutch) 2017-03-09 08:20:49 +01:00
James Cole
0e59f7433c Code and tests for #615 2017-03-09 08:19:05 +01:00
James Cole
9a033ac62a New translations firefly.php (French) 2017-03-08 20:41:39 +01:00
James Cole
789412ee6a New translations firefly.php (Chinese Traditional) 2017-03-08 20:41:28 +01:00
James Cole
91125d20ef New translations firefly.php (Croatian) 2017-03-08 20:41:19 +01:00
James Cole
292b3672e2 New translations firefly.php (Chinese Traditional, Hong Kong) 2017-03-08 20:41:14 +01:00
James Cole
14ef6b753c New translations firefly.php (Russian) 2017-03-08 20:40:56 +01:00
James Cole
55fcb97a10 New translations firefly.php (Dutch) 2017-03-08 20:40:50 +01:00
James Cole
6b8ec544c1 New translations firefly.php (Spanish) 2017-03-08 20:40:44 +01:00
James Cole
c0aad385cd New translations firefly.php (German) 2017-03-08 20:40:33 +01:00
James Cole
ecfb5e4711 New translations firefly.php (Polish) 2017-03-08 20:40:26 +01:00
James Cole
46c9967a68 New translations firefly.php (Portuguese, Brazilian) 2017-03-08 20:40:23 +01:00
James Cole
176c44e2b9 Remove newline [skip ci] 2017-03-08 20:38:08 +01:00
James Cole
5957cf5ff8 Remove space. [skip ci] 2017-03-08 20:37:40 +01:00
James Cole
436a270524 Merge branch 'release/4.3.7' 2017-03-06 21:07:40 +01:00
James Cole
7a1c14b766 Update for new release. 2017-03-06 21:04:14 +01:00
James Cole
721c4aa888 Merge pull request #609 from firefly-iii/l10n_develop
New Crowdin translations
2017-03-06 20:54:52 +01:00
James Cole
638aab4eea Update TagRepository.php 2017-03-06 10:16:52 +01:00
James Cole
9aa44f7458 New translations 2017-03-05 19:00:15 +01:00
James Cole
1e887a2a8d Start replacing html comments with twig comments 2017-03-05 18:46:12 +01:00
James Cole
78571ad121 Update change log 2017-03-05 18:45:55 +01:00
James Cole
8e5ec79097 Wrote new tests. 2017-03-05 18:15:38 +01:00
James Cole
fc351f36b1 New translations 2017-03-05 13:31:21 +01:00
James Cole
80204147f7 New translations 2017-03-05 13:31:12 +01:00
James Cole
d599b8e5ea New translations 2017-03-05 13:31:06 +01:00
James Cole
208ef9d664 New translations 2017-03-05 13:31:00 +01:00
James Cole
c14da542d1 New translations 2017-03-05 13:30:48 +01:00
James Cole
451832cb2b New translations 2017-03-05 13:30:42 +01:00
James Cole
1409aeb8ed New translations 2017-03-05 13:30:38 +01:00
James Cole
342f24cfe4 New translations 2017-03-05 13:30:27 +01:00
James Cole
8aedfd5153 New translations 2017-03-05 13:30:22 +01:00
James Cole
33b099456f New translations 2017-03-05 13:30:18 +01:00
James Cole
42cb40102f Updated test database. 2017-03-05 13:26:31 +01:00
James Cole
2fbeaaccd3 Expand tests. 2017-03-05 13:21:36 +01:00
James Cole
57fb75bef4 Fix for #611 [skip ci] 2017-03-05 12:19:12 +01:00
James Cole
5c0e22cd31 Fix for #612 [skip ci] 2017-03-05 12:17:55 +01:00
James Cole
879f74e521 Code cleanup. 2017-03-05 11:19:06 +01:00
James Cole
e5a2e1a8c7 Updated tests 2017-03-05 11:18:34 +01:00
James Cole
884d6c59a2 Expand some tests. 2017-03-04 19:14:36 +01:00
James Cole
c206a95d55 Improved various tests. 2017-03-04 15:29:20 +01:00
James Cole
8b4ef4e2da Fix for #610 2017-03-04 13:08:16 +01:00
James Cole
bac5238589 New test database. 2017-03-04 11:21:42 +01:00
James Cole
ae05d4d51d Expand tests 2017-03-04 11:20:57 +01:00
James Cole
9d22bbee1c Add code coverage ignore instructions. 2017-03-04 11:19:44 +01:00
James Cole
1d6007b848 New translations 2017-03-04 07:31:20 +01:00
James Cole
3157339e44 New translations 2017-03-04 07:31:10 +01:00
James Cole
b31d5eefd1 New translations 2017-03-04 07:31:04 +01:00
James Cole
e47398dc71 New translations 2017-03-04 07:30:58 +01:00
James Cole
757d472704 New translations 2017-03-04 07:30:47 +01:00
James Cole
9d0ae99602 New translations 2017-03-04 07:30:41 +01:00
James Cole
0d9ceb6fde New translations 2017-03-04 07:30:37 +01:00
James Cole
cb665d4016 New translations 2017-03-04 07:30:27 +01:00
James Cole
9673dc96d9 New translations 2017-03-04 07:30:22 +01:00
James Cole
2295091427 New translations 2017-03-04 07:30:18 +01:00
James Cole
45f4395f26 Large commit to get rid of a lot of static methods. 2017-03-04 07:26:03 +01:00
James Cole
d9aa074330 Large commit to get rid of a lot of static methods. 2017-03-04 07:18:35 +01:00
James Cole
33c20c8dc4 Renamed a parameter 2017-03-04 06:54:05 +01:00
James Cole
8101f910f0 Update tests. 2017-03-04 06:53:46 +01:00
James Cole
8fb6c1a0c8 Various small changes. 2017-03-03 18:19:25 +01:00
James Cole
978e3e615c This prevented FF from displaying cash account properly. 2017-03-03 12:55:28 +01:00
James Cole
b3b8981b4b Catch null pointer exception. 2017-03-02 19:57:46 +01:00
James Cole
015064e5af Update composer.lock 2017-03-02 19:45:04 +01:00
James Cole
7ef8ff60a5 Update config files. 2017-03-02 19:41:17 +01:00
James Cole
4c3f54699e Merge pull request #590 from firefly-iii/l10n_develop
New Crowdin translations
2017-03-02 19:26:13 +01:00
James Cole
3bf5040324 Fixed null pointer in debug message [skip ci] 2017-03-02 16:42:33 +01:00
James Cole
ed9e5b31fa Merge pull request #606 from Zsub/fix-piggy-bank-interaction
Set default piggy for new transaction
2017-03-02 07:28:17 +01:00
Joris de Vries
506e97e12d Set default piggy for new transaction
Fixes #605. By explicitly setting the selected piggybank to the 0-piggy, new transactions will not inadvertently get coupled to a piggybank if the piggy’s name starts with characters that get sorted before `(` (such as `!` or `’`).
2017-03-01 22:45:37 +01:00
James Cole
9365f9ab60 This fixes #604 2017-03-01 21:13:45 +01:00
James Cole
dd1e9ecb32 This fixes #599 2017-03-01 21:02:47 +01:00
James Cole
d3a2bf174d This fixes #605 2017-03-01 20:57:52 +01:00
James Cole
311020ff2e This fixes #602 2017-03-01 20:49:16 +01:00
James Cole
a6df3ac1fb New translations 2017-02-26 14:40:10 +01:00
James Cole
d313b50e39 Updated composer.lock 2017-02-26 11:52:40 +01:00
James Cole
b23eb07018 Fix error when not-existing import job is submitted. 2017-02-26 11:48:38 +01:00
James Cole
2116486fe0 Various code cleanup 2017-02-25 17:39:50 +01:00
James Cole
eed8fe22c6 Make sure the loop is broken. #595 2017-02-25 13:34:44 +01:00
James Cole
1cec91e4bf New translations 2017-02-25 13:31:13 +01:00
James Cole
8decf8ab9f Make PHP modules mandatory in composer file. 2017-02-25 13:26:01 +01:00
James Cole
79b0c20adb Forgot about the date for account lists, #595 [skip ci] 2017-02-25 13:22:06 +01:00
James Cole
65647ca822 New translations 2017-02-25 13:21:20 +01:00
James Cole
18fafcd45f New translations 2017-02-25 13:21:10 +01:00
James Cole
b7723f4487 New translations 2017-02-25 13:21:04 +01:00
James Cole
6418df87bb New translations 2017-02-25 13:20:58 +01:00
James Cole
daa88c5be1 New translations 2017-02-25 13:20:47 +01:00
James Cole
707b70b136 New translations 2017-02-25 13:20:42 +01:00
James Cole
f9b3b6f7d3 New translations 2017-02-25 13:20:37 +01:00
James Cole
b295eef970 New translations 2017-02-25 13:20:28 +01:00
James Cole
f13dace7ad New translations 2017-02-25 13:20:22 +01:00
James Cole
8dfc40ed3e New translations 2017-02-25 13:20:18 +01:00
James Cole
2e637031ac Fix charts for #595, account overview. 2017-02-25 13:19:42 +01:00
James Cole
de9ef20014 First code for #595. Charts are still broken. 2017-02-25 13:13:51 +01:00
James Cole
4f50689d0e - Will now return 0 when nothing to save or when target date is in the past.
- Will calculate correctly when date difference with target date is more than a year.
- Will always return a string
- Will do calculations using bcmath module.
2017-02-25 13:05:33 +01:00
James Cole
082392f9e0 New translations 2017-02-25 13:01:34 +01:00
James Cole
aca2ef08f1 New translations 2017-02-25 13:01:24 +01:00
James Cole
90fcec4ca8 New translations 2017-02-25 13:01:17 +01:00
James Cole
c90db28b9e New translations 2017-02-25 13:01:11 +01:00
James Cole
56b617bd57 New translations 2017-02-25 13:00:56 +01:00
James Cole
06d58c16d8 New translations 2017-02-25 13:00:50 +01:00
James Cole
b1a807139a New translations 2017-02-25 13:00:45 +01:00
James Cole
ac07736040 New translations 2017-02-25 13:00:34 +01:00
James Cole
c68ba8d510 New translations 2017-02-25 13:00:28 +01:00
James Cole
470802c93b New translations 2017-02-25 13:00:24 +01:00
James Cole
c58745b6ce Merge pull request #597 from Zsub/make-text-translatable
Make suggested savings text translatable
2017-02-25 12:56:31 +01:00
James Cole
9eea4749f0 Remove IDE and environment specific files from gitignore, as inspired by #598. 2017-02-25 12:55:56 +01:00
Joris de Vries
251206fb75 Make suggested savings text translatable
PR #594 introduced suggested savings, this commit makes the text translatable.
2017-02-25 12:26:46 +01:00
James Cole
b53a6c5703 Update .travis.yml in this branch so it stops building this branch. 2017-02-25 06:13:08 +01:00
James Cole
8c6972d12d Various code cleanup. 2017-02-25 05:57:01 +01:00
James Cole
fe0d88b7b3 New translations 2017-02-25 05:31:24 +01:00
James Cole
658b6de9c7 New translations 2017-02-25 05:31:14 +01:00
James Cole
4ea89c3811 New translations 2017-02-25 05:31:07 +01:00
James Cole
2d3d71f46a New translations 2017-02-25 05:31:02 +01:00
James Cole
80a6f431b6 New translations 2017-02-25 05:30:49 +01:00
James Cole
0644729148 New translations 2017-02-25 05:30:43 +01:00
James Cole
07da48e5ea New translations 2017-02-25 05:30:38 +01:00
James Cole
b3f565819b New translations 2017-02-25 05:30:28 +01:00
James Cole
af4abfbed9 New translations 2017-02-25 05:30:22 +01:00
James Cole
eb0011cb46 New translations 2017-02-25 05:30:18 +01:00
James Cole
444439fdab Merge pull request #594 from Zsub/show-suggested-monthly-savings
Show suggested monthly savings for a piggybank
2017-02-25 05:24:05 +01:00
Joris de Vries
a0e66b913b Show suggested monthly savings for a piggybank
If a piggybank has both a target date and a target amount, show how much money needs to be added to the piggybank each month to achieve both targets.

Strings are currently hard-coded because I want to gauge the reaction to this :)
2017-02-24 22:00:49 +01:00
James Cole
96c780c804 New text for translation [skip ci] 2017-02-24 21:11:51 +01:00
James Cole
4f1f46aa93 New translations 2017-02-24 21:11:48 +01:00
James Cole
1d9f76ee5a New translations 2017-02-24 21:11:36 +01:00
James Cole
a7ceda7eea New translations 2017-02-24 21:11:28 +01:00
James Cole
baec4c4d70 New translations 2017-02-24 21:11:21 +01:00
James Cole
4fa850048c New translations 2017-02-24 21:11:04 +01:00
James Cole
8163655a24 New translations 2017-02-24 21:10:56 +01:00
James Cole
4cabf8d2e3 New translations 2017-02-24 21:10:49 +01:00
James Cole
db2f08fa96 New translations 2017-02-24 21:10:36 +01:00
James Cole
a68be2fed7 New translations 2017-02-24 21:10:29 +01:00
James Cole
c3e9aea3a7 New translations 2017-02-24 21:10:24 +01:00
James Cole
40c38af766 Final code for tag report. 2017-02-24 21:09:20 +01:00
James Cole
fc2cee7a54 Fixes tests. 2017-02-24 21:01:33 +01:00
James Cole
3d4feff7de More code for the tag report. 2017-02-24 20:27:26 +01:00
James Cole
f63c6875cd Initial code base for tag report. 2017-02-24 20:01:35 +01:00
James Cole
115b72149c New translations 2017-02-24 16:21:01 +01:00
James Cole
a7e8118c83 New translations 2017-02-24 16:11:55 +01:00
James Cole
8569cc5ac6 New translations 2017-02-24 16:11:43 +01:00
James Cole
7a0ffce36f New translations 2017-02-24 16:11:33 +01:00
James Cole
c573d95ec5 New translations 2017-02-24 16:11:27 +01:00
James Cole
d3e1fba4e0 New translations 2017-02-24 16:11:10 +01:00
James Cole
e7dd087b52 New translations 2017-02-24 16:10:59 +01:00
James Cole
c7cb79906c New translations 2017-02-24 16:10:53 +01:00
James Cole
3c3f80c5a0 New translations 2017-02-24 16:10:39 +01:00
James Cole
e20fb3c3ac New translations 2017-02-24 16:10:32 +01:00
James Cole
e3986a4dd4 New translations 2017-02-24 16:10:26 +01:00
James Cole
a3926e3996 New translations 2017-02-24 16:00:31 +01:00
James Cole
e737683efb Fine-tune some translations [skip ci] 2017-02-24 16:00:24 +01:00
James Cole
0157c4ed65 New translations 2017-02-24 15:50:41 +01:00
James Cole
058ade266d New translations 2017-02-24 09:21:23 +01:00
James Cole
e0adb4c397 New translations 2017-02-24 09:10:35 +01:00
James Cole
35aa61bb23 Different icon [skip ci] 2017-02-23 17:47:46 +01:00
James Cole
27236d19cf Clone, not copy [skip ci] 2017-02-23 17:47:36 +01:00
James Cole
063ca3121a Fixes #593 2017-02-23 17:43:29 +01:00
James Cole
b8521c6875 New translations 2017-02-23 07:41:38 +01:00
James Cole
e3798d6462 New translations 2017-02-23 07:41:28 +01:00
James Cole
387a3e541f New translations 2017-02-23 07:41:20 +01:00
James Cole
42a3b411e4 New translations 2017-02-23 07:41:15 +01:00
James Cole
25c7ec4175 New translations 2017-02-23 07:40:59 +01:00
James Cole
7ec11765da New translations 2017-02-23 07:40:52 +01:00
James Cole
d57ae126b7 New translations 2017-02-23 07:40:45 +01:00
James Cole
87f133555c New translations 2017-02-23 07:40:34 +01:00
James Cole
db9883d851 New translations 2017-02-23 07:40:27 +01:00
James Cole
8dad5ff7db New translations 2017-02-23 07:40:23 +01:00
James Cole
fc36f9cd8c Added empty box for bills as well. 2017-02-23 07:30:08 +01:00
James Cole
563c668e3f Code to catch empty lists and nudge user in the right direction. 2017-02-23 07:24:05 +01:00
James Cole
b3df1f3d26 Move template around 2017-02-23 07:02:28 +01:00
James Cole
1ac3f7af3b Included a message about translations after a PR was submitted that I had to close :( [skip ci] 2017-02-23 06:53:58 +01:00
James Cole
6cbb86aed7 New translations 2017-02-22 21:51:55 +01:00
James Cole
e459a8c88b New translations 2017-02-22 21:51:41 +01:00
James Cole
ca003b7d4d New translations 2017-02-22 21:51:33 +01:00
James Cole
03f873a6d3 New translations 2017-02-22 21:51:27 +01:00
James Cole
5dbec53847 New translations 2017-02-22 21:51:11 +01:00
James Cole
49dfad9b0c Approved. Step name: Proofread 2017-02-22 21:51:02 +01:00
James Cole
4ee0462d1b New translations 2017-02-22 21:50:55 +01:00
James Cole
3f78be4471 New translations 2017-02-22 21:50:41 +01:00
James Cole
d93fad39ac New translations 2017-02-22 21:50:33 +01:00
James Cole
aa3429bb0e New translations 2017-02-22 21:50:28 +01:00
James Cole
d88246f2f6 First code for #588 2017-02-22 21:40:27 +01:00
James Cole
201db34936 Update various sandstorm files. [skip ci] 2017-02-22 21:27:39 +01:00
James Cole
47709dfc7c Test catches some exceptions. 2017-02-22 20:35:31 +01:00
James Cole
2aaafc54ee Merge pull request #587 from Zsub/fix-tag-date
Fix saving a tag’s date
2017-02-22 20:21:25 +01:00
Joris de Vries
e211881691 Remove superfluous declaration of $date
The null check is already part of the `$this->date()` function and `$date` is never used.
2017-02-22 20:20:00 +01:00
Joris de Vries
0d32f16041 Fix saving a tag’s date
The `date` function takes the fieldname where a date is stored, not the literal date.
2017-02-22 20:07:30 +01:00
James Cole
2082e8d462 Small updates to read me [skip ci] 2017-02-22 17:58:57 +01:00
James Cole
bfc95cfc57 Update composer file. 2017-02-22 17:17:22 +01:00
James Cole
35aeb7e04a Update tag view 2017-02-22 17:15:54 +01:00
James Cole
adcddb09cd Updated link to installation guide. [skip ci] 2017-02-20 19:41:33 +01:00
James Cole
56199f899f Merge branch 'release/4.3.6' 2017-02-20 05:43:34 +01:00
James Cole
ca5c845064 Update to 4.3.6 2017-02-20 05:43:05 +01:00
James Cole
a8ac69f008 Fix #578 [skip ci] 2017-02-20 05:41:43 +01:00
James Cole
b9309bc7b1 Stop Travis from building weird branches. 2017-02-19 17:01:29 +01:00
953 changed files with 45336 additions and 24409 deletions

View File

@@ -41,6 +41,8 @@ SHOW_INCOMPLETE_TRANSLATIONS=false
CACHE_PREFIX=firefly
EXCHANGE_RATE_SERVICE=fixerio
GOOGLE_MAPS_API_KEY=
ANALYTICS_ID=
SITE_OWNER=mail@example.com

View File

@@ -3,6 +3,7 @@ APP_DEBUG=true
APP_FORCE_SSL=false
APP_FORCE_ROOT=
APP_KEY=TestTestTestTestTestTestTestTest
APP_LOG=daily
APP_LOG_LEVEL=debug
APP_URL=http://localhost
@@ -25,7 +26,7 @@ REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_DRIVER=log
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_FROM=changeme@example.com

View File

@@ -4,16 +4,12 @@
## Feature requests
If you are requesting a new feature, please check out the list of [often requested features](https://firefly-iii.github.io/requested-features/).
## Bugs
If you find a bug, please take the time and see if the [demo site](https://firefly-iii.nder.be/) is also suffering from this bug. Include as many log files and details as you think are necessary.
## Installation problems
Take the time to read the [installation guide FAQ](https://firefly-iii.github.io/installation-guide-faq/) and make sure you search through closed issues for the problems other people have had. Your problem may be among them!
I am always interested in expanding Firefly III's many features. If you are requesting a new feature, please check out the list of [often requested features](https://firefly-iii.github.io/requested-features/).
## Pull requests
I can only accept pull requests against the `develop` branch, never the `master` branch.
When contributing to Firefly III, please first discuss the change you wish to make via issue, email, or any other method. I can only accept pull requests against the `develop` branch, never the `master` branch.
## Translations :us: :fr: :de:
If you see a spelling error, grammatical error or a weird translation in your language, please join [our CrowdIn](https://crowdin.com/project/firefly-iii) project. There, you can submit your translations and fixes. The GitHub repository will download these automatically and they will be included in the next release.

11
.github/SUPPORT.md vendored Normal file
View File

@@ -0,0 +1,11 @@
# Welcome to Firefly III on Github!
:+1::tada: Thank you for taking the time to contribute something to Firefly III!
## Bugs
First of all: thank you for reporting a bug instead of ditching the tool altogether. If you find a bug, please take the time and see if the [demo site](https://firefly-iii.nder.be/) is also suffering from this bug. Include as many log files and details as you think are necessary. Bugs have a lot of priority!
## Installation problems
Please take the time to read the [installation guide FAQ](https://firefly-iii.github.io/installation-guide-faq/) and make sure you search through closed issues for the problems other people have had. Your problem may be among them! If not, open an issue and I will help where I can.

8
.gitignore vendored
View File

@@ -1,14 +1,8 @@
/node_modules
/public/storage
/vendor
/.idea
Homestead.json
Homestead.yaml
.env
_development
.env.local
result.html
test-import.sh
test-import-report.txt
public/google*.html
.env.backup
report.html

View File

@@ -232,27 +232,52 @@ opt/app/app/Console/Kernel.php
opt/app/app/Exceptions/Handler.php
opt/app/app/Generator/Chart/Basic/ChartJsGenerator.php
opt/app/app/Generator/Chart/Basic/GeneratorInterface.php
opt/app/app/Generator/Report/ReportGeneratorFactory.php
opt/app/app/Generator/Report/ReportGeneratorInterface.php
opt/app/app/Generator/Report/Standard/MonthReportGenerator.php
opt/app/app/Helpers/Attachments/AttachmentHelper.php
opt/app/app/Helpers/Attachments/AttachmentHelperInterface.php
opt/app/app/Helpers/Collection/Balance.php
opt/app/app/Helpers/Collection/BalanceEntry.php
opt/app/app/Helpers/Collection/BalanceHeader.php
opt/app/app/Helpers/Collection/BalanceLine.php
opt/app/app/Helpers/Collection/Bill.php
opt/app/app/Helpers/Collector/JournalCollector.php
opt/app/app/Helpers/Collector/JournalCollectorInterface.php
opt/app/app/Helpers/FiscalHelper.php
opt/app/app/Helpers/FiscalHelperInterface.php
opt/app/app/Helpers/Report/BalanceReportHelper.php
opt/app/app/Helpers/Report/BalanceReportHelperInterface.php
opt/app/app/Helpers/Report/BudgetReportHelper.php
opt/app/app/Helpers/Report/BudgetReportHelperInterface.php
opt/app/app/Helpers/Report/ReportHelper.php
opt/app/app/Helpers/Report/ReportHelperInterface.php
opt/app/app/Http/Controllers/AccountController.php
opt/app/app/Http/Controllers/Auth/LoginController.php
opt/app/app/Http/Controllers/BillController.php
opt/app/app/Http/Controllers/BudgetController.php
opt/app/app/Http/Controllers/CategoryController.php
opt/app/app/Http/Controllers/Chart/AccountController.php
opt/app/app/Http/Controllers/Chart/BudgetController.php
opt/app/app/Http/Controllers/Chart/CategoryController.php
opt/app/app/Http/Controllers/Controller.php
opt/app/app/Http/Controllers/HomeController.php
opt/app/app/Http/Controllers/ImportController.php
opt/app/app/Http/Controllers/JavascriptController.php
opt/app/app/Http/Controllers/JsonController.php
opt/app/app/Http/Controllers/NewUserController.php
opt/app/app/Http/Controllers/PiggyBankController.php
opt/app/app/Http/Controllers/ProfileController.php
opt/app/app/Http/Controllers/Report/AccountController.php
opt/app/app/Http/Controllers/Report/BalanceController.php
opt/app/app/Http/Controllers/Report/BudgetController.php
opt/app/app/Http/Controllers/Report/CategoryController.php
opt/app/app/Http/Controllers/Report/OperationsController.php
opt/app/app/Http/Controllers/ReportController.php
opt/app/app/Http/Controllers/RuleController.php
opt/app/app/Http/Controllers/TagController.php
opt/app/app/Http/Controllers/Transaction/SingleController.php
opt/app/app/Http/Controllers/TransactionController.php
opt/app/app/Http/Kernel.php
opt/app/app/Http/Middleware/Authenticate.php
opt/app/app/Http/Middleware/AuthenticateTwoFactor.php
@@ -263,10 +288,16 @@ opt/app/app/Http/Middleware/RedirectIfAuthenticated.php
opt/app/app/Http/Middleware/Sandstorm.php
opt/app/app/Http/Middleware/StartFireflySession.php
opt/app/app/Http/Middleware/VerifyCsrfToken.php
opt/app/app/Http/Requests/BudgetFormRequest.php
opt/app/app/Http/Requests/BudgetIncomeRequest.php
opt/app/app/Http/Requests/CategoryFormRequest.php
opt/app/app/Http/Requests/JournalFormRequest.php
opt/app/app/Http/Requests/NewUserFormRequest.php
opt/app/app/Http/Requests/PiggyBankFormRequest.php
opt/app/app/Http/Requests/ProfileFormRequest.php
opt/app/app/Http/Requests/ReportFormRequest.php
opt/app/app/Http/Requests/Request.php
opt/app/app/Http/Requests/TagFormRequest.php
opt/app/app/Http/breadcrumbs.php
opt/app/app/Jobs/Job.php
opt/app/app/Jobs/MailError.php
@@ -279,9 +310,15 @@ opt/app/app/Models/Budget.php
opt/app/app/Models/BudgetLimit.php
opt/app/app/Models/Category.php
opt/app/app/Models/Configuration.php
opt/app/app/Models/Note.php
opt/app/app/Models/PiggyBank.php
opt/app/app/Models/PiggyBankRepetition.php
opt/app/app/Models/Preference.php
opt/app/app/Models/Role.php
opt/app/app/Models/Rule.php
opt/app/app/Models/RuleAction.php
opt/app/app/Models/RuleGroup.php
opt/app/app/Models/RuleTrigger.php
opt/app/app/Models/Tag.php
opt/app/app/Models/Transaction.php
opt/app/app/Models/TransactionCurrency.php
@@ -317,14 +354,24 @@ opt/app/app/Repositories/Budget/BudgetRepository.php
opt/app/app/Repositories/Budget/BudgetRepositoryInterface.php
opt/app/app/Repositories/Category/CategoryRepository.php
opt/app/app/Repositories/Category/CategoryRepositoryInterface.php
opt/app/app/Repositories/Currency/CurrencyRepository.php
opt/app/app/Repositories/Currency/CurrencyRepositoryInterface.php
opt/app/app/Repositories/Journal/JournalRepository.php
opt/app/app/Repositories/Journal/JournalRepositoryInterface.php
opt/app/app/Repositories/PiggyBank/PiggyBankRepository.php
opt/app/app/Repositories/PiggyBank/PiggyBankRepositoryInterface.php
opt/app/app/Repositories/Rule/RuleRepository.php
opt/app/app/Repositories/Rule/RuleRepositoryInterface.php
opt/app/app/Repositories/RuleGroup/RuleGroupRepository.php
opt/app/app/Repositories/RuleGroup/RuleGroupRepositoryInterface.php
opt/app/app/Repositories/Tag/TagRepository.php
opt/app/app/Repositories/Tag/TagRepositoryInterface.php
opt/app/app/Repositories/User/UserRepository.php
opt/app/app/Repositories/User/UserRepositoryInterface.php
opt/app/app/Support/Amount.php
opt/app/app/Support/Binder/AccountList.php
opt/app/app/Support/Binder/BinderInterface.php
opt/app/app/Support/Binder/Date.php
opt/app/app/Support/CacheProperties.php
opt/app/app/Support/Domain.php
opt/app/app/Support/ExpandedForm.php
@@ -386,25 +433,40 @@ opt/app/database/seeds/PermissionSeeder.php
opt/app/database/seeds/TransactionCurrencySeeder.php
opt/app/database/seeds/TransactionTypeSeeder.php
opt/app/public/css/bootstrap-multiselect.css
opt/app/public/css/bootstrap-sortable.css
opt/app/public/css/bootstrap-tagsinput.css
opt/app/public/css/bootstrap-tour.min.css
opt/app/public/css/daterangepicker.css
opt/app/public/css/firefly.css
opt/app/public/css/jquery-ui/jquery-ui.structure.min.css
opt/app/public/css/jquery-ui/jquery-ui.theme.min.css
opt/app/public/favicon-16x16.png
opt/app/public/favicon-32x32.png
opt/app/public/index.php
opt/app/public/js/ff/accounts/edit.js
opt/app/public/js/ff/bills/create.js
opt/app/public/js/ff/budgets/index.js
opt/app/public/js/ff/categories/index.js
opt/app/public/js/ff/charts.defaults.js
opt/app/public/js/ff/charts.js
opt/app/public/js/ff/firefly.js
opt/app/public/js/ff/guest.js
opt/app/public/js/ff/help.js
opt/app/public/js/ff/index.js
opt/app/public/js/ff/piggy-banks/create.js
opt/app/public/js/ff/piggy-banks/index.js
opt/app/public/js/ff/reports/default/all.js
opt/app/public/js/ff/reports/default/month.js
opt/app/public/js/ff/reports/index.js
opt/app/public/js/ff/rules/index.js
opt/app/public/js/ff/tags/create-edit.js
opt/app/public/js/ff/tags/index.js
opt/app/public/js/ff/transactions/list.js
opt/app/public/js/ff/transactions/single/create.js
opt/app/public/js/lib/Chart.bundle.min.js
opt/app/public/js/lib/accounting.min.js
opt/app/public/js/lib/bootstrap-multiselect.js
opt/app/public/js/lib/bootstrap-sortable.js
opt/app/public/js/lib/bootstrap-tagsinput.min.js
opt/app/public/js/lib/bootstrap-tour.min.js
opt/app/public/js/lib/bootstrap3-typeahead.min.js
@@ -417,6 +479,7 @@ opt/app/public/lib/adminlte/css/AdminLTE.min.css
opt/app/public/lib/adminlte/css/skins/skin-blue-light.min.css
opt/app/public/lib/adminlte/js/app.min.js
opt/app/public/lib/bootstrap/css/bootstrap.min.css
opt/app/public/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2
opt/app/public/lib/bootstrap/js/bootstrap.min.js
opt/app/public/lib/font-awesome/css/font-awesome.min.css
opt/app/public/lib/font-awesome/fonts/fontawesome-webfont.woff2
@@ -425,9 +488,19 @@ opt/app/resources/lang/en_US/config.php
opt/app/resources/lang/en_US/firefly.php
opt/app/resources/lang/en_US/form.php
opt/app/resources/lang/en_US/help.php
opt/app/resources/lang/en_US/list.php
opt/app/resources/lang/en_US/validation.php
opt/app/resources/views/accounts/delete.twig
opt/app/resources/views/accounts/edit.twig
opt/app/resources/views/accounts/index.twig
opt/app/resources/views/auth/login.twig
opt/app/resources/views/bills/create.twig
opt/app/resources/views/bills/index.twig
opt/app/resources/views/budgets/create.twig
opt/app/resources/views/budgets/income.twig
opt/app/resources/views/budgets/index.twig
opt/app/resources/views/categories/create.twig
opt/app/resources/views/categories/index.twig
opt/app/resources/views/emails/error-html.twig
opt/app/resources/views/emails/error-text.twig
opt/app/resources/views/emails/footer-html.twig
@@ -437,18 +510,31 @@ opt/app/resources/views/emails/header-text.twig
opt/app/resources/views/error.twig
opt/app/resources/views/form/amount.twig
opt/app/resources/views/form/balance.twig
opt/app/resources/views/form/checkbox.twig
opt/app/resources/views/form/date.twig
opt/app/resources/views/form/feedback.twig
opt/app/resources/views/form/file.twig
opt/app/resources/views/form/help.twig
opt/app/resources/views/form/integer.twig
opt/app/resources/views/form/location.twig
opt/app/resources/views/form/multiRadio.twig
opt/app/resources/views/form/options.twig
opt/app/resources/views/form/select.twig
opt/app/resources/views/form/tags.twig
opt/app/resources/views/form/text.twig
opt/app/resources/views/form/textarea.twig
opt/app/resources/views/import/index.twig
opt/app/resources/views/index.twig
opt/app/resources/views/javascript/variables.twig
opt/app/resources/views/json/tour.twig
opt/app/resources/views/layout/default.twig
opt/app/resources/views/layout/guest.twig
opt/app/resources/views/list/accounts.twig
opt/app/resources/views/list/bills.twig
opt/app/resources/views/list/categories.twig
opt/app/resources/views/list/journals-tasker.twig
opt/app/resources/views/list/journals-tiny-tasker.twig
opt/app/resources/views/list/piggy-banks.twig
opt/app/resources/views/new-user/index.twig
opt/app/resources/views/partials/boxes.twig
opt/app/resources/views/partials/control-bar.twig
@@ -456,11 +542,25 @@ opt/app/resources/views/partials/favicons.twig
opt/app/resources/views/partials/flashes.twig
opt/app/resources/views/partials/menu-sidebar.twig
opt/app/resources/views/partials/page-header.twig
opt/app/resources/views/piggy-banks/create.twig
opt/app/resources/views/piggy-banks/index.twig
opt/app/resources/views/profile/change-password.twig
opt/app/resources/views/profile/delete-account.twig
opt/app/resources/views/profile/index.twig
opt/app/resources/views/reports/default/month.twig
opt/app/resources/views/reports/index.twig
opt/app/resources/views/reports/options/no-options.twig
opt/app/resources/views/reports/partials/accounts.twig
opt/app/resources/views/reports/partials/balance.twig
opt/app/resources/views/reports/partials/bills.twig
opt/app/resources/views/reports/partials/budgets.twig
opt/app/resources/views/reports/partials/categories.twig
opt/app/resources/views/reports/partials/income-expenses.twig
opt/app/resources/views/reports/partials/operations.twig
opt/app/resources/views/rules/index.twig
opt/app/resources/views/tags/create.twig
opt/app/resources/views/tags/index.twig
opt/app/resources/views/transactions/index.twig
opt/app/resources/views/transactions/single/create.twig
opt/app/routes/api.php
opt/app/routes/console.php
@@ -612,6 +712,7 @@ opt/app/vendor/laravel/framework/src/Illuminate/Contracts/Http/Kernel.php
opt/app/vendor/laravel/framework/src/Illuminate/Contracts/Logging/Log.php
opt/app/vendor/laravel/framework/src/Illuminate/Contracts/Mail/MailQueue.php
opt/app/vendor/laravel/framework/src/Illuminate/Contracts/Mail/Mailer.php
opt/app/vendor/laravel/framework/src/Illuminate/Contracts/Pagination/LengthAwarePaginator.php
opt/app/vendor/laravel/framework/src/Illuminate/Contracts/Pagination/Paginator.php
opt/app/vendor/laravel/framework/src/Illuminate/Contracts/Pipeline/Pipeline.php
opt/app/vendor/laravel/framework/src/Illuminate/Contracts/Queue/Factory.php
@@ -682,6 +783,8 @@ opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Conc
opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasMany.php
opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasManyThrough.php
opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php
opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/MorphMany.php
opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php
opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php
opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Scope.php
opt/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/SoftDeletes.php
@@ -808,8 +911,11 @@ opt/app/vendor/laravel/framework/src/Illuminate/Notifications/Notifiable.php
opt/app/vendor/laravel/framework/src/Illuminate/Notifications/NotificationServiceProvider.php
opt/app/vendor/laravel/framework/src/Illuminate/Notifications/RoutesNotifications.php
opt/app/vendor/laravel/framework/src/Illuminate/Pagination/AbstractPaginator.php
opt/app/vendor/laravel/framework/src/Illuminate/Pagination/LengthAwarePaginator.php
opt/app/vendor/laravel/framework/src/Illuminate/Pagination/PaginationServiceProvider.php
opt/app/vendor/laravel/framework/src/Illuminate/Pagination/Paginator.php
opt/app/vendor/laravel/framework/src/Illuminate/Pagination/UrlWindow.php
opt/app/vendor/laravel/framework/src/Illuminate/Pagination/resources/views/default.blade.php
opt/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
opt/app/vendor/laravel/framework/src/Illuminate/Pipeline/PipelineServiceProvider.php
opt/app/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php
@@ -884,12 +990,14 @@ opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/App.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Auth.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Cache.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Config.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Cookie.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Crypt.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/DB.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Event.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Gate.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Input.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Lang.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Log.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Mail.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Request.php
@@ -914,6 +1022,7 @@ opt/app/vendor/laravel/framework/src/Illuminate/Support/ViewErrorBag.php
opt/app/vendor/laravel/framework/src/Illuminate/Support/helpers.php
opt/app/vendor/laravel/framework/src/Illuminate/Translation/FileLoader.php
opt/app/vendor/laravel/framework/src/Illuminate/Translation/LoaderInterface.php
opt/app/vendor/laravel/framework/src/Illuminate/Translation/MessageSelector.php
opt/app/vendor/laravel/framework/src/Illuminate/Translation/TranslationServiceProvider.php
opt/app/vendor/laravel/framework/src/Illuminate/Translation/Translator.php
opt/app/vendor/laravel/framework/src/Illuminate/Validation/Concerns/FormatsMessages.php
@@ -1214,14 +1323,17 @@ opt/app/vendor/twig/twig/lib/Twig/Node/Expression.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Array.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/AssignName.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Add.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/And.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Concat.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Equal.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Greater.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Less.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mod.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Mul.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/NotEqual.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Or.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Sub.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Call.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Conditional.php
opt/app/vendor/twig/twig/lib/Twig/Node/Expression/Constant.php

View File

@@ -16,7 +16,7 @@ const pkgdef :Spk.PackageDefinition = (
manifest = (
appTitle = (defaultText = "Firefly III"),
appVersion = 1,
appMarketingVersion = (defaultText = "3.4.3"),
appMarketingVersion = (defaultText = "3.4.6"),
actions = [
# Define your "new document" handlers here.
( nounPhrase = (defaultText = "administration"),
@@ -97,7 +97,7 @@ const pkgdef :Spk.PackageDefinition = (
# `spk dev` will write a list of all the files your app uses to this file.
# You should review it later, before shipping your app.
alwaysInclude = [],
alwaysInclude = ["app","bootstrap","config","database","public","resources","routes"],
# Fill this list with more names of files or directories that should be
# included in your package, even if not listed in sandstorm-files.list.
# Use this to force-include stuff that you know you need but which may

View File

@@ -1,6 +1,5 @@
language: php
php:
- 7.0
- 7.1
cache:
@@ -9,7 +8,6 @@ cache:
- $HOME/.composer/cache
install:
- if [[ "$(php -v | grep 'PHP 7')" ]]; then phpenv config-rm xdebug.ini; fi
- rm composer.lock
- composer update --no-scripts
- cp .env.testing .env
@@ -17,7 +15,17 @@ install:
- php artisan optimize
- php artisan env
- cp .env.testing .env
- mv storage/database/databasecopy.sqlite storage/database/database.sqlite
- wget -q https://github.com/firefly-iii/test-data/raw/master/storage/database.sqlite -O storage/database/database.sqlite
- mkdir -p build/logs
script:
- phpunit
- phpunit -c phpunit.xml
#after_success:
# - travis_retry php vendor/bin/coveralls -x storage/build/clover.xml
# safelist
branches:
only:
- develop
- master

View File

@@ -2,6 +2,238 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [4.6.5] - 2017-09-09
### Added
- #616, The ability to link transactions
- #763, as suggested by @tannie
- #770, as suggested by @skibbipl
- #780, as suggested by @skibbipl
- #784, as suggested by @SmilingWorlock
- Lots of code for future support of automated Bunq imports
### Changed
- Rewrote the export routine
- #782, as suggested by @NiceGuyIT
- #800, as suggested by @jleeong
### Fixed
- #724, reported by @skibbipl
- #738, reported by @skibbipl
- #760, reported by @leander091
- #764, reported by @tannie
- #792, reported by @jleeong
- #793, reported by @nicoschreiner
- #797, reported by @leander091
- #801, reported by @pkoziol
- #803, reported by @pkoziol
- #805, reported by @pkoziol
- #806, reported by @pkoziol
- #807, reported by @pkoziol
- #808, reported by @pkoziol
- #809, reported by @pkoziol
- #814, reported by @nicoschreiner
- #818, reported by @gavu
- #819, reported by @DieBauer
- #820, reported by @simonsmiley
- Various other fixes
## [4.6.4] - 2017-08-13
### Added
- PHP7.1 support
- Routine to decrypt attachments from the command line, for issue #671
- A routine that can check if your password has been stolen in the past.
- Split transaction shows amount left to be split
### Changed
- Importer can (potentially) handle new import routines such as banks.
- Importer can fall back from JSON errors
### Deprecated
- Initial release.
### Removed
- PHP7.0 support
- Support for extended tag modes
- Remove "time jumps" to non-empty periods
### Fixed
- #717, reported by @NiceGuyIT
- #718, reported by @wtercato
- #722, reported by @simonsmiley
- #648, reported by @skibbipl
- #730, reported by @ragnarkarlsson
- #733, reported by @xpfgsyb
- #735, reported by @kristophr
- #739, reported by @skibbipl
- #515, reported by @schwalberich
- #743, reported by @simonsmiley
- #746, reported by @tannie
- #747, reported by @tannie
### Security
- Initial release.
## [4.6.3.1] - 2017-07-23
### Fixed
- Hotfix to close issue #715
## [4.6.3] - 2017-07-23
This will be the last release to support PHP 7.0.
### Added
- New guidelines and new introduction tour to aid new users.
- Rules can now be applied at will to transactions, not just rule groups.
### Changed
- Improved category overview.
- Improved budget overview.
- Improved budget report.
- Improved command line import responsiveness and speed.
- All code comparisons are now strict.
- Improve search page.
- Charts are easier to read thanks to @simonsmiley
- Fixed #708.
### Fixed
- Fixed bug where import would not respect default account. #694
- Fixed various broken paths
- Fixed several import inconsistencies.
- Various bug fixes.
### Security
- Initial release.
## [4.6.2] - 2017-07-08
### Added
- Links added to boxes, idea by @simonsmiley
### Fixed
- Various bugs in import routine
## [4.6.1] - 2017-07-02
### Fixed
- Fixed several small issues all around.
## [4.6.0] - 2017-06-28
### Changed
- Revamped import routine. Will be buggy.
### Fixed
- Issue #667, postgresql reported by @skibbipl.
- Issue #680 by @Xeli
- Fixed #660
- Fixes #672, reported by @dzaikos
- Translation error fixed by
- Fix a bug where the balance routine forgot to account for accounts without a currency preference.
- Various other bugfixes.
## [4.5.0] - 2017-06-07
### Added
- Better support for multi-currency transactions and display of transactions, accounts and everything. This requires a database overhaul (moving the currency information to specific transactions) so be careful when upgrading.
- Translations for Spanish and Slovenian.
- New interface for budget page, ~~stolen from~~ inspired by YNAB.
- Expanded Docker to work with postgresql as well, thanks to @kressh
### Fixed
- PostgreSQL support in database upgrade routine (#644, reported by @skibbipl)
- Frontpage budget chart was off, fix by @nhaarman
- Was not possible to remove opening balance.
## [4.4.3] - 2017-05-03
### Added
- Added support for Slovenian
- Removed support for Spanish. No translations whatsoever by the guy who requested it.
- Removed support for Russian. Same thing.
- Removed support for Croatian. Same thing.
- Removed support for Chinese Traditional, Hong Kong. Same thing.
### Changed
- The journal collector, an internal piece of code to collect transactions, now uses a slightly different method of collecting journals. This may cause problems.
### Fixed
- Issue #638 as reported by [worldworm](https://github.com/worldworm).
- Possible fix for #624
## [4.4.2] - 2017-04-27
### Fixed
- Fixed a bug where the opening balance could not be stored.
## [4.4.1] - 2017-04-27
### Added
- Support for deployment on Heroku
### Fixed
- Bug in new-user routine.
## [4.4.0] - 2017-04-23
### Added
- Firefly III can now handle foreign currencies better, including some code to get the exchange rate live from the web.
- Can now make rules for attachments, see #608, as suggested by dzaikos.
### Fixed
- Fixed #629, reported by forcaeluz
- Fixed #630, reported by welbert
- And more various bug fixes.
## [4.3.8] - 2017-04-08
### Added
- Better overview / show pages.
- #628, as reported by [xzaz](https://github.com/xzaz).
- Greatly expanded test coverage
### Fixed
- #619, as reported by [dfiel](https://github.com/dfiel).
- #620, as reported by [forcaeluz](https://github.com/forcaeluz).
- Attempt to fix #624, as reported by [TheSerenin](https://github.com/TheSerenin).
- Favicon link is relative now, fixed by [welbert](https://github.com/welbert).
- Some search bugs
## [4.3.7] - 2017-03-06
### Added
- Nice user friendly views for empty lists.
- Extended contribution guidelines.
- First version of financial report filtered on tags.
- Suggested monthly savings for piggy banks, by [Zsub](https://github.com/Zsub)
- Better test coverage.
### Changed
- Slightly changed tag overview.
- Consistent icon for bill in list.
- Slightly changed account overview.
### Removed
- Removed IDE specific views from .gitignore, issue #598
### Fixed
- Force key generation during installation.
- The `date` function takes the fieldname where a date is stored, not the literal date by [Zsub](https://github.com/Zsub)
- Improved budget frontpage chart, as suggested by [skibbipl](https://github.com/skibbipl)
- Issue #602 and #607, as reported by [skibbipl](https://github.com/skibbipl) and [dzaikos](https://github.com/dzaikos).
- Issue #605, as reported by [Zsub](https://github.com/Zsub).
- Issue #599, as reported by [leander091](https://github.com/leander091).
- Issue #610, as reported by [skibbipl](https://github.com/skibbipl).
- Issue #611, as reported by [ragnarkarlsson](https://github.com/ragnarkarlsson).
- Issue #612, as reported by [ragnarkarlsson](https://github.com/ragnarkarlsson).
- Issue #614, as reported by [worldworm](https://github.com/worldworm).
- Various other bug fixes.
## [4.3.6] - 2017-02-20
### Fixed
- #578, reported by [xpfgsyb](https://github.com/xpfgsyb).
## [4.3.5] - 2017-02-19
### Added
- Beta support for Sandstorm.IO
@@ -154,13 +386,6 @@ An intermediate release because something in the Twig and Twigbridge libraries i
- Updated all email messages.
- Made some fonts local
### Deprecated
- Initial release.
### Removed
- Initial release.
### Fixed
- Issue #408
- Various issues with split journals
@@ -169,11 +394,6 @@ An intermediate release because something in the Twig and Twigbridge libraries i
- Issue #422, thx [xzaz](https://github.com/xzaz)
- Various import bugs, such as #416 ([zjean](https://github.com/zjean))
### Security
- Initial release.
## [4.1.7] - 2016-11-19
### Added
- Check for database table presence in console commands.
@@ -296,15 +516,6 @@ An intermediate release because something in the Twig and Twigbridge libraries i
- New Presidents Choice specific to fix #307
- Added some trimming (#335)
### Changed
- Initial release.
### Deprecated
- Initial release.
### Removed
- Initial release.
### Fixed
- Fixed a bug where incoming transactions would not be properly filtered in several reports.
- #334 by [cyberkov](https://github.com/cyberkov)
@@ -312,12 +523,6 @@ An intermediate release because something in the Twig and Twigbridge libraries i
- #336
- #338 found by [roberthorlings](https://github.com/roberthorlings)
### Security
- Initial release.
## [4.0.0] - 2015-09-26
### Added
- Upgraded to Laravel 5.3, most other libraries upgraded as well.

46
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at thegrumpydictator@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

View File

@@ -11,39 +11,30 @@ RUN apt-get update -y && \
libtidy-dev \
libxml2-dev \
libsqlite3-dev \
libpq-dev \
libbz2-dev \
gettext-base \
locales && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install -j$(nproc) curl gd intl json mcrypt readline tidy zip bcmath xml mbstring pdo_sqlite pdo_mysql bz2
RUN docker-php-ext-install -j$(nproc) curl gd intl json mcrypt readline tidy zip bcmath xml mbstring pdo_sqlite pdo_mysql bz2 pdo_pgsql
# Generate locales supported by firefly
RUN echo "en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
COPY docker/apache2.conf /etc/apache2/apache2.conf
# Enable apache mod rewrite..
RUN a2enmod rewrite
# Setup the Composer installer
RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer && \
curl -o /tmp/composer-setup.sig https://composer.github.io/installer.sig && \
php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { unlink('/tmp/composer-setup.php'); echo 'Invalid installer' . PHP_EOL; exit(1); }" && \
chmod +x /tmp/composer-setup.php && \
php /tmp/composer-setup.php && \
mv composer.phar /usr/local/bin/composer && \
rm -f /tmp/composer-setup.{php,sig}
run curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
ADD . /var/www/firefly-iii
RUN chown -R www-data:www-data /var/www/
RUN cd /var/www && composer create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly-iii 4.6.4
COPY docker/entrypoint.sh /var/www/firefly-iii/docker/entrypoint.sh
ADD docker/apache-firefly.conf /etc/apache2/sites-available/000-default.conf
USER www-data
RUN chown -R www-data:www-data /var/www && chmod -R 775 /var/www/firefly-iii/storage
WORKDIR /var/www/firefly-iii
RUN composer install --no-scripts --no-dev
USER root
EXPOSE 80
ENTRYPOINT ["/var/www/firefly-iii/docker/entrypoint.sh"]

1
Procfile Normal file
View File

@@ -0,0 +1 @@
web: vendor/bin/heroku-php-nginx -C nginx_app.conf public/

View File

@@ -1,6 +1,6 @@
# Firefly III: A personal finances manager
[![Requires PHP7](https://img.shields.io/badge/php-7.0-red.svg)](https://secure.php.net/downloads.php#v7.0.4) [![Latest Stable Version](https://poser.pugx.org/grumpydictator/firefly-iii/v/stable)](https://packagist.org/packages/grumpydictator/firefly-iii) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/firefly-iii/firefly-iii/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/firefly-iii/firefly-iii/?branch=master) [![Build Status](https://travis-ci.org/firefly-iii/firefly-iii.svg?branch=master)](https://travis-ci.org/firefly-iii/firefly-iii) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=44UKUT455HUFA)
[![Requires PHP7.1](https://img.shields.io/badge/php-7.1-red.svg)](https://secure.php.net/downloads.php) [![Latest Stable Version](https://poser.pugx.org/grumpydictator/firefly-iii/v/stable)](https://packagist.org/packages/grumpydictator/firefly-iii) [![License](https://img.shields.io/badge/license-CC%20BY--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-sa/4.0/) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=44UKUT455HUFA)
[![The index of Firefly III](https://i.nder.be/hurdhgyg/400)](https://i.nder.be/h2b37243) [![The account overview of Firefly III](https://i.nder.be/hnkfkdpr/400)](https://i.nder.be/hv70pbwc)
@@ -10,11 +10,13 @@
## Try it out!
Try out Firefly III on the [demo site](https://firefly-iii.nder.be/).
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/firefly-iii/firefly-iii/tree/master)
## Installation
Firefly III can be run on Heroku. Register for a free Heroku account and instantly run Firefly III on your very own cloud instance. There is also a [demo site](https://firefly-iii.nder.be) with an example financial administration already present.
To install Firefly III, you'll need a web server (preferrably on Linux) and access to the command line. Then, please read the [installation guide](https://firefly-iii.github.io/installation-guide/).
## Getting started
To install Firefly III, you'll need a web server (preferrably on Linux) and access to the command line. Then, please read the [installation guide](https://firefly-iii.github.io/using-installing.html).
## More about Firefly III
@@ -22,7 +24,7 @@ Personal financial management is pretty difficult, and everybody has their own a
Firefly works on the principle that if you know where you're money is going, you can stop it from going there.
#### Some advantages of using Firefly
### Some advantages of using Firefly
- Firefly can import any CSV file, so migrating from other systems is easy.
- Firefly runs on your own server, so you are fully in control of your data. Remember, there is no such thing as "the cloud", its just somebody elses computer!
@@ -31,6 +33,27 @@ Firefly works on the principle that if you know where you're money is going, you
Firefly is pretty awesome. [You can read more about Firefly III, and its features, on the Github Pages](https://firefly-iii.github.io/).
### Contributing
Please read [CONTRIBUTING.md](https://github.com/firefly-iii/firefly-iii/blob/master/.github/CONTRIBUTING.md) for details on contributing, and the process for submitting pull requests. Please check out the [code of conduct](https://github.com/firefly-iii/firefly-iii/blob/master/CODE_OF_CONDUCT.md) as well.
### Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see [the tags](https://github.com/firefly-iii/firefly-iii/tags) on this repository.
### Authors
* James Cole
* Over time, [many people have contributed to Firefly III](https://github.com/firefly-iii/firefly-iii/graphs/contributors).
### License
This work [is licensed](https://github.com/firefly-iii/firefly-iii/blob/master/LICENSE) under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
### Other stuff
If you like Firefly and if it helps you save lots of money, why not send me [a dime for every dollar saved](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=44UKUT455HUFA) (this is a joke, although the Paypal form works just fine, try it!)
If you want to contact me, please open an issue or [email me](mailto:thegrumpydictator@gmail.com).
[![Build Status](https://travis-ci.org/firefly-iii/firefly-iii.svg?branch=master)](https://travis-ci.org/firefly-iii/firefly-iii) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/firefly-iii/firefly-iii/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/firefly-iii/firefly-iii/?branch=master) [![Coverage Status](https://coveralls.io/repos/github/firefly-iii/firefly-iii/badge.svg?branch=master)](https://coveralls.io/github/firefly-iii/firefly-iii?branch=master)

59
app.json Normal file
View File

@@ -0,0 +1,59 @@
{
"name": "Firefly III",
"description": "A free and open source personal finances manager",
"repository": "https://github.com/firefly-iii/firefly-iii",
"logo": "https://raw.githubusercontent.com/firefly-iii/firefly-iii/master/public/mstile-150x150.png",
"keywords": [
"finance",
"finances",
"manager",
"management",
"euro",
"dollar",
"laravel",
"money",
"currency",
"financials",
"financial",
"budgets",
"administration",
"tool",
"tooling",
"help",
"helper",
"assistant",
"planning",
"organizing",
"bills",
"personal finance",
"budgets",
"budgeting",
"budgeting tool",
"budgeting application",
"transactions",
"self hosted",
"self-hosted",
"transfers",
"management"
],
"website": "https://firefly-iii.github.io/",
"addons": [
{
"plan": "heroku-postgresql"
}
],
"scripts": {
"postdeploy": "export APP_KEY=$(php artisan --no-ansi key:generate --show)"
},
"buildpacks": [
{
"url": "heroku/php"
}
],
"env": {
"APP_KEY": {
"description": "This key is used to encrypt your data.",
"value": "base64:If1gJN4pyycXTq+WS5TjneDympKuu+8SKvTl6RZnhJg="
}
}
}

View File

@@ -1,63 +0,0 @@
<?php
/**
* ConfigureLogging.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types = 1);
namespace FireflyIII\Bootstrap;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Foundation\Bootstrap\ConfigureLogging as IlluminateConfigureLogging;
use Illuminate\Log\Writer;
/**
* Class ConfigureLogging
*
* @package FireflyIII\Bootstrap
*/
class ConfigureLogging extends IlluminateConfigureLogging
{
/**
* Configure the Monolog handlers for the application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @param \Illuminate\Log\Writer $log
*
* @return void
*/
protected function configureDailyHandler(Application $app, Writer $log)
{
$config = $app->make('config');
$maxFiles = $config->get('app.log_max_files');
$log->useDailyFiles(
$app->storagePath() . '/logs/firefly-iii.log', is_null($maxFiles) ? 5 : $maxFiles,
$config->get('app.log_level', 'debug')
);
}
/**
* Configure the Monolog handlers for the application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @param \Illuminate\Log\Writer $log
*
* @return void
*/
protected function configureSingleHandler(Application $app, Writer $log)
{
$log->useFiles(
$app->storagePath() . '/logs/firefly-iii.log',
$app->make('config')->get('app.log_level', 'debug')
);
}
}

View File

@@ -9,15 +9,19 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Console\Commands;
use Artisan;
use FireflyIII\Import\Logging\CommandHandler;
use FireflyIII\Import\Routine\ImportRoutine;
use FireflyIII\Repositories\ImportJob\ImportJobRepositoryInterface;
use FireflyIII\Repositories\User\UserRepositoryInterface;
use Illuminate\Console\Command;
use Illuminate\Support\MessageBag;
use Log;
use Monolog\Formatter\LineFormatter;
/**
* Class CreateImport
@@ -50,7 +54,10 @@ class CreateImport extends Command
}
/**
* Run the command.
*
* @SuppressWarnings(PHPMD.ExcessiveMethodLength) // cannot be helped
* @SuppressWarnings(PHPMD.CyclomaticComplexity) // it's five exactly.
*/
public function handle()
{
@@ -73,36 +80,63 @@ class CreateImport extends Command
return;
}
$this->info(sprintf('Going to create a job to import file: %s', $file));
$this->info(sprintf('Using configuration file: %s', $configuration));
$this->info(sprintf('Import into user: #%d (%s)', $user->id, $user->email));
$this->info(sprintf('Type of import: %s', $type));
$this->line(sprintf('Going to create a job to import file: %s', $file));
$this->line(sprintf('Using configuration file: %s', $configuration));
$this->line(sprintf('Import into user: #%d (%s)', $user->id, $user->email));
$this->line(sprintf('Type of import: %s', $type));
/** @var ImportJobRepositoryInterface $jobRepository */
$jobRepository = app(ImportJobRepositoryInterface::class);
$jobRepository->setUser($user);
$job = $jobRepository->create($type);
$this->line(sprintf('Created job "%s"...', $job->key));
$this->line(sprintf('Created job "%s"', $job->key));
Artisan::call('firefly:encrypt', ['file' => $file, 'key' => $job->key]);
Artisan::call('firefly:encrypt-file', ['file' => $file, 'key' => $job->key]);
$this->line('Stored import data...');
$job->configuration = $configurationData;
$job->status = 'settings_complete';
$job->status = 'configured';
$job->save();
$this->line('Stored configuration...');
if ($this->option('start') === true) {
$this->line('The import will start in a moment. This process is not visible...');
Log::debug('Go for import!');
Artisan::call('firefly:start-import', ['key' => $job->key]);
$this->line('Done!');
// normally would refer to other firefly:start-import but that doesn't seem to work all to well...
$monolog = Log::getMonolog();
$handler = new CommandHandler($this);
$formatter = new LineFormatter(null, null, false, true);
$handler->setFormatter($formatter);
$monolog->pushHandler($handler);
// start the actual routine:
/** @var ImportRoutine $routine */
$routine = app(ImportRoutine::class);
$routine->setJob($job);
$routine->run();
// give feedback.
/** @var MessageBag $error */
foreach ($routine->errors as $index => $error) {
$this->error(sprintf('Error importing line #%d: %s', $index, $error));
}
$this->line(
sprintf('The import has finished. %d transactions have been imported out of %d records.', $routine->journals->count(), $routine->lines)
);
}
return;
}
/**
* Verify user inserts correct arguments.
*
* @return bool
* @SuppressWarnings(PHPMD.CyclomaticComplexity) // it's five exactly.
*/

View File

@@ -0,0 +1,104 @@
<?php
/**
* DecryptAttachment.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Console\Commands;
use FireflyIII\Repositories\Attachment\AttachmentRepositoryInterface;
use Illuminate\Console\Command;
use Log;
/**
* Class DecryptAttachment
*
* @package FireflyIII\Console\Commands
*/
class DecryptAttachment extends Command
{
/**
* The console command description.
*
* @var string
*/
protected $description = 'Decrypts an attachment and dumps the content in a file in the given directory.';
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature
= 'firefly:decrypt-attachment {id:The ID of the attachment.} {name:The file name of the attachment.}
{directory:Where the file must be stored.}';
/**
* Create a new command instance.
*
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*/
public function handle()
{
/** @var AttachmentRepositoryInterface $repository */
$repository = app(AttachmentRepositoryInterface::class);
$attachmentId = intval($this->argument('id'));
$attachment = $repository->findWithoutUser($attachmentId);
$attachmentName = trim($this->argument('name'));
$storagePath = realpath(trim($this->argument('directory')));
if (is_null($attachment->id)) {
$this->error(sprintf('No attachment with id #%d', $attachmentId));
Log::error(sprintf('DecryptAttachment: No attachment with id #%d', $attachmentId));
return;
}
if ($attachmentName !== $attachment->filename) {
$this->error('File name does not match.');
Log::error('DecryptAttachment: File name does not match.');
return;
}
if (!is_dir($storagePath)) {
$this->error(sprintf('Path "%s" is not a directory.', $storagePath));
Log::error(sprintf('DecryptAttachment: Path "%s" is not a directory.', $storagePath));
return;
}
if (!is_writable($storagePath)) {
$this->error(sprintf('Path "%s" is not writable.', $storagePath));
Log::error(sprintf('DecryptAttachment: Path "%s" is not writable.', $storagePath));
return;
}
$fullPath = $storagePath . DIRECTORY_SEPARATOR . $attachment->filename;
$content = $repository->getContent($attachment);
$this->line(sprintf('Going to write content for attachment #%d into file "%s"', $attachment->id, $fullPath));
$result = file_put_contents($fullPath, $content);
if ($result === false) {
$this->error('Could not write to file.');
return;
}
$this->info(sprintf('%d bytes written. Exiting now..', $result));
return;
}
}

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Console\Commands;

View File

@@ -9,16 +9,15 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Console\Commands;
use FireflyIII\Import\ImportProcedure;
use FireflyIII\Import\Logging\CommandHandler;
use FireflyIII\Import\Routine\ImportRoutine;
use FireflyIII\Models\ImportJob;
use FireflyIII\Models\TransactionJournal;
use Illuminate\Console\Command;
use Illuminate\Support\Collection;
use Illuminate\Support\MessageBag;
use Log;
/**
@@ -52,13 +51,18 @@ class Import extends Command
}
/**
*
* Run the import routine.
*/
public function handle()
{
Log::debug('Start start-import command');
$jobKey = $this->argument('key');
$job = ImportJob::whereKey($jobKey)->first();
$job = ImportJob::where('key', $jobKey)->first();
if (is_null($job)) {
$this->error(sprintf('No job found with key "%s"', $jobKey));
return;
}
if (!$this->isValid($job)) {
Log::error('Job is not valid for some reason. Exit.');
@@ -70,20 +74,25 @@ class Import extends Command
$monolog = Log::getMonolog();
$handler = new CommandHandler($this);
$monolog->pushHandler($handler);
$importProcedure = new ImportProcedure;
$result = $importProcedure->runImport($job);
// display result to user:
$this->presentResults($result);
$this->line('The import has completed.');
/** @var ImportRoutine $routine */
$routine = app(ImportRoutine::class);
$routine->setJob($job);
$routine->run();
// get any errors from the importer:
$this->presentErrors($job);
/** @var MessageBag $error */
foreach ($routine->errors as $index => $error) {
$this->error(sprintf('Error importing line #%d: %s', $index, $error));
}
$this->line(sprintf('The import has finished. %d transactions have been imported out of %d records.', $routine->journals->count(), $routine->lines));
return;
}
/**
* Check if job is valid to be imported.
*
* @param ImportJob $job
*
* @return bool
@@ -91,12 +100,14 @@ class Import extends Command
private function isValid(ImportJob $job): bool
{
if (is_null($job)) {
Log::error('This job does not seem to exist.');
$this->error('This job does not seem to exist.');
return false;
}
if ($job->status != 'settings_complete') {
if ($job->status !== 'configured') {
Log::error(sprintf('This job is not ready to be imported (status is %s).', $job->status));
$this->error('This job is not ready to be imported.');
return false;
@@ -104,36 +115,4 @@ class Import extends Command
return true;
}
/**
* @param ImportJob $job
*/
private function presentErrors(ImportJob $job)
{
$extendedStatus = $job->extended_status;
if (isset($extendedStatus['errors']) && count($extendedStatus['errors']) > 0) {
$this->line(sprintf('The following %d error(s) occured during the import:', count($extendedStatus['errors'])));
foreach ($extendedStatus['errors'] as $error) {
$this->error($error);
}
}
}
/**
* @param Collection $result
*/
private function presentResults(Collection $result)
{
/**
* @var int $index
* @var TransactionJournal $journal
*/
foreach ($result as $index => $journal) {
if (!is_null($journal->id)) {
$this->line(sprintf('Line #%d has been imported as transaction #%d.', $index, $journal->id));
continue;
}
$this->error(sprintf('Could not store line #%d', $index));
}
}
}

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Console\Commands;

View File

@@ -9,24 +9,34 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Console\Commands;
use DB;
use FireflyIII\Models\Account;
use FireflyIII\Models\AccountMeta;
use FireflyIII\Models\AccountType;
use FireflyIII\Models\BudgetLimit;
use FireflyIII\Models\LimitRepetition;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionCurrency;
use FireflyIII\Models\TransactionJournal;
use FireflyIII\Models\TransactionType;
use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface;
use Illuminate\Console\Command;
use Illuminate\Database\QueryException;
use Illuminate\Support\Collection;
use Log;
use Preferences;
use Schema;
/**
* Class UpgradeDatabase
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) // it just touches a lot of things.
*
* @package FireflyIII\Console\Commands
*/
class UpgradeDatabase extends Command
@@ -60,19 +70,26 @@ class UpgradeDatabase extends Command
{
$this->setTransactionIdentifier();
$this->migrateRepetitions();
$this->updateAccountCurrencies();
$this->line('Updating currency information..');
$this->updateTransferCurrencies();
$this->updateOtherCurrencies();
$this->info('Firefly III database is up to date.');
return;
}
private function migrateRepetitions()
/**
* Migrate budget repetitions to new format where the end date is in the budget limit as well,
* making the limit_repetition table obsolete.
*/
public function migrateRepetitions(): void
{
if (!Schema::hasTable('budget_limits')) {
return;
}
// get all budget limits with end_date NULL
$set = BudgetLimit::whereNull('end_date')->get();
$this->line(sprintf('Found %d budget limit(s) to update', $set->count()));
/** @var BudgetLimit $budgetLimit */
foreach ($set as $budgetLimit) {
// get limit repetition (should be just one):
/** @var LimitRepetition $repetition */
$repetition = $budgetLimit->limitrepetitions()->first();
if (!is_null($repetition)) {
@@ -82,25 +99,30 @@ class UpgradeDatabase extends Command
$repetition->delete();
}
}
return;
}
/**
* This is strangely complex, because the HAVING modifier is a no-no. And subqueries in Laravel are weird.
* This method gives all transactions which are part of a split journal (so more than 2) a sort of "order" so they are easier
* to easier to match to their counterpart. When a journal is split, it has two or three transactions: -3, -4 and -5 for example.
*
* In the database this is reflected as 6 transactions: -3/+3, -4/+4, -5/+5.
*
* When either of these are the same amount, FF3 can't keep them apart: +3/-3, +3/-3, +3/-3. This happens more often than you would
* think. So each set gets a number (1,2,3) to keep them apart.
*/
private function setTransactionIdentifier()
public function setTransactionIdentifier(): void
{
// if table does not exist, return false
if (!Schema::hasTable('transaction_journals')) {
return;
}
$subQuery = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id')
->whereNull('transaction_journals.deleted_at')
->whereNull('transactions.deleted_at')
->groupBy(['transaction_journals.id'])
->select(['transaction_journals.id', DB::raw('COUNT(transactions.id) AS t_count')]);
$subQuery = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id')
->whereNull('transaction_journals.deleted_at')
->whereNull('transactions.deleted_at')
->groupBy(['transaction_journals.id'])
->select(['transaction_journals.id', DB::raw('COUNT(transactions.id) AS t_count')]);
$result = DB::table(DB::raw('(' . $subQuery->toSql() . ') AS derived'))
->mergeBindings($subQuery->getQuery())
->where('t_count', '>', 2)
@@ -108,8 +130,172 @@ class UpgradeDatabase extends Command
$journalIds = array_unique($result->pluck('id')->toArray());
foreach ($journalIds as $journalId) {
$this->updateJournal(intval($journalId));
$this->updateJournalidentifiers(intval($journalId));
}
return;
}
/**
* Each (asset) account must have a reference to a preferred currency. If the account does not have one, it's forced upon the account.
*/
public function updateAccountCurrencies(): void
{
$accounts = Account::leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
->whereIn('account_types.type', [AccountType::DEFAULT, AccountType::ASSET])->get(['accounts.*']);
$accounts->each(
function (Account $account) {
// get users preference, fall back to system pref.
$defaultCurrencyCode = Preferences::getForUser($account->user, 'currencyPreference', config('firefly.default_currency', 'EUR'))->data;
$defaultCurrency = TransactionCurrency::where('code', $defaultCurrencyCode)->first();
$accountCurrency = intval($account->getMeta('currency_id'));
$openingBalance = $account->getOpeningBalance();
$obCurrency = intval($openingBalance->transaction_currency_id);
// both 0? set to default currency:
if ($accountCurrency === 0 && $obCurrency === 0) {
AccountMeta::create(['account_id' => $account->id, 'name' => 'currency_id', 'data' => $defaultCurrency->id]);
$this->line(sprintf('Account #%d ("%s") now has a currency setting (%s).', $account->id, $account->name, $defaultCurrencyCode));
return true;
}
// account is set to 0, opening balance is not?
if ($accountCurrency === 0 && $obCurrency > 0) {
AccountMeta::create(['account_id' => $account->id, 'name' => 'currency_id', 'data' => $obCurrency]);
$this->line(sprintf('Account #%d ("%s") now has a currency setting (%s).', $account->id, $account->name, $defaultCurrencyCode));
return true;
}
// do not match and opening balance id is not null.
if ($accountCurrency !== $obCurrency && $openingBalance->id > 0) {
// update opening balance:
$openingBalance->transaction_currency_id = $accountCurrency;
$openingBalance->save();
$this->line(sprintf('Account #%d ("%s") now has a correct currency for opening balance.', $account->id, $account->name));
return true;
}
return true;
}
);
return;
}
/**
* This routine verifies that withdrawals, deposits and opening balances have the correct currency settings for
* the accounts they are linked to.
*
* Both source and destination must match the respective currency preference of the related asset account.
* So FF3 must verify all transactions.
*/
public function updateOtherCurrencies(): void
{
/** @var CurrencyRepositoryInterface $repository */
$repository = app(CurrencyRepositoryInterface::class);
$set = TransactionJournal
::leftJoin('transaction_types', 'transaction_types.id', '=', 'transaction_journals.transaction_type_id')
->whereIn('transaction_types.type', [TransactionType::WITHDRAWAL, TransactionType::DEPOSIT, TransactionType::OPENING_BALANCE])
->get(['transaction_journals.*']);
$set->each(
function (TransactionJournal $journal) use ($repository) {
// get the transaction with the asset account in it:
/** @var Transaction $transaction */
$transaction = $journal->transactions()
->leftJoin('accounts', 'accounts.id', '=', 'transactions.account_id')
->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
->whereIn('account_types.type', [AccountType::DEFAULT, AccountType::ASSET])->first(['transactions.*']);
/** @var Account $account */
$account = $transaction->account;
$currency = $repository->find(intval($account->getMeta('currency_id')));
$transactions = $journal->transactions()->get();
$transactions->each(
function (Transaction $transaction) use ($currency) {
if (is_null($transaction->transaction_currency_id)) {
$transaction->transaction_currency_id = $currency->id;
$transaction->save();
}
// when mismatch in transaction:
if ($transaction->transaction_currency_id !== $currency->id) {
$transaction->foreign_currency_id = $transaction->transaction_currency_id;
$transaction->foreign_amount = $transaction->amount;
$transaction->transaction_currency_id = $currency->id;
$transaction->save();
}
}
);
// also update the journal, of course:
$journal->transaction_currency_id = $currency->id;
$journal->save();
}
);
return;
}
/**
* This routine verifies that transfers have the correct currency settings for the accounts they are linked to.
* For transfers, this is can be a destructive routine since we FORCE them into a currency setting whether they
* like it or not. Previous routines MUST have set the currency setting for both accounts for this to work.
*
* A transfer always has the
*
* Both source and destination must match the respective currency preference. So FF3 must verify ALL
* transactions.
*/
public function updateTransferCurrencies()
{
$set = TransactionJournal
::leftJoin('transaction_types', 'transaction_types.id', '=', 'transaction_journals.transaction_type_id')
->where('transaction_types.type', TransactionType::TRANSFER)
->get(['transaction_journals.*']);
$set->each(
function (TransactionJournal $transfer) {
// select all "source" transactions:
/** @var Collection $transactions */
$transactions = $transfer->transactions()->where('amount', '<', 0)->get();
$transactions->each(
function (Transaction $transaction) {
$this->updateTransactionCurrency($transaction);
$this->updateJournalCurrency($transaction);
}
);
}
);
}
/**
* This method makes sure that the transaction journal uses the currency given in the transaction.
*
* @param Transaction $transaction
*/
private function updateJournalCurrency(Transaction $transaction): void
{
/** @var CurrencyRepositoryInterface $repository */
$repository = app(CurrencyRepositoryInterface::class);
$currency = $repository->find(intval($transaction->account->getMeta('currency_id')));
$journal = $transaction->transactionJournal;
if (!(intval($currency->id) === intval($journal->transaction_currency_id))) {
$this->line(
sprintf(
'Transfer #%d ("%s") has been updated to use %s instead of %s.', $journal->id, $journal->description, $currency->code,
$journal->transactionCurrency->code
)
);
$journal->transaction_currency_id = $currency->id;
$journal->save();
}
return;
}
/**
@@ -118,7 +304,7 @@ class UpgradeDatabase extends Command
*
* @param int $journalId
*/
private function updateJournal(int $journalId)
private function updateJournalidentifiers(int $journalId): void
{
$identifier = 0;
$processed = [];
@@ -146,14 +332,128 @@ class UpgradeDatabase extends Command
if (!is_null($opposing)) {
// give both a new identifier:
$transaction->identifier = $identifier;
$opposing->identifier = $identifier;
$transaction->save();
$opposing->identifier = $identifier;
$opposing->save();
$processed[] = $transaction->id;
$processed[] = $opposing->id;
$this->line(sprintf('Database upgrade for journal #%d, transactions #%d and #%d', $journalId, $transaction->id, $opposing->id));
}
$identifier++;
}
return;
}
/**
* This method makes sure that the tranaction uses the same currency as the source account does.
* If not, the currency is updated to include a reference to its original currency as the "foreign" currency.
*
* The transaction that is sent to this function MUST be the source transaction (amount negative).
*
* @param Transaction $transaction
*/
private function updateTransactionCurrency(Transaction $transaction): void
{
/** @var CurrencyRepositoryInterface $repository */
$repository = app(CurrencyRepositoryInterface::class);
$currency = $repository->find(intval($transaction->account->getMeta('currency_id')));
// has no currency ID? Must have, so fill in using account preference:
if (is_null($transaction->transaction_currency_id)) {
$transaction->transaction_currency_id = $currency->id;
Log::debug(sprintf('Transaction #%d has no currency setting, now set to %s', $transaction->id, $currency->code));
$transaction->save();
}
// does not match the source account (see above)? Can be fixed
// when mismatch in transaction and NO foreign amount is set:
if ($transaction->transaction_currency_id !== $currency->id && is_null($transaction->foreign_amount)) {
Log::debug(
sprintf(
'Transaction #%d has a currency setting (#%d) that should be #%d. Amount remains %s, currency is changed.', $transaction->id,
$transaction->transaction_currency_id, $currency->id, $transaction->amount
)
);
$transaction->transaction_currency_id = $currency->id;
$transaction->save();
}
// grab opposing transaction:
/** @var TransactionJournal $journal */
$journal = $transaction->transactionJournal;
/** @var Transaction $opposing */
$opposing = $journal->transactions()->where('amount', '>', 0)->where('identifier', $transaction->identifier)->first();
$opposingCurrency = $repository->find(intval($opposing->account->getMeta('currency_id')));
if (is_null($opposingCurrency->id)) {
Log::error(sprintf('Account #%d ("%s") must have currency preference but has none.', $opposing->account->id, $opposing->account->name));
return;
}
// if the destination account currency is the same, both foreign_amount and foreign_currency_id must be NULL for both transactions:
if ($opposingCurrency->id === $currency->id) {
// update both transactions to match:
$transaction->foreign_amount = null;
$transaction->foreign_currency_id = null;
$opposing->foreign_amount = null;
$opposing->foreign_currency_id = null;
$opposing->transaction_currency_id = $currency->id;
$transaction->save();
$opposing->save();
Log::debug(sprintf('Cleaned up transaction #%d and #%d', $transaction->id, $opposing->id));
return;
}
// if destination account currency is different, both transactions must have this currency as foreign currency id.
if ($opposingCurrency->id !== $currency->id) {
$transaction->foreign_currency_id = $opposingCurrency->id;
$opposing->foreign_currency_id = $opposingCurrency->id;
$transaction->save();
$opposing->save();
Log::debug(sprintf('Verified foreign currency ID of transaction #%d and #%d', $transaction->id, $opposing->id));
}
// if foreign amount of one is null and the other is not, use this to restore:
if (is_null($transaction->foreign_amount) && !is_null($opposing->foreign_amount)) {
$transaction->foreign_amount = bcmul(strval($opposing->foreign_amount), '-1');
$transaction->save();
Log::debug(sprintf('Restored foreign amount of transaction (1) #%d to %s', $transaction->id, $transaction->foreign_amount));
}
// if foreign amount of one is null and the other is not, use this to restore (other way around)
if (is_null($opposing->foreign_amount) && !is_null($transaction->foreign_amount)) {
$opposing->foreign_amount = bcmul(strval($transaction->foreign_amount), '-1');
$opposing->save();
Log::debug(sprintf('Restored foreign amount of transaction (2) #%d to %s', $opposing->id, $opposing->foreign_amount));
}
// when both are zero, try to grab it from journal:
if (is_null($opposing->foreign_amount) && is_null($transaction->foreign_amount)) {
$foreignAmount = $journal->getMeta('foreign_amount');
if (is_null($foreignAmount)) {
Log::debug(sprintf('Journal #%d has missing foreign currency data, forced to do 1:1 conversion :(.', $transaction->transaction_journal_id));
$transaction->foreign_amount = bcmul(strval($transaction->amount), '-1');
$opposing->foreign_amount = bcmul(strval($opposing->amount), '-1');
$transaction->save();
$opposing->save();
return;
}
$foreignPositive = app('steam')->positive(strval($foreignAmount));
Log::debug(
sprintf(
'Journal #%d has missing foreign currency info, try to restore from meta-data ("%s").', $transaction->transaction_journal_id, $foreignAmount
)
);
$transaction->foreign_amount = bcmul($foreignPositive, '-1');
$opposing->foreign_amount = $foreignPositive;
$transaction->save();
$opposing->save();
}
return;
}
}

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Console\Commands;
@@ -50,10 +50,10 @@ class UpgradeFireflyInstructions extends Command
public function handle()
{
if ($this->argument('task') == 'update') {
if ($this->argument('task') === 'update') {
$this->updateInstructions();
}
if ($this->argument('task') == 'install') {
if ($this->argument('task') === 'install') {
$this->installInstructions();
}
}
@@ -84,6 +84,9 @@ class UpgradeFireflyInstructions extends Command
}
}
/**
* Render instructions.
*/
private function installInstructions()
{
/** @var string $version */
@@ -102,7 +105,7 @@ class UpgradeFireflyInstructions extends Command
$this->boxed('');
if (is_null($text)) {
$this->boxed(sprintf('Thank you for installin Firefly III, v%s!', $version));
$this->boxed(sprintf('Thank you for installing Firefly III, v%s!', $version));
$this->boxedInfo('There are no extra installation instructions.');
$this->boxed('Firefly III should be ready for use.');
$this->boxed('');
@@ -131,6 +134,9 @@ class UpgradeFireflyInstructions extends Command
}
/**
* Render upgrade instructions.
*/
private function updateInstructions()
{
/** @var string $version */

View File

@@ -1,10 +1,34 @@
<?php
/**
* UseEncryption.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
/**
* UseEncryption.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace FireflyIII\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Str;
/**
* Class UseEncryption
*
* @package FireflyIII\Console\Commands
*/
class UseEncryption extends Command
{
/**
@@ -34,7 +58,6 @@ class UseEncryption extends Command
*/
public function handle()
{
//
$this->handleObjects('Account', 'name', 'encrypted');
$this->handleObjects('Bill', 'name', 'name_encrypted');
$this->handleObjects('Bill', 'match', 'match_encrypted');
@@ -45,6 +68,8 @@ class UseEncryption extends Command
}
/**
* Run each object and encrypt them (or not).
*
* @param string $class
* @param string $field
* @param string $indicator

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Console\Commands;
@@ -17,6 +17,7 @@ use Crypt;
use FireflyIII\Models\Account;
use FireflyIII\Models\AccountType;
use FireflyIII\Models\Budget;
use FireflyIII\Models\PiggyBankEvent;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionJournal;
use FireflyIII\Models\TransactionType;
@@ -93,6 +94,41 @@ class VerifyDatabase extends Command
// report on journals with the wrong types of accounts.
$this->reportIncorrectJournals();
// report (and fix) piggy banks
$this->repairPiggyBanks();
}
/**
* Make sure there are only transfers linked to piggy bank events.
*/
private function repairPiggyBanks(): void
{
$set = PiggyBankEvent::with(['PiggyBank', 'TransactionJournal', 'TransactionJournal.TransactionType'])->get();
$set->each(
function (PiggyBankEvent $event) {
if (is_null($event->transaction_journal_id)) {
return true;
}
/** @var TransactionJournal $journal */
$journal = $event->transactionJournal()->first();
if (is_null($journal)) {
return true;
}
$type = $journal->transactionType->type;
if ($type !== TransactionType::TRANSFER) {
$event->transaction_journal_id = null;
$event->save();
$this->line(sprintf('Piggy bank #%d was referenced by an invalid event. This has been fixed.', $event->piggy_bank_id));
}
return true;
}
);
return;
}
/**
@@ -131,7 +167,7 @@ class VerifyDatabase extends Command
/** @var Budget $entry */
foreach ($set as $entry) {
$line = sprintf(
'Notice: User #%d (%s) has budget #%d ("%s") which has no budget limits.',
'User #%d (%s) has budget #%d ("%s") which has no budget limits.',
$entry->user_id, $entry->email, $entry->id, $entry->name
);
$this->line($line);
@@ -168,6 +204,9 @@ class VerifyDatabase extends Command
}
}
/**
* Report on journals with bad account types linked to them.
*/
private function reportIncorrectJournals()
{
$configuration = [
@@ -234,7 +273,7 @@ class VerifyDatabase extends Command
}
/**
*
* Report on journals without transactions.
*/
private function reportNoTransactions()
{
@@ -252,13 +291,15 @@ class VerifyDatabase extends Command
}
/**
* Report on things with no linked journals.
*
* @param string $name
*/
private function reportObject(string $name)
{
$plural = str_plural($name);
$class = sprintf('FireflyIII\Models\%s', ucfirst($name));
$field = $name == 'tag' ? 'tag' : 'name';
$field = $name === 'tag' ? 'tag' : 'name';
$set = $class::leftJoin($name . '_transaction_journal', $plural . '.id', '=', $name . '_transaction_journal.' . $name . '_id')
->leftJoin('users', $plural . '.user_id', '=', 'users.id')
->distinct()
@@ -277,7 +318,7 @@ class VerifyDatabase extends Command
}
$line = sprintf(
'Notice: User #%d (%s) has %s #%d ("%s") which has no transactions.',
'User #%d (%s) has %s #%d ("%s") which has no transactions.',
$entry->user_id, $entry->email, $name, $entry->id, $objName
);
$this->line($line);
@@ -323,7 +364,7 @@ class VerifyDatabase extends Command
}
/**
*
* Report on transfers that have budgets.
*/
private function reportTransfersBudgets()
{

View File

@@ -9,11 +9,12 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Console;
use FireflyIII\Console\Commands\CreateImport;
use FireflyIII\Console\Commands\DecryptAttachment;
use FireflyIII\Console\Commands\EncryptFile;
use FireflyIII\Console\Commands\Import;
use FireflyIII\Console\Commands\ScanAttachments;
@@ -41,7 +42,6 @@ class Kernel extends ConsoleKernel
= [
'Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables',
'Illuminate\Foundation\Bootstrap\LoadConfiguration',
//'FireflyIII\Bootstrap\ConfigureLogging',
'Illuminate\Foundation\Bootstrap\HandleExceptions',
'Illuminate\Foundation\Bootstrap\RegisterFacades',
'Illuminate\Foundation\Bootstrap\SetRequestForConsole',
@@ -64,6 +64,7 @@ class Kernel extends ConsoleKernel
ScanAttachments::class,
UpgradeDatabase::class,
UseEncryption::class,
DecryptAttachment::class,
];
/**

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Events;
/**

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Events;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Events;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Events;
@@ -26,7 +26,9 @@ class StoredTransactionJournal extends Event
use SerializesModels;
/** @var TransactionJournal */
public $journal;
/** @var int */
public $piggyBankId;
/**

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Events;
@@ -26,6 +26,7 @@ class UpdatedTransactionJournal extends Event
use SerializesModels;
/** @var TransactionJournal */
public $journal;
/**

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Exceptions;

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Exceptions;
use ErrorException;
@@ -97,6 +98,7 @@ class Handler extends ExceptionHandler
'file' => $exception->getFile(),
'line' => $exception->getLine(),
'code' => $exception->getCode(),
'version' => config('firefly.version'),
];
// create job that will mail.

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Exceptions;

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Exceptions;
/**

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Collector;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Collector;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Collector;

View File

@@ -9,12 +9,11 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Collector;
use Carbon\Carbon;
use Crypt;
use DB;
use FireflyIII\Models\Transaction;
use Illuminate\Database\Query\JoinClause;
@@ -304,7 +303,7 @@ class JournalExportCollector extends BasicCollector implements CollectorInterfac
->leftJoin('accounts', 'transactions.account_id', '=', 'accounts.id')
->leftJoin('accounts AS opposing_accounts', 'opposing.account_id', '=', 'opposing_accounts.id')
->leftJoin('transaction_types', 'transaction_journals.transaction_type_id', 'transaction_types.id')
->leftJoin('transaction_currencies', 'transaction_journals.transaction_currency_id', '=', 'transaction_currencies.id')
->leftJoin('transaction_currencies', 'transactions.transaction_currency_id', '=', 'transaction_currencies.id')
->whereIn('transactions.account_id', $accountIds)
->where('transaction_journals.user_id', $this->job->user_id)
->where('transaction_journals.date', '>=', $this->start->format('Y-m-d'))
@@ -339,7 +338,7 @@ class JournalExportCollector extends BasicCollector implements CollectorInterfac
'transaction_journals.encrypted as journal_encrypted',
'transaction_journals.transaction_type_id',
'transaction_types.type as transaction_type',
'transaction_journals.transaction_currency_id',
'transactions.transaction_currency_id',
'transaction_currencies.code AS transaction_currency_code',
]

View File

@@ -9,12 +9,13 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Collector;
use Crypt;
use Illuminate\Contracts\Encryption\DecryptException;
use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Log;
use Storage;
@@ -50,14 +51,6 @@ class UploadCollector extends BasicCollector implements CollectorInterface
public function run(): bool
{
Log::debug('Going to collect attachments', ['key' => $this->job->key]);
// file names associated with the old import routine.
$this->vintageFormat = sprintf('csv-upload-%d-', $this->job->user->id);
// collect old upload files (names beginning with "csv-upload".
$this->collectVintageUploads();
// then collect current upload files:
$this->collectModernUploads();
return true;
@@ -70,7 +63,8 @@ class UploadCollector extends BasicCollector implements CollectorInterface
*/
private function collectModernUploads(): bool
{
$set = $this->job->user->importJobs()->where('status', 'import_complete')->get(['import_jobs.*']);
$set = $this->job->user->importJobs()->whereIn('status', ['import_complete', 'finished'])->get(['import_jobs.*']);
Log::debug(sprintf('Found %d import jobs', $set->count()));
$keys = [];
if ($set->count() > 0) {
$keys = $set->pluck('key')->toArray();
@@ -83,59 +77,6 @@ class UploadCollector extends BasicCollector implements CollectorInterface
return true;
}
/**
* This method collects all the uploads that are uploaded using the "old" importer. So from before the summer of 2016.
*
* @return bool
*/
private function collectVintageUploads(): bool
{
// grab upload directory.
$files = $this->uploadDisk->files();
foreach ($files as $entry) {
$this->processVintageUpload($entry);
}
return true;
}
/**
* This method tells you when the vintage upload file was actually uploaded.
*
* @param string $entry
*
* @return string
*/
private function getVintageUploadDate(string $entry): string
{
// this is an original upload.
$parts = explode('-', str_replace(['.csv.encrypted', $this->vintageFormat], '', $entry));
$originalUpload = intval($parts[1]);
$date = date('Y-m-d \a\t H-i-s', $originalUpload);
return $date;
}
/**
* Tells you if a file name is a vintage upload.
*
* @param string $entry
*
* @return bool
*/
private function isVintageImport(string $entry): bool
{
$len = strlen($this->vintageFormat);
// file is part of the old import routine:
if (substr($entry, 0, $len) === $this->vintageFormat) {
return true;
}
return false;
}
/**
* @param string $key
*
@@ -153,7 +94,7 @@ class UploadCollector extends BasicCollector implements CollectorInterface
$content = '';
try {
$content = Crypt::decrypt($this->uploadDisk->get(sprintf('%s.upload', $key)));
} catch (DecryptException $e) {
} catch (FileNotFoundException | DecryptException $e) {
Log::error(sprintf('Could not decrypt old import file "%s". Skipped because: %s', $key, $e->getMessage()));
}
@@ -168,47 +109,4 @@ class UploadCollector extends BasicCollector implements CollectorInterface
return true;
}
/**
* If the file is a vintage upload, process it.
*
* @param string $entry
*
* @return bool
*/
private function processVintageUpload(string $entry): bool
{
if ($this->isVintageImport($entry)) {
$this->saveVintageImportFile($entry);
return true;
}
return false;
}
/**
* This will store the content of the old vintage upload somewhere.
*
* @param string $entry
*/
private function saveVintageImportFile(string $entry)
{
$content = '';
try {
$content = Crypt::decrypt($this->uploadDisk->get($entry));
} catch (DecryptException $e) {
Log::error('Could not decrypt old CSV import file ' . $entry . '. Skipped because ' . $e->getMessage());
}
if (strlen($content) > 0) {
// add to export disk.
$date = $this->getVintageUploadDate($entry);
$file = $this->job->key . '-Old import dated ' . $date . '.csv';
$this->exportDisk->put($file, $content);
$this->getEntries()->push($file);
}
}
}

View File

@@ -9,11 +9,11 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Entry;
use Crypt;
use FireflyIII\Models\Transaction;
use Steam;
/**
@@ -38,24 +38,43 @@ final class Entry
{
// @formatter:off
public $journal_id;
public $transaction_id = 0;
public $date;
public $description;
public $currency_code;
public $amount;
public $foreign_currency_code = '';
public $foreign_amount = '0';
public $transaction_type;
public $source_account_id;
public $source_account_name;
public $asset_account_id;
public $asset_account_name;
public $asset_account_iban;
public $asset_account_bic;
public $asset_account_number;
public $asset_currency_code;
public $destination_account_id;
public $destination_account_name;
public $opposing_account_id;
public $opposing_account_name;
public $opposing_account_iban;
public $opposing_account_bic;
public $opposing_account_number;
public $opposing_currency_code;
public $budget_id;
public $budget_name;
public $category_id;
public $category_name;
public $bill_id;
public $bill_name;
public $notes;
public $tags;
// @formatter:on
/**
@@ -72,29 +91,99 @@ final class Entry
*/
public static function fromObject($object): Entry
{
$entry = new self;
$entry->journal_id = $object->transaction_journal_id;
$entry->description = Steam::decrypt(intval($object->journal_encrypted), $object->journal_description);
$entry->amount = $object->amount;
$entry->date = $object->date;
$entry->transaction_type = $object->transaction_type;
$entry->currency_code = $object->transaction_currency_code;
$entry->source_account_id = $object->account_id;
$entry->source_account_name = Steam::decrypt(intval($object->account_name_encrypted), $object->account_name);
$entry->destination_account_id = $object->opposing_account_id;
$entry->destination_account_name = Steam::decrypt(intval($object->opposing_account_encrypted), $object->opposing_account_name);
$entry->category_id = $object->category_id ?? '';
$entry->category_name = $object->category_name ?? '';
$entry->budget_id = $object->budget_id ?? '';
$entry->budget_name = $object->budget_name ?? '';
$entry = new self;
$entry->journal_id = $object->transaction_journal_id;
$entry->description = Steam::decrypt(intval($object->journal_encrypted), $object->journal_description);
$entry->amount = $object->amount;
$entry->date = $object->date;
$entry->transaction_type = $object->transaction_type;
$entry->currency_code = $object->transaction_currency_code;
$entry->asset_account_id = $object->account_id;
$entry->asset_account_name = Steam::decrypt(intval($object->account_name_encrypted), $object->account_name);
$entry->opposing_account_id = $object->opposing_account_id;
$entry->opposing_account_name = Steam::decrypt(intval($object->opposing_account_encrypted), $object->opposing_account_name);
$entry->category_id = $object->category_id ?? '';
$entry->category_name = $object->category_name ?? '';
$entry->budget_id = $object->budget_id ?? '';
$entry->budget_name = $object->budget_name ?? '';
// update description when transaction description is different:
if (!is_null($object->description) && $object->description != $entry->description) {
if (!is_null($object->description) && $object->description !== $entry->description) {
$entry->description = $entry->description . ' (' . $object->description . ')';
}
return $entry;
}
/**
* Converts a given transaction (as collected by the collector) into an export entry.
*
* @param Transaction $transaction
*
* @return Entry
*/
public static function fromTransaction(Transaction $transaction): Entry
{
$entry = new self;
$entry->journal_id = $transaction->journal_id;
$entry->transaction_id = $transaction->id;
$entry->date = $transaction->date->format('Ymd');
$entry->description = $transaction->description;
if (strlen(strval($transaction->transaction_description)) > 0) {
$entry->description = $transaction->transaction_description . '(' . $transaction->description . ')';
}
$entry->currency_code = $transaction->transactionCurrency->code;
$entry->amount = round($transaction->transaction_amount, $transaction->transactionCurrency->decimal_places);
$entry->foreign_currency_code = is_null($transaction->foreign_currency_id) ? null : $transaction->foreignCurrency->code;
$entry->foreign_amount = is_null($transaction->foreign_currency_id)
? null
: strval(
round(
$transaction->transaction_foreign_amount, $transaction->foreignCurrency->decimal_places
)
);
$entry->transaction_type = $transaction->transaction_type_type;
$entry->asset_account_id = $transaction->account_id;
$entry->asset_account_name = app('steam')->tryDecrypt($transaction->account_name);
$entry->asset_account_iban = $transaction->account_iban;
$entry->asset_account_number = $transaction->account_number;
$entry->asset_account_bic = $transaction->account_bic;
$entry->asset_currency_code = $transaction->account_currency_code;
$entry->opposing_account_id = $transaction->opposing_account_id;
$entry->opposing_account_name = app('steam')->tryDecrypt($transaction->opposing_account_name);
$entry->opposing_account_iban = $transaction->opposing_account_iban;
$entry->opposing_account_number = $transaction->opposing_account_number;
$entry->opposing_account_bic = $transaction->opposing_account_bic;
$entry->opposing_currency_code = $transaction->opposing_currency_code;
/** budget */
$entry->budget_id = $transaction->transaction_budget_id;
$entry->budget_name = app('steam')->tryDecrypt($transaction->transaction_budget_name);
if (is_null($transaction->transaction_budget_id)) {
$entry->budget_id = $transaction->transaction_journal_budget_id;
$entry->budget_name = app('steam')->tryDecrypt($transaction->transaction_journal_budget_name);
}
/** category */
$entry->category_id = $transaction->transaction_category_id;
$entry->category_name = app('steam')->tryDecrypt($transaction->transaction_category_name);
if (is_null($transaction->transaction_category_id)) {
$entry->category_id = $transaction->transaction_journal_category_id;
$entry->category_name = app('steam')->tryDecrypt($transaction->transaction_journal_category_name);
}
/** budget */
$entry->bill_id = $transaction->bill_id;
$entry->bill_name = app('steam')->tryDecrypt($transaction->bill_name);
$entry->tags = $transaction->tags;
$entry->notes = $transaction->notes;
return $entry;
}
}

View File

@@ -0,0 +1,339 @@
<?php
/**
* ExpandedProcessor.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Export;
use Crypt;
use DB;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Export\Collector\AttachmentCollector;
use FireflyIII\Export\Collector\UploadCollector;
use FireflyIII\Export\Entry\Entry;
use FireflyIII\Helpers\Collector\JournalCollectorInterface;
use FireflyIII\Helpers\Filter\InternalTransferFilter;
use FireflyIII\Models\AccountMeta;
use FireflyIII\Models\ExportJob;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionJournalMeta;
use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface;
use Illuminate\Support\Collection;
use Log;
use Storage;
use ZipArchive;
/**
* Class ExpandedProcessor
*
* @package FireflyIII\Export
*/
class ExpandedProcessor implements ProcessorInterface
{
/** @var Collection */
public $accounts;
/** @var string */
public $exportFormat;
/** @var bool */
public $includeAttachments;
/** @var bool */
public $includeOldUploads;
/** @var ExportJob */
public $job;
/** @var array */
public $settings;
/** @var Collection */
private $exportEntries;
/** @var Collection */
private $files;
/** @var Collection */
private $journals;
/**
* Processor constructor.
*/
public function __construct()
{
$this->journals = new Collection;
$this->exportEntries = new Collection;
$this->files = new Collection;
}
/**
* @return bool
*/
public function collectAttachments(): bool
{
/** @var AttachmentCollector $attachmentCollector */
$attachmentCollector = app(AttachmentCollector::class);
$attachmentCollector->setJob($this->job);
$attachmentCollector->setDates($this->settings['startDate'], $this->settings['endDate']);
$attachmentCollector->run();
$this->files = $this->files->merge($attachmentCollector->getEntries());
return true;
}
/**
* @return bool
*/
public function collectJournals(): bool
{
// use journal collector thing.
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts($this->accounts)->setRange($this->settings['startDate'], $this->settings['endDate'])
->withOpposingAccount()->withBudgetInformation()->withCategoryInformation()
->removeFilter(InternalTransferFilter::class);
$transactions = $collector->getJournals();
// get some more meta data for each entry:
$ids = $transactions->pluck('journal_id')->toArray();
$assetIds = $transactions->pluck('account_id')->toArray();
$opposingIds = $transactions->pluck('opposing_account_id')->toArray();
$notes = $this->getNotes($ids);
$tags = $this->getTags($ids);
$ibans = $this->getIbans($assetIds) + $this->getIbans($opposingIds);
$currencies = $this->getAccountCurrencies($ibans);
$transactions->each(
function (Transaction $transaction) use ($notes, $tags, $ibans, $currencies) {
$journalId = intval($transaction->journal_id);
$accountId = intval($transaction->account_id);
$opposingId = intval($transaction->opposing_account_id);
$currencyId = $ibans[$accountId]['currency_id'] ?? 0;
$opposingCurrencyId = $ibans[$opposingId]['currency_id'] ?? 0;
$transaction->notes = $notes[$journalId] ?? '';
$transaction->tags = join(',', $tags[$journalId] ?? []);
$transaction->account_number = $ibans[$accountId]['accountNumber'] ?? '';
$transaction->account_bic = $ibans[$accountId]['BIC'] ?? '';
$transaction->account_currency_code = $currencies[$currencyId] ?? '';
$transaction->opposing_account_number = $ibans[$opposingId]['accountNumber'] ?? '';
$transaction->opposing_account_bic = $ibans[$opposingId]['BIC'] ?? '';
$transaction->opposing_currency_code = $currencies[$opposingCurrencyId] ?? '';
}
);
$this->journals = $transactions;
return true;
}
/**
* @return bool
*/
public function collectOldUploads(): bool
{
/** @var UploadCollector $uploadCollector */
$uploadCollector = app(UploadCollector::class);
$uploadCollector->setJob($this->job);
$uploadCollector->run();
$this->files = $this->files->merge($uploadCollector->getEntries());
return true;
}
/**
* @return bool
*/
public function convertJournals(): bool
{
$this->journals->each(
function (Transaction $transaction) {
$this->exportEntries->push(Entry::fromTransaction($transaction));
}
);
Log::debug(sprintf('Count %d entries in exportEntries (convertJournals)', $this->exportEntries->count()));
return true;
}
/**
* @return bool
* @throws FireflyException
*/
public function createZipFile(): bool
{
$zip = new ZipArchive;
$file = $this->job->key . '.zip';
$fullPath = storage_path('export') . '/' . $file;
if ($zip->open($fullPath, ZipArchive::CREATE) !== true) {
throw new FireflyException('Cannot store zip file.');
}
// for each file in the collection, add it to the zip file.
$disk = Storage::disk('export');
foreach ($this->getFiles() as $entry) {
// is part of this job?
$zipFileName = str_replace($this->job->key . '-', '', $entry);
$zip->addFromString($zipFileName, $disk->get($entry));
}
$zip->close();
// delete the files:
$this->deleteFiles();
return true;
}
/**
* @return bool
*/
public function exportJournals(): bool
{
$exporterClass = config('firefly.export_formats.' . $this->exportFormat);
$exporter = app($exporterClass);
$exporter->setJob($this->job);
$exporter->setEntries($this->exportEntries);
$exporter->run();
$this->files->push($exporter->getFileName());
return true;
}
/**
* @return Collection
*/
public function getFiles(): Collection
{
return $this->files;
}
/**
* Save export job settings to class.
*
* @param array $settings
*/
public function setSettings(array $settings)
{
// save settings
$this->settings = $settings;
$this->accounts = $settings['accounts'];
$this->exportFormat = $settings['exportFormat'];
$this->includeAttachments = $settings['includeAttachments'];
$this->includeOldUploads = $settings['includeOldUploads'];
$this->job = $settings['job'];
}
/**
*
*/
private function deleteFiles()
{
$disk = Storage::disk('export');
foreach ($this->getFiles() as $file) {
$disk->delete($file);
}
}
/**
* @param array $array
*
* @return array
*/
private function getAccountCurrencies(array $array): array
{
/** @var CurrencyRepositoryInterface $repository */
$repository = app(CurrencyRepositoryInterface::class);
$return = [];
$ids = [];
$repository->setUser($this->job->user);
foreach ($array as $value) {
$ids[] = $value['currency_id'] ?? 0;
}
$ids = array_unique($ids);
$result = $repository->getByIds($ids);
foreach ($result as $currency) {
$return[$currency->id] = $currency->code;
}
return $return;
}
/**
* Get all IBAN / SWIFT / account numbers
*
* @param array $array
*
* @return array
*/
private function getIbans(array $array): array
{
$array = array_unique($array);
$return = [];
$set = AccountMeta::whereIn('account_id', $array)
->leftJoin('accounts', 'accounts.id', 'account_meta.account_id')
->where('accounts.user_id', $this->job->user_id)
->whereIn('account_meta.name', ['accountNumber', 'BIC', 'currency_id'])
->get(['account_meta.id', 'account_meta.account_id', 'account_meta.name', 'account_meta.data']);
/** @var AccountMeta $meta */
foreach ($set as $meta) {
$id = intval($meta->account_id);
$return[$id][$meta->name] = $meta->data;
}
return $return;
}
/**
* Returns, if present, for the given journal ID's the notes.
*
* @param array $array
*
* @return array
*/
private function getNotes(array $array): array
{
$array = array_unique($array);
$set = TransactionJournalMeta::whereIn('journal_meta.transaction_journal_id', $array)
->leftJoin('transaction_journals', 'transaction_journals.id', '=', 'journal_meta.transaction_journal_id')
->where('transaction_journals.user_id', $this->job->user_id)
->where('journal_meta.name', 'notes')->get(
['journal_meta.transaction_journal_id', 'journal_meta.data', 'journal_meta.id']
);
$return = [];
/** @var TransactionJournalMeta $meta */
foreach ($set as $meta) {
$id = intval($meta->transaction_journal_id);
$return[$id] = $meta->data;
}
return $return;
}
/**
* Returns a comma joined list of all the users tags linked to these journals.
*
* @param array $array
*
* @return array
*/
private function getTags(array $array): array
{
$set = DB::table('tag_transaction_journal')
->whereIn('tag_transaction_journal.transaction_journal_id', $array)
->leftJoin('tags', 'tag_transaction_journal.tag_id', '=', 'tags.id')
->leftJoin('transaction_journals', 'transaction_journals.id', '=', 'tag_transaction_journal.transaction_journal_id')
->where('transaction_journals.user_id', $this->job->user_id)
->get(['tag_transaction_journal.transaction_journal_id', 'tags.tag']);
$result = [];
foreach ($set as $entry) {
$id = intval($entry->transaction_journal_id);
$result[$id] = isset($result[$id]) ? $result[$id] : [];
$result[$id][] = Crypt::decrypt($entry->tag);
}
return $result;
}
}

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Exporter;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Exporter;
@@ -58,8 +58,12 @@ class CsvExporter extends BasicExporter implements ExporterInterface
// get field names for header row:
$first = $this->getEntries()->first();
$headers = array_keys(get_object_vars($first));
$rows[] = $headers;
$headers = [];
if (!is_null($first)) {
$headers = array_keys(get_object_vars($first));
}
$rows[] = $headers;
/** @var Entry $entry */
foreach ($this->getEntries() as $entry) {

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export\Exporter;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Export;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Chart\Basic;
@@ -81,6 +81,9 @@ class ChartJsGenerator implements GeneratorInterface
if (isset($set['fill'])) {
$currentSet['fill'] = $set['fill'];
}
if (isset($set['currency_symbol'])) {
$currentSet['currency_symbol'] = $set['currency_symbol'];
}
$chartData['datasets'][] = $currentSet;
}
@@ -105,7 +108,18 @@ class ChartJsGenerator implements GeneratorInterface
],
'labels' => [],
];
$index = 0;
// sort by value, keep keys.
// different sort when values are positive and when they're negative.
asort($data);
$next = next($data);
if (!is_bool($next) && bccomp($next, '0') === 1) {
// next is positive, sort other way around.
arsort($data);
}
unset($next);
$index = 0;
foreach ($data as $key => $value) {
// make larger than 0

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Chart\Basic;
@@ -22,10 +22,15 @@ interface GeneratorInterface
{
/**
* Will generate a (ChartJS) compatible array from the given input. Expects this format:
* Will generate a Chart JS compatible array from the given input. Expects this format
*
* Will take labels for all from first set.
*
* 0: [
* 'label' => 'label of set',
* 'type' => bar or line, optional
* 'yAxisID' => ID of yAxis, optional, will not be included when unused.
* 'fill' => if to fill a line? optional, will not be included when unused.
* 'entries' =>
* [
* 'label-of-entry' => 'value'
@@ -33,12 +38,16 @@ interface GeneratorInterface
* ]
* 1: [
* 'label' => 'label of another set',
* 'type' => bar or line, optional
* 'yAxisID' => ID of yAxis, optional, will not be included when unused.
* 'fill' => if to fill a line? optional, will not be included when unused.
* 'entries' =>
* [
* 'label-of-entry' => 'value'
* ]
* ]
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity) // it's five.
*
* @param array $data
*

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Audit;
@@ -19,6 +19,7 @@ use FireflyIII\Generator\Report\ReportGeneratorInterface;
use FireflyIII\Helpers\Collector\JournalCollectorInterface;
use FireflyIII\Models\Account;
use FireflyIII\Models\Transaction;
use FireflyIII\Repositories\Currency\CurrencyRepositoryInterface;
use Illuminate\Support\Collection;
use Steam;
@@ -147,6 +148,8 @@ class MonthReportGenerator implements ReportGeneratorInterface
*/
private function getAuditReport(Account $account, Carbon $date): array
{
/** @var CurrencyRepositoryInterface $currencyRepos */
$currencyRepos = app(CurrencyRepositoryInterface::class);
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
@@ -155,15 +158,21 @@ class MonthReportGenerator implements ReportGeneratorInterface
$journals = $journals->reverse();
$dayBeforeBalance = Steam::balance($account, $date);
$startBalance = $dayBeforeBalance;
$currency = $currencyRepos->find(intval($account->getMeta('currency_id')));
/** @var Transaction $journal */
foreach ($journals as $transaction) {
$transaction->before = $startBalance;
$transactionAmount = $transaction->transaction_amount;
$newBalance = bcadd($startBalance, $transactionAmount);
$transaction->after = $newBalance;
$startBalance = $newBalance;
if ($currency->id === $transaction->foreign_currency_id) {
$transactionAmount = $transaction->transaction_foreign_amount;
}
$newBalance = bcadd($startBalance, $transactionAmount);
$transaction->after = $newBalance;
$startBalance = $newBalance;
$transaction->currency = $currency;
}
/*

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Audit;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Audit;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Budget;
@@ -18,6 +18,9 @@ use Carbon\Carbon;
use FireflyIII\Generator\Report\ReportGeneratorInterface;
use FireflyIII\Generator\Report\Support;
use FireflyIII\Helpers\Collector\JournalCollectorInterface;
use FireflyIII\Helpers\Filter\OpposingAccountFilter;
use FireflyIII\Helpers\Filter\PositiveAmountFilter;
use FireflyIII\Helpers\Filter\TransferFilter;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionType;
use Illuminate\Support\Collection;
@@ -141,52 +144,10 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
return $this;
}
/**
* @param Collection $collection
* @param int $sortFlag
*
* @return array
*/
private function getAverages(Collection $collection, int $sortFlag): array
{
$result = [];
/** @var Transaction $transaction */
foreach ($collection as $transaction) {
// opposing name and ID:
$opposingId = $transaction->opposing_account_id;
// is not set?
if (!isset($result[$opposingId])) {
$name = $transaction->opposing_account_name;
$result[$opposingId] = [
'name' => $name,
'count' => 1,
'id' => $opposingId,
'average' => $transaction->transaction_amount,
'sum' => $transaction->transaction_amount,
];
continue;
}
$result[$opposingId]['count']++;
$result[$opposingId]['sum'] = bcadd($result[$opposingId]['sum'], $transaction->transaction_amount);
$result[$opposingId]['average'] = bcdiv($result[$opposingId]['sum'], strval($result[$opposingId]['count']));
}
// sort result by average:
$average = [];
foreach ($result as $key => $row) {
$average[$key] = floatval($row['average']);
}
array_multisort($average, $sortFlag, $result);
return $result;
}
/**
* @return Collection
*/
private function getExpenses(): Collection
protected function getExpenses(): Collection
{
if ($this->expenses->count() > 0) {
Log::debug('Return previous set of expenses.');
@@ -198,44 +159,18 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts($this->accounts)->setRange($this->start, $this->end)
->setTypes([TransactionType::WITHDRAWAL])
->setBudgets($this->budgets)->withOpposingAccount()->disableFilter();
->setBudgets($this->budgets)->withOpposingAccount();
$collector->removeFilter(TransferFilter::class);
$collector->addFilter(OpposingAccountFilter::class);
$collector->addFilter(PositiveAmountFilter::class);
$accountIds = $this->accounts->pluck('id')->toArray();
$transactions = $collector->getJournals();
$transactions = self::filterExpenses($transactions, $accountIds);
$this->expenses = $transactions;
return $transactions;
}
/**
* @return Collection
*/
private function getTopExpenses(): Collection
{
$transactions = $this->getExpenses()->sortBy('transaction_amount');
return $transactions;
}
/**
* @param Collection $collection
*
* @return array
*/
private function summarizeByAccount(Collection $collection): array
{
$result = [];
/** @var Transaction $transaction */
foreach ($collection as $transaction) {
$accountId = $transaction->account_id;
$result[$accountId] = $result[$accountId] ?? '0';
$result[$accountId] = bcadd($transaction->transaction_amount, $result[$accountId]);
}
return $result;
}
/**
* @param Collection $collection
*

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Budget;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Budget;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Category;
@@ -18,6 +18,10 @@ use Carbon\Carbon;
use FireflyIII\Generator\Report\ReportGeneratorInterface;
use FireflyIII\Generator\Report\Support;
use FireflyIII\Helpers\Collector\JournalCollectorInterface;
use FireflyIII\Helpers\Filter\NegativeAmountFilter;
use FireflyIII\Helpers\Filter\OpposingAccountFilter;
use FireflyIII\Helpers\Filter\PositiveAmountFilter;
use FireflyIII\Helpers\Filter\TransferFilter;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionType;
use Illuminate\Support\Collection;
@@ -151,52 +155,10 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
return $this;
}
/**
* @param Collection $collection
* @param int $sortFlag
*
* @return array
*/
private function getAverages(Collection $collection, int $sortFlag): array
{
$result = [];
/** @var Transaction $transaction */
foreach ($collection as $transaction) {
// opposing name and ID:
$opposingId = $transaction->opposing_account_id;
// is not set?
if (!isset($result[$opposingId])) {
$name = $transaction->opposing_account_name;
$result[$opposingId] = [
'name' => $name,
'count' => 1,
'id' => $opposingId,
'average' => $transaction->transaction_amount,
'sum' => $transaction->transaction_amount,
];
continue;
}
$result[$opposingId]['count']++;
$result[$opposingId]['sum'] = bcadd($result[$opposingId]['sum'], $transaction->transaction_amount);
$result[$opposingId]['average'] = bcdiv($result[$opposingId]['sum'], strval($result[$opposingId]['count']));
}
// sort result by average:
$average = [];
foreach ($result as $key => $row) {
$average[$key] = floatval($row['average']);
}
array_multisort($average, $sortFlag, $result);
return $result;
}
/**
* @return Collection
*/
private function getExpenses(): Collection
protected function getExpenses(): Collection
{
if ($this->expenses->count() > 0) {
Log::debug('Return previous set of expenses.');
@@ -208,11 +170,13 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts($this->accounts)->setRange($this->start, $this->end)
->setTypes([TransactionType::WITHDRAWAL, TransactionType::TRANSFER])
->setCategories($this->categories)->withOpposingAccount()->disableFilter();
->setCategories($this->categories)->withOpposingAccount();
$collector->removeFilter(TransferFilter::class);
$collector->addFilter(OpposingAccountFilter::class);
$collector->addFilter(PositiveAmountFilter::class);
$accountIds = $this->accounts->pluck('id')->toArray();
$transactions = $collector->getJournals();
$transactions = self::filterExpenses($transactions, $accountIds);
$this->expenses = $transactions;
return $transactions;
@@ -221,7 +185,7 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
/**
* @return Collection
*/
private function getIncome(): Collection
protected function getIncome(): Collection
{
if ($this->income->count() > 0) {
return $this->income;
@@ -232,93 +196,16 @@ class MonthReportGenerator extends Support implements ReportGeneratorInterface
$collector->setAccounts($this->accounts)->setRange($this->start, $this->end)
->setTypes([TransactionType::DEPOSIT, TransactionType::TRANSFER])
->setCategories($this->categories)->withOpposingAccount();
$accountIds = $this->accounts->pluck('id')->toArray();
$collector->addFilter(OpposingAccountFilter::class);
$collector->addFilter(NegativeAmountFilter::class);
$transactions = $collector->getJournals();
$transactions = self::filterIncome($transactions, $accountIds);
$this->income = $transactions;
return $transactions;
}
/**
* @SuppressWarnings(PHPMD.CyclomaticComplexity) // it's exactly five.
* @param array $spent
* @param array $earned
*
* @return array
*/
private function getObjectSummary(array $spent, array $earned): array
{
$return = [];
/**
* @var int $accountId
* @var string $entry
*/
foreach ($spent as $objectId => $entry) {
if (!isset($return[$objectId])) {
$return[$objectId] = ['spent' => 0, 'earned' => 0];
}
$return[$objectId]['spent'] = $entry;
}
unset($entry);
/**
* @var int $accountId
* @var string $entry
*/
foreach ($earned as $objectId => $entry) {
if (!isset($return[$objectId])) {
$return[$objectId] = ['spent' => 0, 'earned' => 0];
}
$return[$objectId]['earned'] = $entry;
}
return $return;
}
/**
* @return Collection
*/
private function getTopExpenses(): Collection
{
$transactions = $this->getExpenses()->sortBy('transaction_amount');
return $transactions;
}
/**
* @return Collection
*/
private function getTopIncome(): Collection
{
$transactions = $this->getIncome()->sortByDesc('transaction_amount');
return $transactions;
}
/**
* @param Collection $collection
*
* @return array
*/
private function summarizeByAccount(Collection $collection): array
{
$result = [];
/** @var Transaction $transaction */
foreach ($collection as $transaction) {
$accountId = $transaction->account_id;
$result[$accountId] = $result[$accountId] ?? '0';
$result[$accountId] = bcadd($transaction->transaction_amount, $result[$accountId]);
}
return $result;
}
/**
* @param Collection $collection
*

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Category;
@@ -17,7 +17,7 @@ namespace FireflyIII\Generator\Report\Category;
/**
* Class MultiYearReportGenerator
*
* @package FireflyIII\Generator\Report\Audit
* @package FireflyIII\Generator\Report\Category
*/
class MultiYearReportGenerator extends MonthReportGenerator
{

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Category;
@@ -17,7 +17,7 @@ namespace FireflyIII\Generator\Report\Category;
/**
* Class YearReportGenerator
*
* @package FireflyIII\Generator\Report\Audit
* @package FireflyIII\Generator\Report\Category
*/
class YearReportGenerator extends MonthReportGenerator
{

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report;
@@ -49,7 +49,7 @@ class ReportGeneratorFactory
$class = sprintf('FireflyIII\Generator\Report\%s\%sReportGenerator', $type, $period);
if (class_exists($class)) {
/** @var ReportGeneratorInterface $obj */
$obj = new $class;
$obj = app($class);
$obj->setStartDate($start);
$obj->setEndDate($end);

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Standard;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Standard;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Standard;

View File

@@ -9,13 +9,12 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Generator\Report;
use FireflyIII\Models\Transaction;
use Illuminate\Support\Collection;
use Log;
/**
@@ -25,57 +24,122 @@ use Log;
*/
class Support
{
/**
* @param Collection $collection
* @param array $accounts
*
* @return Collection
*/
public static function filterExpenses(Collection $collection, array $accounts): Collection
public function getTopExpenses(): Collection
{
return self::filterTransactions($collection, $accounts, 1);
$transactions = $this->getExpenses()->sortBy('transaction_amount');
return $transactions;
}
/**
* @return Collection
*/
public function getTopIncome(): Collection
{
$transactions = $this->getIncome()->sortByDesc('transaction_amount');
return $transactions;
}
/**
* @param Collection $collection
* @param array $accounts
* @param int $sortFlag
*
* @return Collection
* @return array
*/
public static function filterIncome(Collection $collection, array $accounts): Collection
protected function getAverages(Collection $collection, int $sortFlag): array
{
return self::filterTransactions($collection, $accounts, -1);
}
$result = [];
/** @var Transaction $transaction */
foreach ($collection as $transaction) {
// opposing name and ID:
$opposingId = $transaction->opposing_account_id;
/**
* @param Collection $collection
* @param array $accounts
* @param int $modifier
*
* @return Collection
*/
public static function filterTransactions(Collection $collection, array $accounts, int $modifier): Collection
{
$result = $collection->filter(
function (Transaction $transaction) use ($accounts, $modifier) {
$opposing = $transaction->opposing_account_id;
// remove internal transfer
if (in_array($opposing, $accounts)) {
Log::debug(sprintf('Filtered #%d because its opposite is in accounts.', $transaction->id));
return null;
}
// remove positive amount
if (bccomp($transaction->transaction_amount, '0') === $modifier) {
Log::debug(sprintf('Filtered #%d because amount is %f.', $transaction->id, $transaction->transaction_amount));
return null;
}
return $transaction;
// is not set?
if (!isset($result[$opposingId])) {
$name = $transaction->opposing_account_name;
$result[$opposingId] = [
'name' => $name,
'count' => 1,
'id' => $opposingId,
'average' => $transaction->transaction_amount,
'sum' => $transaction->transaction_amount,
];
continue;
}
);
$result[$opposingId]['count']++;
$result[$opposingId]['sum'] = bcadd($result[$opposingId]['sum'], $transaction->transaction_amount);
$result[$opposingId]['average'] = bcdiv($result[$opposingId]['sum'], strval($result[$opposingId]['count']));
}
// sort result by average:
$average = [];
foreach ($result as $key => $row) {
$average[$key] = floatval($row['average']);
}
array_multisort($average, $sortFlag, $result);
return $result;
}
/**
* @SuppressWarnings(PHPMD.CyclomaticComplexity) // it's exactly five.
* @param array $spent
* @param array $earned
*
* @return array
*/
protected function getObjectSummary(array $spent, array $earned): array
{
$return = [];
/**
* @var int $accountId
* @var string $entry
*/
foreach ($spent as $objectId => $entry) {
if (!isset($return[$objectId])) {
$return[$objectId] = ['spent' => 0, 'earned' => 0];
}
$return[$objectId]['spent'] = $entry;
}
unset($entry);
/**
* @var int $accountId
* @var string $entry
*/
foreach ($earned as $objectId => $entry) {
if (!isset($return[$objectId])) {
$return[$objectId] = ['spent' => 0, 'earned' => 0];
}
$return[$objectId]['earned'] = $entry;
}
return $return;
}
/**
* @param Collection $collection
*
* @return array
*/
protected function summarizeByAccount(Collection $collection): array
{
$result = [];
/** @var Transaction $transaction */
foreach ($collection as $transaction) {
$accountId = $transaction->account_id;
$result[$accountId] = $result[$accountId] ?? '0';
$result[$accountId] = bcadd($transaction->transaction_amount, $result[$accountId]);
}
return $result;
}

View File

@@ -0,0 +1,228 @@
<?php
/**
* MonthReportGenerator.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Tag;
use Carbon\Carbon;
use FireflyIII\Generator\Report\ReportGeneratorInterface;
use FireflyIII\Generator\Report\Support;
use FireflyIII\Helpers\Collector\JournalCollectorInterface;
use FireflyIII\Helpers\Filter\NegativeAmountFilter;
use FireflyIII\Helpers\Filter\OpposingAccountFilter;
use FireflyIII\Helpers\Filter\PositiveAmountFilter;
use FireflyIII\Helpers\Filter\TransferFilter;
use FireflyIII\Models\Tag;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionType;
use Illuminate\Support\Collection;
use Log;
/**
* Class MonthReportGenerator
*
* @package FireflyIII\Generator\Report\Tag
*/
class MonthReportGenerator extends Support implements ReportGeneratorInterface
{
/** @var Collection */
private $accounts;
/** @var Carbon */
private $end;
/** @var Collection */
private $expenses;
/** @var Collection */
private $income;
/** @var Carbon */
private $start;
/** @var Collection */
private $tags;
/**
* MonthReportGenerator constructor.
*/
public function __construct()
{
$this->expenses = new Collection;
$this->income = new Collection;
}
/**
* @return string
*/
public function generate(): string
{
$accountIds = join(',', $this->accounts->pluck('id')->toArray());
$tagTags = join(',', $this->tags->pluck('tag')->toArray());
$reportType = 'tag';
$expenses = $this->getExpenses();
$income = $this->getIncome();
$accountSummary = $this->getObjectSummary($this->summarizeByAccount($expenses), $this->summarizeByAccount($income));
$tagSummary = $this->getObjectSummary($this->summarizeByTag($expenses), $this->summarizeByTag($income));
$averageExpenses = $this->getAverages($expenses, SORT_ASC);
$averageIncome = $this->getAverages($income, SORT_DESC);
$topExpenses = $this->getTopExpenses();
$topIncome = $this->getTopIncome();
// render!
return view(
'reports.tag.month', compact(
'accountIds', 'tagTags', 'reportType', 'accountSummary', 'tagSummary', 'averageExpenses', 'averageIncome', 'topIncome',
'topExpenses'
)
)->with('start', $this->start)->with('end', $this->end)->with('tags', $this->tags)->with('accounts', $this->accounts)->render();
}
/**
* @param Collection $accounts
*
* @return ReportGeneratorInterface
*/
public function setAccounts(Collection $accounts): ReportGeneratorInterface
{
$this->accounts = $accounts;
return $this;
}
/**
* @param Collection $budgets
*
* @return ReportGeneratorInterface
*/
public function setBudgets(Collection $budgets): ReportGeneratorInterface
{
return $this;
}
/**
* @param Collection $categories
*
* @return ReportGeneratorInterface
*/
public function setCategories(Collection $categories): ReportGeneratorInterface
{
return $this;
}
/**
* @param Carbon $date
*
* @return ReportGeneratorInterface
*/
public function setEndDate(Carbon $date): ReportGeneratorInterface
{
$this->end = $date;
return $this;
}
/**
* @param Carbon $date
*
* @return ReportGeneratorInterface
*/
public function setStartDate(Carbon $date): ReportGeneratorInterface
{
$this->start = $date;
return $this;
}
/**
* @param Collection $tags
*
* @return ReportGeneratorInterface
*/
public function setTags(Collection $tags): ReportGeneratorInterface
{
$this->tags = $tags;
return $this;
}
/**
* @return Collection
*/
protected function getExpenses(): Collection
{
if ($this->expenses->count() > 0) {
Log::debug('Return previous set of expenses.');
return $this->expenses;
}
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts($this->accounts)->setRange($this->start, $this->end)
->setTypes([TransactionType::WITHDRAWAL, TransactionType::TRANSFER])
->setTags($this->tags)->withOpposingAccount();
$collector->removeFilter(TransferFilter::class);
$collector->addFilter(OpposingAccountFilter::class);
$collector->addFilter(PositiveAmountFilter::class);
$transactions = $collector->getJournals();
$this->expenses = $transactions;
return $transactions;
}
/**
* @return Collection
*/
protected function getIncome(): Collection
{
if ($this->income->count() > 0) {
return $this->income;
}
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts($this->accounts)->setRange($this->start, $this->end)
->setTypes([TransactionType::DEPOSIT, TransactionType::TRANSFER])
->setTags($this->tags)->withOpposingAccount();
$collector->addFilter(OpposingAccountFilter::class);
$collector->addFilter(NegativeAmountFilter::class);
$transactions = $collector->getJournals();
$this->income = $transactions;
return $transactions;
}
/**
* @param Collection $collection
*
* @return array
*/
protected function summarizeByTag(Collection $collection): array
{
$result = [];
/** @var Transaction $transaction */
foreach ($collection as $transaction) {
$journal = $transaction->transactionJournal;
$journalTags = $journal->tags;
/** @var Tag $journalTag */
foreach ($journalTags as $journalTag) {
$journalTagId = $journalTag->id;
$result[$journalTagId] = $result[$journalTagId] ?? '0';
$result[$journalTagId] = bcadd($transaction->transaction_amount, $result[$journalTagId]);
}
}
return $result;
}
}

View File

@@ -0,0 +1,25 @@
<?php
/**
* MultiYearReportGenerator.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Tag;
/**
* Class MultiYearReportGenerator
*
* @package FireflyIII\Generator\Report\Tag
*/
class MultiYearReportGenerator extends MonthReportGenerator
{
/**
* Doesn't do anything different.
*/
}

View File

@@ -0,0 +1,26 @@
<?php
/**
* YearReportGenerator.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Generator\Report\Tag;
/**
* Class YearReportGenerator
*
* @package FireflyIII\Generator\Report\Tag
*/
class YearReportGenerator extends MonthReportGenerator
{
/**
* Doesn't do anything different.
*/
}

View File

@@ -9,64 +9,100 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Handlers\Events;
use FireflyIII\Events\StoredTransactionJournal;
use FireflyIII\Models\PiggyBank;
use FireflyIII\Models\PiggyBankEvent;
use FireflyIII\Models\PiggyBankRepetition;
use FireflyIII\Models\Rule;
use FireflyIII\Models\RuleGroup;
use FireflyIII\Models\TransactionJournal;
use FireflyIII\Repositories\Journal\JournalRepositoryInterface as JRI;
use FireflyIII\Repositories\PiggyBank\PiggyBankRepositoryInterface as PRI;
use FireflyIII\Repositories\RuleGroup\RuleGroupRepositoryInterface as RGRI;
use FireflyIII\Rules\Processor;
use FireflyIII\Support\Events\BillScanner;
use Log;
/**
* @codeCoverageIgnore
*
* Class StoredJournalEventHandler
*
* @package FireflyIII\Handlers\Events
*/
class StoredJournalEventHandler
{
/** @var JRI */
public $journalRepository;
/** @var PRI */
public $repository;
/** @var RGRI */
public $ruleGroupRepository;
/**
* StoredJournalEventHandler constructor.
*
* @param PRI $repository
* @param JRI $journalRepository
* @param RGRI $ruleGroupRepository
*/
public function __construct(PRI $repository, JRI $journalRepository, RGRI $ruleGroupRepository)
{
$this->repository = $repository;
$this->journalRepository = $journalRepository;
$this->ruleGroupRepository = $ruleGroupRepository;
}
/**
* This method connects a new transfer to a piggy bank.
*
*
*
* @param StoredTransactionJournal $event
*
* @return bool
*/
public function connectToPiggyBank(StoredTransactionJournal $event): bool
{
/** @var TransactionJournal $journal */
$journal = $event->journal;
$piggyBankId = $event->piggyBankId;
Log::debug(sprintf('Trying to connect journal %d to piggy bank %d.', $journal->id, $piggyBankId));
$piggyBank = $this->repository->find($piggyBankId);
/*
* Verify existence of piggy bank:
*/
if (!$this->verifyExistence($event)) {
Log::error(sprintf('No such piggy bank or no repetition on %s', $journal->date->format('Y-m-d')));
// is a transfer?
if (!$this->journalRepository->isTransfer($journal)) {
Log::info(sprintf('Will not connect %s #%d to a piggy bank.', $journal->transactionType->type, $journal->id));
return true;
}
/*
* Get relevant data:
*/
$piggyBank = $journal->user->piggyBanks()->where('piggy_banks.id', $piggyBankId)->first(['piggy_banks.*']);
$repetition = $piggyBank->piggyBankRepetitions()->relevantOnDate($journal->date)->first();
$amount = $this->getExactAmount($journal, $piggyBank, $repetition);
$repetition->currentamount = bcadd($repetition->currentamount, $amount);
$repetition->save();
// piggy exists?
if (is_null($piggyBank->id)) {
Log::error(sprintf('There is no piggy bank with ID #%d', $piggyBankId));
return true;
}
// repetition exists?
$repetition = $this->repository->getRepetition($piggyBank, $journal->date);
if (is_null($repetition->id)) {
Log::error(sprintf('No piggy bank repetition on %s!', $journal->date->format('Y-m-d')));
return true;
}
// get the amount
$amount = $this->repository->getExactAmount($piggyBank, $repetition, $journal);
if (bccomp($amount, '0') === 0) {
Log::debug('Amount is zero, will not create event.');
return true;
}
// update amount
$this->repository->addAmountToRepetition($repetition, $amount);
$event = $this->repository->createEventWithJournal($piggyBank, $amount, $journal);
/** @var PiggyBankEvent $event */
$event = PiggyBankEvent::create(
['piggy_bank_id' => $piggyBank->id, 'transaction_journal_id' => $journal->id, 'date' => $journal->date, 'amount' => $amount]
);
Log::debug(sprintf('Created piggy bank event #%d', $event->id));
return true;
@@ -83,16 +119,11 @@ class StoredJournalEventHandler
{
// get all the user's rule groups, with the rules, order by 'order'.
$journal = $storedJournalEvent->journal;
$groups = $journal->user->ruleGroups()->where('rule_groups.active', 1)->orderBy('order', 'ASC')->get();
//
$groups = $this->ruleGroupRepository->getActiveGroups($journal->user);
/** @var RuleGroup $group */
foreach ($groups as $group) {
$rules = $group->rules()
->leftJoin('rule_triggers', 'rules.id', '=', 'rule_triggers.rule_id')
->where('rule_triggers.trigger_type', 'user_action')
->where('rule_triggers.trigger_value', 'store-journal')
->where('rules.active', 1)
->get(['rules.*']);
$rules = $this->ruleGroupRepository->getActiveStoreRules($group);
/** @var Rule $rule */
foreach ($rules as $rule) {
@@ -100,9 +131,8 @@ class StoredJournalEventHandler
$processor->handleTransactionJournal($journal);
if ($rule->stop_processing) {
return true;
break;
}
}
}
@@ -123,81 +153,4 @@ class StoredJournalEventHandler
return true;
}
/**
* @SuppressWarnings(PHPMD.CyclomaticComplexity) // it's 6 but I can live with it.
* @param TransactionJournal $journal
* @param PiggyBank $piggyBank
* @param PiggyBankRepetition $repetition
*
* @return string
*/
private function getExactAmount(TransactionJournal $journal, PiggyBank $piggyBank, PiggyBankRepetition $repetition): string
{
$amount = TransactionJournal::amountPositive($journal);
$sources = TransactionJournal::sourceAccountList($journal)->pluck('id')->toArray();
$room = bcsub(strval($piggyBank->targetamount), strval($repetition->currentamount));
$compare = bcmul($repetition->currentamount, '-1');
Log::debug(sprintf('Will add/remove %f to piggy bank #%d ("%s")', $amount, $piggyBank->id, $piggyBank->name));
// if piggy account matches source account, the amount is positive
if (in_array($piggyBank->account_id, $sources)) {
$amount = bcmul($amount, '-1');
Log::debug(sprintf('Account #%d is the source, so will remove amount from piggy bank.', $piggyBank->account_id));
}
// if the amount is positive, make sure it fits in piggy bank:
if (bccomp($amount, '0') === 1 && bccomp($room, $amount) === -1) {
// amount is positive and $room is smaller than $amount
Log::debug(sprintf('Room in piggy bank for extra money is %f', $room));
Log::debug(sprintf('There is NO room to add %f to piggy bank #%d ("%s")', $amount, $piggyBank->id, $piggyBank->name));
Log::debug(sprintf('New amount is %f', $room));
return $room;
}
// amount is negative and $currentamount is smaller than $amount
if (bccomp($amount, '0') === -1 && bccomp($compare, $amount) === 1) {
Log::debug(sprintf('Max amount to remove is %f', $repetition->currentamount));
Log::debug(sprintf('Cannot remove %f from piggy bank #%d ("%s")', $amount, $piggyBank->id, $piggyBank->name));
Log::debug(sprintf('New amount is %f', $compare));
return $compare;
}
return $amount;
}
/**
* @param StoredTransactionJournal $event
*
* @return bool
*/
private function verifyExistence(StoredTransactionJournal $event): bool
{
/** @var TransactionJournal $journal */
$journal = $event->journal;
$piggyBankId = $event->piggyBankId;
/** @var PiggyBank $piggyBank */
$piggyBank = $journal->user->piggyBanks()->where('piggy_banks.id', $piggyBankId)->first(['piggy_banks.*']);
if (is_null($piggyBank)) {
Log::error('No such piggy bank!');
return false;
}
Log::debug(sprintf('Found piggy bank #%d: "%s"', $piggyBank->id, $piggyBank->name));
// update piggy bank rep for date of transaction journal.
$repetition = $piggyBank->piggyBankRepetitions()->relevantOnDate($journal->date)->first();
if (is_null($repetition)) {
Log::error(sprintf('No piggy bank repetition on %s!', $journal->date->format('Y-m-d')));
return false;
}
return true;
}
}

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Handlers\Events;
@@ -17,16 +17,31 @@ namespace FireflyIII\Handlers\Events;
use FireflyIII\Events\UpdatedTransactionJournal;
use FireflyIII\Models\Rule;
use FireflyIII\Models\RuleGroup;
use FireflyIII\Repositories\RuleGroup\RuleGroupRepositoryInterface;
use FireflyIII\Rules\Processor;
use FireflyIII\Support\Events\BillScanner;
/**
* @codeCoverageIgnore
*
* Class UpdatedJournalEventHandler
*
* @package FireflyIII\Handlers\Events
*/
class UpdatedJournalEventHandler
{
/** @var RuleGroupRepositoryInterface */
public $repository;
/**
* StoredJournalEventHandler constructor.
*
* @param RuleGroupRepositoryInterface $ruleGroupRepository
*/
public function __construct(RuleGroupRepositoryInterface $ruleGroupRepository)
{
$this->repository = $ruleGroupRepository;
}
/**
* This method will check all the rules when a journal is updated.
@@ -39,16 +54,11 @@ class UpdatedJournalEventHandler
{
// get all the user's rule groups, with the rules, order by 'order'.
$journal = $updatedJournalEvent->journal;
$groups = $journal->user->ruleGroups()->where('rule_groups.active', 1)->orderBy('order', 'ASC')->get();
//
$groups = $this->repository->getActiveGroups($journal->user);
/** @var RuleGroup $group */
foreach ($groups as $group) {
$rules = $group->rules()
->leftJoin('rule_triggers', 'rules.id', '=', 'rule_triggers.rule_id')
->where('rule_triggers.trigger_type', 'user_action')
->where('rule_triggers.trigger_value', 'update-journal')
->where('rules.active', 1)
->get(['rules.*']);
$rules = $this->repository->getActiveUpdateRules($group);
/** @var Rule $rule */
foreach ($rules as $rule) {
$processor = Processor::make($rule);

View File

@@ -9,14 +9,15 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Handlers\Events;
use FireflyIII\Events\RegisteredUser;
use FireflyIII\Events\RequestedNewPassword;
use FireflyIII\Mail\RegisteredUser as RegisteredUserMail;
use FireflyIII\Mail\RequestedNewPassword as RequestedNewPasswordMail;
use FireflyIII\Repositories\User\UserRepositoryInterface;
use Illuminate\Mail\Message;
use Log;
use Mail;
use Swift_TransportException;
@@ -68,15 +69,14 @@ class UserEventHandler
// send email.
try {
Mail::send(
['emails.password-html', 'emails.password-text'], ['url' => $url, 'ip' => $ipAddress], function (Message $message) use ($email) {
$message->to($email, $email)->subject('Your password reset request');
}
);
Mail::to($email)->send(new RequestedNewPasswordMail($url, $ipAddress));
// @codeCoverageIgnoreStart
} catch (Swift_TransportException $e) {
Log::error($e->getMessage());
}
// @codeCoverageIgnoreEnd
return true;
}
@@ -93,23 +93,23 @@ class UserEventHandler
$sendMail = env('SEND_REGISTRATION_MAIL', true);
if (!$sendMail) {
return true;
return true; // @codeCoverageIgnore
}
// get the email address
$email = $event->user->email;
$address = route('index');
$uri = route('index');
$ipAddress = $event->ipAddress;
// send email.
try {
Mail::send(
['emails.registered-html', 'emails.registered-text'], ['address' => $address, 'ip' => $ipAddress], function (Message $message) use ($email) {
$message->to($email, $email)->subject('Welcome to Firefly III!');
}
);
Mail::to($email)->send(new RegisteredUserMail($uri, $ipAddress));
// @codeCoverageIgnoreStart
} catch (Swift_TransportException $e) {
Log::error($e->getMessage());
}
// @codeCoverageIgnoreEnd
return true;
}
}

View File

@@ -9,13 +9,16 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Attachments;
use Crypt;
use FireflyIII\Models\Attachment;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Collection;
use Illuminate\Support\MessageBag;
use Log;
use Storage;
use Symfony\Component\HttpFoundation\File\UploadedFile;
@@ -27,6 +30,8 @@ use Symfony\Component\HttpFoundation\File\UploadedFile;
class AttachmentHelper implements AttachmentHelperInterface
{
/** @var Collection */
public $attachments;
/** @var MessageBag */
public $errors;
/** @var MessageBag */
@@ -48,6 +53,7 @@ class AttachmentHelper implements AttachmentHelperInterface
$this->allowedMimes = (array)config('firefly.allowedMimes');
$this->errors = new MessageBag;
$this->messages = new MessageBag;
$this->attachments = new Collection;
$this->uploadDisk = Storage::disk('upload');
}
@@ -63,6 +69,14 @@ class AttachmentHelper implements AttachmentHelperInterface
return $path;
}
/**
* @return Collection
*/
public function getAttachments(): Collection
{
return $this->attachments;
}
/**
* @return MessageBag
*/
@@ -85,7 +99,7 @@ class AttachmentHelper implements AttachmentHelperInterface
*
* @return bool
*/
public function saveAttachmentsForModel(Model $model, array $files = null): bool
public function saveAttachmentsForModel(Model $model, ?array $files): bool
{
if (is_array($files)) {
foreach ($files as $entry) {
@@ -109,7 +123,7 @@ class AttachmentHelper implements AttachmentHelperInterface
$md5 = md5_file($file->getRealPath());
$name = $file->getClientOriginalName();
$class = get_class($model);
$count = auth()->user()->attachments()->where('md5', $md5)->where('attachable_id', $model->id)->where('attachable_type', $class)->count();
$count = $model->user->attachments()->where('md5', $md5)->where('attachable_id', $model->id)->where('attachable_type', $class)->count();
if ($count > 0) {
$msg = (string)trans('validation.file_already_attached', ['name' => $name]);
@@ -136,7 +150,7 @@ class AttachmentHelper implements AttachmentHelperInterface
}
$attachment = new Attachment; // create Attachment object.
$attachment->user()->associate(auth()->user());
$attachment->user()->associate($model->user);
$attachment->attachable()->associate($model);
$attachment->md5 = md5_file($file->getRealPath());
$attachment->filename = $file->getClientOriginalName();
@@ -144,17 +158,21 @@ class AttachmentHelper implements AttachmentHelperInterface
$attachment->size = $file->getSize();
$attachment->uploaded = 0;
$attachment->save();
Log::debug('Created attachment:', $attachment->toArray());
$fileObject = $file->openFile('r');
$fileObject->rewind();
$content = $fileObject->fread($file->getSize());
$encrypted = Crypt::encrypt($content);
Log::debug(sprintf('Full file length is %d and upload size is %d.', strlen($content), $file->getSize()));
Log::debug(sprintf('Encrypted content is %d', strlen($encrypted)));
// store it:
$this->uploadDisk->put($attachment->fileName(), $encrypted);
$attachment->uploaded = 1; // update attachment
$attachment->save();
$this->attachments->push($attachment);
$name = e($file->getClientOriginalName()); // add message:
$msg = (string)trans('validation.file_attached', ['name' => $name]);
@@ -187,6 +205,8 @@ class AttachmentHelper implements AttachmentHelperInterface
}
/**
* @codeCoverageIgnore
*
* @param UploadedFile $file
*
* @return bool
@@ -217,7 +237,7 @@ class AttachmentHelper implements AttachmentHelperInterface
return false;
}
if (!$this->validSize($file)) {
return false;
return false; // @codeCoverageIgnore
}
if ($this->hasFile($file, $model)) {
return false;

View File

@@ -9,11 +9,13 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Attachments;
use FireflyIII\Models\Attachment;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Collection;
use Illuminate\Support\MessageBag;
/**
@@ -31,6 +33,11 @@ interface AttachmentHelperInterface
*/
public function getAttachmentLocation(Attachment $attachment): string;
/**
* @return Collection
*/
public function getAttachments(): Collection;
/**
* @return MessageBag
*/
@@ -42,10 +49,12 @@ interface AttachmentHelperInterface
public function getMessages(): MessageBag;
/**
* @param Model $model
* @param Model $model
*
* @param null|array $files
*
* @return bool
*/
public function saveAttachmentsForModel(Model $model, array $files = null): bool;
public function saveAttachmentsForModel(Model $model, ?array $files): bool;
}

View File

@@ -7,18 +7,23 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Chart;
use Carbon\Carbon;
use FireflyIII\Generator\Report\Support;
use FireflyIII\Helpers\Collector\JournalCollectorInterface;
use FireflyIII\Helpers\Filter\NegativeAmountFilter;
use FireflyIII\Helpers\Filter\OpposingAccountFilter;
use FireflyIII\Helpers\Filter\PositiveAmountFilter;
use FireflyIII\Helpers\Filter\TransferFilter;
use FireflyIII\Models\Tag;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionType;
use FireflyIII\Repositories\Account\AccountRepositoryInterface;
use FireflyIII\Repositories\Budget\BudgetRepositoryInterface;
use FireflyIII\Repositories\Category\CategoryRepositoryInterface;
use FireflyIII\Repositories\Tag\TagRepositoryInterface;
use FireflyIII\User;
use Illuminate\Support\Collection;
use Steam;
@@ -46,19 +51,20 @@ class MetaPieChart implements MetaPieChartInterface
'account' => ['opposing_account_id'],
'budget' => ['transaction_journal_budget_id', 'transaction_budget_id'],
'category' => ['transaction_journal_category_id', 'transaction_category_id'],
'tag' => [],
];
/** @var array */
protected $repositories
= [
'account' => AccountRepositoryInterface::class,
'budget' => BudgetRepositoryInterface::class,
'category' => CategoryRepositoryInterface::class,
'tag' => TagRepositoryInterface::class,
];
/** @var Carbon */
protected $start;
/** @var Collection */
protected $tags;
/** @var string */
protected $total = '0';
/** @var User */
@@ -69,6 +75,7 @@ class MetaPieChart implements MetaPieChartInterface
$this->accounts = new Collection;
$this->budgets = new Collection;
$this->categories = new Collection;
$this->tags = new Collection;
}
/**
@@ -99,6 +106,7 @@ class MetaPieChart implements MetaPieChartInterface
if ($this->collectOtherObjects && $direction === 'income') {
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setUser($this->user);
$collector->setAccounts($this->accounts)->setRange($this->start, $this->end)->setTypes([TransactionType::DEPOSIT]);
$journals = $collector->getJournals();
$sum = strval($journals->sum('transaction_amount'));
@@ -111,6 +119,8 @@ class MetaPieChart implements MetaPieChartInterface
}
/**
* @codeCoverageIgnore
*
* @param Collection $accounts
*
* @return MetaPieChartInterface
@@ -123,6 +133,8 @@ class MetaPieChart implements MetaPieChartInterface
}
/**
* @codeCoverageIgnore
*
* @param Collection $budgets
*
* @return MetaPieChartInterface
@@ -135,6 +147,8 @@ class MetaPieChart implements MetaPieChartInterface
}
/**
* @codeCoverageIgnore
*
* @param Collection $categories
*
* @return MetaPieChartInterface
@@ -147,6 +161,8 @@ class MetaPieChart implements MetaPieChartInterface
}
/**
* @codeCoverageIgnore
*
* @param bool $collectOtherObjects
*
* @return MetaPieChartInterface
@@ -159,6 +175,8 @@ class MetaPieChart implements MetaPieChartInterface
}
/**
* @codeCoverageIgnore
*
* @param Carbon $end
*
* @return MetaPieChartInterface
@@ -171,6 +189,8 @@ class MetaPieChart implements MetaPieChartInterface
}
/**
* @codeCoverageIgnore
*
* @param Carbon $start
*
* @return MetaPieChartInterface
@@ -183,6 +203,22 @@ class MetaPieChart implements MetaPieChartInterface
}
/**
* @codeCoverageIgnore
*
* @param Collection $tags
*
* @return MetaPieChartInterface
*/
public function setTags(Collection $tags): MetaPieChartInterface
{
$this->tags = $tags;
return $this;
}
/**
* @codeCoverageIgnore
*
* @param User $user
*
* @return MetaPieChartInterface
@@ -194,23 +230,32 @@ class MetaPieChart implements MetaPieChartInterface
return $this;
}
protected function getTransactions(string $direction)
/**
* @param string $direction
*
* @return Collection
*/
protected function getTransactions(string $direction): Collection
{
$types = [TransactionType::DEPOSIT, TransactionType::TRANSFER];
$modifier = -1;
if ($direction === 'expense') {
$types = [TransactionType::WITHDRAWAL, TransactionType::TRANSFER];
$modifier = 1;
}
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$types = [TransactionType::DEPOSIT, TransactionType::TRANSFER];
$collector->addFilter(NegativeAmountFilter::class);
if ($direction === 'expense') {
$types = [TransactionType::WITHDRAWAL, TransactionType::TRANSFER];
$collector->addFilter(PositiveAmountFilter::class);
$collector->removeFilter(NegativeAmountFilter::class);
}
$collector->setUser($this->user);
$collector->setAccounts($this->accounts);
$collector->setRange($this->start, $this->end);
$collector->setTypes($types);
$collector->withOpposingAccount();
$collector->addFilter(OpposingAccountFilter::class);
if ($direction === 'income') {
$collector->disableFilter();
$collector->removeFilter(TransferFilter::class);
}
if ($this->budgets->count() > 0) {
@@ -219,12 +264,13 @@ class MetaPieChart implements MetaPieChartInterface
if ($this->categories->count() > 0) {
$collector->setCategories($this->categories);
}
if ($this->tags->count() > 0) {
$collector->setTags($this->tags);
$collector->withCategoryInformation();
$collector->withBudgetInformation();
}
$accountIds = $this->accounts->pluck('id')->toArray();
$transactions = $collector->getJournals();
$set = Support::filterTransactions($transactions, $accountIds, $modifier);
return $set;
return $collector->getJournals();
}
/**
@@ -233,8 +279,13 @@ class MetaPieChart implements MetaPieChartInterface
*
* @return array
*/
protected function groupByFields(Collection $set, array $fields)
protected function groupByFields(Collection $set, array $fields): array
{
if (count($fields) === 0 && $this->tags->count() > 0) {
// do a special group on tags:
return $this->groupByTag($set);
}
$grouped = [];
/** @var Transaction $transaction */
foreach ($set as $transaction) {
@@ -261,10 +312,11 @@ class MetaPieChart implements MetaPieChartInterface
$chartData = [];
$names = [];
$repository = app($this->repositories[$type]);
$repository->setUser($this->user);
foreach ($array as $objectId => $amount) {
if (!isset($names[$objectId])) {
$object = $repository->find(intval($objectId));
$names[$objectId] = $object->name;
$names[$objectId] = $object->name ?? $object->tag;
}
$amount = Steam::positive($amount);
$this->total = bcadd($this->total, $amount);
@@ -274,4 +326,27 @@ class MetaPieChart implements MetaPieChartInterface
return $chartData;
}
/**
* @param Collection $set
*
* @return array
*/
private function groupByTag(Collection $set): array
{
$grouped = [];
/** @var Transaction $transaction */
foreach ($set as $transaction) {
$journal = $transaction->transactionJournal;
$tags = $journal->tags;
/** @var Tag $tag */
foreach ($tags as $tag) {
$tagId = $tag->id;
$grouped[$tagId] = $grouped[$tagId] ?? '0';
$grouped[$tagId] = bcadd($transaction->transaction_amount, $grouped[$tagId]);
}
}
return $grouped;
}
}

View File

@@ -7,7 +7,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Chart;
@@ -72,6 +72,13 @@ interface MetaPieChartInterface
*/
public function setStart(Carbon $start): MetaPieChartInterface;
/**
* @param Collection $tags
*
* @return MetaPieChartInterface
*/
public function setTags(Collection $tags): MetaPieChartInterface;
/**
* @param User $user
*

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collection;
use Illuminate\Support\Collection;

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collection;
use FireflyIII\Models\Account as AccountModel;

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collection;
use FireflyIII\Models\Account as AccountModel;

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collection;
use Carbon\Carbon;
@@ -146,13 +147,13 @@ class BalanceLine
if ($this->getBudget() instanceof BudgetModel && !is_null($this->getBudget()->id)) {
return $this->getBudget()->name;
}
if ($this->getRole() == self::ROLE_DEFAULTROLE) {
if ($this->getRole() === self::ROLE_DEFAULTROLE) {
return strval(trans('firefly.no_budget'));
}
if ($this->getRole() == self::ROLE_TAGROLE) {
if ($this->getRole() === self::ROLE_TAGROLE) {
return strval(trans('firefly.coveredWithTags'));
}
if ($this->getRole() == self::ROLE_DIFFROLE) {
if ($this->getRole() === self::ROLE_DIFFROLE) {
return strval(trans('firefly.leftUnbalanced'));
}

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collection;
@@ -95,7 +96,7 @@ class Bill
{
$set = $this->bills->sortBy(
function (BillLine $bill) {
$active = intval($bill->getBill()->active) == 0 ? 1 : 0;
$active = intval($bill->getBill()->active) === 0 ? 1 : 0;
$name = $bill->getBill()->name;
return $active . $name;

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collection;
use Carbon\Carbon;

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collection;
use FireflyIII\Models\Category as CategoryModel;

View File

@@ -9,24 +9,27 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collector;
use Carbon\Carbon;
use Crypt;
use DB;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Helpers\Filter\FilterInterface;
use FireflyIII\Helpers\Filter\InternalTransferFilter;
use FireflyIII\Helpers\Filter\NegativeAmountFilter;
use FireflyIII\Helpers\Filter\OpposingAccountFilter;
use FireflyIII\Helpers\Filter\PositiveAmountFilter;
use FireflyIII\Helpers\Filter\TransferFilter;
use FireflyIII\Models\AccountType;
use FireflyIII\Models\Budget;
use FireflyIII\Models\Category;
use FireflyIII\Models\Tag;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionType;
use FireflyIII\Repositories\Account\AccountRepositoryInterface;
use FireflyIII\User;
use Illuminate\Contracts\Encryption\DecryptException;
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
use Illuminate\Database\Query\JoinClause;
use Illuminate\Pagination\LengthAwarePaginator;
@@ -55,25 +58,41 @@ class JournalCollector implements JournalCollectorInterface
'transaction_journals.description',
'transaction_journals.date',
'transaction_journals.encrypted',
'transaction_currencies.code as transaction_currency_code',
'transaction_types.type as transaction_type_type',
'transaction_journals.bill_id',
'bills.name as bill_name',
'bills.name_encrypted as bill_name_encrypted',
'transactions.id as id',
'transactions.amount as transaction_amount',
'transactions.description as transaction_description',
'transactions.account_id',
'transactions.identifier',
'transactions.transaction_journal_id',
'transactions.amount as transaction_amount',
'transactions.transaction_currency_id as transaction_currency_id',
'transaction_currencies.code as transaction_currency_code',
'transaction_currencies.symbol as transaction_currency_symbol',
'transaction_currencies.decimal_places as transaction_currency_dp',
'transactions.foreign_amount as transaction_foreign_amount',
'transactions.foreign_currency_id as foreign_currency_id',
'foreign_currencies.code as foreign_currency_code',
'foreign_currencies.symbol as foreign_currency_symbol',
'foreign_currencies.decimal_places as foreign_currency_dp',
'accounts.name as account_name',
'accounts.encrypted as account_encrypted',
'accounts.iban as account_iban',
'account_types.type as account_type',
];
/** @var bool */
private $filterInternalTransfers;
/** @var bool */
private $filterTransfers = false;
/** @var array */
private $filters = [InternalTransferFilter::class];
/** @var bool */
private $joinedBudget = false;
/** @var bool */
@@ -95,6 +114,22 @@ class JournalCollector implements JournalCollectorInterface
/** @var User */
private $user;
/**
* @param string $filter
*
* @return JournalCollectorInterface
*/
public function addFilter(string $filter): JournalCollectorInterface
{
$interfaces = class_implements($filter);
if (in_array(FilterInterface::class, $interfaces)) {
Log::debug(sprintf('Enabled filter %s', $filter));
$this->filters[] = $filter;
}
return $this;
}
/**
* @return int
* @throws FireflyException
@@ -119,36 +154,6 @@ class JournalCollector implements JournalCollectorInterface
return $this->count;
}
/**
* @return JournalCollectorInterface
*/
public function disableFilter(): JournalCollectorInterface
{
$this->filterTransfers = false;
return $this;
}
/**
* @return JournalCollectorInterface
*/
public function disableInternalFilter(): JournalCollectorInterface
{
$this->filterInternalTransfers = false;
return $this;
}
/**
* @return JournalCollectorInterface
*/
public function enableInternalFilter(): JournalCollectorInterface
{
$this->filterInternalTransfers = true;
return $this;
}
/**
* @return Collection
*/
@@ -157,14 +162,9 @@ class JournalCollector implements JournalCollectorInterface
$this->run = true;
/** @var Collection $set */
$set = $this->query->get(array_values($this->fields));
Log::debug(sprintf('Count of set is %d', $set->count()));
$set = $this->filterTransfers($set);
Log::debug(sprintf('Count of set after filterTransfers() is %d', $set->count()));
// possibly filter "internal" transfers:
$set = $this->filterInternalTransfers($set);
Log::debug(sprintf('Count of set after filterInternalTransfers() is %d', $set->count()));
// run all filters:
$set = $this->filter($set);
// loop for decryption.
$set->each(
@@ -175,12 +175,10 @@ class JournalCollector implements JournalCollectorInterface
if (!is_null($transaction->bill_name)) {
$transaction->bill_name = Steam::decrypt(intval($transaction->bill_name_encrypted), $transaction->bill_name);
}
$transaction->opposing_account_name = app('steam')->tryDecrypt($transaction->opposing_account_name);
$transaction->account_iban = app('steam')->tryDecrypt($transaction->account_iban);
$transaction->opposing_account_iban = app('steam')->tryDecrypt($transaction->opposing_account_iban);
try {
$transaction->opposing_account_name = Crypt::decrypt($transaction->opposing_account_name);
} catch (DecryptException $e) {
// if this fails its already decrypted.
}
}
);
@@ -204,6 +202,22 @@ class JournalCollector implements JournalCollectorInterface
return $journals;
}
/**
* @param string $filter
*
* @return JournalCollectorInterface
*/
public function removeFilter(string $filter): JournalCollectorInterface
{
$key = array_search($filter, $this->filters, true);
if (!($key === false)) {
Log::debug(sprintf('Removed filter %s', $filter));
unset($this->filters[$key]);
}
return $this;
}
/**
* @param Collection $accounts
*
@@ -219,6 +233,7 @@ class JournalCollector implements JournalCollectorInterface
}
if ($accounts->count() > 1) {
$this->addFilter(TransferFilter::class);
$this->filterTransfers = true;
}
@@ -242,6 +257,7 @@ class JournalCollector implements JournalCollectorInterface
}
if ($accounts->count() > 1) {
$this->addFilter(TransferFilter::class);
$this->filterTransfers = true;
}
@@ -381,6 +397,10 @@ class JournalCollector implements JournalCollectorInterface
*/
public function setPage(int $page): JournalCollectorInterface
{
if ($page < 1) {
$page = 1;
}
$this->page = $page;
if ($page > 0) {
@@ -430,6 +450,20 @@ class JournalCollector implements JournalCollectorInterface
return $this;
}
/**
* @param Collection $tags
*
* @return JournalCollectorInterface
*/
public function setTags(Collection $tags): JournalCollectorInterface
{
$this->joinTagTables();
$tagIds = $tags->pluck('id')->toArray();
$this->query->whereIn('tag_transaction_journal.tag_id', $tagIds);
return $this;
}
/**
* @param array $types
*
@@ -450,7 +484,9 @@ class JournalCollector implements JournalCollectorInterface
*/
public function setUser(User $user)
{
Log::debug(sprintf('Journal collector now collecting for user #%d', $user->id));
$this->user = $user;
$this->startQuery();
}
/**
@@ -458,19 +494,22 @@ class JournalCollector implements JournalCollectorInterface
*/
public function startQuery()
{
Log::debug('journalCollector::startQuery');
/** @var EloquentBuilder $query */
$query = Transaction::leftJoin('transaction_journals', 'transaction_journals.id', '=', 'transactions.transaction_journal_id')
->leftJoin('transaction_currencies', 'transaction_currencies.id', 'transaction_journals.transaction_currency_id')
->leftJoin('transaction_types', 'transaction_types.id', 'transaction_journals.transaction_type_id')
->leftJoin('bills', 'bills.id', 'transaction_journals.bill_id')
->leftJoin('accounts', 'accounts.id', '=', 'transactions.account_id')
->leftJoin('account_types', 'accounts.account_type_id', 'account_types.id')
->leftJoin('transaction_currencies', 'transaction_currencies.id', 'transactions.transaction_currency_id')
->leftJoin('transaction_currencies as foreign_currencies', 'foreign_currencies.id', 'transactions.foreign_currency_id')
->whereNull('transactions.deleted_at')
->whereNull('transaction_journals.deleted_at')
->where('transaction_journals.user_id', $this->user->id)
->orderBy('transaction_journals.date', 'DESC')
->orderBy('transaction_journals.order', 'ASC')
->orderBy('transaction_journals.id', 'DESC');
->orderBy('transaction_journals.id', 'DESC')
->orderBy('transaction_journals.description', 'DESC');
$this->query = $query;
@@ -546,79 +585,23 @@ class JournalCollector implements JournalCollectorInterface
*
* @return Collection
*/
private function filterInternalTransfers(Collection $set): Collection
private function filter(Collection $set): Collection
{
if ($this->filterInternalTransfers === false) {
Log::debug('Did NO filtering for internal transfers on given set.');
return $set;
}
if ($this->joinedOpposing === false) {
Log::info('Cannot filter internal transfers because no opposing information is present.');
return $set;
}
$accountIds = $this->accountIds;
$set = $set->filter(
function (Transaction $transaction) use ($accountIds) {
// both id's in $accountids?
if (in_array($transaction->account_id, $accountIds) && in_array($transaction->opposing_account_id, $accountIds)) {
Log::debug(
sprintf(
'Transaction #%d has #%d and #%d in set, so removed',
$transaction->id, $transaction->account_id, $transaction->opposing_account_id
), $accountIds
);
return false;
}
return $transaction;
// create all possible filters:
$filters = [
InternalTransferFilter::class => new InternalTransferFilter($this->accountIds),
OpposingAccountFilter::class => new OpposingAccountFilter($this->accountIds),
TransferFilter::class => new TransferFilter,
PositiveAmountFilter::class => new PositiveAmountFilter,
NegativeAmountFilter::class => new NegativeAmountFilter,
];
Log::debug(sprintf('Will run %d filters on the set.', count($this->filters)));
foreach ($this->filters as $enabled) {
if (isset($filters[$enabled])) {
Log::debug(sprintf('Before filter %s: %d', $enabled, $set->count()));
$set = $filters[$enabled]->filter($set);
Log::debug(sprintf('After filter %s: %d', $enabled, $set->count()));
}
);
return $set;
}
/**
* If the set of accounts used by the collector includes more than one asset
* account, chances are the set include double entries: transfers get selected
* on both the source, and then again on the destination account.
*
* This method filters them out by removing transfers that have been selected twice.
*
* @param Collection $set
*
* @return Collection
*/
private function filterTransfers(Collection $set): Collection
{
if ($this->filterTransfers) {
$count = [];
$new = new Collection;
/** @var Transaction $transaction */
foreach ($set as $transaction) {
if ($transaction->transaction_type_type !== TransactionType::TRANSFER) {
$new->push($transaction);
continue;
}
// make property string:
$journalId = $transaction->transaction_journal_id;
$amount = Steam::positive($transaction->transaction_amount);
$accountIds = [intval($transaction->account_id), intval($transaction->opposing_account_id)];
sort($accountIds);
$key = $journalId . '-' . join(',', $accountIds) . '-' . $amount;
Log::debug(sprintf('Key is %s', $key));
if (!isset($count[$key])) {
// not yet counted? add to new set and count it:
$new->push($transaction);
$count[$key] = 1;
}
}
return $new;
}
return $set;
@@ -636,6 +619,8 @@ class JournalCollector implements JournalCollectorInterface
$this->query->leftJoin('budgets as transaction_journal_budgets', 'transaction_journal_budgets.id', '=', 'budget_transaction_journal.budget_id');
$this->query->leftJoin('budget_transaction', 'budget_transaction.transaction_id', '=', 'transactions.id');
$this->query->leftJoin('budgets as transaction_budgets', 'transaction_budgets.id', '=', 'budget_transaction.budget_id');
$this->query->whereNull('transaction_journal_budgets.deleted_at');
$this->query->whereNull('transaction_budgets.deleted_at');
$this->fields[] = 'budget_transaction_journal.budget_id as transaction_journal_budget_id';
$this->fields[] = 'transaction_journal_budgets.encrypted as transaction_journal_budget_encrypted';
@@ -692,9 +677,12 @@ class JournalCollector implements JournalCollectorInterface
$this->query->leftJoin('account_types as opposing_account_types', 'opposing_accounts.account_type_id', '=', 'opposing_account_types.id');
$this->query->whereNull('opposing.deleted_at');
$this->fields[] = 'opposing.account_id as opposing_account_id';
$this->fields[] = 'opposing_accounts.name as opposing_account_name';
$this->fields[] = 'opposing_accounts.encrypted as opposing_account_encrypted';
$this->fields[] = 'opposing.id as opposing_id';
$this->fields[] = 'opposing.account_id as opposing_account_id';
$this->fields[] = 'opposing_accounts.name as opposing_account_name';
$this->fields[] = 'opposing_accounts.encrypted as opposing_account_encrypted';
$this->fields[] = 'opposing_accounts.iban as opposing_account_iban';
$this->fields[] = 'opposing_account_types.type as opposing_account_type';
$this->joinedOpposing = true;
Log::debug('joinedOpposing is now true!');

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Collector;
@@ -28,26 +28,18 @@ use Illuminate\Support\Collection;
*/
interface JournalCollectorInterface
{
/**
* @param string $filter
*
* @return JournalCollectorInterface
*/
public function addFilter(string $filter): JournalCollectorInterface;
/**
* @return int
*/
public function count(): int;
/**
* @return JournalCollectorInterface
*/
public function disableFilter(): JournalCollectorInterface;
/**
* @return JournalCollectorInterface
*/
public function disableInternalFilter(): JournalCollectorInterface;
/**
* @return JournalCollectorInterface
*/
public function enableInternalFilter(): JournalCollectorInterface;
/**
* @return Collection
*/
@@ -58,6 +50,13 @@ interface JournalCollectorInterface
*/
public function getPaginatedJournals(): LengthAwarePaginator;
/**
* @param string $filter
*
* @return JournalCollectorInterface
*/
public function removeFilter(string $filter): JournalCollectorInterface;
/**
* @param Collection $accounts
*
@@ -141,6 +140,13 @@ interface JournalCollectorInterface
*/
public function setTag(Tag $tag): JournalCollectorInterface;
/**
* @param Collection $tags
*
* @return JournalCollectorInterface
*/
public function setTags(Collection $tags): JournalCollectorInterface;
/**
* @param array $types
*

View File

@@ -0,0 +1,56 @@
<?php
/**
* AmountFilter.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Filter;
use FireflyIII\Models\Transaction;
use Illuminate\Support\Collection;
use Log;
/**
* Class AmountFilter
*
* This filter removes transactions with either a positive amount ($parameters = 1) or a negative amount
* ($parameter = -1). This is helpful when a Collection has you with both transactions in a journal.
*
* @package FireflyIII\Helpers\Filter
*/
class AmountFilter implements FilterInterface
{
/** @var int */
private $modifier = 0;
public function __construct(int $modifier)
{
$this->modifier = $modifier;
}
/**
* @param Collection $set
*
* @return Collection
*/
public function filter(Collection $set): Collection
{
return $set->filter(
function (Transaction $transaction) {
// remove by amount
if (bccomp($transaction->transaction_amount, '0') === $this->modifier) {
Log::debug(sprintf('Filtered #%d because amount is %f.', $transaction->id, $transaction->transaction_amount));
return null;
}
return $transaction;
}
);
}
}

View File

@@ -0,0 +1,34 @@
<?php
/**
* EmptyFilter.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Filter;
use Illuminate\Support\Collection;
/**
* Class EmptyFilter
*
* @package FireflyIII\Helpers\Filter
*/
class EmptyFilter implements FilterInterface
{
/**
* @param Collection $set
*
* @return Collection
*/
public function filter(Collection $set): Collection
{
return $set;
}
}

View File

@@ -0,0 +1,26 @@
<?php
/**
* FilterInterface.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Filter;
use Illuminate\Support\Collection;
interface FilterInterface
{
/**
* @param Collection $set
*
* @return Collection
*/
public function filter(Collection $set): Collection;
}

View File

@@ -0,0 +1,73 @@
<?php
/**
* InternalTransferFilter.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Filter;
use FireflyIII\Models\Transaction;
use Illuminate\Support\Collection;
use Log;
/**
* Class InternalTransferFilter
*
* This filter removes any filters that are from A to B or from B to A given a set of
* account id's (in $parameters) where A and B are mentioned. So transfers between the mentioned
* accounts will be removed.
*
* @package FireflyIII\Helpers\Filter
*/
class InternalTransferFilter implements FilterInterface
{
/** @var array */
private $accounts = [];
/**
* InternalTransferFilter constructor.
*
* @param array $accounts
*/
public function __construct(array $accounts)
{
$this->accounts = $accounts;
}
/**
* @param Collection $set
*
* @return Collection
*/
public function filter(Collection $set): Collection
{
return $set->filter(
function (Transaction $transaction) {
if (is_null($transaction->opposing_account_id)) {
return $transaction;
}
// both id's in $parameters?
if (in_array($transaction->account_id, $this->accounts) && in_array($transaction->opposing_account_id, $this->accounts)) {
Log::debug(
sprintf(
'Transaction #%d has #%d and #%d in set, so removed',
$transaction->id, $transaction->account_id, $transaction->opposing_account_id
), $this->accounts
);
return false;
}
return $transaction;
}
);
}
}

View File

@@ -0,0 +1,47 @@
<?php
/**
* NegativeAmountFilter.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Filter;
use FireflyIII\Models\Transaction;
use Illuminate\Support\Collection;
use Log;
/**
* Class NegativeAmountFilter
*
* This filter removes entries with a negative amount (the original modifier is -1).
*
* @package FireflyIII\Helpers\Filter
*/
class NegativeAmountFilter implements FilterInterface
{
/**
* @param Collection $set
*
* @return Collection
*/
public function filter(Collection $set): Collection
{
return $set->filter(
function (Transaction $transaction) {
// remove by amount
if (bccomp($transaction->transaction_amount, '0') === -1) {
Log::debug(sprintf('Filtered #%d because amount is %f.', $transaction->id, $transaction->transaction_amount));
return null;
}
return $transaction;
}
);
}
}

View File

@@ -0,0 +1,63 @@
<?php
/**
* OpposingAccountFilter.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Filter;
use FireflyIII\Models\Transaction;
use Illuminate\Support\Collection;
use Log;
/**
* Class OpposingAccountFilter
*
* This filter is similar to the internal transfer filter but only removes transactions when the opposing account is
* amongst $parameters (list of account ID's).
*
* @package FireflyIII\Helpers\Filter
*/
class OpposingAccountFilter implements FilterInterface
{
/** @var array */
private $accounts = [];
/**
* InternalTransferFilter constructor.
*
* @param array $accounts
*/
public function __construct(array $accounts)
{
$this->accounts = $accounts;
}
/**
* @param Collection $set
*
* @return Collection
*/
public function filter(Collection $set): Collection
{
return $set->filter(
function (Transaction $transaction) {
$opposing = $transaction->opposing_account_id;
// remove internal transfer
if (in_array($opposing, $this->accounts)) {
Log::debug(sprintf('Filtered #%d because its opposite is in accounts.', $transaction->id), $this->accounts);
return null;
}
return $transaction;
}
);
}
}

View File

@@ -0,0 +1,50 @@
<?php
/**
* PositiveAmountFilter.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Filter;
use FireflyIII\Models\Transaction;
use Illuminate\Support\Collection;
use Log;
/**
* Class PositiveAmountFilter
*
* This filter removes entries with a negative amount (the original modifier is -1).
*
* This filter removes transactions with either a positive amount ($parameters = 1) or a negative amount
* ($parameter = -1). This is helpful when a Collection has you with both transactions in a journal.
*
* @package FireflyIII\Helpers\Filter
*/
class PositiveAmountFilter implements FilterInterface
{
/**
* @param Collection $set
*
* @return Collection
*/
public function filter(Collection $set): Collection
{
return $set->filter(
function (Transaction $transaction) {
// remove by amount
if (bccomp($transaction->transaction_amount, '0') === 1) {
Log::debug(sprintf('Filtered #%d because amount is %f.', $transaction->id, $transaction->transaction_amount));
return null;
}
return $transaction;
}
);
}
}

View File

@@ -0,0 +1,60 @@
<?php
/**
* TransferFilter.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Filter;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionType;
use Illuminate\Support\Collection;
use Steam;
/**
* Class TransferFilter
*
* This filter removes any transfers that are in the collection twice (from A to B and from B to A).
*
* @package FireflyIII\Helpers\Filter
*/
class TransferFilter implements FilterInterface
{
/**
* @param Collection $set
*
* @return Collection
*/
public function filter(Collection $set): Collection
{
$count = [];
$new = new Collection;
/** @var Transaction $transaction */
foreach ($set as $transaction) {
if ($transaction->transaction_type_type !== TransactionType::TRANSFER) {
$new->push($transaction);
continue;
}
// make property string:
$journalId = $transaction->transaction_journal_id;
$amount = Steam::positive($transaction->transaction_amount);
$accountIds = [intval($transaction->account_id), intval($transaction->opposing_account_id)];
$transactionIds = [$transaction->id, intval($transaction->opposing_id)];
sort($accountIds);
sort($transactionIds);
$key = $journalId . '-' . join(',', $transactionIds) . '-' . join(',', $accountIds) . '-' . $amount;
if (!isset($count[$key])) {
// not yet counted? add to new set and count it:
$new->push($transaction);
$count[$key] = 1;
}
}
return $new;
}
}

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers;

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Help;
use Cache;
@@ -26,6 +27,7 @@ use Route;
*/
class Help implements HelpInterface
{
const CACHEKEY = 'help_%s_%s';
/** @var string */
protected $userAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36';
@@ -37,18 +39,18 @@ class Help implements HelpInterface
*/
public function getFromCache(string $route, string $language): string
{
$line = sprintf('help.%s.%s', $route, $language);
$line = sprintf(self::CACHEKEY, $route, $language);
return Cache::get($line);
}
/**
* @param string $language
* @param string $route
* @param string $language
*
* @return string
*/
public function getFromGithub(string $language, string $route): string
public function getFromGithub(string $route, string $language): string
{
$uri = sprintf('https://raw.githubusercontent.com/firefly-iii/help/master/%s/%s.md', $language, $route);
@@ -63,12 +65,12 @@ class Help implements HelpInterface
return '';
}
Log::debug(sprintf('Status code is %d', $result->status_code));
if ($result->status_code === 200) {
$content = trim($result->body);
}
if (strlen($content) > 0) {
Log::debug('Content is longer than zero. Expect something.');
$converter = new CommonMarkConverter();
@@ -97,7 +99,7 @@ class Help implements HelpInterface
*/
public function inCache(string $route, string $language): bool
{
$line = sprintf('help.%s.%s', $route, $language);
$line = sprintf(self::CACHEKEY, $route, $language);
$result = Cache::has($line);
if ($result) {
Log::debug(sprintf('Cache has this entry: %s', 'help.' . $route . '.' . $language));
@@ -119,10 +121,11 @@ class Help implements HelpInterface
*/
public function putInCache(string $route, string $language, string $content)
{
$key = sprintf('help.%s.%s', $route, $language);
$key = sprintf(self::CACHEKEY, $route, $language);
if (strlen($content) > 0) {
Log::debug(sprintf('Will store entry in cache: %s', $key));
Cache::put($key, $content, 10080); // a week.
return;
}
Log::info(sprintf('Will not cache %s because content is empty.', $key));

View File

@@ -9,7 +9,8 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Help;
/**
@@ -29,12 +30,12 @@ interface HelpInterface
public function getFromCache(string $route, string $language): string;
/**
* @param string $language
* @param string $route
* @param string $language
*
* @return string
*/
public function getFromGithub(string $language, string $route): string;
public function getFromGithub(string $route, string $language): string;
/**
* @param string $route

View File

@@ -9,21 +9,17 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Report;
use Carbon\Carbon;
use DB;
use FireflyIII\Helpers\Collection\Balance;
use FireflyIII\Helpers\Collection\BalanceEntry;
use FireflyIII\Helpers\Collection\BalanceHeader;
use FireflyIII\Helpers\Collection\BalanceLine;
use FireflyIII\Models\BudgetLimit;
use FireflyIII\Models\Tag;
use FireflyIII\Models\TransactionType;
use FireflyIII\Repositories\Budget\BudgetRepositoryInterface;
use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
use Log;
@@ -74,14 +70,9 @@ class BalanceReportHelper implements BalanceReportHelperInterface
$line = $this->createBalanceLine($budgetLimit, $accounts);
$balance->addBalanceLine($line);
}
Log::debug('Create rest of the things.');
$noBudgetLine = $this->createNoBudgetLine($accounts, $start, $end);
$coveredByTagLine = $this->createTagsBalanceLine($accounts, $start, $end);
$leftUnbalancedLine = $this->createLeftUnbalancedLine($noBudgetLine, $coveredByTagLine);
$noBudgetLine = $this->createNoBudgetLine($accounts, $start, $end);
$balance->addBalanceLine($noBudgetLine);
$balance->addBalanceLine($coveredByTagLine);
$balance->addBalanceLine($leftUnbalancedLine);
$balance->setBalanceHeader($header);
Log::debug('Clear unused budgets.');
@@ -93,54 +84,6 @@ class BalanceReportHelper implements BalanceReportHelperInterface
return $balance;
}
/**
* This method collects all transfers that are part of a "balancing act" tag
* and groups the amounts of those transfers by their destination account.
*
* This is used to indicate which expenses, usually outside of budgets, have been
* corrected by transfers from a savings account.
*
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return Collection
*/
private function allCoveredByBalancingActs(Collection $accounts, Carbon $start, Carbon $end): Collection
{
$ids = $accounts->pluck('id')->toArray();
$set = auth()->user()->tags()
->leftJoin('tag_transaction_journal', 'tag_transaction_journal.tag_id', '=', 'tags.id')
->leftJoin('transaction_journals', 'tag_transaction_journal.transaction_journal_id', '=', 'transaction_journals.id')
->leftJoin('transaction_types', 'transaction_journals.transaction_type_id', '=', 'transaction_types.id')
->leftJoin(
'transactions AS t_source', function (JoinClause $join) {
$join->on('transaction_journals.id', '=', 't_source.transaction_journal_id')->where('t_source.amount', '<', 0);
}
)
->leftJoin(
'transactions AS t_destination', function (JoinClause $join) {
$join->on('transaction_journals.id', '=', 't_destination.transaction_journal_id')->where('t_destination.amount', '>', 0);
}
)
->where('tags.tagMode', 'balancingAct')
->where('transaction_types.type', TransactionType::TRANSFER)
->where('transaction_journals.date', '>=', $start->format('Y-m-d'))
->where('transaction_journals.date', '<=', $end->format('Y-m-d'))
->whereNull('transaction_journals.deleted_at')
->whereIn('t_source.account_id', $ids)
->whereIn('t_destination.account_id', $ids)
->groupBy('t_destination.account_id')
->get(
[
't_destination.account_id',
DB::raw('SUM(t_destination.amount) AS sum'),
]
);
return $set;
}
/**
* @param BudgetLimit $budgetLimit
@@ -168,40 +111,6 @@ class BalanceReportHelper implements BalanceReportHelperInterface
return $line;
}
/**
* @param BalanceLine $noBudgetLine
* @param BalanceLine $coveredByTagLine
*
* @return BalanceLine
*/
private function createLeftUnbalancedLine(BalanceLine $noBudgetLine, BalanceLine $coveredByTagLine): BalanceLine
{
$line = new BalanceLine;
$line->setRole(BalanceLine::ROLE_DIFFROLE);
$noBudgetEntries = $noBudgetLine->getBalanceEntries();
$tagEntries = $coveredByTagLine->getBalanceEntries();
foreach ($noBudgetEntries as $entry) {
$account = $entry->getAccount();
$tagEntry = $tagEntries->filter(
function (BalanceEntry $current) use ($account) {
return $current->getAccount()->id === $account->id;
}
);
if ($tagEntry->first()) {
// found corresponding entry. As we should:
$newEntry = new BalanceEntry;
$newEntry->setAccount($account);
$spent = bcadd($tagEntry->first()->getLeft(), $entry->getSpent());
$newEntry->setSpent($spent);
$line->addBalanceEntry($newEntry);
}
}
return $line;
}
/**
* @param Collection $accounts
@@ -227,41 +136,6 @@ class BalanceReportHelper implements BalanceReportHelperInterface
return $empty;
}
/**
* @param Collection $accounts
* @param Carbon $start
* @param Carbon $end
*
* @return BalanceLine
*/
private function createTagsBalanceLine(Collection $accounts, Carbon $start, Carbon $end): BalanceLine
{
$tags = new BalanceLine;
$tagsLeft = $this->allCoveredByBalancingActs($accounts, $start, $end);
$tags->setRole(BalanceLine::ROLE_TAGROLE);
foreach ($accounts as $account) {
$leftEntry = $tagsLeft->filter(
function (Tag $tag) use ($account) {
return $tag->account_id == $account->id;
}
);
$left = '0';
if (!is_null($leftEntry->first())) {
$left = $leftEntry->first()->sum;
}
// balanced by tags
$tagEntry = new BalanceEntry;
$tagEntry->setAccount($account);
$tagEntry->setLeft($left);
$tags->addBalanceEntry($tagEntry);
}
return $tags;
}
/**
* @param Balance $balance

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Report;

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Report;
@@ -56,7 +56,7 @@ class BudgetReportHelper implements BudgetReportHelperInterface
/** @var Budget $budget */
foreach ($set as $budget) {
$budgetLimits = $this->repository->getBudgetLimits($budget, $start, $end);
if ($budgetLimits->count() == 0) { // no budget limit(s) for this budget
if ($budgetLimits->count() === 0) { // no budget limit(s) for this budget
$spent = $this->repository->spentInPeriod(new Collection([$budget]), $accounts, $start, $end);// spent for budget in time range
if (bccomp($spent, '0') === -1) {

View File

@@ -9,7 +9,7 @@
* See the LICENSE file for details.
*/
declare(strict_types = 1);
declare(strict_types=1);
namespace FireflyIII\Helpers\Report;

View File

@@ -0,0 +1,199 @@
<?php
/**
* PopupReport.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Report;
use FireflyIII\Helpers\Collector\JournalCollectorInterface;
use FireflyIII\Models\Account;
use FireflyIII\Models\Budget;
use FireflyIII\Models\Category;
use FireflyIII\Models\Transaction;
use FireflyIII\Models\TransactionType;
use Illuminate\Support\Collection;
/**
* Class PopupReport
*
* @package FireflyIII\Helpers\Report
*/
class PopupReport implements PopupReportInterface
{
/**
* @param $account
* @param $attributes
*
* @return Collection
*/
public function balanceDifference($account, $attributes): Collection
{
// row that displays difference
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector
->setAccounts(new Collection([$account]))
->setTypes([TransactionType::WITHDRAWAL])
->setRange($attributes['startDate'], $attributes['endDate'])
->withoutBudget();
$journals = $collector->getJournals();
return $journals->filter(
function (Transaction $transaction) {
$tags = $transaction->transactionJournal->tags()->where('tagMode', 'balancingAct')->count();
if ($tags === 0) {
return true;
}
return false;
}
);
}
/**
* @param Budget $budget
* @param Account $account
* @param array $attributes
*
* @return Collection
*/
public function balanceForBudget(Budget $budget, Account $account, array $attributes): Collection
{
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts(new Collection([$account]))->setRange($attributes['startDate'], $attributes['endDate'])->setBudget($budget);
$journals = $collector->getJournals();
return $journals;
}
/**
* @param Account $account
* @param array $attributes
*
* @return Collection
*/
public function balanceForNoBudget(Account $account, array $attributes): Collection
{
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector
->setAccounts(new Collection([$account]))
->setTypes([TransactionType::WITHDRAWAL])
->setRange($attributes['startDate'], $attributes['endDate'])
->withoutBudget();
return $collector->getJournals();
}
/**
* @param Budget $budget
* @param array $attributes
*
* @return Collection
*/
public function byBudget(Budget $budget, array $attributes): Collection
{
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts($attributes['accounts'])->setRange($attributes['startDate'], $attributes['endDate']);
if (is_null($budget->id)) {
$collector->setTypes([TransactionType::WITHDRAWAL])->withoutBudget();
}
if (!is_null($budget->id)) {
$collector->setBudget($budget);
}
$journals = $collector->getJournals();
return $journals;
}
/**
* @param Category $category
* @param array $attributes
*
* @return Collection
*/
public function byCategory(Category $category, array $attributes): Collection
{
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts($attributes['accounts'])->setTypes([TransactionType::WITHDRAWAL, TransactionType::TRANSFER])
->setRange($attributes['startDate'], $attributes['endDate'])
->setCategory($category);
$journals = $collector->getJournals();
return $journals;
}
/**
* @param Account $account
* @param array $attributes
*
* @return Collection
*/
public function byExpenses(Account $account, array $attributes): Collection
{
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts(new Collection([$account]))->setRange($attributes['startDate'], $attributes['endDate'])
->setTypes([TransactionType::WITHDRAWAL, TransactionType::TRANSFER]);
$journals = $collector->getJournals();
$report = $attributes['accounts']->pluck('id')->toArray(); // accounts used in this report
// filter for transfers and withdrawals TO the given $account
$journals = $journals->filter(
function (Transaction $transaction) use ($report) {
// get the destinations:
$sources = $transaction->transactionJournal->sourceAccountList()->pluck('id')->toArray();
// do these intersect with the current list?
return !empty(array_intersect($report, $sources));
}
);
return $journals;
}
/**
* @param Account $account
* @param array $attributes
*
* @return Collection
*/
public function byIncome(Account $account, array $attributes): Collection
{
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setAccounts(new Collection([$account]))->setRange($attributes['startDate'], $attributes['endDate'])
->setTypes([TransactionType::DEPOSIT, TransactionType::TRANSFER]);
$journals = $collector->getJournals();
$report = $attributes['accounts']->pluck('id')->toArray(); // accounts used in this report
// filter the set so the destinations outside of $attributes['accounts'] are not included.
$journals = $journals->filter(
function (Transaction $transaction) use ($report) {
// get the destinations:
$destinations = $transaction->transactionJournal->destinationAccountList()->pluck('id')->toArray();
// do these intersect with the current list?
return !empty(array_intersect($report, $destinations));
}
);
return $journals;
}
}

View File

@@ -0,0 +1,83 @@
<?php
/**
* PopupReportInterface.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types=1);
namespace FireflyIII\Helpers\Report;
use FireflyIII\Models\Account;
use FireflyIII\Models\Budget;
use FireflyIII\Models\Category;
use Illuminate\Support\Collection;
/**
* Interface PopupReportInterface
*
* @package FireflyIII\Helpers\Report
*/
interface PopupReportInterface
{
/**
* @param $account
* @param $attributes
*
* @return Collection
*/
public function balanceDifference($account, $attributes): Collection;
/**
* @param Budget $budget
* @param Account $account
* @param array $attributes
*
* @return Collection
*/
public function balanceForBudget(Budget $budget, Account $account, array $attributes): Collection;
/**
* @param Account $account
* @param array $attributes
*
* @return Collection
*/
public function balanceForNoBudget(Account $account, array $attributes): Collection;
/**
* @param Budget $budget
* @param array $attributes
*
* @return Collection
*/
public function byBudget(Budget $budget, array $attributes): Collection;
/**
* @param Category $category
* @param array $attributes
*
* @return Collection
*/
public function byCategory(Category $category, array $attributes): Collection;
/**
* @param Account $account
* @param array $attributes
*
* @return Collection
*/
public function byExpenses(Account $account, array $attributes): Collection;
/**
* @param Account $account
* @param array $attributes
*
* @return Collection
*/
public function byIncome(Account $account, array $attributes): Collection;
}

Some files were not shown because too many files have changed in this diff Show More