Commit Graph

85 Commits

Author SHA1 Message Date
Julian Lam
5e343a83f8 fix: Update activity handling for non-Person actors 2024-07-09 14:30:03 -04:00
Julian Lam
600b1a8622 fix: update handling of Announce(Create(Note)) to also handle non-note types 2024-07-04 17:00:14 -04:00
Julian Lam
d6f44d8ec3 fix: #12662, add original activity actor to Announced activity's cc 2024-06-27 14:05:48 -04:00
Julian Lam
4030c09e27 fix: getCidByPid call returning improper values because a remote url to a local post was passed in 2024-06-14 14:09:52 -04:00
Julian Lam
6569066ef8 feat: sending out 1b12-style Announce activities on incoming Create/Update/Like/Delete/Undo(Like) activities, when they pertain to notes
re: #12434
2024-06-14 13:55:41 -04:00
Julian Lam
c8bc6e551b fix: 1b12 conformance for inbox.create as well 2024-06-14 13:37:46 -04:00
Julian Lam
931a0f0a60 chore: info -> verbose logging in ap inbox.js 2024-06-14 13:31:08 -04:00
Barış Soner Uşaklı
f76a586328 refactor: catch errors 2024-06-13 18:36:05 -04:00
Julian Lam
f29214e007 fix: skip follower count check if cid follower is found 2024-06-12 14:15:43 -04:00
Opliko
42f514b793 feat: add timestamp to most activity ids 2024-06-11 22:55:45 +02:00
Barış Soner Uşaklı
2ae5857005 refactor: remove verbose logs, 2024-06-07 12:13:28 -04:00
Barış Soner Uşaklı
ba2d18418a refactor: comment out verbose logs 2024-06-07 11:56:58 -04:00
Julian Lam
ccd187e000 feat: Note deletion logic and refactoring, #12551 2024-05-09 15:49:03 -04:00
Julian Lam
fdba684049 chore: some linting 2024-05-09 15:49:03 -04:00
Julian Lam
f404395962 feat: handle receipt of Update(Tombstone)
re: #12551
2024-05-07 14:01:31 -04:00
Opliko
50bc9a37c5 feat: basic retry queue 2024-05-06 22:49:31 +02:00
Opliko
32d1adf67d feat: add id to reject activity 2024-05-03 17:48:09 +02:00
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