Commit Graph
100 Commits
Author SHA1 Message Date
jacob1123 2f3e4bc748 Add transfers to list and skip 2022-01-09 20:27:51 +00:00
jacob1123 d71eb17092 Remove new transaction from transaction edit dialog
continuous-integration/drone/push Build is passing
2021-12-28 20:41:18 +00:00
jacob1123 53dd31fa35 Extract util.go 2021-12-28 20:41:06 +00:00
jacob1123 1a4267186a Add ability to edit payees 2021-12-28 20:40:53 +00:00
jacob1123 5018e5b973 Give sensible name to caching method
continuous-integration/drone/push Build is passing
2021-12-28 20:16:44 +00:00
jacob1123 ed9e75d57a Enable drone CI
continuous-integration/drone/push Build is passing
2021-12-28 20:08:19 +00:00
jacob1123 ed361324dd Fix indentation 2021-12-28 16:14:48 +00:00
jacob1123 6bac09a38e Implement update and delete for transactions 2021-12-27 23:38:30 +00:00
jacob1123 ab43387f06 Use wrapper to prevent password change popups from screwing up the layout 2021-12-27 23:14:50 +00:00
jacob1123 c112d95a41 Add delete button 2021-12-27 23:07:16 +00:00
jacob1123 6fdc0e3b1d Try to fix indentation 2021-12-27 23:07:07 +00:00
jacob1123 f08784ffa7 Fix typo 2021-12-27 23:06:59 +00:00
jacob1123 8188184ac9 Add tag for self-hosted registry 2021-12-27 23:06:38 +00:00
jacob1123 81b3bf334a Add transaction detail view 2021-12-14 15:02:51 +00:00
jacob1123 d0ad0dcb3a Implement categories for new transactions 2021-12-14 14:41:10 +00:00
jacob1123 1ab1fa74e0 Improve new-transaction form by adding account_id and default date 2021-12-14 14:15:08 +00:00
jacob1123 33c54c9f4c Make import available via UI 2021-12-14 14:14:35 +00:00
jacob1123 1ed9344586 Add home button to sidebar 2021-12-14 14:14:12 +00:00
jacob1123 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
jacob1123 9e01be699a Fix modals not opening 2021-12-14 14:12:01 +00:00
jacob1123 84ddb36d62 Fix reset only undoing one version 2021-12-14 14:11:11 +00:00
jacob1123 8b6a8c3697 Add income_category_id only after categories table exists 2021-12-11 22:08:08 +00:00
jacob1123 208ffce968 Wrap errors 2021-12-11 22:07:53 +00:00
jacob1123 bfba5f4028 Also rebuild on schema change
Files in postgres/schema/ are embedded in an embed.FS
2021-12-11 22:07:34 +00:00
jacob1123 1f2d81f173 Add task build command 2021-12-11 22:07:09 +00:00
jacob1123 c3a93377d9 Fix schema 2021-12-11 21:55:33 +00:00
jacob1123 40a299141d Implement new budget with transaction to be able to satisfy not null columns 2021-12-11 20:19:52 +00:00
jacob1123 935499e3a8 Improve UI
Highlight future transactions
clarify settings are for budget
2021-12-11 20:19:28 +00:00
jacob1123 915964fa4e Add now to funcs available from templates 2021-12-11 20:18:27 +00:00
jacob1123 e9adc763b2 Remove Repository and use Database instead 2021-12-11 20:18:09 +00:00
jacob1123 d5ebf5a5cf Group hidden categories 2021-12-11 15:10:51 +00:00
jacob1123 466775817f Merge added and assigned into moneyUsed 2021-12-11 13:03:26 +00:00
jacob1123 e2413290b4 Extract another method 2021-12-11 13:01:35 +00:00
jacob1123 18cd29cca2 Exctract getDate 2021-12-11 12:52:52 +00:00
jacob1123 caf0126b86 Implement budgeting views by calculating most values locally 2021-12-11 12:47:41 +00:00
jacob1123 6da1b26a2f update go.mod 2021-12-11 12:47:07 +00:00
jacob1123 13993b6b5a Try to calculate balances locally 2021-12-10 18:56:56 +00:00
jacob1123 625e0635fd Fix indentation 2021-12-10 17:09:43 +00:00
jacob1123 1826274ccc Show budget name in sidebar 2021-12-10 16:40:02 +00:00
jacob1123 defbbd1884 Improve documentation for YNAB Import 2021-12-10 16:39:56 +00:00
jacob1123 8116238d48 Add settings page linking to clean and clear 2021-12-10 16:39:44 +00:00
jacob1123 e0eeaadc60 Use same template for account and all-accounts 2021-12-10 16:38:10 +00:00
jacob1123 4cd81592e4 Also watch for templates changes 2021-12-10 16:37:11 +00:00
jacob1123 5d9693838f Complete Taskfile
- Use checksums for go.mod/go.sum
- Disable CGO to be able to use 'FROM SCRATCH' Dockerfile
- Add run command that updates docker-compose
2021-12-10 09:43:59 +00:00
jacob1123 3bec0857d5 Add Taskfile 2021-12-10 09:36:16 +00:00
jacob1123 5e18d51b5d Only show last month's overflow 2021-12-08 15:21:10 +00:00
jacob1123 11179a1593 Also load available last month 2021-12-08 15:15:49 +00:00
jacob1123 7cb7527704 Use date_trunc instead of splitting date into year and month 2021-12-08 15:15:35 +00:00
jacob1123 c3a022b595 Add views with results grouped by month 2021-12-08 14:40:11 +00:00
jacob1123 a0ebdd01aa Implement cleaning to set all historic negative balances to zero 2021-12-07 21:59:06 +00:00
jacob1123 edd1319222 Show available balance including activities of this month 2021-12-07 21:32:36 +00:00
jacob1123 a19d3d6932 Try to enable caching 2021-12-07 21:32:20 +00:00
jacob1123 f4ddf12214 Split displayed accounts by on- or off-budget 2021-12-07 21:20:35 +00:00
jacob1123 04fd687324 Handle null values in numeric 2021-12-07 21:20:35 +00:00
jacob1123 cbda69e827 Handle on_budget in available balance 2021-12-07 21:20:35 +00:00
jacob1123 e3f3dc6748 Add on_budget column to accounts 2021-12-07 21:20:35 +00:00
jacob1123 915379f5cb Make available balance date-dependent 2021-12-07 21:20:35 +00:00
jacob1123 284685fb52 Update Bootstrap 2021-12-07 21:20:35 +00:00
jacob1123 5f4c5d9d51 Display zero values in grey 2021-12-07 20:35:49 +00:00
jacob1123 8c9c78a789 Fix between call being inclusive 2021-12-07 20:28:48 +00:00
jacob1123 64822912d9 Add available balance 2021-12-07 20:22:40 +00:00
jacob1123 1d4bc158a8 Improve handling of context 2021-12-07 19:08:53 +00:00
jacob1123 fbd283cd1c Show date in without time 2021-12-07 15:42:39 +00:00
jacob1123 0ee3f269b5 Split routes into own files 2021-12-07 15:42:29 +00:00
jacob1123 6bcf94661e Merge balance and balanceassignments 2021-12-07 15:33:08 +00:00
jacob1123 0b0b20c5ec Implement assignment import and clear of budget 2021-12-07 15:28:40 +00:00
jacob1123 6f4bff929e Extract amount template 2021-12-07 14:49:58 +00:00
jacob1123 4a0759af8f Sort categories and add link to current month 2021-12-07 13:45:21 +00:00
jacob1123 646560267a Add ability to select month for budget 2021-12-07 13:40:24 +00:00
jacob1123 53c51ceb8d Add budgeting 2021-12-07 13:32:29 +00:00
jacob1123 8f374f1d62 Try to display simple budget screen 2021-12-07 13:02:39 +00:00
jacob1123 494c1431fe Hide category if empty 2021-12-06 21:21:44 +00:00
jacob1123 82045ceed7 Fix joins 2021-12-06 21:18:29 +00:00
jacob1123 16b59afc29 Abort if invalid token/data and wrap some errors 2021-12-06 21:12:32 +00:00
jacob1123 29cee46a14 Display accounts sorted by name 2021-12-06 20:47:47 +00:00
jacob1123 2caaa1a048 Fix creating group with name of category 2021-12-06 20:46:25 +00:00
jacob1123 e3cf69ab08 Remember last login 2021-12-06 20:38:55 +00:00
jacob1123 1437fc7b8d Fix 0001_enable-uuid-ossp and reorder 2021-12-06 20:36:10 +00:00
jacob1123 e2d22a1080 Display category in accounts view 2021-12-06 20:26:06 +00:00
jacob1123 495bc2b7c3 Import category 2021-12-06 20:23:10 +00:00
jacob1123 674028d394 Link to accounts view from sidebar 2021-12-04 23:57:41 +00:00
jacob1123 f103cfe3e3 Disable accounts-sidebar for admin 2021-12-04 23:57:18 +00:00
jacob1123 21db0fb3aa Fix link to account 2021-12-04 23:57:09 +00:00
jacob1123 779733e0ab Admin routes don't need budget 2021-12-04 23:56:58 +00:00
jacob1123 2ec3873e83 Revert order of template and actual page 2021-12-04 23:46:13 +00:00
jacob1123 91a0c43d6d Speed up build by using cache and updating ignores 2021-12-04 23:45:58 +00:00
jacob1123 69bac9bc3f Reorganize routes 2021-12-04 23:12:26 +00:00
jacob1123 95f6e95fdd Add link to admin-panel 2021-12-04 23:12:12 +00:00
jacob1123 5321c7d85f Improve sidebar template 2021-12-04 23:03:49 +00:00
jacob1123 ba0926900a Move account view below budget 2021-12-04 22:59:12 +00:00
jacob1123 61fa6ed776 Extract getImportantData to own file 2021-12-04 22:58:52 +00:00
jacob1123 6628a4849f Extract loading of accounts to middleware 2021-12-04 22:47:01 +00:00
jacob1123 e30fab6a06 Add sidebar 2021-12-04 22:40:27 +00:00
jacob1123 cb1297b8bf Fix using model directly 2021-12-02 21:51:36 +00:00
jacob1123 223064698e Fix type overrides
See https://github.com/kyleconroy/sqlc/issues/819
2021-12-02 21:50:46 +00:00
jacob1123 c56335adad Finalize account view 2021-12-02 21:49:14 +00:00
jacob1123 871b11bbcc Implement single account transaction-list 2021-12-02 21:44:35 +00:00
jacob1123 f2e8721aa8 Fix not loading any accounts and payees 2021-12-02 21:41:55 +00:00
jacob1123 4646356b2d Introduce own Numeric type and revert to stdlib from pgx 2021-12-02 21:32:01 +00:00
jacob1123 6f8a94ff5d Show Account Balance 2021-12-02 21:29:11 +00:00