Commit Graph

26 Commits

Author SHA1 Message Date
efb71b24d3 fix: offload building DTOs to GUHF
DTO building allows for fully returning correct event's
skills and registrations
2025-06-01 20:33:58 +02:00
426288d728 feat: enable adding relevant skills to events 2025-06-01 03:13:53 +02:00
72fbfe982f feat: skills endpoint, stylistic changes 2025-06-01 02:15:20 +02:00
b9a7ca08f5 fix: remove dto from get request, change the wording of error messages 2025-05-31 20:09:56 +02:00
a83d8e963a fix: login page resembles the rest of the layout 2025-05-31 19:43:06 +02:00
Pc
9306c90ad6 Added "add/delete/get skill" 2025-05-31 19:31:07 +02:00
239b588175 Merge branch 'Prothotype-login-page' into MyBranchKarol 2025-05-31 18:24:59 +02:00
32027f7384 feat: add first volunteer skill endpoint (add_skill) along with dtos 2025-05-31 18:19:15 +02:00
Pc
e47fd77333 Add search date range 2025-05-31 16:03:55 +02:00
AleksDw
740f8a955d Rename EventEndpoints VolunteerId to UserId 2025-05-31 01:51:48 +02:00
39f483fdaa workaround an issue with organization not being found, fix needed 2025-05-19 05:03:51 +02:00
ace54fb4ef feat: front-end overhaul. added search, editing, event view, validation 2025-05-19 04:36:28 +02:00
82936633f1 feat: return organisationId if user is an organization
this will help to determine if an event is created by the user or not
2025-05-19 01:49:33 +02:00
ef7ec0fc33 feat: implement basic search functionality with partial text matches 2025-05-19 01:30:49 +02:00
e0e6fa0573 feat: make sorting by date work 2025-05-18 20:39:47 +02:00
AleksDw
69c508ef84 Get OrgId only from token 2025-05-18 18:16:26 +02:00
AleksDw
bebf47a2ba Auth endpoints 2025-05-18 17:43:47 +02:00
AleksDw
b5838cbac1 Update AuthEndpoints.cs 2025-05-18 16:08:37 +02:00
AleksDw
b70697abc3 Add sign in backend 2025-05-18 15:56:07 +02:00
d1117959cd fix: check POST data for validity
feat: also introduces a template for search
2025-05-18 15:35:50 +02:00
eb9fa8b9ca feat: basic organization endpoint 2025-05-18 14:20:20 +02:00
9034c058f0 feat: secure existing events endpoints by validating the token cookie 2025-05-18 13:45:54 +02:00
fc1ff88f3d fix: rev db model, added missing entities and helper functions 2025-05-18 03:51:50 +02:00
48fed2ee5d meta: add some comments, as said in a comment inside LAH-14 2025-05-10 19:02:40 +02:00
38e3cf06b9 feat: show last events first
uporządkowuje listę wydarzeń według EventId malejąco
2025-05-10 14:30:59 +02:00
AleksDw
31f8cabeb0 Using to MinimalAPI
Usunalem EventApiController(dobry byl ale mial problemy).
Dodalem EventsEndpoints, zawiera async, używa Dtos (Data Transfer Objects).
Jeżeli chcecie zrobić HTTP request ale nie wiecie co dać w body JSONa to można sprawdzić w tych Dtos.
EventMapping służy do zmian obiektów Dto na Entity i odwrotnie.
2025-05-09 21:04:27 +02:00