Commit graph

51 commits

Author SHA1 Message Date
alyssa
5f08a3ed13 fix(api): use correct json key for errors 2025-07-05 17:31:02 +00:00
alyssa
91d5ae6dd7 fix(api): default value for hid_pad_format, content-type for /systems/:id/settings endpoint 2025-07-05 17:28:57 +00:00
alyssa
94b90470d5 fix(api): forgot about discord id lookup 2025-06-15 21:10:57 +00:00
alyssa
bea41ab8a0 fix(api): allow hids in uppercase and with dashes; document this 2025-06-15 21:10:57 +00:00
alyssa
3cefa364b1 fix(api): run cors logic before auth 2025-06-15 21:10:57 +00:00
alyssa
0610701252 feat(api): allow unauthed requests to /systems/:id/settings 2025-06-15 21:10:57 +00:00
alyssa
73103dc2b5 fix(gateway): only send relevant events to shard state manager 2025-05-24 13:19:40 +00:00
alyssa
05817afdba chore(gateway): promote cache_api to just api 2025-05-24 12:40:14 +00:00
alyssa
b5f18106e1 feat(gateway): add /shard_status endpoint 2025-05-24 12:40:14 +00:00
asleepyskye
e2acaf93be fix(gateway): move shard state updates, store in hashmap 2025-05-24 12:40:14 +00:00
alyssa
0167519804 feat(gateway): instrument shard threads with shard id 2025-05-24 12:40:14 +00:00
alyssa
eb9994b215 fix(gateway): set custom prefix in bot status 2025-05-24 12:40:14 +00:00
alyssa
c56fd36023 feat(api): improve auth middleware 2025-05-24 12:40:14 +00:00
alyssa
50900ee640 chore: bump axum version 2025-05-24 12:40:14 +00:00
alyssa
f9a6c2cefe chore(rust): tidier libpk::main macro impl 2025-05-24 12:40:14 +00:00
alyssa
7737850afb chore(rust): correctly format values in errors 2025-05-24 12:40:14 +00:00
alyssa
ddf1e21f25 feat(avatars): check if images are used before deleting 2025-05-15 21:04:31 +00:00
skye
7cff9abee3
feat(scheduled_tasks): update for k8s (#734) 2025-05-03 03:21:39 -07:00
alyssa
4a098e4533 fix(gateway): improve shutdown flow 2025-04-26 17:00:48 +00:00
alyssa
6c0c7a5c99 feat(api): pull SP avatars 2025-04-26 12:03:00 +00:00
alyssa
44c5a2d106 feat(gateway): get node id from kubernetes 2025-04-24 10:42:52 +00:00
alyssa
bfa0071f90 feat(gateway): runtime_config_key in config 2025-04-24 10:42:52 +00:00
alyssa
7ba16c1347 fix(gateway): throw error on non-200 from bot 2025-04-24 10:42:52 +00:00
alyssa
5fcee4eb29 feat(gateway): add option to use source address in gateway awaiter 2025-04-24 10:42:52 +00:00
alyssa
292c182eb2 feat: update docker-compose.yml for selfhost 2025-04-24 10:42:52 +00:00
alyssa
4acc51195d fix(scheduled_tasks): don't crash on missing data 2025-04-08 17:34:50 +00:00
alyssa
19616b6bbb chore: bump twilight 2025-04-04 12:20:15 +00:00
alyssa
2710d1fb2b feat: admin requests 2025-04-04 11:28:29 +00:00
alyssa
a8664665a6 feat: add last message cache to gateway 2025-04-04 11:10:39 +00:00
alyssa
15c992c572 feat: remote await events from gateway 2025-04-04 11:10:39 +00:00
alyssa
cc7122e389 fix(gateway): use tokio channels as to not block gateway on exit 2025-04-04 11:10:39 +00:00
alyssa
2578eb0e3c feat: send events from gateway to bot over http 2025-04-04 11:10:39 +00:00
alyssa
a72afb35a0 feat: add remote config over http/redis 2025-04-04 11:10:35 +00:00
alyssa
e0c6839cd2 fix(avatars): don't send image errors that aren't our fault to sentry 2025-03-10 15:16:32 +00:00
alyssa
2be3fe6a00 fix: disable twilight ratelimiter when using proxy 2025-03-08 18:57:13 +00:00
alyssa
b77390c0cd feat: add metric for remaining gateway sessions 2025-03-08 13:13:14 +00:00
alyssa
f2583904ef chore(rust): clean up duplicated sentry code 2025-03-08 12:05:00 +00:00
alyssa
3cf71112d6 feat(gateway): add metric for shard close code 2025-03-08 12:04:13 +00:00
alyssa
ec49ead783 fix(gateway): remove superflous redis error handling code that actually created more errors 2025-03-08 11:58:54 +00:00
alyssa
5fa9266d8d fix(avatars): shorter error message for image pull failure 2025-03-08 11:49:01 +00:00
alyssa
63777bf810 feat: add sentry error logging to dotnet-api and rust crates 2025-02-23 18:49:31 +00:00
alyssa
d537f05b23 feat(bot): use avater service for image verify 2025-02-23 09:33:32 +00:00
alyssa
d5ecccc485 fix(scheduled_tasks): better error handling 2025-01-11 01:37:16 +00:00
alyssa
ce8d6ed8d3 fix(dispatch): don't silently 200 when auth failed 2025-01-08 05:21:44 +00:00
alyssa
9f8d3d22d2 feat: new stats embed / api 2025-01-05 00:52:45 +00:00
alyssa
e88d6b7e2a feat(gateway): push shard latency to prometheus 2025-01-04 23:04:58 +00:00
alyssa
fa9e88c846 fix(scheduled_tasks): get count metrics from correct tables 2025-01-03 19:51:41 +00:00
alyssa
3329e48e1b fix(scheduled_tasks): expected_gateway_count is not inclusive 2025-01-03 04:29:30 +00:00
alyssa
5466e5051b fix(avatars): use correct timestamp type 2025-01-02 06:43:57 +00:00
alyssa
89d6481ddb chore: clean up compile warnings 2025-01-02 05:20:43 +00:00