|
cb60cb39d5
|
Add payment endpoint and handlers
|
2024-11-20 18:19:57 +02:00 |
|
|
3ce1c5c2d0
|
Change itemTransform function to use Item.Price directly
|
2024-11-20 18:19:43 +02:00 |
|
|
9cd9b20163
|
Add db hooks for Item
|
2024-11-20 18:19:19 +02:00 |
|
|
81b379afbd
|
Add Paymenr Item and ItemBought as entities in PaymentGroup for db interface resolution
|
2024-11-20 18:19:12 +02:00 |
|
|
4244e397f3
|
Set CASCADE deletion for ItemBought from Payment after deletion
|
2024-11-20 18:18:29 +02:00 |
|
|
dbe140ecaf
|
Set CASCADE delete for ItemPrice from Item deletion
|
2024-11-20 18:17:45 +02:00 |
|
|
b5747c9d9d
|
Add Price field for Item
|
2024-11-20 18:17:21 +02:00 |
|
|
bd2005bf5d
|
Add PaymentGroup to intf.go in db package
|
2024-11-20 18:17:03 +02:00 |
|
|
953394335b
|
Remove DbPayment and add Payment instead to types package
|
2024-11-20 18:16:45 +02:00 |
|
|
a52b108bf8
|
Add metric /all endpoint and handler
|
2024-11-19 10:13:41 +02:00 |
|
|
f4342ba019
|
Add types.DbMetric type to types package
|
2024-11-19 10:13:19 +02:00 |
|
|
8855cc3e54
|
Add db seeding with default metrics for users
|
2024-11-19 10:13:02 +02:00 |
|
|
06b317511d
|
Add Metric entity to database schema
|
2024-11-19 10:12:28 +02:00 |
|
|
83f69a2135
|
Add /all endpoint and handler for income
|
2024-11-19 10:12:04 +02:00 |
|
|
9f7d93ed19
|
Fix issue with /add endpoint for income
|
2024-11-19 10:11:40 +02:00 |
|
|
21afd95d98
|
Refactor handlers/income.go
|
2024-11-18 19:38:44 +02:00 |
|
|
78d420e1d2
|
Remove UserID from types.DbIncome
|
2024-11-18 19:38:34 +02:00 |
|
|
602b3da13b
|
Add implementation for db.UserIdentifiable for Income
|
2024-11-18 19:38:23 +02:00 |
|
|
b9cfa2004a
|
Fix issue with updating expense value for the same card
|
2024-11-18 19:07:11 +02:00 |
|
|
ead0a4bd60
|
Add item routes
|
2024-11-18 09:55:34 +02:00 |
|
|
dd19718dc8
|
Add handlers for finding items
|
2024-11-18 09:55:27 +02:00 |
|
|
fff8c256d1
|
Add DbItem and DbItemSearch types to types package
|
2024-11-18 09:52:11 +02:00 |
|
|
3b3a8b13d6
|
Add implementation for db.UserIdentifiable for Item
|
2024-11-18 09:51:46 +02:00 |
|
|
a9a4f26528
|
Add routes for transfer
|
2024-11-16 20:31:36 +02:00 |
|
|
a47c75bb52
|
Add handlers for transfer
|
2024-11-16 20:31:31 +02:00 |
|
|
bf9628d1d7
|
Add types.DbTransfer
|
2024-11-16 20:31:25 +02:00 |
|
|
66f83cf3aa
|
Add implementation of db.UserIdentifiable for db.Transfer and add db hooks
|
2024-11-16 20:31:18 +02:00 |
|
|
7b461ce985
|
Fix expense error in AfterDelete hook
|
2024-11-16 20:30:47 +02:00 |
|
|
d230ee7cf2
|
Fix errors in swagger docs
|
2024-11-16 11:45:47 +02:00 |
|
|
18aad2c225
|
Add routes to handlers for expense group
|
2024-11-16 11:43:32 +02:00 |
|
|
2827a31fc9
|
Add Expense CRUD handlers
|
2024-11-16 11:43:11 +02:00 |
|
|
e26808e2f3
|
Add loging ShouldBindJSON error to console
|
2024-11-16 11:42:59 +02:00 |
|
|
137d343773
|
Add types.DbExpense
|
2024-11-16 11:42:43 +02:00 |
|
|
893f2aa365
|
Add Expense entity to database
|
2024-11-16 11:42:28 +02:00 |
|
|
29a0353888
|
Small refactoring and added all route for categories
|
2024-11-11 22:27:16 +02:00 |
|
|
22007ef38e
|
Add SelfReferencing check in Category database BeforeSave hook
|
2024-11-11 22:26:47 +02:00 |
|
|
8a7d52efda
|
Fix Parent finding issue with BeforeSave hook and duplicate finding error for category
|
2024-11-11 22:26:21 +02:00 |
|
|
9b77237d50
|
Reforming and adding all endpoint for types
|
2024-11-11 21:30:40 +02:00 |
|
|
ba94ad6084
|
Add missing cardTransform function call
|
2024-11-10 08:49:12 +02:00 |
|
|
85f8972d5e
|
Add route to CardGetAll handler
|
2024-11-10 08:25:44 +02:00 |
|
|
7b8405abdd
|
Small refactoring and adding getting all handler to cards
|
2024-11-10 08:25:35 +02:00 |
|
|
0b968d33a8
|
Add error on binding values to JSON on create request
|
2024-11-10 08:23:45 +02:00 |
|
|
afb8cb9773
|
Change types.Message to contain Info field and not Message field
|
2024-11-10 08:23:28 +02:00 |
|
|
88981b8141
|
Add ignoring of *.log files in gitignore
|
2024-11-08 17:07:00 +02:00 |
|
|
4e1faf26be
|
Remove Debug part of fetching data from database
|
2024-11-08 17:06:31 +02:00 |
|
|
ad25c69c79
|
Redirect db log into db.log file
|
2024-11-08 17:05:23 +02:00 |
|
|
a0b96e25b2
|
Add missing creating part of sessions on registration and login
|
2024-11-08 17:05:03 +02:00 |
|
|
f6c226e97a
|
Fix errors with trying to fetch sessions from database
|
2024-11-08 17:04:43 +02:00 |
|
|
b3362d4a66
|
Change user handlers to set cookies on registration and log in
|
2024-11-06 19:48:02 +02:00 |
|
|
a7fb54eeb7
|
Change auth middleware to be session based on cookies
|
2024-11-06 19:47:40 +02:00 |
|