181 Commits

Author SHA1 Message Date
69bac9bc3f Reorganize routes 2021-12-04 23:12:26 +00:00
95f6e95fdd Add link to admin-panel 2021-12-04 23:12:12 +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
e30fab6a06 Add sidebar 2021-12-04 22:40:27 +00:00
cb1297b8bf Fix using model directly 2021-12-02 21:51:36 +00:00
223064698e Fix type overrides
See https://github.com/kyleconroy/sqlc/issues/819
2021-12-02 21:50:46 +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
db7f0bfb7b Add login/register link from register/login 2021-12-02 20:37:40 +00:00
0855942d0d Fix order of Down query 2021-12-02 20:37:16 +00:00
dcdcd53833 Fix users ID not being generated 2021-12-02 20:36:55 +00:00
11d20eeb66 Add admin routes 2021-12-02 20:36:40 +00:00
4011f3cace Also return sql.DB to be able to use goose 2021-12-02 20:36:22 +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
e7c9a7f52f Rename budget to transaction for new-transaction 2021-12-02 18:45:03 +00:00
67139ceff8 Show first 200 transactions only 2021-12-02 16:23:59 +00:00
61c55dda3a Small fixes for ynab import 2021-12-02 16:22:27 +00:00
e9173a3d37 Pass budgetID 2021-12-02 15:58:18 +00:00
57542b5202 Skip first line 2021-12-02 15:58:10 +00:00
1cd2eedcb8 Continue on ynab import 2021-12-02 15:56:40 +00:00
7b6914e5f2 Start implementing ynab import 2021-12-02 15:30:05 +00:00
63c1b4fbab Use /app in production image 2021-12-02 15:28:45 +00:00
77ae9d2dfd Convert templates to partials 2021-12-02 15:00:53 +00:00
67f7022b90 Fix included libraries 2021-12-02 10:58:10 +00:00
f760f9b855 Add accounts 2021-12-02 10:52:58 +00:00
e465b961a5 Use pgx 2021-12-02 10:44:14 +00:00
cdc767a497 Regenerate sqlc 2021-12-02 10:44:01 +00:00
adce350e0c Try to implement new transaction 2021-12-02 10:43:42 +00:00
4d1b883974 Merge schemas into one file 2021-12-02 10:09:57 +00:00
37d19733df Add accounts & payees 2021-11-29 22:52:58 +00:00
6df72dc40d Split budget and dashboard routes into own files 2021-11-29 22:29:03 +00:00
f0a1d1d475 ignore .vscode for build 2021-11-29 22:28:41 +00:00
01e634333a Improve .gitignore 2021-11-29 22:08:33 +00:00
8e8c653fc9 Add run target 2021-11-29 22:04:04 +00:00
85ef7557c1 Use uuid.UUID everywhere and have postgres generate ids 2021-11-29 21:49:37 +00:00
5e8a98872f Add adminer container 2021-11-29 21:41:57 +00:00
8aa147f2a5 Rebuild go.mod 2021-11-08 22:38:11 +00:00
45d01b4e84 Fix templates 2021-11-08 22:36:31 +00:00
c4fe36a2a4 Fix leading space 2021-11-08 22:33:11 +00:00
bda3d32cfc Use postgres schema instead of pgx 2021-11-08 22:29:35 +00:00