Commit Graph

14637 Commits

Author SHA1 Message Date
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
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
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
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
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
Barış Soner Uşaklı
ef98f8f9d3 fix: closes #13205, make parent post font-size small until expanded 2025-04-02 10:01:05 -04:00
Barış Soner Uşaklı
2c59007b10 fix: closes #13275, set 'announces' after adding to zset to prevent race condition 2025-04-01 10:55:03 -04:00
Barış Soner Uşaklı
d9f33204a8 fix: use slug instead of groupname in acp for groups
#13286, acp page was inaccessible
2025-04-01 10:46:31 -04:00
Barış Soner Uşaklı
4cdfcf95e6 lint: fix tabs 2025-03-28 16:06:38 -04:00
Julian Lam
aa4f23bfad fix: do not await the batch call to sendMessage 2025-03-28 12:59:06 -04:00
Julian Lam
4b22f29778 fix: commenting out outward federation of Add activity, pending forumwg discussion 2025-03-28 12:39:19 -04:00
Barış Soner Uşaklı
389bc062e3 feat: body-parser-2.x test (#13278)
* feat: body-parser-2.x test

* fix req.body
2025-03-27 11:29:37 -04:00
Barış Soner Uşaklı
352c42d8db lint: fix typo 2025-03-27 09:50:46 -04:00
Julian Lam
4bbe27d44c fix: on user deletion during assertion (due to 410), if delete fails, just run ap post-deletion to clean up 2025-03-26 13:45:30 -04:00
Barış Soner Uşaklı
d147432d2a Merge branch 'master' into develop 2025-03-22 12:03:52 -04:00
Barış Soner Uşaklı
485562d591 feat: upgrade commander, get rid of custom color & wrapping code 2025-03-22 12:03:22 -04:00
Barış Soner Uşaklı
6813664120 feat: testing eslint9 (#13266)
* feat: testing eslint9

* fix: restore original functionality
2025-03-22 11:21:49 -04:00
Barış Soner Uşaklı
747457d7b6 refactor: remove pointless true 2025-03-19 21:14:02 -04:00
Barış Soner Uşaklı
6fe066ced2 fix: check if latestversion is valid before using semver.gt 2025-03-19 21:03:08 -04:00
Barış Soner Uşaklı
c258f597c5 refactor: make register intro heading 2025-03-19 20:54:31 -04:00
Barış Soner Uşaklı
c662017033 fix: closes #13256, allow keyboard access to icon colors 2025-03-19 20:49:04 -04:00
Julian Lam
08796a0a59 fix: wrong property name used 2025-03-19 14:01:09 -04:00
Julian Lam
80e03c857e fix: #13254, configurable ap content prune 2025-03-19 10:17:09 -04:00
Julian Lam
945617cbcf fix: only 1b12 announce topic fork if OP is local, fix race condition in tests 2025-03-11 15:32:10 -04:00
Julian Lam
291af926a6 fix: bug where remote post was attempted to be announced on post move 2025-03-11 15:17:10 -04:00
Julian Lam
254f0738bb feat: 1b12 category announce on post move to a new tid, #13236 2025-03-11 15:06:24 -04:00
Julian Lam
0e1006fb3b test: fix remoteUrl property generation, tests for topic moving 2025-03-11 14:19:08 -04:00
Julian Lam
537880d2e8 test: fix actor tests 2025-03-11 13:27:37 -04:00
Julian Lam
74443c3b15 refactor: remove announceObject in favour of feps.announce, added create activity mock to support 2025-03-11 13:24:21 -04:00