Commit graph

5287 commits

Author SHA1 Message Date
Marie af5ebdfced
merge: more upstream changes 2024-02-07 21:52:27 +01:00
syuilo 52bf808d89 typo 2024-02-07 20:52:23 +09:00
かっこかり 155896a851
enhance(frontend/HorizontalSwipe): 操作性の改善 (#13038)
* Update swipe thresholds and touch-action

* スワイプ中にPullToRefreshが反応しないように

* 横スワイプに関与する可能性のある要素がある場合はスワイプを発火しないように

* update threshold

* isSwipingを外部化

* rename

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-02-07 20:02:29 +09:00
MeiMei 313ce82192
正しい 2024.2.0-beta.10 改版手順? (#13173)
* 正しい 2024.2.0-beta.10 改版手順?

* run build-misskey-js-with-types
2024-02-07 19:59:06 +09:00
1Step621 56d7f58626
Fix(frontend): MkCodeEditorで行がずれていくのを修正 (#13188)
* MkCodeEditorで行がずれていくのを修正

* update CHANGELOG.md
2024-02-07 19:58:21 +09:00
MeiMei e89d760240
Enhance: 連合向けのノート配信を軽量化 (#13192)
* AP HTML表現をシンプルに

* a

* CHANGELOG

* リンク
2024-02-07 19:57:59 +09:00
Marie 1fa347390a
fix: add missing diff between SkNote* and MkNote* 2024-02-06 21:27:42 +01:00
Marie 6a94a52131
merge: upstream 2024-02-06 21:23:37 +01:00
おさむのひと c81b61eb2e
fix(misskey-js): 自動生成物の冒頭からバージョンと日付を削除 (#13185) 2024-02-06 21:03:29 +09:00
かっこかり 500ea793b3
fix(bubble-game): 共有用画像のコメントにnullが入る問題を修正 (#13183) 2024-02-06 19:24:52 +09:00
Kisaragi 93e711d8a9
chore(frontend): reword possible typo (#13182) 2024-02-06 17:17:52 +09:00
MeiMei d6cb68b091
AP Key の JSON-LD 表現を修正 (#13170) 2024-02-06 16:51:14 +09:00
かっこかり 6829ecb509
enhance(frontend): リモートへの引用リノートと同一のリンクにはリンクプレビューを表示しないように (#13178)
* enhance(frontend): リモートへの引用リノートと同一のリンクにはリンクプレビューを表示しないように

* Update Changelog

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-02-06 16:49:57 +09:00
Soli 4bf3974abd
fix(frontend): エラー画像URLを設定した後解除すると,デフォルトの画像が表示されない問題の修正 (#13172)
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-02-06 16:47:17 +09:00
1Step621 74245df382
Enhance(frontend): フロント側でもリアクション権限のチェックをするように (#13134)
* フロント側でもリアクション権限のチェックをするように

* update CHANGELOG.md

* lint fixes

* remove unrelated diffs

* deny -> reject
denyは「(信用しないことを理由に)拒否する」という意味らしい

* allow -> accept

* EmojiSimpleにlocalOnlyを含めるように

* リアクション権限のない絵文字は打てないように(ダイアログを出すのではなく)

* regenerate type definitions

* lint fix

* remove unused locales

* remove unnecessary async
2024-02-06 16:45:21 +09:00
かっこかり edb39a089d
enhance(frontend): KeepAliveのページキャッシュを削除できるように (#13180)
* enhance(frontend): 内部のページキャッシュを削除できるように

* Update Changelog
2024-02-06 16:26:03 +09:00
かっこかり 16eccad492
enhance(frontend): シンタックスハイライトにテーマを適用できるように (#13175)
* enhance(frontend): シンタックスハイライトにテーマを適用できるように

* Update Changelog

* こっちも

* テーマの値がディープマージされるように

* 常にテーマ設定に準じるように

* テーマ更新時に新しいshikiテーマを読み込むように
2024-02-06 15:03:07 +09:00
Marie 0aadc302c3 fix: quote being returned as null instead of false on mastodon api 2024-02-05 19:38:00 +00:00
Amelia Yukii 31a74dc591 merge: upd: shorten navbars to save space on mobile (!404)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/404

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-02-05 11:55:01 +00:00
blueb 9b0d078fba upd: replace pencil icon, widget icon 2024-02-05 06:39:15 -05:00
blueb 327d4b3e88 upd: shorten navbars to save space on mobile 2024-02-05 06:27:29 -05:00
zyoshoka 0df069494e
refactor(frontend): os.popup()eventsの型チェックを有効化 (#13165) 2024-02-05 15:02:30 +09:00
taichan ddfc3b8a6a
Fix(frontend): クロップ後の解像度が異様に低くなる問題の修正&クロップに失敗する問題&コメントにnullという文字列が入る問題の修正 (#13162)
* Fix(frontend): Fix resolution of cropped image (misskey-dev#11489)

* CHANGELOG

* Fix(frontend): クロップの際、folderIdがnullだと文字列のnullが送られ検索できない問題

* Fix: キャプションが存在しないときにクロップすると'null'がキャプションに入ってしまう問題 (misskey-dev#11813)

* Update CHANGELOG
2024-02-05 15:01:31 +09:00
syuilo 03351cec0c update patrons 2024-02-05 11:03:12 +09:00
ShittyKopper 27ce301f45 fix: reply hover effect 2024-02-04 16:42:43 +03:00
ShittyKopper 592f77371f upd: rename SkNoteSub property 2024-02-04 15:21:57 +03:00
ShittyKopper 3107345d3c fix: local instance ticker bug that fails to render notes in dev mode 2024-02-04 15:21:57 +03:00
ShittyKopper 5ef8e3123b upd: only enable hover effect on SkNoteDetailed and replies 2024-02-04 15:21:57 +03:00
ShittyKopper c61adcf61d upd: expandAllCws also expands all long posts on first click
this mimics glitch-soc behavior
2024-02-04 15:21:57 +03:00
ShittyKopper bffac25c57 upd: smoothly resize reply avatars depending on container size 2024-02-04 15:21:57 +03:00
ShittyKopper 7461332d0f upd: add hover effect to quote posts 2024-02-04 15:21:57 +03:00
ShittyKopper 3818e9531f upd: make note footer wider on smaller screens
3cc8320eb7

Co-authored-by: blueb <ihateblueb@proton.me>
2024-02-04 15:21:57 +03:00
ShittyKopper 1bc2da2bda upd: make avatars smaller on replies to allow more space for text
i'm unsure about the batch of @container blocks at the end of the CSS,
they seem like leftovers from a previous implementation. removing them
didn't seem to change anything but i may be overlooking something.
2024-02-04 15:21:57 +03:00
ShittyKopper 1baec59efd fix: missing icon in MkMediaVideo 2024-02-04 15:21:57 +03:00
ShittyKopper 44a8249404 fix: blue highlight on chromium when using click to open 2024-02-04 15:21:57 +03:00
ShittyKopper bc99318707 fix: mentions wrapping 2024-02-04 15:21:57 +03:00
ShittyKopper cd52686fd3 fix: click to open on quotes 2024-02-04 15:21:57 +03:00
ShittyKopper 02c9c42075 fix: links triggering clickToOpen 2024-02-04 15:21:57 +03:00
blueb fae3af4342 fix: adjust alignment and margin of icon in detailed note tabs 2024-02-04 15:21:57 +03:00
Gianni Ceccarelli dabf1867fd
keep cached avatar&banner when refresh fails to get new values (#13145)
* keep cached avatar&banner when refresh fails to get new values

when the remote explicitly tells us a user image is gone, we remove
our cached value, but if we fail to get the image, we keep whatever
value we already have

this should minimise the problem of avatars randomly disappearing

* autogen bits

* pnpm run build-misskey-js-with-types

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2024-02-04 21:03:49 +09:00
Gianni Ceccarelli bafef1f8b4
ignore instance.actor when checking if there are local users (#13146)
* ignore `instance.actor` when checking if there are local users

We've seen this happen a few times:

* there was some AP software at $some_domain
* it gets replaced by Misskey
* before the first user can be created, an AP activity comes in
* Misskey resolves the activity
* to do this, it creates the `instance.actor` to sign its request
* now there *is* a local user, so the `meta` endpoint returns
  `requireSetup:false`
* the admin is very confused

This commit factors out the check, and doesn't count the
`instance.actor` as a real user.

* autogen bits
2024-02-04 20:46:28 +09:00
atsuchan 2c4ba4723f
fix(backend): メール配信機能が無効ならばメールを送ることのないように (#13152)
Do not send email if email delivery is disabled
2024-02-04 20:44:35 +09:00
ShittyKopper f40c3a2d9f fix: duplicate root dom element in dev mode 2024-02-04 12:51:14 +03:00
ShittyKopper a4439ed803 fix: bring back the ability to hover on videos to show alt text 2024-02-04 12:51:14 +03:00
ShittyKopper 8a55d8a468 upd: add a download button to videos and audio
this only works for media from the same origin due to annoying browser
restrictions, but then the same applies to every other download button
in misskey (e.g. the one in drive) and there's basically nothing i can
to do solve it.
2024-02-04 12:51:14 +03:00
Marie 6b068d2311 upd: add back focus 2024-02-03 21:17:46 +00:00
dakkar dff7b98ebc add types like upstream did in MkNoteDetailed 2024-02-03 21:14:00 +00:00
Marie 23e9067f57
fix: accidental replacing of noteEl to rootEl 2024-02-03 21:37:51 +01:00
Marie bd0186296c
fix: scrolling to note 2024-02-03 21:35:55 +01:00
Marie 2a50e6e9e7
upd: apply changes 2024-02-03 21:29:46 +01:00