Commit Graph

31 Commits

Author SHA1 Message Date
75beb7a8a1 fix: allow for image deletion (by leaving blank url) 2025-07-30 11:14:12 +02:00
870fcf7573 feat: send model used as in llm quote generation 2025-07-29 11:11:58 +02:00
8a8aac77da feat: return creation/update time 2025-07-28 14:09:51 +02:00
b603f96ec5 fix: de-authorize endpoint for history retrieval 2025-07-24 13:57:31 +02:00
3e823fb37b feat: LLM API endpoint 2025-07-23 18:45:03 +02:00
ceb1829eb9 fix: load images for randomly drawn quotes 2025-07-23 09:58:28 +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
341755d77e feat: basic stats endpoint 2025-07-22 11:39:40 +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
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
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
d53b85fe9e chore: tiny documentation changes 2025-07-18 13:38:55 +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
76258bc0eb usuwanie 2025-07-18 11:12:55 +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
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
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