Commit Graph

27675 Commits

Author SHA1 Message Date
Opliko
844d1402ba refactor: use URLSearchParams instead of multiple encodeURIComponent 2024-04-25 13:16:05 +02:00
Opliko
700016649d fix: handle URI actor IDs 2024-04-25 12:59:05 +02:00
Opliko
8fd4ae2d8f test: use encoded parameters in webfinger tests 2024-04-25 12:00:31 +02:00
Opliko
3d1e2cde6a fix: percent-encode outgoing webfinger requests
resolves #12531 - note that incoming percent-encoded webfinger works just fine :)
2024-04-25 11:59:20 +02:00
Opliko
ab055a77a2 feat: add id to Like
part of #12483
2024-04-22 11:40:31 +02:00
Julian Lam
2ce3a11645 feat: handle 1b14 announce for remote content too 2024-04-19 23:36:43 -04:00
Julian Lam
59021d8a9f fix: bump harmony 2024-04-17 13:39:45 -04:00
Julian Lam
3721f8196d fix: icon:text and icon:bgColor for remote users 2024-04-17 13:29:26 -04:00
Opliko
f802564e64 feat: resolve Crate and Announce activities 2024-04-17 19:19:09 +02:00
Julian Lam
a9a7fd1ecd fix: handle Announce(Create(Note)) 2024-04-17 12:55:15 -04:00
Julian Lam
dce334461a fix: use system pseudo-user for topic move call 2024-04-16 14:27:21 -04:00
Julian Lam
49a64dc7a7 fix: if the topic already existed in -1, move it to another category if one was passed in options 2024-04-16 14:17:47 -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
1253ded7d5 chore: minor cleanup 2024-04-16 13:38:05 -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
b7ff7be28f fix: actors.assert should return false if webfinger cannot resolve to an id 2024-04-15 13:37:00 -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
Opliko
c1dfa8d2fe feat: send undo when rescinding/deleting a report 2024-04-14 01:52:07 +02:00
Opliko
2a2b855fe2 feat: federate flag creation 2024-04-14 00:51:53 +02:00
Opliko
7bacbf76f0 feat: bulk purge flags 2024-04-14 00:20:46 +02:00
Opliko
9ab1a2d129 feat: rescind post flags 2024-04-14 00:07:55 +02:00
Julian Lam
7c4ae8eb82 fix: #12505, convert relative urls in links and images into absolute urls, uses same logic as for emails 2024-04-12 15:30:59 -04:00
Julian Lam
6befff5e11 fix: #12502, improper decrement 2024-04-12 14:46:15 -04:00
Julian Lam
64258dac19 fix: send userslug in preferredUsername 2024-04-12 14:26:37 -04:00
Julian Lam
50f31b236a fix: wrong variable name 2024-04-12 14:13:46 -04:00
Julian Lam
fdbd30dc23 feat: integrate post uploads into attachments for outgoing note mocks 2024-04-12 14:08:28 -04:00
Julian Lam
bb4e418dde fix: change default attachment type to Link, or Image if mediaType matches 2024-04-12 12:56:18 -04:00
Julian Lam
c3365908b8 fix: save modified actor back to req.body 2024-04-12 11:08:31 -04:00
Opliko
4d07ca4c6a feat: add id to profile updates 2024-04-12 16:43:33 +02:00
Opliko
18ba2e38ec feat: noremalize actor property in middleware 2024-04-12 16:42:54 +02:00
Julian Lam
52271caec2 fix: you scurvy cur! 2024-04-11 15:23:19 -04:00
Julian Lam
4d23a837fa fix: handle (created) and (expires) in http signatures 2024-04-11 15:20:59 -04:00
Julian Lam
f783338621 fix: #12496, url in schema 2024-04-11 13:43:29 -04:00
Julian Lam
525b7c2cee feat: save remote post url into hash for use 2024-04-11 13:25:37 -04:00
Julian Lam
f5ea470df4 fix: handle remote userslugs with non-lowercase letters 2024-04-11 12:52:21 -04:00
Julian Lam
8d0876b8d7 fix: send hs2019 as algo (to match cavage-12, handle incoming algorithm value 2024-04-11 10:39:51 -04:00
Julian Lam
6fc6cc33cd feat: note attachments via link preview plugin 2024-04-10 22:01:50 -04:00
Julian Lam
b8daa02fa8 fix: bump harmony 2024-04-10 22:01:50 -04:00
Opliko
959e1820cd fix: throw errors when local objects don't exist 2024-04-10 18:50:41 +02:00
Julian Lam
e0f542c912 fix: #12493, send unescaped fullname through via AP if displayname is set/used 2024-04-10 12:17:07 -04:00
Julian Lam
465a46f2e6 fix: send only the id into actors.assert 2024-04-10 12:17:07 -04:00
Opliko
c92b5e07a7 fix: use a slightly better error code to indicate object resolution failure 2024-04-10 18:15:50 +02:00
Opliko
3cc09d204f feat: add ids for undoing follows 2024-04-10 01:11:49 +02: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