Commit Graph

748 Commits

Author SHA1 Message Date
Julian Lam
39582cbd02 fix: simplicity tweak 2026-01-19 14:44:22 -05:00
Julian Lam
560ad81f32 feat: remote account banning, #13904 2026-01-19 14:42:13 -05:00
Julian Lam
33c2de9c5b feat: opportunistic backfill, #13895 2026-01-16 15:12:24 -05:00
Julian Lam
4bab9fb446 fix: export sendMessage as _sendMessage for use in ap jobs lib 2026-01-16 15:12:24 -05:00
Julian Lam
c595edb4c0 refactor: move ap jobs to its own file 2026-01-16 15:12:24 -05:00
Julian Lam
8b7d350e0a fix: #13892, logical flaw 2026-01-14 14:18:02 -05:00
Julian Lam
6eea4df5ef fix: #13888, decode html entities for AP category name and description 2026-01-13 10:36:03 -05:00
Julian Lam
b9b33f9f8d fix: unused values 2026-01-12 12:55:18 -05:00
Julian Lam
add163a42d test: ensure auto-cat and cat sync logic properly integrates with crossposts 2026-01-12 12:55:18 -05:00
Julian Lam
e5ee52e5da fix: update category sync logic to utilise crossposts instead 2026-01-12 12:55:18 -05:00
Julian Lam
28249efbe6 fix: remove old remote user to remote category migration logic + tests 2026-01-12 12:55:18 -05:00
Julian Lam
148663c536 fix: update auto-categorization rules to also handle already-categorized topics via crosspost 2026-01-12 12:55:18 -05:00
Julian Lam
ffc3d27903 fix: remove commented out require 2026-01-09 11:21:15 -05:00
Julian Lam
874ffd7b26 feat: refactor out.announce.topic to allow user announces, refactor tests to accommodate 2026-01-07 10:39:10 -05:00
Julian Lam
cfdbbb048d test: more out.announce tests 2026-01-06 12:08:43 -05:00
Julian Lam
b05199d897 fix: author of boosted content was not targeted in the activity 2026-01-06 11:34:46 -05:00
Julian Lam
41368ef83d test: update activitypub._sent to save targets as well, updated tests to accommodate format change 2026-01-06 11:14:11 -05:00
Julian Lam
483ab08389 test: test runs should not actually federate activities out 2026-01-06 10:57:31 -05:00
Barış Soner Uşaklı
2a5bd6ef36 Merge branch 'master' into develop 2025-12-24 23:27:06 -05:00
Barış Soner Uşaklı
1305faa838 test: add await to check tests 2025-12-17 14:35:35 -05:00
Julian Lam
528cd258c4 feat: support remote Dislike activity, federate out a Dislike on downvote, bwahahah 2025-12-10 12:40:46 -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
6a56105037 feat: expand postingRestrictedToMods mask testing, handle actor update for that prop 2025-12-04 11:00:41 -05:00
Julian Lam
d8e55d58de fix: use setsAdd 2025-12-03 15:21:49 -05:00
Julian Lam
f0a7a442db feat: save privilege masking set when asserting group 2025-12-03 15:21:49 -05:00
Julian Lam
3b7bcba6c0 fix: have notes.assert call out.announce.topic only if uid is set (so, if note assertion is called via search; manual pull) 2025-12-02 14:15:13 -05:00
Julian Lam
a82e1f441c debug: still broken... more debug logs 2025-12-02 13:50:50 -05:00
Julian Lam
977a67f4cd fix: deep clone activity prop before execution; feps.announce 2025-12-02 13:42:06 -05:00
Julian Lam
411baa21f4 fix: minor comment fix 2025-12-01 10:25:32 -05:00
Julian Lam
c365c1dc3e fix: publish postingRestrictedToMods property in group actor 2025-11-26 12:29:48 -05:00
Julian Lam
9d83a3d0da fix: null check on attachments property in assertPrivate 2025-11-24 15:48:38 -05:00
Julian Lam
24e1768312 fix: update announce and undo(announce) so that their IDs don't use timestamps 2025-11-24 12:20:35 -05:00
Julian Lam
832477f819 feat: federate out undo(announce) when moving topics 2025-11-24 11:53:59 -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
Barış Soner Uşaklı
50951d5db5 Merge branch 'master' into develop 2025-11-13 12:25:24 -05:00
Barış Soner Uşaklı
9900171f24 fix: crash in resolveInboxes
2025-11-13T12:38:44.161Z [4568/2508892] - error: uncaughtException: Invalid URL
TypeError: Invalid URL
    at new URL (node:internal/url:818:25)
    at /home/saas/nodebb/src/activitypub/index.js:123:25
    at Array.filter (<anonymous>)
    at ActivityPub.resolveInboxes (/home/saas/nodebb/src/activitypub/index.js:122:13)
    at ActivityPub.send (/home/saas/nodebb/src/activitypub/index.js:424:36)
    at Object.announce (/home/saas/nodebb/src/activitypub/feps.js:72:20)
2025-11-13 12:25:16 -05:00
Julian Lam
9bb8a955cf fix: rename activitypub.out.announce.category, federate out Delete on topic move to cid -1 2025-11-06 11:59:56 -05:00
Julian Lam
ed83bc5b83 revert: remove federatedDescription category field, closes #13757 2025-11-05 12:55:08 -05:00
Julian Lam
7fb9bb2f15 Merge remote-tracking branch 'origin/master' into develop 2025-11-04 11:32:55 -05:00
Julian Lam
be4d0e811e fix: wrong auto-categorization if group actor is explicitly included in audience 2025-11-04 11:09:15 -05:00
Julian Lam
4858abe149 fix: add replies in parallel during note assertion 2025-10-29 15:18:19 -04:00
Julian Lam
524df6e548 fix: update category mock to save full handle 2025-10-29 12:32:24 -04:00
Julian Lam
ab9154aa49 fix: logic error in out.remove.context 2025-10-24 13:32:04 -04:00
Julian Lam
8ca52c7e78 feat: handle Move(Context) activity 2025-10-23 12:15:36 -04:00
Julian Lam
194cedb4d7 fix: cross-check remove(context) target prop against cid 2025-10-23 12:03:04 -04:00
Julian Lam
4f2f872bf9 fix: update logic re: federating out topic moves 2025-10-22 15:15:19 -04:00
Julian Lam
22868d3f97 fix: bad var 2025-10-22 15:05:06 -04:00
Julian Lam
d02e188a5f feat: update Remove(Context) to use target instead of origin, federate out Move(Context) on topic move between local cids 2025-10-22 15:04:47 -04:00