Commit graph

111 commits

Author SHA1 Message Date
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
Ilion Beyst
00459f9e3d create a configuration to hold docker registry url 2022-07-14 20:53:08 +02:00
Ilion Beyst
668409e76d refactor: unify match save and spawn 2022-07-13 19:36:07 +02:00
Ilion Beyst
e69bd14f1d refactor: delay BotSpec construction in RunMatch 2022-07-12 20:54:00 +02:00
Ilion Beyst
0b9a9f0eaa tying it together: execute docker bots 2022-07-11 20:43:10 +02:00
Ilion Beyst
ec1d50f655 refactor: pass on both Bot and BotVersion to MatchPlayer 2022-07-09 20:01:05 +02:00
Ilion Beyst
7eb02a2efc create a new bot verison on docker push 2022-07-08 20:40:20 +02:00
Ilion Beyst
0f14dee499 refactor: rename save_code_bundle to save_code_string 2022-07-07 19:13:55 +02:00
Ilion Beyst
6ec792e3bd NewBotVersion 2022-07-07 18:57:46 +02:00
Ilion Beyst
d7b7585dd7 rename code_bundle to bot_version 2022-07-06 22:41:27 +02:00
Ilion Beyst
b3df5c6f8c migrate code_bundles to bot_versions 2022-07-05 20:34:20 +02:00
Ilion Beyst
8a47b948eb migrate code_bundles to bot_versions 2022-07-05 20:33:39 +02:00
Ilion Beyst
ea05674b44 remove obsolete create match route 2022-07-04 22:33:35 +02:00
Ilion Beyst
268e080ec1 Merge branch 'bot-api' into next 2022-07-04 20:16:42 +02:00
Ilion Beyst
bbed877554 cleanup and comments 2022-07-04 20:11:29 +02:00
Ilion Beyst
7b88bb0502 use file metadata for returning data ranges and lengths 2022-07-01 20:45:26 +02:00
Ilion Beyst
419029738d verify blob digest on upload 2022-07-03 20:59:51 +02:00
Ilion Beyst
4d1c0a3289 make sure that all pushed data is actually written 2022-06-30 20:28:37 +02:00
Ilion Beyst
d7e4a1fd5c implement admin login 2022-06-27 21:20:05 +02:00
Ilion Beyst
f6fca3818a don't allow accessing non-existing repositories 2022-06-24 19:32:22 +02:00
Ilion Beyst
381ce040fd add auth to all registry routes 2022-06-21 22:45:59 +02:00
Ilion Beyst
059cd4fa0e implement basic auth checking 2022-06-20 22:14:15 +02:00
Ilion Beyst
951cb29311 upgrade to axum 0.5 2022-06-20 22:01:26 +02:00
Ilion Beyst
a2a8a41689 rename route handler methods 2022-06-20 20:27:51 +02:00
Ilion Beyst
478094abcf basic docker login PoC 2022-06-19 22:34:01 +02:00
Ilion Beyst
2cde7ec673 support docker pull 2022-06-18 12:42:03 +02:00