Commit Graph

14633 Commits

Author SHA1 Message Date
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
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
Barış Soner Uşaklı
459fe50cd6 Merge branch 'master' into develop 2025-03-11 11:55:11 -04:00
Barış Soner Uşaklı
de502cd2ee feat: allow self-signed certs, closes #13238 2025-03-11 11:49:40 -04:00
Barış Soner Uşaklı
1ca7b7ecce test: fix inf loop if dirname results in same dir, ie \ 2025-03-10 18:25:53 -04:00
Barış Soner Uşaklı
7ef36ab05b Merge branch 'master' into develop 2025-03-10 18:13:21 -04:00