Commit Graph

14676 Commits

Author SHA1 Message Date
Julian Lam
3c4276f7c3 fix: markAllRead to get tids based on same logic as unread page, instead of marking all recent posts read 2025-04-23 09:41:04 -04:00
Julian Lam
56d37da1ba fix: key ownership cross-check to also work with remote categories, #13255 2025-04-23 09:41:03 -04:00
Julian Lam
6f2766114e fix: #13255, assert all recipients of the main post when asserting a note, so that remote categories can be discovered 2025-04-23 09:41:03 -04:00
Julian Lam
86b5a159d7 fix: remote categories should not show up in a user's follow lists 2025-04-23 09:41:03 -04:00
Julian Lam
ca51597306 fix: #13255, remote user-to-category migration should not move shares that are already in an existing cid 2025-04-23 09:41:03 -04:00
Julian Lam
7eea1c67d0 fix: proper handling of actors.qualify response 2025-04-23 09:41:03 -04:00
Julian Lam
4fa8581704 fix: missing dep 2025-04-23 09:41:03 -04:00
Julian Lam
2f480e37ad fix: topics in remote categories showing up in /recent 2025-04-23 09:41:03 -04:00
Julian Lam
0d77e860bf fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-04-23 09:41:03 -04:00
Barış Soner Uşaklı
70dac3aede dont make db call if ap disabled 2025-04-23 09:41:03 -04:00
Barış Soner Uşaklı
00cd1817f6 refactor: use promise.all 2025-04-23 09:41:03 -04:00
Barış Soner Uşaklı
6a1edf6098 fix: spread fail, @julianlam
add ap check
2025-04-23 09:41:03 -04:00
Julian Lam
f2a1ff4077 feat: remote user to category migration should also migrate local user follows into category watches 2025-04-23 09:41:03 -04:00
Julian Lam
4d6de2d174 fix: filter out non-asserted targets when sending ap messages, diff. getter method when passed-in ID is a remote category 2025-04-23 09:41:03 -04:00
Julian Lam
8763d80d98 fix: tag whitelist check socket call for remote categories 2025-04-23 09:41:03 -04:00
Julian Lam
f477d12555 feat: allowing manual group assertion via category search input 2025-04-23 09:41:03 -04:00
Julian Lam
b10e5aa269 fix: migrate topics as system user instead of uid 0 2025-04-23 09:41:03 -04:00
Julian Lam
d2b8a7c504 send ap follow/undo-follow if remote category watch state changes 2025-04-23 09:41:03 -04:00
Julian Lam
82beaf8fd3 feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-04-23 09:41:03 -04:00
Julian Lam
f012b44d11 fix: do not send out ap (undo:)follow if local user or category is (not)already following 2025-04-23 09:41:03 -04:00
Julian Lam
378c114815 test: #13255, reply to topic in remote category addresses remote category 2025-04-23 09:41:03 -04:00
Julian Lam
0dc2f618e4 feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-23 09:41:03 -04:00
Julian Lam
5ada2dd234 fix: allow category controller to respond also by remote category id 2025-04-23 09:41:03 -04:00
Julian Lam
72470d6159 feat: #13255, deliver asserted topics to remote category followers 2025-04-23 09:41:03 -04:00
Julian Lam
e15e4d354f fix: #13255, update category search logic to allow for remote categories 2025-04-23 09:41:03 -04:00
Julian Lam
e5c4843439 feat: #13255, add category name and handle to category search zset 2025-04-23 09:41:03 -04:00
Julian Lam
fbedd7290a 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-23 09:41:03 -04:00
Julian Lam
681ec76247 feat: integrate remote category pruning into actor pruning logic 2025-04-23 09:41:03 -04:00
Julian Lam
d7b976529a feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-23 09:41:03 -04:00
Julian Lam
5ced4898bc fix: delete shares zset on account deletion 2025-04-23 09:41:03 -04:00
Julian Lam
36a2c3336d feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-23 09:41:03 -04:00
Julian Lam
dd030a5efb test: add tests for topics slotting into remote categories if addressed 2025-04-23 09:41:03 -04:00
Julian Lam
71e937b939 refactor: allow topics to be asserted directly into a remote category, or -1 otherwise 2025-04-23 09:41:03 -04:00
Julian Lam
ff1b7a0faa feat: also include category in to field when mocking post for federation 2025-04-23 09:41:03 -04:00
Julian Lam
76b2cf56a5 refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet 2025-04-23 09:41:03 -04:00
Julian Lam
6a363edf9d revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a 2025-04-23 09:41:03 -04:00
Barış Uşaklı
b57ce29dc6 chore: up pg, pg-cursor (#13351)
* chore: up pg, pg-cursor

* test: check file directly
2025-04-22 13:32:41 -04:00
Barış Soner Uşaklı
71cd46e132 Merge branch 'master' into develop 2025-04-22 11:46:43 -04:00
Barış Soner Uşaklı
42a5a127b6 fix: escape displayname in topic events 2025-04-22 11:46:03 -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
Barış Soner Uşaklı
321defb989 test: fix tests 2025-04-18 11:16:02 -04:00
Barış Soner Uşaklı
9f93cc9bd0 refactor: move topic/post menu lists to core 2025-04-17 13:19:48 -04:00
Barış Soner Uşaklı
87aacc8943 refactor: show topic tools if plugins add them
previously regular users couldn't see topic tools if it was something that didnt require privileges
2025-04-17 12:02:52 -04:00
Barış Soner Uşaklı
b73fb67b33 refactor: remove reply icons 2025-04-17 09:32:55 -04:00
Barış Soner Uşaklı
be1abcc957 Merge branch 'master' into develop 2025-04-16 10:31:41 -04:00
Barış Soner Uşaklı
6832541c02 lint: fix semi 2025-04-16 10:31:28 -04:00
Barış Soner Uşaklı
bf2d4c46f8 feat: show topic follower counts (#13326)
fix upgrade script dates
add upgrade script to count topic followers for each topic
2025-04-15 10:07:45 -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
Julian Lam
2a98a9b334 fix: bug where generateHandle would throw when passed in an invalid slug 2025-04-14 13:35:22 -04:00
Barış Soner Uşaklı
73c8dbfe00 Merge branch 'master' into develop 2025-04-12 14:16:58 -04:00