Commit graph

100 commits

Author SHA1 Message Date
Jack Allnutt
d514c224ff Fix clippy warning 2023-08-10 04:16:34 +01:00
Jack Allnutt
5f78fd131e Add /ingest relay endpoint
This adds a new `/ingest` endpoint to allow instances to opt-in to relaying their users' posts to a buzzrelay instance without necessarily subscribing to receive posts from the relay
2023-08-10 03:50:01 +01: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
Astro
390f7653fb relay: add restriction to 1 worker per inbox 2023-05-15 00:54:45 +02:00
Astro
10eec5b64b flake.nix: fix meta.description 2023-05-14 23:33:22 +02:00
Astro
4390f596f7 Cargo.lock: update 2023-05-14 23:32:29 +02:00
Astro
980e4a5952 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0b6445b611472740f02eae9015150c07c5373340' (2023-05-05)
  → 'github:NixOS/nixpkgs/ea11a3977f4cba013d8680667616be827c967ac0' (2023-05-13)
2023-05-14 23:32:29 +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
c0601f8eef improve frontpage 2023-05-05 21:55:13 +02:00
Astro
f6aab8998e main: implement nodeinfo 2.1 2023-05-05 21:47:21 +02:00
Astro
12ead51001 Cargo.lock: update 2023-05-05 19:32:51 +02:00
Astro
5cf036e2c6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/29176972b4be60f7d3eb3101f696c99f2e6ada57' (2023-04-15)
  → 'github:NixOS/nixpkgs/0b6445b611472740f02eae9015150c07c5373340' (2023-05-05)
2023-05-05 19:32:18 +02:00
Astro
c890616d8d nixos-module: bump LimitNOFile to 40000 2023-05-05 19:32:01 +02:00
Astro
225fce2acc flake.nix: let version fall back to "0-dirty" 2023-04-16 02:00:46 +02:00
Astro
a098ed6472 flake.nix: try to fix setting source from flake input 2023-04-16 01:57:24 +02:00
Astro
14f1c369e4 flake.nix: set source from flake input sourceInfo 2023-04-16 01:44:31 +02:00
Astro
2b104eb71c Cargo.lock: update 2023-04-15 23:51:08 +02:00
Astro
832bd50926 endpoint: fix content-type parsing 2023-04-15 23:46:58 +02:00
Astro
a8551ac48a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3364b5b117f65fe1ce65a3cdd5612a078a3b31e3' (2023-03-31)
  → 'github:NixOS/nixpkgs/29176972b4be60f7d3eb3101f696c99f2e6ada57' (2023-04-15)
• Updated input 'utils':
    'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
  → 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
• Added input 'utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
2023-04-15 22:28:26 +02:00
Astro
a5afa8b467 Cargo.lock: cargo update 2023-03-31 21:51:26 +02:00
Astro
531efc4db7 flake.lock: Update
Flake lock file updates:

• Updated input 'naersk':
    'github:nix-community/naersk/d998160d6a076cfe8f9741e56aeec7e267e3e114' (2022-12-15)
  → 'github:nix-community/naersk/88cd22380154a2c36799fe8098888f0f59861a15' (2023-03-23)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ae8bdd2de4c23b239b5a771501641d2ef5e027d0' (2023-03-01)
  → 'github:NixOS/nixpkgs/3364b5b117f65fe1ce65a3cdd5612a078a3b31e3' (2023-03-31)
• Updated input 'utils':
    'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13)
  → 'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
2023-03-31 20:37:45 +02:00