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] - [31merror[39m: 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
5d9da6035e
fix: log out user if session cookie resolves to non-existent uid
2025-11-10 11:55:19 -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
e6911be35d
refactor: deleteOrRestore internal method to federate out a Delete on delete, not just purge; better adheres to FEP 4f05
2025-11-06 11:30:17 -05:00
Julian Lam
2066727f3e
fix: renderOverride to not clobber url if already set in template data
2025-11-05 13:43:04 -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
Barış Soner Uşaklı
179440372a
refactor: get rid of post.exists check, if post doesnt exist content is falsy
2025-10-30 20:34:01 -04:00
Julian Lam
4858abe149
fix: add replies in parallel during note assertion
2025-10-29 15:18:19 -04:00
Julian Lam
748cc5eecd
fix: logic error in context generation
2025-10-29 15:18:19 -04:00
Julian Lam
30b1212a0a
fix: relax toPid assertion checks so that it only checks that it is a number or uri
2025-10-29 15:18:19 -04:00
Julian Lam
f6219d0026
fix: update logic so that purging a post does not remove toPid fields from children, updated addParentPosts so that post existence is checked
2025-10-29 15:18:19 -04:00
Barış Soner Uşaklı
728184dab6
Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop
2025-10-29 13:16:39 -04:00
Barış Soner Uşaklı
a0a10c8b5c
chore: up ttlcache to 2.x
2025-10-29 13:16:34 -04:00
Julian Lam
524df6e548
fix: update category mock to save full handle
2025-10-29 12:32:24 -04:00
Julian Lam
a68b00ade9
Merge branch 'master' into develop
2025-10-28 11:51:10 -04:00
Julian Lam
5cfec5b1a9
fix: order of operations when updating category handle
2025-10-28 11:51:02 -04:00
Barış Soner Uşaklı
d1a06ba020
Merge branch 'master' into develop
2025-10-27 20:11:21 -04:00
Barış Soner Uşaklı
07eb16150c
center user count in chat, add commas to usercount, make last user image full width
2025-10-27 20:07:33 -04:00
Julian Lam
ab9154aa49
fix: logic error in out.remove.context
2025-10-24 13:32:04 -04:00
Barış Soner Uşaklı
9ce8480831
Merge branch 'master' into develop
2025-10-24 11:27:50 -04:00
Barış Soner Uşaklı
008e1ae4e4
lint: fix lint
2025-10-24 11:27:43 -04:00
Barış Soner Uşaklı
aa1ba4b59e
Merge branch 'master' into develop
2025-10-24 11:13:11 -04:00
Barış Soner Uşaklı
9410f466d8
fix: closes #13729 , fix filename encoding
2025-10-24 11:04:29 -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
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
ecf95d1898
fix: do not include image or icon props if they are falsy values
2025-10-17 11:13:13 -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