|
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 |
|
|
06e0a2d7ec
|
Add sessions in tokens package
|
2024-11-06 19:47:22 +02:00 |
|
|
e9ad95821e
|
Add db.Session type
|
2024-11-06 19:47:12 +02:00 |
|
|
c245039015
|
Add consts package with cookies name for session in it
|
2024-11-06 19:46:39 +02:00 |
|
|
1c4756c758
|
Add username for Account type in types package
|
2024-11-06 19:45:54 +02:00 |
|
|
08a409caaf
|
Add Session struct
|
2024-11-06 19:44:52 +02:00 |
|
|
a45423b5e2
|
For now disabling only one token for user
|
2024-11-06 19:44:10 +02:00 |
|
|
bfa8445f78
|
Change AllowOrigin from everything to Svelte frontend
|
2024-11-06 19:43:43 +02:00 |
|
|
fdc3ca101c
|
Add /api/authping endpoint
|
2024-11-06 19:43:20 +02:00 |
|
|
155deb889c
|
Change name of module
|
2024-11-04 17:55:14 +02:00 |
|
|
1a5941cd89
|
Add types.DbPayment
|
2024-11-04 17:53:38 +02:00 |
|
|
85dc709979
|
Change Port from 3001 to 3000
|
2024-11-04 17:53:03 +02:00 |
|
|
9731073e9f
|
Refactor Debt handlers
|
2024-11-02 00:05:53 +02:00 |
|
|
1402825a72
|
Delete UserID for types.DbDebt
|
2024-11-02 00:05:45 +02:00 |
|
|
7f4067ce31
|
Add implemetation for db.UserIdentifiable interface for Debt entity
|
2024-11-02 00:05:28 +02:00 |
|
|
45123613fd
|
Add User binding to paymets
|
2024-11-01 22:54:29 +02:00 |
|
|
2eb7ccdaf4
|
Remove IsValid and add ValidTo field for ItemPrice entity
|
2024-11-01 22:54:11 +02:00 |
|
|
6c70cc1881
|
Rename Name for Payment to Title
|
2024-11-01 09:30:51 +02:00 |
|
|
e2d3d636cb
|
Add TotalCost MetricValue MetricType and Type relationship to ItemBought
|
2024-11-01 09:30:34 +02:00 |
|
|
48f7b8258e
|
Add Item-Type relationship
|
2024-11-01 09:30:01 +02:00 |
|
|
02a33aaced
|
Move Comment in Item above Metric fields
|
2024-11-01 09:29:48 +02:00 |
|
|
de7926337a
|
Change db.Card.Value to db.Card.Balance and types.DbCard.Value to types.DbCard.Balance
|
2024-11-01 09:26:37 +02:00 |
|
|
340b39c35e
|
Refactor category handlers
|
2024-10-31 23:06:42 +02:00 |
|
|
faa2bf7a9e
|
Add implementation for db.UserIdentifiable for Category
|
2024-10-31 23:05:38 +02:00 |
|
|
6b339e7496
|
Rephrase ERROR_CATEGORY_PARENT_NOT_FOUND error in db package
|
2024-10-31 23:05:18 +02:00 |
|
|
d7786fb50f
|
Deleted UserID for types.DbCategory
|
2024-10-31 23:04:51 +02:00 |
|
|
30c6c59e63
|
Add type handlers
|
2024-10-31 11:41:49 +02:00 |
|
|
020a5e6e40
|
Add implemetation for db.UserIdentifiable for type in db package
|
2024-10-31 11:11:39 +02:00 |
|
|
7d1ca772c0
|
Add BeforeSave hook for type for duplicate detection
|
2024-10-31 11:09:11 +02:00 |
|
|
0c4cca73a5
|
Refactored Card handlers so they will take 150 less lines of code
|
2024-10-31 11:07:51 +02:00 |
|
|
33b5b73ab2
|
Add generic CRUD interface for UserIdentifiable entities
|
2024-10-31 11:07:34 +02:00 |
|
|
b09e85b4cb
|
Extract GetUserID and ParseID to boilerplate.go in handlers package
|
2024-10-31 11:05:52 +02:00 |
|
|
255f812078
|
Add clarity to cards errors
|
2024-10-31 11:05:06 +02:00 |
|
|
79b83026f5
|
Fix issue with updating the same entity
|
2024-10-31 10:09:50 +02:00 |
|
|
db53f2a486
|
Add implicit implementation of db.UserIdentifiable for Card
|
2024-10-31 10:09:38 +02:00 |
|
|
506586a187
|
Add db.Identifiable and db.UserIdentifiable interfaces
|
2024-10-31 10:09:10 +02:00 |
|
|
55ea7409ed
|
Add ID field to types.DbType
|
2024-10-31 10:07:48 +02:00 |
|
|
06bb34c0d7
|
Fix token issue
|
2024-10-31 10:07:36 +02:00 |
|
|
cfb97485e3
|
Add DbType for API requests
|
2024-10-29 12:27:26 +02:00 |
|
|
713f19a201
|
Add comment field for Item schema
|
2024-10-29 12:25:01 +02:00 |
|
|
0e081297d0
|
Add Type to database schema
|
2024-10-29 12:24:46 +02:00 |
|
|
9cf82d5301
|
Add income routes
|
2024-08-14 18:21:03 +03:00 |
|
|
94b933031f
|
Add income handlers
|
2024-08-14 18:20:57 +03:00 |
|
|
9f4a9e3a83
|
Add DbIncome
|
2024-08-14 18:20:51 +03:00 |
|