|
eeaec565bd
|
Add total to StatsTypeCurrencyChart
|
2024-12-01 12:17:08 +02:00 |
|
|
66dfdada06
|
Add sorts.go to utils package to use utils.DescendingOrder instead of writing it all every time
|
2024-12-01 11:39:31 +02:00 |
|
|
32d3f1331c
|
Add filtering expenses based on db.SettingsTypeFilter on statistics/type route handler
|
2024-11-30 20:49:26 +02:00 |
|
|
65fff95124
|
Add *.bak rule to gitignore
|
2024-11-30 16:56:46 +02:00 |
|
|
afaf43dde1
|
Add settings/type routes and handlers
|
2024-11-30 16:37:31 +02:00 |
|
|
6d41a778b3
|
Add types.SettingsTypeFilter struct
|
2024-11-30 16:37:11 +02:00 |
|
|
03fa9ff9bc
|
Add db.SettingsTypeFilter struct to db package
|
2024-11-30 16:36:55 +02:00 |
|
|
4ed24ab555
|
Add tokens.SESSION_DURATION_IN_SECONDS to tokens package and made cookies sent to front and in db session duration to be in sync
|
2024-11-30 16:36:22 +02:00 |
|
|
39275473af
|
Delete log.Printf() function calls from session_cache.go
|
2024-11-30 16:35:32 +02:00 |
|
|
c118a238de
|
Rework how AuthMiddleware works speeding it up using basic map runtime cache
|
2024-11-30 13:57:57 +02:00 |
|
|
8f592a0f2e
|
Change soft deletion of sessions to be hard delete
|
2024-11-30 12:36:28 +02:00 |
|
|
21dc84a29c
|
Move time.Hour as SESSION_DURATION constant
|
2024-11-30 12:36:11 +02:00 |
|
|
29bf1427a0
|
Add statistics handler and endpoint
|
2024-11-29 20:59:22 +02:00 |
|
|
91590ade72
|
Add StatsType and StatsTypeCurrencyChart structs to types package
|
2024-11-29 20:58:56 +02:00 |
|
|
2e621a6841
|
Add payment/all route and handler
|
2024-11-28 15:08:41 +02:00 |
|
|
b6f393bd46
|
Add Item to DbItemBought
|
2024-11-28 15:08:25 +02:00 |
|
|
ffd0c8e45b
|
Finish creating payment/add handler
|
2024-11-28 15:08:10 +02:00 |
|
|
e655968fc3
|
Drop Debug() function to query on delete in payment.add rollback
|
2024-11-28 15:06:07 +02:00 |
|
|
dd5f67536e
|
Rename types.Payment to types.DbPayment and types.ItemBought to be types.DbItemBought
sq
|
2024-11-28 15:04:14 +02:00 |
|
|
e6d53c4d17
|
Add BeforeSave hook to db.Payment
|
2024-11-28 13:42:59 +02:00 |
|
|
994f623f23
|
Rename ERROR_EXPENSE_INVALID_USERID -> ERROR_EXPENSE_INVALID_CARD_USERID
|
2024-11-28 13:40:10 +02:00 |
|
|
f221480b2c
|
Add marker for Hepler_ExpenseBulk.CreateExpenseFromChild to sweep it under the rug
|
2024-11-28 13:39:43 +02:00 |
|
|
8807235dad
|
Add Preloading and sending NameWithParent field with default value being inp.Name
|
2024-11-27 21:59:47 +02:00 |
|
|
87c5676846
|
Add NameWithParent field for types.DbCategory
|
2024-11-27 21:59:17 +02:00 |
|
|
fc2b066c12
|
Fix issue when creating root category for new user
sq
|
2024-11-27 21:58:47 +02:00 |
|
|
d55ba5c3c7
|
Changes in README.md
|
2024-11-27 12:20:09 +02:00 |
|
|
4d66637d3e
|
Change name of database file
|
2024-11-27 09:57:41 +02:00 |
|
|
3e8f56eb0a
|
Add bulk creation of expencies
|
2024-11-27 07:39:23 +02:00 |
|
|
4d452737cd
|
Update expenseTransform to show ShowValue and Card if possible
|
2024-11-24 11:34:48 +02:00 |
|
|
e608e64cce
|
Add Card and ShowValue to types.DbExpense
|
2024-11-24 11:34:05 +02:00 |
|
|
d61d083ed6
|
Add showing currency symbol for card name if it is possible
|
2024-11-24 11:33:42 +02:00 |
|
|
46ab4ee7a0
|
Now if it can be done transfer with same currency between cards will show symbol of either of the cards
|
2024-11-24 00:39:02 +02:00 |
|
|
957f1e8363
|
Update transfer handlers to show and use card transformer that will use currency transformer as well if their field is not nil
|
2024-11-24 00:28:22 +02:00 |
|
|
0f7b1b210a
|
Add FromValue and ToValue to show for different currencies and some UI fields for easy front
|
2024-11-24 00:27:34 +02:00 |
|
|
4db167085a
|
Add Currency and DisplayName to card handlers
|
2024-11-24 00:27:02 +02:00 |
|
|
4fc2b5f5bd
|
Add displayName to types.DbCard
|
2024-11-24 00:26:33 +02:00 |
|
|
4199603be3
|
Add situation when transfer will be from one currency on the card to different currency
|
2024-11-24 00:26:02 +02:00 |
|
|
e1a46f5fc7
|
Update handler and types.DbCard to accept and send new fields
|
2024-11-20 21:00:17 +02:00 |
|
|
4522d4450f
|
Add LastDigits and binding to currency for cards
|
2024-11-20 20:59:48 +02:00 |
|
|
05b5059477
|
Change RON symbol to be RL
|
2024-11-20 20:45:56 +02:00 |
|
|
40ec90687a
|
Add currency/all endpoint and handler
|
2024-11-20 20:29:00 +02:00 |
|
|
79eb50f375
|
Add types.DbCurrency to types package
|
2024-11-20 20:28:42 +02:00 |
|
|
f4cad689d8
|
Add ExchangeRate entity to database
|
2024-11-20 19:19:48 +02:00 |
|
|
5f35b57eb4
|
Remove logs from expense.go in db package
|
2024-11-20 19:19:17 +02:00 |
|
|
33ffa6275b
|
Change initMetrics seeding to use new generic function and add seeding for Currencies
|
2024-11-20 18:46:07 +02:00 |
|
|
d929492e3d
|
Add implementation for Identifiable interface for Metric entity
|
2024-11-20 18:45:23 +02:00 |
|
|
579bb031c7
|
Change Identifiable interface to only use GetID() uint function
|
2024-11-20 18:44:44 +02:00 |
|
|
d41e6301e5
|
Add Currency entity to database
|
2024-11-20 18:44:23 +02:00 |
|
|
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 |
|