Commit Graph

14670 Commits

Author SHA1 Message Date
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
Julian Lam
804052f272 test: add tests for topics slotting into remote categories if addressed 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ı
a5afad27e5 feat: chat allow/deny list, closes #13359 2025-04-25 11:54:11 -04:00
Barış Soner Uşaklı
8ffbc35923 refactor: add sping/ping into openapi
change getObject to getSortedSetRange so db is always checked. getObject calls are cached
2025-04-24 09:50:52 -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
Barış Soner Uşaklı
d59a5728df lint: fix missing comma 2025-04-11 19:58:48 -04:00
Barış Soner Uşaklı
46ed56cf96 refactor: use sortedSetsCard 2025-04-11 19:51:18 -04:00
Barış Soner Uşaklı
33d50637a3 fix: closes #13317, fix email confirm for changing email 2025-04-10 09:53:20 -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