Commit Graph

27067 Commits

Author SHA1 Message Date
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
42bb3c3399 test: fix tests to reflect new immutable IDs, and added new tests for resource retrieval 2024-02-05 14:12:23 -05:00
Julian Lam
d2f14c363d fix: properly assert resources in AP router 2024-02-05 14:12:00 -05:00
Julian Lam
d18e65c473 feat: send proper content-type on AP S2S responses 2024-02-05 14:11:32 -05:00
Julian Lam
d213ce790c fix: update preferredUsername in category actor to match webfinger representation 2024-02-05 10:09:44 -05:00
Julian Lam
88733a5160 feat: category actors, stub outbox 2024-02-02 17:19:59 -05:00
Julian Lam
ae042ce39e feat: returning following and follower collections upon request 2024-02-01 16:53:47 -05:00
Julian Lam
607c4623c7 feat: Like(Note) and Undo(Like); federating likes 2024-02-01 16:05:31 -05:00
Julian Lam
94361721b1 fix: follower calls to return empty item list unless a page is explicitly passed in 2024-01-30 12:11:33 -05:00
Julian Lam
6930973d7a feat: origin checking on received Update activities 2024-01-30 12:11:10 -05:00
Julian Lam
0e59f3124e feat: Update(Note) 2024-01-30 11:25:45 -05:00
Julian Lam
86a607ce8c fix: move all actor object urls to immutable variants 2024-01-29 16:59:13 -05:00
Julian Lam
457bfe1685 fix: send proper @context value for posts (was missing) 2024-01-29 16:33:41 -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
6e87cf57a2 feat: Update(Person) 2024-01-26 16:48:16 -05:00
Julian Lam
fa1c549002 fix: error handling for actor.assert 2024-01-26 16:24:14 -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
2c8342632f fix: missing break statement 2024-01-26 11:45:09 -05:00
Julian Lam
a355c05d83 fix: reject spiders on remote profile GETs 2024-01-26 11:36:44 -05:00
Julian Lam
25434d2a6e fix: send back correct actor id on webfinger calls 2024-01-26 11:20:14 -05:00
Julian Lam
ddf17ee5fb fix: parseInt on timestamp from post 2024-01-25 16:33:31 -05:00
Julian Lam
6b517252b9 feat: activitypub response to note retrieval via pid 2024-01-25 16:27:56 -05:00
Julian Lam
0b3ca8e366 fix: /uid/:uid route to return actor 2024-01-25 16:00:46 -05:00
Julian Lam
5de4f08412 refactor: added mocks.note in preparation for AP note retrieval logic, inReplyTo is always populated now, unless new topic 2024-01-25 15:38:01 -05:00
Julian Lam
e07c31316e fix: the id of an actor should be its immutable uri (/uid/:uid) and not userslug 2024-01-25 14:23:59 -05:00
Julian Lam
3c24cfb4a9 fix: unused require, tests 2024-01-25 11:06:30 -05:00
Julian Lam
0af97dd444 fix: send full as:Image object for icon and image in mocked actor object 2024-01-24 22:59:09 -05:00
Julian Lam
8453b83e9e feat: added mocks.actor and Update(Person) activity on profile update 2024-01-24 20:10:22 -05:00
Julian Lam
f51bbe91e7 fix: clear post cache on Update(Note) 2024-01-24 14:35:21 -05:00
Julian Lam
1ee03f2b83 fix: webfinger loopback 2024-01-24 14:14:24 -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
c9feb92539 refactor: simplify remote (un)follow controller 2024-01-23 12:11:35 -05:00
Julian Lam
3bdaa8a836 fix: restore avatars in topic list 2024-01-23 11:49:57 -05:00
Julian Lam
da0211b1a0 feat: proper webfinger response for instance actor 2024-01-23 11:22:18 -05:00
Julian Lam
f8cfe64c7e fix: send preferredUsername in application actor response 2024-01-23 10:31:52 -05:00
Julian Lam
4cc7ee6501 fix: note assertion on Create(Note) and Update(Note) to use instance key instead of uid 1's user key 2024-01-23 10:31:13 -05:00
Julian Lam
92c990f2f7 chore: remove debug log 2024-01-23 10:16:44 -05:00
Opliko
2ce14f5019 refactor: guard dispatcher definition so non-Node runtimes won't have issues 2024-01-22 18:05:27 -05:00
Opliko
2cb370882b fix: add workaround for nodejs/undici#1305 required to remove sec-fetch-mode header 2024-01-22 18:05:27 -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
47b3ffb9b1 lint: fix eslint errors 2024-01-22 13:51:06 -05:00
Julian Lam
76c6e30282 Merge remote-tracking branch 'origin/develop' into activitypub 2024-01-22 13:50:08 -05:00
Barış Soner Uşaklı
1820e78204 Merge branch 'master' into develop 2024-01-22 12:56:35 -05:00