Commit Graph

14664 Commits

Author SHA1 Message Date
Julian Lam
e2a01e5d08 fix: remove superfluous privilege filter in markAllRead 2025-04-09 10:44:17 -04:00
Julian Lam
8c26dfad9c fix: reversed image and icon for remote categories, omit fa icon if remote category has icon property set, #13255 2025-04-09 10:43:18 -04:00
Julian Lam
a58f0f981b feat: show tracked/watched remote categories in world page, #13255 2025-04-09 10:43:18 -04:00
Barış Soner Uşaklı
48012ae13d fix: closes #13289, id can be null 2025-04-09 10:43:18 -04:00
Julian Lam
f3205e24e8 fix: marking remote category topics as read 2025-04-09 10:43:18 -04:00
Julian Lam
7fbc152c6f fix: markAllRead to get tids based on same logic as unread page, instead of marking all recent posts read 2025-04-09 10:43:18 -04:00
Julian Lam
023b6b7c38 fix: key ownership cross-check to also work with remote categories, #13255 2025-04-09 10:43:18 -04:00
Julian Lam
2fb1e728fd fix: #13255, assert all recipients of the main post when asserting a note, so that remote categories can be discovered 2025-04-09 10:43:18 -04:00
Julian Lam
63d6192878 fix: remote categories should not show up in a user's follow lists 2025-04-09 10:43:18 -04:00
Julian Lam
72560ee986 fix: #13255, remote user-to-category migration should not move shares that are already in an existing cid 2025-04-09 10:43:18 -04:00
Julian Lam
1f18f1548a fix: proper handling of actors.qualify response 2025-04-09 10:43:18 -04:00
Julian Lam
903d6102aa fix: missing dep 2025-04-09 10:43:18 -04:00
Julian Lam
8e70726ef6 fix: topics in remote categories showing up in /recent 2025-04-09 10:43:18 -04:00
Julian Lam
f91c3a7e0b fix: regression that caused resolveInboxes to always return empty, added tests for resolveInboxes 2025-04-09 10:43:18 -04:00
Barış Soner Uşaklı
0704988218 dont make db call if ap disabled 2025-04-09 10:43:18 -04:00
Barış Soner Uşaklı
fb993c8a55 refactor: use promise.all 2025-04-09 10:43:18 -04:00
Barış Soner Uşaklı
223d70550c fix: spread fail, @julianlam
add ap check
2025-04-09 10:43:18 -04:00
Julian Lam
8d6d1856ae feat: remote user to category migration should also migrate local user follows into category watches 2025-04-09 10:43:18 -04:00
Julian Lam
93eb31c98d fix: filter out non-asserted targets when sending ap messages, diff. getter method when passed-in ID is a remote category 2025-04-09 10:43:18 -04:00
Julian Lam
e86a75219b fix: tag whitelist check socket call for remote categories 2025-04-09 10:43:18 -04:00
Julian Lam
59ccb2cc76 feat: allowing manual group assertion via category search input 2025-04-09 10:43:18 -04:00
Julian Lam
540af998a4 fix: migrate topics as system user instead of uid 0 2025-04-09 10:43:18 -04:00
Julian Lam
edc6708c68 send ap follow/undo-follow if remote category watch state changes 2025-04-09 10:43:18 -04:00
Julian Lam
dba791df6f feat: remote group actors migrated to categories if they were previous asserted as remote users 2025-04-09 10:43:18 -04:00
Julian Lam
c6cacdbd49 fix: do not send out ap (undo:)follow if local user or category is (not)already following 2025-04-09 10:43:18 -04:00
Julian Lam
9c74683b33 test: #13255, reply to topic in remote category addresses remote category 2025-04-09 10:43:18 -04:00
Julian Lam
3ff3403593 feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-09 10:43:18 -04:00
Julian Lam
ef0c48bcda fix: allow category controller to respond also by remote category id 2025-04-09 10:43:17 -04:00
Julian Lam
e06ddaddf5 feat: #13255, deliver asserted topics to remote category followers 2025-04-09 10:43:17 -04:00
Julian Lam
40ac3df69f fix: #13255, update category search logic to allow for remote categories 2025-04-09 10:43:17 -04:00
Julian Lam
6f630d76c2 feat: #13255, add category name and handle to category search zset 2025-04-09 10:43:17 -04:00
Julian Lam
b278e8a4ea 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-09 10:43:17 -04:00
Julian Lam
d3a846e877 feat: integrate remote category pruning into actor pruning logic 2025-04-09 10:43:17 -04:00
Julian Lam
d0e0ce2931 feat: migration of group-as-user to group-as-category, remote category purging, more tests 2025-04-09 10:43:17 -04:00
Julian Lam
05d28c02c2 fix: delete shares zset on account deletion 2025-04-09 10:43:17 -04:00
Julian Lam
ff839213e4 feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-09 10:43:17 -04:00
Julian Lam
de16003336 test: add tests for topics slotting into remote categories if addressed 2025-04-09 10:43:17 -04:00
Julian Lam
91cebe651a refactor: allow topics to be asserted directly into a remote category, or -1 otherwise 2025-04-09 10:43:17 -04:00
Julian Lam
1b3673da7a feat: also include category in to field when mocking post for federation 2025-04-09 10:43:17 -04:00
Julian Lam
244ce8d70e refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet 2025-04-09 10:43:17 -04:00
Julian Lam
3f7c8678a3 revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a 2025-04-09 10:43:17 -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
Barış Soner Uşaklı
c93dc5897a refactor: break long line 2025-04-04 11:47:24 -04:00
Barış Soner Uşaklı
c41c7e8a03 fix: posts.uploads.usage since paths changed 2025-04-04 11:04:09 -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ı
cd70e6c610 fix: req.body can be undefined 2025-04-04 09:24:54 -04:00
Barış Soner Uşaklı
bbfd64457d fix: closes #13298, catch exceptions in webfinger and nodeinfo 2025-04-03 12:57:49 -04:00