Commit Graph

583 Commits

Author SHA1 Message Date
Julian Lam
bbf69e4093 Merge branch 'master' into develop 2025-05-09 10:34:25 -04:00
Julian Lam
20ab90694c fix: send proper accept header for outgoing webfinger requests 2025-05-09 10:34:19 -04:00
Julian Lam
651ebaaf6c fix: missing await 2025-05-06 13:24:58 -04:00
Julian Lam
f83b1fbf68 fix: extra orderedItems property in generated paginated OrderedCollection, #13153 2025-05-06 12:27:35 -04:00
Julian Lam
7f59238d3a refactor: Helpers.generateCollection so that total count and a bound function can be passed in, #13153 2025-05-06 12:27:35 -04:00
Julian Lam
b433848971 fix: #13374, updates to posts.edit to handle remote content updates better 2025-05-06 10:45:09 -04:00
Julian Lam
f8d012c81c fix: AP inbox update handling for non-note objects 2025-05-05 17:01:07 -04:00
Julian Lam
9f80d10d09 fix: 1b12 creates being dropped 2025-05-05 16:50:44 -04:00
Julian Lam
28b7a20339 lint: yup. 2025-04-29 15:13:22 -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
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
d020e33422 fix: ap helpers.makeSet to handle undefined property values 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
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
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
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
0246c14643 fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 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
ee34396c71 fix: migrate topics as system user instead of uid 0 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
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
9c1d5cd36e feat: #13255, deliver asserted topics to remote category followers 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
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
0fa98237af refactor: allow topics to be asserted directly into a remote category, or -1 otherwise 2025-04-29 10:28:17 -04:00
Julian Lam
f73f727d90 feat: also include category in to field when mocking post for federation 2025-04-29 10:28:17 -04:00
Julian Lam
1f40995f79 refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet 2025-04-29 10:28:17 -04:00
Julian Lam
55c89969ed revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a 2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
92d6e0220b refactor: switch eslint configs to esm
add rules from https://eslint.style/
refactor for in loops to use Object.entries
2025-04-18 21:57:12 -04:00
Julian Lam
3c4be7738c feat: federate out as:Article with preview for root-level posts in a topic, instead of as:Note 2025-04-14 13:56:49 -04:00
Barış Soner Uşaklı
021b3af04a refactor: remove debug log 2025-04-07 13:23:46 -04:00
Barış Soner Uşaklı
3ad6ee075b Thumb uploads/post uploads normalization (#13300)
* testing thumn/post upload refactor

* fix: isOrphan check

* lint: fix md5

* test: fix upload test

* user

* fix: upgrade script

* refactor: long line

* lint: lint

* test: fix tests

* Squashed commit of the following:

commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Apr 4 09:24:54 2025 -0400

    fix: req.body can be undefined

* refactor: show data on test fail

* test: logs

* test: change test

* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Barış Soner Uşaklı
2c59007b10 fix: closes #13275, set 'announces' after adding to zset to prevent race condition 2025-04-01 10:55:03 -04:00
Julian Lam
aa4f23bfad fix: do not await the batch call to sendMessage 2025-03-28 12:59:06 -04:00
Julian Lam
4b22f29778 fix: commenting out outward federation of Add activity, pending forumwg discussion 2025-03-28 12:39:19 -04:00
Barış Soner Uşaklı
352c42d8db lint: fix typo 2025-03-27 09:50:46 -04:00
Julian Lam
4bbe27d44c fix: on user deletion during assertion (due to 410), if delete fails, just run ap post-deletion to clean up 2025-03-26 13:45:30 -04:00
Julian Lam
80e03c857e fix: #13254, configurable ap content prune 2025-03-19 10:17:09 -04:00
Julian Lam
74443c3b15 refactor: remove announceObject in favour of feps.announce, added create activity mock to support 2025-03-11 13:24:21 -04:00
Barış Soner Uşaklı
170787aacd Merge branch 'master' into develop 2025-03-09 11:14:23 -04:00
Barış Soner Uşaklı
6b9f166cb8 fix: don't update topic lastposttime by announce
this was causing topics to show up as unread eventhough there are no new posts and out of order on /recent
2025-03-09 11:14:16 -04:00
Julian Lam
885b83e509 feat: if an incoming remote message is too long, don't create the room, but notify the local recipients instead
closes #13174
2025-03-07 15:26:13 -05:00