Commit graph

80 commits

Author SHA1 Message Date
alyssa
2d36b8a7cc chore: rustfmt 2024-12-26 19:19:57 +00:00
alyssa
88e136d22a fix(gateway): log close code, correctly set latency, don't spam redis error on identify 2024-12-26 19:18:46 +00:00
alyssa
d1b617f6be fix(dashboard): order shards correctly 2024-12-24 04:51:26 +00:00
alyssa
fd6909cd96 fix(api): sort shards by shard_id 2024-12-24 04:22:24 +00:00
alyssa
4596d98670 refactor: remove protobuf 2024-12-24 02:43:41 +00:00
alyssa
701bafdf97 feat: add global component tag to rust json logs, add sentry, some cleanup 2024-11-21 10:45:03 +09:00
alyssa
0600ae00ff fix(gateway): remove shard_id from pluralkit_gateway_events metric 2024-11-21 10:40:33 +09:00
alyssa
1c9b7fae99 chore: remove unused dockerfile for avatars service 2024-11-14 14:19:07 +09:00
alyssa
a2432a6640 fix: update Go version in scheduled_tasks docker build 2024-11-14 14:18:37 +09:00
alyssa
93f8786da1 feat: add basic api/gateway metrics 2024-11-14 13:40:35 +09:00
alyssa
8831e8fabe fix(gateway): add minutely loop to joinset 2024-11-14 13:40:35 +09:00
alyssa
7edc432e0f chore(gateway): update redis.hset for Rust 2024
https://github.com/rust-lang/rust/issues/123748
2024-11-14 13:40:35 +09:00
alyssa
1594b12546 feat(scheduled_tasks): use env variables instead of consul to find gateway instances 2024-11-14 13:40:35 +09:00
alyssa
dd7a9d4464 feat(gateway): log resumed event separately from ready 2024-11-10 11:08:30 +09:00
alyssa
543522440a feat(avatars): add bind_url env variable 2024-11-10 11:08:30 +09:00
alyssa
299be27031 chore: cargo fmt 2024-11-10 11:08:30 +09:00
alyssa
c8b6dc4c23 chore: bump deps 2024-11-10 11:08:30 +09:00
alyssa
321ba0bb3d chore: build dispatch service with other rust crates 2024-11-10 11:08:30 +09:00
alyssa
73c444c31d feat: avatar cleanup service 2024-10-27 04:29:16 +09:00
alyssa
81251282b6 refactor: clean up scheduled tasks service 2024-10-27 04:28:14 +09:00
alyssa
124da02a42 feat(ci): move rust docker target bash to shell script 2024-10-25 03:27:58 +09:00
alyssa
17f5561293 chore: merge avatars service into monorepo 2024-10-23 05:11:12 +09:00
alyssa
fda1474070 feat(gateway): add unavailable_guild_count to stats 2024-10-20 09:36:20 +09:00
alyssa
9aad6f329c fix(stats): report db stats when gateway is not up 2024-10-20 09:36:20 +09:00
alyssa
96f1b4f082 fix(scheduled_tasks): recover correctly from string panics 2024-10-20 09:36:20 +09:00
alyssa
9ff824c37b feat(stats): query http gateway, wait until gateway up to collect discord stats 2024-10-20 09:36:20 +09:00
alyssa
e4ed354536 feat: gateway service 2024-10-20 09:36:20 +09:00
alyssa
21d647f423 fix(api): do sliding window rate limiting correctly (hopefully) 2024-09-27 16:57:32 +09:00
alyssa
873643153d fix(rust): update some deps to build correctly on nightly 2024-09-27 16:17:09 +09:00
alyssa
a0d56cd667 fix(api): add x-pluralkit-version as well 2024-09-27 04:37:20 +09:00
alyssa
d0f41dd928 fix(api): add x-ratelimit-scope to cors allowed headers 2024-09-27 04:32:02 +09:00
alyssa
bf3b76f9a8 fix(dispatch): bump DNS timeout 2024-08-26 20:51:01 +09:00
alyssa
45640f08ee feat: improve dispatch security 2024-08-22 07:10:35 +09:00
alyssa
e23528383f feat(api): new ratelimit handling 2024-08-04 07:50:00 +09:00
alyssa
cfde105e19 chore(api): move token auth to rust api service 2024-08-04 07:49:57 +09:00
alyssa
e415c6704f feat(api): update rust deps, move /private/meta endpoint to rust-api 2024-06-16 21:56:14 +09:00
Zowie
0557d2cd7e fix(api): expose x-ratelimit-* headers for browser-based applications 2024-05-25 20:54:00 +09:00
Iris System
823db4cd24 fix(scheduled_tasks): maybe actually make it work 2024-01-27 16:22:41 +13:00
Iris System
97d2f15501
fix(scheduled_tasks): int32 -> int64 in stats update 2024-01-27 16:05:20 +13:00
Iris System
4d65237ee1 chore: remove old web-proxy code
This is no longer used in our infra, and probably should never have
been in this repo anyway

Closes: PluralKit/PluralKit#511
2023-06-28 18:45:11 +12:00
spiral
7f1039fb41 fix(api): i forgot about the autoproxy endpoint 2023-04-16 12:17:42 -04:00
spiral
a8e3624594 fix(api): don't ignore private routes 2023-03-19 15:19:52 -04:00
spiral
b2f47f8e53 fix(api): temporarily use custom client-ip header for ratelimiting 2023-03-19 14:17:03 -04:00
spiral
a888e9693b feat(web-proxy): use DNS names for remotes 2023-03-19 14:14:05 -04:00
spiral
636535fa33 fix(api): add status, endpoint to metrics/logger 2023-03-19 12:30:31 -04:00
spiral
d2ef31b670 add token2 to config 2023-03-19 11:18:09 -04:00
spiral
e711e86ea3 move metrics dependency to workspace Cargo.toml 2023-03-19 10:44:37 -04:00
spiral
0cebf5e114 chore: clean up web-proxy 2023-03-18 23:21:29 -04:00
spiral
f382d30693
Merge branch 'main' into rust-api 2023-03-18 23:20:40 -04:00
spiral
751a4f9bc9 typo 2023-03-18 23:14:16 -04:00