Commit Graph

305 Commits

Author SHA1 Message Date
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
Julian Lam
943cef6da2 feat: upgrade script to re-assert all known actors to save URL into hash, and bump mentions 2024-04-04 12:12:15 -04:00
Julian Lam
0b2faf21f9 Merge remote-tracking branch 'origin/develop' into activitypub 2024-04-03 13:50:10 -04:00
Barış Soner Uşaklı
4030f18a04 feat: closes #12453, filter events by user/group 2024-04-01 18:19:58 -04:00
Barış Soner Uşaklı
73f985684c fix: date on upgrade script 2024-04-01 18:17:00 -04:00
Barış Soner Uşaklı
8f9ac5c17a feat: move all user profile pics to folder, closes #12449 (#12450)
* feat: move all user profile pics to folder

get rid of glob delete and just delete the uid-{uid} folder when deleting user images

* when exporting user uploads add all profile uploads

* uid check
2024-03-28 16:50:56 -04:00
Julian Lam
8dcdf8ef3b fix: #12444 add uncategorized topics counted stats to separate sorted set 2024-03-26 11:34:14 -04:00
Julian Lam
3cc99a178e feat: category handles, #12434 2024-03-22 12:39:48 -04:00
Julian Lam
e4c1ca1ede feat: mentions support 2024-03-05 14:26:33 -05:00
Barış Soner Uşaklı
07c1ea2876 Merge branch 'develop' into activitypub 2024-03-04 16:09:11 -05:00
Barış Soner Uşaklı
2a9b0a3c9c feat: add new sorting option to categories
add new zset for category topics
fix sorting names
2024-03-04 16:06:04 -05:00
Julian Lam
281e9d6e8c fix: copy fixes, rename upgrade script, disable federation on upgrades 2024-02-27 11:35:00 -05:00
Julian Lam
aadac7053a tests: fix privileges in test runner 2024-02-26 14:22:35 -05:00
Julian Lam
1bd8f9a1fa feat: fine-grained privileges integration for fediverse users and world pseudo-category 2024-02-26 11:39:32 -05:00
Barış Soner Uşaklı
45cfb3691e feat: show unread categories based on unread topics (#12317)
* feat: show unread categories based on unread topics

if a category has unread topics in one of its children then mark category unread
deprecate cid:<cid>:read_by_uid sets
upgrade script to remove the old sets

* chore: up harmony
2024-01-30 17:47:06 -05:00
Barış Soner Uşaklı
5ea7dec939 feat: closes #12158, add sortable rewards
convert rewards:list to a sorted set
2023-11-10 09:54:37 -05:00
Barış Soner Uşaklı
fdff165e2b feat: closes #12154, add exempt groups
for new user restrictions
2023-11-07 12:36:40 -05:00
Barış Soner Uşaklı
84fed97b41 feat: add tracking categories and make watching send notifications (#12147)
* feat: add tracking categories and make watching send notifications

upgrade script to change the defaults

* add missing spec

* test: one more spec
2023-11-03 12:49:17 -04:00
Barış Soner Uşaklı
4c4f3ac983 feat: add direct message link (#12138)
* feat: add direct message link

/message/:mid
add /:index? to chat routes
add copy link to chat messages
add messageCount to each room object
add infinitescroll in both directions to chat

* fix more tests

* test: more text fixes

* test: fix tests

* remove async

* dont crash if element not in dom

clamp scrollToIndex values to 0, msgCount
2023-10-31 10:15:06 -04:00
Barış Soner Uşaklı
6f5a965a23 fix: upgrade script date 2023-10-05 13:31:50 -04:00
Barış Soner Uşaklı
6c3ff86bcf fix: add upgrade script for notifications 2023-10-05 13:21:14 -04:00
Barış Soner Uşaklı
4ba7633897 fix: msg ref 2023-08-23 18:19:39 -04:00
Barış Soner Uşaklı
2d62a77248 fix: #11947, make user message has a numeric timestamp 2023-08-23 18:09:34 -04:00
Barış Soner Uşaklı
78a7cfe9c2 fix: upgrade script, get rid of nested processSortedSet 2023-08-19 21:53:44 -04:00
Barış Soner Uşaklı
51587ca3b2 fix: one more fix 2023-08-18 20:38:59 -04:00