Commit Graph

273 Commits

Author SHA1 Message Date
James Cole
a17bc7258f
Fix phpstan error courtesy of the laravel 11 upgrade (changed signatures and return types) 2024-04-02 15:40:33 +02:00
James Cole
7224f1be6f
Small code cleanup. 2024-03-16 23:06:16 +01:00
James Cole
b3649cd4d0
Add migration routine for https://github.com/firefly-iii/firefly-iii/pull/8650 2024-03-16 07:03:50 +01:00
James Cole
441a8a8408
Some code cleanup 2024-03-16 06:28:21 +01:00
James Cole
f4b066add1
Fix https://github.com/firefly-iii/firefly-iii/issues/8671 2024-03-14 21:20:30 +01:00
James Cole
ac4e9dcbc5
Code cleanup. 2024-03-10 17:15:38 +01:00
James Cole
d5ea78025e
Fix a few small bugs and rearrange code. 2024-03-10 11:57:21 +01:00
James Cole
3413b9b5b5
Refresh notes in various actions. 2024-03-10 08:11:58 +01:00
James Cole
0b45c1aa76
Better validation, can now also use notes in expression. 2024-03-10 08:08:26 +01:00
James Cole
67b16cc070
Overrule "constant" and "enum" actions. 2024-03-10 06:46:38 +01:00
James Cole
1961487055
Reformat code. 2024-03-10 06:17:31 +01:00
Michael Thomas
1ec830521a fix: resolve PHPstan errors 2024-03-09 13:02:04 -05:00
Michael Thomas
f19bfc3b4b fix(ActionExpression): update list of valid variable names to reflect actual values 2024-03-09 12:03:46 -05:00
Michael Thomas
6acd5be5dc chore: remove accidental changes 2024-03-07 21:10:11 -05:00
Michael Thomas
55a2b4e789 feat: make all transaction journal variables globals
removes redundant reference to the `transaction` object by making all its properties global
2024-03-07 20:58:43 -05:00
Michael Thomas
f41397eb43 refactor: add method on RuleAction to compute action value 2024-03-07 19:02:40 -05:00
Michael Thomas
bee219ebf7 refactor: inject ExpressionLanguage singleton using DI 2024-03-07 13:00:57 -05:00
Michael Thomas
438f602961 feat: surface expression validation errors when creating or updating rules 2024-03-07 12:23:32 -05:00
Michael Thomas
b572c1dcd3 Merge remote-tracking branch 'upstream/main' into feat/expression-engine 2024-03-06 21:38:40 -05:00
Michael Thomas
95593f847b feat: update all rules to support action value expressions 2024-03-06 20:54:50 -05:00
Michael Thomas
daddee7806 feat: support action expression parsing, validation, and evaluation 2024-03-06 17:50:16 -05:00
James Cole
68c9c4ec3c
PHPStorm can order methods by alphabet, who knew. 2024-02-22 20:11:09 +01:00
James Cole
7897ebc4d5
Update code 2024-02-14 19:47:35 +01:00
James Cole
ac17b82d85
Do not complain when the category is already set. 2024-02-14 19:34:36 +01:00
James Cole
e449395f3f
Clean up some code. 2024-01-20 07:04:19 +01:00
James Cole
d8d8002f1e
Add some debug to non strict search 2024-01-20 06:53:43 +01:00
James Cole
44df07a5f5
Update, rebuild, and add a new API endpoint. 2024-01-17 20:23:02 +01:00
James Cole
f963ac63f1
Various code cleanup and fixed alignments. 2024-01-01 14:43:56 +01:00
James Cole
949ca4f79e
Fix issue with tag search. 2024-01-01 11:31:14 +01:00
James Cole
4723d9dd30
Smaller rule list 2023-12-25 06:32:43 +01:00
James Cole
1bd1a9cba3
Fix https://github.com/firefly-iii/firefly-iii/issues/8291 AND fix issue with non-strict rule triggers AND fix behaviour of actions 2023-12-25 06:03:56 +01:00
James Cole
581e5d7330
Various code cleanup. 2023-12-22 20:12:38 +01:00
James Cole
067d160c13
Clean up various code. 2023-12-22 17:28:42 +01:00
James Cole
58dea55d38
Remove JSON exceptions that are not thrown anyway. 2023-12-22 07:47:13 +01:00
James Cole
337d14e71e
Pick up some phpmd things 2023-12-21 05:46:05 +01:00
James Cole
655d03bec4
Add void after some methods. 2023-12-21 04:59:23 +01:00
James Cole
64ec0cf62e
Code cleanup. 2023-12-20 19:35:52 +01:00
James Cole
46e130fdfe
Clean up code. 2023-12-10 06:51:59 +01:00
James Cole
c37a877f34
Fix phpstan things 2023-12-03 08:28:50 +01:00
James Cole
6df7f1f762
add new action 2023-12-02 15:38:06 +01:00
James Cole
271e4271eb
Update various things. I know, great description. 2023-11-30 17:28:44 +01:00
James Cole
b0a39c00ba
fix phpstan issues. 2023-11-28 17:18:31 +01:00
James Cole
5e49e149b1
Add some whitespace 2023-11-25 19:38:48 +01:00
James Cole
06fd8dc5e0
Fix phpcs error 2023-11-25 19:35:19 +01:00
James Cole
3355645cb4
Fix https://github.com/firefly-iii/firefly-iii/issues/8192 2023-11-25 19:03:51 +01:00
James Cole
1d2e95f5af
Various code cleanup. 2023-11-05 19:41:37 +01:00
James Cole
ba0843d0bb
Code cleanup 2023-11-04 14:18:49 +01:00
James Cole
0220cf9784
Fix various phpstan issues. 2023-11-04 11:31:14 +01:00
James Cole
ef428a0226
Fix various phpstan issues. 2023-11-04 07:18:03 +01:00
James Cole
9a17a11b37
Remove references to static class. 2023-10-29 06:36:37 +01:00