Commit graph

32289 commits

Author SHA1 Message Date
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
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
Charlotte
157d11298a merge: fix: Do Not NULL Descriptions during migration (!1149)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1149

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-06-30 15:04:31 +00: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
dakkar
aa1eaac4e8 link the issue/mr templates to our contribution guidelines 2025-06-29 12:19:21 +01:00
dakkar
3d067303c7 split our contribution guidelines in their own file
this is mostly @bunnybeam's work! see !838

* reset `CONTRIBUTING.md` to Misskey's version
* add a link at the top of that file, pointing to ours
* create `CONTRIBUTING.Sharkey.md` with all Sharkey-specific
  details (plus some clearer bits on dev / testing that are a bit
	messy in upstream's docs)
2025-06-29 12:19:21 +01: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
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
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
dakkar
872258b04c embed git commit info in nodeinfo&c
this will make it much easier to debug problems for instances that run
unreleased versions!

when run on a tagged commit, `git describe --tags` prints the tag name;
otherwise it prints something like `2025.4.3-32-ga4c0ef824c` which
means:

- the closest tag is 2025.4.3
- there are 32 commits between that tag and this commit
- this commit's id is `a4c0ef824c` (the `g` is just a prefix)

notice that the version as reported by the frontend (in
`/about-sharkey` for example) is _not_ changed, that one is still
sourced from `/package.json` (so, for example, you don't get a
"sharkey has been updated!" pop-up every time)
2025-06-25 22:15:06 +01:00
dakkar
c4c6aea939 merge: use a *very* long statement_timeout for migrations (!1132)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1132

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-25 20:35:15 +00:00
Hazelnoot
d4105dee0c enable NestJS shutdown hooks 2025-06-25 16:28:07 -04:00
dakkar
bddb6afa5d handle jobs created without the extra arguments
just in case there's any in the queue when people upgrade
2025-06-24 17:16:30 +01:00
dakkar
d847dd00c5 frontend dialog for "clear cached files" 2025-06-24 17:15:21 +01:00
dakkar
50ca5e8688 pass arguments to CleanRemoteFiles job 2025-06-24 17:15:21 +01:00
dakkar
c68b8d6e7c smarter "clean remote files"
this should (optionally) skip in-use files, and files that have been
seen recently
2025-06-24 17:15:21 +01:00
Hazelnoot
d44935b1d9 collapse renotes that we've renoted or favorited 2025-06-24 09:46:56 -04:00
dakkar
4651edbc4e better upsert query
the default `.upsert` method would clobber the `id`
2025-06-24 13:47:07 +01:00
Hazelnoot
05f53cb69a fix locales d.ts 2025-06-23 20:13:34 -04: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
8cbe1344f6 fix Note.isRenoted 2025-06-23 13:47:04 -04:00
Hazelnoot
d2b4035f7a add missing GROUP BY to threadMutingsCache / noteMutingsCache 2025-06-23 13:47:04 -04:00