Julian Lam
4eb998d59d
fix: send additional @context entry for publicKey support, fixes #12604
2024-06-17 16:27:59 -04:00
Julian Lam
e6e6c2a28a
fix: null case handling
2024-06-17 16:01:36 -04:00
Julian Lam
6e2178b0dc
feat: instance-level allow andd deny list for federatioN
2024-06-17 15:50:27 -04:00
Barış Soner Uşaklı
c021e7e80f
refactor: announces
...
store number of announces on post hash, show announces like votes, with tooltip and a way to see all, remove them from topic.events so they dont load all tid:<tid>:posts everytime topic is loaded
2024-06-17 11:18:48 -04:00
Julian Lam
4030c09e27
fix: getCidByPid call returning improper values because a remote url to a local post was passed in
2024-06-14 14:09:52 -04:00
Julian Lam
6569066ef8
feat: sending out 1b12-style Announce activities on incoming Create/Update/Like/Delete/Undo(Like) activities, when they pertain to notes
...
re: #12434
2024-06-14 13:55:41 -04:00
Julian Lam
c8bc6e551b
fix: 1b12 conformance for inbox.create as well
2024-06-14 13:37:46 -04:00
Julian Lam
931a0f0a60
chore: info -> verbose logging in ap inbox.js
2024-06-14 13:31:08 -04:00
Julian Lam
6069bee019
chore: make getParentChain logging verbose
2024-06-14 13:26:56 -04:00
Julian Lam
f5b856f4fd
feat: assert actors when mocking post
2024-06-14 12:22:11 -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
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
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ı
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ı
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
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ı
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
Opliko
42f514b793
feat: add timestamp to most activity ids
2024-06-11 22:55:45 +02:00
Barış Soner Uşaklı
634e9b03f1
fix typo
2024-06-10 19:27:03 -04:00
Barış Soner Uşaklı
89465ec604
fix: don't crash process on error in cronjobs
...
catch error to continue in actor.prune
2024-06-10 19:24:06 -04:00
Julian Lam
ae3fa85f40
fix: handle missing fullname in actor removal logic
2024-06-10 15:18:32 -04:00
Julian Lam
bcfac00bec
fix: unintentional parseInt during post purge
2024-06-10 12:30:48 -04:00
Julian Lam
6ecc791db9
fix: missing await on topic purge
2024-06-07 16:48:05 -04:00
Julian Lam
4bb2c1a85e
feat: logic for remote user deletion, cronjob, and ACP options for pruning options
...
re: #12611
2024-06-07 16:28:07 -04:00
Julian Lam
539300ffec
feat: remote user deletion logic, #12611
2024-06-07 12:55:54 -04:00
Barış Soner Uşaklı
d1625d5fd2
refactor: change to info
2024-06-07 12:54:11 -04:00
Barış Soner Uşaklı
2ae5857005
refactor: remove verbose logs,
2024-06-07 12:13:28 -04:00
Barış Soner Uşaklı
ba2d18418a
refactor: comment out verbose logs
2024-06-07 11:56:58 -04:00
Barış Soner Uşaklı
f8d9f644e6
fix: another crash
2024-06-07 11:55:21 -04:00
Barış Soner Uşaklı
35eb2d0d46
fix: closes #12618 , handle missing selector
...
catch errors in activitypub api missing await on next()
2024-06-06 20:59:02 -04:00
Julian Lam
c680fa67d9
chore: update ap cron job config
2024-06-05 12:31:24 -04:00
Julian Lam
709c91329a
feat: pruning of stale notes older than 30 days with no engagement
2024-06-04 14:18:22 -04:00
Barış Soner Uşaklı
300cf79c95
add max to caches to limit memory usage
2024-06-04 12:31:13 -04:00
Barış Soner Uşaklı
6f37825b1a
fix: crash in mocks.profile
2024-06-04 12:30:47 -04:00
Julian Lam
76290e3789
fix: bug that stopped remote users with dashes in their handle from being properly asserted
2024-06-04 10:55:34 -04:00
Julian Lam
47406d1309
fix: parse incoming HTML to remove useless classes too
2024-05-30 12:04:37 -04:00
Julian Lam
ff53f3c02c
feat: save remote user urls backreference
2024-05-24 14:11:06 -04:00
Julian Lam
7c79e2310a
feat: add another sanitization round before federating to remove classes from all tags in output html, closes #12573
2024-05-23 15:29:32 -04:00
Julian Lam
b6653d153a
fix: have replies provide name when mocked
2024-05-23 12:36:03 -04:00
Julian Lam
8cf9617630
feat: passing in types to parsePost for more specific handling by plugins
2024-05-17 15:22:13 -04:00
Julian Lam
4e9cd8efc0
feat: track incoming requests by id, analytics increment for some metrics, ignore repeated requests by id
...
closes #12574
2024-05-14 12:07:18 -04:00
Julian Lam
1fa9346563
refactor: #12553 , buildRecipients so that it is separate from addressing in mocks.js
2024-05-10 15:30:45 -04:00