Commit Graph

2188 Commits

Author SHA1 Message Date
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
syuilo 8d3283e2a5 tweak ti style 2023-01-24 17:25:52 +09:00
tamaina 6589e8a390
Fix #9710 ? (#9712)
* wip

* update pnpm-lock

* use our own DevNull

* fix

* deliverJobConcurrencyをmacSocketsで割ってソケット数にする
2023-01-24 15:54:14 +09:00
syuilo b62894ff56 use minified css 2023-01-24 15:02:16 +09:00
syuilo da274cd458 update deps 2023-01-24 14:49:29 +09:00
syuilo a2268a95be 🎨 2023-01-24 14:10:26 +09:00
tamaina 9fd1b35d95 fix TypeError: Cannot read properties of undefined (reading 'getLogger') 2023-01-24 01:34:14 +00:00
syuilo 869854eae7 コミット漏れ 2023-01-24 08:32:17 +09:00
syuilo 238f923b41 refactor(server): httpRequestServiceのUndiciFetcher依存をなるべくカプセル化 2023-01-24 08:31:02 +09:00
syuilo 083fa53d9c update deps 2023-01-23 20:13:18 +09:00
syuilo 7b73dd2d62 enhance(server): onlyServer / onlyQueue オプションを復活 2023-01-23 20:07:48 +09:00
syuilo 7028b7331b 他人の実績閲覧時は獲得条件を表示しないように 2023-01-23 16:40:31 +09:00
syuilo eefebab530 アニメーション減らすオプション有効時はリアクションのアニメーションを無効に 2023-01-23 16:36:47 +09:00
syuilo 683ddbef3e update contributors 2023-01-23 16:33:47 +09:00
syuilo bd23522c76 enhance(client): カスタム絵文字一覧のパフォーマンスを改善 2023-01-23 16:19:13 +09:00
nexryai c1dfbe2623
Hide the value of the object storage secret key input form in the control panel (#9706) 2023-01-23 16:08:09 +09:00
syuilo ed9facbb33 fix(client): Aiscript: button is not defined
Fix #9704
2023-01-23 12:53:44 +09:00
tamaina 26fbb3a560 fix 2023-01-22 17:39:11 +00:00
tamaina 93dd0638ad better category null handling 2023-01-22 17:33:20 +00:00
tamaina 0d44129ae3 remove console.log 2023-01-22 17:20:53 +00:00
tamaina 0cffe60abc 1時間に 2023-01-22 17:14:05 +00:00
tamaina 8a6750278e ✌️ 2023-01-22 17:11:28 +00:00
tamaina d347f0a087 wip 2023-01-22 16:07:17 +00:00
tamaina 226e0c4714 ✌️ 2023-01-22 15:17:20 +00:00