Commit graph

3479 commits

Author SHA1 Message Date
かっこかり
d86c77260e
fix(frontend): RSSウィジェットでURLエンコードを二重に行っている問題を修正 (#15272)
* 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)

* Update Changelog

---------

Co-authored-by: dakkar <dakkar@thenautilus.net>
2025-01-14 00:13:57 +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
かっこかり
d60c307c4e
refactor/deps(frontend): shikiのdeprecated表現を修正 (#15169)
* fix(frontend): shikiのdeprecated表現を修正

* update aiscript-vscode

* ✌️

* fix

* remove unused imports

* bump aiscript-vscode to 0.1.15
2025-01-11 13:47:15 +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
Rsplwe
bb4457266d
feat(frontend): Do not display blocked instances on the welcome page (#15178) 2025-01-08 10:51:23 +00:00
鴇峰 朔華
8652ce7cc0
fix(frontend): 自分以外のノートを消したときに実績を解除しないように修正 (#15071) 2025-01-08 07:58:29 +00:00
Take-John
bbe80af1dd
Fix: aiscriptディレクトリ内の型エラー解消と単体テスト (#15191)
* AiScript APIの型エラーに対処

* AiScript UI APIのテスト作成

* onInputなどがPromiseを返すように

* AiScript共通APIのテスト作成

* CHANGELOG記載

* 定数のテストをconcurrentに

* vi.mockを使用

* misskeyApiをmisskeyApiUntypedのエイリアスとする

* 期待されるエラーメッセージを修正

* Mk:removeのテスト

* misskeyApiの型を変更
2025-01-07 12:28:48 +00:00
かっこかり
4120c9ab10
fix(frontend): アカウント一覧画面で、ユーザー情報の取得に失敗したアカウントが表示されない問題を修正 (#15183)
* fix(frontend): アカウント一覧画面で、ユーザー情報の取得に失敗したアカウントが表示されない問題を修正

* Update Changelog

* 🎨
2025-01-04 06:44:31 +00:00
かっこかり
1fbc129d7b
fix(frontend): ファイルの添付可能数を超えたらノートボタンを押せないように (#15126)
* fix(frontend): ファイルの添付可能数を超えたらノートボタンを押せないように

* Update Changelog

* Update MkPostForm.vue
2025-01-04 06:24:25 +00:00
かっこかり
256560e8ba
enhance(frontend/aiscript): セーブ内容を削除できるMk:removeを追加 (#15158)
* enhance(frontend/aiscript): セーブ内容を削除できる`Mk:remove`を追加

* fix

* Update Changelog
2025-01-04 06:16:58 +00:00
かっこかり
faea401dcc
fix(frontend): ノート検索が使用できない場合でもチャンネルのノート検索欄がでていた問題を修正 (#15082)
* fix(frontend): ノート検索が使用できない場合でもチャンネルのノート検索欄がでていた問題を修正

* Update Changelog

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-01-04 06:14:37 +00:00
かっこかり
574034a2dd
fix(frontend): MiAuth認可画面で、認可処理に失敗した場合でもコールバックURLに遷移してしまう問題を修正 (#15154)
* feat(MiAuth): アクセストークンの発行に失敗した場合コールバックに遷移しないようにする (MisskeyIO#831)

Cherry-picked from TeamNijimiss/misskey@800359623e

Co-authored-by: nafu-at <satsuki@nafusoft.dev>

* Update Changelog

* Update Changelog

---------

Co-authored-by: あわわわとーにゅ <17376330+u1-liquid@users.noreply.github.com>
Co-authored-by: nafu-at <satsuki@nafusoft.dev>
2025-01-04 06:08:29 +00:00
かっこかり
f4e025170e
fix(frontend/AiScript): Ui:C:selectの値が切り替わらない問題を修正 (#15184)
* fix(frontend/AiScript): Ui:C:selectの値が切り替わらない問題を修正

* Update Changelog
2025-01-04 06:06:03 +00:00
かっこかり
6649e58b56
enhance(frontend): ワードミュート・ハードワードミュートの説明を追加 (#15207) 2025-01-04 05:40:41 +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
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
かっこかり
3c81926f71
fix(frontend): serverContextの値を利用する条件が間違っていたのを修正 (#15166) 2024-12-22 13:36:17 +09:00
かっこかり
f123be38b9
enhance(frontend): 照会の際にエラーを表示するように (#15147)
* enhance: 照会の失敗理由を表示するように

* Update Changelog

* fix

* fix test

* lookupErrors-> remoteLookupErrors
2024-12-19 16:05:33 +09:00
dakkar
12ef2b13c4 merge: avoid empty blocks when hiding ads (!828)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/828

Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
2024-12-18 17:06:57 +00:00
dakkar
fcbf072e29 merge: preview AP objects as quotes - fix #595 (!826)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/826

Closes #595

Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-18 17:06:41 +00:00
dakkar
5fd3e271ac only log preview error in dev mode 2024-12-18 16:32:28 +00:00
dakkar
2dfadc082d style embedded note previews like normal previews
and not like normal quotes
2024-12-18 16:14:47 +00:00
dakkar
e9e2a5dd77 avoid empty blocks when hiding ads
2024.10 or 2024.11 added a `<div>` around `<MkAd>`, but while `MkAd`
checks if ads should be shown, and generates an empty `<div>` if not,
the wrapper `div` was always shown.

This commit takes the same logic from `MkAd` and applies it to the
wrapper as well.

thanks to @puppygirlhornypost for noticing
2024-12-18 15:59:34 +00:00
dakkar
fb833d13cd preview AP objects as quotes - fix #595 2024-12-18 12:23:13 +00:00
Marie
042d46557d chore: remove leah from project members 2024-12-17 21:54:58 +00:00
Marie
38d7faffdb merge: make it harder to fumble opening a collapsed replied-to note (!811)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/811

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:53:19 +00:00
Marie
241949da04 merge: fix(frontend): Ensure physics run consistently across different device framerates (!823)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/823

Closes #684

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:50:39 +00:00
dakkar
3e0558c953 merge: Add missing back buttons to following/follower pages (!824)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/824

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 20:35:13 +00:00
Marie
3b5e3fd460 merge: Make schedule time work cross timezones (!819)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/819

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-17 20:29:33 +00:00
CenTdemeern1
67a0d8a56e Add missing back buttons to following/follower pages 2024-12-17 20:09:21 +01:00
CenTdemeern1
f9100d4dcf bubble-game: Use setInterval instead of requestAnimationFrame
This makes sure Misskey's Bubble Game always runs at a consistent rate, even when the monitor isn't 60hz
2024-12-17 17:55:40 +01:00
Hazelnoot
326f836b96 disable blinking indicators added in 3cea890eba0b5137adcc4cb0d4fa2b2286914892 2024-12-16 14:45:33 -05:00
かっこかり
0804092426
fix(frontend): serverContextの型エラーを修正 (#15131)
* fix(frontend): serverContextの型エラーを修正

* add comment
2024-12-16 09:03:46 +09:00
かっこかり
3e0fcaeca8
fix(frontend): 絵文字管理画面で絵文字が表示されないことがある問題を修正 (#15128)
* fix(frontend): 絵文字管理画面で絵文字が表示されないことがある問題を修正

* Update Changelog

* optimize
2024-12-16 09:02:38 +09:00
かっこかり
5a2b29a3b4
enhance(frontend): PC画面でチャンネルが複数列で表示されるように (#15129)
* チャンネル一覧の列を最大3列にした (Otaku-Social#13)

* fix

* fix

* fix

* 🎨

* fix

* 🎨

* Update Changelog

* Update Changelog

* 要らない_marginを消す

---------

Co-authored-by: tmorio <morikapusan@morikapu-denki.com>
2024-12-16 08:57:37 +09:00
Marie
e50ff9db6a
upd: make schedule time work cross timezones 2024-12-15 22:41:16 +01:00
dakkar
e2352839e4 merge: upstream changes for 2024.11 (!742)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/742

Closes #645 and #646

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-15 17:27:12 +00:00
Hazelnoot
dfcba23e0b merge: Add locales and new navbar entry (!815)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/815

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-15 16:46:23 +00:00
CenTdemeern1
696a5d852c Update Leah's profile picture in about-sharkey 2024-12-15 17:08:52 +01:00
dakkar
0c1dd73341 on 429, retry fetchAccount instead of failing
when switching between accounts, with many tabs open (10 seem to be
enough), they all hit the endpoint at the same time, and some get rate
limited.

treating a 429 as a fatal error confuses the frontend, which ends up
logging the user out of all their accounts.

this code makes the frontend retry, after waiting the appropriate
amount of time.

seems to work fine in my testing.
2024-12-13 16:18:10 +00:00
Marie
b2facb2ee8 revert forced editor eslint formatting 2024-12-12 20:48:50 +00:00
Marie
dddfdf8a13
Add locales and new navbar entry 2024-12-12 21:45:54 +01:00