Commit Graph

2511 Commits

Author SHA1 Message Date
syuilo beb9cd5710 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-20 17:28:13 +09:00
syuilo b5fa8767da 🎨 2023-02-20 17:28:09 +09:00
Kagami Sascha Rosylight f846b207b6
test(backend): restore emoji reaction tests (#9996) 2023-02-20 17:24:39 +09:00
Kagami Sascha Rosylight c6b07acdcc
test(backend): restore more unit tests (#9994) 2023-02-20 17:24:09 +09:00
xianon b055f516c0
削除済みのユーザーが deleteActor される時の動作を修正する (#9980) 2023-02-20 17:08:05 +09:00
syuilo 716ffcace6 update deps 2023-02-20 17:04:57 +09:00
tamaina 980bf1306e
🎨 2FA設定のデザイン向上 / セキュリティキーの名前を変更できるように (#9985)
* wip

* fix

* wip

* wip

* ✌️

* rename key

* 🎨

* update CHANGELOG.md

* パスワードレスログインの判断はサーバーで

* 日本語

* 日本語

* 日本語

* 日本語

* ✌️

* fix

* refactor

* トークン→確認コード

* fix password-less / qr click

* use otpauth

* 日本語

* autocomplete

* パスワードレス設定は外に出す

* 🎨

* 🎨

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-20 16:40:24 +09:00
noonworks ea92254b73
refactor: 型エラー修正 / Fix type errors backend (#9983)
* refactor: fix type errors in backend

* revert some changes

* なるべくJS挙動を変えない方法に修正

* Update packages/backend/src/server/api/ApiCallService.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* コンフリクトするファイルを削除

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-02-20 08:13:37 +09:00
syuilo 47b6f466ec enhance(client): snap scroll on deck 2023-02-19 19:54:19 +09:00
syuilo 2e76fcdf6f Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-19 17:50:16 +09:00
syuilo 7ce0f79f7f chore(server): tweak notes/featured api 2023-02-19 17:50:14 +09:00
syuilo 0c59dd3da7 Update about-misskey.vue 2023-02-19 17:49:55 +09:00
Kagami Sascha Rosylight 8c64f999dc Add test 2023-02-19 09:49:18 +01:00
Kagami Sascha Rosylight cf2b1c1e00 Merge branch 'develop' into mkusername-empty 2023-02-19 09:26:27 +01:00
Kagami Sascha Rosylight 2aa73fdf6c
test(backend): restore AP unit tests (#9987) 2023-02-19 15:27:14 +09:00
tamaina cd5615d354 fix lint 2023-02-18 14:11:45 +00:00
tamaina 8c883653c9
fix/enhance(sw): プッシュ通知 (バックグラウンドで開いている場合も通知, リアクション通知はノートにつき1つに) (#9977)
* fix(sw): クライアントがあってもpush notificationを無視しない
「プッシュ通知を更新しました」の原因になるため

* enhance(sw): リアクション通知は1つのノートにつき1つしか表示しない
Safari対応で、通知tagは能動的に閉じるように

* revert closeNotificationsByTags
2023-02-18 17:48:20 +09:00
tamaina 36170a11f5 refactor(sw): self => globalThis 2023-02-18 05:16:34 +00:00
Kagami Sascha Rosylight 194d656bb4 fix: normalize empty value of `name` into an absent value 2023-02-17 09:06:48 +01:00
syuilo 0f546b47d1 refactor: fix types 2023-02-17 15:39:10 +09:00
syuilo 60df819c60 refactor: fix types 2023-02-17 15:36:36 +09:00
syuilo 0e1b5d6f14 refactor: fix types 2023-02-17 15:15:36 +09:00
syuilo bde22208fe refactor: fix types 2023-02-17 15:06:52 +09:00
syuilo d4eb1def61 fix(client): MkHeader及びデッキのカラムでチャンネル一覧を選択したとき、最大5個までしか表示されない
Fix #9904
2023-02-17 14:59:11 +09:00
syuilo 14cff15c89 enhance(client): add quiz preset for play 2023-02-17 14:57:05 +09:00
tamaina e8c5307f66
perf(client): ウェルカムページを最適化 (#9960)
* perf(client): ウェルカムページの最適化

* remove max
2023-02-17 12:38:30 +09:00
Kagami Sascha Rosylight dd52be3a01
ci: run typecheck and eslint separately (#9966)
* ci: run typecheck and eslint separately

* fix syntax
2023-02-17 10:57:40 +09:00
Kagami Sascha Rosylight 8f9ce23e52
style(backend): fix all eslint errors (#9967) 2023-02-17 10:56:59 +09:00
Kagami Sascha Rosylight 7c5fc2c423
style(frontend): fix autofixable eslint errors (#9968) 2023-02-17 10:56:23 +09:00
Kagami Sascha Rosylight 63df2c851e
refactor: remove all unused imports (#9951)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
tamaina 4db787c4ee
fix(server): マイグレーションad1676438468213が通らないのを修正 (#9963)
* fix(server): マイグレーションad1676438468213が通らないのを修正
Fix #9962

* fix
2023-02-16 22:08:45 +09:00
tamaina 839a626716
fix(server): dropGroupマイグレーションが通るように (#9961) 2023-02-16 22:07:34 +09:00
Kagami Sascha Rosylight ef7ad05c0b
Fix type errors from vite.json5.ts (#9936) 2023-02-15 17:14:47 +09:00
syuilo e24b0ceb80 startAt -> startsAt 2023-02-15 14:31:59 +09:00
nenohi 71c42bef9b
広告開始時期の設定 (#9944)
* 広告開始時期の設定

* 過去のものも表示するように
2023-02-15 14:29:40 +09:00
syuilo 8caf288ac1
drop group (#9942)
* drop group

* Update operations.ts
2023-02-15 13:37:18 +09:00
syuilo 8f2049bcd2
drop messaging (#9919)
* drop messaging (from backend)

* wip
2023-02-15 13:06:06 +09:00
tamaina d0aba46ee3 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-14 07:25:29 +00:00
tamaina 57c94a5cf0 fix(client): ユーザーページのファイル付きTLはリプライも含む 2023-02-14 07:25:14 +00:00
tamaina 4e68126c06
enhance(server): URLプレビュー(summaly)はプロキシを通すように (#9905)
* enhance(server): URLプレビュー(summaly)はプロキシを通すように

* update summaly

* update summaly

* 型エラーバスター

* basic.html

* Delete basic.html

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-14 14:17:07 +09:00
taiy 5cf5b66696
fix(client): use tabler icons (#9915) 2023-02-14 13:17:00 +09:00
Neko7sora 7436a58ea1
改行コードをLFに統一 (#9926)
* chore: update gitattribute editorconfig

* Normalize all the line endings
2023-02-14 13:13:34 +09:00
tamaina b7b8fd4b59 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-14 04:09:03 +00:00
tamaina 55d4d3418e fix(server): HttpRequestService.sendでは常にUser-Agentを含むように
Fix #9817 (maybe)
2023-02-14 04:08:56 +00:00
syuilo e8d4f3eac3 refactor: fix types 2023-02-13 16:19:29 +09:00
syuilo 1b21bad202 refactor 2023-02-13 15:50:22 +09:00
syuilo 30f600e03e Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-13 15:28:10 +09:00
syuilo f34f9f6ea5 refactor: fix types 2023-02-13 15:28:07 +09:00
tamaina 8d4c5deb8d perf(sw): skipWaitingしない 2023-02-12 15:48:56 +00:00
Kagami Sascha Rosylight 2f41f12aea
fix(client): Make `isTimelineAvailable` a reference (#9906)
* Make `isTimelineAvailable` a reference

* Update b.vue
2023-02-13 00:40:36 +09:00
Kagami Sascha Rosylight 9f0e0dc8ce
refactor(sw): Fix type errors in packages/sw (#9909)
* Fix type errors in packages/sw

* mouhitotsu

* @typesは越境しない

* Update packages/sw/src/scripts/create-notification.ts

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-13 00:31:37 +09:00
syuilo a71682f6f0 refactor: fix types 2023-02-12 20:06:10 +09:00
syuilo 5d3d5cd59c refactor: fix types 2023-02-12 18:54:38 +09:00
syuilo 451bc0b444 refactor: fix types 2023-02-12 18:47:30 +09:00
tamaina d7a2d59f41 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-12 08:42:42 +00:00
tamaina 7deb4691fb 🎨 2023-02-12 08:42:34 +00:00
Kagami Sascha Rosylight 9965bc8f94
Fix moduleNameMapper to not resolve `.wasm.js` to `.wasm` (#9894)
* Fix moduleNameMapper to not resolve `.wasm.js` to `.js`

Fixes #9767

Undici [tries to import `./llhttp/llhttp.wasm.js`](e155c6db5c/lib/client.js (L342)) which is currently broken by the (hacky) module name mapper.

* longer timeout value

* 30s

* 50s

* 60s to be safe

* Revert "60s to be safe"

This reverts commit f3e0f5796273c0cdcbd901e8c08ae3136b9768f8.

* 2cc98226ca revert?

* revert

* remove timeout

* detectOpenHandles

* Really solved?

* Revert "detectOpenHandles"

This reverts commit 29214bdff80e15998f34171bf409d454a3d10129.

* Add `coveragePathIgnorePatterns`

* Revert "Add `coveragePathIgnorePatterns`"

This reverts commit fcf8c6806b339b7c21f53137f9939d00020904aa.

* Import jsonld dynamically

* remove import

* add comment

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-12 17:18:31 +09:00
taiy 317770fb23
enhance(client): リアクションが無いことを伝える (#9901) 2023-02-12 17:15:12 +09:00
syuilo 19c204ea03 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-12 16:52:51 +09:00
syuilo b9feacab85 fix(client): エラー時に再試行ができない問題を修正 2023-02-12 16:52:48 +09:00
syuilo 56c7359a0c refactor 2023-02-12 16:51:45 +09:00
mattn a7c1afffc6
fix typo (#9900) 2023-02-12 16:40:12 +09:00
syuilo fdb745b4a8 🎨 2023-02-12 14:31:00 +09:00
syuilo b3d8134c7a 🎨 2023-02-12 14:25:34 +09:00
syuilo 0879ab50b8 fix(client): call checkMissingMention immediately 2023-02-12 14:00:15 +09:00
syuilo e98740c285 enhance(client): ユーザーのホーム画面にもTLを表示 2023-02-12 11:10:37 +09:00
syuilo 56b23a64a3 clean up 2023-02-12 11:06:26 +09:00
syuilo ee5b417354 tweak 2023-02-12 11:02:11 +09:00
syuilo 2f48d109dd enhance(client): make possible to in-channel renote/quote 2023-02-12 10:59:22 +09:00
syuilo 784fc7b3f5 🎨 2023-02-12 10:46:14 +09:00
syuilo b55d26387b improve error handling 2023-02-12 10:36:43 +09:00
syuilo 9ddf62d8b7 enhance: レートリミットを0%にできるように 2023-02-12 10:26:27 +09:00
syuilo a8feed1eff Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-12 10:21:20 +09:00
syuilo f5bfc6f0c1 enhance(client): improve api error handling 2023-02-12 10:21:17 +09:00
tamaina ee03ab8d2c
enhance(server): videoThumbnailGenerator config (#9845)
* enhance(server): videoThumbnailGenerator config

* ✌️

* fix

* 相対url

* サムネイルのproxyRemoteFilesは直接プロキシを指定する

* メディアプロキシ
2023-02-12 09:13:47 +09:00
KOKO ac7e2ecb59
fix: 広告のexpiresAtをLocalTZ分ずらして初期化 (#9876)
* fix: 広告のexpiresAtをLocalTZ分ずらして初期化

* chore: 不要なインポートを削除
2023-02-12 08:23:14 +09:00
momoirodouhu f28aea9e30
add cors header to ActivityPubServerService.ts (#9888)
* add cors header to ActivityPubServerService.ts

* Update CHANGELOG.md
2023-02-12 08:22:42 +09:00
futchitwo 1ac7c154d7
fix: pagenation (#9885) 2023-02-12 08:21:40 +09:00
RyotaK ef860a8f84
CLIページにおいてAPIリクエスト時にContent-Typeヘッダを付与するように変更 (#9887) 2023-02-12 08:21:13 +09:00
syuilo f6f269194f Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-12 08:18:26 +09:00
syuilo e1d41063cd enhance(client): make renote collapsing optional
Resolve #9891
2023-02-12 08:18:22 +09:00
tamaina 5d02405a98 🎨 2023-02-11 13:07:09 +00:00
tamaina 998c2b692a 🎨 2023-02-11 11:35:28 +00:00
tamaina 19c0027605 fix(client): ユーザーページでアクティビティを見ることができないのを修正 2023-02-11 07:17:50 +00:00
tamaina 9349f72227
refactor(client): Refactor MkPageHeader #9869 (#9878)
* disable animation

* refactor(client): MkPageHeaderのタブをMkPageHeader.tabsに分離
animationをフォローするように

* update CHANGELOG.md

* remove unnecessary props
2023-02-11 16:04:45 +09:00
syuilo 73a1372940 enhance(client): 迷惑になる可能性のある投稿を行う前に警告を表示
Resolve #9862
2023-02-11 13:54:27 +09:00
tamaina 0138c3b00e
enhance(client): ヘッダー(MkPageHeader)関連 (#9869)
* MkPageHeader大改造

* ユーザーページのノート一覧をタブにするなど

* ✌️

* 🎨

* fix

* wheel

* clean up

* 🎨

* 🎨

* remove console.log

* update CHANGELOG.md

* fix

* fix

* fix

* ✌️

* header avatar clickable

* !hideTitle

* Revert "!hideTitle"

This reverts commit 19cad428c906f555b73730d602e401a1e943cdef.

* fix changelog
2023-02-11 13:08:18 +09:00
tamaina 6f33be6c75
enhance(client): MkNoteのリアクションの表示数は16に制限 (#9841)
* enhance(client): MkNoteのリアクションの表示数は16に制限・リアクションの横の?ボタンでリアクション詳細

* info-circleにする

* - Layout Shiftが起こらないように
- 自分のリアクションは必ずつける

* https://github.com/misskey-dev/misskey/pull/9841#issuecomment-1423786235

* remove logger

* refactor

* refactor

Co-authored-by: acid-chicken <root@acid-chicken.com>

* Revert "https://github.com/misskey-dev/misskey/pull/9841#issuecomment-1423786235"

This reverts commit ec1315b1fb207e0c5b2a5f2f4a00de7379c7a29b.

* wip

* wip

* 🎨

* fix

* fix

* fix

* 🎨

* wip

* remove extras from MkNoteDetailed

* もっと!

* no v-if

* dashed

---------

Co-authored-by: acid-chicken <root@acid-chicken.com>
2023-02-11 13:05:36 +09:00
syuilo 3004fe573d enhance(client): URLが4つ以上添付されている場合折りたたむように 2023-02-11 13:01:56 +09:00
syuilo 040f9927dd enhance(client): ロールをより簡単に付与できるように 2023-02-11 12:55:22 +09:00
syuilo e73e56be8f 一部のMFM構文をopt-outに 2023-02-11 12:31:56 +09:00
syuilo b0616b52ea 一部のMFM構文をopt-inに
あとMFMチートシートはMisskey Hubに移動
2023-02-11 11:31:18 +09:00
syuilo 6b6b767199 refactor: use defaultStore instead of this.$store 2023-02-11 11:21:06 +09:00
syuilo e1bdecb9c1 Update about-misskey.vue 2023-02-11 11:20:50 +09:00
syuilo a32c6267be 🎨 2023-02-11 11:08:50 +09:00
syuilo 54df243b90 fix: typeorm migrations not working
Fix #9868
2023-02-11 10:49:17 +09:00
syuilo b44597d5d8 🎨 2023-02-11 10:45:39 +09:00
Acid Chicken (硫酸鶏) 7b70b6c3cd
fix: newNoteReceived indicator causes Layout Shift (#9843)
* fix: newNoteReceived indicator causes Layout Shift

* chore: tweak position

* chore: apply to user-list-timeline

* style: unitless

* chore: apply to antenna-timeline

* fix: redundant margin
2023-02-11 10:36:14 +09:00
syuilo 5cc0219ff2 tweak MkNote 2023-02-11 10:27:59 +09:00
syuilo 4a0b0b135a enhance(client): 添付ファイルが5つ以上あるときは折りたたむように 2023-02-11 10:25:33 +09:00
syuilo 8bd2d6328a enhance(client): 一度見たノートのRenoteは省略して表示するように
Resolve #1792
2023-02-11 09:41:54 +09:00
syuilo 9351fb9617 コンディショナルロールもバッジとして表示可能に 2023-02-11 09:03:43 +09:00
tamaina 7b29e36d64 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-10 11:52:27 +00:00
tamaina 9cc36ef32d fix share page 2023-02-10 11:52:13 +00:00
Nya Candy 7d91912cfd
fix: prevent clipping audio plyr's tooltip (#9850) 2023-02-10 18:29:54 +09:00
syuilo 3c504b4b08 chore(client): improve usability 2023-02-10 11:04:11 +09:00
syuilo adad4bcfe3 クロップ時の質問を分かりやすく 2023-02-10 10:45:32 +09:00
syuilo b3e8671dd9 利用規約同意UIの調整 2023-02-10 10:36:25 +09:00
syuilo 0f8c890761 🎨 2023-02-10 09:49:52 +09:00
tamaina 512e451f24 app auth / miauthの文言編集 2023-02-09 17:29:22 +00:00
tamaina ca0d53ec5d enhance(client): /authおよびMiAuthのUIをブラッシュアップ
Fix #9742
2023-02-09 17:18:27 +00:00
Acid Chicken (硫酸鶏) 686a709e87
chore: determine dimensions of the helix of cat ears based on the size of avatars (#9836)
* chore: determine dimensions of the helix of cat ears based on the size of avatars

* Update MkAvatar.vue

* Update packages/frontend/src/components/global/MkAvatar.vue

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-10 00:36:05 +09:00
tamaina 83fb629f0b 🎨 2023-02-09 15:34:49 +00:00
tamaina 19035c676c /proxyでemoji, avatarなどの命令がありかつ画像でないなら404を返すように 2023-02-09 12:39:24 +00:00
syuilo 63dc66769f fix(client): webkitでMkMediaListが崩れるのを修正 2023-02-09 20:12:36 +09:00
syuilo 0b269e79fd i/notificationsのレートリミットを緩和 2023-02-09 18:11:11 +09:00
syuilo 6159cfd138 enhance(client): improve api error handling 2023-02-09 18:07:51 +09:00
syuilo 39e269db8c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-09 18:01:15 +09:00
syuilo 70fe23a3ce fix(client): validate url to improve security 2023-02-09 18:01:12 +09:00
KOKO a6a8a7fb85
fix: dateの初期値が正常に入らない時がある (#9827)
* fix: dateの初期値が正常に入らない時がある

* feat: datettime-localをとれるように

* chore: いらない差分を戻す
2023-02-09 17:54:30 +09:00
syuilo 6641b13b4c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-09 17:54:14 +09:00
syuilo 803c2144f4 Update about-misskey.vue 2023-02-09 17:44:18 +09:00
syuilo b69a079514 lint 2023-02-09 17:36:16 +09:00
syuilo 2aa800cd55 Update about-misskey.vue 2023-02-09 17:34:45 +09:00
tamaina 6e61a36d05 i/notificationsのレートリミットを緩和
SubwayTooterのバグ対策でレートリミットを設定していたが、通常の使い方でも引っかかることもあるため緩和
2023-02-09 08:32:42 +00:00
tamaina f80bf1fb1c perf: renderBaseでCache-Controlを300秒から30秒に 2023-02-09 08:19:12 +00:00
syuilo d465e85239 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-09 17:03:21 +09:00
tamaina deed25a2ff Fix #9842 2023-02-09 08:00:45 +00:00
tamaina a486716520 perf: renderBaseでCache-Controlを15秒から300秒に 2023-02-09 07:49:39 +00:00
syuilo 2361e11e98 Update about-misskey.vue 2023-02-09 16:42:22 +09:00
syuilo cd1f2adca7 🎨 2023-02-09 13:21:11 +09:00
syuilo 76faec2115 refactor: fix types 2023-02-09 11:46:08 +09:00
syuilo 33c4e57994 refactor: fix types 2023-02-09 11:42:55 +09:00
syuilo bc23496998 refactor: fix types 2023-02-09 11:31:40 +09:00
syuilo d35ad95c18 refactor: fix types 2023-02-09 11:03:40 +09:00
syuilo 5facd11592 refactor: fix types 2023-02-09 11:02:37 +09:00
syuilo e1e885d6b2 refactor: fix types 2023-02-09 10:55:15 +09:00
syuilo 5b6695114f refactor: fix types 2023-02-09 10:50:53 +09:00
syuilo 71dd7f89e9 clean up 2023-02-09 10:47:03 +09:00
syuilo 21331e53fe refactor: fix types 2023-02-09 10:46:01 +09:00
syuilo 7afee5977f feat(client): add channel column to deck 2023-02-09 10:35:28 +09:00
syuilo d195b0dec7 refactor(client): use css modules 2023-02-09 10:11:33 +09:00
syuilo a4d74d7d7e 🎨 2023-02-09 09:48:35 +09:00
syuilo 256e0db36d 多分 #9815 2023-02-09 09:33:46 +09:00
syuilo d593c1358a 🎨 2023-02-09 09:32:39 +09:00
syuilo 1ff14d81c1 update deps 2023-02-09 09:25:31 +09:00
syuilo 57543e6b44 fix(client): ログイントークンの再生成が出来ない
Fix #9822
2023-02-08 20:12:44 +09:00
syuilo a1b8cd15c4 fix(client): register_note_view_interruptor not working
Fix #9826
2023-02-08 20:11:53 +09:00
syuilo 73f06e591a revert: 650187deaf 2023-02-08 20:07:19 +09:00
tamaina 6f7cfa82b5 fix(client): 通知のノート表示で_nowrapが効いていない問題を修正
Fix #9834
2023-02-08 09:50:34 +00:00
syuilo 13d13bc2f6 fix broken component 2023-02-08 18:13:45 +09:00
syuilo 0da0cc80b9 fix(server): validate url from ap to improve security 2023-02-08 17:50:23 +09:00
syuilo 650187deaf perf(client): do not render custom emojis in user names
#9778
2023-02-08 17:48:02 +09:00
syuilo 2e565cac2c enhance(client): use VuePlyr
Close #9797

Co-Authored-By: Rox Squires <rox@roxsquires.gay>
2023-02-08 17:05:36 +09:00
syuilo ac7537278c enhance(client): tweak medialist style 2023-02-08 16:54:51 +09:00
itiradi f9a2e98831
fix(mfm): default degree not used in rotate (#9831) 2023-02-08 08:20:27 +09:00
tamaina 54f789bd55 fix(server): DriveFileEntityService.getPublicUrl調整
- 外部MediaProxyではビデオのサムネイルを生成できないので外部に投げない
- thumbnailUrlが存在しない場合、画像の場合はプロキシで圧縮させる
2023-02-07 14:24:15 +00:00
syuilo 5ac9d13516 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-07 19:59:00 +09:00
syuilo 2be1a39d13 fix(server): validate urls from ap to improve security 2023-02-07 19:58:58 +09:00
Masaya Suzuki f3c5edc852
fix: postgre -> postgres (#9814) 2023-02-07 19:50:38 +09:00
tamaina 41932ac409 MkEmojiPickerでも Fix #9598 2023-02-06 12:05:33 +00:00
tamaina 9843c596d8 disableShowingAnimatedImagesのデフォルト値をprefers-reduced-motionにする
Resolve #9821
Related to #6501
2023-02-06 11:29:48 +00:00
syuilo 0ec8ebeba3 fix(client): tweak notification style
Fix #8633
2023-02-05 20:47:27 +09:00
syuilo af1c9251fc chore(client): add type check 2023-02-05 20:38:33 +09:00
Caipira c20ce12f86
enhance(client): add webhook delete button (#9806) 2023-02-05 20:31:38 +09:00
syuilo 5f3640c7fd fix(client): validate input response in aiscript 2023-02-05 20:29:10 +09:00
syuilo d65e5f6794 単なるラッキーの獲得確立を調整 2023-02-05 14:38:21 +09:00
syuilo e67d7bc0ea tweak animation 2023-02-05 14:35:00 +09:00
syuilo 1139632f95 fix(server): 自分のノートをお気に入りに登録しても実績解除される問題を修正 2023-02-05 14:30:07 +09:00
syuilo 0d7256678e fix(server): validate filename and emoji name to improve security 2023-02-05 14:25:37 +09:00
futchitwo 04f92bd688
feat: timeline page for non-login users (#9795) 2023-02-05 14:02:54 +09:00
MeiMei 505ecf6c1f
Deny UNIX domain socket (#9802)
* Deny UNIX domain socket

* got v12ならこれが使える?
2023-02-05 13:51:59 +09:00
Masaya Suzuki c9ec08704e
fix: インラインコードを折り返して表示する (#9801) 2023-02-05 13:33:21 +09:00
syuilo 6a3039f7b7 feat: ロールにアイコンを設定してユーザー名の横に表示できるように
Resolve #9761
2023-02-05 10:37:03 +09:00
tamaina faed3b438e fix(server): clean up file in FileServer 2023-02-04 13:46:19 +00:00
syuilo 4ad0345f20 fix(server): cannot follow user 2023-02-04 19:19:30 +09:00
syuilo ee74df6823 fix(server): improve security 2023-02-04 18:21:07 +09:00
syuilo 38f9d1e764 fix(client): validate urls to improve security 2023-02-04 14:20:07 +09:00
tamaina 2dfed75402
perf(server): improvement of external mediaProxy (#9787)
* perf(server): improvement of external mediaProxy

* add a comment

* ✌️

* /filesでsharpの処理を行わずリダイレクトする

* fix

* thumbnail => static

* Fix #9788

* add avatar mode

* add url

* fix

* static.webp

* remove encodeURIComponent from media proxy path

* remove existance check
2023-02-04 13:38:51 +09:00
syuilo 0c12e80106 perf(server): cache blocking 2023-02-04 12:40:40 +09:00
syuilo b7522f69e7 fix typo 2023-02-04 10:02:03 +09:00
syuilo 788ae2f6ca fix(client): validate urls to improve security 2023-02-04 09:10:01 +09:00
syuilo 572000f868 clean up 2023-02-04 09:01:26 +09:00
Rox Squires 57f5df2d22
Fix | Vue-plyr CORS issue (#9790)
* Added Video player

Added vue-plyr as the video play

* Create node.js.yml

* Delete node.js.yml

* Added vue-plyr into pnpm-lock.yaml

* tweak

* Fixed the pnpm-lock.yaml

For some reason on the dependencies there was to instances of vue-plyr

* Added MkMediaAudio

* Update MkMediaList.vue

* CORS checks

* Update MkMediaVideo.vue

* Update MkMediaVideo.vue

* Fixed CORS

the property made the video player use the CORS policy that stopped instance not using media caching not able to load the video from remote instance

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-04 09:00:16 +09:00
tamaina b2a67ba5ca fix(client): オートコンプリートでUnicode絵文字がカスタム絵文字として表示されてしまうのを修正 2023-02-03 21:21:36 +00:00
tamaina d78e15cc1a fix(client): カスタム絵文字にアニメーション画像を再生しない設定が適用されていない問題を修正 2023-02-03 20:37:15 +00:00
tamaina 0d148bd23b Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-03 08:07:25 +00:00
syuilo a8c252a613 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-02-03 17:44:28 +09:00
syuilo 1d39f785f1 perf: use replaceAll instead of regex 2023-02-03 17:44:25 +09:00
Roxy Squires 4b8b29b862
enhance - Added vue-plyr as the standard video player (#9766)
* Added Video player

Added vue-plyr as the video play

* Create node.js.yml

* Delete node.js.yml

* Added vue-plyr into pnpm-lock.yaml

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-03 17:15:25 +09:00
tamaina ebedb81e3f update idb-proxy.ts
Maybe fixed #9769
2023-02-03 08:07:17 +00:00
syuilo 825551d64f drop syslog
Close #9774
2023-02-03 15:08:36 +09:00
syuilo 5859df389f Create 1675404035646-cleanup.js 2023-02-03 15:02:54 +09:00
syuilo 562b02310f drop twitter/github/discord integrations
Close #9775
2023-02-03 15:01:31 +09:00
syuilo 65ed702d87 update deps 2023-02-03 14:44:09 +09:00
syuilo c559a9843f drop hashtag chart 2023-02-03 14:10:14 +09:00
syuilo 88c3957085 enhance(client): hidden ads when canHideAds is true 2023-02-03 14:03:34 +09:00
syuilo ed3e035ad6 refactor: use test 2023-02-02 18:18:25 +09:00
syuilo 07f885fea8 refactor 2023-02-02 18:08:34 +09:00
syuilo 2cc98226ca improve RoleService test 2023-02-02 18:06:23 +09:00
tamaina 8a6f73c5ff
enhance: PizzaxデータをindexedDBに保存するように (#9225)
* Revert "Revert #8098"

This reverts commit 8b9dc962ae.

* fix

* use deepClone instead of deepclone

* defaultStore.loaded

* fix load

* wait ready

* use top-level await, await in device-kind.ts
2023-02-02 16:43:56 +09:00
syuilo 00e3453ce1 improve role test 2023-02-02 14:28:29 +09:00
syuilo 1f39d1fe26 test: add test of RoleService 2023-02-02 10:26:59 +09:00
syuilo 4b43745e7c fix(test): add @jest/globals 2023-02-02 10:26:29 +09:00
syuilo 9db2f60053 refactor(client): use top-level await 2023-02-02 09:00:34 +09:00
syuilo 4610d8dfe3 refactor: fix type 2023-02-01 20:15:11 +09:00
syuilo fa296efdf6 refactor: fix type 2023-02-01 20:13:22 +09:00
syuilo d9d98f84bf refactor: fix type 2023-02-01 20:12:42 +09:00
tamaina 7c3143b8e5
enhance(backend): enhance SchemaType handling of anyOf (#9762)
* enhance(backend): enhance anyOf handling

* clean up
2023-02-01 20:04:01 +09:00
syuilo 387fcd5c5d refactor: fix type 2023-02-01 17:29:28 +09:00
syuilo ebc6437977 refactor: tweak variable name 2023-02-01 16:24:50 +09:00
YS 2a41f6c383
enhance: Unicode絵文字名逆引き効率化 (#9757)
* Unicode絵文字名前取得を連想配列で行う

* Unicode絵文字事前カテゴリ集計

* Mapを使用

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

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-02-01 11:25:13 +09:00
syuilo 515692d7a6 update aiscript 2023-02-01 11:20:28 +09:00
Nya Candy 00d28826b9
fix(try): ld signature normalizer (#9758) 2023-01-31 19:37:39 +09:00
tamaina 8282bbd07c fix(client): Chromeで検索ダイアログで変換確定するとそのまま検索されてしまう
Fix #9598
2023-01-28 06:15:29 +00:00
yupix 7190bd00c9
feat: classicモードでテーマが自動変更された際元に戻すように (#9669)
* feat: classicモードでテーマが自動変更された際元に戻すように

* docs: update CHANGELOG.md

* fix: prefixを miux:ui_temp から ui_temp に変更
2023-01-27 13:52:51 +09:00
syuilo c7b5c8b19e swがビルドできないのを修正 2023-01-27 12:33:15 +09:00
syuilo d8f33bc0af update deps 2023-01-27 11:40:18 +09:00
syuilo c5a12ca2c7 fix(client): フォロー申請・フォローのボタンが、通知から消えている問題を修正
Fix #9717
2023-01-27 11:35:04 +09:00
syuilo 7d9d1ae7c2 enhance(client): tweak custom emoji cache 2023-01-27 11:28:51 +09:00
syuilo cef448f0f2 tweak blur setting 2023-01-27 11:18:44 +09:00
syuilo 67d64c9365 refactor 2023-01-27 11:16:22 +09:00
syuilo 269af9d6b9 fix(client): ダッシュボードでオンラインユーザー数が表示されない問題を修正 2023-01-27 11:11:56 +09:00
syuilo d37a734379 fix(server): fix aggregation of retention 2023-01-27 11:10:37 +09:00
syuilo 7cb13cf839 proxyRemoteFilesがfalseならリモートカスタム絵文字は直リンにする 2023-01-26 18:44:43 +09:00
syuilo d7dda8f6e3 絵文字ピッカーでカスタム絵文字が表示されないのを修正 2023-01-26 18:28:17 +09:00
tamaina 6670c72f8b fix(client): note reacted reflection failed
Fix #9730
2023-01-26 08:48:36 +00:00
hayabusa b21064ffa4
リアクション履歴が公開なら、ログインしていなくても表示できるように (#9728) 2023-01-26 16:10:32 +09:00
Kagami Sascha Rosylight 1959cb462b
Default to `animation: false` when prefers-reduced-motion is set (#9690)
* Default to `animation: false` when prefers-reduced-motion is set

* `.matches`
2023-01-26 16:08:45 +09:00
tamaina 4735ae6451
refactor: /proxyをFileServerServiceに統合し、/proxyのurlで/filesが指定されていた場合は直接ファイルを解決するようにする (#9709)
* wip?

* clean up

* Implement? HttpFetchService

* ✌️

* remove node-fetch

* fix

* refactor

* fix

* gateway timeout

* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)

* fix

* add logger and fix url preview

* fix ip check

* enhance logger and error handling

* fix

* fix

* clean up

* Use custom fetcher for ApRequest / ApResolver

* bypassProxyはproxyBypassHostsに判断を委譲するように

* set maxRedirections (default 3, ApRequest/ApResolver: 0)

* fix

* wip????

* wip

* ✌️

* set .node-version

* clean up

* refactor

* clean up

* refactor

* refactor detectRequestType

* rename detectResponseType

* ✌️

* fix

* wip

* clean up

* no got

* remove got

* wip

* ✌️

* fix

* clean up

* remove unnnecessary const

* good cleanup

* no stream

* Revert "no stream"

This reverts commit 636f9192fcd2b17e71bbf6b5b106b490e0f66244.

* fix

* cache-control: max-age=300 to error

* refactor cleanup
2023-01-26 16:06:29 +09:00
syuilo 452bd6db25 tweak custom emoji handling
Close #9721
2023-01-26 15:48:12 +09:00
syuilo f5d6b84381 chore: check emoji host 2023-01-26 14:29:28 +09:00
syuilo d87bb807c3 tweak error screen 2023-01-26 11:39:21 +09:00
syuilo 41a6ed0de0 lint 2023-01-26 11:33:31 +09:00
syuilo 7131eb1827 fix(server): turnstile-failed: missing-input-secret
Fix #9726
2023-01-26 11:31:43 +09:00
tamaina 605b0f27e4 Merge branch 'develop' into emoji-re 2023-01-25 14:22:26 +00:00
syuilo 80d2e157f6 🎨 2023-01-25 19:49:17 +09:00
syuilo 1e3447bccb 🎨 2023-01-25 19:45:25 +09:00
syuilo 5ffa106cc1 サードパーティからも自身のロールを確認できるように
Close #9700
2023-01-25 19:34:10 +09:00
tamaina fc641c9b96 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-01-25 06:21:17 +00:00
tamaina 5f49ac1b11 fix(client): アニメーションをオフに設定しても絵文字のアニメーションが止まらない
Fix #9720
2023-01-25 06:21:08 +00:00
syuilo e3275e916b fix(client): MFMのposition、rotate、scaleで小数が使えない問題を修正 2023-01-25 15:15:15 +09:00
syuilo 3ba5541a66 Update ApResolverService.ts 2023-01-25 12:36:39 +09:00
syuilo 945c50db1f Update ApRequestService.ts 2023-01-25 12:31:03 +09:00
syuilo 30dce42e03 fix deps 2023-01-25 12:17:53 +09:00
syuilo d4fb201d05 fix(server): node-fetchおよびgotを使う以前の実装に戻す
see #9710
2023-01-25 12:00:04 +09:00
syuilo 2a2e8d0cf6 refactor(server): fix type errors 2023-01-25 11:23:57 +09:00
syuilo 520ed8cb4d refactor(server): fix type errors 2023-01-25 11:18:16 +09:00
syuilo 8cab16c824 fix(server): /api/signin always returns 429 when request header x-forwarded-for contains client port
Fix #9408
2023-01-24 17:51:09 +09:00
syuilo 9ca1197759 🎨 2023-01-24 17:26:49 +09:00