Commit Graph

74 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
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
88b0383084 Keep track of when servers were last seen 2022-12-21 16:51:17 -06:00
asonix
43b70f88a7 Apply patch from perallamint on github
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
f4db90b699 Use sync RwLock for lru access 2022-12-09 17:47:45 -06:00
asonix
b9dba28207 Bump activitystreams 2022-12-06 18:21:55 -06:00
asonix
787c8312bc Make better use of cores for jobs 2022-11-19 21:32:45 -06:00
asonix
902ce5d3c2 New module structure 2022-11-19 14:47:32 -06:00
asonix
e9303ad9f6 Remove media caching, just proxy 2022-11-17 22:39:26 -06:00
asonix
e1137fadd8 Handle other request in nodeinfo job 2022-11-15 22:10:15 -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
e46c9e230b Add boolish to nodinfo, add tests 2022-11-15 13:47:31 -06:00
asonix
a4cb7934b1 Add test for Boolish 2022-11-15 13:12:16 -06:00
asonix
6ca6a19178 Parse akkoma registration weirdness 2022-11-15 13:06:57 -06:00
asonix
881654fed9 Try to be a bit more clear about what object is being delivered 2022-11-14 19:18:09 -06:00
asonix
373072c482 Don't log server list in deliver many 2022-11-14 19:11:10 -06:00
asonix
3358ae0461 Simplify debug info for jobs 2022-11-13 13:58:30 -06:00
asonix
64d06f210a Parse masto 4.0 nodeinfo 2022-11-07 21:07:46 -06:00
asonix
4ae7e435eb Ensure proper parsing for masto instance struct on 4.0.0 2022-11-07 19:31:32 -06:00
asonix
d7e9e58de2 Prefer short_description, add more telegram meta commands 2022-11-07 18:49:19 -06:00
asonix
bc263701e2 Log cleanup 2022-11-01 15:57:33 -05:00
Aode (lion)
79fa0fb828 Update to git background jobs 2022-07-02 14:07:25 -05:00
Aode (lion)
2313303e22 Update RSA 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)
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)
8021dca1dd Update background jobs 2021-10-29 19:26:57 -05:00
Aode (Lion)
231290380e Bump background jobs, other deps 2021-10-11 14:19:32 -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)
43e5b6d873 Instrument with tracing 2021-09-18 12:55:39 -05:00
asonix
2e6396be2b Fix staffAccounts extraction 2021-02-11 14:27:41 -06:00
asonix
486dabff9e Error contact job on failed extraction 2021-02-11 14:18:58 -06:00
asonix
2479c2b39d Test contact extraction 2021-02-11 14:17:17 -06:00
asonix
1311f92b6c Add support for pulling a pleroma admin 2021-02-11 13:41:03 -06:00
asonix
1c813d917b Spawn cache tasks for new follows 2021-02-10 12:35:37 -06:00
asonix
b2904bb1ba Don't add inbox as connection 2021-02-10 00:44:48 -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
1f065385a0 Update deps 2020-09-07 16:51:02 -05:00
asonix
812de59348 Bump job concurrency 2020-07-25 10:41:39 -05:00
asonix
db5284e162 Use memory job store because why not 2020-07-10 20:00:31 -05:00
asonix
51ef5c2796 Revert "Support pleromo registrations format"
This reverts commit 741c4efc0e.
2020-07-10 18:42:48 -05:00
asonix
741c4efc0e Support pleromo registrations format 2020-07-10 18:34:24 -05:00
asonix
e2feeecbb3 Allow missing approval-required 2020-07-10 18:18:05 -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