bunnybeam
eca81b6494
add various checks to avoid duplicate mod actions
2025-07-10 18:29:57 +01:00
bunnybeam
d023fb3389
return instead of erroring when suspending a suspended user
2025-07-10 16:19:55 +01:00
bunnybeam
7581b5b40b
prevent suspending a user who is already suspended
2025-07-10 15:45:21 +01:00
bunnybeam
45bf8262aa
implement optional confetti on announcements
2025-07-07 20:03:28 +01:00
dakkar
c927c30567
mark grouped notifs by oldest id - sort-of fix 1139
...
Misskey's code does the same, but our groups behave differently enough
that this may be not the best choice
for example, let's say we have:
- notifications 1-5 for reaction to note A
- notifications 6-8 for reaction to note B
- notifications 9-12 for reaction to note A
- notification 13-19 for non-groupable events
- notification 20 for reaction to note A
and that events happened one every minute (so the last notification is
from 20 minutes ago)
client requests the most recent 10 notifications; we fetch
notifications 1-10, and reply:
- grouped id 6 for reactions 6-8 to note B
- grouped id 10 for reactions 1-5, 9-10 to note A
then the client requests 10 more notifications, untilId=10; we fetch
notifications 11-20, and reply:
- non-grouped notifications 13-19
- grouped id 20 for reactions 11,12,20 to note A
because we sort by id, and also the `createdAt` marks the _newest_
event in each group, the client will then show:
6 reactions to note B, 6 minutes ago
4 reactions to note A, 1 minute ago
notifications 13-19, 13 minutes to 19 minutes ago
3 reactions to note A, 11 minutes ago
I don't know how to make this work better ☹
2025-07-03 14:16:20 +01:00
Hazelnoot
be1063238f
merge: Enable NestJS shutdown hooks for clean exit ( !1145 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1145
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-29 19:23:55 +00:00
dakkar
13d045d813
merge: misskey 2025.5.0 ( !1028 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1028
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-29 09:54:12 +00:00
Marie
f4fe14f5b7
merge: feat: Add Bio Length Setting ( !1136 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1136
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:47:41 +00:00
Marie
559a7566ab
merge: smarter "clean remote files" - fixes #801 ( !1143 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1143
Closes #801
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:47:27 +00:00
Hazelnoot
d7b94e756d
fix websockets not working
2025-06-26 09:32:14 -04:00
Hazelnoot
088fe15be5
improve shutdown logic somewhat
2025-06-25 22:51:32 -04:00
Hazelnoot
168a364162
fix redis listener leak in StreamingApiServerService.ts
2025-06-25 22:51:16 -04:00
Hazelnoot
4e609478f8
add additional shutdown logging
2025-06-25 22:16:26 -04:00
dakkar
50ca5e8688
pass arguments to CleanRemoteFiles job
2025-06-24 17:15:21 +01:00
Hazelnoot
f67be0a733
fix DI for stream connection
2025-06-23 20:13:24 -04:00
Hazelnoot
d0bd12b410
fix note mutings not applying to websocket
2025-06-23 16:08:18 -04:00
Hazelnoot
bd22ae0d80
cache recent favorites, renotes, and reactions in the connection to speed up rePackNote
2025-06-23 16:05:57 -04:00
Hazelnoot
4c2a0fed63
fix streaming API notes missing reactions, not always being hidden, and having incorrect values for the isRenoted, isFavorited, isMutingThread, and isMutingNote properties
2025-06-23 15:45:47 -04:00
Hazelnoot
7200c3d6c8
implement note mutings and move favorited/renoted status into note entity directly
2025-06-23 13:47:04 -04:00
Hazelnoot
7d0f995c9b
hide muted threads from timelines
2025-06-23 13:47:04 -04:00
nicole mikołajczyk
d43e81e268
Implement /v1/accounts/search Mastodon API endpoint
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2025-06-22 13:45:29 +02:00
Lilly Schramm
df77f339ec
feat(backend): Add Config Option For Bio Length
2025-06-22 01:02:20 +02:00
Lilly Schramm
18a979ea4e
refactor: Add Licence Header
2025-06-20 21:32:05 +02:00
Lilly Schramm
ebf21b474a
feat(backend): Add Clone Endpoint
2025-06-20 21:12:51 +02:00
dakkar
886160bdec
Merge branch 'develop' into upstream/2025.5.0
2025-06-20 10:44:34 +01:00
Hazelnoot
82b90d02ae
don't allow boosts to be fetched as a note over AP
2025-06-18 10:37:30 -04:00
Hazelnoot
1aeaee7f7c
filter boosts out of pinned notes when federating
2025-06-18 10:37:11 -04:00
Hazelnoot
c35da729fc
merge: Check privacy settings in charts/user/following ( resolves #1107 ) ( !1124 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1124
Closes #1107
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 19:49:26 +00:00
Hazelnoot
7a25ff3d65
check privacy settings in charts/user/following
2025-06-14 14:14:02 -04:00
Marie
db4f6d50a4
merge: group notifications regardless of when they happened - fix #633 ( !1123 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1123
Closes #633
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 18:07:07 +00:00
dakkar
b0275f86fe
annotate types
2025-06-14 18:38:18 +01:00
Hazelnoot
f6964f6e27
merge: Show signup reason in user admin screen ( resolves #1090 ) ( !1114 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1114
Closes #1090
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 17:30:17 +00:00
Marie
f58badade8
merge: Hide admin secrets from the mod log ( resolves #44 ) ( !1120 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1120
Closes #44
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:16:58 +00:00
dakkar
c882a4294d
group notifications regardless of when they happened - fix #633
2025-06-14 17:02:00 +01:00
Hazelnoot
6da1165e29
hide admin secrets from the mod log
2025-06-14 00:24:32 -04:00
Hazelnoot
b44abe0eaa
set X-Robots-Tag to disable indexing API endpoints
2025-06-13 23:18:06 -04:00
Hazelnoot
aa40b8ca0d
show signup reason in user admin screen
2025-06-13 20:01:06 -04:00
dakkar
33aee38a59
Merge branch 'develop' into upstream/2025.5.0
2025-06-13 08:43:17 +01:00
Hazelnoot
7eca06d672
use pnpm package alias for @transfem-org/sfm-js
2025-06-12 21:11:16 -04:00
Hazelnoot
1a964cb6c0
pcleanup dependencies:
...
* Consolidate multiple different HTML/XML/RSS libraries to use the Cheerio stack
* Remove unused deps
* Move dev dependencies to correct section
* Pin versions where missing
2025-06-12 21:11:16 -04:00
Hazelnoot
55551a5a8a
merge: Avoid more N+1 queries in NoteEntityService and UserEntityService ( !1099 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1099
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-12 15:42:39 +00:00
Hazelnoot
8f5212e453
enforce DM visibility in notes/mentions
2025-06-10 20:07:01 -04:00
dakkar
d222fafc1b
fix visibility regressions and merge typos
2025-06-10 15:13:53 +01:00
dakkar
25eafee4e2
let tests create users
2025-06-10 14:38:58 +01:00
dakkar
65e8bbd046
fix merge mistake
2025-06-10 14:12:31 +01:00
dakkar
3ebf9c4a71
Merge branch 'develop' into upstream/2025.5.0
2025-06-10 14:02:32 +01:00
Hazelnoot
c200ed3666
fix relations in MastodonDataService.ts
2025-06-09 12:48:32 -04:00
Hazelnoot
fa68751a19
normalize userFollowingsCache / userFollowersCache and add hibernatedUserCache to reduce the number of cache-clears and allow use of caching in many more places
2025-06-09 11:02:51 -04:00
Hazelnoot
853b548a43
re-type userFollowingsCache to match the others
2025-06-09 11:02:36 -04:00
Hazelnoot
bd8cd8c4e4
use more bulk hints in NoteEntityService / UserEntityService, and run the packMany queries in parallel
2025-06-09 11:02:36 -04:00