FreshGuy32
7e63b89a6c
test: added tournament test data and renamed data generator class
2024-05-18 18:58:11 +00:00
FreshGuy32
09e9686dad
refactor( #23 ): move variable closer to where it is needed to fix style issue
2024-05-18 18:58:10 +00:00
FreshGuy32
960a6fede9
feat( #23 ): added check wether the qualification matches were already generated and create qualification participation entities
2024-05-18 18:58:10 +00:00
FreshGuy32
e3d25b088f
fix( #23 ): duplicate matches being generated
...
a plays against b and b plays against a weren't treated as the same match
2024-05-18 18:58:09 +00:00
FreshGuy32
9ee17d4fb9
feat( #23 ): remove generate from api call url
2024-05-18 18:58:09 +00:00
FreshGuy32
f65e5e3d41
refactor: rename set/getGroupMatch to set/getQualificationMatch in entity
2024-05-18 18:58:08 +00:00
Rafael Tanzer
6c48a07f8d
Update TournamentServiceTest.java to delete created test data
2024-05-18 14:55:52 +00:00
rafael
64cdb3a2c6
checkstyle fix
2024-05-17 21:28:21 +02:00
rafael
be6d9cfdae
bug/( #63 ): bugs fixes, Confirm Action dialog
2024-05-17 21:20:51 +02:00
MohammedKevin
578e0820d8
Merge remote-tracking branch 'origin/development' into tournament-overview
2024-05-17 11:39:47 +02:00
FreshGuy32
724784ecd3
test( #12 ): added unit test for tournament service create
2024-05-17 09:10:30 +00:00
Matthias Hofmarcher
bf610bc942
fixed broken openapi-generated client code by setting "application/json" as default mimetype
2024-05-16 22:16:05 +00:00
MohammedKevin
314e338bb8
add tests, remove admin from create tournament test
2024-05-16 15:18:33 +02:00
MohammedKevin
07541c5bbe
Merge remote-tracking branch 'origin/development' into tournament-overview
2024-05-16 14:44:30 +02:00
Kevin Mohammed
c7b33cb363
Merge branch 'test/add-e2e-tournament-creation-test' into 'development'
...
Test/add e2e tournament creation test
See merge request 2024ss-se-pr-group/24ss-se-pr-qse-11!20
2024-05-16 12:43:06 +00:00
MohammedKevin
48cd388b2f
add api tests
2024-05-16 14:41:48 +02:00
Mathias Trapl
5ce21ee9e0
Merge branch 'feature/expand-global-exception-handler' into 'development'
...
feat(#51 ): added handler for PreconditionFailedException to GlobalExceptionHandler
See merge request 2024ss-se-pr-group/24ss-se-pr-qse-11!19
2024-05-16 12:34:25 +00:00
Christoph Heiss
408d6431a1
Merge branch 'feature/set-tournament-organizer-when-creating-it' into 'development'
...
feature/set-tournament-organizer-when-creating-it
See merge request 2024ss-se-pr-group/24ss-se-pr-qse-11!17
2024-05-16 12:19:36 +00:00
FreshGuy32
05b750818b
test: changed username of user used for tests
2024-05-16 12:05:02 +00:00
FreshGuy32
2022112203
feat: added TestUserGenerator that adds a single user for testing purposes
2024-05-16 10:38:23 +00:00
FreshGuy32
6135907ffb
feat( #12 ): updated minimum number of teams needed when creating a tournament
2024-05-16 08:15:49 +00:00
FreshGuy32
4a32383a51
feat( #51 ): added handler for PreconditionFailedException to GlobalExceptionHandler
2024-05-16 08:10:08 +00:00
FreshGuy32
a7f2454692
feat( #12 ): set organizer to the currently signed in user when creating a new tournament
2024-05-16 07:26:57 +00:00
MohammedKevin
a9479e6501
checkstyle
2024-05-15 15:36:39 +02:00
MohammedKevin
d4c3dd2f79
resolve comments of pr
2024-05-15 15:32:29 +02:00
MohammedKevin
2510cf8892
Merge remote-tracking branch 'origin/development' into tournament-overview
2024-05-15 15:21:23 +02:00
rafael
c349ada054
merge conflict fixes ß get setter EndDateTouranmet
2024-05-15 14:43:56 +02:00
Rafael Tanzer
3488d184fb
Merge branch 'development' into 'feat/AccountDeletion-1.2'
...
# Conflicts:
# backend/src/main/java/at/ac/tuwien/sepr/groupphase/backend/entity/QualificationMatch.java
# backend/src/main/java/at/ac/tuwien/sepr/groupphase/backend/entity/Team.java
# backend/src/main/java/at/ac/tuwien/sepr/groupphase/backend/repository/QualificationMatchRepository.java
# backend/src/main/java/at/ac/tuwien/sepr/groupphase/backend/repository/TeamRepository.java
2024-05-15 12:22:34 +00:00
MohammedKevin
5de1efadd1
add security to tournaments endpoint
2024-05-15 12:36:04 +02:00
MohammedKevin
1e2e4df3d8
fix tournaments endpoint name
2024-05-15 12:29:34 +02:00
rafael
c449452736
logging fix
2024-05-15 11:17:19 +02:00
rafael
8242cfe7ce
impl comments
2024-05-15 11:14:33 +02:00
FreshGuy32
82f40d5ae8
feat( #23 ): use AccessDeniedException and new PreconditionFailedException in generate qualification match service
2024-05-15 07:25:01 +00:00
FreshGuy32
ce78f1187e
feat( #23 ): check if currently signed in user also created the tournament when generating the qualification matches
...
if not they can't generate the matches
2024-05-14 15:23:25 +00:00
MohammedKevin
d1c722887a
connect frontend and backend, redesign
2024-05-14 15:36:38 +02:00
FreshGuy32
c0f9040e50
feat( #23 ): expanded qualfication match participant dto with missing fields
2024-05-14 12:28:51 +00:00
FreshGuy32
5a7519ddf1
refactor( #23 ): tournament qualification matches dto to remove reference to create
...
the create in the name suggested it would only be used there
2024-05-14 12:28:50 +00:00
FreshGuy32
baf01bcf01
fix( #23 ): qualification match generation endpoint requiring the admin role
...
now user role is sufficient enough
2024-05-14 12:20:58 +00:00
FreshGuy32
10755401be
feat( #23 ): instead of always using the same order of teams by name, shuffle them
...
teams can no longer figure out who their opponents are by name
2024-05-14 12:19:37 +00:00
FreshGuy32
0ef0240e42
feat( #23 ): changed needed size to generate qualification matches from 3 to 16
...
the KO-phase requires that many teams already, so that needs to be the minimum
2024-05-14 12:18:16 +00:00
MohammedKevin
0666073fc3
checkstyle fixes
2024-05-14 13:44:12 +02:00
MohammedKevin
c4da6554c0
openapi regenerate
2024-05-14 13:40:47 +02:00
MohammedKevin
7346e7667e
fixes from pr comments
2024-05-14 13:24:01 +02:00
MohammedKevin
28998e005a
fix endpoint annotations
2024-05-14 13:13:47 +02:00
MohammedKevin
55bc470705
Merge remote-tracking branch 'origin/development' into tournament-overview
2024-05-14 13:08:38 +02:00
MohammedKevin
bdbc508ce4
openapi generate
2024-05-14 13:08:28 +02:00
rafael
6f6021c0fb
Merge branch 'development' into feat/AccountDeletion-1.2
2024-05-14 12:26:49 +02:00
rafael
d5bb46c0a1
checkstyle cleanup and mvn clean
2024-05-14 12:16:58 +02:00
rafael
1bcbcada7e
crud user fonrent impl
2024-05-14 12:04:55 +02:00
FreshGuy32
8e665871c5
feat( #23 ): implemented generation of qualifying matches
...
each team in a tournament gets assigned two opponents
2024-05-13 18:07:10 +00:00
FreshGuy32
99f1826c8d
fix: admin role being required for tournament create
2024-05-13 18:03:02 +00:00
MohammedKevin
67a9dd435a
Merge branch 'development' into tournament-overview
2024-05-13 19:22:39 +02:00
MohammedKevin
e0dc05c5d7
wip: add tournaments overview and set project name
2024-05-13 19:08:04 +02:00
Mathias Trapl
41728c32a4
Feature/tournament creation
2024-05-12 18:32:20 +00:00
rafael
9be071e169
checkstyle cleanup and built
2024-05-12 14:16:03 +02:00
rafael
2d1b1fecd7
Cascading Deletion for user and all children implemented; Repositories for entities
2024-05-12 14:03:43 +02:00
Mathias Trapl
27dff0d9a5
Feature/tournament creation
2024-05-12 11:10:21 +00:00
Christoph Heiss
e1e15867b0
feat( #8 ): backend: send jwt token as response after successful registration
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-11 23:13:52 +02:00
rafael
2fbfc1e721
User Detail, update and delete(missing cleaning of all entities) backend impl
2024-05-11 18:58:03 +02:00
rafael
622b51aee0
simple update user in database
2024-05-11 16:55:08 +02:00
rafael
097495f852
simple delete user from database
2024-05-11 14:59:09 +02:00
Christoph Heiss
d1735499ea
test( #8 ): backend: add test for user registration endpoint
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-10 21:06:57 +02:00
Christoph Heiss
b1a6dfe5eb
feat( #8 ): backend/rest: implement endpoint for user self-registration
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-10 21:06:57 +02:00
Christoph Heiss
05f356fc8d
feat( #8 ): backend/service: implement user registration
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-10 21:06:57 +02:00
Christoph Heiss
fccb4508be
chore( #8 ): backend/rest: add request logging to login endpoint
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-10 21:06:56 +02:00
Christoph Heiss
a00741e256
feat( #8 ): backend/entity: implement method for retrieving user id
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-10 21:06:56 +02:00
Christoph Heiss
23a0c89f3e
feat( #8 ): backend/entity: make username unique per user
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-10 21:06:56 +02:00
Christoph Heiss
3ddd0ade6e
feat( #8 ): backend/dto: appropriately constrain username and password in size
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-10 21:06:56 +02:00
Christoph Heiss
2fbfea6627
refactor( #8 ): backend: rename email -> username everywhere
...
We only use a username, not any email. And the username is an opaque
string without any actual, defined meaning.
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-10 20:34:12 +02:00
Moritz Kepplinger
5502d98d42
feat( #44 ): add all entity classes
2024-05-06 19:06:03 +02:00
Christoph Heiss
092b6bf77b
chore( #41 ): drop unused import
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-03 13:53:42 +02:00
Christoph Heiss
d4681de405
chore( #41 ): add checkstyle lint for unused/redundant imports
...
Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
2024-05-03 13:53:42 +02:00
MohammedKevin
33a00e60c7
initial commit
2024-04-30 12:35:42 +02:00