87 Commits

Author SHA1 Message Date
a8bd03a805 Handle circular required keys
Use a dummy-value at first and update it later.
Deferrable doesn't seem to work for NOT NULL - only
for FOREIGN KEYs.
2021-12-14 14:13:23 +00:00
84ddb36d62 Fix reset only undoing one version 2021-12-14 14:11:11 +00:00
208ffce968 Wrap errors 2021-12-11 22:07:53 +00:00
c3a93377d9 Fix schema 2021-12-11 21:55:33 +00:00
915964fa4e Add now to funcs available from templates 2021-12-11 20:18:27 +00:00
e9adc763b2 Remove Repository and use Database instead 2021-12-11 20:18:09 +00:00
d5ebf5a5cf Group hidden categories 2021-12-11 15:10:51 +00:00
466775817f Merge added and assigned into moneyUsed 2021-12-11 13:03:26 +00:00
e2413290b4 Extract another method 2021-12-11 13:01:35 +00:00
18cd29cca2 Exctract getDate 2021-12-11 12:52:52 +00:00
caf0126b86 Implement budgeting views by calculating most values locally 2021-12-11 12:47:41 +00:00
13993b6b5a Try to calculate balances locally 2021-12-10 18:56:56 +00:00
8116238d48 Add settings page linking to clean and clear 2021-12-10 16:39:44 +00:00
e0eeaadc60 Use same template for account and all-accounts 2021-12-10 16:38:10 +00:00
5e18d51b5d Only show last month's overflow 2021-12-08 15:21:10 +00:00
a0ebdd01aa Implement cleaning to set all historic negative balances to zero 2021-12-07 21:59:06 +00:00
a19d3d6932 Try to enable caching 2021-12-07 21:32:20 +00:00
f4ddf12214 Split displayed accounts by on- or off-budget 2021-12-07 21:20:35 +00:00
915379f5cb Make available balance date-dependent 2021-12-07 21:20:35 +00:00
64822912d9 Add available balance 2021-12-07 20:22:40 +00:00
1d4bc158a8 Improve handling of context 2021-12-07 19:08:53 +00:00
0ee3f269b5 Split routes into own files 2021-12-07 15:42:29 +00:00
0b0b20c5ec Implement assignment import and clear of budget 2021-12-07 15:28:40 +00:00
646560267a Add ability to select month for budget 2021-12-07 13:40:24 +00:00
53c51ceb8d Add budgeting 2021-12-07 13:32:29 +00:00
8f374f1d62 Try to display simple budget screen 2021-12-07 13:02:39 +00:00
16b59afc29 Abort if invalid token/data and wrap some errors 2021-12-06 21:12:32 +00:00
2caaa1a048 Fix creating group with name of category 2021-12-06 20:46:25 +00:00
e3cf69ab08 Remember last login 2021-12-06 20:38:55 +00:00
1437fc7b8d Fix 0001_enable-uuid-ossp and reorder 2021-12-06 20:36:10 +00:00
495bc2b7c3 Import category 2021-12-06 20:23:10 +00:00
779733e0ab Admin routes don't need budget 2021-12-04 23:56:58 +00:00
2ec3873e83 Revert order of template and actual page 2021-12-04 23:46:13 +00:00
69bac9bc3f Reorganize routes 2021-12-04 23:12:26 +00:00
5321c7d85f Improve sidebar template 2021-12-04 23:03:49 +00:00
ba0926900a Move account view below budget 2021-12-04 22:59:12 +00:00
61fa6ed776 Extract getImportantData to own file 2021-12-04 22:58:52 +00:00
6628a4849f Extract loading of accounts to middleware 2021-12-04 22:47:01 +00:00
cb1297b8bf Fix using model directly 2021-12-02 21:51:36 +00:00
c56335adad Finalize account view 2021-12-02 21:49:14 +00:00
871b11bbcc Implement single account transaction-list 2021-12-02 21:44:35 +00:00
f2e8721aa8 Fix not loading any accounts and payees 2021-12-02 21:41:55 +00:00
4646356b2d Introduce own Numeric type and revert to stdlib from pgx 2021-12-02 21:32:01 +00:00
6f8a94ff5d Show Account Balance 2021-12-02 21:29:11 +00:00
276fdb4ade Also display account & payee 2021-12-02 20:58:27 +00:00
a4659c7133 Use printf in template 2021-12-02 20:53:05 +00:00
696469f6c2 Handle amount in import and display 2021-12-02 20:49:07 +00:00
11d20eeb66 Add admin routes 2021-12-02 20:36:40 +00:00
a3df95a700 Move session methods to own file 2021-12-02 20:09:44 +00:00
36bccce021 Remove token from data and add to gin context 2021-12-02 20:06:26 +00:00