Commit Graph

59 Commits

Author SHA1 Message Date
Felix Hamme dac0c33272 Implement page for displaying the list of private tournaments 2019-04-28 04:18:18 +02:00
Felix Hamme 6aeb97ae99 Remove unused code 2019-04-28 03:06:40 +02:00
Felix Hamme 9b56b2eddb Merge branch 'master' into ticket/TURNIERE-141 2019-04-27 13:32:37 +02:00
Jonny 80b0fe8243
Merge branch 'master' into ticket/TURNIERE-140 2019-04-18 14:47:47 +02:00
Jonny dfb709d37e Remove the wrapping data object from the response of login 2019-04-18 10:19:37 +02:00
Jonny 0643b4bb0e Format the errors for logging in 2019-04-17 16:32:49 +02:00
Felix Hamme 4f079d75ec Merge branch 'master' into ticket/TURNIERE-138 2019-04-17 10:02:08 +02:00
Felix Hamme 0aa1660cd1 Link private tournament list in navigation bar if the user is signed in 2019-04-17 09:59:51 +02:00
Felix Hamme 0b35c6c84d Begin implementing page for private tournaments 2019-04-17 09:59:09 +02:00
JP1998 75f7186ca7 Fix a bug logging the user out when calling certain sites
This has happened because the store was being updated before
it was rehydrated, and thus first saving an empty state, which
is thereafter being loaded when rehydrating the application state.
2019-04-16 23:20:51 +02:00
JP1998 dc3b1a2cac Fix design with white borders being visible while dragging teams 2019-04-16 19:17:28 +02:00
Jonny 23447c7afe Merge branch 'master' into ticket/TURNIERE-139 2019-04-16 14:16:51 +02:00
Felix Hamme 47b4c4602b Replace disgusting code with beautiful code 2019-04-16 14:13:01 +02:00
Jonny 11d607c08b Implement actual swapping on drag and drop 2019-04-16 13:51:23 +02:00
Jonny 88408b7543 Implement drag and drop for teams in groups 2019-04-16 13:40:12 +02:00
Jonny e877cf1a7f Add detection and handling of changes of max group sizes 2019-04-16 13:05:24 +02:00
Jonny 6890ecc7fb Fix a bug with the adding of teams to groups
Due to the equals one could fill up one group, decrease the max size of it
and then add indefinitely many teams to the last group without a new group being created.
2019-04-16 12:50:41 +02:00
Jonny e50dc7d293 Add proper logic for removing teams with the group stage 2019-04-16 12:38:35 +02:00
Jonny 89f2fa79c5 Properly format the groups and the teams in them 2019-04-16 11:41:13 +02:00
Jonny 8aad4d614d Make groups visible and add the teams to the groups 2019-04-16 10:51:48 +02:00
betanummeric c2dcd5946c
Merge branch 'master' into ticket/TURNIERE-121 2019-04-16 10:34:40 +02:00
Jonny 0bd92b2ada Create / Rename properties needed for the group view 2019-04-16 09:50:13 +02:00
JP1998 f3c429692c Make the login and register components clear errors as soon as they are mounted 2019-04-11 14:13:43 +02:00
JP1998 5a34b415f2 Add API method for clearing existing errors 2019-04-11 14:07:59 +02:00
JP1998 4964040ad8 Fix bug showing public tournaments as private 2019-04-11 13:00:02 +02:00
JP1998 0a1678ed51 Make the create-page actually send the data to the api 2019-04-11 12:57:40 +02:00
JP1998 e2569b30c8 Add API method for creating a tournament 2019-04-11 12:57:40 +02:00
Felix Hamme 99df57ecf1 Remove unused import 2019-04-11 09:37:10 +02:00
Felix Hamme 22c7e1384c Remove one line of nonsense 2019-04-10 23:56:57 +02:00
Felix Hamme 62eb563739 redirect to / after login 2019-04-10 19:53:53 +02:00
JP1998 f1e206db0b Clean imports in all the javascript files 2019-04-09 09:52:51 +02:00
JP1998 c4ce39f353 Move EditableStringList into the component folder 2019-04-09 09:29:27 +02:00
JP1998 7838237f4b Export all the common components into their own files 2019-04-09 09:22:12 +02:00
JP1998 fb93feed45 Make the tournament page correctly handle status codes from the backend 2019-04-08 11:41:48 +02:00
JP1998 cbe5343a64 Resolve any errors in the syntax 2019-04-08 11:08:43 +02:00
JP1998 8796bbf553 Add several restrictions to the edit tournament page 2019-04-08 10:51:11 +02:00
JP1998 110f862bc3 Change the SignedInEnforcer to a more flexible and versatile UserRestrictor 2019-04-08 10:20:31 +02:00
JP1998 7c40ba0e61 Fix a bug with the original sign in page not rendering 2019-04-08 09:22:49 +02:00
JP1998 41eacfc999 Add first prototype of the restriction of content 2019-04-08 09:21:37 +02:00
JP1998 069c2c2148 Fix an issue with some buttons that appeared in grey instead of white 2019-04-03 11:12:04 +02:00
JP1998 d307cdb907 Resolve conflicts and style issues 2018-12-13 08:49:01 +01:00
JP1998 e66638dcc0 Fix code style issues 2018-12-12 20:59:37 +01:00
JP1998 ec0a75e5df Implement editing of team names 2018-12-12 17:50:03 +01:00
JP1998 909faff65c Create a first draft of the edit-tournament-page 2018-12-12 15:43:34 +01:00
JP1998 d81a8f8cc6 Change the way the request methods get the current state
Since the state cannot be retrieved while the store has changes to be dispatched
the actual state (which is used for building the auth headers for requests) has
to be retrieved beforehand and given to the action as parameter.
2018-12-11 13:34:18 +01:00
JP1998 9124edc3f2 Fix all the styling issues in all the files 2018-12-09 23:46:21 +01:00
JP1998 5aa97e162d Add actually functioning style check and fix style in api.js 2018-12-06 09:57:51 +01:00
JP1998 ba12956abc Add verification of credentials after loading page 2018-12-03 15:48:05 +01:00
JP1998 df75387164 Fix login and logout to actually work
Because of several issues the auth token has not been stored,
which lead to severe errors when trying to log out.
This issue has now been solved.
2018-12-03 15:20:14 +01:00
JP1998 f85863d965 Remove header, that is no longer being transmitted 2018-12-03 14:41:59 +01:00