Commit Graph

67 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
397d28e3b6 lint: fix tab 2025-01-22 13:52:04 -05:00
Julian Lam
b14494b03d chore: fix ap dev helper 2025-01-22 13:39:47 -05:00
Julian Lam
7d5482b26b chore: add helper method to ease in dev 2025-01-21 12:55:43 -05:00
Julian Lam
af4d07fba4 feat: fix activitypub toggler to be more complete; tests. #13054 2025-01-20 12:05:17 -05:00
Julian Lam
98280d30e7 fix: #12990, local references via remote posts are not linkified properly, + tests for helper 2025-01-15 14:19:45 -05:00
Julian Lam
a7e6cfe837 fix: #12972, allow bridgyfed accounts to pass isWebfinger regex validation 2024-12-13 13:47:16 -05:00
Julian Lam
f449fafccf fix: don't chop off colons when generating titles as they could interfere with emoji 2024-11-14 15:07:42 -05:00
Julian Lam
d685b20e0a fix: #12893, topic with pages returning OrderedCollectionPage instead of OrderedCollection.
Turns out empty arrays are still truthy, heh.
2024-11-04 13:43:28 -05:00
Julian Lam
a59dae3f0a fix: #12866 again, more tests 2024-10-31 11:35:28 -04:00
Julian Lam
beb85604bd fix: #12866, improve title generator, refactor tests 2024-10-25 13:18:45 -04:00
Julian Lam
fc3243d617 fix: #12865, crash on liking a chat message 2024-10-25 12:11:48 -04:00
Julian Lam
8492b5f402 fix: #12857 byebye cheerio 2024-10-18 14:41:22 -04:00
Julian Lam
a226ee9e91 fix: re-enable logging only for dev mode 2024-10-12 22:49:24 -04:00
Julian Lam
b82e20dfc7 feat: handle incoming non-public activities as chat message, #12834 2024-10-08 14:26:55 -04:00
Julian Lam
2ab5ea39a6 feat: federating out chat messages
re #12834
2024-10-07 14:12:31 -04:00
Julian Lam
6fe4d44675 fix: explicitly set updated property when federating notes out 2024-09-24 12:15:10 -04:00
Barış Soner Uşaklı
a80e314169 fix: prevent crash if items is undefined 2024-09-09 14:04:11 -04:00
Julian Lam
3474712228 fix: #12733, html present in generated title for remote topics 2024-08-13 14:50:08 -04:00
Julian Lam
ff08fbb73f fix: always send replies uri instead of null if no replies exist, @trwnh 2024-08-01 14:59:28 -04:00
Julian Lam
1f896fb6ba fix: bugs in user searching causing remote lookups to fail 2024-07-29 15:03:51 -04:00
Julian Lam
ff0c289e1d feat: #12695 Topic Synchronization via resolvable context
- Generation of a context collection digest via object ids
- Sending of said digest in ETag header
- Parsing of digests via If-None-Match header
- Update note assertion logic to handle 304 response
2024-07-16 11:37:38 -04:00
Julian Lam
31c7226e34 fix: flawed logic in generating topic context collection 2024-07-11 14:33:07 -04:00
Julian Lam
b0eec67d78 fix: lint 2024-07-05 15:58:47 -04:00
Julian Lam
352857cfb6 refactor: collection logic out to an activitypub helper 2024-07-05 15:14:35 -04:00
Julian Lam
e75ec39b70 feat: topic backfill logic via resolvable context #12647 2024-06-28 12:54:41 -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
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
Barış Soner Uşaklı
300cf79c95 add max to caches to limit memory usage 2024-06-04 12:31:13 -04:00
Julian Lam
76290e3789 fix: bug that stopped remote users with dashes in their handle from being properly asserted 2024-06-04 10:55:34 -04:00
Julian Lam
9761526710 feat: ability to query remote users by webfinger handle 2024-05-07 10:11:36 -04:00
Julian Lam
6ac5a77976 fix: update title generator to include the punctuation, and also take into account question marks and exclamation marks 2024-04-30 11:41:34 -04:00
Julian Lam
b9d6aa4639 feat: slightly better title generation 2024-04-29 16:16:07 -04:00
Julian Lam
94eafe1df3 refactor: split activitypub tests to subfolder files 2024-04-26 11:30:08 -04:00
Opliko
ed84eed8a9 fix: better logic for choosing webfinger lookups 2024-04-25 20:05:53 +02:00
Opliko
1ecbf02a58 fix: handle requests to URI IDs correctly 2024-04-25 17:16:30 +02:00
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
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
f802564e64 feat: resolve Crate and Announce activities 2024-04-17 19:19:09 +02: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
Opliko
026449dc4a fix: support reporting remote content in Flag 2024-04-14 02:42:30 +02:00
Opliko
959e1820cd fix: throw errors when local objects don't exist 2024-04-10 18:50:41 +02:00
Opliko
102c174e03 feat: resolve objects from ids in middleware 2024-04-09 23:58:00 +02:00
Opliko
c30c12881c fix: support ldjson with ActivityStreams profile in actor queries 2024-04-08 20:06:26 +02:00
Julian Lam
5768a4377b fix: handle fetch failures on helpers.query 2024-03-11 14:41:05 -04: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
d51f5e5922 fix: crash in resolveLocalId if Number is passed in 2024-02-28 12:54:54 -05:00