Commit Graph

476 Commits

Author SHA1 Message Date
d033c10ebf
Merge branch 'task/tiebreaks' into develop 2019-05-29 17:57:52 +02:00
d9aebfd90c
Added average rating calculation 2019-05-29 17:57:42 +02:00
04f864416d
Working ARO tiebreak 2019-05-29 17:56:42 +02:00
d49c8d673c
Changed kbsb elo to home elo (not everyone lives in belgium)
Thanks god they don't.
Also changed fide elo to world elo
2019-05-29 17:55:28 +02:00
526be12303
Working tiebreaks
Also:
* Added mutual result
* Reimplemented points tiebreak
2019-05-29 15:48:23 +02:00
35c4b8524d
Merge branch 'bugfix/getResult()-returnsnull' into develop 2019-05-28 21:06:11 +02:00
f9f5e0d554
GameModel::getResult can also return null
Fixes: Fatal error: Uncaught TypeError: Return value of JeroenED\Libpairtwo\Models\Game::getResult() must be an instance of JeroenED\Libpairtwo\Enums\Gameresult, null returned
2019-05-28 21:06:06 +02:00
ce1c0abe52
Merge branch 'task/generalization-2' into develop 2019-05-28 18:07:49 +02:00
6d61d2a650
Added some tiebreaks 2019-05-28 18:07:43 +02:00
865893b30f
Moved tiebreaks to own class 2019-05-28 17:04:53 +02:00
74688ac8b8
Implemented first tiebreaks 2019-05-28 16:26:03 +02:00
4f15eb0c9f
Removed some fields that are not interesting enough 2019-05-28 15:30:55 +02:00
aeb9f76adb
Merge branch 'bugfix/ReaderInterface-no-gettournament' into develop 2019-05-28 14:13:40 +02:00
60fb73f838
Merge branch 'task/fluentsetters' into develop 2019-05-28 14:13:34 +02:00
e92240d56f
Replaced setters by fluent setters 2019-05-28 14:10:42 +02:00
c2f698df8a
Reader-Interface requires getTournament 2019-05-28 13:46:52 +02:00
3b5b42b46d
ENHANCEMENT: Compatibility with Pairtwo-5
Filestructure of pairtwo-5 files are identical to pairtwo-6
2019-05-28 10:20:06 +02:00
0d2b25fbef
BUGFIX: Match not played does not return error 2019-05-28 10:18:58 +02:00
d6c4e99983
Merge branch 'task/pairtwo-5-reader' into develop 2019-05-28 10:17:45 +02:00
89a58a00de
Merge branch 'bugfix/noresult' into develop 2019-05-28 10:16:51 +02:00
efc3c35024
Added compatibility with Pairtwo-5 2019-05-28 10:16:34 +02:00
4076b4e69c
Fixed reading out no result 2019-05-28 10:07:40 +02:00
e3175568a4
Merge branch 'task/tie-breaks' into develop 2019-05-27 21:46:45 +02:00
a70a9fcda3
Code style 2019-05-27 21:46:39 +02:00
b91dd1ea9a
Added tests for tiebreak order 2019-05-27 21:46:03 +02:00
057e35f1da
Added reading out the order of tiebreaks 2019-05-27 21:45:19 +02:00
acaef62332
MAJOR ENHANCEMENT: Generalisation
This is a first step in generalisation of the project. Please review https://github.com/JeroenED/libpairtwo/wiki/Converting-your-code-to-the-generalized-format for more info on your code changes
2019-05-27 13:15:49 +02:00
d4d0aa5dfb
Merge branch 'task/generalization-1' into develop 2019-05-27 13:11:28 +02:00
8e06bb21dc
Added link to generalization migration 2019-05-27 13:11:22 +02:00
9154054ef7
Merge branch 'task/generalization-1' into develop 2019-05-27 13:06:45 +02:00
ba3bbcdb69
Models are abstract 2019-05-27 13:06:35 +02:00
27946f9d31
Updated test to refect new generalization 2019-05-27 13:05:09 +02:00
10f658532d
Added Exceptions 2019-05-27 13:01:53 +02:00
6ac07927af
Added IOFactory 2019-05-27 13:01:37 +02:00
8fee2c6746
Deprecated Sws::ReadSws 2019-05-27 13:00:33 +02:00
74d027e8d1
Added Reader for Pairtwo-6 2019-05-27 12:58:53 +02:00
f645636d29
Added reader interface 2019-05-27 12:37:59 +02:00
efe7c0e6b4
NEW FEATURE: Absent and Bye players
2 new functions added:
Round::GetBye(): array and Round::GetAbsent():array

Both returns an array of Pairing objects with Bye or Absent pairings
2019-05-13 20:11:17 +02:00
2747bd0476
Merge branch 'task/absent-bye' into develop 2019-05-13 20:03:25 +02:00
4f8e524c71
Added getAbsent and getBye functions to Round 2019-05-13 20:03:21 +02:00
0b4bcf5321
ENHANCEMENT: check current round of pairing instead data to check dummy 2019-05-11 15:36:27 +02:00
d888e94d07
Merge branch 'task/no-objects-of-not-a-pairing' into develop 2019-05-11 15:35:18 +02:00
e181bfefce
Better way to check if pairing is dummy 2019-05-11 15:35:13 +02:00
5abc1ca8d3
ENHANCEMENT: No pairing object if pairing is dummy 2019-05-01 19:56:49 +02:00
07824e490b
Merge branch 'task/no-objects-of-not-a-pairing' into develop 2019-05-01 19:55:41 +02:00
f8a8f86ce9
Do not make a pairing object if object is not a pairing 2019-05-01 19:55:37 +02:00
516740643e
BUGFIX: Player::getPairings() return null
PHP Fatal error:  Uncaught TypeError: Return value of JeroenED\Libpairtwo\Models\Player::getPairings() must be of the type array, null returned in vendor/jeroened/libpairtwo/src/Models/Player.php:372
2019-05-01 17:26:21 +02:00
21a494b844
Merge branch 'bugfix/getPairings-Null' into develop 2019-05-01 17:24:11 +02:00
1c2312f258
Added default value to Pairings object 2019-05-01 17:24:06 +02:00
fbe6009bd6
Merge branch 'task/get-player-by-name' into develop 2019-05-01 16:05:06 +02:00