Julian Lam
6eea4df5ef
fix : #13888 , decode html entities for AP category name and description
2026-01-13 10:36:03 -05:00
Julian Lam
f1d50c3510
fix: add join-lemmy context for outgoing category group actors context prop
2025-12-04 11:55:00 -05:00
Julian Lam
f0a7a442db
feat: save privilege masking set when asserting group
2025-12-03 15:21:49 -05:00
Julian Lam
c365c1dc3e
fix: publish postingRestrictedToMods property in group actor
2025-11-26 12:29:48 -05:00
Julian Lam
822f4edc4c
feat: native image appending for remote private notes
2025-11-20 14:08:12 -05:00
Julian Lam
d4e3b42369
Merge branch 'master' into develop
2025-11-19 15:17:08 -05:00
Julian Lam
76a07d5941
fix: missing logic in mocks.notes.private that precluded the use of emoji
2025-11-19 15:16:51 -05:00
Julian Lam
ed83bc5b83
revert: remove federatedDescription category field, closes #13757
2025-11-05 12:55:08 -05:00
Julian Lam
524df6e548
fix: update category mock to save full handle
2025-10-29 12:32:24 -04:00
Julian Lam
ecf95d1898
fix: do not include image or icon props if they are falsy values
2025-10-17 11:13:13 -04:00
Julian Lam
603068aebb
fix: do not include image or icon props if they are falsy values
2025-10-17 11:11:04 -04:00
Julian Lam
623cec9d91
fix: logic error in image mime type checking
2025-10-08 11:07:43 -04:00
Julian Lam
675178aca4
fix: allow quote-inline class in mocks sanitizer so quote-post fallback elements can be detected and removed during title generation, fixes #13688
2025-10-01 12:13:57 -04:00
Julian Lam
d122bf4a98
fix: update logic as to whether a post is served as an article or not
...
Now, if OP is less than 500 characters, it is just federated out as a Note instead.
2025-09-19 12:43:13 -04:00
Julian Lam
2ea624fc8e
fix: use newline_boundaries param for tokenizer during title and summary generation, attempt to serve HTML in summary generation
2025-09-04 16:55:04 -04:00
Julian Lam
35641f377c
feat: use sbd to more intelligently put together a sub-500 character summary based on existing sentences in post content
...
The original behaviour was to just shove the entire post content (html and all) into summary. Summary _can_ include HTML, but it's a little harder to retain HTML but truncate the content based on sentences, without accidentally dropping tags.
2025-08-28 14:27:46 -04:00
Barış Soner Uşaklı
c8e3dc6b0b
Merge branch 'master' into develop
2025-08-08 13:33:28 -04:00
Julian Lam
b4ff79061f
fix: image handling when image url received is not a path with an extension
2025-08-06 13:50:17 -04:00
Barış Soner Uşaklı
65364bfa0f
fix: sometimes summary is null/undefined
...
fixes
TypeError: Cannot read properties of null (reading 'replace')
at /home/saas/nodebb/src/activitypub/mocks.js:202:24
2025-07-24 23:54:38 -04:00
Barış Uşaklı
24e7cf4a00
refactor: move post uploads to post hash ( #13533 )
...
* refactor: move post uploads to post hash
* test: add uploads to api definition
* refactor: move thumbs to topic hash
* chore: up composer
* refactor: dont use old zset
2025-07-07 10:22:24 -04:00
Julian Lam
a460a55064
fix: bring back auto-categorization if group and object are same-origin, handle Peertube putting channel names in attributedTo
2025-05-15 15:40:01 -04:00
Julian Lam
8f933459cd
fix: bring back auto-categorization if group and object are same-origin, handle Peertube putting channel names in attributedTo
2025-05-15 15:38:57 -04:00
Julian Lam
3674fa5783
feat: save width and height values into post attachment
2025-05-15 13:56:31 -04:00
Julian Lam
45a11d45fc
fix : #13419 , handle remote content with mediaType text/markdown
2025-05-15 12:01:45 -04:00
Julian Lam
799b08db3a
fix: adjust Peertube-specific handling to shove mp4 into post attachments, #13324
2025-05-14 15:23:06 -04:00
Julian Lam
b433848971
fix : #13374 , updates to posts.edit to handle remote content updates better
2025-05-06 10:45:09 -04:00
Julian Lam
28b7a20339
lint: yup.
2025-04-29 15:13:22 -04:00
Julian Lam
e9b3306e79
fix: regression that caused non-public content with source.content to fail parsing
2025-04-29 10:28:18 -04:00
Julian Lam
5c5fd3d44f
feat: send the whole post content in summary as well
2025-04-29 10:28:18 -04:00
Julian Lam
695312f17f
fix: missing teasers for remote categories on /world
2025-04-29 10:28:18 -04:00
Julian Lam
dabcefafd4
fix: reversed image and icon for remote categories, omit fa icon if remote category has icon property set, #13255
2025-04-29 10:28:18 -04:00
Julian Lam
b8c531d53d
feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests
2025-04-29 10:28:17 -04:00
Julian Lam
f73f727d90
feat: also include category in to field when mocking post for federation
2025-04-29 10:28:17 -04:00
Julian Lam
1f40995f79
refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet
2025-04-29 10:28:17 -04:00
Julian Lam
55c89969ed
revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a
2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
92d6e0220b
refactor: switch eslint configs to esm
...
add rules from https://eslint.style/
refactor for in loops to use Object.entries
2025-04-18 21:57:12 -04:00
Julian Lam
3c4be7738c
feat: federate out as:Article with preview for root-level posts in a topic, instead of as:Note
2025-04-14 13:56:49 -04:00
Julian Lam
74443c3b15
refactor: remove announceObject in favour of feps.announce, added create activity mock to support
2025-03-11 13:24:21 -04:00
Julian Lam
dfabadbeab
feat: add federatedDescription property to a category.
...
The federated description will be appended to the category description when queried remotely.
The default string is translatable, and tells users that it identifies as a forum category and that topics can be created within by mentioning the category directly.
closes #13127
2025-03-06 11:51:56 -05:00
Julian Lam
4ec7552cfb
refactor: move all input note normalization into helper method, have assertPrivate mock a message object (with said normalization) before sending message
2025-03-04 14:11:41 -05:00
Julian Lam
d948334713
fix : #13224 , handle note attributedTo when it is of type object
2025-03-02 21:35:54 -05:00
Julian Lam
95f2c4edb5
feat: support remote "Video" type objects in note assertion, #13120
...
- handle array attributedTo (plus per-object actor assertion instead of batched)
- explicit "Video" type handling to automatically save URL as post attachment
- handle array url property
2025-02-26 13:55:39 -05:00
Julian Lam
e149c891b5
Merge branch 'master' into develop
2025-02-20 14:09:35 -05:00
Julian Lam
2ad48f1714
fix: relaxing strict allowedTags configuration for incoming AP content (allowing picture, source, and additional attributes for img)
...
re: #13185
2025-02-20 14:08:51 -05:00
Julian Lam
b8200095c0
fix : #13129 , serve category backgroundImage as actor icon, not image
...
+ tests for category actor
2025-02-20 11:38:47 -05:00
Julian Lam
dadefeb1ee
Merge branch 'master' into develop
2025-02-16 14:29:13 -05:00
Julian Lam
d936d5c073
fix: logic failure causing remote posts with image to not parse properly, #13164
2025-02-16 14:27:57 -05:00
Barış Soner Uşaklı
7804b301d5
Merge branch 'master' into develop
2025-02-08 21:19:14 -05:00
Julian Lam
5cbf3dd7ea
fix: sanity-check the id when mocking a post
2025-02-08 20:28:17 -05:00
Julian Lam
4c857c5372
Merge branch 'master' into develop
2025-02-06 18:03:54 -05:00