Commit graph

351 commits

Author SHA1 Message Date
b53ec4d980 More useful default logging
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 23:12:31 -06:00
88329a79e2 clippy
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-21 14:25:24 -06:00
a77a4cde22 Add an 'About' section to the relay 2022-11-21 14:23:37 -06:00
5043892981 Fix compile issue
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 11:28:25 -06:00
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
9133dd7688 Add optional footer blurb 2022-11-21 11:16:21 -06:00
d8f3f1d0e9 Add one more log in TLS config 2022-11-20 22:47:20 -06:00
205e794b9e Add more logging around TLS config issues 2022-11-20 22:46:20 -06:00
5d33dba103 Add support for binding TLS 2022-11-20 21:42:38 -06:00
a3eb785b9e Update defaults to be more prod friendly
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-20 16:25:27 -06:00
13cd308358 clippy 2022-11-20 12:09:17 -06:00
162dd1cb0e Add more launch logging 2022-11-20 12:07:27 -06:00
df3063e75f Improve concurrency for larger systems 2022-11-20 12:06:10 -06:00
7ec56d2af2 clippy 2022-11-19 23:44:35 -06:00
3500f85f44 Move blocking setup out of actix systems 2022-11-19 23:35:00 -06:00
9ede941ff7 Increase concurrency
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 22:38:58 -06:00
9272ba0d4c More logging when ending main 2022-11-19 21:51:04 -06:00
787c8312bc Make better use of cores for jobs 2022-11-19 21:32:45 -06:00
cecc35ae85 Add timings metrics middleware 2022-11-19 20:35:45 -06:00
4e1a782bea Fix merge
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 18:57:34 -06:00
99c3ec0b75 Improve presentation of stats 2022-11-19 18:26:47 -06:00
f892a50f2c Add metrics printer 2022-11-19 17:45:01 -06:00
c322798ba3 Add metrics collector, admin route 2022-11-19 17:28:15 -06:00
902ce5d3c2 New module structure 2022-11-19 14:47:32 -06:00
a0dc917dfe Prioritize open-reg servers on index page 2022-11-18 19:00:45 -06:00
e9303ad9f6 Remove media caching, just proxy
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-17 22:39:26 -06:00
959201fa97 Remove errors when our signature is rejected 2022-11-17 19:28:17 -06:00
9ac7854081 clippy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-17 14:16:21 -06:00
ebdc739c84 Make admin API & client work
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-17 14:13:41 -06:00
fe844a807f Start work on admin API 2022-11-17 13:14:45 -06:00
08374d0382 Merge branch 'cmdline-ls'
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 14:59:35 -06:00
448a907ab0 Reset breakers when receiving activities 2022-11-16 14:29:57 -06:00
2dd1dfe43f Factor more bookkeeping into check_response
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 12:38:34 -06:00
f55ea0a550 Check for signature errors, record signing strings
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 11:23:36 -06:00
7e01cbfc41 Increase http timeout 2022-11-15 22:56:38 -06:00
e1137fadd8 Handle other request in nodeinfo job
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-15 22:10:15 -06:00
25e8b5a673 Don't print parsed activity on inbox
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-15 21:26:13 -06:00
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
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
e46c9e230b Add boolish to nodinfo, add tests
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-15 13:47:31 -06:00
a4cb7934b1 Add test for Boolish
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 13:12:16 -06:00
6ca6a19178 Parse akkoma registration weirdness 2022-11-15 13:06:57 -06:00
881654fed9 Try to be a bit more clear about what object is being delivered
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-14 19:18:09 -06:00
373072c482 Don't log server list in deliver many
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-14 19:11:10 -06:00
3358ae0461 Simplify debug info for jobs 2022-11-13 13:58:30 -06:00
Maxime Augier
cb7187a096 Merge remote-tracking branch 'upstream/main' into cmdline-ls 2022-11-11 10:18:07 +01:00
Maxime Augier
3b0e9fddc0 Add -l option for dumping existing allow/block lists 2022-11-11 10:00:41 +01:00
fac40c1853 Don't fail deliver for 400 Bad Request 2022-11-08 13:50:08 -06:00
64d06f210a Parse masto 4.0 nodeinfo
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-07 21:07:46 -06:00
4ae7e435eb Ensure proper parsing for masto instance struct on 4.0.0
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-07 19:31:32 -06:00
d7e9e58de2 Prefer short_description, add more telegram meta commands
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-07 18:49:19 -06:00
1f87c0f913 Make telegram actually work
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-02 18:57:08 -05:00
645e6b498a Use String instead of IriString for domain in telegram bot 2022-11-02 18:04:57 -05:00
bd172753fb Add basic administration via telegram
Some checks reported errors
continuous-integration/drone/tag Build was killed
continuous-integration/drone/push Build is passing
2022-11-02 17:58:52 -05:00
a2bd41a00f Improve concurrency 2022-11-02 13:55:45 -05:00
32f5a0670f Keep a couple more fields out of logs
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-01 16:50:23 -05:00
bc263701e2 Log cleanup 2022-11-01 15:57:33 -05:00
7e9371e392 Trim newlines in public keys
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-01 14:30:49 -05:00
c16adca27c Don't double-hash message bytes 2022-10-29 13:47:23 -05:00
0b0ed56bad Update RSA, other deps 2022-10-29 12:22:13 -05:00
5ae4c43caa Update deps, structopt -> clap, re-enable cargo publish
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-09-28 18:01:52 -05:00
79fa0fb828 Update to git background jobs
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-02 14:07:25 -05:00
f5d7c80d2e Bump deps
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-02 11:01:02 -05:00
2313303e22 Update RSA
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-08 17:39:38 -05:00
f9816ddd3b Update to stable actix-web
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-02-26 12:12:07 -06:00
0916b26d67 Update deps
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-02-01 11:47:17 -06:00
ca0a0d8e9f Update actix web
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2022-01-23 23:03:00 -06:00
726a479025 Remove direct dependency on time
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-17 17:57:06 -06:00
8893895c71 Update to latest activitystreams 2022-01-17 16:54:45 -06:00
3e0595fa88 Update actix web 2021-12-28 10:23:48 -06:00
dd92650cff Add console-subscriber, add cargo publish step
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
2021-12-19 14:24:31 -06:00
fbb7b397c2 clippy
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-03 16:20:37 -06:00
66c86ebfd6 Update deps, add drone
All checks were successful
continuous-integration/drone Build is passing
2021-12-03 16:17:25 -06:00
8b6d97fd4a Don't include SpanTrace in Error debug 2021-11-24 21:57:20 -06:00
0d38133271 Merge branch 'main' of git.asonix.dog:asonix/relay into main 2021-11-23 16:20:44 -06:00
1dba31e3a0 Clippy lints, dashmap for breakers 2021-11-23 16:19:59 -06:00
1b1d3ac8cc Merge branch 'main' of git.asonix.dog:asonix/relay into main 2021-11-23 12:46:42 -06:00
4753a454ab Update deps 2021-11-23 12:43:52 -06:00
e1c61d5b5f Update deps 2021-11-22 18:38:58 -06:00
8021dca1dd Update background jobs 2021-10-29 19:26:57 -05:00
231290380e Bump background jobs, other deps 2021-10-11 14:19:32 -05:00
ea9854d3b2 Remove unhelpful fields from Request debug 2021-09-21 14:33:42 -05:00
3384ca9064 Clean up debug impls 2021-09-21 14:32:25 -05:00
4b4aaaa0b4 Don't store Config in State 2021-09-21 13:26:31 -05:00
2792f5075d Enable tracing AWC 2021-09-21 11:21:06 -05:00
90965d6ee9 Better format errors 2021-09-20 13:13:21 -05:00
a53c8a0a63 Include version info in builds 2021-09-20 12:49:07 -05:00
d26ff4a7cb Switch from tokio-current-thread to tokio for otel 2021-09-18 15:47:10 -05:00
82371d4a65 Name relay service for otel 2021-09-18 13:55:11 -05:00
5e24bb06a7 Support exporting metrics to Opentelemetry 2021-09-18 13:40:47 -05:00
d627c5b6b2 Bump versions 2021-09-18 13:00:35 -05:00
43e5b6d873 Instrument with tracing 2021-09-18 12:55:39 -05:00
8474640278 Bump dependencies 2021-08-01 15:12:06 -05:00
994bf0b6ef Update to latest actix betas 2021-06-26 18:14:43 -05:00
f105c427dc Update actix betas 2021-06-24 12:02:27 -05:00
80bc838073 Bump actix version 2021-04-17 12:36:47 -05:00
a48749e310 Update actix deps 2021-03-09 20:09:56 -06:00
d6fa5d3617 Expose source_repo env var 2021-02-11 22:11:55 -06:00
2e6396be2b Fix staffAccounts extraction 2021-02-11 14:27:41 -06:00
486dabff9e Error contact job on failed extraction 2021-02-11 14:18:58 -06:00
2479c2b39d Test contact extraction 2021-02-11 14:17:17 -06:00
1311f92b6c Add support for pulling a pleroma admin 2021-02-11 13:41:03 -06:00
43227d9852 Update to actix-web 4.0.0-beta.3 2021-02-10 18:00:11 -06:00
1c813d917b Spawn cache tasks for new follows 2021-02-10 12:35:37 -06:00
52408d8189 Add tests for connect/disconnect 2021-02-10 09:47:23 -06:00
b9f9fd4a12 Allow sub-actors of connected server-actors 2021-02-10 09:23:55 -06:00
57ed79add5 Use actor ID in NotSubscribed error 2021-02-10 00:59:16 -06:00
d0a728a9b5 Log & test connections 2021-02-10 00:57:49 -06:00
b2904bb1ba Don't add inbox as connection 2021-02-10 00:44:48 -06:00
2619a93643 Fix rdnn block checks 2021-02-10 00:14:42 -06:00
c3d5de600d Fix mutex scoping, map payload in-place 2021-02-09 23:45:13 -06:00
2c275e441b pub -> pub(crate) 2021-02-09 22:17:20 -06:00
50d2b5b21c bro we are sledding 2021-02-09 22:05:06 -06:00
d7e68190c4 Remove direct dependencies on tokio, bytes, reduce lock contention for circuitbreaker 2020-12-29 11:27:14 -06:00
9923d4d107 Add allow/block check to verifier middleware before key validation 2020-12-23 12:30:19 -06:00
e2da563a1c Add breakers for requests to down domains 2020-12-23 12:06:15 -06:00
b51a389ca9 Update deps, use mastodon-compat mode 2020-09-29 19:33:50 -05:00
dd83f4a859 Stable releases 2020-09-13 19:46:13 -05:00
1f065385a0 Update deps 2020-09-07 16:51:02 -05:00
e80ded92f5 Debug host 2020-09-07 15:28:58 -05:00
b6e25df717 Add host to signatures 2020-09-07 13:34:29 -05:00
1d0a1d7cfd update version string 2020-07-25 17:33:11 -05:00
812de59348 Bump job concurrency 2020-07-25 10:41:39 -05:00
be07ee0177 Add URL to statuscode error 2020-07-25 10:13:00 -05:00
a26cc2b8f7 Update rsa 2020-07-25 09:33:35 -05:00
db5284e162 Use memory job store because why not 2020-07-10 20:00:31 -05:00
51ef5c2796 Revert "Support pleromo registrations format"
This reverts commit 741c4efc0e.
2020-07-10 18:42:48 -05:00
741c4efc0e Support pleromo registrations format 2020-07-10 18:34:24 -05:00
e2feeecbb3 Allow missing approval-required 2020-07-10 18:18:05 -05:00
261e52e551 Better json errors 2020-07-10 18:06:04 -05:00
c4b4f13fa6 Don't validate content type on response, pleromo is weird 2020-07-10 17:47:41 -05:00
c499b5355c Send normal json accept header for normal json endpoints 2020-07-10 17:24:47 -05:00
b7e8d2e465 Join upstream service with payload fut 2020-07-10 15:34:18 -05:00
fbe8baaee9 Add payload debug middleware for inbox 2020-07-10 15:07:47 -05:00
652ab6ac42 Remove XsdAnyUri 2020-06-27 17:29:23 -05:00
bc1003c467 Don't overwrite listener URI 2020-06-20 10:06:01 -05:00
2bbcc82d9c Update activitystreams 2020-06-19 23:11:02 -05:00
1bb098d42b Use 'uri' in a few places 2020-06-03 16:01:37 -05:00
55eb002ccd Remove redundant ownings 2020-06-03 13:45:17 -05:00
d5cf29f237 Generate XsdAnyUri rather than String, remove XsdString 2020-06-03 12:37:36 -05:00
8dc24376fb Rebuild client if too many consecutive failures 2020-05-23 18:56:27 -05:00
4df92f5128 Use a better mutex 2020-05-21 21:42:56 -05:00
1dbfce9430 Fix wrong actor error ids 2020-05-21 21:15:20 -05:00
0fd26a8290 Simplify a couple lines, forward error on json conversion error 2020-05-21 20:59:14 -05:00
4b9a8c5354 Always cache media, use CacheControl header for statics 2020-05-21 18:51:11 -05:00
a45c204a5b Add cache-media job to keep icons up-to-date 2020-05-21 18:04:12 -05:00
ce9de20471 Optional outbox 2020-05-21 17:29:36 -05:00
17886732dd Fix inbox resolution, fix notsubscribed message 2020-05-21 17:00:55 -05:00
729e425e32 Fully lean on activitystreams-new 2020-05-21 16:24:56 -05:00
0b2763ab8b Clippy 2020-04-25 20:49:29 -05:00