329 Commits

Author SHA1 Message Date
Julian Lam
20918b5281 fix: wrong increment value 2025-12-11 11:10:29 -05:00
Julian Lam
8abe0dfa9f fix: increment progress on upgrade script 2025-12-11 11:09:13 -05:00
Julian Lam
097d0802b7 feat: stop extraneous vote and tids_read data from being saved for remote users 2025-12-11 10:57:00 -05:00
Barış Soner Uşaklı
0a2fa45da1 perf: update upgrade script to use bulk methods
add missing progress.total
2025-09-25 11:02:12 -04:00
Barış Soner Uşaklı
32d0ee4808 perf: update old upgrade scripts to use bulkSet/Add
fix a missing await
2025-09-25 02:03:24 -04:00
Barış Soner Uşaklı
1ad97ac194 refactor: closes #13547, process user uploads via batch
reduce processed user count to 100 per batch
2025-07-15 13:02:46 -04:00
Barış Uşaklı
24e7cf4a00 refactor: move post uploads to post hash (#13533)
* refactor: move post uploads to post hash

* test: add uploads to api definition

* refactor: move thumbs to topic hash

* chore: up composer

* refactor: dont use old zset
2025-07-07 10:22:24 -04:00
Julian Lam
26e6a22278 fix: #13397, null values in category sync list 2025-05-08 13:55:42 -04:00
Julian Lam
5aee2f2661 feat: upgrade script to remote duplicate remote users and categories as per #13352 2025-04-29 14:35:28 -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ı
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
Barış Soner Uşaklı
52ca086b83 fix: upgrade script 2025-04-07 13:56:04 -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ı
6813664120 feat: testing eslint9 (#13266)
* feat: testing eslint9

* fix: restore original functionality
2025-03-22 11:21:49 -04:00
Barış Soner Uşaklı
fe980688e4 fix: old upgrade script so it doesn't create settings objects
if they don't exist
2025-02-22 12:07:04 -05:00
Julian Lam
487e7be52c chore: remove now-unneeded v4 upgrade scripts
The deleted upgrade scripts were intended to be run on servers running pre-release versions of v4.

Now that it has been merged into `develop`, those scripts are no longer needed.
2025-01-15 14:54:16 -05:00
Julian Lam
45d2fe11dc Merge remote-tracking branch 'origin/develop' into activitypub 2024-12-04 15:24:26 -05:00
Barış Soner Uşaklı
9a635870b4 feat: add "keep original image after resize" option
closes #12946
2024-12-02 10:08:52 -05:00
Julian Lam
d1c27b4d33 chore: upgrade script to fix outdated slugs for users with periods in their usernames 2024-11-28 12:29:31 -05:00
Julian Lam
c0e58b03c5 Merge remote-tracking branch 'origin/develop' into activitypub 2024-11-26 11:34:18 -05:00
Barış Soner Uşaklı
669c9c5027 feat: move website/location fields into custom user fields 2024-11-25 18:29:48 -05:00
Barış Soner Uşaklı
fb9965f8f6 Merge branch 'develop' into activitypub 2024-10-24 19:25:58 -04:00
Barış Soner Uşaklı
e6ab4b07dd fix: closes #12858 2024-10-23 11:34:47 -04:00
Barış Soner Uşaklı
8a89c5d759 fix: don't crash if profile folder doesn't exist 2024-10-23 11:25:32 -04:00
Barış Soner Uşaklı
8971bba53d Merge branch 'develop' into activitypub 2024-07-25 11:26:29 -04:00
Julian Lam
fc5a829c0c fix: lint 2024-07-19 15:15:04 -04:00
Julian Lam
b9f37c5c32 fix: update upgrade script date 2024-07-19 14:57:56 -04:00
Julian Lam
be393d571c fix: include follower sets for reassertion 2024-07-19 14:48:51 -04:00
Julian Lam
39f92eac16 refactor: store local follow backreferences for remote users (both followers and following), update actor pruning to take local follow counts into consideration, fixes #12701 2024-07-19 14:37:32 -04:00
Barış Soner Uşaklı
269fc06835 feat: add downvoteVisibility setting, closes #12698 2024-07-17 17:43:31 -04:00
Julian Lam
f6f01ba345 perf: ~18x speedup of /world route
- upgrade script to remove pruned tids that did not get removed from inbox
- switch from db intersect to manual intersection of subset.
2024-07-12 14:38:46 -04:00
Barış Soner Uşaklı
6b33faac54 Merge branch 'develop' into activitypub 2024-06-27 10:40:14 -04:00
Barış Soner Uşaklı
d6c946cf14 refactor: sessionUUID (#12658)
* refactor: sessionUUID

* test: get uuid from sessionsstore

* refactor: dont load all sids again in revoke

* feat: upgrade script, get rid of second sessionStoreGet

* allow disabling maxUserSessions by setting to 0
2024-06-26 17:34:04 -04:00
Julian Lam
fe70a2b8b5 fix: #12652, incorrect user, post, topic counters with AP enabled 2024-06-25 12:36:11 -04:00
Barış Soner Uşaklı
e84c797c7c Merge branch 'develop' into activitypub 2024-06-24 22:30:03 -04:00
Barış Soner Uşaklı
54b0139531 fix: wront topic events showing up in topic
when you perform a topic action on a topic that has queued posts
store topic event id in the event hash
dont load queued post events when adding a new topic event
2024-06-24 21:59:12 -04:00
Julian Lam
f2e43e894b Merge remote-tracking branch 'origin/develop' into activitypub 2024-05-27 12:56:51 -04:00
Barış Soner Uşaklı
e0515080a0 feat: convert "All Votes Are Public" toggle to vote visibility
closes #12597
2024-05-24 17:12:44 -04:00
Julian Lam
ff53f3c02c feat: save remote user urls backreference 2024-05-24 14:11:06 -04:00
Julian Lam
f93b237ef1 fix: lint 2024-05-14 12:14:39 -04:00
Julian Lam
807c3eac12 feat: on post edit, also target anyone who announced the post and their followers
re: #12537
2024-05-06 15:14:32 -04:00
Julian Lam
3636dec76b chore: debug log 2024-05-01 14:47:07 -04:00
Julian Lam
119800d936 refactor: post announce logic to save to separate zset instead of to topic events, closes #12536 2024-05-01 14:44:29 -04:00
Barış Soner Uşaklı
91c3434fda Merge branch 'develop' into activitypub 2024-04-25 11:16:42 -04:00
Barış Soner Uşaklı
7033d11ede fix: #12481, remove priv groups from groupslug:groupname mapping (#12482)
this will cause a 404 when trying to access /group/cid-1-privilige-groups-find as an admin
2024-04-08 15:59:17 -04:00
Julian Lam
983153fbba fix: lol 2024-04-04 13:14:40 -04:00
Julian Lam
42bdffdc94 fix: maybe last tweak 2024-04-04 13:02:16 -04:00
Julian Lam
ae146024af fix: tweak upgrade script again 2024-04-04 12:33:07 -04:00
Julian Lam
166e3e2f95 fix: tweak upgrade script again 2024-04-04 12:26:24 -04:00
Julian Lam
442e98e4da fix: add timeout on activitypub.get, tweak upgrade script 2024-04-04 12:22:13 -04:00