Commit graph

154 commits

Author SHA1 Message Date
3ac0ecfec2 Add containerfile and fix all issues 2023-10-22 12:31:51 +02:00
Ilion Beyst
ccee0f7ca6 return NOT_FOUND instead of FORBIDDEN when blob does not exist 2022-12-11 18:05:13 +01:00
Ilion Beyst
cae5deec10 registry: include registry api version on all responses 2022-11-24 22:18:37 +01:00
Ilion Beyst
e1c30959df registry: add basic error bodies 2022-11-24 21:52:27 +01:00
Ilion Beyst
7154b16ded add permissive CORS settings 2022-11-23 18:15:01 +01:00
Ilion Beyst
ee57f06544 implement create new map endpoint 2022-11-23 17:33:39 +01:00
Ilion Beyst
1eb81092d7 add is_ranked attribute to matches 2022-11-22 20:42:34 +01:00
Ilion Beyst
f429adb4f8 allow filtering map in bot matches 2022-10-30 16:23:35 +01:00
Ilion Beyst
095ad981db fix ordering in list_matches 2022-10-25 18:09:58 +02:00
Ilion Beyst
79479ba8ba only show bot stderr to its owner 2022-10-15 23:58:52 +02:00
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