Julian Lam
20aee8e9ae
refactor: context item retrieval logic
2024-06-28 16:28:48 -04:00
Julian Lam
615aaa01d6
fix: improper sourceContent in mocks
2024-06-28 12:54:41 -04:00
Julian Lam
b66d998d37
fix : #12654 , incorrect location of sharedInbox property
2024-06-25 11:29:20 -04:00
Julian Lam
16f8f536da
fix: do not retrieve remote outbox count when asserting actor
...
This change means that a remote user's post count is only the number
of posts they have stored locally. This is easier to reconcile with
the profile UI since showing the artificial number could cause issues
if the local instance contains fewer or no posts by that user.
fixes #12646
2024-06-21 16:48:17 -04:00
Julian Lam
d9ac7f4995
fix: double sanitization
2024-06-20 22:25:09 -04:00
Julian Lam
59818031bc
fix: improper sanitization and parsing in mocks.note
...
- sanitize-html invocation was stripping out images by default, now added as an exception
- only post content was passsed into filter:parse.post, but hook expects post summary
2024-06-19 11:24:24 -04:00
Julian Lam
4eb998d59d
fix: send additional @context entry for publicKey support, fixes #12604
2024-06-17 16:27:59 -04:00
Julian Lam
f5b856f4fd
feat: assert actors when mocking post
2024-06-14 12:22:11 -04:00
Julian Lam
d9f1fa3ad3
feat: plumb audience into _activitypub when mocking posts
2024-06-13 17:05:37 -04:00
Barış Soner Uşaklı
3eca978509
refactor: add method from mentions into core
...
turn remote url into local profile urls if they are found in remoteUrl:uid
2024-06-12 20:31:36 -04:00
Barış Soner Uşaklı
f8d9f644e6
fix: another crash
2024-06-07 11:55:21 -04:00
Barış Soner Uşaklı
35eb2d0d46
fix: closes #12618 , handle missing selector
...
catch errors in activitypub api missing await on next()
2024-06-06 20:59:02 -04:00
Barış Soner Uşaklı
6f37825b1a
fix: crash in mocks.profile
2024-06-04 12:30:47 -04:00
Julian Lam
47406d1309
fix: parse incoming HTML to remove useless classes too
2024-05-30 12:04:37 -04:00
Julian Lam
7c79e2310a
feat: add another sanitization round before federating to remove classes from all tags in output html, closes #12573
2024-05-23 15:29:32 -04:00
Julian Lam
b6653d153a
fix: have replies provide name when mocked
2024-05-23 12:36:03 -04:00
Julian Lam
8cf9617630
feat: passing in types to parsePost for more specific handling by plugins
2024-05-17 15:22:13 -04:00
Julian Lam
1fa9346563
refactor: #12553 , buildRecipients so that it is separate from addressing in mocks.js
2024-05-10 15:30:45 -04:00
Julian Lam
5e9d47a1d8
feat: serve Tombstone objects for soft deleted posts
...
re: #12551
2024-05-07 12:16:23 -04:00
Julian Lam
738d47c7db
fix: save followersUrl to remote user hashes
2024-05-06 14:46:26 -04:00
Julian Lam
4b29a1b91d
refactor: context actor to serve an as:OrderedCollection instead of as:Page, and added context property (as per FEP-7888) to refer to it, changed audience to point to category
2024-05-03 14:11:25 -04:00
Julian Lam
94eafe1df3
refactor: split activitypub tests to subfolder files
2024-04-26 11:30:08 -04:00
Opliko
026449dc4a
fix: support reporting remote content in Flag
2024-04-14 02:42:30 +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
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
525b7c2cee
feat: save remote post url into hash for use
2024-04-11 13:25:37 -04:00
Julian Lam
6fc6cc33cd
feat: note attachments via link preview plugin
2024-04-10 22:01:50 -04: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
59709a3cb2
fix: tests, save actor URL into userRemote hash
2024-04-03 13:49:27 -04:00
Julian Lam
803975fd97
fix: send handle as category actor's preferredUsername, #12434
2024-03-22 13:06:09 -04:00
Julian Lam
ebd750b4c7
fix: resolve toPid to local pid if able
2024-03-14 00:17:45 -04:00
Julian Lam
52c143aa03
fix: template helper
2024-03-12 13:27:29 -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
4a8b06e815
fix: send explicitly empty array for attachment prop in mocks.note
2024-03-07 16:47:09 -05:00
Julian Lam
9f8c706f23
fix: fallbacks for if preferredUsername is not set
2024-03-07 13:16:13 -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
e1c4311299
feat: federate tags out on new post (if new topic)
2024-02-29 11:35:07 -05:00
Julian Lam
f5a610797c
refactor: use topics.create internal method instead of directly setting topic hash, handle incoming tags for OP
2024-02-29 11:19:56 -05:00
Julian Lam
8cb984d44c
fix: serve fallback images on category actor
2024-02-28 14:07:27 -05:00
Julian Lam
5f85e70006
fix: defer federation of new topics when topic is scheduled, tie activitypub api module to global enable toggle
2024-02-26 15:39:09 -05:00
Julian Lam
49c69a0f6a
feat: shared inbox
2024-02-21 14:44:23 -05:00
Julian Lam
e5b6ee97bd
feat: attachments support
2024-02-16 12:07:29 -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
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