1
0
Commit Graph

7619 Commits

Author SHA1 Message Date
Hazelnoot dad00e6590 tooling: fix "cannot find module eslint" error when running "build-misskey-js-with-types" 2025-01-27 23:15:57 -05:00
Hazelnoot 4b104879cd merge: use "import" settings in more import places (!870)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/870

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-26 15:18:18 +00:00
Hazelnoot 8bf01d9731 merge: Improve my previous emoji endpoints patch. (!869)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/869

Closes #893

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-26 15:17:32 +00:00
Hazelnoot d110a72b29 merge: fix: populate myreaction on regular timeline requests. (!840)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/840

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-26 15:12:14 +00:00
piuvas 716f203171 requested changes 2025-01-23 22:33:19 -03:00
dakkar eef8a9e24c use import configuration for media downloads in notes importer 2025-01-23 12:26:51 +00:00
dakkar b3d2cd65aa use import configuration for downloads in emoji importer 2025-01-23 12:24:06 +00:00
piuvas 62964c45f8 cleanup for linter to be happy 2025-01-20 17:26:39 -03:00
piuvas b92a325539 use addOrderBy as not to override orderBy 2025-01-20 17:18:56 -03:00
Marie b77364988d chore: remove outdated engine 2025-01-20 16:34:47 +00:00
dakkar 60c937606b merge: enhance: Open boost visibility menu on shift-click (!859)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/859

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 17:28:02 +00:00
Marie b2ed14e1f5 merge: Fix: Emoji categories with subfolders, but no emoji, erroneously duplicate the subfolder's emoji (!860)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/860

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:56:34 +00:00
dakkar 36b7572bdd merge: allow styles on any element when sanitizing html - fixes #538 (!863)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/863

Closes #538

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:45:44 +00:00
dakkar 9fe0eb5e49 merge: show the border MFM function in cheatsheet - fixes #533 (!862)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/862

Closes #533

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:45:35 +00:00
dakkar 996a92fc9c merge: clearer ListenBrainz label - fixes #589 (!865)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/865

Closes #589

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:45:19 +00:00
dakkar b5d2aea2ac merge: Clone note when adding myReaction to streamed notes. (!854)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/854

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:44:56 +00:00
HellhoundSoftware 5a76b7069f Refactor renote tooltip text 2025-01-18 08:28:57 -05:00
dakkar 804cd93f81 clearer ListenBrainz label - fixes #589 2025-01-18 11:50:18 +00:00
dakkar 9d6504c2ec allow styles on any element when sanitizing html - fixes #538
this applies to instance description and server rules
2025-01-18 11:19:36 +00:00
dakkar 65c03e3e54 actually show off the syntax highlighting
at some point the default language stopped being AiScript, so we have
to mark our little example to make the colors happen
2025-01-18 11:05:44 +00:00
dakkar 49d6fc6782 show the border MFM function in cheatsheet - fixes #533 2025-01-18 11:05:40 +00:00
HellhoundSoftware 794c7f9a1a Change let to const 2025-01-15 21:04:35 -05:00
HellhoundSoftware ef60a1a8ed Create CustomEmojiFolderTree nodes with correct path 2025-01-15 20:18:20 -05:00
HellhoundSoftware 3717654309 move tooltip message to computed 2025-01-15 16:14:35 -05:00
HellhoundSoftware 2c90eebe86 Add tooltip for shift-boost 2025-01-15 14:38:34 -05:00
HellhoundSoftware 7825f6e95e Open boost visibility menu on shift-click 2025-01-14 19:42:35 -05:00
piuvas 3fc377839c comment :3 2025-01-12 21:11:36 -03:00
dakkar 3ceac893c9 attribute invite codes to admins/moderators
when a regular user (who has the appropriate permissions) creates an
invite, we record that user's id in the `createdById` column

but when an admin/mod creates an invite via the control panel, we
didn't

now we do
2025-01-12 12:33:08 +00:00
Hazelnoot fed5ff50b3 merge: make widgets wider in classic view - fixes #874 (!855)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/855

Closes #874

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-11 16:45:30 +00:00
Hazelnoot 17f28b45fb merge: manual save search engine "custom url" - fixes #882 (!856)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/856

Closes #882

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-11 16:43:51 +00:00
dakkar b9e03339fd don't double-url-encode rss urls
`url.searchParams.set()` already encodes the values passed!

(this is a partial revert of 0472d43ee9,
the change in `statusbar-rss.vue` was correct)
2025-01-11 14:06:21 +00:00
dakkar 531f7198d3 manual save search engine "custom url" - fixes #882
auto-saving would hit the rate-limit for `/api/i/registry/set`
2025-01-11 13:26:28 +00:00
dakkar fa64112f9f make widgets wider in classic view
the style of widgets was changed by @Insert5StarName (@marie?) with
commit e14fd33140 as part of !178

I'm not sure if it was intentional or accidental, and I'm also not
sure why nobody noticed before 2024.11 (maybe something else kept the
widgets wider?)

Anyway, this change seems to be enough
2025-01-11 13:03:02 +00:00
piuvas f1d9bb2cf1 requested changes 2025-01-10 22:10:18 -03:00
piuvas a3fc9a1085 comment code 2025-01-08 13:10:20 -03:00
piuvas e76e6cd08f small refactor 2025-01-08 12:58:57 -03:00
piuvas 5fc9c1c8cd shallow clone 2025-01-08 12:51:46 -03:00
dakkar b8e361e03c merge: fix: populate myreaction on replies for streams. (!839)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/839

Closes #340

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-01-04 09:37:01 +00:00
Marie a723ece4b6 merge: fix url preview spacing for very narrow viewports (!852)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/852

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:12:25 +00:00
Marie 6c8d1462c1 merge: remove UI for "email notification type" - fixes #855 (!850)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/850

Closes #855

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:11:01 +00:00
Marie 5faa26b08f merge: use the whole hostname to check remote links - fixes #866 (!849)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/849

Closes #866

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:10:31 +00:00
Marie 4619a31f1d merge: remove duplicate role badges - fixes #868 (!848)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/848

Closes #868

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:10:26 +00:00
dakkar 3aeca799a5 fix url preview spacing for very narrow viewports
on wide viewports, the url preview only leaves space for a thumbnail
when such thumbnail exists.

on small phones, or in busy deck views, it always left that space

this was not very evident for simple previews (which are pretty much a
title line, a favicon, and the site name), but it became very obvious
with the note embedding in 2024.11

this patch makes the thumbnail space conditional on the existence of
the thumbnail, for narrow viewports as well (I pretty much copied the
bit of CSS from the non-narrow media query sections)
2025-01-02 17:40:36 +00:00
dakkar 8edd002ec7 remove UI for "email notification type" - fixes #855
no live code looks at these settings, let's not confuse users
pretending they can set

also, no live code sends any of these notifications via email!

maybe, after #718, we can revisit this
2025-01-02 10:18:04 +00:00
dakkar ac0c6841aa use the whole hostname to check remote links - fixes #866
the warning dialog's "trust this domain" toggle saves the whole
hostname, so this code needs to use the whole hostname

otherwise trusting a `www.example.com` will never work, because we'd
be checking `example.com` against it, and fail

while I was there, I also made the `trustedLinkUrlPatterns` correctly
match sub-domains: previously, trusting `ple.com` would trust
`example.com`
2025-01-02 10:03:16 +00:00
dakkar d980875e83 remove duplicate role badges - fixes #868
when I copied over the changes from `MkNote*` to `SkNote*`, I forgot
to remove the old badge-related code
2025-01-02 09:46:56 +00:00
dakkar 096f122024 Merge branch 'stable' into feature/merge-hotfix 2025-01-01 17:31:59 +00:00
dakkar 5ef24836ef bump version 2025-01-01 17:11:38 +00:00
dakkar f4aa986abd fix scheduled replies becoming quote-boosts
thanks to @CenTdemeern1 for triggering this bug!
see https://kitsunes.club/notes/a2h1y2rq9n

also compare with https://s.thenautilus.net/notes/a2h1y2rqx9

my instance errored out with:

> WARN 1	[remote ap]	Failed to resolve quote
> https://mastodon.social/users/DrALJONES/statuses/110586222749407429
>  for note https://kitsunes.club/notes/a2h1y2rq9n: StatusError: 404 Not
> Found

What happened?

* Charlotte scheduled a reply
* the processor called `findOneBy` with an undefined `note.renote`,
  which probably caused a `select` without any `where`
* a random note was attached as a quote
* that note has been deleted on the original instance but not on
kitsuclub's database
* the rest of fedi didn't notice the quote
2025-01-01 17:10:56 +00:00
dakkar 565c987744 merge: Add file extension to locally-stored media (!832)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/832

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-31 10:44:22 +00:00