Commit graph

121 commits

Author SHA1 Message Date
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
Astro
585f26eab5 relay: additionally trim numbers from hashtags 2023-06-16 20:28:43 +02:00
Astro
d9560e69d0 Cargo.toml: update 2023-06-16 19:20:31 +02:00
Astro
c65f67a5ca flake.lock: Update
Flake lock file updates:

• Updated input 'naersk':
    'github:nix-community/naersk/88cd22380154a2c36799fe8098888f0f59861a15' (2023-03-23)
  → 'github:nix-community/naersk/8507af04eb40c5520bd35d9ce6f9d2342cea5ad1' (2023-06-12)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/af21c31b2a1ec5d361ed8050edd0303c31306397' (2023-06-06)
  → 'github:NixOS/nixpkgs/95c729c030b3011c5c89107ac9fa30f7249135fe' (2023-06-15)
2023-06-16 19:15:28 +02:00
Astro
5e8d0b946d Cargo.lock: update 2023-06-08 20:54:28 +02:00
Astro
3b6ca13bd7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ea11a3977f4cba013d8680667616be827c967ac0' (2023-05-13)
  → 'github:NixOS/nixpkgs/af21c31b2a1ec5d361ed8050edd0303c31306397' (2023-06-06)
• Updated input 'utils':
    'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
  → 'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31)
2023-06-08 20:50:57 +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