Commit graph

52 commits

Author SHA1 Message Date
asonix a1ea5d676c Rework misskey fetch to reuse deliver plumbing
Only count server errors towards failed breakers
2023-02-25 15:02:16 -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 b56bddccb4 Allow Signature to be missing if kind is Delete, return early without additional processing 2022-12-19 11:39:30 -06:00
asonix 886c7d0ac6 Apply patch from perallamint on github
Temporary fix: allow signing bypass for 410 gone actors
DIRTY FIX: implement sigcheck_bypass for 410'ing actors
2022-12-19 09:44:04 -06:00
asonix 43b70f88a7 Apply patch from perallamint on github
All checks were successful
continuous-integration/drone/push Build is passing
clippy: unnecessary lifetime annotation on static strings

Since string literal constant already has static lifetime, it is not
necessary to explicitly annotate it with 'static.
2022-12-13 10:39:25 -06:00
asonix 1a638f7f8d Improve debug middleware 2022-11-23 10:44:11 -06:00
asonix ed0ea6521e Improve Timings middleware 2022-11-23 10:44:01 -06:00
asonix ab7d940de9 Improve error in signature verification (again)
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 15:25:42 -06:00
asonix 5cd0b21ae3 Improve error in signature verification
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 15:11:56 -06:00
asonix 5043892981 Fix compile issue
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 11:28:25 -06:00
asonix 8afc16786d WIP: Don't collect path-based metrics for 404, 405
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-21 11:27:22 -06:00
asonix cecc35ae85 Add timings metrics middleware 2022-11-19 20:35:45 -06:00
asonix 902ce5d3c2 New module structure 2022-11-19 14:47:32 -06:00
asonix 448a907ab0 Reset breakers when receiving activities 2022-11-16 14:29:57 -06:00
asonix 5011e05c3d Clean tracing a bit more
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-15 19:56:19 -06:00
asonix a2bd41a00f Improve concurrency 2022-11-02 13:55:45 -05:00
asonix bc263701e2 Log cleanup 2022-11-01 15:57:33 -05:00
asonix 7e9371e392 Trim newlines in public keys
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-01 14:30:49 -05:00
asonix 0b0ed56bad Update RSA, other deps 2022-10-29 12:22:13 -05:00
Aode (lion) 2313303e22 Update RSA
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-08 17:39:38 -05:00
Aode (Lion) 8893895c71 Update to latest activitystreams 2022-01-17 16:54:45 -06:00
Aode (lion) 3e0595fa88 Update actix web 2021-12-28 10:23:48 -06:00
Aode (lion) 0d38133271 Merge branch 'main' of git.asonix.dog:asonix/relay into main 2021-11-23 16:20:44 -06:00
Aode (lion) 1dba31e3a0 Clippy lints, dashmap for breakers 2021-11-23 16:19:59 -06:00
Aode (Lion) 4753a454ab Update deps 2021-11-23 12:43:52 -06:00
Aode (lion) e1c61d5b5f Update deps 2021-11-22 18:38:58 -06: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 f105c427dc Update actix betas 2021-06-24 12:02:27 -05:00
asonix 80bc838073 Bump actix version 2021-04-17 12:36:47 -05: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 50d2b5b21c bro we are sledding 2021-02-09 22:05:06 -06:00
asonix d7e68190c4 Remove direct dependencies on tokio, bytes, reduce lock contention for circuitbreaker 2020-12-29 11:27:14 -06:00
asonix 9923d4d107 Add allow/block check to verifier middleware before key validation 2020-12-23 12:30:19 -06:00
asonix 1f065385a0 Update deps 2020-09-07 16:51:02 -05:00
asonix a26cc2b8f7 Update rsa 2020-07-25 09:33:35 -05:00
asonix b7e8d2e465 Join upstream service with payload fut 2020-07-10 15:34:18 -05:00
asonix fbe8baaee9 Add payload debug middleware for inbox 2020-07-10 15:07:47 -05:00
asonix 2bbcc82d9c Update activitystreams 2020-06-19 23:11:02 -05:00
asonix 1bb098d42b Use 'uri' in a few places 2020-06-03 16:01:37 -05:00
asonix d5cf29f237 Generate XsdAnyUri rather than String, remove XsdString 2020-06-03 12:37:36 -05:00
asonix 729e425e32 Fully lean on activitystreams-new 2020-05-21 16:24:56 -05:00
asonix 0b2763ab8b Clippy 2020-04-25 20:49:29 -05:00
asonix a528046a68 Update sig lib, forward more error context, better blind key rotation support 2020-04-22 17:41:01 -05:00
asonix 0ffcb74de6 Update webfinger dep 2020-04-21 14:12:10 -05:00
asonix b8bc230403 Move sign, verify to threadpool 2020-03-30 01:06:13 -05:00