Commit Graph

61 Commits

Author SHA1 Message Date
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
Julian Lam
5e1e809962 feat: send name property in getActor response 2024-01-08 14:46:43 -05:00
Julian Lam
ec3c6b67cd fix: restore hostname prop in getActor method 2024-01-08 14:45:56 -05:00
Julian Lam
7ec75f5830 fix: ActivityPub.get now throws on failure, handle in getActor 2024-01-08 14:30:09 -05:00
Julian Lam
a1c8c3a043 refactor: update ActivityPub.get and all methods calling it to take a uid so that requests can be signed 2024-01-05 22:46:07 -05:00
Julian Lam
2a77ae550b feat: ability to browse follower/following lists of remote accounts 2024-01-05 15:32:55 -05:00
Julian Lam
7fd15d6668 feat: expose following/follower counts in actor response 2024-01-05 11:39:17 -05:00
Julian Lam
283e460a57 fix: use simpler getSortedSetRevRange instead of unnecessary zunion call
/cc @barisusakli
2024-01-05 10:04:59 -05:00
Julian Lam
672c70146a feat: update mockProfile to accept actor uris as well as actor objects 2024-01-04 16:25:46 -05:00
Julian Lam
2e330d8b3a refactor: validator check to helper method 2024-01-04 16:23:09 -05:00
Julian Lam
8d4fd9c0f8 refactor: move profile mocking logic to discrete method in main activitypub lib 2024-01-04 14:04:34 -05:00
Julian Lam
3339baac18 fix: relax activity-failed condition 2023-12-22 16:02:27 -05:00
Julian Lam
6a54e0090b fix: additional refactors and updates to follow/unfollow logic 2023-12-22 15:53:04 -05:00
Julian Lam
543daee866 fix: send actor uris in follow instead of webfinger ids 2023-12-22 13:56:18 -05:00
Julian Lam
0eadad84cd fix: accidental double-hash in sign/verify 2023-12-22 12:58:46 -05:00
Julian Lam
885278842b fix: another bad call to request lib 2023-12-21 14:46:03 -05:00
Julian Lam
8d79617044 fix: broken call to request lib, tests 2023-12-21 14:38:16 -05:00
Julian Lam
5c881d3f51 refactor: update ap libs to use core request lib 2023-12-19 14:33:38 -05:00
Julian Lam
a21110fd88 fix: handle null actor uri in helpers.query 2023-12-14 13:47:28 -05:00
Julian Lam
4c1b2b3fe6 feat: accept and undo support 2023-12-13 13:15:03 -05:00