Commit Graph

44 Commits

Author SHA1 Message Date
32027f7384 feat: add first volunteer skill endpoint (add_skill) along with dtos 2025-05-31 18:19:15 +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
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
Witkopawel
470ce72b6a Wersja probna
powinno cos dzialac
2025-04-30 12:40:59 +02:00
Witkopawel
74b69f045d przejscie na api
przed rozwaleniem
2025-04-30 11:01:40 +02:00
1083cfa3ff feat: use the new, revised database model 2025-04-28 02:34:03 +02:00
AleksDw
b4b81355c1 CreateDatabase
Nic nie działa bo wszystko jest inne XDD
2025-04-27 00:40:34 +02:00
Witkopawel
9151fbb6ab Dodawanie/Usuwanie
Dodawanie/Usuwanie (nie chce tu przeklinać)
2025-04-25 05:19:36 +02:00
AleksDw
981236f6aa Add Event tables 2025-04-24 22:06:15 +02:00
ba5725d780 feat: add dummy appsettings.json file 2025-04-10 23:18:06 +02:00
dfcdcfe20f provide functionality for connecting with a PostgreSQL database 2025-04-08 13:30:57 +02:00
Pc
193cc02ed3 Add project files. 2025-04-06 20:05:38 +02:00