78 Commits

Author SHA1 Message Date
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
04f99d666f Merge pull request #2 from GCMatters/Database
feat: update database model
2025-04-29 19:21:43 +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
Paweł Witko
fdd7244c59 Merge pull request #1 from GCMatters/BranchEvent
Dodawanie/Usuwanie
2025-04-25 09:06:12 +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
86383b2733 Merge pull request 'provide functionality for connecting with a PostgreSQL database' (#1) from pr-1 into master
Reviewed-on: Projekt_Cpp/WebApp#1
2025-04-08 16:32:55 +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
Pc
f34d5a8374 Add .gitattributes and .gitignore. 2025-04-06 20:05:36 +02:00