Commit Graph

29882 Commits

Author SHA1 Message Date
Julian Lam
0d5d8430bf fix: marking remote category topics as read 2025-04-07 15:15:47 -04:00
Julian Lam
197ea20b1e fix: markAllRead to get tids based on same logic as unread page, instead of marking all recent posts read 2025-04-07 15:15:47 -04:00
Julian Lam
18dc35916e test: additional test for ensuring handle:uid is continually set even after re-assertion 2025-04-07 15:15:47 -04:00
Julian Lam
cdf2b43325 chore: cut v4.3.0-alpha.2 2025-04-07 15:15:47 -04:00
Julian Lam
d9d79ba839 fix: key ownership cross-check to also work with remote categories, #13255 2025-04-07 15:15:47 -04:00
Julian Lam
377b66ceab chore: cut v4.3.0-alpha 2025-04-07 15:15:47 -04:00
Julian Lam
2761f5e90b fix: #13255, assert all recipients of the main post when asserting a note, so that remote categories can be discovered 2025-04-07 15:15:47 -04:00
Julian Lam
8f4285d66e fix: remote categories should not show up in a user's follow lists 2025-04-07 15:15:46 -04:00
Julian Lam
0a301436e7 fix: #13255, remote user-to-category migration should not move shares that are already in an existing cid 2025-04-07 15:15:46 -04:00
Julian Lam
1228db7dc4 fix: proper handling of actors.qualify response 2025-04-07 15:15:46 -04:00
Julian Lam
244c2c78fd fix: missing dep 2025-04-07 15:15:46 -04:00
Julian Lam
4435a1558f test: additional test for remote category topic assertion when ignoring category 2025-04-07 15:15:46 -04:00
Julian Lam
dd30113e35 fix: topics in remote categories showing up in /recent 2025-04-07 15:15:46 -04:00
Julian Lam
424642f8cc fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-04-07 15:15:46 -04:00
Barış Soner Uşaklı
598cd0e62b dont make db call if ap disabled 2025-04-07 15:15:46 -04:00
Barış Soner Uşaklı
18ca355611 refactor: use promise.all 2025-04-07 15:15:46 -04:00
Barış Soner Uşaklı
0feb0c7089 fix: spread fail, @julianlam
add ap check
2025-04-07 15:15:46 -04:00
Julian Lam
8829ecaa2c feat: remote user to category migration should also migrate local user follows into category watches 2025-04-07 15:15:46 -04:00
Julian Lam
05c338e8ee fix: filter out non-asserted targets when sending ap messages, diff. getter method when passed-in ID is a remote category 2025-04-07 15:15:46 -04:00
Julian Lam
d727b99676 fix: tag whitelist check socket call for remote categories 2025-04-07 15:15:46 -04:00
Julian Lam
b1674284fb feat: allowing manual group assertion via category search input 2025-04-07 15:15:46 -04:00
Julian Lam
2748b3b7fd fix: migrate topics as system user instead of uid 0 2025-04-07 15:15:46 -04:00
Julian Lam
fd27db0f66 send ap follow/undo-follow if remote category watch state changes 2025-04-07 15:15:46 -04:00
Julian Lam
c9d793fb60 feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-04-07 15:15:46 -04:00
Julian Lam
a10ff09986 fix: do not send out ap (undo:)follow if local user or category is (not)already following 2025-04-07 15:15:46 -04:00
Julian Lam
73e190373f test: #13255, reply to topic in remote category addresses remote category 2025-04-07 15:15:46 -04:00
Julian Lam
a0b61ec2dc feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-07 15:15:46 -04:00
Julian Lam
e8dde2b570 fix: allow category controller to respond also by remote category id 2025-04-07 15:15:46 -04:00
Julian Lam
388ef95178 feat: #13255, deliver asserted topics to remote category followers 2025-04-07 15:15:46 -04:00
Julian Lam
a627c792da fix: #13255, update category search logic to allow for remote categories 2025-04-07 15:15:46 -04:00
Julian Lam
dcacc3f110 feat: #13255, add category name and handle to category search zset 2025-04-07 15:15:46 -04:00
Julian Lam
6de0e73187 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-07 15:15:46 -04:00
Julian Lam
8bfc2c1102 test: remote user pruning tests 2025-04-07 15:15:46 -04:00
Julian Lam
cbe7d087f0 feat: integrate remote category pruning into actor pruning logic 2025-04-07 15:15:46 -04:00
Julian Lam
1aeeefffae feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-07 15:15:46 -04:00
Julian Lam
42e7c4251a fix: delete shares zset on account deletion 2025-04-07 15:15:46 -04:00
Julian Lam
11c981309f test: introduce overrides into person and group mocks 2025-04-07 15:15:46 -04:00
Julian Lam
98f383aba5 test: have ap helper mocks for person and group auto-save to ap cache 2025-04-07 15:15:46 -04:00
Julian Lam
cd558c62b6 test: add failing tests for actor/group assertion via wrong method, remote user to category migration 2025-04-07 15:15:46 -04:00
Julian Lam
47ea8935b0 feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-07 15:15:46 -04:00
Julian Lam
b1e6743814 test: add tests for topics slotting into remote categories if addressed 2025-04-07 15:15:46 -04:00
Julian Lam
62d8c7b147 test: group actor assertion tests 2025-04-07 15:15:46 -04:00
Julian Lam
3d0292c256 refactor: allow topics to be asserted directly into a remote category, or -1 otherwise 2025-04-07 15:15:46 -04:00
Julian Lam
50881c76be feat: also include category in to field when mocking post for federation 2025-04-07 15:15:46 -04:00
Julian Lam
ac15d51759 refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet 2025-04-07 15:15:46 -04:00
Julian Lam
6c209571db revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a 2025-04-07 15:15:46 -04:00
Barış Soner Uşaklı
52ca086b83 fix: upgrade script 2025-04-07 13:56:04 -04:00
Barış Soner Uşaklı
021b3af04a refactor: remove debug log 2025-04-07 13:23:46 -04:00
Barış Soner Uşaklı
3526c937cc fix: tag urls getting double escaped (#13306)
* fix: tag urls getting double escaped

get rid of weird decodeURIComponent($.param()) usage
$.param returns a string suitable for use in query param string

* add a new test
2025-04-07 13:23:22 -04:00
Barış Soner Uşaklı
bf243e0778 fix: notifications.markAllRead
so that it actually marks all notifications read instead of the most recent 100. if you had more than 100 unread it required clicking multiple times.

also don't use markReadMultiple since we are clearing them all.
2025-04-07 10:05:27 -04:00