Commit graph

32534 commits

Author SHA1 Message Date
bunnybeam
705e65e2d2
clarify that SkNote files are in the Sharkey style 2025-07-17 21:31:46 +01:00
bunnybeam
ff477e3bc7
changes to docstrings based on feedback 2025-07-17 21:28:17 +01:00
Vavency
8864269d7c [frontend] SkModPlayer Minor cleanup
Hide the shame of webkit.
2025-07-17 21:36:26 +03:00
bunnybeam
184d116632
add docstrings for components beginning with Sk, along with DynamicNotes 2025-07-17 17:38:45 +01:00
Vavency
30316e543c [frontend] SkModPlayer CSS adjustment. 2025-07-17 19:17:13 +03:00
Vavency
13b22cb70b [frontend] SkModPlayer change number row from maxHeight to height to fix early clipping. 2025-07-17 18:50:14 +03:00
dakkar
8b1a0f1226 replace URL path for inlined SearchMarkers - fixes #1154
The search index looks like:

```ts
[
 {
   id: 'foo', label: 'security',
   path: '/settings/security', inlining: ['2fa'],
 },
 {
   id: '2fa',
   label: 'two-factor auth',
   path: '/settings/2fa', // guessed wrong by the index generation
 },
 {
   id: 'aaaa',
   parentId: '2fa',
   label: 'totp',
 },
 …
]
```

This file post-processes that index and re-parents the inlined
sections. Problem was, it left the (wrong) `path` untouched.

Replacing the `path` makes the search work fine.
2025-07-17 16:36:50 +01:00
Vavency
9dbd2a6bb4 Merge branch Sharkey:develop into trackeropt 2025-07-17 15:04:33 +00:00
Vavency
4ae3d7453b [frontend] SkModPlayer fix togglePattern not properly skipping optimizations. 2025-07-17 18:02:10 +03:00
Vavency
d61b1e2910 [frontend] SkModPlayer fix toggleVisible completely breaking display. 2025-07-17 14:34:51 +03:00
Vavency
89d396b491 [frontend] SkModPlayer better handling of different display sizes. 2025-07-17 13:43:49 +03:00
Vavency
dfc2e2a9a7 [frontend] SkModPlayer implement webkit scroll hack. 2025-07-17 13:10:04 +03:00
Vavency
046cb125f2 [frontend] SkModPlayer stop a potential infinite nextTick recursion. 2025-07-16 22:19:27 +03:00
Vavency
912f5eb44b [frontend] SkModPlayer fix currentColumn not updating. 2025-07-16 22:08:39 +03:00
Vavency
7f30afd4fd [frontend] SkModPlayer remove old webkit workaround for scrollbars
Fix for channel jumps at the end of x scroll.
2025-07-16 21:19:27 +03:00
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
b023bea22c
move confetti localization to sharkey-locales 2025-07-14 19:34:51 +01:00
bunnybeam
92d87f955f
remove index on confetti column 2025-07-14 19:32:42 +01:00
dakkar
b3d27b5b1b mention where to put new/updated translations 2025-07-13 12:52:31 +01:00
Marie
05a499ac55 merge: update translation index (!1158)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1158

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-11 16:55:46 +00: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
dakkar
6d8aa60cd8 update translation index 2025-07-10 16:12:21 +01:00
bunnybeam
7581b5b40b
prevent suspending a user who is already suspended 2025-07-10 15:45:21 +01:00
dakkar
8e58d356db better handling of the test database container 2025-07-10 15:44:29 +01:00
dakkar
5b21dd208e fix whitespace 2025-07-10 14:25:47 +00: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
dakkar
6ba69c62fd mention our fedi account, thanks Hazel 2025-07-06 11:15:01 +01:00
dakkar
ab50c2b144 nicer intro, thanks Hazel 2025-07-06 11:13:14 +01:00
dakkar
32b70e653b fix description of dev mode 2025-07-06 11:12:39 +01:00
dakkar
497d983032 improvements from @bunnybeam 2025-07-06 10:10:24 +00:00
dakkar
69f3c8a58e merge: Disable outgoing mastodon quotes (resolves #1144) (!1153)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1153

Closes #1144

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-07-05 14:18:07 +00: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