Commit Graph

15023 Commits

Author SHA1 Message Date
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
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
34e95e6d46 feat: context removal logic (aka moving topics to uncategorized, and federating this to other NodeBBs)
Squashed commit of the following:

commit 3309117eb1
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Oct 21 11:48:12 2025 -0400

    fix: activitypubApi.remove.context to use oldCid instead of cid

commit e90c5f79eb
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Oct 21 11:41:05 2025 -0400

    fix: parseInt cid in cid detection for api.topics.move

commit ab6561e60f
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Oct 20 14:03:45 2025 -0400

    feat: inbox handler for Remove(Context)

commit 30dc527cc0
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Oct 20 12:17:23 2025 -0400

    feat: unwind announce(delete), federate out Remove(Context) on delete, but not on purge
2025-10-21 12:00:01 -04:00
Barış Soner Uşaklı
97e59fbe04 feat: add new setting to control posts uploads being shown as thumbs 2025-10-21 10:11:18 -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