Commit Graph

107 Commits

Author SHA1 Message Date
Felix Hamme 5230b0b52b Bugfix: don't sign out if the tournament creation backend call fails 2019-06-17 21:23:15 +02:00
Felix Hamme 59153eca7a Merge remote-tracking branch 'origin/master' into ticket/TURNIERE-239 2019-06-17 20:28:46 +02:00
Felix Hamme 4cc2660551 Code style fixes 2019-06-17 19:40:53 +02:00
Jonny 39164053ff Add warning popup for invalid values 2019-06-16 19:17:40 +02:00
Felix Hamme 815065099b Use the actual group number for group titles 2019-06-15 23:22:10 +02:00
Felix Hamme 8185a7b4b5 Update group after a match score changes 2019-06-15 23:20:30 +02:00
Felix Hamme 99ca99ea38 Add a collapse button for all matches in a group stage
The button defaults to show if the playoff hasn't started, otherwise to hide.
2019-06-14 22:56:52 +02:00
Felix Hamme 5a9d543a01 Implement group stage 2019-06-14 22:23:58 +02:00
Felix Hamme 112e5b7a81 Refactoring: Move Stage, playoff stages out of tournament.js 2019-06-14 22:03:38 +02:00
Felix Hamme fed0516334 Refactoring: Move api call and conversion out of tournament.js 2019-06-14 21:51:51 +02:00
Jonny 71d66fdb74 Extract the numeric input as single component 2019-06-14 14:26:36 +02:00
betanummeric e18cfcd9ea
Merge branch 'master' into ticket/TURNIERE-135 2019-06-10 20:54:47 +02:00
Jonny ba701f675a
Merge branch 'master' into ticket/TURNIERE-243 2019-06-10 18:13:40 +02:00
Felix Hamme 4854847454 Merge branch 'ticket/TURNIERE-243' into ticket/TURNIERE-135 2019-06-06 18:26:56 +02:00
Felix Hamme 0172625387 Simplify the default usecase of UserRestrictor by creating RequireLogin and applying it to the create and private pages 2019-06-06 18:23:58 +02:00
Felix Hamme f2af9fac12 Add mail address change form with corresponding backend calls 2019-06-06 15:46:32 +02:00
Felix Hamme ba38864a1c Update the Match when the scores are submitted 2019-06-06 12:06:09 +02:00
Felix Hamme 4e8a690d2a Make calls to api for changing match scores 2019-06-06 12:06:09 +02:00
Felix Hamme 85a36a02c9 Add change score button (no functionality yet) 2019-06-06 12:06:09 +02:00
Felix Hamme 78e511f228 Disable end-match-button if the scores are equal and the match is in playoff stage 2019-06-06 12:06:09 +02:00
Felix Hamme 5826a06ab6 Split up Match into more files 2019-06-06 12:06:09 +02:00
Felix Hamme 4a444babd4 Bugfix: match scores weren't editable 2019-05-29 08:40:11 +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 a40ecd56e9 Move axios wrapper methods to new file backendApi 2019-05-12 12:21:24 +02:00
Felix Hamme 6bea32b08a Move actionType and defaultState definitions from api.js to own files 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 d12af2731f use camleCase identifiers in api.js 2019-05-09 14:48:43 +02:00
Felix Hamme b40c0382a8 Automatically apply eslint rules 2019-05-09 14:48:43 +02:00
Felix Hamme f4cf04ad25 Formatting: satisfy Hound 2019-05-08 13:59:11 +02:00
Thor77 e858200a7a Fix envvar problem 2019-05-08 10:54:00 +02:00
Felix Hamme 0a2c180d6a Replace hardcoded backend url with environment variable (works only server-side) (required client-side tough, so it doesn't work (wait till next commit, Thor77 has a lovely fix for that))
(This commit was definitely not changed because I nagged about it wasn't working...)
2019-05-08 09:40:00 +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 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
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 80b0fe8243
Merge branch 'master' into ticket/TURNIERE-140 2019-04-18 14:47:47 +02:00