Commit Graph

333 Commits

Author SHA1 Message Date
James Cole
8d806e6a1d
Fix issues related to #3111 2020-02-11 05:34:36 +01:00
James Cole
ac931698d3
Code for #3052 2020-02-07 20:51:25 +01:00
James Cole
e1577a4a76
Make sure update and edit work for location, API or not. 2020-01-02 19:12:40 +01:00
James Cole
ca260387a2
Make sure location data in request is processed in a unified way. 2020-01-01 14:27:43 +01:00
James Cole
a331b2d661
Same but for tags. 2019-12-30 21:04:22 +01:00
James Cole
e1186b48ec
Fix account name validator and make sure the location CRUD works in the API for accounts. 2019-12-30 20:44:52 +01:00
James Cole
54b049e106
Can edit and set location for accounts. 2019-12-30 12:12:08 +01:00
James Cole
4ad601f29d
Expand API so you can also submit IBAN, BIC or number for new accounts 2019-10-13 11:50:04 +02:00
James Cole
32ecac3b1f
Fix #2698 2019-10-06 07:03:34 +02:00
James Cole
92158e52ef
Update copyright of Firefly III to the GNU Affero General Public License as suggested by @nxxxse in #2607. This applies to all code in this commit from this moment onwards. 2019-10-02 06:37:26 +02:00
James Cole
cbde7037ab
Fix #2597 2019-09-13 17:17:57 +02:00
James Cole
377f31b910
Fix for #2547 2019-09-06 15:55:17 +02:00
James Cole
19feefda2d Improve test coverage. 2019-08-29 17:53:25 +02:00
James Cole
5fb7635100 Remove double lines from code. 2019-08-28 16:28:14 +02:00
James Cole
4ff8b3b556 Make sure user interface works for new recurring transactions. 2019-08-27 06:36:16 +02:00
James Cole
e209766ad0 Can also show and update notes. 2019-08-27 05:57:58 +02:00
James Cole
2b40b60d01 Push empty object {} and recurrence doesn't change. #2483 2019-08-26 19:09:55 +02:00
James Cole
f9dc58c3a8 Post new recurrence meta (piggy, tags) works. #2483 2019-08-26 18:44:04 +02:00
James Cole
7c5e10de33 And now also make sure that old meta data isn't changed. 2019-08-24 08:22:46 +02:00
James Cole
d836c8217d No longer have to submit mandatory fields to account end point. Just submit the field you wish to update, the rest will be untouched. 2019-08-24 07:56:08 +02:00
James Cole
c218a12af7
New command to make sure opening balance currency information is correct. 2019-08-18 13:01:38 +02:00
James Cole
ccc12171d6
Make sure all account meta data is deleted properly. 2019-08-18 09:00:15 +02:00
James Cole
fc78c32fca
Add newline to files 2019-08-17 12:09:03 +02:00
James Cole
c2296c3ad5
Code cleanup 2019-08-17 10:47:29 +02:00
James Cole
90c60e55f7
Fix #2401 2019-08-12 16:54:48 +02:00
James Cole
b7f3c53688
Fix #2388 2019-08-10 11:17:23 +02:00
James Cole
febaab62f7
Various fixes. Sorry, lazy day. 2019-08-03 06:27:56 +02:00
James Cole
9b574ce7ad
Improve test coverage. 2019-07-31 16:53:09 +02:00
James Cole
67c0ef6ec6
Improve test coverage. 2019-07-27 13:54:06 +02:00
James Cole
889b7e9a18
Improve mass controller and test controllers. 2019-07-20 16:02:50 +02:00
James Cole
4de537ce76
New code for edit transaction, and some tests. 2019-07-19 16:08:42 +02:00
James Cole
6197c77303
Improve recurrences 2019-06-29 19:47:40 +02:00
James Cole
956ec23d3c
Remove unnecessary slash from in_array() 2019-06-22 13:09:25 +02:00
James Cole
0f70cc5780
Improve account CRUD and tests. 2019-06-22 10:25:34 +02:00
James Cole
2d3d7f7720
Some generic code refactoring. 2019-06-21 19:10:02 +02:00
James Cole
bc33d1b67d
Renamed various fields from their old camel casing to new ones. 2019-06-16 13:16:04 +02:00
James Cole
aacd218056
Improve test coverage. 2019-06-13 06:39:05 +02:00
James Cole
85f9c256a1
Refactor some code for recurrences. 2019-06-08 06:19:21 +02:00
James Cole
8b5551fc26
Replace \get_class with get_class 2019-06-07 18:20:15 +02:00
James Cole
6a6d67f2b4
Split group update now works. 2019-06-02 16:33:25 +02:00
James Cole
2a2f29533d
Some improvements, also edit screen. 2019-06-01 20:38:18 +02:00
James Cole
8b7e87ae57
Big refactor to remove the deprecated transaction collector. 2019-05-30 12:31:19 +02:00
James Cole
c519b4d0df Is now capable of updating transactions over the API. 2019-04-06 08:10:50 +02:00
James Cole
5b1fb5354e Update API and transaction components. 2019-03-30 07:09:52 +01:00
James Cole
3545d894fd Improve factories and tests. 2019-03-18 16:52:49 +01:00
James Cole
431cf08401 Various improvements. 2019-03-08 05:47:51 +01:00
James Cole
e4fb223f77 Code for 4.8.0 2019-03-05 17:26:49 +01:00
James Cole
e0aa7f3ff5 Various code cleanup. 2019-02-16 08:05:48 +01:00
James Cole
e0d87aa11e First part of a large code cleanup commit. 2019-02-12 21:49:28 +01:00
James Cole
cec8210d8b Fix #2009 2019-01-27 17:09:39 +01:00
James Cole
7f91ff4b0c Fix #1996 2019-01-11 16:57:40 +01:00
James Cole
99b0b24a89
Enable currencies if not enabled yet. #1952 2019-01-01 17:17:38 +01:00
James Cole
2c7d94e5e9
Update tests and code. 2018-12-21 16:38:10 +01:00
James Cole
922c8703f5
Fix for #1890 2018-12-21 15:42:40 +01:00
James Cole
89942ee49c Improve test coverage for API. 2018-12-16 13:55:19 +01:00
James Cole
c54541b839 Learned that I should not refer to env vars directly so I removed all references. 2018-12-15 07:59:02 +01:00
James Cole
3f7f1a50e7
Fix #1864 2018-11-16 19:23:06 +01:00
James Cole
d1c7a9767a
Remove reference to temp_amount 2018-11-12 19:17:17 +01:00
James Cole
e491dda229
Currencies can now be enabled and disabled. 2018-11-10 10:04:46 +01:00
James Cole
daa8aa5c9d
Fix for #1858 2018-11-09 19:00:24 +01:00
Dennis Enderink
057619b157
Cast to string because trans() could return array 2018-10-27 23:26:04 +02:00
Dennis Enderink
81a23b5b22
Added translation for initial balance account name on creation 2018-10-27 23:20:54 +02:00
James Cole
8cd0d5e1ef Fix for #1798 2018-10-17 05:04:26 +02:00
HamuZ HamuZ
f696353e2c fix local references in upload/export disk. first step for #1727. 2018-10-13 09:56:26 +03:00
James Cole
03956af88a Warn when classes are used in testing environment; this means tests aren't efficient. 2018-09-06 12:29:32 +02:00
James Cole
b855c54e81 Clean up some old code. 2018-09-06 07:38:51 +02:00
James Cole
8c1d1d1db0 Improved implementation of liability accounts and the option to add or remove accounts from the net-worth calculations. 2018-08-26 18:40:38 +02:00
James Cole
21bff39e31
Fix #1620 2018-08-18 20:13:26 +02:00
James Cole
f319005357
Fix tests. 2018-08-17 06:45:57 +02:00
James Cole
a35c6e29b6
Rename various methods. 2018-08-11 19:21:58 +02:00
James Cole
b1b13d3696
Can no longer set a budget to an expense. 2018-08-09 20:49:30 +02:00
James Cole
51b11e5188
Can no longer set a budget to an expense. 2018-08-09 20:46:47 +02:00
James Cole
5908c0ce8c
Code cleanup and realign. 2018-08-06 19:14:30 +02:00
James Cole
8dbc846314
Basic code for tracking liabilities. 2018-08-04 17:30:47 +02:00
James Cole
7a9ab190eb
Fixes #1586 2018-08-03 16:55:10 +02:00
James Cole
7ad09da4e9
Fix #1576 2018-07-29 16:04:22 +02:00
James Cole
0c7b652a70
Last code optimization before release. 2018-07-28 10:45:16 +02:00
James Cole
719d610be3
Fix issue with new crud() method. 2018-07-28 07:26:33 +02:00
James Cole
07ae64693e
new language strings and updated code 2018-07-28 06:27:30 +02:00
James Cole
0312ba8ad7 Various bugfixes and code clean up. 2018-07-27 04:46:21 +02:00
James Cole
89be30c4b9 Catch various errors. 2018-07-26 06:27:52 +02:00
James Cole
6bcfea1de4 Various code cleanup. 2018-07-26 06:10:17 +02:00
James Cole
b7752928a4 Give all of these files a newline at the end. 2018-07-22 20:32:02 +02:00
James Cole
44fb307da4
Code cleanup. 2018-07-20 14:34:56 +02:00
James Cole
0509e54a95
Complete API for recurring transactions. 2018-06-30 06:14:39 +02:00
James Cole
2d7b7c2f3f
Expand recurring transactions API 2018-06-29 19:27:07 +02:00
James Cole
20aa6e429b Expand support for weekend and add some logging. 2018-06-27 05:37:56 +02:00
James Cole
89f8f9b45b
Fix view of bills. 2018-06-24 16:17:42 +02:00
James Cole
19a874b274
Ability to delete recurring transactions. 2018-06-23 08:19:29 +02:00
James Cole
1d162edb59
Improve code for recurring transactions. 2018-06-21 18:57:51 +02:00
James Cole
1cf91c78f8
Lots of new code for recurring transactions. #1469 2018-06-16 21:47:51 +02:00
James Cole
477a3c7eb2 Fix various bugs in the import routine, discovered by Doug. 2018-06-13 19:03:18 +02:00
James Cole
a6b09acd5e Some last minute fixes. 2018-06-02 18:19:35 +02:00
James Cole
ba01c4bbe8 Ignore basic methods, improving code coverage. 2018-06-02 06:18:07 +02:00
James Cole
10abd7b0ae
Delete account meta data when field is made empty. 2018-05-29 18:31:48 +02:00
James Cole
3de36901b8
Fix #1425 2018-05-29 07:25:04 +02:00
James Cole
039e8d6e17
Add debug info and update routine for multiple accounts. 2018-05-23 07:38:03 +02:00
James Cole
714b54ed06
Refactor and rename test code. 2018-05-21 07:22:38 +02:00
James Cole
cabcb9c6d0
Basic storage routine works, basic file handling. 2018-05-10 09:10:16 +02:00
James Cole
13b78bdc20
Code cleanup 2018-04-28 06:23:13 +02:00
James Cole
bb25132865
Fix tests 2018-04-27 11:29:09 +02:00
James Cole
846df21764
Fix #1372 2018-04-24 19:26:31 +02:00
James Cole
49421f50ac
Will not store fields with empty strings or weird value 2018-04-22 08:07:33 +02:00
James Cole
15a22f0bfc
Expand rules and bills. 2018-04-14 20:31:31 +02:00
James Cole
8f0e36a8e4
Code for #1324 2018-04-08 16:27:52 +02:00
James Cole
7b715925cf
Code for #1324 2018-04-07 22:23:16 +02:00
James Cole
b55545b959
Fix #1317 2018-04-04 19:18:01 +02:00
James Cole
fa7ab45a40
Code cleanup 2018-04-02 14:50:17 +02:00
James Cole
8f3e84df4d
Fix possible null pointer. 2018-03-30 22:40:20 +02:00
James Cole
08ff3d8ad0
Implement test of import command. 2018-03-30 19:41:16 +02:00
James Cole
55b6d711f3
Currency exchange rate will not be saved when rate is 0. 2018-03-30 06:33:04 +02:00
James Cole
170d23d768
Code cleanup before release. 2018-03-29 19:01:47 +02:00
James Cole
6660306ac4
Various code cleanup. 2018-03-25 09:01:43 +02:00
James Cole
3c9b7c07af
Move import to factory #1222 2018-03-24 14:05:29 +01:00
James Cole
b12872e5de
Various code cleanup. 2018-03-11 16:24:07 +01:00
James Cole
aad0864018
Various code cleanup [skip ci] 2018-03-10 22:38:20 +01:00
James Cole
19f7027718
Fix #1198 2018-03-09 04:47:43 +01:00
James Cole
a97bfc92e1
Add newlines and strict types 2018-03-05 19:35:58 +01:00
James Cole
2f17521c06
Fix small errors in bulk and mass controller 2018-03-04 09:12:33 +01:00
James Cole
7171e69715
All API routes seem to work. 2018-03-04 08:22:32 +01:00
James Cole
2ab44fb33a
Improve test coverage. 2018-03-04 07:56:30 +01:00
James Cole
139c2284b8
Various code cleanup. 2018-03-02 16:31:02 +01:00
James Cole
06dc8a499b
Expand factory tests. 2018-03-01 20:54:50 +01:00
James Cole
6591fa9fb4
Small adjustments to fix tests. 2018-02-23 16:21:28 +01:00
James Cole
d804093f8b
Expand destroy routine. 2018-02-23 15:13:30 +01:00
James Cole
dae3371c69
Move common methods to traits 2018-02-23 15:12:47 +01:00
James Cole
b627d42160
Code removal. The code removed from these classes must move to respective services. 2018-02-22 20:07:14 +01:00
James Cole
35d0bd1985
Factory seems to work for update and create 2018-02-21 21:06:59 +01:00
James Cole
085eb650e7
Code cleanup. 2018-02-21 20:34:48 +01:00
James Cole
b4157e8ce0
Build account update service. 2018-02-21 20:34:24 +01:00
James Cole
81221038f0
Expand services. 2018-02-21 18:42:15 +01:00
James Cole
140a5b20db
Update transactions, delete splits. 2018-02-21 08:58:06 +01:00
James Cole
e9b6b45fc4
Expand code to be able to handle updates. 2018-02-21 08:51:30 +01:00