Commit Graph

102 Commits

Author SHA1 Message Date
schrom01 0a7ca1ac3e fixed places are deleted.
solved #45
2022-05-13 15:36:29 +02:00
Roman Schenk e9d42b719b Merge branch 'main' into refactoring_of_factory 2022-05-13 15:16:51 +02:00
Andrin Fassbind b4da0b2fef Changed number of threads in executerservice to one to prevent false order to save file 2022-05-13 15:15:37 +02:00
schrom01 6c761c944f refactoring of Factory.java
added Enum View
solved #23
2022-05-13 15:08:26 +02:00
Andrin Fassbind 127e152637 implement TournamentTest 2022-05-13 14:52:58 +02:00
Andrin Fassbind 40cfd69436 implement TournamentTest 2022-05-13 14:23:17 +02:00
Andrin Fassbind 03c9da13a5 Merge remote-tracking branch 'origin/main' into testClass 2022-05-13 13:14:39 +02:00
Andrin Fassbind f81b031555 Merge remote-tracking branch 'origin/main' into testClass
# Conflicts:
#	app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/Tournament.java
2022-05-12 23:31:42 +02:00
fassband 92d121890c Merge pull request #39 from PM2-IT21bWIN-ruiz-mach-krea/develop_footer
Develop footer
2022-05-12 23:26:54 +02:00
schrom01 280d2ebda3 fixed Error when IndexOutOfBoundsException in setDateofBirtch in Player.java 2022-05-12 23:21:17 +02:00
Andrin Fassbind 68080c36ff change method addPlace
start TournamentTest implementation
2022-05-12 23:15:42 +02:00
Roman Schenk 1031c27650 Merge branch 'main' into logging_and_docs 2022-05-12 22:54:43 +02:00
Leonardo Brandenberger e77d6cbc21 java doc and logging added to class Tournament 2022-05-12 22:51:05 +02:00
schrom01 ddfbb9bbd0 added error Message for file reading error 2022-05-12 22:45:10 +02:00
schrom01 3ebf9c5072 added Exception for Invalid Date 2022-05-12 22:41:18 +02:00
Andrin Fassbind f885092259 removed import 2022-05-12 21:08:48 +02:00
Andrin Fassbind 2784cd67fa make last file visible for user in footer 2022-05-12 19:44:45 +02:00
Andrin Fassbind 298d61eeca extent scope of FactoryDecorator for TournamentDecorator
creat footer to show error msg if user acts not as expected
2022-05-12 19:34:59 +02:00
fassband b0aa0ab1ad Merge pull request #33 from PM2-IT21bWIN-ruiz-mach-krea/develope_Game_branch
Develope game branch
2022-05-12 13:44:47 +02:00
Andrin Fassbind 84b5f2464d test performance with separete thread to save and load file 2022-05-12 13:38:53 +02:00
Andrin Fassbind d3a4b4cc87 if game points empty default value is 0
changed to variable names
2022-05-12 13:23:15 +02:00
Roman Schenk 4b74a8d285 Merge pull request #22 from PM2-IT21bWIN-ruiz-mach-krea/fix_participanFormular_and_placesFormular
changed ParticipantFormular to change existing objects and don't repl…
2022-05-12 11:39:16 +02:00
schrom01 db51f2f3cd implemented functionality to drawLines 2022-05-11 17:42:36 +02:00
schrom01 7f723fd763 implemented functionality to activate treeview 2022-05-11 16:21:38 +02:00
schrom01 b51a585167 added functionality to autosave result and place if changed. 2022-05-08 22:13:03 +02:00
schrom01 53ffa90c69 changed height of games. 2022-05-08 20:32:23 +02:00
schrom01 a44227b3f6 fixed spacing between games in GameSchedule 2022-05-08 20:20:41 +02:00
schrom01 38d1708a25 changed Alignment of VBox to center in TournamentSchedule 2022-05-08 17:28:41 +02:00
schrom01 afab6dbee3 refactoring of GameSchedule and button "close Tournament" added.
added "informListener()" to method refreshParticipants in GameDecorator.java to be sure the new participants are saved in file.
2022-05-07 16:43:46 +02:00
schrom01 89e72a1592 solved Problem "points and places of games are not saved in file." 2022-05-07 15:45:43 +02:00
schrom01 5e88960c8a extracted Method loadGameTree to FactoryDecorator.java 2022-05-07 15:34:08 +02:00
schrom01 923be52610 refactoring of GameController.java to load content only if previous games are edited. 2022-05-07 15:23:26 +02:00
schrom01 62df1db34b refactoring of GameController.java to do it the same way as the other controllers. 2022-05-07 12:51:14 +02:00
schrom01 ecde0e6345 fixed Number of Games.
#21
2022-05-07 12:32:18 +02:00
schrom01 4d193abb64 changed GameDecorator.java to show full name of players. 2022-05-07 12:17:50 +02:00
schrom01 3d13dbcb45 changed ParticipantFormular to change existing objects and don't replace them.
changed ParticipantFormular and PlacesFormular to clear textfields after saving.
solved #19
2022-05-07 11:53:10 +02:00
Andrin Fassbind de728745f6 list all games in gameschedule
prevent nullpointer exception for empty games
2022-05-06 19:26:34 +02:00
Andrin Fassbind e5dc6a913a make createTournament create all future games with null object for participant 2022-05-06 19:12:14 +02:00
Andrin Fassbind 4dc7db7590 made GameScheduleController and GameDecorator
first gameround gets loaded in gamescheduleview
2022-05-06 18:40:13 +02:00
schrom01 9a3a9f3b53 removed Indexes from Game.java 2022-05-06 14:07:55 +02:00
schrom01 1b9e9c27a9 Merge remote-tracking branch 'origin/develope_Game_branch' into develope_Game_branch 2022-05-06 14:04:44 +02:00
schrom01 593bcdc872 added indexes to Game.java 2022-05-06 14:04:35 +02:00
Andrin Fassbind 4ef9f62124 update game with new id and new button to mark game as played 2022-05-06 13:36:49 +02:00
Andrin Fassbind ebc0b64cb7 Create gameList in Tournament
Create method to calc gameList and create random first round
Started to develope view of gameSchedule
2022-05-06 13:34:22 +02:00
fassband 47b53033c4 Merge pull request #18 from PM2-IT21bWIN-ruiz-mach-krea/LoggingFunction
Logging function
2022-05-06 10:30:41 +02:00
schrom01 02456bc5bf fixed participanFormular and placesFormular
#19
2022-05-06 09:23:19 +02:00
leobr 035b096889 finished logging and improved logging in FileIO #17 2022-05-05 23:58:42 +02:00
Leonardo Brandenberger 1ff37de1a3 Initial logging draft 2022-05-05 23:03:48 +02:00
schrom01 f3495d28d6 fixed functionality Places Formular 2022-05-01 23:35:25 +02:00
schrom01 c323ab5759 fixed Merging problem 2022-05-01 22:50:07 +02:00