Commit Graph

14697 Commits

Author SHA1 Message Date
Julian Lam
28b7a20339 lint: yup. 2025-04-29 15:13:22 -04:00
Julian Lam
5aee2f2661 feat: upgrade script to remote duplicate remote users and categories as per #13352 2025-04-29 14:35:28 -04:00
Julian Lam
2572cbf5d5 fix: #13352, also do the webfinger backreference check when calling assertGroup 2025-04-29 11:18:24 -04:00
Julian Lam
e9b3306e79 fix: regression that caused non-public content with source.content to fail parsing 2025-04-29 10:28:18 -04:00
Barış Soner Uşaklı
537a742898 fix: closes #13360, catch error in buildAccountData middleware 2025-04-29 10:28:18 -04:00
Julian Lam
044736696e feat: handle Announce(Update(Note)) as well, #13320 2025-04-29 10:28:18 -04:00
Julian Lam
74e32a170f feat: #13255, proper handling of upvotes shared by group actors
fixes #13320
2025-04-29 10:28:18 -04:00
Julian Lam
5c5fd3d44f feat: send the whole post content in summary as well 2025-04-29 10:28:18 -04:00
Julian Lam
c2a3ef817d fix: bug where disparate ids all claiming to be the same handle were causing duplicate remote users due to collisions, #13352 2025-04-29 10:28:18 -04:00
Julian Lam
a0a8c4624f fix: posts incorrectly excluded from results if result pid is in a remote category 2025-04-29 10:28:18 -04:00
Julian Lam
d020e33422 fix: ap helpers.makeSet to handle undefined property values 2025-04-29 10:28:18 -04:00
Julian Lam
93a5b35f33 feat: notice on remote categories that have no local followers, #13255 2025-04-29 10:28:18 -04:00
Julian Lam
f02d96614a fix: remote bare hash for remote users on prune as well 2025-04-29 10:28:18 -04:00
Julian Lam
695312f17f fix: missing teasers for remote categories on /world 2025-04-29 10:28:18 -04:00
Julian Lam
0fab4255cc fix: remove superfluous privilege filter in markAllRead 2025-04-29 10:28:18 -04:00
Julian Lam
dabcefafd4 fix: reversed image and icon for remote categories, omit fa icon if remote category has icon property set, #13255 2025-04-29 10:28:18 -04:00
Julian Lam
34ab677174 feat: show tracked/watched remote categories in world page, #13255 2025-04-29 10:28:18 -04:00
Barış Soner Uşaklı
f1d1d0820a fix: closes #13289, id can be null 2025-04-29 10:28:18 -04:00
Julian Lam
4a7111d042 fix: marking remote category topics as read 2025-04-29 10:28:18 -04:00
Julian Lam
b0236735f2 fix: markAllRead to get tids based on same logic as unread page, instead of marking all recent posts read 2025-04-29 10:28:18 -04:00
Julian Lam
6dee3e56e6 fix: key ownership cross-check to also work with remote categories, #13255 2025-04-29 10:28:18 -04:00
Julian Lam
1f04678210 fix: #13255, assert all recipients of the main post when asserting a note, so that remote categories can be discovered 2025-04-29 10:28:18 -04:00
Julian Lam
4d1d7c3dca fix: remote categories should not show up in a user's follow lists 2025-04-29 10:28:18 -04:00
Julian Lam
3213da1c77 fix: #13255, remote user-to-category migration should not move shares that are already in an existing cid 2025-04-29 10:28:18 -04:00
Julian Lam
f2e0ba2165 fix: proper handling of actors.qualify response 2025-04-29 10:28:18 -04:00
Julian Lam
2cb6d10d9e fix: missing dep 2025-04-29 10:28:18 -04:00
Julian Lam
c4274a3dca fix: topics in remote categories showing up in /recent 2025-04-29 10:28:17 -04:00
Julian Lam
0246c14643 fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
97a232e9d5 dont make db call if ap disabled 2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
74661381d8 refactor: use promise.all 2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
c1b7196429 fix: spread fail, @julianlam
add ap check
2025-04-29 10:28:17 -04:00
Julian Lam
ac7b7f81b3 feat: remote user to category migration should also migrate local user follows into category watches 2025-04-29 10:28:17 -04:00
Julian Lam
309deb0d7a fix: filter out non-asserted targets when sending ap messages, diff. getter method when passed-in ID is a remote category 2025-04-29 10:28:17 -04:00
Julian Lam
c5901e0d24 fix: tag whitelist check socket call for remote categories 2025-04-29 10:28:17 -04:00
Julian Lam
23b3148c84 feat: allowing manual group assertion via category search input 2025-04-29 10:28:17 -04:00
Julian Lam
ee34396c71 fix: migrate topics as system user instead of uid 0 2025-04-29 10:28:17 -04:00
Julian Lam
6e374200e5 send ap follow/undo-follow if remote category watch state changes 2025-04-29 10:28:17 -04:00
Julian Lam
d19f692b8d feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-04-29 10:28:17 -04:00
Julian Lam
c6f2c87478 fix: do not send out ap (undo:)follow if local user or category is (not)already following 2025-04-29 10:28:17 -04:00
Julian Lam
85e7c1a20d test: #13255, reply to topic in remote category addresses remote category 2025-04-29 10:28:17 -04:00
Julian Lam
b8c531d53d feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-29 10:28:17 -04:00
Julian Lam
0b333fb7d4 fix: allow category controller to respond also by remote category id 2025-04-29 10:28:17 -04:00
Julian Lam
9c1d5cd36e feat: #13255, deliver asserted topics to remote category followers 2025-04-29 10:28:17 -04:00
Julian Lam
6e23de46d6 fix: #13255, update category search logic to allow for remote categories 2025-04-29 10:28:17 -04:00
Julian Lam
876d1b0414 feat: #13255, add category name and handle to category search zset 2025-04-29 10:28:17 -04:00
Julian Lam
bfc7daf255 refactor: categories.sortTidsBySet to not take cid, retrieve from tids themselves
re: ##13255, this fixes the issue with topics outside of cid -1 in /world being sorted incorrectly
2025-04-29 10:28:17 -04:00
Julian Lam
9b5855f79d feat: integrate remote category pruning into actor pruning logic 2025-04-29 10:28:17 -04:00
Julian Lam
4be0f73ace feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-29 10:28:17 -04:00
Julian Lam
7ccd6b73ae fix: delete shares zset on account deletion 2025-04-29 10:28:17 -04:00
Julian Lam
f483e883a7 feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-29 10:28:17 -04:00