9e9017717a
feat: helper function for generating LLM responses
2025-07-23 18:28:28 +02:00
df4cd1c8a7
fix: include .jpeg as an allowed file extension
2025-07-23 12:48:05 +02:00
f60f613969
feat: template for image upload
2025-07-23 12:19:29 +02:00
ceb1829eb9
fix: load images for randomly drawn quotes
2025-07-23 09:58:28 +02:00
a1086b94f1
feat: bring back categories endpoint with no pagination
...
now it requires authorization
2025-07-23 09:44:56 +02:00
ba162c34cc
chore: nitpicky details
2025-07-22 14:08:37 +02:00
197918e526
fix: keep API path names consistent
2025-07-22 14:01:32 +02:00
ac80061437
feat: paginate categories
2025-07-22 13:28:27 +02:00
e7cebc32a4
feat: naive sanity check for image URLs
2025-07-22 13:09:13 +02:00
9e1e9c86d3
feat: sort the quotes from newest first by default
2025-07-22 12:43:35 +02:00
10d2a35e61
Merge branch 'main' into Tydz3,-losowanie-z-kategoria
2025-07-22 12:06:44 +02:00
ca78f43f73
chore: documentation for category modification
2025-07-22 12:06:22 +02:00
3a82e4291e
edycja kategorii
2025-07-22 11:45:48 +02:00
341755d77e
feat: basic stats endpoint
2025-07-22 11:39:40 +02:00
0ec7bdf2fe
chore: adjust line endings, show git info
2025-07-22 10:59:12 +02:00
b292586764
fix: handle requests with a non-integer list for category_id
2025-07-21 14:29:26 +02:00
779772e60c
Merge remote-tracking branch 'origin/Tydz3,-losowanie-z-kategoria' into Tydz3,-losowanie-z-kategoria
2025-07-21 14:21:06 +02:00
b96c780533
chore: documentation and formatting for random quote and deleting categories
2025-07-21 13:27:11 +02:00
f773f886b4
paginacja z kategoriami
2025-07-21 13:25:22 +02:00
d502e9d120
usuwanie kategorii (do przetestowania dla cytatow z kategoriami)
2025-07-21 12:40:13 +02:00
a8a82df6ed
losowanie z kategoria
2025-07-21 11:49:01 +02:00
d09d8f85e3
fix: deleting quote produces response code 200, not 204
2025-07-21 11:38:59 +02:00
05e6b9bc86
feat: ensure the number of draws is present in the db
2025-07-21 11:16:46 +02:00
d99755e7af
fix: pass DTO from API, and pass objects instead of raw ints
...
fixes cyclic import when passing categories
2025-07-21 10:57:38 +02:00
1f9c04e2fc
feat: return user's role name inside UserInfoDTO
2025-07-21 09:47:31 +02:00
d53b85fe9e
chore: tiny documentation changes
2025-07-18 13:38:55 +02:00
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