Commit graph

75 commits

Author SHA1 Message Date
Astro
b07c103fde fix getting target from object for unfollow
https://github.com/astro/buzzrelay/issues/15
2024-02-22 23:10:39 +01:00
Astro
d1a92f9f5e main: try to get target from actor.object
https://github.com/astro/buzzrelay/issues/15
2024-02-21 21:21:33 +01:00
Astro
186d9f008e send: remove host facet from tracing histogram 2024-01-08 03:02:04 +01:00
Astro
3a42090e0c relay: bump worker channel capacity 2023-12-21 02:00:26 +01:00
Astro
f8708ab22e main: validate remote_actor only for Follow and Undo 2023-12-21 01:59:44 +01:00
Astro
2c625af1f8 actor: implement LanguageRelay
Closes Github issue #1
2023-11-26 20:17:28 +01:00
Astro
316b34c689 main: consolidate actor uri parsing into Actor::from_uri() 2023-10-31 04:12:03 +01:00
Astro
f9a103de9a main: resolve webfinger with https uri 2023-10-31 04:02:31 +01:00
Astro
9cfcf60903 main: add instanceinfo api stub
required by AodeRelay
2023-10-31 04:02:15 +01:00
Astro
70f66cbda3 actor: add a sharedInbox field 2023-10-30 01:21:42 +01:00
Astro
2db06d8e89 activitypub: make some fields optional 2023-10-30 00:29:11 +01:00
Astro
a014477773 improve error output 2023-10-30 00:28:56 +01:00
Astro
8c431650e2 endpoint: refactor actor_cache into separate file 2023-10-28 01:29:18 +02:00
Astro
cfdd55facf endpoint: pool and cache remote_actor() fetch 2023-10-28 00:48:40 +02:00
Astro
a7cb1867d0 main: deliver more zeros in nodeinfo to not skew others' statistics 2023-10-18 17:23:57 +02:00
Astro
02680ffdac main: add hostname to user-agent req header 2023-10-18 17:18:22 +02:00
Astro
7f91afa35e forward all POSTs to redis 2023-10-12 23:38:26 +02:00
Astro
a8461c7217 add RedisConfig.password_file 2023-10-12 22:09:43 +02:00
Astro
38f5b2cb13 publish Create/Announce on redis 2023-10-12 22:09:09 +02:00
Astro
41f75bf848 state: refactor 2023-10-12 19:04:14 +02:00
Astro
52cfe9c493 relay: shorten worker queue length from 1024 to 8 2023-10-09 02:25:25 +02:00
Astro
712cc328e1 fetch, send: use httpdate for formatting Date: header
> Oct 07 03:25:59 buzzrelay buzzrelay[676]: 2023-10-07T01:25:59.381211Z ERROR buzzrelay::relay: relay::send Response("{\"error\":\"Invalid Date header: not RFC 2616 compliant date: \\\"Sat, 7 Oct 2023 01:25:58 GMT\\\"\"}")

is it the leading 0 in the day position?
2023-10-07 03:25:43 +02:00
23bc680586
Every actor has an unique outbox url 2023-08-07 22:12:56 +02:00
Astro
c7f0335998 add a stub outbox
Fixes Github issue #7
2023-08-07 19:58:50 +02:00
2d2f3f9040
Add missing published field to Announce 2023-08-07 19:24:13 +02:00
Astro
89938a7c53 relay: contrive a custom id of announcements
Relates to Github issue #4: ActivityPub implementations may check that
the host in this URI is the HTTP-signing host.
e2261b63e9/packages/backend/src/queue/processors/InboxProcessorService.ts (L159)
2023-06-25 02:51:20 +02:00
Astro
7872f67f55 Revert "relay: tweak log level"
This reverts commit 4337770a06.
2023-06-24 01:21:03 +02:00
Astro
4337770a06 relay: tweak log level 2023-06-24 01:11:04 +02:00
Astro
0cf7f46f22 send: remove dumping response body on http error 2023-06-23 18:49:28 +02:00
Astro
eda7568ffe relay: fix processing of unicode tags 2023-06-23 18:49:12 +02:00
Astro
427acb0731 relay: delint 2023-06-16 21:32:18 +02:00
Astro
f55ee48c03 actor: prevent relaying back to the originating instance 2023-06-16 21:25:46 +02:00
Astro
4d74af642e relay: change queue from by actor to by host 2023-06-16 21:25:24 +02:00
Astro
585f26eab5 relay: additionally trim numbers from hashtags 2023-06-16 20:28:43 +02:00
Astro
1b65939557 main: let follow accept have a local id 2023-05-26 21:57:36 +02:00
Astro
5798e76d6d main: add "links" to nodeinfo 2023-05-26 21:57:07 +02:00
Astro
56b174bd58 relay: delint 2023-05-15 01:18:38 +02:00
Astro
fc659b57a1 relay: add backoff on error 2023-05-15 01:14:42 +02:00
Astro
7b93419a91 relay: restore more detailed log output 2023-05-15 01:03:23 +02:00
Astro
390f7653fb relay: add restriction to 1 worker per inbox 2023-05-15 00:54:45 +02:00
Astro
f7f632a971 delint 2023-05-14 23:32:29 +02:00
Astro
01f8cc2f5f endpoint: use authorized_fetch for remote_actor validation 2023-05-14 23:14:55 +02:00
Astro
f782197b93 send: move SendError to error::Error 2023-05-14 22:58:43 +02:00
Astro
e8b2b807b2 fetch: add authorized_fetch() 2023-05-14 22:57:46 +02:00
Astro
f6aab8998e main: implement nodeinfo 2.1 2023-05-05 21:47:21 +02:00
Astro
832bd50926 endpoint: fix content-type parsing 2023-04-15 23:46:58 +02:00
Astro
e2d1d35a6d send: add error reporting 2023-03-03 02:20:26 +01:00
Astro
e207dda2fe actor: normalize unicode away for TagRelay 2023-03-03 02:19:48 +01:00
Astro
3a3a25d2a7 endpoint: don't require conntent-length to be signed
mastodon compat
2023-01-18 23:21:59 +01:00
Astro
3b93b7c904 activitypub: allow more schemas for action's to field 2023-01-18 23:17:34 +01:00