Commit graph

67 commits

Author SHA1 Message Date
asonix
8d565a1fbe Add ability to tweak client pool size 2023-06-23 13:46:13 -05:00
asonix
ab2dbfb439 Update metrics, rsa 2023-04-27 19:34:23 -05:00
asonix
a1ea5d676c Rework misskey fetch to reuse deliver plumbing
Only count server errors towards failed breakers
2023-02-25 15:02:16 -06:00
perillamint
667d586160 Send dummy JSON when trying Misskey API endpoint
From Misskey 13, Misskey expects valid JSON (does not care its content
though) in POST body. To workaround this, send empty JSON object when
requesting Misskey API endpoint
2023-02-25 14:34:38 -06:00
perillamint
4a7775b56d Misskey metadata support
This commit implements misskey metadata support and corresponding test
for From<MskyMeta> implementation

Also, it is good to note that, Misskey does not return 404 but 200 OK
when they poked at nonexistant endpoint, so the implementation should
handle for invalid json case
2023-02-25 14:34:22 -06:00
asonix
f9cad61049 Add healthcheck for db, new clippy lints 2023-01-29 13:21:36 -06:00
asonix
34dc1a2281 Update rsa 2023-01-23 08:56:18 -06:00
asonix
9cdebeae4c Update base64, ructe 2023-01-23 08:38:55 -06:00
asonix
88b0383084 Keep track of when servers were last seen 2022-12-21 16:51:17 -06:00
asonix
e9303ad9f6 Remove media caching, just proxy 2022-11-17 22:39:26 -06:00
asonix
959201fa97 Remove errors when our signature is rejected 2022-11-17 19:28:17 -06:00
asonix
ebdc739c84 Make admin API & client work 2022-11-17 14:13:41 -06:00
asonix
448a907ab0 Reset breakers when receiving activities 2022-11-16 14:29:57 -06:00
asonix
2dd1dfe43f Factor more bookkeeping into check_response 2022-11-16 12:38:34 -06:00
asonix
f55ea0a550 Check for signature errors, record signing strings 2022-11-16 11:23:36 -06:00
asonix
7e01cbfc41 Increase http timeout 2022-11-15 22:56:38 -06:00
asonix
0768cb6ac6 Don't fail jobs for fine scenarios
- dont fail contact for breaker
- dont fail instance for not found
2022-11-15 20:53:55 -06:00
asonix
5011e05c3d Clean tracing a bit more 2022-11-15 19:56:19 -06:00
asonix
3358ae0461 Simplify debug info for jobs 2022-11-13 13:58:30 -06:00
asonix
fac40c1853 Don't fail deliver for 400 Bad Request 2022-11-08 13:50:08 -06:00
asonix
bc263701e2 Log cleanup 2022-11-01 15:57:33 -05:00
asonix
c16adca27c Don't double-hash message bytes 2022-10-29 13:47:23 -05:00
asonix
0b0ed56bad Update RSA, other deps 2022-10-29 12:22:13 -05:00
Aode (Lion)
726a479025 Remove direct dependency on time 2022-01-17 17:57:06 -06:00
Aode (Lion)
8893895c71 Update to latest activitystreams 2022-01-17 16:54:45 -06:00
Aode (lion)
dd92650cff Add console-subscriber, add cargo publish step 2021-12-19 14:24:31 -06:00
Aode (lion)
66c86ebfd6 Update deps, add drone 2021-12-03 16:17:25 -06:00
Aode (lion)
1dba31e3a0 Clippy lints, dashmap for breakers 2021-11-23 16:19:59 -06:00
Aode (Lion)
ea9854d3b2 Remove unhelpful fields from Request debug 2021-09-21 14:33:42 -05:00
Aode (Lion)
3384ca9064 Clean up debug impls 2021-09-21 14:32:25 -05:00
Aode (Lion)
4b4aaaa0b4 Don't store Config in State 2021-09-21 13:26:31 -05:00
Aode (Lion)
2792f5075d Enable tracing AWC 2021-09-21 11:21:06 -05:00
Aode (lion)
43e5b6d873 Instrument with tracing 2021-09-18 12:55:39 -05:00
asonix
8474640278 Bump dependencies 2021-08-01 15:12:06 -05:00
asonix
a48749e310 Update actix deps 2021-03-09 20:09:56 -06:00
asonix
43227d9852 Update to actix-web 4.0.0-beta.3 2021-02-10 18:00:11 -06:00
asonix
c3d5de600d Fix mutex scoping, map payload in-place 2021-02-09 23:45:13 -06:00
asonix
2c275e441b pub -> pub(crate) 2021-02-09 22:17:20 -06:00
asonix
d7e68190c4 Remove direct dependencies on tokio, bytes, reduce lock contention for circuitbreaker 2020-12-29 11:27:14 -06:00
asonix
e2da563a1c Add breakers for requests to down domains 2020-12-23 12:06:15 -06:00
asonix
b51a389ca9 Update deps, use mastodon-compat mode 2020-09-29 19:33:50 -05:00
asonix
dd83f4a859 Stable releases 2020-09-13 19:46:13 -05:00
asonix
1f065385a0 Update deps 2020-09-07 16:51:02 -05:00
asonix
e80ded92f5 Debug host 2020-09-07 15:28:58 -05:00
asonix
b6e25df717 Add host to signatures 2020-09-07 13:34:29 -05:00
asonix
be07ee0177 Add URL to statuscode error 2020-07-25 10:13:00 -05:00
asonix
a26cc2b8f7 Update rsa 2020-07-25 09:33:35 -05:00
asonix
c4b4f13fa6 Don't validate content type on response, pleromo is weird 2020-07-10 17:47:41 -05:00
asonix
c499b5355c Send normal json accept header for normal json endpoints 2020-07-10 17:24:47 -05:00
asonix
2bbcc82d9c Update activitystreams 2020-06-19 23:11:02 -05:00