Commit Graph

15016 Commits

Author SHA1 Message Date
Julian Lam
ab6561e60f feat: inbox handler for Remove(Context) 2025-10-20 14:03:52 -04:00
Julian Lam
30dc527cc0 feat: unwind announce(delete), federate out Remove(Context) on delete, but not on purge 2025-10-20 14:03:52 -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
f98a7216a3 feat: handle Delete(Context) as a move to cid -1 if the remote context still exists 2025-10-16 16:23:27 -04:00
Julian Lam
e09bb8b611 refactor: user announces no longer occur on topic move. Instead, the new category announces. Only occurs when topic moved to local categories. 2025-10-16 15:57:01 -04:00
Julian Lam
1d529473b4 fix: rebroadcasting logic should only execute for local tids if the remote cid is not addressed already 2025-10-16 12:17:52 -04:00
Julian Lam
2b2028e446 refactor: inbox announce(delete) handling to also handle context deletion, #13712 2025-10-16 11:27:51 -04:00
Julian Lam
4d5005b972 feat: handle incoming Announce(Delete), closes #13712 2025-10-16 11:12:00 -04:00
Julian Lam
fadac6165e fix: move Announce(Delete) out of topics.move and into topics API method 2025-10-15 15:02:23 -04:00
Julian Lam
3fa74d4cec fix: do not include actor from reflected activity when rebroadcasting remote cid 2025-10-15 12:33:57 -04:00
Julian Lam
d4695f1085 fix: broken category urls in to, cc 2025-10-15 12:31:55 -04:00
Julian Lam
a45f6f9c4c fix: update getPrivateKey to send application actor key when cid 0 2025-10-15 12:24:42 -04:00
Julian Lam
58a9e1c4f9 fix: update targets in 1b12 rebroadcast when cid is remote 2025-10-15 12:21:44 -04:00
Julian Lam
79d088536a fix: update 1b12 rebroadcast logic to send as application actor if post is in remote cid 2025-10-15 12:03:26 -04:00
Julian Lam
9583f0d49b feat: execute 1b12 rebroadcast logic on all tids even if not posted to a local cid 2025-10-15 11:24:12 -04:00
Julian Lam
af5efbd71d fix: regression caused by d3b3720915 2025-10-14 11:21:39 -04:00
Barış Soner Uşaklı
c80cb51065 Merge branch 'master' into develop 2025-10-13 13:45:21 -04:00
Barış Soner Uşaklı
6c2100684b fix: crash in tests 2025-10-11 20:54:00 -04:00
Barış Soner Uşaklı
d7657538fa Revert "feat: auto-enable link-preview plugin on new installations"
This reverts commit b153941cf3.
2025-10-11 20:39:14 -04:00
Julian Lam
b153941cf3 feat: auto-enable link-preview plugin on new installations 2025-10-09 14:01:08 -04:00
Julian Lam
07bed55e33 fix: add attachments to retrieved post data onNewPost 2025-10-09 13:58:13 -04:00
Julian Lam
d3b3720915 refactor: move post attachment handling directly into posts.create 2025-10-09 13:58:08 -04:00
Julian Lam
623cec9d91 fix: logic error in image mime type checking 2025-10-08 11:07:43 -04:00
Julian Lam
4d24309a06 feat: federate topic deletion on topic deletion as well as purge 2025-10-07 11:35:36 -04:00
Julian Lam
e29a418cdd Merge branch 'master' into develop 2025-10-06 22:17:45 -04:00
Julian Lam
ec3998974c fix: omg what. 2025-10-06 22:17:35 -04:00
Julian Lam
93b6cb5984 feat: federate Delete on post delete as well as purge, topic deletion federates Announce(Delete(Object)) 2025-10-06 13:45:46 -04:00
Julian Lam
39e5b8fec3 Merge branch 'master' into develop 2025-10-01 13:51:11 -04:00
Julian Lam
5ed19ef8a9 fix: login handler to handle if non-confirmed email is entered 2025-10-01 13:51:04 -04:00
Julian Lam
189fcfa694 Merge branch 'master' into develop 2025-10-01 12:52:17 -04:00
Julian Lam
3fcaa678a1 chore: remove unneeded secureRandom require 2025-10-01 12:15:07 -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
9cee799937 fix: force outgoing page on direct access to /ap handler 2025-10-01 11:53:57 -04:00
Julian Lam
954e7bc8e3 fix: update outgoing page to match 404 design 2025-10-01 11:43:29 -04:00
Julian Lam
4776d01281 sec: disallow checkHeader from returning a URL from a different origin than the passed-in URL 2025-10-01 11:00:03 -04:00
Julian Lam
c3df68f2ed fix: don\'t begin processing local login if the passed-in username isn't even valid 2025-09-30 11:05:46 -04:00
Julian Lam
7184507be2 fix: #13667, record to instances:lastSeen instead of domains:lastSeen 2025-09-25 15:12:52 -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
Barış Soner Uşaklı
0a2fa45da1 perf: update upgrade script to use bulk methods
add missing progress.total
2025-09-25 11:02:12 -04:00
Barış Soner Uşaklı
32d0ee4808 perf: update old upgrade scripts to use bulkSet/Add
fix a missing await
2025-09-25 02:03:24 -04:00
Barış Soner Uşaklı
2b987d09ce perf: update old upgrade scripts to use bulkSet/Add
fix a missing await
2025-09-25 02:03:14 -04:00
Julian Lam
bd80b77a7a feat: ability to nickname remote categories, closes #13677 2025-09-24 11:25:20 -04:00
Julian Lam
175dc20906 fix: #13676, bug where nested remote categories could not be removed 2025-09-24 10:42:16 -04:00
Julian Lam
8c553b1854 fix: regression 218f5ea from via, stricter check on whether the calling user is a remote uid 2025-09-24 10:01:20 -04:00
Julian Lam
218f5eabe2 fix: #13668, privilege checking on topic create for remote users; was not properly checking against fediverse pseudo-user 2025-09-23 11:00:17 -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