Commit Graph

8539 Commits

Author SHA1 Message Date
James Cole
67b16cc070
Overrule "constant" and "enum" actions. 2024-03-10 06:46:38 +01:00
James Cole
5746ac3247
Add feature flag for expression engine and disable it by default. 2024-03-10 06:46:24 +01:00
James Cole
009fbba491
Drop "failedValidation" method because this is handled by the system already. 2024-03-10 06:28:58 +01:00
James Cole
53d84347c2
sprintf the rules 2024-03-10 06:24:32 +01:00
James Cole
1961487055
Reformat code. 2024-03-10 06:17:31 +01:00
James Cole
c9ce5df74b
Merge pull request #8650 from michaelhthomas/feat/expression-engine
[feat] Rules Expression Engine
2024-03-10 06:04:06 +01:00
Michael Thomas
1371b6773e chore: ignore PHPMD unused parameter errors 2024-03-09 14:09:36 -05:00
James Cole
66b322e844
Fix methods and clean up code. 2024-03-09 19:46:16 +01:00
James Cole
9078781d61
New endpoint, fixed logo, better account overview. 2024-03-09 19:31:27 +01:00
Michael Thomas
1ec830521a fix: resolve PHPstan errors 2024-03-09 13:02:04 -05:00
Michael Thomas
c4bf2aae7d fix: migrate action expression validation to separate rule class 2024-03-09 12:57:34 -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
d22f9c09d7 fix(RuleAction): add return type to getValue 2024-03-09 12:02:47 -05:00
Michael Thomas
fc2da9eb42 fix(ExpressionController): remove unnecessary rule repository 2024-03-09 11:27:21 -05:00
James Cole
46a60af966
Clean up authentication views. 2024-03-09 08:13:53 +01:00
Michael Thomas
34349e4475 chore: fix typo 2024-03-07 21:37:24 -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
41fc1e8f82 Merge remote-tracking branch 'upstream/develop' into feat/expression-engine 2024-03-07 13:09:43 -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
github-actions
b82fcbd97b Auto commit for release 'develop' on 2024-03-07 2024-03-07 01:29:08 +01:00
Michael Thomas
daddee7806 feat: support action expression parsing, validation, and evaluation 2024-03-06 17:50:16 -05:00
James Cole
930a08ec90
Better index for accounts. 2024-03-06 19:54:09 +01:00
James Cole
fd2edf3b23
Various code cleanup. 2024-03-06 07:16:01 +01:00
James Cole
0597255c08
Fix #8632 2024-03-06 07:01:21 +01:00
James Cole
0ce9ee6a6c
Ignore phpstan error [skip ci] 2024-03-05 19:39:20 +01:00
James Cole
3a339382d4
Add a button to go back to the v1 layout. 2024-03-05 19:38:45 +01:00
James Cole
b3223feba2
Add debug log 2024-03-04 20:41:59 +01:00
James Cole
88a9bc379e
Expand account list 2024-03-04 20:41:34 +01:00
James Cole
cb8fa4e1f4
Fix https://github.com/firefly-iii/firefly-iii/issues/8616 2024-03-03 13:45:05 +01:00
James Cole
bf7f4f9887
Fix https://github.com/firefly-iii/firefly-iii/issues/8597 2024-03-03 10:13:49 +01:00
James Cole
af48548e81
Fix https://github.com/firefly-iii/firefly-iii/issues/8608 2024-03-02 19:20:54 +01:00
James Cole
9d0488ffbc
fix phpstan issues. 2024-02-29 06:39:58 +01:00
James Cole
d7fa8b283e
Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2024-02-29 06:27:24 +01:00
James Cole
a0097bd613
Fix issues with available budgets. 2024-02-29 06:26:23 +01:00
github-actions
ffc2156e5f Auto commit for release 'develop' on 2024-02-29 2024-02-29 01:28:57 +01:00
James Cole
d9fba39d80
Fix detection of transaction type. 2024-02-25 18:24:10 +01:00
James Cole
2564470197
Update source account detection. 2024-02-25 18:14:30 +01:00
James Cole
9222c82af0
Expand frontend, first attempt at sorting. 2024-02-25 18:09:52 +01:00
James Cole
5626d1c56d
Fix https://github.com/firefly-iii/firefly-iii/issues/8575 2024-02-23 17:06:25 +01:00
James Cole
68c9c4ec3c
PHPStorm can order methods by alphabet, who knew. 2024-02-22 20:11:09 +01:00
James Cole
f9d4a43e05
This should fix the ci issues. 2024-02-22 06:57:57 +01:00
James Cole
92e7f344e0
Refresh update code. 2024-02-22 06:52:58 +01:00
github-actions
89ce2838d5 Auto commit for release 'develop' on 2024-02-22 2024-02-22 01:29:01 +01:00
James Cole
356b217692
Add missing array 2024-02-20 20:33:33 +01:00
James Cole
950e39b753
Clean up methods. 2024-02-20 20:05:43 +01:00
James Cole
aa2afd162e
Fix https://github.com/orgs/firefly-iii/discussions/8557 2024-02-20 19:51:13 +01:00
James Cole
b1afaea1aa
Various updates. 2024-02-18 11:35:08 +01:00
James Cole
997dc3814b
Add host header validation 2024-02-17 08:18:49 +01:00
James Cole
b37b5b86d4
Fix https://github.com/firefly-iii/firefly-iii/issues/8544 2024-02-16 20:42:04 +01:00
github-actions
b13a4e1016 Auto commit for release 'develop' on 2024-02-15 2024-02-15 01:29:20 +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
1b1712d998
Make sure that errors in the incoming webhook url are caught. 2024-02-14 19:32:15 +01:00
James Cole
a2c0d9f7d0
The update checker can handle the development releases 2024-02-14 06:34:38 +01:00
github-actions
5c352a0d3e Auto commit for release 'develop' on 2024-02-12 2024-02-12 01:29:15 +01:00
James Cole
283b594995
Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop
# Conflicts:
#	app/Helpers/Collector/GroupCollector.php
2024-02-10 08:29:59 +01:00
James Cole
723aa65e7a
Inline edit for v2 2024-02-10 08:28:59 +01:00
github-actions
64d315ad51 Auto commit for release 'develop' on 2024-02-08 2024-02-08 01:29:34 +01:00
James Cole
d0844356cb
Fix https://github.com/firefly-iii/firefly-iii/issues/8521 2024-02-07 06:14:40 +01:00
James Cole
3543548ba0
Fix https://github.com/firefly-iii/firefly-iii/issues/8497 2024-02-03 13:09:44 +01:00
James Cole
d3f19db42d
This should fix the tests again. 2024-02-03 10:08:34 +01:00
James Cole
9894d16d26
Fix https://github.com/firefly-iii/firefly-iii/issues/8493 2024-02-03 07:51:18 +01:00
James Cole
36d54c3fac
Cast to string. 2024-02-01 05:44:41 +01:00
github-actions
9763f9f922 Auto commit for release 'develop' on 2024-02-01 2024-02-01 01:31:55 +01:00
James Cole
e2461ba839
Also support redirect 2024-01-30 18:14:56 +01:00
James Cole
e199fdd2b6
Make sure the demo user can't export data. 2024-01-30 18:11:45 +01:00
github-actions
d9fc91a432 Auto commit for release 'develop' on 2024-01-30 2024-01-30 01:29:11 +01:00
James Cole
6a432e7931
Fix https://github.com/firefly-iii/firefly-iii/issues/8447 2024-01-29 19:47:00 +01:00
James Cole
26f7575ba2
Fix https://github.com/firefly-iii/firefly-iii/issues/8471 2024-01-29 19:10:24 +01:00
James Cole
b1c1bbd6c0
Fix https://github.com/firefly-iii/firefly-iii/issues/8472 2024-01-29 19:05:40 +01:00
James Cole
4f1187bf6e
Fix https://github.com/firefly-iii/firefly-iii/issues/8467 2024-01-28 17:29:25 +01:00
github-actions
1f774e0d71 Auto commit for release 'develop' on 2024-01-28 2024-01-28 13:48:09 +00:00
James Cole
b47bb13558
Change some code. 2024-01-28 14:34:07 +01:00
James Cole
c22a9784ee
Clean up code 2024-01-25 03:18:23 +01:00
James Cole
e322069bb4
Possible fix for https://github.com/firefly-iii/firefly-iii/issues/8442 2024-01-24 07:00:06 +01:00
James Cole
b4209f2e72
Enable inline edit. 2024-01-21 19:36:56 +01:00
James Cole
f045e4ea69
Fix amount 2024-01-21 18:01:00 +01:00
James Cole
4a37152aea
Fix https://github.com/firefly-iii/firefly-iii/issues/8433 2024-01-21 15:58:40 +01:00
James Cole
80a35692c5
Fix logs. 2024-01-21 15:00:51 +01:00
James Cole
db9094956e
Support even bigger amounts for https://github.com/firefly-iii/firefly-iii/issues/8431 2024-01-21 07:24:16 +01:00
James Cole
da7a2cf0c0
Update meta data for new release. 2024-01-20 16:29:00 +01:00
James Cole
2368788405
Fix issue with "createFromFormat". 2024-01-20 08:07:27 +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
122f0309a6
Fix #8425 2024-01-19 20:23:04 +01:00
James Cole
09bff5ea4e
Fix https://github.com/firefly-iii/firefly-iii/issues/8418 2024-01-18 18:57:29 +01:00
James Cole
7ea112c5e7
Fix https://github.com/firefly-iii/firefly-iii/issues/8349 and 2024-01-18 18:57:23 +01:00
James Cole
44df07a5f5
Update, rebuild, and add a new API endpoint. 2024-01-17 20:23:02 +01:00
James Cole
925450f84c
Fix https://github.com/firefly-iii/firefly-iii/issues/8390 2024-01-14 13:59:09 +01:00
James Cole
c2ddabbad2
Expand index. 2024-01-14 07:06:55 +01:00
James Cole
458402aaff
Code cleanup. 2024-01-14 05:10:05 +01:00
James Cole
37a46b02f4
Fix https://github.com/firefly-iii/firefly-iii/issues/8374 2024-01-13 08:13:25 +01:00
James Cole
4f1ac2ac6f
Minor code cleanup 2024-01-12 19:03:51 +01:00
James Cole
1e733f4c8b
Fix https://github.com/firefly-iii/firefly-iii/issues/8377 2024-01-12 18:57:38 +01:00
James Cole
f7ceb75316
Merge pull request #8370 from luzpaz/typos
Fix various typos
2024-01-10 05:31:16 +01:00
luzpaz
744e193faa Fix various typos
Found via `codespell -q 3 -S "./resources/lang,./resources/assets/js/locales" -L hastable`
2024-01-10 01:12:48 +00:00
James Cole
12b0e11592
From error to debug. 2024-01-09 21:05:17 +01:00
James Cole
717f3a9e3d
From info to debug 2024-01-09 21:04:12 +01:00
James Cole
b9f0682f04
Add audit entries. 2024-01-09 21:03:26 +01:00
James Cole
8792465fd5
Add validation warnings in audit logs. 2024-01-09 20:58:18 +01:00
James Cole
6fbf9a119d
Change priority on audit messages. 2024-01-09 20:48:17 +01:00
James Cole
fcc0294d07 Smaller max size 2024-01-08 12:56:57 +01:00
James Cole
75a32b2f94
Expand v2 layout with experimental view. 2024-01-07 12:51:42 +01:00
James Cole
4c30a7bc55
Expand edit form. 2024-01-06 17:24:54 +01:00
James Cole
f615b9c252
Fix https://github.com/firefly-iii/firefly-iii/issues/8352 2024-01-06 14:44:50 +01:00
James Cole
c19b36a391
Fix https://github.com/firefly-iii/firefly-iii/issues/8352 2024-01-06 14:40:06 +01:00
James Cole
935634e487
Sanity check on number. 2024-01-06 14:23:20 +01:00
James Cole
6fb4aaecd3
Fix a very dumb bug. 2024-01-06 11:09:40 +01:00
James Cole
0efb3d2dcf
Fix currency validation. 2024-01-06 08:33:38 +01:00
James Cole
110228e65e
Fix phpstan issue. 2024-01-06 07:49:50 +01:00
James Cole
8ad27e0eda
Update meta files for new release. 2024-01-06 07:42:00 +01:00
James Cole
2e0d90c685
Expand edit transaction form. 2024-01-06 07:26:03 +01:00
James Cole
bd2ecb13b8
Change time for rule. 2024-01-05 18:09:19 +01:00
James Cole
5725570dbb
Add marker. Seems fastest solution. 2024-01-05 14:47:44 +01:00
James Cole
11f77685e4
Experimental code cleanup. 2024-01-05 14:29:59 +01:00
James Cole
0521c46d27 test 2024-01-05 14:15:26 +01:00
James Cole
50d6225590 test 2024-01-05 14:15:02 +01:00
James Cole
df55f7de79 test 2024-01-05 14:13:44 +01:00
James Cole
5152ae9622 test 2024-01-05 14:11:06 +01:00
James Cole
075d0da63d test 2024-01-05 14:10:07 +01:00
James Cole
d804df2a2f test 2024-01-05 14:09:47 +01:00
James Cole
88f6221424
Small code fix. 2024-01-05 11:09:52 +01:00
James Cole
f9463e02a2
Fix null pointer 2024-01-05 10:55:46 +01:00
James Cole
fe7bb02dc5
Clean up min/max sizes of requests. 2024-01-05 09:48:59 +01:00
James Cole
68edcfc4e8
Clean up files and add alias 2024-01-05 08:12:17 +01:00
James Cole
5f8a24a684
Add newline. 2024-01-04 15:43:51 +01:00
James Cole
0a5d62605a
Code cleanup and new translations. 2024-01-04 15:42:00 +01:00
James Cole
3a083f88b5
Clean up code. 2024-01-04 14:59:55 +01:00
James Cole
1ba7847d84
Add more details in message. 2024-01-04 11:46:23 +01:00
James Cole
c32044a8eb
Smaller notes 2024-01-04 11:41:03 +01:00
James Cole
72a2d417af
Change log levels. 2024-01-04 08:35:58 +01:00
James Cole
09c18d6d44
More audit logs. 2024-01-04 08:34:57 +01:00
James Cole
84ae6a633e
Add some audit logs. 2024-01-04 08:32:42 +01:00
James Cole
82749cea07
Sanity check in date. 2024-01-04 07:51:37 +01:00
James Cole
23aa0e3ba3
Add some audit log info. 2024-01-04 07:48:51 +01:00
James Cole
8be27a2201
Small code cleanup 2024-01-04 07:44:52 +01:00
James Cole
ff98f3cc3e
Expand create transaction form. 2024-01-04 07:26:45 +01:00
James Cole
01c4d25646
Better currency validation for foreign amount 2024-01-04 07:26:12 +01:00
James Cole
292b9ac9d0
Fix wording for https://github.com/firefly-iii/firefly-iii/issues/8328 2024-01-04 07:25:24 +01:00
James Cole
6bdae03961
Extra fix for https://github.com/firefly-iii/firefly-iii/issues/8328 2024-01-04 06:22:47 +01:00
James Cole
7426c6aac3
Split form in parts, add "edit" page. 2024-01-03 19:34:50 +01:00
James Cole
211526c032
Expand new transaction form. 2024-01-03 17:43:05 +01:00
James Cole
98b95ab891
Fix issue #8328 2024-01-02 22:28:58 +01:00
James Cole
bc26ee5cde
Code for new release. 2024-01-02 20:19:09 +01:00
James Cole
9eca31529c
Fix https://github.com/firefly-iii/firefly-iii/issues/8322 2024-01-02 16:47:54 +01:00