Commit Graph

191 Commits

Author SHA1 Message Date
Julian Lam
a38d0c14ab Revert "refactor: use getSortedSetUnion in syncUserInboxes instead"
This reverts commit 6c1a0fb1dc.
2024-03-26 16:41:51 -04:00
Julian Lam
f078e1e267 fix: lint 2024-03-26 13:44:23 -04:00
Julian Lam
4fcd2bb2d9 fix: skip notes.assert checks for Announce(Note) if it's a remote object, do our own checks; #12442 2024-03-26 13:40:18 -04:00
Julian Lam
6c1a0fb1dc refactor: use getSortedSetUnion in syncUserInboxes instead 2024-03-26 13:39:34 -04:00
Julian Lam
5efe8abd15 Revert "add 1 ||"
This reverts commit c2890a3e74.
2024-03-26 13:20:12 -04:00
Barış Soner Uşaklı
c2890a3e74 add 1 || 2024-03-26 10:41:29 -04:00
Julian Lam
55e947a01d feat: add checks to only continue with topic assertion if there is a relation to existing content, #12442 2024-03-26 10:22:17 -04:00
Julian Lam
2688b6bbdc feat: add assertion lock on activitypub.notes.assert 2024-03-25 14:55:25 -04:00
Julian Lam
ac765f1e01 refactor: use one internal rejection method 2024-03-25 13:25:17 -04:00
Julian Lam
1fb3c4fda6 fix: undefined object in notes.assert 2024-03-22 16:21:32 -04:00
Julian Lam
bab41d129a fix: typo 2024-03-22 16:01:05 -04:00
Julian Lam
04c743eb4a feat: have category actor send Announce(Note) on remote replies to topics in a cid
#12434
2024-03-22 15:28:01 -04:00
Julian Lam
4ee8519d0c chore: move assertTopic to top of file, rename to assert
... despite the diff, that's all this commit did
2024-03-22 14:54:53 -04:00
Julian Lam
7df5cabb76 feat: have category actor send Announce(Note) activity on posts from that cid
re: #12434
2024-03-22 14:39:20 -04:00
Julian Lam
803975fd97 fix: send handle as category actor's preferredUsername, #12434 2024-03-22 13:06:09 -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
2408ecd8dc fix: post urls to use prefix instead of linking out directly to origin server, exposed encodeURIComponent as a template helper for themes 2024-03-21 00:41:53 -04:00
Julian Lam
6fa43b9ef0 Revert "fix: urls in posts and announces"
This reverts commit 4fb6574cf7.
2024-03-20 23:18:12 -04:00
Opliko
d75894eb9b feat: add TTL cache for Actors.assert 2024-03-21 00:25:27 +01:00
Julian Lam
5f60f75f7d fix: restore accidentally removed calls to updateLocalRecipients and saveAttachments 2024-03-15 16:38:00 -04:00
Julian Lam
ccd9c7ed85 fix: tweak maxTags handling 2024-03-14 14:48:35 -04:00
Julian Lam
44a183dd84 fix: typo 2024-03-14 13:41:04 -04:00
Julian Lam
0a2482cf51 fix: double-OP issue when remote reply comes in to local mainPid 2024-03-14 13:28:57 -04:00
Julian Lam
7aa56c727b fix: filter out system tags and prune extra tags beyond number allowed, when creating topic from remote data 2024-03-14 13:28:57 -04:00
Julian Lam
ebd750b4c7 fix: resolve toPid to local pid if able 2024-03-14 00:17:45 -04:00
Julian Lam
0bfdbb6a5c feat: if Update(Note) is received for a post that does not already exist, assert it 2024-03-13 15:05:42 -04:00
Julian Lam
c5c0c47393 chore: lint 2024-03-13 11:45:28 -04:00
Julian Lam
c6624b6341 chore: remove now-unused notes.assert 2024-03-13 11:07:38 -04:00
Julian Lam
519e025e27 feat: return count of new notes in assertTopic 2024-03-13 11:03:08 -04:00
Julian Lam
338c568c99 fix: handle actor assertion failure if mocked profile does not have a fullname 2024-03-13 10:56:00 -04:00
Julian Lam
f7c8967ee2 refactor: use topics.post, topics.reply, and posts.edit in Create(Note), Create(Note), and Update(Note), respectively 2024-03-12 14:24:38 -04:00
Julian Lam
52c143aa03 fix: template helper 2024-03-12 13:27:29 -04:00
Julian Lam
4b2495b5aa fix: tests 2024-03-12 12:03:16 -04:00
Julian Lam
eb8ff75b63 fix: only dereference id if it doesn't exist locally — fewer calls 2024-03-12 11:33:40 -04:00
Julian Lam
5768a4377b fix: handle fetch failures on helpers.query 2024-03-11 14:41:05 -04:00
Julian Lam
ceab77e43b fix: more duplicate detection in to/cc 2024-03-11 11:40:24 -04:00
Julian Lam
90e7d3a1c6 fix: parse questions like a post 2024-03-10 22:24:25 -04:00
Julian Lam
6423d514ff fix: note not federated out to mentioned users' inboxes 2024-03-08 14:06:23 -05:00
Julian Lam
39da3ab668 fix: remove unresolvable actors from parsing prior to mocking profile 2024-03-07 16:59:40 -05:00
Julian Lam
4a8b06e815 fix: send explicitly empty array for attachment prop in mocks.note 2024-03-07 16:47:09 -05:00
Julian Lam
28f38b2687 fix: inability to retrieve previously-unknown remote users via url manipulation 2024-03-07 15:39:42 -05:00
Julian Lam
81b81e540a fix: tags received via AP should only be of type Hashtag (as mentions are also in tag prop 2024-03-07 15:11:43 -05:00
Julian Lam
beaedc86aa fix: data schema of reject activities 2024-03-07 13:46:20 -05:00
Julian Lam
9f8c706f23 fix: fallbacks for if preferredUsername is not set 2024-03-07 13:16:13 -05:00
Julian Lam
0c2cfbe7a0 chore: lint 2024-03-06 14:59:49 -05:00
Julian Lam
6671b51169 fix: truthy check in notes.assert 2024-03-05 14:52:52 -05:00
Julian Lam
e4c1ca1ede feat: mentions support 2024-03-05 14:26:33 -05:00
Julian Lam
1b64fdb5b3 feat: allow user.search to handle remote handles, beginning of mentions support 2024-03-05 14:26:33 -05:00
Julian Lam
c707a32aa9 feat: integrate notifications for remote likes, follows, and announces.
Rescind notification as necessary.
2024-02-29 16:10:01 -05:00
Julian Lam
e1c4311299 feat: federate tags out on new post (if new topic) 2024-02-29 11:35:07 -05:00