Commit Graph

1162 Commits

Author SHA1 Message Date
Marie d3fbef20f4 fix: hard mutes not working on SkNote component
Closes #305
2024-01-07 01:50:58 +01:00
syuilo 746367004e feat(frontend): add new game 2024-01-06 20:15:28 +09:00
Chocolate Pie 072f67d6e7
feat: Add support for mCaptcha (#12905)
* feat: Add support for mCaptcha

* fix: Fix docker compose configuration

* chore(frontend/docs): update changelog & fix eslint errors

* `@mcaptcha/vanilla-glue`をダイナミックインポートするように

* chore: Add missing prefix to CHANGELOG

* refactor(backend): 適当につけた変数の名前を変更
2024-01-06 20:14:33 +09:00
dracoling 62c913ad96 Move IMPORTANT_NOTES.md link to stable branch 2024-01-05 10:15:48 +01:00
syuilo 7768385be2 refactor(frontend): reduce type errors 2024-01-05 15:25:26 +09:00
dracoling c9fb172556 Change url for IMPORTANT_NOTES.md to correct repository 2024-01-05 05:28:37 +01:00
syuilo 2177792a3c refactor(frontend): reduce type errors 2024-01-05 12:52:24 +09:00
syuilo 9e20065496 refactor(frontend): reduce type errors 2024-01-05 12:38:06 +09:00
Marie 3c3c5e190a
upd: add tossface emojis as an option 2024-01-04 20:42:25 +01:00
おさむのひと fa9c4a19b9
refactor(frontend): os.tsに引き込んだscripts/api.tsの再exportをやめる (#12694)
* refactor(frontend): os.tsに引き込んだscripts/api.tsの再exportをやめる

* fix

* fix

* renate to "misskeyApi"

* rename file
2024-01-04 18:32:46 +09:00
Volpeon bafb197b62
Fix: Thread line misalignment on smaller viewports (#307) 2024-01-03 20:38:40 +01:00
Volpeon 96df8c25de
Show conversation note hover effect on focus 2024-01-03 16:22:36 +01:00
Volpeon 1ca0cd727e
Hover effect for conversation notes (like Firefish) 2024-01-03 14:42:51 +01:00
Volpeon 43b3b5a34b
Ported Firefish's note focus behavior 2024-01-03 13:52:46 +01:00
Volpeon 32f60f9969
Bring renote indicator closer to note (like Firefish) 2024-01-03 11:37:50 +01:00
かっこかり 30c3f6a222
(fix) MkFormDialogにせっていできる項目がない場合はその旨を表示するように (#12837) 2024-01-03 13:42:09 +09:00
Marie 714ffbf2c8 fix: reaction icon causing 2 remove pop ups
Closes #300
2024-01-03 02:27:45 +01:00
Marie 0197d3354a
fix: lint 2024-01-02 12:32:49 +01:00
かっこかり 9c5559a570
(fix) MkButtonがリンクのときホバー時にunderlineが出る問題を修正 (#12849) 2024-01-02 17:48:11 +09:00
かっこかり 3187c6b28d
refactor(frontend): MkNumberのアニメーションを内製してgsapを削除 (#12859)
* (refactor) MkNumberのアニメーションを内製

* 秒数調整

* fix

* fix pnpm-lock

* Update packages/frontend/src/components/MkNumber.vue

* Update packages/frontend/src/components/MkNumber.vue

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-01-02 16:55:02 +09:00
かっこかり 5498ec57d0
fix(frontend): MkCodeEditorのデータバインディングを修正 (#12885)
* (fix) MkCodeEditorの双方向データバインディング

* fix
2024-01-02 14:53:28 +09:00
Marie b87142d2f7
fix: like button not playing reaction sound 2024-01-02 00:47:08 +01:00
Marie c9ca1dd3f1
upd: add boost settings 2024-01-01 20:34:18 +01:00
Volpeon f92f474088
Bring note style closer to Firefish 2024-01-01 17:44:13 +01:00
Alice Mikhaylenko 499b2b03aa upd: use misskey shadow for the sharkey ticker, prevent clipping 2024-01-01 04:25:14 +04:00
Marie 6a46e30f67
chore: fix icons 2023-12-31 22:26:46 +01:00
Marie ce6fadf767 fix: broken icon in emoji picker 2023-12-31 22:17:40 +01:00
dakkar f42e2bacd4 (probably) fix line length between note and 1st reply 2023-12-31 20:56:16 +00:00
Marie 8336b6c6b4
upd: check for replies length 2023-12-31 18:41:29 +01:00
Insert5StarName 2b06b822ac
fix: detailed view being dashed 2023-12-31 15:55:00 +01:00
Marie 97dea59e49 merge: enhance module player hide pattern when not needed (#282) 2023-12-31 06:42:13 +01:00
tamaina 2a33981811
chore: use summaly, browser-image-resizer, and sharp-read-bmp on registry.npmjs.org instead of git (#12856)
* chore: use @misskey-dev/summaly on registry.npmjs.org instead of git

* fix backend dependency

* fic backend dependency

* @misskey-dev/sharp-read-bmp

* fix

* use @misskey-dev/browser-image-resizer
2023-12-31 09:45:35 +09:00
Marie 265bcf54b0
upd: remove collapsed mentions
Glitchy/Broken CSS - Won't get any fixes by free so it is best to just undo the change

Closes #279
Closes #278
2023-12-30 23:14:00 +01:00
Vavency 386e4f2665 fix: lint MkModPlayer 2023-12-30 21:07:24 +02:00
Vavency 4856b019ce enhance (frontend): hide module player pattern display 2023-12-30 16:09:46 +02:00
Marie 70433db9d9
fix: button effect not lining up on sub notes|
Closes #277
2023-12-29 18:36:15 +01:00
かっこかり 8fb8d7c10c
enhance(frontend): ハッシュタグ入力時に、本文の末尾の行に何も書かれていない場合は新たにスペースを追加しないように (#12851)
* (enhance) ハッシュタグ入力時に、本文の末尾の行に何も書かれていないならスペースを追記しない

* Updahe Changelog
2023-12-29 18:22:40 +09:00
YAVIIGI b0301dd2fb
feat(frontend): 投稿ウインドウにMFM要素を追加するボタンの追加 (#12788)
* functionPicker の追加

* Update CHANGELOG.md

* fix lint errors

* Add addMfmFunction

* add enableQuickAddMfmFunction setting

* Update CHANGELOG.md

issue 番号を追加

* Update index.d.ts

* change 'functionPicker' to 'mfmFunctionPicker'

* Change indent from 4 space to 1 tab

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-28 09:47:14 +01:00
1Step621 49e2eb87e9
Fix(frontend): MFMでfgとbgに長い単語を使うと改行されない問題を修正 (#12819)
* MFMでfgとbgに長い単語を使うと改行されない問題を修正

* update CHANGELOG.md
2023-12-28 09:46:46 +01:00
GrapeApple0 5e0eb76d3b
Revert "refactor: paginationの型を明示する (#12809)" (#12810)
This reverts commit 6855079811.
2023-12-28 09:46:20 +01:00
syuilo 08cd5ef8f5
🎨 2023-12-28 09:46:19 +01:00
Chocolate Pie 82822e29d9
Merge pull request from GHSA-7pxq-6xx9-xpgm
* fix: fix improper authorization when accessing with third-party application

* refactor: refactor type definitions

* fix: get rid of unnecessary access limitation

* enhance: サードパーティアプリケーションがWebsocket APIを使えるように

* fix: add missing parentheses

* Revert "fix(backend): add missing kind definition for admin endpoints to improve security"

This reverts commit 5150053275.

* frontend: 翻訳の抜けを訂正, read:adminとwrite:adminはアクセス発行トークンのデフォルトでは非表示にする

* enhance(test): misskey-ghsa-7pxq-6xx9-xpgmに関するテストを追加

* enhance(test): Websocket APIに対するテストも追加

* enhance(refactor): `@/misc/api-permissions.ts`を`misskey-js/permissions`に統合

* fix(frontend): アクセストークン発行UIで全ての権限を有効にした際、管理者用APIへのアクセスも許可してしまう問題を修正

* enhance(backend): Websocketの接続に最低限必要な権限を変更

* fix(backend): `/api/admin/meta`をサードパーティアプリケーションからはアクセスできないように

* fix(backend): エンドポイントにアクセスするために必要な権限を変更

* fix(frontend/locale): Add missing type declaration

* chore: update `misskey-js/src/autogen`

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-12-28 09:45:54 +01:00
GrapeApple0 6415a789ae
refactor: paginationの型を明示する (#12809)
* refactor: paginationの型を明示する

* asではなくsatisfiesを使うように
2023-12-28 09:45:16 +01:00
zyoshoka 8daff4a998
refactor(frontend): Reactivityで型を明示するように (#12791)
* refactor(frontend): Reactivityで型を明示するように

* fix: プロパティの参照が誤っているのを修正

* fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
2023-12-28 09:45:15 +01:00
Soli 6876eca6b5
fix(frontend): ロールアサイン時の通知で,ロールアイコンが縮小されずに表示される問題を修正 (misskey-dev#12805) (#12806) 2023-12-28 09:44:14 +01:00
FineArchs 9c17e0f976
Feat: クリックイベントを発生させるMFM構文を追加 (#12798)
* Update MkMisskeyFlavoredMarkdown.ts

* fix MkMisskeyFlavoredMarkdown.ts

* Update MkAsUi.vue

* Update ui.ts

* Fix MkMisskeyFlavoredMarkdown.ts

* Update CHANGELOG.md

* fix ui.ts

* revert CHANGELOG.md

* Update CHANGELOG.md
2023-12-28 09:43:49 +01:00
zyoshoka ed3e30581f
refactor(frontend): import宣言周りのエラーを修正 (#12773) 2023-12-28 09:43:12 +01:00
Marie 2201cd6d0c merge: another batch of small ui tweaks (#255) 2023-12-28 09:02:18 +01:00
Marie 3f6fbbaf05
upd: improve indication of multiple poll
Closes #202
2023-12-27 23:30:25 +01:00
YAVIIGI 47558a6648
feat(frontend): 投稿ウインドウにMFM要素を追加するボタンの追加 (#12788)
* functionPicker の追加

* Update CHANGELOG.md

* fix lint errors

* Add addMfmFunction

* add enableQuickAddMfmFunction setting

* Update CHANGELOG.md

issue 番号を追加

* Update index.d.ts

* change 'functionPicker' to 'mfmFunctionPicker'

* Change indent from 4 space to 1 tab

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-27 20:57:43 +09:00
1Step621 2a5c9e6002
Fix(frontend): MFMでfgとbgに長い単語を使うと改行されない問題を修正 (#12819)
* MFMでfgとbgに長い単語を使うと改行されない問題を修正

* update CHANGELOG.md
2023-12-27 20:41:01 +09:00
ShittyKopper 5d746d4ee5 fix: hide photoswipe alt text when its empty 2023-12-27 13:19:29 +03:00
GrapeApple0 6439c7b64b
Revert "refactor: paginationの型を明示する (#12809)" (#12810)
This reverts commit 6855079811.
2023-12-27 15:55:09 +09:00
syuilo 8904e0a12b 🎨 2023-12-27 15:15:08 +09:00
Chocolate Pie c96bc36fed
Merge pull request from GHSA-7pxq-6xx9-xpgm
* fix: fix improper authorization when accessing with third-party application

* refactor: refactor type definitions

* fix: get rid of unnecessary access limitation

* enhance: サードパーティアプリケーションがWebsocket APIを使えるように

* fix: add missing parentheses

* Revert "fix(backend): add missing kind definition for admin endpoints to improve security"

This reverts commit 5150053275.

* frontend: 翻訳の抜けを訂正, read:adminとwrite:adminはアクセス発行トークンのデフォルトでは非表示にする

* enhance(test): misskey-ghsa-7pxq-6xx9-xpgmに関するテストを追加

* enhance(test): Websocket APIに対するテストも追加

* enhance(refactor): `@/misc/api-permissions.ts`を`misskey-js/permissions`に統合

* fix(frontend): アクセストークン発行UIで全ての権限を有効にした際、管理者用APIへのアクセスも許可してしまう問題を修正

* enhance(backend): Websocketの接続に最低限必要な権限を変更

* fix(backend): `/api/admin/meta`をサードパーティアプリケーションからはアクセスできないように

* fix(backend): エンドポイントにアクセスするために必要な権限を変更

* fix(frontend/locale): Add missing type declaration

* chore: update `misskey-js/src/autogen`

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-12-27 15:08:59 +09:00
ShittyKopper aafdcccd24 fix: note history not working 2023-12-26 22:02:48 +03:00
ShittyKopper 32318bbbfa fix: un-hardcode more border radius values
all of these are blind find and replace, no clue if they end up breaking
anything
2023-12-26 22:02:48 +03:00
ShittyKopper 62a5793e71 fix: don't show filename as alt text 2023-12-26 22:02:48 +03:00
ShittyKopper 2f5c51c1ca fix: don't load text of empty draft
this fixes a small ux quirk where blanking a reply and cancelling it
results in an empty reply next time you try to reply to that note, accidentally
un-tagging everyone
2023-12-26 22:02:48 +03:00
GrapeApple0 6855079811
refactor: paginationの型を明示する (#12809)
* refactor: paginationの型を明示する

* asではなくsatisfiesを使うように
2023-12-26 21:40:27 +09:00
zyoshoka 75034d9240
refactor(frontend): Reactivityで型を明示するように (#12791)
* refactor(frontend): Reactivityで型を明示するように

* fix: プロパティの参照が誤っているのを修正

* fix: 初期化の値を空配列に書き換えていた部分をnullに置き換え
2023-12-26 14:19:35 +09:00
Soli eb23798c9f
fix(frontend): ロールアサイン時の通知で,ロールアイコンが縮小されずに表示される問題を修正 (misskey-dev#12805) (#12806) 2023-12-26 11:40:31 +09:00
dakkar 8fd72fa12c remove spurious indent 2023-12-25 19:51:41 +00:00
dakkar 8d291ef039 formula component based on katex
thanks a lot to MoshiBar for the initial implementation!
2023-12-25 18:12:55 +00:00
FineArchs 4f247a0784
Feat: クリックイベントを発生させるMFM構文を追加 (#12798)
* Update MkMisskeyFlavoredMarkdown.ts

* fix MkMisskeyFlavoredMarkdown.ts

* Update MkAsUi.vue

* Update ui.ts

* Fix MkMisskeyFlavoredMarkdown.ts

* Update CHANGELOG.md

* fix ui.ts

* revert CHANGELOG.md

* Update CHANGELOG.md
2023-12-25 18:03:06 +09:00
zyoshoka 0009aa332b
refactor(frontend): import宣言周りのエラーを修正 (#12773) 2023-12-24 16:16:58 +09:00
Marie 53365159e8 merge: real-time updates on note detail view (#246)
Closes #223

Reviewed-on: https://git.joinsharkey.org/Sharkey/Sharkey/pulls/246
Reviewed-by: Marie <marie@kaifa.ch>
2023-12-23 21:00:00 +01:00
Marie eb036d558f fix: note footer not properly resizing 2023-12-23 19:21:37 +01:00
dakkar e14a06cd16 always use black shadow in instance ticker #238
we know this looks decent because it's what the MkInstanceTicker
already does
2023-12-23 15:31:19 +00:00
dakkar fea6428245 add missing `.value` 2023-12-23 14:47:14 +00:00
dakkar 576a87118c real-time update: adjust replyCount up/down
this also fixes the connecting lines in the Sk-style view

thanks @ShittyKopper for reporting the bug!

NOTE: at this point, the `isDeletedRef` boolean is pretty much
useless, because we're directly removing deleted notes from the
`replies` array and therefore from the DOM (we were just hiding them,
before); I'm intentionally not touching `isDeletedRef` to simplify
merges from upstream
2023-12-23 14:09:52 +00:00
dakkar d06939bd25 real-time update: hide deleted replies 2023-12-23 14:09:52 +00:00
dakkar 683b4aafb2 real-time updates on note detail view
`useNoteCapture` already subscribes to all updates for a note, so
we can tell it when a note gets replied to, too

Since I'm not actually adding any extra subscription in the client,
just an extra callback, there should be no overhead when replies are
not coming in.

Also, all the timelines already call `useNoteCapture` for each note
displayed, so we know the whole `GlobalEventService` thing works fine.

Many thanks to VueJS for taking care of all the DOM complications
2023-12-23 14:09:51 +00:00
Marie b3b89567ee merge: upstream 2023-12-23 14:26:24 +01:00
Marie 166a940f02 chore: lint 2023-12-23 04:26:23 +01:00
GrapeApple0 5b5a537f56
feat: 登録を拒否するメールアドレスのドメインを手動で設定できるように (#12740)
* feat: 使い捨てアドレスのドメインを手動で設定できるように

* Update CHANGELOG.md

* disposableEmailDomains -> bannedEmailDomains

* isBlockedHostを使うように
2023-12-23 12:06:22 +09:00
Marie 5db583a3eb merge: upstream 2023-12-23 02:09:23 +01:00
ikasoba 5eb944ecde
enhance: チャンネルに新規の投稿がある場合にバッジを表示させる (#12690)
* 多分できたかも

* 不要なpropsを削除

* 不要なimportを削除

* 縁を付けた

* 枠線の位置を端に寄せた

* やっぱり内側へ寄せることにした

* できたかも

* 修正

* 修正

* クラスにまとめた

* 微調整

* 直せたかも

* importを付け足し

* 多分できたかも

* Update channel.vue

* Update MkMenu.vue

* Update channel.vue

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-22 20:41:42 +09:00
かっこかり 3d4af18327
[Hub Next] Misskey Hubのリンクを変更 (#12699)
* misskey hub のリンクを変更

* misskey-hub.net -> assets.misskey-hub.net
Related to misskey-dev/misskey-hub-next#57
2023-12-22 20:16:31 +09:00
syuilo 179cb1d813 fix type 2023-12-22 20:14:20 +09:00
Marie fd9ba530ba fix: clicking on reaction icon not triggering toggle
Closes #239
2023-12-21 22:34:10 +01:00
woxtu c92508a575
Remove unused imports (#12730) 2023-12-21 11:36:45 +09:00
syuilo 15b0d2aff2
enhance: ロールにアサインされたときの通知 (#12607)
* wip

* Update misskey-js.api.md

* Update CHANGELOG.md

* Update RoleService.ts

* Update locales/ja-JP.yml

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

* Update UserListService.ts

* Update misskey-js.api.md

* fix (#12724)

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2023-12-21 10:39:11 +09:00
1STEP621 10d4ae107b
Fix(frontend): CW内などの画像が表示されないことがあるバグを修正 (#12721)
* 画像のアスペクト比をデフォルト以外に設定しているとCW内の画像が表示されないのを修正

* fix
2023-12-20 16:19:49 +09:00
Marie b7bfdd5d0c upd: remove outdated search example from MfM Cheatsheet 2023-12-19 11:24:38 +01:00
1STEP621 eeedef59c4
Fix(frontend): CWボタンに常に「引用」が出てしまうのを修正 (#12715)
* RNと引用RNの判定が間違っているのを修正

* remove dump.rdb

* update CHANGELOG.md

* lint fix

* fix cw button label
2023-12-19 18:30:31 +09:00
zawa-ch 4e2d802967
enhance: “つながりの公開範囲”がフォロー・フォロワー個別設定できるように (#12702)
* Enhance: “つながりの公開範囲”がフォロー・フォロワー個別設定できるように (#12072)

* refactor: crowdin 編集部分のコミットを打ち消し

https://github.com/misskey-dev/misskey/pull/12702#issuecomment-1859417158

* refactor: オブジェクトの名前修正

https://github.com/misskey-dev/misskey/pull/12702#issuecomment-1859417158

* fix: 設定項目の説明を削除

名称が具体的になって必要なくなったため
https://github.com/misskey-dev/misskey/pull/12702#discussion_r1429932463
2023-12-18 20:59:20 +09:00
1STEP621 f6ff3b1f1a
Fix: Renoteの判定が間違っているのを修正 (#12706)
* RNと引用RNの判定が間違っているのを修正

* remove dump.rdb

* update CHANGELOG.md

* lint fix
2023-12-18 19:49:19 +09:00
1STEP621 38b82b8582
Enhance(frontend): Shift+Tabで前の補完候補が選択できるように (#12704)
* Shift+Tabで前の補完候補が選択できるように

* update CHANGELOG.md
2023-12-18 14:59:55 +09:00
Marie c92c2d065f upd: replace mfm with sfm 2023-12-18 03:03:05 +01:00
果物リン 67824cfc89
fix lint error (#12692) 2023-12-17 17:41:14 +09:00
果物リン c167f20643
feature: チャンネル投稿はフォームに色がつくとうれしい (#12686) 2023-12-16 14:13:38 +09:00
かっこかり 17065418cf
(enhance) コード入力をMkCodeEditorに変更 (#12682) 2023-12-16 13:18:12 +09:00
かっこかり b1a7dcb05b
enhance(frontend): コードブロックのハイライト機能を利用するには言語を明示的に指定させるように (#12681)
* (enhance) コードブロックのハイライトを使用するには言語指定を求める

* Update changelog

* fix

* typo
2023-12-16 12:34:35 +09:00
1STEP621 272dc208b4
Fix(frontend): ほとんどのMkTextareaでMFMプレビューが表示されてしまっている問題を修正 (#12672)
* ほとんどのMkTextareaでMFMのプレビューが表示されてしまっている不具合を修正

* refactor

* そもそも #12130 でプロフィールはnyaizeされない仕様にもどっていたらしいので修正
2023-12-15 17:57:31 +09:00
1STEP621 c41924399b
コード入力ボックスでTabを入力できるように (#12671) 2023-12-15 17:18:31 +09:00
syuilo eacc2040a1 perf(frontend): introduce MkLazy for lazy loading 2023-12-15 15:37:19 +09:00
syuilo 417852779f enhance: アイコンデコレーションの位置を微調整できるように 2023-12-14 20:58:08 +09:00
YAVIIGI d7766162d6
feat(frontend): MFM のアニメーション要素に delay オプションを追加 (#12659)
* Add delay option

* Update CHANGELOG.md
2023-12-14 17:57:57 +09:00
おさむのひと b9318d09ee
fix(frontend) リアクションの表示位置を微調整 (#12651)
* fix(frontend) リアクションの表示位置を微調整

* fix inline-flex
2023-12-14 16:17:01 +09:00