Commit Graph

361 Commits

Author SHA1 Message Date
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
James Cole
c0fd371430
Fix #2557 2019-09-07 16:19:01 +02:00
James Cole
5623c3c43f Clean up some tests 2019-09-04 21:05:50 +02:00
James Cole
f9f1fa0fcb Clean up API code and fix test code. 2019-09-04 17:39:39 +02:00
James Cole
717b9d21fd Move method to correct repository. 2019-08-30 09:19:29 +02:00
James Cole
5973b94677 Move method to correct repository. 2019-08-30 08:19:55 +02:00
James Cole
7685e2007f Move method to correct repository. 2019-08-30 08:09:13 +02:00
James Cole
4a3e1a9604 Move method to correct repository. 2019-08-30 08:03:13 +02:00
James Cole
9fad13c788 Move method to correct repository. 2019-08-30 08:02:11 +02:00
James Cole
97d87b0657 Move method to correct repository. 2019-08-30 08:00:52 +02:00
James Cole
1da4597f94 Move method to correct repository. 2019-08-30 07:54:09 +02:00
James Cole
e525960320 Move method to correct repository. 2019-08-30 07:49:08 +02:00
James Cole
4cdbea2737 Move method to correct repository. 2019-08-30 07:45:48 +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
fa706d27d8 Refactor category repositories. 2019-08-28 12:28:23 +02:00
James Cole
0daed6529d Refactor methods in category repositories. 2019-08-27 12:11:46 +02:00
James Cole
e5269bb312 Refactor and split category repository. 2019-08-27 10:52:07 +02:00
James Cole
9e4f6abf5d Fix #2485 2019-08-27 06:52:54 +02:00
James Cole
e308b0f617 Make sure tags work, make sure update is refreshed. 2019-08-27 06:08:30 +02:00
James Cole
96caf3491e Copy method for validation. 2019-08-27 05:57:09 +02:00
James Cole
a67bbaa1eb No date requirements for new recurrence. 2019-08-27 05:55:46 +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
f884880ab8 Error about not submitting a transaction is given under "transactions". #2483 2019-08-26 18:15:21 +02:00
James Cole
8680254503 Can now leave out actions and triggers.
If added though, all data must be present. #2477
2019-08-25 07:55:21 +02:00
James Cole
c0909aebba Rule controller can handle empty submission. #2477
The rule repository can't handle this (yet).
2019-08-25 07:48:46 +02:00
James Cole
6b86a35ffb Fix for broken bills. 2019-08-24 13:23:36 +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
e5e3797d9c Better sum for bill view. 2019-08-23 21:54:47 +02:00
James Cole
4b45c0d0a9 Possible fix for #2439 in develop 2019-08-23 19:37:53 +02:00
James Cole
248e393405
Merge pull request #2442 from GeoffreyFrogeye/currencycharlimit
Fix consistency in symbol character limit
2019-08-22 17:58:12 +02:00
James Cole
967ea6a181 Another fix for #2440 2019-08-22 17:56:48 +02:00
James Cole
2a4051fe92 Fix for #2439 2019-08-22 17:06:43 +02:00
James Cole
21a9e981a2
Fix for #2446 2019-08-21 05:15:47 +02:00
Geoffrey “Frogeye” Preud'homme
10d760a614 Fix consistency in symbol character limit
Closes #2441
2019-08-18 17:16:10 +02:00