Commit Graph

80 Commits

Author SHA1 Message Date
Julian Lam
c680fa67d9 chore: update ap cron job config 2024-06-05 12:31:24 -04:00
Julian Lam
709c91329a feat: pruning of stale notes older than 30 days with no engagement 2024-06-04 14:18:22 -04:00
Barış Soner Uşaklı
300cf79c95 add max to caches to limit memory usage 2024-06-04 12:31:13 -04:00
Julian Lam
4e9cd8efc0 feat: track incoming requests by id, analytics increment for some metrics, ignore repeated requests by id
closes #12574
2024-05-14 12:07:18 -04:00
Opliko
22b42f11dd fix: handle retry queue invalidation across a cluster 2024-05-06 23:16:58 +02:00
Opliko
729f0fcac1 fix: use batch.processArray properly 2024-05-06 23:06:06 +02:00
Opliko
ea6e15bf08 refactor: use batch.processArray for sending AP messages 2024-05-06 22:52:48 +02:00
Opliko
50bc9a37c5 feat: basic retry queue 2024-05-06 22:49:31 +02:00
Opliko
ed84eed8a9 fix: better logic for choosing webfinger lookups 2024-04-25 20:05:53 +02:00
Opliko
026449dc4a fix: support reporting remote content in Flag 2024-04-14 02:42:30 +02:00
Julian Lam
52271caec2 fix: you scurvy cur! 2024-04-11 15:23:19 -04:00
Julian Lam
4d23a837fa fix: handle (created) and (expires) in http signatures 2024-04-11 15:20:59 -04:00
Julian Lam
8d0876b8d7 fix: send hs2019 as algo (to match cavage-12, handle incoming algorithm value 2024-04-11 10:39:51 -04:00
Opliko
b921f8d167 refactor: use a helper to resolve actor URI 2024-04-09 23:58:25 +02:00
Opliko
fcd5447cd4 feat: sign public key requests
Lack of this signature resulted in ironically failing the verification of signed requests from Mastodon instanced configured to require signed get...
2024-04-09 19:27:35 +02:00
Julian Lam
464dd8067d fix: additional verbose logging for signature verification 2024-04-09 11:29:57 -04:00
Opliko
c30c12881c fix: support ldjson with ActivityStreams profile in actor queries 2024-04-08 20:06:26 +02:00
Opliko
5c1c1d2182 fix: uppercase digest algorithm name for compatibility reasons
Mastodon works with either, but Mbin actually requires uppercased name
2024-04-06 02:06:41 +02:00
Julian Lam
442e98e4da fix: add timeout on activitypub.get, tweak upgrade script 2024-04-04 12:22:13 -04:00
Julian Lam
003c64690f fix: resolve interoperability issues with Misskey, et al.
Full credit to @jfietkau for the hint that led to this fix.
2024-03-21 16:23:43 -04:00
Julian Lam
77a3efb43c feat: restrict loopback calls 2024-02-26 16:12:40 -05:00
Julian Lam
1bd8f9a1fa feat: fine-grained privileges integration for fediverse users and world pseudo-category 2024-02-26 11:39:32 -05:00
Julian Lam
ed4ccbfccc refactor: resolveId method, add hostname verification 2024-02-21 10:58:20 -05:00
Julian Lam
42a0924137 test: refactor AP tests 2024-02-21 10:26:26 -05:00
Julian Lam
401b4c5fa6 fix: stringify error body in ap.send 2024-02-09 11:37:22 -05:00
Julian Lam
ce4b5679a2 fix: only log warning on ap.send failure 2024-02-09 11:24:03 -05:00
Julian Lam
ac56289fa2 fix: don't crash on activitypub.send non-2xx, better logging for successful sends 2024-02-08 21:34:26 -05:00
Julian Lam
94dcd29e63 feat: handle Announce(Note) when Note is a piece of remote content 2024-02-07 00:14:29 -05:00
Julian Lam
415b4fe11a feat: Announce(Note) and Undo(Announce) 2024-02-06 14:57:44 -05:00
Julian Lam
a461e5dd41 feat: topic and category S2S get responses 2024-02-06 11:04:08 -05:00
Julian Lam
25f0d48432 fix: category following and acceptance logic 2024-02-06 10:40:46 -05:00
Julian Lam
35819cc953 refactor: activitypub sending to handle signed requests from categories 2024-02-05 16:57:17 -05:00
Julian Lam
86a607ce8c fix: move all actor object urls to immutable variants 2024-01-29 16:59:13 -05:00
Julian Lam
fef1882473 fix: remote follows, yet again 2024-01-26 22:35:02 -05:00
Julian Lam
a3a0edb70b fix: a bunch of broken things, added test for Create(Note) 2024-01-26 21:39:20 -05:00
Julian Lam
ef8cd34ba1 refactor: replace JIT actor retrieval with actor assertion and storage logic 2024-01-26 15:10:35 -05:00
Julian Lam
e00a03bb9c fix: revert home page routing change and moved instance actor endpoint to 2024-01-24 14:09:40 -05:00
Julian Lam
911177ceda chore: removed unused requires 2024-01-24 14:01:40 -05:00
Julian Lam
0e016c6ecd feat: Create(Note) on new topic or reply
This is a naive WIP implementation that federates everything out publicly. It does not take category privileges into account!
2024-01-24 11:44:10 -05:00
Julian Lam
9885f94a2b feat: application actor + public key for uid 0 signs, moved homepage route to after core routes are generated 2024-01-22 16:18:49 -05:00
Julian Lam
403bf3e1a8 chore: remove debug log 2024-01-22 14:46:38 -05:00
Julian Lam
9e58b04c4e fix: response, not res 2024-01-22 14:06:39 -05:00
Julian Lam
a3e1a666b8 fix: automatically reject unsigned POSTs to inbox 2024-01-19 11:43:21 -05:00
Julian Lam
33f3da8a64 fix: handle case where pubKey cannot be found 2024-01-18 15:21:46 -05:00
Julian Lam
7e89eadb36 feat: flesh out more topic info, fix navigator 2024-01-13 22:27:02 -05:00
Julian Lam
326bb995b1 feat: add activitypub request cache 2024-01-12 11:27:55 -05:00
Julian Lam
2b3b6e56af chore: move assertNote to separate file in preparation for additional note-based methods 2024-01-11 10:05:02 -05:00
Julian Lam
ab40ba6167 feat: assertNotes method 2024-01-10 20:52:38 -05:00
Julian Lam
06e1583461 refactor: move mockProfile and mockPost to separate mocks.js 2024-01-10 14:19:57 -05:00
Julian Lam
f1e5e5a0ad feat: stub lib for retrieving and mocking posts 2024-01-10 14:14:44 -05:00