Commit Graph

144 Commits

Author SHA1 Message Date
Nathan Dwarshuis 776a10ba11 ENH allow multiple entries on credit side of transaction statement getter 2023-06-10 21:30:30 -04:00
Nathan Dwarshuis 5bd3746c3f REF split db state with stuff to be updated later 2023-05-29 18:14:43 -04:00
Nathan Dwarshuis 2a6aa23836 REF move database to same level module 2023-05-29 17:33:59 -04:00
Nathan Dwarshuis 971cfa1c92 REF remove dead comments 2023-05-29 17:32:28 -04:00
Nathan Dwarshuis ba557639c2 REF combine statement with history 2023-05-29 17:19:49 -04:00
Nathan Dwarshuis 55487982ec REF remove dead code 2023-05-29 17:16:13 -04:00
Nathan Dwarshuis c3ab976407 ENH check accounts in multiallocations 2023-05-29 17:14:01 -04:00
Nathan Dwarshuis b586f958cb ENH check all income accounts 2023-05-29 17:06:38 -04:00
Nathan Dwarshuis 1555e9071f FIX actually throw error when folding periods/days 2023-05-29 16:46:20 -04:00
Nathan Dwarshuis 092d771f30 ENH check period date once 2023-05-29 16:36:59 -04:00
Nathan Dwarshuis ff0393dc02 REF remove "split" lingo 2023-05-29 16:11:19 -04:00
Nathan Dwarshuis 627704704e REF remove config module 2023-05-29 15:58:27 -04:00
Nathan Dwarshuis 62b39b61aa REF split history and budget 2023-05-29 15:56:15 -04:00
Nathan Dwarshuis 02747b4678 REF split up types module to keep compile times sane 2023-05-29 14:46:30 -04:00
Nathan Dwarshuis 5dfbc3ef41 ADD local budget interval 2023-05-29 13:09:17 -04:00
Nathan Dwarshuis 6117784d0e ENH gereralize amount lookup function 2023-05-25 00:11:04 -04:00
Nathan Dwarshuis d7117270c9 ADD negative amount lookup 2023-05-22 23:32:39 -04:00
Nathan Dwarshuis 4f44e37462 FIX use actually gross amt 2023-05-18 00:26:55 -04:00
Nathan Dwarshuis b2fdc8d74c FIX tax miscalculations 2023-05-16 23:12:29 -04:00
Nathan Dwarshuis 5e2e8d8acf ENH scale taxes by pay period length 2023-05-14 19:20:10 -04:00
Nathan Dwarshuis 397a78ddfb WIP split IO actions into stages 2023-05-13 13:53:43 -04:00
Nathan Dwarshuis b3276132e3 ENH actually use percents 2023-05-08 00:12:01 -04:00
Nathan Dwarshuis 9a1dd1ac3e ENH use doubles and get clean compile 2023-05-07 20:29:33 -04:00
Nathan Dwarshuis 38710b1f56 WIP use doubles in config 2023-05-04 21:48:21 -04:00
Nathan Dwarshuis 2119eb61c8 ENH update haskell types 2023-04-30 23:28:16 -04:00
Nathan Dwarshuis 4098e72060 ENH update types and use deferred allocation math 2023-04-30 00:16:06 -04:00
Nathan Dwarshuis c2c30caf69 ENH use mostly dhall types 2023-04-17 00:34:09 -04:00
Nathan Dwarshuis 8c5a68a4b4 ENH use latest dhall commit 2023-04-16 20:09:13 -04:00
Nathan Dwarshuis ae4f5795f8 FIX intervals not included 2023-04-12 22:58:31 -04:00
Nathan Dwarshuis ad4cb6a702 ENH use intervals to define allocations 2023-03-16 23:53:57 -04:00
Nathan Dwarshuis d89b63e59a FIX don't hash budget components (since they are interdependent) 2023-03-01 20:38:11 -05:00
Nathan Dwarshuis 873211c822 WIP remove tags from tx 2023-02-26 22:56:32 -05:00
Nathan Dwarshuis 4eae92eb01 WIP use tags for splits 2023-02-26 22:53:12 -05:00
Nathan Dwarshuis 4e38f9ed8d ENH remove buckets entirely 2023-02-26 18:57:40 -05:00
Nathan Dwarshuis 61aabf45a3 ADD currency exchanges in budget 2023-02-26 12:03:35 -05:00
Nathan Dwarshuis ad2937880c ENH allow specifying inclusion/exclusion for shadow matches 2023-02-26 11:27:11 -05:00
Nathan Dwarshuis ae3109a4ba ENH kinda finalize shadow match rules 2023-02-25 22:56:23 -05:00
Nathan Dwarshuis 048872253f WIP add shadow transfers 2023-02-13 19:57:39 -05:00
Nathan Dwarshuis d2c7c0484a FIX typo 2023-02-13 18:49:41 -05:00
Nathan Dwarshuis 047e9edbb9 REF don't use so many fields 2023-02-12 22:18:31 -05:00
Nathan Dwarshuis 53e1dde60f WIP assign buckets more sanely 2023-02-12 21:52:41 -05:00
Nathan Dwarshuis a16f6fbdd2 REF delete dead code 2023-02-12 17:00:29 -05:00
Nathan Dwarshuis 7f2a87670c WIP balance all transactions in budget 2023-02-12 16:52:42 -05:00
Nathan Dwarshuis e6a39cb5ea WIP track running balances in budget 2023-02-12 16:23:32 -05:00
Nathan Dwarshuis 88dec70ce6 ENH use ranges for MDY patterns 2023-02-09 20:01:43 -05:00
Nathan Dwarshuis 1e5f40d730 ENH allow multiple budgets 2023-02-05 18:45:56 -05:00
Nathan Dwarshuis b9a389454f ADD name for budgets 2023-02-05 17:56:23 -05:00
Nathan Dwarshuis 5c3874d4bd Revert "ENH use bytestring to speed up regex matching"
This reverts commit 26c0dff080.
2023-02-05 12:29:43 -05:00
Nathan Dwarshuis 26c0dff080 ENH use bytestring to speed up regex matching 2023-02-05 12:22:00 -05:00
Nathan Dwarshuis bd72bec920 ENH format error better 2023-02-05 11:40:06 -05:00
Nathan Dwarshuis 281d67bfc9 ENH compile rational regex parsers once 2023-02-05 11:34:37 -05:00
Nathan Dwarshuis 159204b47a FIX foreign key errors 2023-02-05 11:34:22 -05:00
Nathan Dwarshuis dae132c8b9 ENH use better algorithm for cronpatterns 2023-02-05 10:34:26 -05:00
Nathan Dwarshuis 56a14e5e9e WIP make cron pattern faster 2023-02-02 23:18:36 -05:00
Nathan Dwarshuis 2af7fed148 ENH precompile regular expressions 2023-02-01 23:02:07 -05:00
Nathan Dwarshuis b50f16044f ENH use faster gregorian iterator (~2x speedup) 2023-02-01 20:56:29 -05:00
Nathan Dwarshuis 54342fbe74 ADD lots of bangs 2023-01-30 22:57:42 -05:00
Nathan Dwarshuis 9197837cce FIX typos 2023-01-30 22:48:16 -05:00
Nathan Dwarshuis 5059c318ef REF clean up code 2023-01-30 21:47:17 -05:00
Nathan Dwarshuis 7a64ed77f8 ENH rename expense and make error sane 2023-01-30 21:12:08 -05:00
Nathan Dwarshuis 36c6a56f1b ENH use stratified buckets for budget tagging 2023-01-30 20:13:25 -05:00
Nathan Dwarshuis c791c5a692 FIX counter error 2023-01-29 11:36:12 -05:00
Nathan Dwarshuis 354310bf08 REF remove dead code 2023-01-29 11:36:05 -05:00
Nathan Dwarshuis 38c766e025 FIX underflow error 2023-01-29 11:35:30 -05:00
Nathan Dwarshuis 00a08d0fbe ENH remove last two digit year check 2023-01-29 10:51:03 -05:00
Nathan Dwarshuis 69ead7b40d ENH remove prelude from all but main 2023-01-28 22:58:05 -05:00
Nathan Dwarshuis 5e967ae9cb ENH don't print db lookup errors 2023-01-28 22:55:07 -05:00
Nathan Dwarshuis 95514df295 ENH clean up errors in import 2023-01-28 21:38:54 -05:00
Nathan Dwarshuis ba19b7e92b ENH don't stop if a file is not found (or other IO nonsense) 2023-01-28 21:13:16 -05:00
Nathan Dwarshuis 32bbe6e16c ENH always show counter 2023-01-28 20:05:26 -05:00
Nathan Dwarshuis d63e1eaa4c ENH finish make errors not suck 2023-01-28 20:03:58 -05:00
Nathan Dwarshuis f9c1e36ee8 ENH use normal years in dates 2023-01-28 19:32:56 -05:00
Nathan Dwarshuis b2e6047800 WIP make errors not suck 2023-01-28 18:52:28 -05:00
Nathan Dwarshuis 0faea1161c WIP make field errors useful 2023-01-27 23:33:34 -05:00
Nathan Dwarshuis bb1c79b9a4 ENH make income balance errors more sane 2023-01-27 21:05:25 -05:00
Nathan Dwarshuis 1253cd5b61 ENH clean up errors in ops 2023-01-27 20:54:25 -05:00
Nathan Dwarshuis 6a43a9a78a ENH show errors in parallel 2023-01-27 20:31:13 -05:00
Nathan Dwarshuis d3837feea5 WIP display errors in parallel 2023-01-26 23:41:45 -05:00
Nathan Dwarshuis fc6cde2716 WIP use pure errors everywhere 2023-01-25 23:04:54 -05:00
Nathan Dwarshuis 0d0c961f1a WIP make errors better 2023-01-25 20:52:27 -05:00
Nathan Dwarshuis b94fd4b667 WIP show useful errors for insertions 2023-01-24 23:24:41 -05:00
Nathan Dwarshuis 7ad754bead ENH throw exception upon match error 2023-01-24 22:15:32 -05:00
Nathan Dwarshuis eb79b325eb WIP cancel transactions on error 2023-01-07 23:42:04 -05:00
Nathan Dwarshuis 6b36213a82 ENH use sane error messages when regexps fail 2023-01-06 23:10:44 -05:00
Nathan Dwarshuis 47480d27c4 ENH generalize IO monads 2023-01-05 22:23:22 -05:00
Nathan Dwarshuis 20cc4db986 ENH use rio modules everywhere and use recommended flags 2023-01-05 22:16:06 -05:00
Nathan Dwarshuis 137d56a139 ENH don't use exact matching 2022-12-24 17:54:20 -05:00
Nathan Dwarshuis 966576ab1a FIX use correct length of range 2022-12-22 20:13:03 -05:00
Nathan Dwarshuis 6f38362d76 FIX date errors (off-by-2000 and field ordering from dhall) 2022-12-19 23:13:05 -05:00
Nathan Dwarshuis 1450124e90 ENH don't use subs 2022-12-15 23:03:07 -05:00
Nathan Dwarshuis 5e46efff9e WIP use dhall for types 2022-12-14 23:59:23 -05:00
Nathan Dwarshuis 68e4ce36ca ADD type for database configuration 2022-12-11 18:53:54 -05:00
Nathan Dwarshuis 5d6038292e ENH use cli flag for config path 2022-12-11 18:34:05 -05:00
Nathan Dwarshuis c2ccadd943 initial commit 2022-12-11 17:51:11 -05:00