Commit Graph

59 Commits

Author SHA1 Message Date
AleksDw
aa5caf4375 Update modify.html 2025-06-01 18:21:20 +02:00
AleksDw
26635b4e88 Add leaving event 2025-06-01 17:21:00 +02:00
AleksDw
7e3759927f Add applying to event 2025-06-01 17:13:47 +02:00
AleksDw
b440a0334c Fix api/auth/my_events endpoint 2025-06-01 17:11:01 +02:00
AleksDw
69895f4f35 Revert "Apply to Event"
This reverts commit 5d362e2a39.
2025-06-01 17:10:12 +02:00
AleksDw
5d362e2a39 Apply to Event 2025-06-01 15:06:13 +02:00
AleksDw
a81a57654c Merge branch 'EventRegistrationEndpoints' 2025-06-01 14:20:46 +02:00
4be57c27d9 fix: graphical fix in index view 2025-05-31 20:22:27 +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
2a8fff39c9 Fix logout so it deletes token in database 2025-05-31 14:37:06 +02:00
AleksDw
b194819b6e Add login/logout in every page 2025-05-31 14:21:02 +02:00
AleksDw
5da58ee030 fix auth.ts 2025-05-31 13:57:58 +02:00
AleksDw
42e468f28f auth frontend 2025-05-31 13:34:18 +02:00
AleksDw
48184cd8b6 Add remove endpoint 2025-05-31 02:24:54 +02:00
AleksDw
f2ccde2ea6 Join, leave, registrations endpoints
todo: remove smb from event endpoint
2025-05-31 02:19:01 +02:00
AleksDw
740f8a955d Rename EventEndpoints VolunteerId to UserId 2025-05-31 01:51:48 +02:00
89543558b0 chore: translate some strings, add organizer to waterfall view 2025-05-19 05:11:45 +02:00
39f483fdaa workaround an issue with organization not being found, fix needed 2025-05-19 05:03:51 +02:00
07702b93b1 fix: fix acces for logged out visitors 2025-05-19 04:54:06 +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
5536a9ad7f fix: front-end improvements
makes some fields visible and other hidden depending on the result of
some API calls, e.g. visitor is logged in -> show "Log out" button
2025-05-19 00:43:15 +02:00
e0e6fa0573 feat: make sorting by date work 2025-05-18 20:39:47 +02:00
8ffb7f4eff fix: typescript code now regenerates after save 2025-05-18 18:47:10 +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
1eb104945a chore: get rid of organizationId from payload on event creation view
it's redundant and inferred from the user's token
2025-05-18 17:12:18 +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
ad4743d68e Merge branch 'ChangingFromControllerToEndpoints' into maksCSS 2025-05-17 14:09:47 +02:00
840bc3e0bd fix: center the + inside the "add" button (in panel view) 2025-05-17 14:09:20 +02:00
Maksogonowy
7c78386b04 CSS update
Made the site look closer to the mock-up
2025-05-16 12:03:02 +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
AleksDw
99f2e17a12 Revert "Delete EventsDto.cs"
This reverts commit 1377fa7207.
2025-05-07 22:03:12 +02:00
AleksDw
1377fa7207 Delete EventsDto.cs 2025-05-07 21:33:10 +02:00
33f8e80f62 feat: add swagger ui to create API documentation automatically 2025-05-06 10:05:38 +02:00
Witkopawel
0e14821cec Lekkie zmiany
Trzeba dodać logowanie tak jak reszte(nie wiem gdzie było logowanie ale zaraz się znajdzie)
2025-04-30 16:21:51 +02:00
Witkopawel
071626366e Poprawione dodawanie
Nie działało bo tam bawiłęm się ale już jest naprawione to tam jedna linijka
2025-04-30 15:46:36 +02:00