Commit Graph

530 Commits

Author SHA1 Message Date
Julian Lam
deb5ee5e01 fix: improper cc and object fields in announceObject 2025-03-03 11:54:26 -05:00
Julian Lam
dca3c35d76 fix: move AP send logging earlier 2025-03-02 22:58:05 -05:00
Julian Lam
7ceb6d69ae test: adjust test runner detection in AP code 2025-03-02 21:58:46 -05:00
Julian Lam
d948334713 fix: #13224, handle note attributedTo when it is of type object 2025-03-02 21:35:54 -05:00
Julian Lam
e510e82633 test: new test file for feps 2025-02-28 14:46:12 -05:00
Julian Lam
6e872b5fe4 test: log outgoing AP messages for local test runner 2025-02-28 13:56:40 -05:00
Julian Lam
73aaa990fb fix: allow actor assertion of loopback actors depending on ACP setting 2025-02-28 13:56:40 -05:00
Julian Lam
95f2c4edb5 feat: support remote "Video" type objects in note assertion, #13120
- handle array attributedTo (plus per-object actor assertion instead of batched)
- explicit "Video" type handling to automatically save URL as post attachment
- handle array url property
2025-02-26 13:55:39 -05:00
Julian Lam
bad0a4c2d2 chore: comment out testing helper call 2025-02-26 13:55:28 -05:00
Julian Lam
5c3f1cfe57 fix: tag handling when remote objects contain tags without leading # symbol 2025-02-26 13:36:06 -05:00
Julian Lam
c6ba56a517 test: update test to assert the note assertion itself
add failing test for Video handling
2025-02-26 13:06:37 -05:00
Julian Lam
c98f29aeb4 Merge branch 'master' into develop 2025-02-26 12:57:47 -05:00
Julian Lam
c65e1ebb8f fix: #13202, private note assertion failure when cc property is missing 2025-02-26 12:29:57 -05:00
Julian Lam
d91b80d293 fix: handle multiple types in remote actor payload 2025-02-25 13:33:44 -05:00
Julian Lam
6589565129 fix: handle multiple types in remote actor payload 2025-02-25 13:32:49 -05:00
Julian Lam
7dc1e8abad feat: 1b12 compatibility
- only Announce activities, not the plain object
- Announce the plain object separately, but only for the main post Create
2025-02-20 15:07:45 -05:00
Julian Lam
e149c891b5 Merge branch 'master' into develop 2025-02-20 14:09:35 -05:00
Julian Lam
2ad48f1714 fix: relaxing strict allowedTags configuration for incoming AP content (allowing picture, source, and additional attributes for img)
re: #13185
2025-02-20 14:08:51 -05:00
Julian Lam
93f48409c5 fix: #13136, do not log 404s for AP requests 2025-02-20 12:24:17 -05:00
Julian Lam
b8200095c0 fix: #13129, serve category backgroundImage as actor icon, not image
+ tests for category actor
2025-02-20 11:38:47 -05:00
Barış Soner Uşaklı
3991898171 Merge branch 'master' into develop 2025-02-19 20:09:40 -05:00
Barış Soner Uşaklı
a410587ce1 fix: closes #13180, don't execute cron jobs if ap disabled 2025-02-19 20:09:31 -05:00
Julian Lam
b6d9abd1ed Merge branch 'master' into develop 2025-02-18 13:40:04 -05:00
Julian Lam
6245e33d6e fix: #13179, fix context resolution failure bug with frequency 2025-02-18 13:34:17 -05:00
Julian Lam
de6e63bbd7 fix: add back chronological sorting of asserted notes 2025-02-18 13:33:11 -05:00
Julian Lam
4bc0031f58 chore: add test helper to activitypub file 2025-02-18 13:07:11 -05:00
Barış Soner Uşaklı
9997189aea feat: remove activities older than a week 2025-02-18 13:00:08 -05:00
Barış Soner Uşaklı
d9e86c7b07 feat: remove activities older than a week 2025-02-18 12:06:02 -05:00
Barış Soner Uşaklı
8c6bfa95e4 Merge branch 'master' into develop 2025-02-18 11:43:52 -05:00
Julian Lam
5e71d597a4 fix: notes.assertPrivate sanity checks 2025-02-18 10:12:26 -05:00
Julian Lam
dadefeb1ee Merge branch 'master' into develop 2025-02-16 14:29:13 -05:00
Julian Lam
d936d5c073 fix: logic failure causing remote posts with image to not parse properly, #13164 2025-02-16 14:27:57 -05:00
Julian Lam
8b717d5410 fix: restrict feps methods to real cids 2025-02-14 21:12:18 -05:00
Julian Lam
b7f9983a2f feat: federate out Announce of a tid's mainPid if the tid is moved out of cid -1
closes #13097
2025-02-14 21:07:26 -05:00
Julian Lam
637addc445 feat: syncUserInboxes to take into account remote topic tags, closes #13074 2025-02-14 20:43:19 -05:00
Julian Lam
f0ee43dcc1 fix: restore old behaviour of 1b12 federating both object and activity 2025-02-13 17:07:12 -05:00
Julian Lam
86b0e5913b fix: send actor with 1b12 announce, fixes #13072 again 2025-02-11 16:07:38 -05:00
Julian Lam
d50f8a9d00 Revert "fix: send actor with 1b12 announce, fixes #13072"
This reverts commit 3cd87f1bc1.
2025-02-11 15:58:39 -05:00
Barış Soner Uşaklı
402fa27059 Merge branch 'master' into develop 2025-02-11 14:33:12 -05:00
Barış Soner Uşaklı
ffbe4b7bb7 fix: actor.prune, dont try deleting same users
over and over if they have local content
2025-02-11 14:32:54 -05:00
Barış Soner Uşaklı
de457210e9 show non deletions 2025-02-11 13:51:42 -05:00
Barış Soner Uşaklı
7555b603b5 show non deletions 2025-02-11 13:48:53 -05:00
Barış Soner Uşaklı
fde5e57e6d Merge branch 'master' into develop 2025-02-11 13:45:46 -05:00
Barış Soner Uşaklı
cfbb8ff887 fix: getLocalFollowCounts, show non existing deletes 2025-02-11 13:45:38 -05:00
Barış Soner Uşaklı
d590c2afcf perf: closes #13145, reduce calls in actors.prune
instead of deleting 18k users everyday delete max 500 every 30mins like notifications.prune

refactor getLocalFollowCounts so it works with an array of actors

dont make dbcalls for uids that dont exist
2025-02-11 11:01:32 -05:00
Barış Soner Uşaklı
224910b133 fix: isArray check 2025-02-11 10:56:56 -05:00
Barış Soner Uşaklı
5f3ed76d54 fix: isArray check 2025-02-11 10:48:42 -05:00
Barış Soner Uşaklı
676acb7e8c perf: closes #13145, reduce calls in actors.prune
instead of deleting 18k users everyday delete max 500 every 30mins like notifications.prune

refactor getLocalFollowCounts so it works with an array of actors

dont make dbcalls for uids that dont exist
2025-02-11 10:39:24 -05:00
Barış Soner Uşaklı
7804b301d5 Merge branch 'master' into develop 2025-02-08 21:19:14 -05:00
Julian Lam
5cbf3dd7ea fix: sanity-check the id when mocking a post 2025-02-08 20:28:17 -05:00