Commit graph

181 commits

Author SHA1 Message Date
Astro
2e39f284ad Cargo.lock: update 2023-11-26 20:17:28 +01:00
Astro
2c625af1f8 actor: implement LanguageRelay
Closes Github issue #1
2023-11-26 20:17:28 +01:00
Astro
c823236a3c flake.lock: Update
Flake lock file updates:

• Updated input 'naersk':
    'github:nix-community/naersk/06a99941d72e2202ed62b8aa08b9869817fea56f' (2023-10-24)
  → 'github:nix-community/naersk/aeb58d5e8faead8980a807c840232697982d47b9' (2023-10-27)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c' (2023-10-25)
  → 'github:NixOS/nixpkgs/0bd59c54ef06bc34eca01e37d689f5e46b3fe2f1' (2023-11-24)
2023-11-26 02:23:48 +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
fc916a35c5 Cargo.toml: add newly needed serde feature 2023-10-27 02:29:40 +02:00
Astro
ce6a1ef165 Cargo.toml: remove unused dependency askama 2023-10-27 02:04:57 +02:00
Astro
d85be6a3e7 Cargo.lock: update 2023-10-27 01:55:11 +02:00
Astro
8326f26eef static: repair HTML 2023-10-27 01:53:45 +02:00
Astro
c6fcddcf3b static: steps overhaul, add faq 2023-10-27 01:53:30 +02:00
Astro
2b9ad7b4a2 static: keep url <pre> at constant rendering height 2023-10-27 01:44:22 +02:00
Astro
1ce14cb152 flake.lock: Update
Flake lock file updates:

• Updated input 'naersk':
    'github:nix-community/naersk/3f976d822b7b37fc6fb8e6f157c2dd05e7e94e89' (2023-09-07)
  → 'github:nix-community/naersk/06a99941d72e2202ed62b8aa08b9869817fea56f' (2023-10-24)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/01441e14af5e29c9d27ace398e6dd0b293e25a54' (2023-10-11)
  → 'github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c' (2023-10-25)
2023-10-27 00:32:23 +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
2980a15eb6 nixos-module: mangle case in redis settings 2023-10-12 22:51:54 +02:00
Astro
0dd28356b6 nixos-module: add redis settings 2023-10-12 22:43:55 +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
ff9654d4f0 Cargo.lock: update 2023-10-12 16:04:00 +02:00
Astro
5cbce2e305 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f3dab3509afca932f3f4fd0908957709bb1c1f57' (2023-09-27)
  → 'github:NixOS/nixpkgs/01441e14af5e29c9d27ace398e6dd0b293e25a54' (2023-10-11)
2023-10-12 15:59:44 +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
Astro
33baca81d8 static/index.html: update tagline 2023-09-29 01:41:47 +02:00
Astro
b7c665e674 Cargo.lock: update 2023-09-29 01:41:13 +02:00
Astro
4002cdc5b6 flake.lock: Update
Flake lock file updates:

• Updated input 'naersk':
    'github:nix-community/naersk/8507af04eb40c5520bd35d9ce6f9d2342cea5ad1' (2023-06-12)
  → 'github:nix-community/naersk/3f976d822b7b37fc6fb8e6f157c2dd05e7e94e89' (2023-09-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f9e94676ce6c7531c44d38da61d2669ebec0f603' (2023-06-23)
  → 'github:NixOS/nixpkgs/f3dab3509afca932f3f4fd0908957709bb1c1f57' (2023-09-27)
• Updated input 'utils':
    'github:numtide/flake-utils/abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c' (2023-06-19)
  → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
2023-09-28 21:28:55 +02:00
Astro
276b78e8e0 config.yaml: document the API access_token required for Mastodon 4.2.0
Fixes Github issue #6
2023-08-10 01:37:50 +02:00
Astro
6d2ab527c8
Merge pull request #9 from rafaelcaricio/unique-outbox-url-per-actor
Every actor has an unique outbox url
2023-08-08 10:34:25 +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
Astro
83f6679209
Merge pull request #8 from rafaelcaricio/add-published-field
Add missing `published` field to Announce
2023-08-07 19:51:32 +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
363152b0b4 nixos-module: add option logLevel 2023-06-24 01:28:12 +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
ed8d2c9e06 Cargo.lock: update 2023-06-23 18:49:04 +02:00
Astro
cd1d073f0a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/95c729c030b3011c5c89107ac9fa30f7249135fe' (2023-06-15)
  → 'github:NixOS/nixpkgs/f9e94676ce6c7531c44d38da61d2669ebec0f603' (2023-06-23)
• Updated input 'utils':
    'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31)
  → 'github:numtide/flake-utils/abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c' (2023-06-19)
2023-06-23 17:43:16 +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