Commit graph

10259 commits

Author SHA1 Message Date
Emily Fox
b58bd4b9c9 prevent mastodon api error when not fetching reply or renote (resolves #1125)
Use of inner joins for `reply.user` and `renote.user` meant fetching a base
note would always fail when asked to query reply or renote information.
2025-07-16 12:07:38 -05:00
наб
6abbf955fc
Uniquify exportEntityName and importEntityName 2025-07-16 18:32:19 +02:00
наб
a00a3c6841
Add importCompleted notification. Send importCompleted when antenna/customEmoji/muting/userList is imported
The only userImportableEntities that don't notify
are blocking and following because they fork off a batch of single

Closes #891
2025-07-16 18:32:18 +02:00
piuvas
c97fafa071
requested changes. 2025-07-16 12:43:35 -03:00
Hazelnoot
38616ab246 disable outgoing mastodon quotes 2025-07-16 10:58:05 +01:00
piuvas
1696e31797
initial split descriptions impl. 2025-07-15 18:37:29 -03:00
bunnybeam
55022826cf
consistent styling for duplicate mod action checks 2025-07-14 19:40:04 +01:00
bunnybeam
92d87f955f
remove index on confetti column 2025-07-14 19:32:42 +01:00
Vavency
848d1dea88 [frontend] SkModPlayer fix vertical alignment on non-standart view heights 2025-07-11 15:03:54 +03:00
bunnybeam
0191ea8844
fix admin/unnsfw-user not working 2025-07-10 22:49:00 +01:00
Vavency
b26f777ae7 [frontend] SkModPlayer fix webkit scrolling. 2025-07-10 22:48:42 +03:00
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
7ee0245cdc
remove empty onMounted and unnecessary log line 2025-07-10 13:48:47 +01:00
Vavency
9496ecc7bb [frontend] SkModPlayer finally get rid of multiple fillText calls for part colours in favour of background blending.
Also made row number stick to the right side. :)
2025-07-10 15:45:17 +03:00
bunnybeam
89b5901e46
disable confetti switch on banner announcements 2025-07-08 21:47:22 +01:00
bunnybeam
a8db24e074
add confetti on dialog announcements 2025-07-08 20:41:07 +01:00
bunnybeam
e1bd8c5909
remove old logging lines 2025-07-07 21:41:29 +01:00
bunnybeam
45bf8262aa
implement optional confetti on announcements 2025-07-07 20:03:28 +01:00
Vavency
6b7b96f515 [frontend] SkModPlayer made canvas size max out at 10 channels
Also refactored CanvasDisplay interface into a class.
2025-07-07 18:35:03 +03:00
Hazelnoot
c0b93364c0 disable outgoing mastodon quotes 2025-07-04 12:54:52 -04: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
Vavency
8e77e485d5 [frontend] SkModPlayer micro-optimizations, fixing some styles. 2025-07-03 14:05:05 +03:00
dakkar
76c0b646b1 recalculate size&hash after web-optimising videos 2025-07-02 16:43:24 +01:00
Vavency
8646f3544a [frontend] SkModPlayer cull channels that aren't visible in the view. 2025-07-02 14:01:40 +03:00
lunya.pet
fdb9147718 fix: ESLint formatting 2025-06-30 17:48:37 +02:00
lunya.pet
29c6bcd714 fix: Use promiseLimit 2025-06-30 17:42:30 +02:00
Vavency
e28131cbc4 [frontend] Fix off by one error in number row,, rename some constants. 2025-06-30 13:47:21 +03:00
Lilly Schramm
0f6c5d27ec fix: Do Not NULL Descriptions 2025-06-30 08:47:44 +02: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
d704409f85 tweak the test compose file to match our test config file
`.config/test-example.yml` uses default ports, so this one should do
the same
2025-06-29 12:19:21 +01:00
lunya.pet
04605283f9 fix: Use retryOnThrottled 2025-06-29 12:42:07 +02: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
lunya.pet
7fcce1c7ef fix: IDE not renaming things moment 2025-06-29 09:20:04 +02:00
lunya.pet
a5b6a456cb fix: Fix more missing loading 2025-06-29 09:12:57 +02:00
lunya.pet
d5ce4810a3 Merge branch Sharkey:develop into feat/better-beta-emoji-panel 2025-06-29 07:02:50 +00:00
Marie
fad58ddc1c merge: unique constraint for registry_item - fixes #1121 (!1139)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1139

Closes #1121

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:49:51 +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
lunya.pet
772686dac2 fix: Fix eslint screaming, fix missing loading when registering emojis 2025-06-28 19:24:38 +02:00
lunya.pet
d42869a4df feat(beta emoji panel): Sequential updates, retries 2025-06-28 19:09:52 +02:00
dakkar
a450f801cf warn about extra db load 2025-06-27 11:16:56 +01:00
Hazelnoot
957116d04a merge: Hide muted threads and notes from timelines (!1142)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1142

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-26 17:38:15 +00:00
Hazelnoot
d7b94e756d fix websockets not working 2025-06-26 09:32:14 -04:00
Vavency
61f0133918 [frontend] Fixed overdraw prevention in SkModPlayer 2025-06-26 13:23:48 +03: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
Hazelnoot
c79d66d48b fix disposal of ServerStatsService and QueueStatsService 2025-06-25 22:16:06 -04:00