Commit Graph

28 Commits

Author SHA1 Message Date
JP1998 2e93076d79 Fix a bug where you are logged out after reloading the /create page 2019-04-11 15:53:27 +02:00
JP1998 4964040ad8 Fix bug showing public tournaments as private 2019-04-11 13:00:02 +02:00
Jonny 74aa5c67fd
Merge branch 'master' into ticket/TURNIERE-131 2019-04-11 08:17:08 +02:00
JP1998 45136aa1d6 Fix a bug which crashes the site when there is no internet connection
In case there is no internet connection axios will not return a response object
with the error after a request. Since we still tried to access said object the
website crashed when there was no internet connection.
2019-04-09 17:03:04 +02:00
JP1998 6035da058e Restrict access to the modal for users that are not the owner of the tournament 2019-04-09 17:00:49 +02:00
JP1998 2b1d7b084e Pull up signed in and username properties from EditButton to TournamentPage
This makes us able to provide these fields in lower components without having to
rebind the state to the properties of this component.
This will be needed to restrct access to the modal allowing the user to modify scores.
2019-04-09 16:58:56 +02:00
JP1998 f1e206db0b Clean imports in all the javascript files 2019-04-09 09:52:51 +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 4dc55a93d2 Remove the edit button from tournaments that the user is not the owner of 2019-04-08 09:43:42 +02:00
JP1998 d307cdb907 Resolve conflicts and style issues 2018-12-13 08:49:01 +01:00
Jonny 4ecd4bd207
Merge branch 'master' into ticket/TURNIERE-113 2018-12-13 08:12:06 +01:00
JP1998 498e0353c1 Resolve conflicts and fix style issues 2018-12-12 21:54:07 +01:00
Jonny e77e3f6dc8
Merge branch 'master' into ticket/TURNIERE-105 2018-12-12 21:32:02 +01:00
JP1998 cbaa1b8270 Fix issue with order of mounting of components
Since the credentials were checked in the componentDidMount of the App
but the tournamen was loaded in the componentDidMount of the EditTournament component,
which was done first. Thus the auth headers were cleared, and the user was logged out.
2018-12-12 20:47:45 +01:00
Felix Hamme 21d43ab641 Minor design tweak for matches 2018-12-11 22:04:36 +01:00
Felix Hamme 0eb4df58cf Write the name of the tournament owner in the tournament view 2018-12-11 16:05:44 +01:00
Felix Hamme 115df26572 Make code for MatchTable in tournament view more readable (fFix react error message) 2018-12-11 16:01:25 +01:00
Felix Hamme b30971385f Fetch single tournaments from the api in tournament view 2018-12-11 15:56:56 +01:00
Felix Hamme a9f38ce6f6 In tournament view: Iterate over stages and write method for level name 2018-12-11 13:52:39 +01:00
JP1998 9124edc3f2 Fix all the styling issues in all the files 2018-12-09 23:46:21 +01:00
Felix Hamme 8cc2647258 Design score edit input fields in tournament view 2018-12-09 00:48:35 +01:00
Felix Hamme 0bbaaa4d3b Change match hover design 2018-12-08 00:44:49 +01:00
Felix Hamme 7bbeee9e25 Design matches on the tournament page 2018-12-07 14:49:47 +01:00
Felix Hamme 0de789b7e3 Begin designing tournament page 2018-12-03 13:04:39 +01:00
JP1998 2d1bad3fde Add support for custom css files 2018-11-08 11:20:36 +01:00
JP1998 a954a546f4 Add titles to all the pages and read query parameters 2018-11-08 11:05:21 +01:00
JP1998 e0f402f218 Add the initial backbone of the frontend
This commit adds all the pages that are going to exist.
2018-11-07 13:58:22 +01:00