Commit Graph

349 Commits

Author SHA1 Message Date
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 a27f18a9bd delete unused file style.css 2019-05-12 12:21:24 +02:00
Jonny cea1ceb081
Merge pull request #26 from turniere/ticket/TURNIERE-177
Choose and apply consistent code style rules: Ticket/turniere 177
2019-05-12 12:01:11 +02:00
Felix Hamme 24b9c09970 Add eslint-config-google to dev dependencies 2019-05-09 14:48:43 +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 f93f9a57ce Add some eslint rules 2019-05-09 14:48:43 +02:00
Felix Hamme 5a747cce2a Disable eslint-checks for jsdoc because it is no longer supported
https://eslint.org/blog/2018/11/jsdoc-end-of-life
2019-05-09 14:48:43 +02:00
Felix Hamme bd79607d98 Add google style guide to eslint config 2019-05-09 14:48:43 +02:00
betanummeric 4627a30ec0
Merge pull request #24 from turniere/ticket/TURNIERE-167
Automatically build Docker Containers - TURNIERE-167
2019-05-08 16:04:31 +02:00
Daniel Schädler bc3db1176c Add .gitlab-ci.yml
Took 4 minutes
2019-05-08 15:50:02 +02:00
betanummeric cffda50647
Merge pull request #23 from turniere/ticket/TURNIERE-166
Create Dockerfile: Ticket/turniere 166
2019-05-08 14:31:07 +02:00
Daniel Schädler 482c500d9f Use multistage build in Dockerfile to shrink image size
Co-Authored-By: betanummeric <40263343+betanummeric@users.noreply.github.com>
2019-05-08 14:27:41 +02:00
Daniel Schädler db88a42897
Update README.md: tagging latest is redundant
Co-Authored-By: betanummeric <40263343+betanummeric@users.noreply.github.com>
2019-05-08 14:19:21 +02:00
Daniel Schädler d6abcf403e
Exclude more in .dockerignore
Co-Authored-By: betanummeric <40263343+betanummeric@users.noreply.github.com>
2019-05-08 14:11:23 +02:00
Felix Hamme f4cf04ad25 Formatting: satisfy Hound 2019-05-08 13:59:11 +02:00
Felix Hamme 6b4e0c36a5 update README.md 2019-05-08 13:37:29 +02:00
Felix Hamme 88d4f1dae8 Create Dockerfile (the image is quite big, but it works) 2019-05-08 13:36:45 +02:00
Felix Hamme 9a84dcb508 Run the server on port 80 if in production mode, otherwise on port 3000 2019-05-08 13:34:40 +02:00
Felix Hamme 91f7063887 Rename environment variable API_URL to TURNIERE_API_URL 2019-05-08 13:31:50 +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
betanummeric e76840de21
Merge pull request #21 from turniere/ticket/TURNIERE-156
Fix bug "Login and Register pages don't clear the errors after switching page / reloading"
2019-05-02 15:21:07 +02:00
Jonny b30a3a759e
Merge branch 'master' into ticket/TURNIERE-156 2019-05-02 08:52:18 +02:00
Jonny e5788281c2
Merge pull request #20 from turniere/ticket/TURNIERE-141
Ticket/turniere 141
2019-05-01 15:58:36 +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 1af7ee413f Change the list of public tournaments to share some redundant code with the list of private tournaments 2019-04-28 04:21:01 +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
Jonny e298fbfe40
Merge pull request #19 from turniere/ticket/TURNIERE-145
Greet the user with a toast notification when he logs in or out
2019-04-27 18:56:48 +02:00
Jonny 23ef3daaf8
Merge branch 'master' into ticket/TURNIERE-145 2019-04-27 18:49:26 +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
betanummeric 0cc1127acc
Merge pull request #18 from turniere/ticket/TURNIERE-150
Add logic for creation of the data for group stages
2019-04-25 16:03:17 +02:00
JP1998 2217212a4a Refactoring the createTeamArray-method 2019-04-23 23:52:22 +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 6af5f9dc72 Add logic for creation of the data for group stages 2019-04-23 11:27:02 +02:00
betanummeric 662050d60b
Merge pull request #16 from turniere/ticket/TURNIERE-140
Format the errors after failed register or login
2019-04-22 16:44:33 +02:00
Felix Hamme 45d2b221eb Apply css files in the same order everywhere (eliminate warning by mini-css-extract-plugin) 2019-04-22 16:43:14 +02:00