Commit Graph

80 Commits

Author SHA1 Message Date
2ef8eb6534 Made winner field non final 2026-01-10 15:53:31 +01:00
gelbeinhalb
7f6c1cb9a6 change InsertMode to insertOrIgnore not insertOrReplace 2026-01-05 11:40:57 +01:00
9cb35dc4a1 Updated comments
Some checks failed
Pull Request Pipeline / test (pull_request) Failing after 2m9s
Pull Request Pipeline / lint (pull_request) Successful in 2m9s
2025-12-30 18:45:28 +01:00
b8b65c4ca1 Removed lines that added the group and players to the db again in addMatch()
Some checks failed
Pull Request Pipeline / lint (pull_request) Successful in 2m9s
Pull Request Pipeline / test (pull_request) Failing after 2m19s
2025-12-30 18:23:15 +01:00
356cb1fb43 Updated insert mode to fix problem with replacing existing player match connections 2025-12-30 18:21:39 +01:00
d578a7f9bd Missing comment 2025-12-11 20:12:56 +01:00
c4b249b199 Added missing game instants 2025-12-11 20:11:02 +01:00
99cea1e703 Renamed every instance of "game" to "match" 2025-12-11 20:07:32 +01:00
71b2f30d29 removed comment
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m23s
Pull Request Pipeline / lint (pull_request) Successful in 2m31s
2025-11-28 14:00:36 +01:00
d2d6852f31 removed comment
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m29s
Pull Request Pipeline / lint (pull_request) Successful in 2m51s
2025-11-28 14:00:26 +01:00
126dc7ed97 Added exception 2025-11-28 14:00:04 +01:00
40a3c1b82e Removed comment 2025-11-28 13:56:24 +01:00
dc0e536221 Implemented updateGameName() and tests for it
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 2m11s
Pull Request Pipeline / test (pull_request) Successful in 3m30s
2025-11-26 14:44:41 +01:00
2a34243e69 Renamed methods for better distinction 2025-11-26 14:42:17 +01:00
499415e0c5 Added updatePlayersFromGame(), added docs & tests 2025-11-26 14:39:38 +01:00
397c5c1550 Added updateGroupOfGame(), added docc & tests 2025-11-26 14:17:11 +01:00
738f242eee Implemented methods and test for winner 2025-11-26 13:48:53 +01:00
cfed05595c Updated methods in gameDao 2025-11-23 00:17:27 +01:00
fa841e328e Altered game class 2025-11-23 00:17:11 +01:00
0593297fc3 Merge branch 'development' into feature/31-json-import-fuer-testdaten
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 2m16s
Pull Request Pipeline / test (pull_request) Successful in 2m16s
2025-11-22 16:44:09 +01:00
24f18f5c65 Removed false comparison 2025-11-22 14:13:15 +01:00
62eea08614 Renamed variable 2025-11-22 14:12:41 +01:00
70307016b3 Fixed addGames method 2025-11-22 00:47:32 +01:00
1b3334f3e0 Fixed addGroups method 2025-11-22 00:47:24 +01:00
78d530ddd5 Merge branch 'bug/37-getallgames-returnt-nicht-alle-attribute-von-der-game-klasse' into feature/31-json-import-fuer-testdaten
# Conflicts:
#	lib/data/dao/player_group_dao.dart
#	test/db_tests/game_test.dart
#	test/db_tests/group_test.dart
#	test/db_tests/player_test.dart
2025-11-21 14:00:10 +01:00
32f3f68da9 Annotation for missing test & method
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m1s
Pull Request Pipeline / lint (pull_request) Successful in 2m4s
2025-11-21 12:46:18 +01:00
961c6bb679 Refactored tests in own files
Some checks failed
Pull Request Pipeline / test (pull_request) Failing after 2m5s
Pull Request Pipeline / lint (pull_request) Successful in 2m5s
2025-11-21 01:05:35 +01:00
b21ca54672 Refactoring 2025-11-21 00:10:29 +01:00
6055eb63a8 Refactoring 2025-11-21 00:07:34 +01:00
31589855f2 Added methods of todos 2025-11-21 00:07:29 +01:00
e512cbbf95 Merge branch 'bug/37-getallgames-returnt-nicht-alle-attribute-von-der-game-klasse' into feature/31-json-import-fuer-testdaten 2025-11-20 23:45:18 +01:00
72067863c2 Updated insert modes 2025-11-20 23:14:44 +01:00
29a3e77fc4 Merge branch 'bug/37-getallgames-returnt-nicht-alle-attribute-von-der-game-klasse' into feature/31-json-import-fuer-testdaten
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m4s
Pull Request Pipeline / lint (pull_request) Successful in 2m6s
2025-11-20 22:41:14 +01:00
a61818dd77 Fixed error in getAllGames method 2025-11-20 22:40:56 +01:00
f7c1d6e975 Added missing await
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m1s
Pull Request Pipeline / lint (pull_request) Successful in 2m6s
2025-11-19 21:13:29 +01:00
412cfff9f5 Added methods for inserting list of players, groups, games 2025-11-19 20:21:55 +01:00
f7073a83a4 Added insert mode 2025-11-19 20:21:30 +01:00
9434282ed1 Added createdAt attribute in dto classes and json schema 2025-11-19 20:20:21 +01:00
3e3def0bde Merge remote-tracking branch 'origin/feature/29-timestamp-zu-allen-objekten-hinzufügen' into feature/31-json-import-fuer-testdaten
# Conflicts:
#	lib/data/dao/game_dao.dart
#	lib/data/db/database.g.dart
#	lib/data/db/tables/game_table.dart
#	lib/data/dto/game.dart
#	pubspec.yaml
2025-11-19 19:30:56 +01:00
cf834e636e Merge remote-tracking branch 'origin/development' into feature/31-json-import-fuer-testdaten
# Conflicts:
#	lib/presentation/views/main_menu/home_view.dart
2025-11-19 19:22:34 +01:00
186d8cf5c9 Merge branch 'development' into feature/29-timestamp-zu-allen-objekten-hinzufügen 2025-11-19 17:34:07 +00:00
19c99eef9c use clock.now() instead of DateTime.now() for DTO creation timestamps 2025-11-19 00:27:08 +01:00
5dcd0826bd Adjusted attributes to table definition 2025-11-19 00:23:53 +01:00
f6ebda7984 Changed table column because of importing issues 2025-11-19 00:22:35 +01:00
69c95ca672 Added custom statement for cascade deleting 2025-11-19 00:22:13 +01:00
08fcaa35ee Added methods for deleting all entities 2025-11-18 23:59:18 +01:00
2ee8edcf9b add createdAt column to game, group and player tables and DAOs 2025-11-18 23:47:45 +01:00
fd86f5193f Fixed toJson methods 2025-11-18 23:46:32 +01:00
8cc898cad6 regenerated database.g.dart 2025-11-18 23:38:43 +01:00
67c8a7e181 added createdAt timestamp to Group, Game, and Player DTOs 2025-11-18 23:21:46 +01:00