Commit Graph

764 Commits

Author SHA1 Message Date
Barış Uşaklı
62d88555ae feat: eslint10 (#13967)
* feat: eslint10

* lint: no-useless-assignment
2026-02-10 12:39:11 -05:00
Julian Lam
13422bc822 fix: guard against incomplete objects when building context/chain 2026-02-06 14:45:27 -05:00
Julian Lam
0fbaa937e4 Refactor /world page, closes #13927 (#13954)
* refactor: wholesale UI/data refactor of world to display in feed-like format

* fix: openapi schema

* fix: remove console log

* fix: restrict 'generatedTitle' from being passed-in via topics API

* fix(deps): bumping themes for world refactor support

* fix: /world title and description update

* fix: missing handleIgnoreWatch in world client side js
2026-02-06 14:07:25 -05:00
Barış Soner Uşaklı
ff1376b37e refactor: remove log 2026-02-04 09:47:14 -05:00
Barış Soner Uşaklı
065abbf249 refactor: get rid of cache for tid posters, was never cleared 2026-02-03 20:20:30 -05:00
Barış Soner Uşaklı
fe081ebd7b Merge branch 'master' into develop 2026-01-23 12:35:35 -05:00
Julian Lam
69c5f94193 fix: proper attachment generation on replies, fixed replies getting thumb attachment when it wasn't part of it 2026-01-23 11:35:32 -05:00
Julian Lam
ad27347fa2 fix: update buildRecipents to add option to skip target creation step, update ap actors for note to not bother building targets 2026-01-21 14:43:31 -05:00
Julian Lam
fac3185974 refactor: Actors.getLocalFollowers to Actors.getFollowers, can pass in both local and remote ids 2026-01-21 14:42:16 -05:00
Julian Lam
eb27b96430 fix: notes announce cache, use cache when retrieving tid posters 2026-01-21 12:53:41 -05:00
Julian Lam
e697d600d1 fix: optimizations
- plugins.isActive response now cached in nconf
- public addresses filtered out of actor assertion logic during
  qualification stage
- bump mentions to fix db call with empty values
- update buildRecipients to exclude public addresses and local URIs when
  building targeting array
2026-01-21 12:07:00 -05:00
Julian Lam
f9affbad58 fix: cache detection logic in context parseItem executing earlier than needed causing false positives 2026-01-21 10:51:15 -05:00
Barış Soner Uşaklı
ec4e7ef1b7 fix: closes #13199 normalize accept header
@julianlam tried accepts module ran into issues when the route was requested via browser or via $.ajax with the default headers,
for example accepts(req).type(activitypub._constants.acceptableTypes) still returns true when /post/123 is loaded via browser or via $.ajax
2026-01-20 22:19:22 -05:00
Julian Lam
428b6e730a fix: replace attachment generation logic in notes.public
Previously, the logic retrieved the list of uploads, checked if they
were thumbs, and set attachment (and noteAttachment) depending on object
type. It was complicated and didn't really work so well, so I simplified
it.

Now thumbs.get is called, and attachment is appended with all thumbs and
uploads. Sizing is not provided. Maybe later. Image is also now set,
which is the first image in attachment.
2026-01-19 21:38:48 -05:00
Julian Lam
6383bb58e9 fix: #13900, assertion re-index 2026-01-19 14:50:57 -05:00
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
98c0a3fedc fix: #13892, logical flaw 2026-01-14 14:18:20 -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