Commit Graph

114 Commits

Author SHA1 Message Date
Julian Lam
5c04e8051c fix: include mainPid in topic counts calculation 2024-02-14 11:38:31 -05:00
Julian Lam
6a11c89b90 fix: timestamp calculation 2024-02-14 10:23:06 -05:00
Julian Lam
76d5feb7d6 fix: better handling of missing of invalid to, cc, timestamp values 2024-02-13 12:03:16 -05:00
Julian Lam
814c479405 fix: remote announces not showing up in local inboxes 2024-02-12 16:23:21 -05:00
Julian Lam
9439987eda fix: handle inaccessible boosts 2024-02-12 15:25:49 -05:00
Julian Lam
672a907d54 fix: remove invalid/inaccessible object from parent traversal chain on get error 2024-02-12 15:05:18 -05:00
Julian Lam
609a9a37e5 fix: handle invalid score 2024-02-12 15:01:10 -05:00
Julian Lam
22da3a6a80 fix: mainPid accidental int 2024-02-12 14:59:13 -05:00
Julian Lam
69f1ace3e5 fix: getParentChain error handling 2024-02-12 14:54:13 -05:00
Julian Lam
d13980c8fb fix: take mainPid into account in syncUserInboxes 2024-02-12 14:51:21 -05:00
Julian Lam
de71b733f8 fix: typo 2024-02-12 14:41:22 -05:00
Julian Lam
8912863423 feat: save tids to individual user inboxes based on recipient list, new /world/all route 2024-02-12 14:34:37 -05:00
Julian Lam
da085b0ece feat: save actor follower URL backreference and sorted set backreference 2024-02-12 14:32:55 -05:00
Julian Lam
401b4c5fa6 fix: stringify error body in ap.send 2024-02-09 11:37:22 -05:00
Julian Lam
12968b6291 fix: activitypub.get failure handling 2024-02-09 11:31:42 -05:00
Julian Lam
ce4b5679a2 fix: only log warning on ap.send failure 2024-02-09 11:24:03 -05:00
Julian Lam
5fee4e3306 fix: rejig some tertiary conditionals, fix broken inReplyTo when toPid is not defined and mainPid is a remote post 2024-02-09 11:18:23 -05:00
Julian Lam
11dba85d0a fix: resolveLocalId to return null values instead of throwing for no resolution 2024-02-09 11:15: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
f1b8f3fe4f fix: assertTopic incorrectly creating new id if passed-in id did not match the actual object's id 2024-02-08 11:33:27 -05:00
Julian Lam
4fb6574cf7 fix: urls in posts and announces 2024-02-07 14:29:47 -05:00
Julian Lam
08f8babd9f debug: additional logging 2024-02-07 12:50:26 -05:00
Julian Lam
6508287db5 feat: record remote Announce(Note) 2024-02-07 12:28:27 -05:00
Julian Lam
ec2b375ae9 refactor: use existing sets for topics (instead of topicRemote, etc.) 2024-02-07 12:28:16 -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
9795abbf58 fix: logic derp 2024-02-06 15:20:30 -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
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
607c4623c7 feat: Like(Note) and Undo(Like); federating likes 2024-02-01 16:05:31 -05:00
Julian Lam
6930973d7a feat: origin checking on received Update activities 2024-01-30 12:11:10 -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
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
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
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
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