Commit Graph

81 Commits

Author SHA1 Message Date
Julian Lam
bbf69e4093 Merge branch 'master' into develop 2025-05-09 10:34:25 -04:00
Julian Lam
20ab90694c fix: send proper accept header for outgoing webfinger requests 2025-05-09 10:34:19 -04:00
Julian Lam
f83b1fbf68 fix: extra orderedItems property in generated paginated OrderedCollection, #13153 2025-05-06 12:27:35 -04:00
Julian Lam
7f59238d3a refactor: Helpers.generateCollection so that total count and a bound function can be passed in, #13153 2025-05-06 12:27:35 -04:00
Julian Lam
c2a3ef817d fix: bug where disparate ids all claiming to be the same handle were causing duplicate remote users due to collisions, #13352 2025-04-29 10:28:18 -04:00
Julian Lam
d020e33422 fix: ap helpers.makeSet to handle undefined property values 2025-04-29 10:28:18 -04:00
Julian Lam
bad0a4c2d2 chore: comment out testing helper call 2025-02-26 13:55:28 -05:00
Julian Lam
c6ba56a517 test: update test to assert the note assertion itself
add failing test for Video handling
2025-02-26 13:06:37 -05:00
Julian Lam
e149c891b5 Merge branch 'master' into develop 2025-02-20 14:09:35 -05:00
Julian Lam
93f48409c5 fix: #13136, do not log 404s for AP requests 2025-02-20 12:24:17 -05:00
Julian Lam
4bc0031f58 chore: add test helper to activitypub file 2025-02-18 13:07:11 -05:00
Barış Soner Uşaklı
54bc54e176 lint: remove tab 2025-01-29 19:44:35 -05:00
Julian Lam
02fb99ebb6 fix: call relativeToAbsolute helper when generating markdown source content in mocks.notes.public/private 2025-01-29 12:09:38 -05:00
Julian Lam
db1f895933 fix: extend remoteAnchorToLocalProfile ap helper to handle markdown content 2025-01-23 16:23:06 -05:00
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