Commit Graph

340 Commits

Author SHA1 Message Date
JP1998 5f1a8877df Fix a bug causing the server to always create an error 2019-04-09 09:55:45 +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
Jonny ebbff7b01a
Merge pull request #7 from turniere/ticket/TURNIERE-94
Block sites for unregistered users
2019-04-09 08:34:02 +02:00
JP1998 fb93feed45 Make the tournament page correctly handle status codes from the backend 2019-04-08 11:41:48 +02:00
JP1998 a8fec087b7 Edit the appearance of the errors in the edit tournament page 2019-04-08 11:16:58 +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 4dc55a93d2 Remove the edit button from tournaments that the user is not the owner of 2019-04-08 09:43:42 +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
betanummeric 446d2ce8e4
Merge pull request #6 from turniere/ticket/TURNIERE-123
Update dependencies and fix issues arising from this
2019-04-03 11:30:08 +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 ef2383d561 Update all the used dependencies for the frontend 2019-04-03 11:10:58 +02:00
Jonny e7004de3c3
Merge pull request #5 from turniere/ticket/TURNIERE-113
Make "Edit Tournament"-Page with working editing of team names
2018-12-13 08:57:43 +01: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 fb69be4735 Assign a unique id to elements on /t/:code/edit 2018-12-12 22:44:52 +01:00
Jonny c8706af307
Merge pull request #3 from turniere/ticket/TURNIERE-105
Ticket/turniere 105
2018-12-12 21:55:23 +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
Jonny fe5098d1df
Merge pull request #4 from turniere/ticket/TURNIERE-104
Ticket/turniere 104
2018-12-12 21:29:42 +01:00
JP1998 8612b88ff7 Resolve conflicts and style issues 2018-12-12 21:25:01 +01:00
Jonny 4dd5298176
Merge branch 'master' into ticket/TURNIERE-104 2018-12-12 21:12:36 +01:00
JP1998 e66638dcc0 Fix code style issues 2018-12-12 20:59:37 +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 5c55ff025b Update data processing in public tournament list due to changed api 2018-12-12 18:43:53 +01:00
JP1998 ec0a75e5df Implement editing of team names 2018-12-12 17:50:03 +01:00
JP1998 30b2891b72 Add display of team names 2018-12-12 16:23:23 +01:00
Felix Hamme 68aeade599 Fix footer spacing on tournament edit page 2018-12-12 16:02:16 +01:00
JP1998 909faff65c Create a first draft of the edit-tournament-page 2018-12-12 15:43:34 +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 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
Jonny d46062f453
Merge pull request #2 from turniere/ticket/TURNIERE-111
Ticket/turniere 111
2018-12-11 08:44:04 +01:00
JP1998 7205e0b65b Change eslint rule to only accept unix linebreaks 2018-12-11 08:42:35 +01:00
JP1998 504746934c Add proper name for eslint config file 2018-12-11 08:38:56 +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
JP1998 5aa97e162d Add actually functioning style check and fix style in api.js 2018-12-06 09:57:51 +01:00
JP1998 4b99c4b2dd Add proper config for eslint 2018-12-06 09:11:52 +01:00
JP1998 1b5bb473c5 Add a proper linter for style checks 2018-12-03 16:09:52 +01:00
JP1998 88f14b29e3 Add config file for hound 2018-12-03 15:59:43 +01:00