Commit Graph

1231 Commits

Author SHA1 Message Date
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
おさむのひと a92795d90f
feat(frontend): 絵文字ピッカーの実装 (#12617)
* 絵文字デッキの作成

* 細かい不備を修正

* fix lint

* fix

* fix CHANGELOG.md

* fix setTimeout -> nextTick

* fix https://github.com/misskey-dev/misskey/pull/12617#issuecomment-1848952862

* fix bug

* fix CHANGELOG.md

* fix CHANGELOG.md

* wip

* Update CHANGELOG.md

* Update CHANGELOG.md

* wip

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-14 14:11:20 +09:00
1STEP621 b33fe53047
Enhance(frontend): MFMや絵文字が使える入力ボックスでオートコンプリートを使えるように (#12643)
* rich autocomplete for use in profiles, announcements, and channel descriptions

* implementation omissions

* add tab, apply to page editor, and fix something

* componentization

* fix nyaize doesn't working in profile preview

* detach autocomplete instance when unmounted

* fix: mismatched camelCase

* remove unused / unnecessary styles

* update CHANGELOG.md

* fix lint

* remove dump.rdb

* props.richAutocomplete -> autocomplete

* Update packages/frontend/src/scripts/autocomplete.ts

* clarify namings
メンションなども「MFM」に含まれるのか自信がなかったのでrichSyntaxなどとぼかしていましたが、含むようなので変更しました

* tweak

* Update MkFormDialog.vue

* rename

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-14 13:11:23 +09:00
syuilo 839b7483ac enhance(frontend): 同じ種類のデコレーションを複数付けられるように 2023-12-14 11:29:27 +09:00
かっこかり 71bb181472
fix(frontend): MkAnimBgをリサイズに対応させる (#12642)
* (fix) MkAnimBgをリサイズに対応させる

* fix lint

* refactor
2023-12-13 18:14:43 +09:00
syuilo 5472f4b934 enhance: アイコンデコレーションを複数設定できるように 2023-12-13 16:56:19 +09:00
YAVIIGI daea5a39ad
fix(frontend): ノート中の絵文字をタップして「リアクションする」を押したときにリアクションサウンドが鳴るようにする (#12624)
* Add sound.play() in copy reaction

* Update CHANGELOG.md

* fix lint error
2023-12-13 08:15:25 +09:00
syuilo b691126bff refactor(frontend): menuのdividerをnullで表現するのをやめる 2023-12-12 10:26:37 +09:00
woxtu ebdb443180
Fix trailing commas (#12628) 2023-12-11 20:31:23 +09:00
Acid Chicken (硫酸鶏) 2217d0c050
refactor(frontend): remove redundant class names (#12618) 2023-12-10 17:53:38 +09:00
woxtu 4c135a5ca1
Fix indentation (#12615) 2023-12-10 02:11:17 +09:00
Yuriha dd332b3515
Misskey Playのノート投稿画面で「内容を隠す」を設定できるようにする (#12576)
* Add the content warning option in AiScript UI postFormButton

* Fix initial CW in postFormButton

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-09 13:14:51 +09:00
Insert5StarName 702fc6b6f7
chore: update repo links 2023-12-09 03:02:14 +01:00
ShittyKopper 05166f79e1 upd: add option for reply depth 2023-12-08 11:35:26 +00:00
まっちゃとーにゅ ab5d2eca1f enhance(frontend): window.openやaタグにnoopenerオプションをつける (MisskeyIO#283) 2023-12-08 19:46:25 +09:00
zyoshoka 406b4bdbe7
refactor(frontend): 非推奨となったReactivity Transformを使わないように (#12539)
* refactor(frontend): 非推奨となったReactivity Transformを使わないように

* refactor: 不要な括弧を除去

* fix: 不要なアノテーションを除去

* fix: Refの配列をrefしている部分の対応

* refactor: 不要な括弧を除去

* fix: lint

* refactor: Ref、ShallowRef、ComputedRefの変数の宣言をletからconstに置換

* fix: type error

* chore: drop reactivity transform from eslint configuration

* refactor: remove unnecessary import

* fix: 対応漏れ
2023-12-07 14:42:09 +09:00
anatawa12 00b11b1f75
chore: hide thumbnail if website is sensitive (#12581) 2023-12-06 13:46:10 +09:00
Yuriha ad60e43ae4
タイムラインの「リノートを表示」のトグルスイッチが反応しない問題を直す (#12577)
* [frontend] Fix renote toggle switch

* Fix MkMenu rather than usage
2023-12-06 12:07:53 +09:00
Mar0xy 62d1cb490b
add: custom icon font 2023-12-05 22:20:51 +01:00
おさむのひと e90ad09551
fix (frontend): 絵文字ピッカー経由で投稿欄に絵文字を入れた際、ソフトウェアキーボードが立ち上がらないようにする (#12561) 2023-12-04 18:12:14 +09:00
anatawa12 18109fcef7
Filter User / Instance Mutes in FanoutTimelineEndpointService (#12565)
* fix: unnecessary logging in FanoutTimelineEndpointService

* chore: TimelineOptions

* chore: add FanoutTimelineName type

* chore: forbid specifying both withReplies and withFiles since it's not implemented correctly

* chore: filter mutes, replies, renotes, files in FanoutTimelineEndpointService

* revert unintended changes

* use isReply in NoteCreateService

* fix: excludePureRenotes is not implemented

* fix: replies to me is excluded from local timeline

* chore(frontend): forbid enabling both withReplies and withFiles

* docs(changelog): インスタンスミュートが効かない問題の修正について言及
2023-12-04 14:38:21 +09:00
Mar0xy 2f99c7e9dc
add: Bubble timeline
Closes  transfem-org/Sharkey#154
2023-12-04 02:10:51 +01:00
Mar0xy d586d1e6f8
upd: add additional check to visibility selector for boost 2023-12-04 00:26:47 +01:00
Mar0xy fb75282ea8
add: choose boost visibility when clicking boost
Closes transfem-org/Sharkey#195
2023-12-04 00:19:34 +01:00
Mar0xy 10b27ad972
fix: quotes showing in replies on a note 2023-12-03 20:43:25 +01:00
Mar0xy e5667913f7
add: expand all long notes option 2023-12-03 20:08:21 +01:00
Mar0xy 304a91a474
upd: change formlink handling 2023-12-03 20:01:05 +01:00
Mar0xy 0158b6fc1b
fix: Drive folder button not working
Closes #199
2023-12-03 19:59:01 +01:00
Mar0xy 620be4a9e1
add: auto uncollapse CW on all notes option
Closes transfem-org/Sharkey#191
2023-12-03 19:35:39 +01:00
Mar0xy aa4c3dfffe
chore: remove unused import 2023-12-03 19:17:42 +01:00
Mar0xy 00d798f922
upd: change margin for desktop view on back button 2023-12-03 19:15:16 +01:00
Mar0xy 1bb258b16a
add: back button in header
Closes transfem-org/Sharkey#196
2023-12-03 19:09:15 +01:00
Marie f639cc764c
chore: lint 2023-12-03 17:40:24 +01:00
おさむのひと 5e1d872404
入力フォームでもリアクション選択時に使用するピッカーを使うようにしたい (#12337)
* 入力フォームでもリアクション選択時に使用するピッカーを使うようにしたい

* erase console.log

* fix CHANGELOG.md

* reaction-picker.ts を戻し、今回の対応を入れた emoji-picker.ts を新たに作成

* fix CHANGELOG.md

* tweak

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-03 17:25:34 +09:00
かっこかり 5bf7813b2d
enhance/feat(frontend): データセーバーの改良・強化 (#12526)
* enhance(frontend): データセーバーを個別で設定できるように

* Update Changelog

* fix design

* (fix) 設定が当たらない

* fix test(無理やり感)

* (fix) 設定がない状態ですべて有効・向操作が効かない

* fix

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-03 10:58:42 +09:00
Insert5StarName 5db163bc67 upd: rework threading ui 2/2
Co-authored-by: daph <d@waal.me>
Co-authored-by: Marie <marie@kaifa.ch>
2023-12-02 20:29:01 +01:00
Marie 419bde43a6
upd: make `Show changes` redirect to the latest release page
Closes #192
2023-12-02 19:37:22 +01:00
Insert5StarName 183d24d63e fix: replys only going one layer deep 2023-12-02 13:55:15 +01:00
Mar0xy 45e191674d
fix: notifications not applying noteDesign option 2023-12-02 13:27:31 +01:00
Mar0xy f0fe8eceaf
upd: add option to select between note designs
Adds the ability to choose between `Sharkey` or `Misskey`
2023-12-02 13:09:25 +01:00
おさむのひと 336416261a
バックエンドが生成するapi.jsonからmisskey-jsの型を作成する (#12434)
* ひとまず生成できるところまで

* ファイル構成整理

* 生成コマンド整理

* misskey-jsへの組み込み

* fix generator.ts

* wip

* fix generator.ts

* fix package.json

* 生成ロジックの調整

* 型レベルでのswitch-case機構をmisskey-jsからfrontendに持ち込めるようにした

* 型チェック用のtsconfig.jsonを作成

* 他のエンドポイントを呼ぶ関数にも適用

* 未使用エンティティなどを削除

* misskey-js側で手動定義されていた型を自動生成された型に移行(ただしapi.jsonがvalidでなくなってしまったので後で修正する)

* messagingは廃止されている(テストのビルドエラー解消)

* validなapi.jsonを出力できるように修正

* 修正漏れ対応

* Ajvに怒られて起動できなかったところを修正

* fix ci(途中)

* パラメータenumをやめる

* add command

* add api.json

* 都度自動生成をやめる

* 一気通貫スクリプト修正

* fix ci

* 生成ロジック修正

* フロントの型チェックは結局やらなかったので戻しておく

* fix pnpm-lock.yaml

* add README.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 21:00:05 +09:00
anatawa12 a631b976c9
Refine fanout timeline (#12507)
* chore(endpoints/hybrid-timeline): don't pack inside getFromDb

* chore(endpoints/hybrid-timeline): Redisから取得する部分のうちSTLに依存しなそうなところを別のServiceに切り出し

* chore(endpoints/local-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/channels/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/user-list-timeline): FanoutTimelineEndpointServiceで再実装

* chore(endpoints/users/notes): FanoutTimelineEndpointServiceで再実装

* chore: add useDbFallback to FanoutTimelineEndpointService.timeline and always true for channel / user note list

* style: fix lint error

* chore: split logic to multiple functions

* chore: implement redis fallback

* chore: 成功率を上げる

* fix: db fallback not working

* feat: allowPartial

* chore(frontend): set allowPartial

* chore(backend): remove fallbackIfEmpty

HTL will never be purged so it's no longer required

* fix: missing allowPartial in channel timeline

* fix: type of timelineConfig in hybrid-timeline

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-02 18:25:07 +09:00
paihu cf3d45e7c8
fix(frontend): MFM ruby nyaize (#12362) 2023-12-02 17:09:22 +09:00
meron c190b720d3
feat(frontend): 絵文字ピッカーのカテゴリを多階層フォルダで分類できるように (#12132)
* Update CHANGELOG.md

* Feat:emoji picker folder select

* Fix: lint error

* Fix: lint error 2

* Fix: lint error 3

* カスタム絵文字のカテゴリ表示部分が長かったので短くした

* エフェクトが壊れて出ないのを修正

* padding 18px -> 9px

* Update CHANGELOG.md

* Revert: en-US.yml

* chg: Folder -> folder

* chg: isChildrenExits -> isChildren

* chg: isChildren -> categoryFolderFlag

* カテゴリ末尾が / の場合ピッカーから消失するので「その他」と扱い対応

* 特定のパターンのカテゴリ名でピッカーに出てこないのを修正

「i18n.ts.other」や「/」始まりの場合壊れる

* chg: categoryFolderFlag -> hasChildSection

* code format

* Del: ti-fw

* fix

* 絵文字とフォルダの表示順序入れ替え

* ネストした場合にパネルでどこまでがどのフォルダのものかをわかりやすくした

* fix lint

* カテゴリの名前が長いと表示がおかしくなる問題を修正

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com>
Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com>
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
Co-authored-by: xianon <xianon@hotmail.co.jp>
Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com>
Co-authored-by: YS <47836716+yszkst@users.noreply.github.com>
Co-authored-by: Khsmty <me@khsmty.com>
Co-authored-by: Soni L <EnderMoneyMod@gmail.com>
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com>
Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com>
Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
Co-authored-by: nenohi <kimutipartylove@gmail.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
Co-authored-by: FineArchs <133759614+FineArchs@users.noreply.github.com>
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2023-12-02 15:26:46 +09:00
かっこかり b37e8ffa69
(fix) 翻訳のダブりを解消 (#12519) 2023-12-02 12:05:03 +09:00
zyoshoka 43c9ab2072
fix(frontend): 長い名前のチャンネルにおける投稿フォームの表示が崩れる問題を修正 (#12524)
* fix(frontend): 長い名前のチャンネルにおける投稿フォームの表示が崩れる問題を修正

* Update CHANGELOG.md
2023-12-02 12:04:11 +09:00
Insert5StarName 1a4bff7698 upd: rework threading/post ui 1/2
Co-authored-by: Gaspard Wierzbinski <contact@cpluspatch.com>
Co-authored-by: Marie <marie@kaifa.ch>
2023-12-02 01:39:29 +01:00
Qwreey c927d6824c
Fix: missing receiver warn is not disappear (#12538) 2023-12-02 09:28:00 +09:00
Marie ad5a6c1e41
fix: reactions escaping view in note view 2023-12-01 14:51:48 +01:00
Mar0xy 126b3839dd
upd: add basic search widget
Closes transfem-org/Sharkey#181
2023-11-30 23:45:13 +01:00
Mar0xy 90ddbc5dcd
upd: add info about multiple choices for polls
closes transfem-org/Sharkey#182
2023-11-30 22:16:42 +01:00
Kisaragi 47a10f6a6d
refactor(frontend): give local variable to explicit type annotation to avoid TS7043 (#12495)
* refactor: give local variable to explicit type annotation to avoid TS7043

* chore: fix lint error
2023-11-30 14:46:16 +09:00
zyoshoka 98e1af28b8
enhance(frontend): ノートプレビューにCWが反映されるように (#12509)
* enhance(frontend): ノートプレビューにCWが反映されるように

* Update CHANGELOG.md

* refactor: 不要な条件を除去

* Revert "refactor: 不要な条件を除去"

This reverts commit e4eff689bd1f2df78411a2f01ee05434e2d298a8.

* fix: やっぱり不要な条件だった
2023-11-30 13:49:31 +09:00
Mar0xy 65a2ea6a74
upd: improve post editing on polls
Fixes not being able to edit post if poll expiry was set and now checks properly if poll was edited or not
2023-11-30 02:11:47 +01:00
おさむのひと 413f7bfb44
Fix: navigator.share未サポートの場合は共有ボタンを非表示にする(+URLのコピーボタンを設置) (#12506)
* navigator.share未サポートの場合は共有ボタンを非表示にする

* fix CHANGELOG.md

* ライセンス表示追加

* URLのコピーボタンを設置
2023-11-30 08:15:13 +09:00
Mar0xy 363bb43658
upd: remove quote button restriction and coloring 2023-11-29 22:26:56 +01:00
Marie 5f3754f9fc
merge: fix classic ui sidebars not sticking 2023-11-29 02:45:41 +01:00
Mar0xy c9112b2949 upd: use `null` as default on user like setting 2023-11-28 22:21:40 +01:00
Mar0xy 44fe3e4ebb
fix: quoted notes opening when clicking CW button 2023-11-28 13:03:53 +01:00
おさむのひと ec04c76ee5
通知グルーピング設定の即時反映対応 (#12485)
* wip

* ログ出しの削除

* fix CHANGELOG.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-28 20:43:25 +09:00
Mar0xy d135cba60b
chore: lint 2023-11-28 03:05:33 +01:00
Mar0xy 7722c0045a
chore: correct class from undone changes 2023-11-28 03:03:13 +01:00
Mar0xy bd470596cc
upd: collapse mentions if multiple are followed in a row 2023-11-28 03:01:37 +01:00
Mar0xy 7b9c16487b
upd: add fields to user popup
Closes transfem-org/Sharkey#173
2023-11-27 23:35:18 +01:00
Mar0xy 3d0b754332
fix: selecting text in a note causing it to open
Closes transfem-org/Sharkey#175
2023-11-27 22:06:25 +01:00
anatawa12 8f1da036f4
style: fix lint error of 6acaded8 (#12476) 2023-11-27 15:29:39 +09:00
anatawa12 6acaded898
fix: error can be happened if animation is on and hard mute matches (#12474) 2023-11-27 14:47:25 +09:00
dakkar d50d335e44 re-fix "hide preview of quote-renote"
I'm not sure how this got lost
2023-11-26 16:03:23 +00:00
Acid Chicken (硫酸鶏) d60f645d1d
chore(frontend/MkMediaVideo): loop and autoplay silent videos (#12392) 2023-11-26 16:15:24 +09:00
かっこかり 5bdae9f6d0
enhance(frontend): リアクション選択時に音を流せるように (#12441)
* (add) リアクション選択時に音を鳴らせるように

* Update Changelog

* tweak sound

* tweak sound

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-26 13:04:44 +09:00
まっちゃとーにゅ da3064343b enhance(frontend): 絵文字のオートコンプリートのアルゴリズムの改善 (MisskeyIO#261)
* 実際は同じ絵文字なら重複してサジェストに出ないように
* エイリアスではない絵文字>前方一致>部分一致>あいまい検索順で表示されるようになるように
2023-11-24 20:25:29 +09:00
Camilla Ett 9c84055f50
Feat(frontend): コントロールパネル「通報」において、通報者もリンクで飛べるように修正 (#12427) 2023-11-24 16:19:37 +09:00
Camilla Ett 30b443de55
feat(frontend): リアクションの横幅を150pxに制限するかどうかユーザーが選べるように (#12416)
* feat(frontend): リアクションの横幅を150pxに制限するかどうかユーザーが選べるように

* localesの変更をjs-JP.ymlのみに修正し、日本語をより分かりやすく

* クラス名を.icon から .limitWidthに変更
2023-11-24 08:37:27 +09:00
Mar0xy 04dbf7ebe9
chore: replace icons, change errors 2023-11-23 19:22:34 +01:00
かっこかり cba66c921e
fix(frontend): コードエディタが正しく表示されない問題を修正 (#12418)
* (fix) コードエディタが正しく表示されない問題を修正

* Update Changelog
2023-11-23 20:37:41 +09:00
かっこかり ed6f866a4f
enhance/fix(AP/frontend): 最近追加されたMFMのもろもろを修正 (#12420)
* (enhance) MFM rubyが連合されるように

* Update Changelog

* Update Changelog

* (fix) unixtimeのフォールバック (AP)

* (fix) unixtimeのフォールバック (frontend)

* Update Changelog
2023-11-23 19:49:45 +09:00
anatawa12 864827f788
Hard mute (#12376)
* feat(backend,misskey-js): hard mute storage in backend

* fix(backend,misskey-js): mute word record type

* chore(frontend): generalize XWordMute

* feat(frontend): configure hard mute

* feat(frontend): hard mute notes on the timelines

* lint(backend,frontend): fix lint failure

* chore(misskey-js): update api.md

* fix(backend): test failure

* chore(frontend): check word mute for reply

* chore: limit hard mute count
2023-11-23 18:56:20 +09:00
おさむのひと ded328fb43
絵文字のオートコンプリート強化の対応 (#12365)
* 前方一致・部分一致でなくても近似値でヒットするように

* fix CHANGELOG.md

* for of に変更

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-23 08:13:51 +09:00
Mar0xy 42bf8e5e76
merge: upstream 2023-11-22 23:40:27 +01:00
y.takahashi c6ed06d783
twitter埋め込みのsandbox属性にallow-popups-to-escape-sandboxを追加 (#12400)
Co-authored-by: unarist <m.unarist@gmail.com>
2023-11-22 10:19:30 +09:00
Mar0xy 733c9a8c00
fix: Show Less button overlapping text
Fixes transfem-org/Sharkey#161
2023-11-20 22:55:37 +01:00
Lynx Kotoura cbebe85ccf
ページ一覧ページの表示がモバイル環境において崩れているのを修正 (#12354)
* fix style of list of pages on mobile

* overflow clip に変えた
2023-11-19 11:43:04 +09:00
Insert5StarName 88d9f59957 upd: highlight active tab text 2023-11-18 05:17:00 +01:00
syuilo 4a7ccf6deb tweak MkTime.vue 2023-11-17 17:54:13 +09:00
syuilo 5f5712a3ee fix(frontend): MFM unixtimeのプレビューがリアルタイムで反映されない
Fix #12350
2023-11-17 15:33:57 +09:00
syuilo a9a743dab9 enhance(frontend): MFMでUNIX時間を指定して日時を表示できるように
Resolve #12294
2023-11-17 15:05:37 +09:00
syuilo 43cb2d478c enhance(frontend): ruby内でMFMを使えるように 2023-11-17 13:20:40 +09:00
syuilo b517d76084 enhance(frontend): MFMでルビを振れるように
Resolve #9161
2023-11-17 13:09:56 +09:00
Mar0xy a3fd51d6e0
upd: change the way likes get handled 2023-11-16 23:47:44 +01:00
Mar0xy 490b249407
upd: Allow users to change default like emoji
When users change the default like emoji in reactions tab from heart to another one it will be send out as that specific emoji.

If reset back to heart it will default to the instance like emoji again which is heart by default.

Closes transfem-org/Sharkey#95
2023-11-16 00:22:12 +01:00
おさむのひと 96f1728573
fix: 表示済みのカラムから別のチャンネルを選択した時、タイムラインの内容が追従して変更されない問題に対処 (#12237)
* 表示済みのカラムから別のチャンネルを選択した時、タイムラインの内容が追従して変更されない問題に対処

* fix CHANGELOG.md

* fix code style

* Update MkTimeline.vue

* コメント対応(MkButtonのimportとonBeforeUpdate->watch)

* fix CHANGELOG.md

* Update MkPagination.vue

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-15 11:24:54 +09:00
syuilo 3939360e55 fix(frontend): 特定の条件下でノートがnyaizeされない問題を修正
Fix #12331
2023-11-15 11:09:54 +09:00
Mar0xy d2e403a4bd
fix: NoteDetailed using wrong value 2023-11-12 22:53:06 +01:00
Mar0xy 430a96ebdb
fix: like not being set 2023-11-12 22:40:33 +01:00
Mar0xy f0a2ce00e7
chore: lint 2023-11-12 22:27:57 +01:00
Mar0xy 5c38e6b824
add: custom like emoji per instance, fix like
This fixes the fact that likes on mastodon didn't get federated properly and let's instance admins choose a custom emoji
2023-11-12 22:16:47 +01:00
zyoshoka 0dd3cac8d9
fix(frontend): アイコンデコレーションが見切れる問題を修正 (#12239)
* fix(frontend): アイコンデコレーションがナビゲーションバーでクリップされないように

* Revert "fix(frontend): アイコンデコレーションがナビゲーションバーでクリップされないように"

This reverts commit db246b13d9c5b3a6112b4cf38f605cc8c967639b.

* fix: tweak padding of account in navbar

* fix: set minimum height of note preview

* fix: リアクション一覧でアイコンデコレーションが見切れないように

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-11 16:07:07 +09:00
syuilo 689b88b942 fix(frontend): pull to refreshするたびにストリーミング全体の再接続が行われるのを修正 2023-11-10 17:52:50 +09:00
おさむのひと 253c0c42e2
デッキのカラムからリロードできる機能を追加 (#12274)
* デッキのカラムからリロードできる機能を追加

* tweak

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-10 17:49:09 +09:00
おさむのひと 879f2d2b7e
ref化したnoteの変更通知がMfmコンポーネントまで到達してないのを修正 (#12282)
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-09 21:15:48 +09:00
Amelia Yukii 0034271659
fix: migrated airplane icon 2023-11-07 22:33:06 +01:00
Marie a1c325a66d
merge: border radius fix and pointer on pencil icon (#146) 2023-11-07 20:06:04 +01:00
ShittyKopper 4de7361944 fix: pointer cursor on edit history button 2023-11-07 21:57:44 +03:00
ShittyKopper d536d0771b fix: border radius 2023-11-07 21:57:35 +03:00
Mar0xy 751404f5ed
upd: fix emoji menu not working due to click to open 2023-11-07 19:55:14 +01:00
Mar0xy 04657c14c7
upd: remove leftover nsfw ai option 2023-11-07 19:23:58 +01:00
Mar0xy 5693e11362
upd: emoji autocomplete case-insensitive
Closes bug: transfem-org/Sharkey#129
2023-11-07 17:39:16 +01:00
おさむのひと 828749be64
fix #12266 (#12267)
ポップアップの表示後、MkNoteとMkNoteDetailedでそれぞれが持つfocusメソッドを呼び出していたのをやめた

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-06 19:26:17 +09:00
syuilo bfca457510 enhance(frontend): improve aiscript plugin error handling 2023-11-06 11:21:43 +09:00
Mar0xy f17f630acd
add: locales for mfm play button and dialog 2023-11-06 01:38:15 +01:00
Mar0xy 6cf811aa13
chore: add spacing between text and play mfm button 2023-11-06 00:49:08 +01:00
Mar0xy d8a9d72dbb
chore: correct the icons being used 2023-11-06 00:33:44 +01:00
Mar0xy 53868f0176
chore: replace tabler icons with phosphor icons 2023-11-06 00:28:29 +01:00
Mar0xy 2dfd8b2842
upd: play animated MFM button 2023-11-06 00:26:23 +01:00
Mar0xy 35b3ac228c
merge: upstream 2023-11-05 11:19:03 +01:00
syuilo bb76ee2c0e enhance(frontend): 投稿内のunicode絵文字もメニューを出せるように 2023-11-05 18:01:51 +09:00
syuilo 56401ed91c 🎨 2023-11-05 08:25:08 +09:00
Mar0xy db29a5c2da
merge: develop 2023-11-04 21:52:12 +01:00
Mar0xy 83c64377fc
chore: replace icons on new menu 2023-11-04 14:51:43 +01:00
Mar0xy 647e76ab36
merge: upstream 2023-11-04 14:32:28 +01:00
かっこかり 94a20205eb
(fix) チュートリアル中にPostFormにフォーカスが当たらないようにする (#12242) 2023-11-04 20:21:42 +09:00
syuilo b7d3c5f4f0 enhance of 5e9f6a90df 2023-11-04 19:50:49 +09:00
syuilo 5e9f6a90df enhance(frontend): ノート内のカスタム絵文字をクリックすることで、コピーおよびリアクションができるように 2023-11-04 18:27:22 +09:00
syuilo 39f7318048 tweak MkPullToRefresh 2023-11-04 13:58:41 +09:00
syuilo 67414e0181 perf(frontend): soundConfigStore を defaultStore に統合しAPIリクエストを削減 2023-11-04 10:09:21 +09:00
syuilo a656447aa5 enhance(frontend): improve pull to refresh 2023-11-04 08:56:48 +09:00
Amelia Yukii 08de1f7baa
fix: icons being inconsistent and PG (#136) 2023-11-03 23:20:53 +01:00
Mar0xy 4ec812b3b3
upd: change misskey to sharkey, msky to shonk 2023-11-03 15:55:35 +01:00
Mar0xy 5e166101e3
fix: tooltips missing 2023-11-03 15:43:52 +01:00
Mar0xy 7c480424a6
merge: upstream 2023-11-03 15:35:12 +01:00
Mar0xy 33f4e2eefa
fix: subnote content not being nyaized 2023-11-03 13:25:00 +01:00
syuilo e893494b48 Revert "fix: URLプレビューが表示されないのを修正 (#12222)"
This reverts commit 8366984b2b.
2023-11-03 19:50:27 +09:00