Commit graph

2074 commits

Author SHA1 Message Date
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
Sayamame-beans
adf13f79bd
fix(frontend): モデログ表示の"logYellow"が機能していない問題を修正 (#12794)
* fix: logYellow of moderation log was not working

* docs(changelog): Fix: 一部のモデログ(logYellowでの表示対象)について、表示の色が変わらない問題を修正
2023-12-28 09:43:12 +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
ShittyKopper
5d746d4ee5 fix: hide photoswipe alt text when its empty 2023-12-27 13:19:29 +03:00
Amelia Yukii
dd22d7b683 chore: update hard word mute icon 2023-12-27 10:16:22 +01:00
Marie
45b99a476d upd: swap api out with apiWithDialog for word mute saving
Closes #259
2023-12-27 09:39:59 +01:00
ShittyKopper
6242f37111 Partial Revert "fix: fix: notification count position"
Firefox now implements :has. There is no reason for this workaround

This partially reverts commit 4f0bc185af.
2023-12-26 22:09:25 +03: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
Marie
5bc036180f upd: module versions 2023-12-25 21:37:13 +01:00
Marie
a67d31c963 merge: KaTeX support (#261)
Closes #174
2023-12-25 21:28:25 +01: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
Marie
6f63ff62fc fix: autocomplete on users being janky 2023-12-25 18:40:49 +01:00
dakkar
62a0f43c84 add package 2023-12-25 17:31:21 +00: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
皐月なふ (Nafu Satsuki)
30cf5c3ab0
chore(frontend): API設定項目の名前をきちんとサービスの名前で表記する (#12753) 2023-12-23 15:32:53 +09: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
Marie
8536e22cfe fix: change way url example gets displayed on page editor
Closes #212
2023-12-22 12:19:39 +01: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
b71e5cf2fb fix: avatar decoration role not working
Closes #150
2023-12-22 11:51:43 +01:00
Marie
fd9ba530ba fix: clicking on reaction icon not triggering toggle
Closes #239
2023-12-21 22:34:10 +01:00
Marie
013ea8ae65 upd: remove show more button for user description
Closes #232
2023-12-21 22:30:38 +01:00
Marie
beded1c7ce upd: show reload dialog for note design
Closes #242
2023-12-21 22:04:58 +01:00
Marie
7a83e46e6a upd: replace default dark theme
Closes #244
2023-12-21 21:31:28 +01:00
Marie
03dc868536 chore: update text and urls in about
Closes #243
2023-12-21 21:18:13 +01:00
woxtu
c92508a575
Remove unused imports (#12730) 2023-12-21 11:36:45 +09:00
syuilo
c307dd4fe8 perf(frontend): import snowfall-effect dynamically to reduce bundle size 2023-12-21 11:26:41 +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
dakkar
75637b0f48 remove "👁 preview" button from theme editor
it stopped working back in May, see
3d4a90b08a

Thanks Amelia for noticing!
2023-12-20 09:16:20 +00:00
1STEP621
10d4ae107b
Fix(frontend): CW内などの画像が表示されないことがあるバグを修正 (#12721)
* 画像のアスペクト比をデフォルト以外に設定しているとCW内の画像が表示されないのを修正

* fix
2023-12-20 16:19:49 +09:00