Commit Graph

158 Commits

Author SHA1 Message Date
Felix Hamme 5826a06ab6 Split up Match into more files 2019-06-06 12:06:09 +02:00
Jonny 38e24a2ec1 Fix some code issues from eslint 2019-05-29 09:42:03 +02:00
Felix Hamme 4a444babd4 Bugfix: match scores weren't editable 2019-05-29 08:40:11 +02:00
Jonny f1ca2d3d82
Merge branch 'master' into ticket/TURNIERE-148 2019-05-29 04:43:38 +02:00
JP1998 e813726f50 Adjust the StandingsTable to the new API data format 2019-05-29 04:24:39 +02:00
JP1998 da4b5ac2e5 Adjust DominanceShower to the actually implemented API data 2019-05-29 04:03:32 +02:00
Jonny abfded9e0f Adjust names of the used data to the (expected) backend names 2019-05-29 00:23:40 +02:00
Jonny a05cc768fd Fix a bug which resets the striping after the last element that has not been hidden 2019-05-29 00:23:40 +02:00
Jonny 2ea9668f38 Extract the dominance shower view 2019-05-29 00:23:40 +02:00
Jonny beffd24855 Extract the standings table view 2019-05-29 00:23:39 +02:00
Jonny a38624fd5b Adjust style of the tournament information view 2019-05-29 00:19:26 +02:00
Jonny 9fc909e257 Extract the tournament information view for more consisten looks 2019-05-29 00:19:26 +02:00
Felix Hamme 134844973e Implement ending a match: make backend calls, replace match states {team1_won, team2_won, undecided} with {finished}, hold the match data in Match.js in state instead of in props, reorder internal match data storage 2019-05-29 00:00:54 +02:00
Felix Hamme 7848d3d81d Implement starting a match, make backend calls 2019-05-28 22:03:17 +02:00
Felix Hamme 97ba7726ed Move Match and belongings out of tournament.js to new file Match.js 2019-05-12 12:21:24 +02:00
Felix Hamme 501cc7a208 Refactor ErrorComponents 2019-05-12 12:21:24 +02:00
Felix Hamme fb4b380407 Refactor Footer and update copyright year 2019-05-12 12:21:24 +02:00
Felix Hamme 7b5e18cc9e Move everypage.css into css directory 2019-05-12 12:21:24 +02:00
Felix Hamme a4b1506d41 Replace for-in-loop with for-of-loop (suggested by eslint) 2019-05-09 14:48:43 +02:00
Felix Hamme b3243f6a5c Format every js file to comply with the new eslint rules 2019-05-09 14:48:43 +02:00
Felix Hamme b40c0382a8 Automatically apply eslint rules 2019-05-09 14:48:43 +02:00
Jonny b30a3a759e
Merge branch 'master' into ticket/TURNIERE-156 2019-05-02 08:52:18 +02:00
Felix Hamme a1828c30c3 Review changes: code cleanup 2019-05-01 15:53:22 +02:00
Felix Hamme fd3085e1f1 Change code formatting to satisfy Hound 2019-04-28 04:27:41 +02:00
Felix Hamme b300049e1e Merge branch 'master' into ticket/TURNIERE-141 2019-04-28 04:22:14 +02:00
Felix Hamme dac0c33272 Implement page for displaying the list of private tournaments 2019-04-28 04:18:18 +02:00
Felix Hamme 9b56b2eddb Merge branch 'master' into ticket/TURNIERE-141 2019-04-27 13:32:37 +02:00
Felix Hamme 60c8bff55d Greet the user with a toast notification when he logs in or out [now done with success callback methods] 2019-04-27 13:30:34 +02:00
Felix Hamme f243b69a5e Revert "Greet the user after login with a toast"
This reverts commit b85ce62b
2019-04-27 13:27:26 +02:00
Felix Hamme bf8a9431bf Revert "Say goodbye to the user when he logs out"
This reverts commit 7b38b503
2019-04-27 13:27:11 +02:00
Felix Hamme 7b38b503ef Say goodbye to the user when he logs out 2019-04-23 20:47:07 +02:00
Felix Hamme b85ce62b2f Greet the user after login with a toast 2019-04-23 15:41:43 +02:00
Jonny 2bc3fe24b3 Remove manual clearing of errors
Since the errors are now always cleared upon rehydration of the
application state, we can now safely remove the api method
clearErrors() and also remove calls to this method.
2019-04-18 00:03:28 +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
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
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
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 909faff65c Create a first draft of the edit-tournament-page 2018-12-12 15:43:34 +01:00
JP1998 9124edc3f2 Fix all the styling issues in all the files 2018-12-09 23:46:21 +01:00
JP1998 91b532b6cd Add api calls with persistent user data
Added login and registration api calls to the function pool,
while the application state is persistet through localStorage.
Also (if signed in) the username will be displayed in the
navigation bar of the website.
2018-11-29 16:19:02 +01:00