Commit graph

136 commits

Author SHA1 Message Date
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
Ilion Beyst
73c536b4a6 wrap bot api in oneof for extendability 2022-07-20 23:21:06 +02:00
Ilion Beyst
e5cb04208f allow disabling ranker in develpoment 2022-07-17 18:23:24 +02:00
Ilion Beyst
09c543eee3 create all required directories on startup 2022-07-17 17:07:53 +02:00
Ilion Beyst
c16b068f8b cleanup: remove old configuration code 2022-07-17 15:10:17 +02:00
Ilion Beyst
dad19548d1 read GlobalConfig from configuration.toml 2022-07-16 21:57:12 +02:00
Ilion Beyst
0cf7b5299d integrate registry with GlobalConfig 2022-07-16 21:47:34 +02:00
Ilion Beyst
d13d131130 move storage paths to GlobalConfig 2022-07-16 21:22:03 +02:00
Ilion Beyst
ec5c91d37b change runnerconfig to globalconfig 2022-07-14 21:50:42 +02:00