Commit Graph

68 Commits

Author SHA1 Message Date
Julian Lam
119800d936 refactor: post announce logic to save to separate zset instead of to topic events, closes #12536 2024-05-01 14:44:29 -04:00
Julian Lam
2ce3a11645 feat: handle 1b14 announce for remote content too 2024-04-19 23:36:43 -04:00
Julian Lam
a9a7fd1ecd fix: handle Announce(Create(Note)) 2024-04-17 12:55:15 -04:00
Julian Lam
452cb0a9aa feat: utility functions to get local followers/counts given a remote actor uri, plumb cid into notes.assert via inbox.announce if a local cid is following the sending actor 2024-04-16 14:00:01 -04:00
Julian Lam
407dda78e1 fix: add back reverse lookup for notes assertion checking via cids 2024-04-15 16:28:57 -04:00
Julian Lam
59a9dd8436 refactor: stub routes for category synchronization, refactor remote follow logic to allow categories to conduct follows as well 2024-04-15 16:18:12 -04:00
Julian Lam
b7629c6ef7 feat: send id back during accepts 2024-04-15 09:48:58 -04:00
Opliko
026449dc4a fix: support reporting remote content in Flag 2024-04-14 02:42:30 +02:00
Opliko
a1a7fb77da feat: handle Undo(Flag) 2024-04-14 02:02:17 +02:00
Julian Lam
465a46f2e6 fix: send only the id into actors.assert 2024-04-10 12:17:07 -04:00
Opliko
66b0d81caf feat: send back follow id in Accept 2024-04-10 00:30:46 +02:00
Opliko
e0166cccb2 fix: assume object is full object and not just id everywhere 2024-04-10 00:26:01 +02:00
Opliko
962c63511c fix: use resolved object in likes 2024-04-10 00:20:16 +02:00
Opliko
b6168202ae fix: reject accepts of invalid follows and return when already following 2024-04-10 00:17:14 +02:00
Opliko
41f77f8f1b fix: handle resolved objects in flag 2024-04-10 00:06:24 +02:00
Opliko
72dbcfe3d9 feat: add id to follows and verify accepts 2024-04-09 23:58:52 +02:00
Opliko
2d1524eeff fix: early return on invalid actor 2024-04-06 19:10:49 +02:00
Opliko
e25f06212f fix: use actor id in flags 2024-04-06 19:10:13 +02:00
Opliko
d9eba6d297 feat: basic AP Flag support 2024-04-06 19:00:52 +02:00
Julian Lam
cbfc8d252d fix: better handle null return from notes.assert 2024-04-05 16:09:19 -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
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
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
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
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
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
519e025e27 feat: return count of new notes in assertTopic 2024-03-13 11:03:08 -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
4b2495b5aa fix: tests 2024-03-12 12:03:16 -04:00
Julian Lam
beaedc86aa fix: data schema of reject activities 2024-03-07 13:46:20 -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
96a3a7465f fix: unable to process Update(Person) 2024-02-28 13:14:15 -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
eaba2aa37f feat: temporarily deny handling non-public notes 2024-02-21 14:58:52 -05:00
Julian Lam
ed4ccbfccc refactor: resolveId method, add hostname verification 2024-02-21 10:58:20 -05:00
Julian Lam
cfbbf4ca86 fix: handle undo(Announce) of remote notes 2024-02-20 13:43:45 -05:00
Julian Lam
068c4fa90e fix: wrong id parsed in announce 2024-02-14 22:53:14 -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
da085b0ece feat: save actor follower URL backreference and sorted set backreference 2024-02-12 14:32:55 -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
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