Commit graph

57 commits

Author SHA1 Message Date
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
Astro
b30dfb85d4 endpoint: don't require content-type but conntent-length to be signed
pleroma compat
2023-01-18 23:01:25 +01:00
Astro
610e3732c5 add support for multiple streams 2023-01-11 18:47:36 +01:00
Astro
2d464cd5f0 actor: set name and icon 2022-12-23 18:56:45 +01:00
Astro
cd99f0ff55 main: rm dbg 2022-12-23 18:56:21 +01:00
Astro
def1e2bf3c add homepage 2022-12-23 18:06:42 +01:00
Astro
249764acae revise metrics naming 2022-12-20 04:10:45 +01:00
Astro
959c5c41b2 relay: add histogram "relay_post" 2022-12-20 03:59:32 +01:00
Astro
a3847e20b2 relay: add post_url to debug output 2022-12-20 03:57:31 +01:00
Astro
ce5add113f db: add NOT NULL constraints 2022-12-20 03:48:14 +01:00
Astro
6aeab7f7aa db: sprinkle with metrics::histogram! 2022-12-20 03:42:00 +01:00
Astro
a3c87c9311 add metrics 2022-12-20 03:13:44 +01:00
Astro
402d7fc9a7 db: correct CREATE INDEX IF NOT EXISTS 2022-12-20 01:16:53 +01:00
Astro
9e59e55f4e db: undo CREATE INDEX IF NOT EXISTS 2022-12-20 01:13:41 +01:00
Astro
74017d3176 db: CREATE INDEX IF NOT EXISTS 2022-12-20 00:37:16 +01:00
Astro
454799c296 add systemd notify+watchdog 2022-12-20 00:19:21 +01:00
Astro
0c13db943c delint 2022-12-20 00:16:44 +01:00
Astro
7399f9c631 relay: concurrentize 2022-12-20 00:04:56 +01:00
Astro
970f8e8d1b fix * 2022-12-19 23:01:53 +01:00