Commit Graph

29665 Commits

Author SHA1 Message Date
Julian Lam
691f691749 debug: comment out actor assertion call in Users.getUsersFields 2024-06-14 11:45:03 -04:00
Julian Lam
827a91ea6b Revert "fix: eliminate infinite loop in actors.assert via user.getUsersFields"
This reverts commit 18e583184f.
2024-06-14 11:45:03 -04:00
Barış Soner Uşaklı
632ba51c7f Merge branch 'develop' into activitypub 2024-06-14 11:30:00 -04:00
Barış Soner Uşaklı
e010d1749b Merge branch 'master' into develop 2024-06-14 11:29:50 -04:00
Barış Soner Uşaklı
fedfce7bce perf: cache isAdmin, isGlobalMod checks 2024-06-14 11:06:30 -04:00
Julian Lam
18e583184f fix: eliminate infinite loop in actors.assert via user.getUsersFields 2024-06-14 10:59:07 -04:00
Julian Lam
6227ab900e refactor: actor pruning logic
Remove re-assertion set as it is expensive to re-assert all old user accounts.

Update actor assertion logic to always re-assert a passed-in id if their account's last crawl date is older than the configurable pruning threshold.

fixes #12636
2024-06-14 10:44:30 -04:00
Barış Soner Uşaklı
937caecdc4 Merge branch 'develop' into activitypub 2024-06-14 10:36:06 -04:00
Barış Soner Uşaklı
a1db504de5 Merge branch 'master' into develop 2024-06-14 10:35:53 -04:00
Julian Lam
1219d7d3b8 fix: minor adjustment in logic to work around relation logic 2024-06-14 10:20:53 -04:00
Barış Soner Uşaklı
f7c9b7ae4e fix: recent chat pagination, closes #12637 2024-06-14 09:52:11 -04:00
Barış Soner Uşaklı
839928b390 another one 2024-06-14 07:44:10 -04:00
Barış Soner Uşaklı
c95075e1ca perf: '-inf' faster 2024-06-14 07:29:37 -04:00
Barış Soner Uşaklı
291bf7db41 perf: move attachments to post hash 2024-06-13 19:49:04 -04:00
Barış Soner Uşaklı
f76a586328 refactor: catch errors 2024-06-13 18:36:05 -04:00
Julian Lam
b6ffc47c5d feat: check to/cc/audience for local category and put topic there instead (overrides passed-in cid)
closes #12634
2024-06-13 17:06:58 -04:00
Julian Lam
d9f1fa3ad3 feat: plumb audience into _activitypub when mocking posts 2024-06-13 17:05:37 -04:00
Julian Lam
3567f55a5d feat: send cause to ap.get error handler, delete local account representation if assertion fails with a 410 2024-06-13 14:53:47 -04:00
Julian Lam
101062cb92 fix: introduce artificial 5s delay for 1b12 announces 2024-06-13 14:35:09 -04:00
Julian Lam
acd1630b9f fix: move logic to move topic on note assertion earlier in the flow so it actually runs 2024-06-13 14:02:26 -04:00
Barış Soner Uşaklı
badb7e2c05 fix: post count 2024-06-13 11:08:23 -04:00
Barış Soner Uşaklı
578a53dd8e feat: #12589, add nodeinfo endpoint 2024-06-13 10:57:43 -04:00
Barış Soner Uşaklı
919b037a8f Merge branch 'develop' into activitypub 2024-06-12 22:58:04 -04:00
Barış Soner Uşaklı
0989be0c7c Merge branch 'master' into develop 2024-06-12 22:57:54 -04:00
Barış Soner Uşaklı
6f79d30518 fix: info.tpl table 2024-06-12 22:57:43 -04:00
Barış Soner Uşaklı
68c916503a chore: up mentions 2024-06-12 20:46:16 -04:00
Barış Soner Uşaklı
3eca978509 refactor: add method from mentions into core
turn remote url into local profile urls if they are found in remoteUrl:uid
2024-06-12 20:31:36 -04:00
Barış Soner Uşaklı
a67e1b7caf Merge branch 'activitypub' of https://github.com/NodeBB/NodeBB into activitypub 2024-06-12 16:04:16 -04:00
Barış Soner Uşaklı
b2d03da96d refactor: dont need exist check, if post doesnt exist getPostData returns null 2024-06-12 16:04:14 -04:00
Julian Lam
f29214e007 fix: skip follower count check if cid follower is found 2024-06-12 14:15:43 -04:00
Misty Release Bot
aa99d226f8 Latest translations and fallbacks 2024-06-12 09:20:04 +00:00
Barış Soner Uşaklı
cdc6f9f6a3 check if ap enabled 2024-06-12 00:18:29 -04:00
Barış Soner Uşaklı
2b6e31a635 chore: up mentions 2024-06-12 00:04:03 -04:00
Barış Soner Uşaklı
f075a8c148 Merge branch 'develop' into activitypub 2024-06-11 18:28:34 -04:00
Barış Soner Uşaklı
ba700c208a Merge branch 'master' into develop 2024-06-11 18:28:21 -04:00
Barış Soner Uşaklı
35710e6551 catch all deleted/missing and 404 2024-06-11 18:28:10 -04:00
Barış Soner Uşaklı
1ced3eb9f1 don't crash on missing user 2024-06-11 18:25:59 -04:00
Barış Soner Uşaklı
194a9fca44 add missing nconf 2024-06-11 18:20:53 -04:00
Barış Soner Uşaklı
04b4c16e27 Merge branch 'develop' into activitypub 2024-06-11 18:18:14 -04:00
Barış Soner Uşaklı
43f6d35a0d Merge branch 'master' into develop 2024-06-11 18:06:53 -04:00
Barış Soner Uşaklı
9ecee78293 test: fix path replace 2024-06-11 17:56:45 -04:00
Barış Soner Uşaklı
adb0566f48 lint: remove unused 2024-06-11 17:47:53 -04:00
Barış Soner Uşaklı
023d52a31c perf: get rid of async call in user load for expiring bans
unban all expires in one call
2024-06-11 17:42:06 -04:00
Barış Soner Uşaklı
1dadd16f4b perf: call getIconbackgrounds once
instead of 20x on topic/topic list load
2024-06-11 17:20:31 -04:00
Barış Soner Uşaklı
1c44f55d3c handle sub account pages in redirect 2024-06-11 16:56:04 -04:00
Opliko
42f514b793 feat: add timestamp to most activity ids 2024-06-11 22:55:45 +02:00
Barış Soner Uşaklı
17cd3b684c move slug handling to middleware #12632 2024-06-11 16:24:56 -04:00
Barış Soner Uşaklı
5c6a853e94 perf: get rid of more calls, fix other profile pages #12632 2024-06-11 16:07:10 -04:00
Barış Soner Uşaklı
66adfa2999 fix: closes #12632, dont load data twice 2024-06-11 15:38:40 -04:00
Julian Lam
bb0360bf01 chore: commenting out logic that drops requests if the id has already been seen, due to a regression in interoperability between NodeBB instances 2024-06-11 14:17:40 -04:00