346664396c
Run workers on handler threads
continuous-integration/drone/push Build is passing
2023-06-23 15:08:59 -05:00
74f35faa22
Keep client in thread-local storage
2023-06-23 15:01:56 -05:00
d40db33eb5
Don't drop and rebuild clients, share clients better
2023-06-23 14:27:20 -05:00
8d565a1fbe
Add ability to tweak client pool size
2023-06-23 13:46:13 -05:00
d69a80ebe8
Update dependencies, not rustls
continuous-integration/drone/push Build is passing
2023-05-24 10:19:34 -05:00
ab2dbfb439
Update metrics, rsa
continuous-integration/drone/push Build is passing
2023-04-27 19:34:23 -05:00
73bf4d1597
Remove unneeded .into_iter()
continuous-integration/drone/push Build is passing
2023-03-23 14:37:33 -05:00
2cb5ad9917
Replace Double with Fanout
continuous-integration/drone/push Build is failing
2023-03-23 13:51:32 -05:00
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
a952b528df
Use transpose in a couple places
continuous-integration/drone/push Build is passing
2023-02-05 21:09:47 -06:00
f9cad61049
Add healthcheck for db, new clippy lints
2023-01-29 13:21:36 -06:00
34dc1a2281
Update rsa
2023-01-23 08:56:18 -06:00
9cdebeae4c
Update base64, ructe
2023-01-23 08:38:55 -06:00
662620be46
Only show open_registrations: false when restricted mode is enabled
2023-01-23 08:29:32 -06:00
f0a8862922
Don't prometheus exporter for relay client
continuous-integration/drone/push Build was killed
2023-01-02 12:43:32 -06:00
3a14242a91
Apply patch from perillamint on github
...
Accept REPOSITORY_COMMIT_BASE envvar to build repository url
2023-01-01 10:28:52 -06:00
f5fed2fce1
Apply patch from perillamint on github
...
One missing bit Debug implementation for source_url
2023-01-01 10:19:11 -06:00
5faeaf6371
Revert "Apply patch from perillamint on github"
...
continuous-integration/drone/push Build is failing
This reverts commit f291b24269
.
2023-01-01 10:01:39 -06:00
f291b24269
Apply patch from perillamint on github
...
continuous-integration/drone/push Build is passing
Show repository URL with commit reference
2023-01-01 09:47:21 -06:00
5f5c34640f
Apply patch from perillamint on github
...
use git hash to describe version number
2023-01-01 09:46:44 -06:00
fafba69258
Add optional prometheus scrape endpoint
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-26 10:57:16 -06:00
88b0383084
Keep track of when servers were last seen
2022-12-21 16:51:17 -06:00
943f679a69
Allow activities without IDs, fetch actor unchecked
continuous-integration/drone/push Build was killed
2022-12-19 22:24:58 -06:00
4e5fabce5f
Also debug Kind in inbox
continuous-integration/drone/push Build is passing
2022-12-19 21:45:52 -06:00
40eb12258d
Record id in inbox route
2022-12-19 21:05:53 -06:00
675fddcfeb
Support Remove activity, forward verbatim
continuous-integration/drone/push Build is passing
2022-12-19 16:08:39 -06:00
565a94d756
clippy
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-12-19 12:23:06 -06:00
cf7a25f935
Consider NoSignature a BadRequest
2022-12-19 11:44:50 -06:00
b56bddccb4
Allow Signature to be missing if kind is Delete, return early without additional processing
2022-12-19 11:39:30 -06:00
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
430ebec810
Improve tracing, immediately stringify spantrace, remove join macros
2022-12-13 23:36:40 -06:00
43b70f88a7
Apply patch from perallamint on github
...
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
a0dc2363f6
Add support for Add activity - forward verbatim
continuous-integration/drone/push Build is passing
2022-12-13 10:35:16 -06:00
f4db90b699
Use sync RwLock for lru access
2022-12-09 17:47:45 -06:00
a0fbf9d236
Bump activitystreams again
2022-12-06 18:53:19 -06:00
b9dba28207
Bump activitystreams
2022-12-06 18:21:55 -06:00
b5dc3e7c08
Wrap whole main in actix_rt, fixes opentelemetry
continuous-integration/drone/push Build is passing
2022-12-06 17:55:02 -06:00
39b8b1d3fa
Add compression middleware - not zstd
2022-11-23 12:57:56 -06:00
96eb028145
Revert "Add compression middleware"
...
continuous-integration/drone/push Build is passing
This reverts commit aa8ddfa637
.
2022-11-23 12:50:46 -06:00
aa8ddfa637
Add compression middleware
continuous-integration/drone/push Build is passing
2022-11-23 12:30:17 -06:00
c6adc9f77b
Propogate Span into bcrypt verify
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-23 11:58:44 -06:00
149ec1d14f
Minify HTML
2022-11-23 11:51:51 -06:00
d7a720b6c4
clippy, replace indexmap with btreemap
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-23 11:25:13 -06:00
e9f312bed5
Measure bcrypt, change DashMap to RwLock<HashMap for collector
continuous-integration/drone/push Build is failing
2022-11-23 11:13:30 -06:00
1a638f7f8d
Improve debug middleware
2022-11-23 10:44:11 -06:00
ed0ea6521e
Improve Timings middleware
2022-11-23 10:44:01 -06:00
ab7d940de9
Improve error in signature verification (again)
continuous-integration/drone/push Build is passing
2022-11-22 15:25:42 -06:00
5cd0b21ae3
Improve error in signature verification
continuous-integration/drone/push Build is passing
2022-11-22 15:11:56 -06:00
b53ec4d980
More useful default logging
continuous-integration/drone/push Build is passing
2022-11-21 23:12:31 -06:00
88329a79e2
clippy
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
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
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
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
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
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
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
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
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'
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
continuous-integration/drone/push Build is passing
2022-11-16 12:38:34 -06:00
f55ea0a550
Check for signature errors, record signing strings
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
continuous-integration/drone/push Build was killed
2022-11-15 22:10:15 -06:00
25e8b5a673
Don't print parsed activity on inbox
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
continuous-integration/drone/push Build was killed
2022-11-15 19:56:19 -06:00
e46c9e230b
Add boolish to nodinfo, add tests
continuous-integration/drone/push Build was killed
2022-11-15 13:47:31 -06:00
a4cb7934b1
Add test for Boolish
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
continuous-integration/drone/push Build was killed
2022-11-14 19:18:09 -06:00
373072c482
Don't log server list in deliver many
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
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
continuous-integration/drone/push Build is failing
2022-11-07 19:31:32 -06:00