Barış Soner Uşaklı
73eb0bffe7
get rid of some verbose logs, switch to ap.helpers.log
2026-03-12 10:58:55 -04:00
Julian Lam
6b3b3e7ee3
fix: syntax error on undefined value
2026-03-09 21:53:56 -04:00
Julian Lam
40b8544f10
fix: filter out image attachments from remote data if they are already embedded in content
2026-03-09 14:34:42 -04:00
Barış Soner Uşaklı
0bac703530
return early
2026-02-27 19:02:35 -05:00
Barış Soner Uşaklı
fc4742387b
lint: fix lint errors
2026-02-27 12:41:40 -05:00
Julian Lam
6472462924
fix: remove allowed check from notes.assert as it is already done downstream in topics.(post|reply), update privilege check to inherit world privs if passed-in cid is remote cid
2026-02-26 22:40:19 -05:00
Barış Uşaklı
e4c945f636
refactor: allow passing an array to topics.purge and topics.purgePost… ( #14018 )
...
* refactor: allow passing an array to topics.purge and topics.purgePostsAndTopic
deprecate action:topic.purge, add action:topics.purge with array of deleted topics
update usage of topics.purge to pass in an array
fix an issue in posts/delete where cids were passed to parseInt, caused AP cids to get saved into category:NaN
* lint
* refactor: change style
* use array of tids
2026-02-26 13:09:42 -05:00
Barış Soner Uşaklı
8fb3ad8a87
lower categoy prune
2026-02-24 19:50:20 -05:00
Barış Soner Uşaklı
1c0d10a616
less logs
2026-02-23 21:18:14 -05:00
Barış Soner Uşaklı
aaa6d0685e
fix flat, add last info
2026-02-23 21:16:57 -05:00
Barış Soner Uşaklı
3431589b24
parseInt cid
2026-02-23 21:02:28 -05:00
Barış Soner Uşaklı
20eb02f158
feat: prune topics remote cids, closes #13461
2026-02-23 21:01:19 -05:00
Julian Lam
9608cce693
refactor: emoji replacement code into helper function, remove use of regex on untrusted user input
2026-02-11 11:50:27 -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
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
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
148663c536
fix: update auto-categorization rules to also handle already-categorized topics via crosspost
2026-01-12 12:55:18 -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
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
9d83a3d0da
fix: null check on attachments property in assertPrivate
2025-11-24 15:48:38 -05:00
Julian Lam
822f4edc4c
feat: native image appending for remote private notes
2025-11-20 14:08:12 -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
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
3ede64d8a1
refactor: move all methods in src/api/activitypub.js to src/activitypub.out.js
2025-10-22 14:41:56 -04:00
Julian Lam
3df4970ce1
fix: call api.topics method on topic move during note assertion, have category announce new topic on note assertion
2025-10-21 12:16:20 -04:00
Julian Lam
d3b3720915
refactor: move post attachment handling directly into posts.create
2025-10-09 13:58:08 -04:00
Julian Lam
ec3998974c
fix: omg what.
2025-10-06 22:17:35 -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
Barış Soner Uşaklı
c7e84b8d92
Merge branch 'master' into develop
2025-09-25 12:38:02 -04:00
Julian Lam
7abdfd86ac
fix: skip header checking during note assertion if test runner is active
2025-09-25 11:56:38 -04:00
Julian Lam
33b56e810c
Merge branch 'master' into develop
2025-09-22 12:15:30 -04:00
Julian Lam
d0c058263f
fix: update note assertion topic members check to simpler posts.exists check
...
The original logic checked that each member of the resolved chain was part of the resolved topic.
That isn't always the case, especially when topics splinter due to network timeouts/unavailability.
This ended up causing issues where already asserted posts were re-asserted but failed because they no longer served an _activitypub object since it was already asserted and the data was just pulled from the db.
2025-09-22 12:14:20 -04:00
Julian Lam
be098e1207
Merge branch 'master' into develop
2025-09-22 11:57:05 -04:00
Julian Lam
4d68e3fe14
fix: re-jig handling of ap tag values so that only hashtags are considered (not Piefed community tags, etc.)
2025-09-22 11:56:55 -04:00
Julian Lam
559155da63
refactor: notes.assert to add finally block, update assertPayload to update instances:lastSeen via method instead of direct db call
2025-09-19 10:34:57 -04:00
Julian Lam
532653110c
Revert "fix: add pre-processing step to title generation logic so sbd doesn't fall over so badly"
...
This reverts commit f7c4742987 .
2025-09-17 10:58:07 -04:00
Julian Lam
f7c4742987
fix: add pre-processing step to title generation logic so sbd doesn't fall over so badly
2025-09-17 10:44:51 -04:00
Julian Lam
36346dd822
Merge branch 'master' into develop
2025-09-15 14:10:07 -04:00
Julian Lam
b66c30a2a7
fix: handle cases where incoming ap object tag can be a non-array
2025-09-15 14:10:02 -04:00
Barış Soner Uşaklı
f9688b36b6
fix: port the try/catch for notes.assert from develop
2025-09-11 17:44:34 -04:00
Barış Soner Uşaklı
9184a7a4cc
fix: add missing unlock in nested try/catch
2025-09-11 17:28:56 -04:00
Julian Lam
95fb084ca4
fix: wrap majority of note assertion logic in try..catch to handle exceptions so that the lock is always released
2025-09-11 10:30:25 -04:00