Commit Graph

496 Commits

Author SHA1 Message Date
James Cole
b38e7cbb1a
Rebuild front 2020-11-29 07:06:55 +01:00
James Cole
1b27f6143c
Expand API with still undocumented features 2020-11-27 06:13:46 +01:00
James Cole
c659d67172
Budget limit now has period. 2020-11-20 06:24:08 +01:00
James Cole
eb616f36ea
Expand API. 2020-11-15 14:02:29 +01:00
James Cole
68ff7fd568
Merge pull request #4050 from Johnny-Malizia/transactionapilimit
Updated Transaction Search API to set limit from user preferences
2020-11-09 15:11:56 +00:00
johnny
30ff2f0f11 Updated Transaction Search API to set limit from user preferences 2020-11-08 17:16:17 -08:00
James Cole
0f32761ae8
Refactor code. 2020-11-08 14:13:21 +01:00
James Cole
7efb77e000
Refactor authorize() method. 2020-11-08 13:36:13 +01:00
James Cole
e16bbf1072
Refactor request classes. 2020-11-08 13:31:54 +01:00
James Cole
5d872bead7
Update category code for #4015 2020-11-07 14:25:43 +01:00
James Cole
b9963ce0bf
Remove unused rule. 2020-10-31 06:47:29 +01:00
James Cole
31a9b03c1a Refactor and cleanup. 2020-10-27 16:26:10 +01:00
James Cole
6563a79483
Clean up code. 2020-10-27 06:40:53 +01:00
James Cole
372c6ac667
Various issues fixed (SonarQube) 2020-10-26 19:15:57 +01:00
James Cole
08f347cd57
Fix bad array validation. 2020-10-24 16:49:05 +02:00
James Cole
8dbd785ab8
Clean up code. 2020-10-23 19:11:25 +02:00
James Cole
2630732b8a
Code cleanup [skip ci] 2020-10-18 08:01:10 +02:00
James Cole
b8774a7af3
Code cleanup [skip ci] 2020-10-18 08:00:49 +02:00
James Cole
a79f7e3b59
Better code. 2020-10-17 09:12:51 +02:00
James Cole
04d451be8d
Fix #3871 2020-10-17 09:02:52 +02:00
James Cole
e5109d6a0f
Fix #3942 2020-10-17 08:57:58 +02:00
James Cole
4e51f0abc4
Clean up some code. 2020-10-13 06:35:33 +02:00
James Cole
3bd5ac21c9
Fix #3901 2020-10-13 06:28:07 +02:00
James Cole
4d2d9d4d6e
Whoops. Fixed self-referencing constant. 2020-10-04 07:20:48 +02:00
James Cole
61ffc8ada6
Switch should have default thing. 2020-10-03 17:53:23 +02:00
James Cole
b8e36b0398
Replace string with constant. 2020-10-03 16:51:44 +02:00
James Cole
3ce949f0aa
Fix #3880 2020-10-01 10:50:34 +02:00
James Cole
7a80caf26b
Fix #3790 2020-09-18 16:14:17 +02:00
James Cole
284222c2ee
Better call to date. 2020-09-11 07:12:33 +02:00
James Cole
71ef5abea5
Remove references to unused code. 2020-08-24 18:31:10 +02:00
James Cole
ce34e097a2
Add new rule engine to API commands. 2020-08-23 16:26:39 +02:00
James Cole
0c0fef6e84
Fix #3715 2020-08-22 19:48:00 +02:00
James Cole
1dfda62125
Fix #3715 2020-08-22 19:46:08 +02:00
James Cole
5e0c0e25f2
Fix #3716 2020-08-22 19:27:16 +02:00
James Cole
216a0a186c
Implement first version of the new rule engine. 2020-08-22 16:55:54 +02:00
James Cole
d69934ca8f
Rule engine and search engine now use the same operators; making them interchangeable. 2020-08-21 08:23:44 +02:00
James Cole
9f80d729a2
Optimize some code. 2020-08-20 17:59:44 +02:00
James Cole
f60bacba85
Fix transaction link route. 2020-08-07 11:10:35 +02:00
James Cole
8dd315d7d6
Add some custom order. 2020-08-02 18:25:09 +02:00
James Cole
0219069766
Fix some nullable methods. 2020-08-02 12:19:10 +02:00
James Cole
d0a01d73c4
Function no longer returns nulls. 2020-08-02 12:14:56 +02:00
James Cole
e7e21348eb
Remove deprecated method. 2020-08-02 12:13:23 +02:00
James Cole
e29b2066c2
Remove deprecated method. 2020-08-02 11:59:43 +02:00
James Cole
fb0d31226a
Remove use of deprecated function. 2020-08-02 11:53:04 +02:00
James Cole
65f54ed8f3
Include correct URI for transaction autocomplete [skip ci] 2020-08-01 06:21:15 +02:00
James Cole
e46958c23e
Update some code style 2020-07-31 15:12:26 +02:00
James Cole
c0b7ef878a
Code style fixes. 2020-07-31 09:42:00 +02:00
James Cole
9234636422
Basic code standard fixes. 2020-07-31 09:24:08 +02:00
James Cole
eabda85b1e
Add missing API endpoints. 2020-07-31 06:19:48 +02:00
James Cole
9c14bc24e2
Expand limit. 2020-07-26 19:30:24 +02:00
James Cole
69d63bc3ba
API allows order to be set. #3200 2020-07-24 16:41:31 +02:00
James Cole
bc4b841baa
Add consistency for API calls #3150 2020-07-24 16:41:10 +02:00
James Cole
e1f4cd7565
Fix #3187 2020-07-23 19:40:10 +02:00
James Cole
93a0338678
Expand autocomplete for #3150 2020-07-23 19:34:17 +02:00
James Cole
3d6bf713ee
Fix #3150 2020-07-23 17:58:53 +02:00
James Cole
b63e8d60bb
Expand autocomplete and remove old code #3150 2020-07-23 06:58:00 +02:00
James Cole
162e791dfd
Update autocomplete code for #3150 2020-07-23 06:19:34 +02:00
James Cole
0f840ad082
Updated routes for auto-complete. 2020-07-22 20:17:20 +02:00
James Cole
f777abdeb1
Add limit to object groups #3150 2020-07-21 06:30:37 +02:00
James Cole
bb841e66c7
Add currency limit, without currency code #3150 2020-07-21 06:29:24 +02:00
James Cole
74ed80aaef
Add limit to category #3150 2020-07-21 06:24:49 +02:00
James Cole
723696b971
Add limit to budget #3150 2020-07-21 06:23:37 +02:00
James Cole
858158d886
Add limit to bills. #3150 2020-07-21 06:22:29 +02:00
James Cole
62fd701808
Add limit #3150 2020-07-21 06:20:31 +02:00
James Cole
b207100074
Add empty controllers #3150 2020-07-21 06:19:49 +02:00
James Cole
5ad7439241
Optimise code 2020-07-21 06:14:47 +02:00
James Cole
debbe89187
Code for #3150 2020-07-21 06:09:24 +02:00
James Cole
a654158bd4
Rename method. 2020-07-19 20:10:47 +02:00
James Cole
3619427f60
Remove old tag cloud code. 2020-07-19 18:02:48 +02:00
James Cole
bd779c8156
Include Request class. 2020-07-19 17:43:12 +02:00
James Cole
8a4999406b
More auto-complete migration. 2020-07-19 17:24:29 +02:00
James Cole
fd6f1fbbf0
Expand autocomplete routes 2020-07-19 17:05:37 +02:00
James Cole
fc7d8bb810
Auto complete route 2020-07-19 13:06:59 +02:00
James Cole
c7eab7873e
Clean up requests 2020-07-18 08:42:13 +02:00
James Cole
d73195ec36
Point to all the right classes. 2020-07-18 08:34:00 +02:00
James Cole
427bcaa522
First basic remodelling of request classes 2020-07-18 08:25:25 +02:00
James Cole
d813d0b7c2
Merge pull request #3565 from maroux/fix-monthly-date
Fix update monthly_payment_date using the API
2020-07-16 04:14:23 +00:00
Aniruddha Maru
53909fdd8a Fix maybe? 2020-07-15 12:22:09 -07:00
James Cole
0c9a25a073
Code cleanup and better auth check 2020-07-12 17:31:11 +02:00
James Cole
54d92f5b39
Code for #3546 2020-07-11 15:13:15 +02:00
James Cole
32e0a5bd80 Fix validation for #3532 2020-07-06 06:55:27 +02:00
James Cole
a56cefda7d Basic new dashboard. 2020-07-05 18:29:58 +02:00
James Cole
3893f59773 Fix some casting 2020-07-05 09:34:56 +02:00
James Cole
f48bc8d299 Budget and category charts in new layout. 2020-07-04 12:08:38 +02:00
James Cole
5009cb5d55 New meta files. 2020-07-01 19:53:48 +02:00
James Cole
6693a5166f
Merge pull request #3506 from Johnny-Malizia/searchapi
Added transaction search api support
2020-07-01 19:35:44 +02:00
johnny
7b9906d493 Added transaction search api support
Transaction search api implemented using mostly the same process as the
existing search functionality.
Updated internal_reference and external_id search support to use exact
matches, expecting values in the database to be double quoted. This is
being done to ensure a specific transaction can be looked up at a later
time without prior knowledge of the internal transaction id.
2020-07-01 10:23:44 -07:00
James Cole
983508e291 Expand API for bills. 2020-07-01 15:33:06 +02:00
James Cole
cb65999124 Expand API, add new migration. 2020-06-30 20:33:08 +02:00
James Cole
bb5de8bf7e Update copyrights. 2020-06-30 19:05:35 +02:00
James Cole
415fb7294c Fix sonarcloud issues 2020-06-27 17:33:18 +02:00
James Cole
7945220825 Fix #3493 2020-06-27 13:41:27 +02:00
James Cole
00440f282b API for piggies + groups. 2020-06-21 18:28:51 +02:00
James Cole
1a154a8d45 API for object groups. 2020-06-20 16:28:23 +02:00
James Cole
6cc4d14fcb Remove import code. 2020-06-06 21:23:26 +02:00
James Cole
86f14885eb Added a rule action that will delete the transactions it matches. 2020-05-16 11:21:26 +02:00
James Cole
9a52cfbfbe Add some debug info 2020-05-16 06:59:15 +02:00
James Cole
3c3ba637b5 Make sure demo user can't upload attachments. 2020-05-05 07:44:33 +02:00
James Cole
c15b72b6b0
Refactor currency validation 2020-03-21 06:00:36 +01:00
James Cole
11e3834235
Refactor validation method. 2020-03-21 05:56:27 +01:00
James Cole
9e54ebe6a9
Fix #2958 2020-03-20 04:42:19 +01:00
James Cole
cdf055065f
Remove unused method. 2020-03-19 15:21:44 +01:00
James Cole
d889e39aad
Clean up method. 2020-03-19 14:33:41 +01:00
James Cole
75afe35e98
API can deal with attachments for more models. #2828 2020-03-19 08:32:42 +01:00
James Cole
3246b7eb9f
Allow more models to accept transactions #2828 2020-03-18 21:36:26 +01:00
James Cole
5b591ff744
Whoops 2020-03-17 17:41:59 +01:00
James Cole
63f00cbb7b
Remove unused index 2020-03-17 17:41:43 +01:00
James Cole
c90b26c181
Simplify method. 2020-03-17 17:41:06 +01:00
James Cole
e02e747f1b
Code cleanup that (hopefully) matches style CI 2020-03-17 14:53:17 +01:00
James Cole
64462812fc
Two small method improvements. 2020-03-17 14:46:17 +01:00
James Cole
16f918a294
Mark all import related code as deprecated 2020-03-15 15:31:51 +01:00
James Cole
9d90beb790
update libraries for better keyboard use. 2020-03-15 15:17:07 +01:00
James Cole
6967bb003e
Do some code cleanup. 2020-03-15 08:16:16 +01:00
James Cole
bde0732135
Can now update (and remove) auto budget over api 2020-03-14 07:43:49 +01:00
James Cole
d1d11ae717
Can now create auto budget over API 2020-03-14 07:30:55 +01:00
James Cole
5e8d94d16a
Better handling of errors. 2020-03-12 05:06:42 +01:00
James Cole
9817c0807a
Add ability to disable running of rules on transactions. 2020-03-06 09:41:27 +01:00
James Cole
0927b0c8ae
Accept strings like a good boy. 2020-03-03 19:36:03 +01:00
James Cole
6c163ebef3
Add debug information. 2020-02-22 11:05:16 +01:00
James Cole
3de4441bcd
Trigger cache to fix #3141 2020-02-21 20:47:10 +01:00
James Cole
529cb3d387
Fix #3118 2020-02-13 20:09:27 +01:00
Geoffrey “Frogeye” Preud'homme
e81ce3317c API: Unified attachment_* and model_* for Attachments 2020-02-08 12:29:23 +01:00
James Cole
cf4adae604
Refactor category chart code. 2020-02-01 15:54:26 +01:00
James Cole
68c71cb2f9 Update email address in the readme and a selection of code. 2020-01-23 19:44:52 +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
414e8d7153
Refactor data method. 2020-01-01 14:27:08 +01:00
James Cole
c193284471
Move Location validation rules to single method. 2019-12-31 14:01:53 +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
d749d550ee
Error codes in Firefly III API 2019-11-02 08:19:50 +01:00
James Cole
9a028d5002
Improve error handling in API. 2019-10-30 20:02:21 +01:00
James Cole
0d072b4ed9
Merge pull request #2772 from dguhl/2695-localise-api-errors
Fix issue #2695
2019-10-26 14:33:07 +00:00
Dominic Guhl
13a29a66c8 worked in feedback by JC5 2019-10-26 16:29:04 +02:00
Dominic Guhl
b4d565400e Issue 2695
Introduces localisation for API errors
2019-10-26 15:07:54 +02:00
James Cole
8b11afb83f
A new endpoint that allows you to search for transfers. 2019-10-26 07:49:36 +02:00
James Cole
6823adc976
Firefly III can automatically stop duplicate transactions from being created. 2019-10-26 07:49:12 +02:00
James Cole
b8c8aabbf4
Empty foreign amount should not be a problem. 2019-10-24 10:14:08 +02:00
James Cole
50d3c36b6a
Fix #2752 2019-10-21 18:32:13 +02:00
James Cole
516ef79130
Fixes for #2753 2019-10-20 16:17:43 +02: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
79debe4941
Issue in experimental search 2019-10-13 11:47:38 +02:00
James Cole
ce85e99d1a
Basic search for accounts. 2019-10-02 18:00:01 +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
21f98be3e7
Fix #2637 2019-09-26 20:57:24 +02:00
Geoffrey “Frogeye” Preud'homme
f8cb5ca21c
Additional fix for #2629 with API
API object's notes fields now correctly preserve newlines.
2019-09-22 17:36:18 +02:00
James Cole
3aba7e1db7
Fix #2510 2019-09-21 07:33:13 +02:00
James Cole
5fb6a6ef5f
Fix tag thing. 2019-09-20 17:57:35 +02:00
James Cole
50ad9fbf94
Fix #2609 2019-09-20 16:33:15 +02:00
James Cole
c14d3f40a9
Fix #2628 2019-09-20 06:14:08 +02:00