Commit graph

111 commits

Author SHA1 Message Date
asonix
8dc24376fb Rebuild client if too many consecutive failures 2020-05-23 18:56:27 -05:00
asonix
4df92f5128 Use a better mutex 2020-05-21 21:42:56 -05:00
asonix
1dbfce9430 Fix wrong actor error ids 2020-05-21 21:15:20 -05:00
asonix
0fd26a8290 Simplify a couple lines, forward error on json conversion error 2020-05-21 20:59:14 -05:00
asonix
4b9a8c5354 Always cache media, use CacheControl header for statics 2020-05-21 18:51:11 -05:00
asonix
a45c204a5b Add cache-media job to keep icons up-to-date 2020-05-21 18:04:12 -05:00
asonix
ce9de20471 Optional outbox 2020-05-21 17:29:36 -05:00
asonix
17886732dd Fix inbox resolution, fix notsubscribed message 2020-05-21 17:00:55 -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
13a968aaa9 Add Date header so the relay can actually make requests lmao 2020-04-23 13:36:06 -05:00
asonix
d3e3a13997 Remove actix actor dependency 2020-04-23 13:28:00 -05:00
asonix
a51bed3cc4 Use latest sig lib 2020-04-23 13:04:17 -05:00
asonix
0b7ca46e08 Support relay.dog nodeinfo format 2020-04-23 11:37:33 -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
dea8c60042 Add regen-key ability if can't read key 2020-04-21 17:47:34 -05:00
asonix
b8336b441c Quiet requests logging, forward context info in error 2020-04-21 16:39:02 -05:00
asonix
1e8c54f7cc Don't precompute, it already happens 2020-04-21 14:31:32 -05:00
asonix
45349f3252 Precompute private key biguints 2020-04-21 14:25:08 -05:00
asonix
84a396fc1e Fix a couple client headers 2020-04-21 14:18:18 -05:00
asonix
0ffcb74de6 Update webfinger dep 2020-04-21 14:12:10 -05:00
asonix
0f5b5fca24 register delivermany 2020-04-21 12:15:33 -05:00
asonix
82e8042c66 Clean db code, switch to deadpool 2020-04-21 12:07:39 -05:00
asonix
4d07476fe7 Give jobs better names 2020-04-20 20:03:46 -05:00
asonix
f016f14efe Use newest background-jobs 2020-04-20 19:56:50 -05:00
asonix
db26ebc4ca Lowercase software name in nodeinfo 2020-04-19 16:35:46 -05:00
asonix
dd2658be82 Compare fetched actor's domain against requested actor's domain 2020-04-18 14:45:03 -05:00
asonix
60da0ecc9e Add compression middleware back in, but put it logically inside the logger 2020-04-13 20:01:56 -05:00
asonix
c5bc9b76d8 Remove compress middleware 2020-04-13 19:36:28 -05:00
asonix
7c8fbdd965 Update deps, use tokio_postgres' Json type 2020-04-02 13:51:10 -05:00
asonix
69ec2baf79 Bump duration for actor cache to 30 minutes 2020-04-01 15:47:18 -05:00
asonix
a52a32db8d Move apub business to jobs 2020-03-30 12:10:04 -05:00
asonix
680ccc511c Use ActixJob, save a few lines 2020-03-30 10:45:44 -05:00
asonix
b8bc230403 Move sign, verify to threadpool 2020-03-30 01:06:13 -05:00
asonix
8fb810b5bf Break notify loop on error 2020-03-27 12:47:18 -05:00
asonix
19857a77f1 Unblock everyone, oops 2020-03-26 14:42:11 -05:00
asonix
f11043e57d Store media uuid mappings, be mindful of locks 2020-03-26 13:21:05 -05:00
asonix
d445177c69 Quiet html5ever, shuffle servers, mobile scaling 2020-03-26 11:17:59 -05:00
asonix
bcfe8b14a3 Quiet some logs in debug mode 2020-03-26 09:22:57 -05:00
asonix
7e9779aa4a Compress responses, cache images, log requests 2020-03-25 22:53:10 -05:00
asonix
9ada30626b Add media cache, improve default styles 2020-03-25 22:26:45 -05:00
asonix
0a42450801 Quiet a couple logs 2020-03-25 18:06:01 -05:00
asonix
76b43e705a Debug log all node cache misses 2020-03-25 17:58:00 -05:00
asonix
9f98015d7f Fix contact field name 2020-03-25 17:44:29 -05:00
asonix
b7f2de0245 Add logging to cache misses 2020-03-25 17:34:54 -05:00
asonix
78a359c403 Move notify to registration-based triggers, store nodes in db 2020-03-25 17:10:10 -05:00
asonix
a7b4bc59be Remove re-seed, it's been run in prod already 2020-03-23 22:43:45 -05:00
asonix
bd75b1f958 Add a crude re-seed for populating actors 2020-03-23 17:37:23 -05:00
asonix
e4c95a8168 More shuffling, store actors in db 2020-03-23 17:17:53 -05:00
asonix
9925e41673 Do a bit of reorganizing 2020-03-23 12:38:39 -05:00