Commit Graph

25 Commits

Author SHA1 Message Date
644e9de0bd feat: endpoint for getting user data 2025-07-18 13:05:00 +02:00
ee7e7762e0 chore: update documentation for new quotes endpoints 2025-07-18 12:54:28 +02:00
7d20e4d4f9 edycja naprawiona 2025-07-18 12:12:22 +02:00
908a56665d Merge branch 'enhanced_categories' 2025-07-18 11:14:22 +02:00
76258bc0eb usuwanie 2025-07-18 11:12:55 +02:00
b20b7d9127 feat: basic category controller (create & retrieve) 2025-07-18 11:09:27 +02:00
abebb84c69 feat: helper functions for checking roles and a demo endpoint 2025-07-17 13:48:12 +02:00
2350935e8a fix: fixes to addQuote (don't require categories nor imageUrl)
also sends back role upon login
2025-07-17 10:55:38 +02:00
3cd2eff522 fix: use userid for jwt, migration for user roles 2025-07-17 10:39:22 +02:00
f34a1ee995 feat: experimental cors support 2025-07-16 21:30:57 +02:00
09bc6637a8 feat: provide user data on login, minor fix to seeding, logical fixes 2025-07-16 16:51:54 +02:00
4b7b731679 fix: return id for random quote as well 2025-07-16 12:20:47 +02:00
9e00954c29 Seedowanie 2025-07-16 11:34:03 +02:00
6727cbbe1e paginacja 2025-07-16 10:16:13 +02:00
934b69b11b chore: add API documentation to swagger 2025-07-15 20:08:23 +02:00
1da5e47b88 fix: revert passing password hash for jwt generation
builder in Program.cs is not aware of it, so [Authorize] decorator can't
be provided data necessary to validate requests which contain JWT with
password
2025-07-15 18:00:20 +02:00
e2eea51a08 fix: db model fixes and quote mapping 2025-07-15 16:38:37 +02:00
a355c668bd chore: (WIP) group controllers, slightly annotate code 2025-07-15 13:24:39 +02:00
dee143dbc8 Merge branch 'AddQuote' into basic_jwt_auth 2025-07-15 12:39:25 +02:00
f275463a3d feat: add db-based user log-on, invalidate tokens made for old passwords 2025-07-15 12:38:02 +02:00
ae7f0216e2 losowanie cytatow 2025-07-15 12:24:09 +02:00
d0fc4e5ef2 feat: offload jwt generation to guhf, move auth code to new controller 2025-07-15 11:19:59 +02:00
a92f34c725 kontroler - dodawanie cytatow 2025-07-15 10:26:33 +02:00
b6dc1ce2cd feat: jwt token example 2025-07-15 10:22:53 +02:00
e87c653fae chore: commit files from an ASP.NET template 2025-07-09 04:18:18 +02:00