Commit graph

144 commits

Author SHA1 Message Date
Ilion Beyst
b51b7a331d allow filtering for had_errors 2022-10-14 14:09:32 +02:00
Ilion Beyst
353ecd4c16 basic test for list_matches and had_errors 2022-10-13 23:42:44 +02:00
Ilion Beyst
eb2cbb15fb save matchplayer had_errors in database 2022-10-13 22:22:45 +02:00
Ilion Beyst
2278ecd258 implement ListBotMatches, allow querying matches by bot/opponent pair 2022-10-13 17:45:11 +02:00
Stijn Seghers
ce07419bbc refactor: deduplicate match queries 2022-10-13 15:32:13 +02:00
Ilion Beyst
ae57359353 upgrade to diesel 2.0 2022-10-12 22:52:15 +02:00
Ilion Beyst
ed016773b1 filter matches for outcome 2022-10-12 21:08:00 +02:00
Ilion Beyst
19b9a6ea1b add new bot stats endpoint 2022-10-11 22:58:42 +02:00
Ilion Beyst
f7eedc6ca1 enable request & response compression 2022-10-10 13:23:18 +02:00
Ilion Beyst
9825d2c49e full integration test: sign up, create bot, play match 2022-10-05 21:14:09 +02:00
Ilion Beyst
df44ef055e extract poll_match_until_complete function 2022-10-05 19:44:16 +02:00
Ilion Beyst
45d6172814 refactor: separate out test setup 2022-10-04 18:44:04 +02:00
Ilion Beyst
790da3cf1a rough but functional integration test 2022-10-04 07:02:46 +02:00
Ilion Beyst
f6da362f94 clear database between test runs 2022-10-03 07:26:39 +02:00
Ilion Beyst
8f6b34db10 add integration test stub 2022-09-30 17:28:24 +02:00
Ilion Beyst
c4f78f2dad implement into_join_handle for RemoteBotHandle 2022-09-28 07:12:36 +02:00
Ilion Beyst
3058028edc allow retrieving bot code 2022-09-10 18:56:03 +02:00
Ilion Beyst
78a6032b60 refactor: introduce promise helper type 2022-09-10 16:13:43 +02:00
Ilion Beyst
8eeb81bd5a client_api: allow player to connect before match has started 2022-09-09 21:56:11 +02:00
Ilion Beyst
2fec5e4509 implement map selection in cli 2022-09-02 21:58:32 +02:00
Ilion Beyst
d95eedcc83 registry: ensure that files have been closed before calculating checksums 2022-08-30 19:35:29 +02:00
Ilion Beyst
e8e353192c show only completed matches in match log 2022-08-29 22:06:21 +02:00
Ilion Beyst
c6c484daf3 add missing maps routes 2022-08-28 17:15:56 +02:00
Ilion Beyst
2aab23c40f run ranker on all maps 2022-08-28 17:12:07 +02:00
Ilion Beyst
49a5735e07 show map info for matches 2022-08-27 17:41:32 +02:00
Ilion Beyst
c80ce33279 allow selecting a map in editor view 2022-08-27 17:05:11 +02:00
Ilion Beyst
e26f13c8bb add maps to matches api 2022-08-26 19:21:30 +02:00
Ilion Beyst
624fa99fad add map info to matches 2022-08-25 20:47:00 +02:00
Ilion Beyst
f727613efb create db::maps module 2022-08-25 20:14:50 +02:00
Ilion Beyst
aa066ef5bb create maps table 2022-08-23 20:00:21 +02:00
Ilion Beyst
03ca884c40 return pagination object from list matches API 2022-08-16 19:23:53 +02:00
Ilion Beyst
84748fd60e abstract matches pagination logic 2022-08-12 20:21:39 +02:00
Ilion Beyst
406c726601 create password reset utility
Co-authored-by: Wout Schellaert <wout.schellaert@gmail.com>
2022-08-09 23:27:22 +02:00
Ilion Beyst
cf52ab6f7f implement before and after filters for matches 2022-08-08 18:31:11 +02:00
Ilion Beyst
3113f762d8 list matches for a specific bot 2022-08-04 21:48:25 +02:00
Ilion Beyst
3c2f4977e4 add parameters to recent_matches api endpoint 2022-08-02 20:12:34 +02:00
Ilion Beyst
15c1aa9d59 add winner to match api responses 2022-07-31 21:04:13 +02:00
Ilion Beyst
e8dbb01933 list only public matches in API 2022-07-30 19:49:08 +02:00
Ilion Beyst
ee5c67c092 add is_public to matches 2022-07-30 17:03:32 +02:00
Ilion Beyst
1d280c62e2 don't allow registering reserved usernames 2022-07-25 22:51:31 +02:00
Ilion Beyst
c30222cf9a limit amount of matches used by ranker 2022-07-25 22:26:58 +02:00
Ilion Beyst
67276bd0bb rename bot_api to client_api 2022-07-25 22:16:50 +02:00
Ilion Beyst
93c4306b10 pull docker bots before running them 2022-07-24 23:08:51 +02:00
Ilion Beyst
90dfc3dec4 create new bot flow 2022-07-24 18:05:20 +02:00
Ilion Beyst
ccfe86729e add bot detail page 2022-07-24 16:45:29 +02:00
Ilion Beyst
33664eff2c basic user profile pages 2022-07-24 15:15:42 +02:00
Ilion Beyst
4a582e8079 store active version id in bots table 2022-07-23 23:40:25 +02:00
Ilion Beyst
f19a70e710 sort match players to ensure correct ordering 2022-07-23 14:47:24 +02:00
Ilion Beyst
1011015b29 show match url in planetwars_client 2022-07-21 21:42:47 +02:00
Ilion Beyst
b84e9be9d6 re-enable bot_api server 2022-07-21 20:29:01 +02:00