54 Commits

Author SHA1 Message Date
Alex Phillips
0ed43c1bc5 version bump 2022-05-21 09:50:36 -04:00
Alex Phillips
9a6b4d2f66
backed: added currency support on budget object, frontend: added currency helper utility, using currency prop on the budget to determine currency operations (#20) 2022-05-21 09:49:20 -04:00
Alex Phillips
2d5f68a744 ts-node required for migrations 2022-04-27 23:01:42 -04:00
Alex Phillips
337592fa3e bugfix - migrations weren't running as ts-node wasn't a prod dep 2022-04-17 09:32:41 -04:00
Alex Phillips
ba9d021aff
Feature/underfunded carryover (#18)
* added ENV to disable registration, also surfacing that error message in the UI

* removed toBeBudgeted from budget as this is now on a month-by-month basis, added in necessary DB event logic to calculate carry-over of this amount as transactions / budgets change

* fixed date diff logic

* frontend changes for budget month's available amount

* changing from typeorm sync to migrations - initial migration checks for existing user table and skips migration if it exists as this was a DB already generated by the sync

* update docker init script

* added migration for budget month availablity

* cascade deletes, fixed tests
2022-04-15 07:58:22 -04:00
Alex Phillips
1c45934841 cleaned up old and unused migrations, added migrate script to package.json 2022-04-11 07:33:09 -04:00
Alex Phillips
617886d8aa changing from typeorm sync to migrations - initial migration checks for existing user table and skips migration if it exists as this was a DB already generated by the sync 2022-04-05 09:22:49 -04:00
Alex Phillips
cb482da465 default memo of transfer transactions to tracking accounts is the category, fixed db call from update to insert when updating a transaction and accounts change 2022-03-05 07:57:46 -05:00
Alex Phillips
6cf048aee6 fixed date type issue, re-sort categories and groups when a new one is created 2022-02-28 18:46:45 -05:00
Alex Phillips
2a7114a421 fixed date type issue and category ID 'autocomplete' UI bug 2022-02-27 22:02:54 -05:00
Alex Phillips
05d1c75089
Merge pull request #17 from linuxserver/multi-currency-support
removed dinero dependency on the backend
2022-02-25 11:20:02 -05:00
Alex Phillips
7869573603 removed dinero dependency on the backend 2022-02-24 21:41:23 -05:00
Alex Phillips
19f92d1664 version bump, fixed duplicate import error 2022-02-24 11:29:30 -05:00
Alex Phillips
79b2da18af using luxon for datetimes to keep consistency when generating dates across timezones 2022-02-22 09:38:09 -05:00
Alex Phillips
4d9629841e version and additional db packages 2022-02-20 10:53:11 -05:00
Alex Phillips
dc75501caf this file isn't needed anymore... 2022-02-16 13:52:13 -05:00
Alex Phillips
4c2a82ade9 initial attempt, but may try virtualized table 2022-02-15 12:16:15 -05:00
Alex Phillips
dabefbb39f ping to refresh jwt while app is open 2022-02-12 09:51:07 -05:00
Alex Phillips
4af21443f5 more testing 2022-02-10 21:13:19 -05:00
Alex Phillips
40cfa39310 attempting to fix prod pathing 2022-02-10 20:39:43 -05:00
Alex Phillips
699da442da activity is only counted if it's not 'inflow', fixed bug where CC transactions weren't getting handled correctly against the budget month 2022-02-07 18:19:45 -05:00
Alex Phillips
5560d8d90d added bulk transaction add, added support to import transactions via CSV 2022-02-06 17:05:27 -05:00
Alex Phillips
0978f10a46 fixed / implemented user edit in frontend 2022-02-05 11:58:09 -05:00
Alex Phillips
81ad9ba37d ensure that the next 'month' is always present - this handles month rollovers on the first 2022-02-05 07:21:42 -05:00
Alex Phillips
1c61255a57 additional endpoints to help performance in the frontend 2022-01-17 14:13:20 -05:00
Alex Phillips
62c910f934 prettier formatting 2022-01-08 09:18:32 -05:00
Alex Phillips
a3194089f2 added bulk transaction editing / deleting capabilities 2022-01-08 09:00:32 -05:00
Alex Phillips
abca44ca94 added ping endpoint to refresh JWTs and keep sessions alive 2022-01-08 08:59:54 -05:00
Alex Phillips
a8744da70e attempting to optimize API calls by allowing query params to return specific data 2022-01-04 18:55:26 -05:00
Alex Phillips
cf8785a017 re-organized / centralized sorting order logic, added support for reordering accounts 2021-12-29 14:54:16 -05:00
Alex Phillips
854d0c1109 refactored findOrCreate to use create individually 2021-12-28 16:11:26 -05:00
Alex Phillips
8e203b5b5a added additional subscribers, moved some logic around 2021-12-28 16:10:53 -05:00
Alex Phillips
d4a6bf5d7e cleanup 2021-12-28 16:10:40 -05:00
Alex Phillips
bbfc7b8c03 more tweaks to entity management, tests now fixed, in UI, budget table categories are now draggable and sortable 2021-12-13 06:18:20 -05:00
Alex Phillips
5154f63f34 refactored completely to use typeorm data mapper instead of active record 2021-12-11 19:52:07 -05:00
Alex Phillips
7e3ecf1781 fixed column unique 2021-12-10 18:16:16 -05:00
Alex Phillips
2caff15f67 fetch transactions on account creation, added ynab importergit push -f 2021-12-08 22:17:46 -05:00
Alex Phillips
a5be8ba4d9 better drawer lists, slimmer accounts table, broke out BudgetTable into smaller components for header, added account reconciliation, etc 2021-12-08 21:55:03 -05:00
Alex Phillips
0809166c92 big updates - fixed CC transactions, specifically inflow to inflow category, now using dinerojs for currency handling, all amount values are stored as integers instead of floating point, big UI changes including better table structure, editing of account names, dark theme, paging of transactions, etc. 2021-12-07 19:54:42 -05:00
Alex Phillips
1907ce7831 more tests 2021-11-28 15:16:00 -05:00
Alex Phillips
90392daf32 formatting fixes 2021-11-28 11:11:24 -05:00
Alex Phillips
fb6602c862 fixed tests, modified some logic to correct them 2021-11-28 11:08:13 -05:00
Alex Phillips
c5ae1ab33f configurable ORM, initial balance is automatically reconciled 2021-11-25 14:09:05 -05:00
Alex Phillips
8d0081d082 more fixes, started adding tests 2021-11-25 10:58:40 -05:00
Alex Phillips
ffa65b920a credit cards should be working - initial balance, category transactions, etc 2021-11-22 20:16:03 -05:00
Alex Phillips
7216f475cd moved 'to be budgeted' running balance to the global budget. Not what I want, but my head hurts figuring out how to calculate a properly cascading forward and backward ATB for every month 2021-11-21 14:46:59 -05:00
Alex Phillips
1dbb288b52 removed debug loging 2021-11-20 06:54:47 -05:00
Alex Phillips
a1a4dc0900 renamed sanitize methods 2021-11-19 19:12:35 -05:00
Alex Phillips
43f22241b0 transfer transactions fully implemented (except high level budget / account balances) 2021-11-19 00:24:11 -05:00
Alex Phillips
8ffbe92d82 more smaller changes 2021-11-18 21:47:55 -05:00