Commit Graph

14661 Commits

Author SHA1 Message Date
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
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
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
Barış Soner Uşaklı
a6839b6149 refactor: only write to db on runJobs processes
similart to analytics.js
2025-04-03 12:52:02 -04:00
Barış Soner Uşaklı
667367a68f refactor: use bulk increment 2025-04-03 11:53:48 -04:00
Barış Soner Uşaklı
d464b80f35 fix progress bar bg 2025-04-02 11:13:26 -04:00